CN115242802B - Method, system and electronic equipment for constructing traceable link of block chain - Google Patents

Method, system and electronic equipment for constructing traceable link of block chain Download PDF

Info

Publication number
CN115242802B
CN115242802B CN202210954661.2A CN202210954661A CN115242802B CN 115242802 B CN115242802 B CN 115242802B CN 202210954661 A CN202210954661 A CN 202210954661A CN 115242802 B CN115242802 B CN 115242802B
Authority
CN
China
Prior art keywords
link
target
participating
block
nodes
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
CN202210954661.2A
Other languages
Chinese (zh)
Other versions
CN115242802A (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

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 traceable link of a blockchain, which relate to the technical field of blockchains and comprise the steps of obtaining a link design request of a blocknode for creating a link, wherein the link design request comprises a flow sequence and a plurality of target flows; determining participating block nodes based on the link design request; acquiring a target flow constructed by the participated block nodes; checking and summarizing the target flow, and constructing a traceability link based on the flow sequence; notifying the participating block nodes to vote for a traceable link; based on the voting results of the participating block nodes, the uplink stores and executes personalized traceability links, so that the research and development cost is reduced, and the operation time is saved; and the block chain technology is adopted to realize co-processing sharing of data on the chain and improve the safety of the data.

Description

Method, system and electronic equipment for constructing traceable link of block chain
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a method, a system, and an electronic device for constructing a traceable link of a blockchain.
Background
Along with the gradual reinforcement of tracing supervision, anti-counterfeiting tracing has gradually become trend, and the traditional tracing system has low trust degree of tracing information due to the problems of complete centralization, data island, very low code scanning verification proportion and the like. Secondly, users need to respectively research and develop a tracing system aiming at different commodity/behavior tracing sources, and the cost is high; if the existing tracing system is directly adopted, the tracing system can be incompletely matched with the tracing information of the product. In addition, the same flow personnel need to upload different information aiming at different traceability systems, and the operation modes are different, so that the input rate of the information is reduced.
Therefore, a method, a system and an electronic device for constructing a traceable link of a blockchain are provided.
Disclosure of Invention
The specification provides a method, a system and an electronic device for constructing a traceable link of a blockchain,
the block nodes based on the link creation create a link design request, invite the participating block nodes to participate in constructing a personalized traceability link, and store the personalized traceability link after voting and use the personalized traceability link for subsequent product/behavior traceability.
The application provides a method for constructing a traceable link of a block chain, which adopts the following technical scheme that:
acquiring 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 participating block nodes based on the link design request;
acquiring a target flow constructed by the participated block nodes;
checking and summarizing the target flow, and constructing a traceability link based on the flow sequence;
notifying the participating block nodes to vote for a traceable link;
and based on the voting results of the participating block nodes, the uplink stores and executes the traceability link.
Optionally, the obtaining the target flow constructed by the participating block nodes includes:
generating form information based on the item content selected and/or filled out by the participating tile nodes;
combining the form information, the participation roles and the participation members to determine a target stage;
and constructing the target flow based on the execution sequence of the target stage.
Optionally, the generating form information based on the item content selected and/or filled out by the participating tile 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 inputting field features;
the event entry control is used for filling in a field characteristic value corresponding to the field characteristic;
form information is generated based on the type and arrangement order of the event entry components.
Optionally, the verifying and summarizing the target flow, and constructing a traceability link based on the flow sequence includes:
checking whether the target processes all comprise a tracing code acquisition component;
if the target processes all comprise the tracing code acquisition component, summarizing the target processes;
and constructing a target flow sequence based on the flow sequence, and determining the traceability link.
Optionally, the uplink storing and executing the tracing link based on the voting result of the participating block nodes includes:
obtaining and summarizing voting results of each participating block node, and determining a final voting result;
and if the final voting result is passed, the uplink stores the traceability link, and the traceability link is synchronized to each participating block node and is executed by the participating block node.
Optionally, after the uplink saves and executes the traceability link, the voting method further includes:
acquiring a modification request of the block node of the created link, wherein the modification request comprises a target flow to be modified;
determining a block node which participates in and corresponds to the target flow to be modified based on the target flow to be modified;
based on the modification and confirmation of the target flow to be modified, voting is initiated, and the voting result of each participating block node is obtained and summarized to obtain a second voting result;
and if the second voting result is passed, the modified traceable link is stored in the uplink, and the modified traceable link is synchronized to each participating block node and is executed by the participating block node.
The application provides a traceability link construction system of a block chain, which adopts the following technical scheme that:
the system comprises an acquisition module, a link design module and a processing module, wherein the acquisition module is used for acquiring a link design request of a block node for creating a link, and the link design request comprises a flow sequence and a plurality of target flows;
the participation determining module is used for determining the participating block nodes based on the link design request;
the flow obtaining module is used for obtaining the target flow constructed by the participated block nodes;
the link construction module is used for verifying and summarizing the target flow and constructing a traceability link based on the flow sequence;
the voting notification module notifies the participating block nodes to vote on the traceable link;
and the link confirmation module is used for uplink saving and executing the traceability link based on the voting result of the participated block nodes.
Optionally, the obtaining the target flow constructed by the participating block nodes includes:
the form generation sub-module is used for generating form information based on the item content selected and/or filled by the participated block nodes;
the target stage determining submodule is used for combining the form information, the participation roles and the participation members to determine a target stage;
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:
the event entry component can be used for the operation of the participating block nodes and comprises 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 generation unit is used for generating form information based on the type and the arrangement sequence of the event entry components.
Optionally, the link construction module includes:
the verification sub-module is used for verifying whether the target processes all comprise a tracing code acquisition component;
the summarizing sub-module is used for summarizing the target flow if the target flow comprises the tracing code acquisition component;
and the link construction sub-module is used for constructing a target flow sequence based on the flow sequence and determining the traceability link.
Optionally, the link confirmation module includes:
the voting determination submodule is used for acquiring and summarizing the voting result of each participating block node and determining a final voting result;
and the storage submodule is used for storing the traceability link by the uplink if the final voting result is passed, synchronizing the traceability link to each participating block node, and executing by the participating block nodes.
Optionally, the method further comprises a modification module:
the modification module comprises:
a modification request acquisition sub-module, configured to acquire a modification request of the block node creating the link, where the modification request includes a target flow to be modified;
the node determining submodule is used for determining the participated block nodes corresponding to the target flow to be modified based on the target flow to be modified;
the voting submodule is used for initiating voting based on modification and confirmation of the target flow to be modified, acquiring and summarizing the voting result of each participated block node, and obtaining a second voting result;
and the modification confirmation sub-module is used for storing the modified traceable link in the uplink if the second voting result is passed, synchronizing the modified traceable link to each participating block node, and executing the modified traceable link by the participating block node.
The specification also provides an electronic device, wherein the electronic device includes:
a processor; the method comprises the steps of,
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 storing 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 participating block nodes based on the link design request; acquiring a target flow constructed by the participated block nodes; checking and summarizing the target flow, and constructing a traceability link based on the flow sequence; notifying the participating block nodes to vote for a traceable link; based on the voting results of the participating block nodes, the uplink stores and executes personalized traceability links, so that the research and development cost is reduced, and the operation time is saved; and the block chain technology is adopted to realize co-processing sharing of data on the chain and improve the safety of the data.
Drawings
Fig. 1 is a flow chart of a method for constructing a traceable link of a blockchain according to an embodiment of the present disclosure;
fig. 2 is a schematic diagram of a traceability link construction system of a blockchain according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure;
fig. 4 is a schematic diagram of a computer readable medium according to an embodiment of the present disclosure.
Detailed Description
The following description is presented to enable one of ordinary skill in the art to make and use the application. The preferred embodiments in the following description are by way of example only and other obvious variations will occur to those skilled in the art. The basic principles of the application 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 application.
Exemplary embodiments of the present application will now be described more fully with reference to the accompanying drawings. However, the exemplary embodiments can 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 application to those skilled in the art. The same reference numerals in the drawings denote the same or similar elements, components or portions, and thus a repetitive description thereof will be omitted.
The features, structures, characteristics or other details described in a particular embodiment do not exclude that may be combined in one or more other embodiments in a suitable manner, without departing from the technical idea of the application.
In the description of specific embodiments, features, structures, characteristics, or other details described in the present application are provided to enable one skilled in the art to fully understand the embodiments. However, it is not excluded that one skilled in the art may practice the present application without one or more of the specific features, structures, characteristics, or other details.
The flow diagrams depicted in the figures are exemplary only, and do not necessarily include all of the elements and operations/steps, nor must they 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 order of actual execution may be changed according to actual situations.
The block diagrams depicted in the figures are merely functional entities and do not necessarily correspond to physically separate entities. That is, the functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
The term "and/or" and/or "includes all combinations of any one or more of the associated listed items.
Fig. 1 is a flow chart of a method for constructing a traceable link of a blockchain according to an embodiment of the present disclosure, where the method includes:
s1, acquiring 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;
s2, determining the participating block nodes based on the link design request;
s3, acquiring a target flow constructed by the participated block nodes;
s4, checking and summarizing the target flow, and constructing a traceability link based on the flow sequence;
s5, notifying the participating block nodes to vote for the traceable link;
s6, based on the voting result of the participating block nodes, the uplink stores and executes the tracing link.
In the traditional tracing system, as all information is stored in one centralized system, the data security cannot be effectively ensured, the data is easy to tamper, and the tracing difficulty is high. In addition, considering the current commodity/behavior tracing flow, in order to meet the demands of different users, the application provides a block chain tracing link construction method, which constructs a personalized tracing link based on the target flow constructed by the participated block nodes, and specifically comprises the following steps:
s1, acquiring 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;
the application includes a plurality of block nodes. And the block nodes for creating the links serve as originators for creating the traceable links, a business group is built, and part of block nodes are invited to participate in building the traceable links. In one embodiment of the present disclosure, if the block node creating the link is a participant in a certain link, the block node also participates in the construction of the traceable link. And the block node for creating the link issues a link design request, and the flow sequence of the traceable link, the target flows and basic information are determined by the block node for creating the link, wherein the basic information comprises the name of the traceable link.
S2, determining the participating block nodes based on the link design request;
in one embodiment of the present specification, the plurality of target flows and the flow order are determined based on a flow selection of the block node that created the link; the block node of the invitation is a block node which receives the invitation of constructing the traceable link, if the block node of the creation link is also a participant in a certain link in the traceable link, the block node of the creation link is also the block node of the invitation.
Specifically, the invited block node corresponding to the target flow and configured by the block node creating the link is obtained, a link design invitation is sent to each of the invited block nodes, the link design invitation includes the target flow corresponding to the invited block node, and based on a feedback result of the invited block node, the block nodes involved are determined based on the link design request. The traffic group includes the participating tile nodes. When the block node creating the link does not participate in the construction of the traceable link, the service group comprises the block node participating in the construction and the block node creating the link.
S3, acquiring a target flow constructed by the participated block nodes;
the participated block nodes are taken as participators of a certain link and participate in the construction of a target flow corresponding to the link. The target flow includes one or more target phases. In the process of constructing each target stage, an event entry component for the operation of the participating block nodes is provided, and form information is generated based on the type and arrangement sequence of the event entry component. The event input component comprises a feature control and an event input control, wherein the feature control is used for inputting field features, and the event input control is used for filling in 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 tracing link takes effect so as to facilitate tracing.
The block nodes participate only participate in the construction of the target flow of the link corresponding to the block nodes, and the flow construction can be carried out according to the convenience of the input of the block nodes. Specifically, form information is generated based on the item content selected and/or filled out by the participating block nodes;
the form information includes: form name, the target flow, the target stage, whether it is a key form and data item. Wherein the data item comprises: data name, data description, creation member, allowable data ripple source form, whether it is necessary to fill, data type and display form. The creation member is the block node which is added with the data item and participates in, and the name information of the block node can be carried out by default when the data item is added. The allowable data source forms comprise one or more of manual entry, file uploading and external system acquisition. The data type includes one of text, numerical value, time, picture, video, file. The display form comprises one of a text box, a check box, a drop-down box and a text area.
In one embodiment of the present disclosure, if the form information is a key form, all the participating tile nodes are required to vote, and if the form information is a non-key form, only the participating tile nodes associated therewith are required to vote locally. Wherein the participating block nodes associated therewith include the participating block nodes belonging to the same target flow.
Combining the form information, the participation roles and the participation members to determine each target stage;
the participation roles refer to identity information of information input in a tracing 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 flow based on the execution sequence of the target stage.
In one embodiment of the present description, the order of execution of the target phases is determined based on the order of creation of the target phases. In another embodiment of the present disclosure, a plurality of ordered target stage options are built in for the participating tile nodes to select, and after determining the target stage, the execution sequence of the target stage is determined based on a preset order.
And based on the execution sequence of the target phases, sequentially connecting the target phases in series to obtain a target flow.
In one embodiment of the present disclosure, considering that a certain participating block node may be a participant in multiple traceable links, in order to improve efficiency of traceable link construction and improve speed of entering post-traceable information, the participating block node may save a created target flow, and when participating in other traceable link construction, quickly call out a previously stored target flow to directly confirm to use or perform suitability adjustment based on the previously stored target flow, so as to adapt to different traceable link constructions.
S4, checking and summarizing the target flow, and constructing a traceability link based on the flow sequence;
when tracing, detailed information of each flow of the commodity is usually associated based on a tracing mark (such as a tracing code) so as to facilitate tracing information inquiry. In one embodiment of the present disclosure, verifying whether the target flows each include a traceability code acquisition component; the tracing code acquired by the tracing code acquisition component is used for identifying a certain commodity so as to correlate all flow information of the commodity. Thus, the trace-source code extends throughout the entire trace-source link. And if the target processes all comprise the tracing code acquisition component, summarizing the target processes, constructing a target process sequence based on the process sequence, and determining the tracing link.
The application supports the tracing of the mesh flow, and the output of a subsequent target flow can become the input of the preamble target flow to form the mesh tracing link. In one embodiment of the present description, upstream and downstream relationships of data are set for a single target flow and a hierarchy of data is defined, mesh trace-source links generated from the hierarchy and the upstream and downstream relationships of data. Under the mesh traceability link, one participant can be a data input party in one target flow or a data output party in another target flow.
The flow sequence is predetermined when a link design request is initiated for a block node creating a link. Of course, the block nodes creating the links may modify the order based on the actual situation at a later time, and take effect after the participating block nodes in the traffic group vote.
S5, notifying the participating block nodes to vote for the traceable link;
after the traceable link is constructed, the participating block nodes that participate in the construction need to vote to determine whether the traceable link can take effect.
S6, based on the voting result of the participating block nodes, the uplink stores and executes the 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 automatically determined by default by the system, or may be specified by the block node that creates the link.
If the final voting result is passed, the uplink stores the tracing link, the tracing link is synchronized to each block node of the service group, and the tracing link is executed by the block nodes, namely, the corresponding tracing information is recorded by the block nodes according to actual conditions.
After the link is effective and put into use, if the need of updating or perfection is found in the process of using the traceable link, the link can be modified, so that the flexibility and the integrity of the traceable link are improved. Specifically, a modification request of the block node of the created link is obtained, wherein the modification request comprises a target flow to be modified;
determining a block node which participates in and corresponds to the target flow to be modified based on the target flow to be modified;
according to the target flow to be modified, searching the block nodes participating in the target flow constructed before so as to modify the target flow to be modified.
Based on the modification and confirmation of the target flow to be modified, voting is initiated, and the voting result of each participating block node is obtained and summarized to obtain a second voting result;
after the target flow to be modified is modified and the corresponding target flow is confirmed to be submitted, voting is automatically initiated, voting results of each participating block node are obtained and summarized, and a second voting result is obtained based on link modification voting rules; the link modification voting rule may be automatically determined by default by the system, or may be specified by a block node that creates a link, and in an embodiment of the present disclosure, the link modification voting rule is the same as a preset voting rule.
If the second voting result is passed, the uplink stores the modified traceable link, and the modified traceable link is synchronized to each block node of the service group and executed by the participating block nodes.
In one embodiment of the present disclosure, the tracing code that has been uplink before the tracing link is updated is input according to the original tracing link and the tracing query. After the source tracing link is updated, the updated source tracing link is used for information input and later source tracing inquiry, so that the consistency of data is improved, and the tamper resistance of the data is ensured.
After the traceability links take effect, the participating block nodes fill in traceability data and uplink and synchronize to the block nodes of each business group through a block chain technology, the application adopts a layered and layered end-distributed architecture, each participating block node holds an independent traceability data acquisition distributed end, each distributed end can be added with a plurality of business groups to upload the traceability data to a plurality of traceability links, the traceability data source can be imported through a manual input or a butt joint existing system or can be quickly input through an external internet of things device, for example, the traceability codes can be quickly input through a code scanning device, so that the input speed is improved; or access other systems to quickly enter local data.
In summary, the block node creating the link issues a link design request, creates a service group based on the link design request, and invites a plurality of block nodes participating in the construction of the traceable link. The block nodes of the created link determine the basic information of the traceable link, the block nodes in the service group construct the corresponding target processes through the design form information and the target stage, the traceable links are obtained by summarizing the target processes, the traceable links are synchronized to the block nodes of the service group through the block chain technology, after voting is carried out on the block nodes of the service group, the personalized traceable links take effect, and the traceable links meet the requirements of the block nodes of the created link and simultaneously consider the actual conditions of the participating block nodes, so that the friendliness to the block nodes is improved.
After the tracing link takes effect, the participating block nodes fill in tracing data and are uplink-synchronized to the block nodes of each service group through the block chain technology, so that the tracing link is used for tracing the block nodes of each service group in the later period, and the data information of each link of the whole link is checked. When the block nodes of the business group are based on the tracing codes, the block nodes can be queried based on a single or multiple conditions such as a target flow name, a target stage name and the like, so that the tracing data associated with the block nodes can be obtained quickly.
Fig. 2 is a schematic diagram of a traceability link construction system of a blockchain according to an embodiment of the present disclosure, where the system includes:
the system comprises an acquisition module, a link design module and a processing module, wherein the acquisition module is used for acquiring a link design request of a block node for creating a link, and the link design request comprises a flow sequence and a plurality of target flows;
the participation determining module is used for determining the participating block nodes based on the link design request;
the flow obtaining module is used for obtaining the target flow constructed by the participated block nodes;
the link construction module is used for verifying and summarizing the target flow and constructing a traceability link based on the flow sequence;
the voting notification module notifies the participating block nodes to vote on the traceable link;
and the link confirmation module is used for uplink saving and executing the traceability link based on the voting result of the participated block nodes.
Optionally, the obtaining the target flow constructed by the participating block nodes includes:
the form generation sub-module is used for generating form information based on the item content selected and/or filled by the participated block nodes;
the target stage determining submodule is used for combining the form information, the participation roles and the participation members to determine a target stage;
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:
the event entry component can be used for the operation of the participating block nodes and comprises 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 generation unit is used for generating form information based on the type and the arrangement sequence of the event entry components.
Optionally, the link construction module includes:
the verification sub-module is used for verifying whether the target processes all comprise a tracing code acquisition component;
the summarizing sub-module is used for summarizing the target flow if the target flow comprises the tracing code acquisition component;
and the link construction sub-module is used for constructing a target flow sequence based on the flow sequence and determining the traceability link.
Optionally, the link confirmation module includes:
the voting determination submodule is used for acquiring and summarizing the voting result of each participating block node and determining a final voting result;
and the storage submodule is used for storing the traceability link by the uplink if the final voting result is passed, synchronizing the traceability link to each participating block node, and executing by the participating block nodes.
Optionally, the method further comprises a modification module:
the modification module comprises:
a modification request acquisition sub-module, configured to acquire a modification request of the block node creating the link, where the modification request includes a target flow to be modified;
the node determining submodule is used for determining the participated block nodes corresponding to the target flow to be modified based on the target flow to be modified;
the voting submodule is used for initiating voting based on modification and confirmation of the target flow to be modified, acquiring and summarizing the voting result of each participated block node, and obtaining a second voting result;
and the modification confirmation sub-module is used for storing the modified traceable link in the uplink if the second voting result is passed, synchronizing the modified traceable link to each participating block node, and executing the modified traceable link by the participating block node.
The functions of the system according to the embodiments of the present application have been described in the above-described method embodiments, so that the descriptions of the embodiments are not exhaustive, and reference may be made to the related descriptions in the foregoing embodiments, which are not repeated herein.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present application 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.
The following describes an embodiment of an electronic device of the present application, which may be regarded as a physical form of implementation for the above-described embodiment of the method and apparatus of the present application. Details described in relation to the embodiments of the electronic device of the present application should be considered as additions to the embodiments of the method or apparatus described above; for details not disclosed in the embodiments of the electronic device of the present application, reference may be made to the above-described method or apparatus embodiments.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present disclosure. The computer device shown in fig. 3 is only an example and should not be construed as limiting the functionality and scope of use of embodiments of the application.
As shown in fig. 3, the computer device 300 of the exemplary embodiment is in the form of a general-purpose data processing device. 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 source program or code that is read only. The program may be executed by the processor element 310, such that the processor 310 performs the steps of various embodiments of the present application. 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 (RAM) and/or cache memory units, and may further include Read Only Memory (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 or some combination of which may include 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.), such that a user can interact with the computer device 300 via the external devices, and/or such that the computer device 300 can 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 to 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 appreciated that although not shown, other hardware and/or software modules may be used in computer device 300, including, but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, data backup storage systems, and the like.
FIG. 4 is a schematic diagram of one embodiment of a computer readable medium of the present application. 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. The readable storage medium can be, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk 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 carry out the above-described method of the present application, namely: when a plurality of third party H5 programs are accessed to the APP system, the APP system firstly allocates a partner ID (PartnerID) to each third party H5 program, and in addition, a temporary token (token) is automatically and randomly generated by a native API interface of the APP, wherein the temporary token also contains aging information. And will send the temporary token to the third party H5 program. The APP system receives the encrypted temporary token and the partner ID from the third party server to verify, 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 exists in a validity period or not. If the temporary token is valid and within the validity 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.
From the above description of embodiments, those skilled in the art will readily appreciate that the exemplary embodiments described herein may be implemented in software, or may be implemented in software in combination with necessary hardware. Thus, the technical solution according to the embodiments of the present application may be embodied in the form of a software product, which may be stored in a computer readable storage medium (may be a CD-ROM, a usb disk, a mobile hard disk, etc.) or on a network, comprising several instructions to cause a data processing device (may be a personal computer, a server, or a network device, etc.) to perform the above-described method according to the present application.
The computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, with readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A readable storage medium may also be any readable medium 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 of the present application 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, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, 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., connected via the Internet using an Internet service provider).
In summary, the present application may be implemented in a method, apparatus, electronic device, or computer readable medium that executes a computer program. Some or all of the functions of the present application may be implemented in practice using a general purpose data processing device such as a microprocessor or Digital Signal Processor (DSP).
The above-described specific embodiments further describe the objects, technical solutions and advantageous effects of the present application in detail, and it should be understood that the present application is not inherently related to any particular computer, virtual device or electronic apparatus, and various general-purpose devices may also implement the present application. The foregoing description of the embodiments of the application is not intended to be limiting, but rather is intended to cover all modifications, equivalents, alternatives, and improvements that fall within the spirit and scope of the application.

Claims (6)

1. The method for constructing the traceable link of the block chain is characterized by comprising the following steps of:
acquiring 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 participating block nodes based on the link design request;
the target process of the block node construction involved is obtained, which comprises the following steps: 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; generating form information based on the type and arrangement order of the event entry components; combining the form information, the participation roles and the participation members to determine a target stage; constructing the target flow based on the execution sequence of the target stage;
checking and summarizing the target flow, and constructing a traceability link based on the flow sequence, wherein the method comprises the following steps: checking whether the target processes all comprise a tracing code acquisition component; if the target processes all comprise the tracing code acquisition component, summarizing the target processes; constructing a target flow sequence based on the flow sequence, and determining the traceability link;
notifying the participating block nodes to vote for a traceable link;
and based on the voting results of the participating block nodes, the uplink stores and executes the traceability link.
2. The method of claim 1, wherein the uplink saving and executing the trace-source link based on the voting results of the participating tile nodes comprises:
obtaining and summarizing voting results of each participating block node, and determining a final voting result;
and if the final voting result is passed, the uplink stores the traceability link, and the traceability link is synchronized to each participating block node and is executed by the participating block node.
3. The method of claim 1, wherein after the uplink saves and executes the trace-source link based on the voting results of the participating block nodes, further comprising:
acquiring a modification request of the block node of the created link, wherein the modification request comprises a target flow to be modified;
determining a block node which participates in and corresponds to the target flow to be modified based on the target flow to be modified;
based on the modification and confirmation of the target flow to be modified, voting is initiated, and the voting result of each participating block node is obtained and summarized to obtain a second voting result;
and if the second voting result is passed, the modified traceable link is stored in the uplink, and the modified traceable link is synchronized to each participating block node and is executed by the participating block node.
4. A traceability link construction system of a blockchain, comprising:
the system comprises an acquisition module, a link design module and a processing module, wherein the acquisition module is used for acquiring a link design request of a block node for creating a link, and the link design request comprises a flow sequence and a plurality of target flows;
the participation determining module is used for determining the participating block nodes based on the link design request;
the process obtaining module is configured to obtain the target process constructed by the participating block nodes, and 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 inputting field features; the event entry control is used for filling in a field characteristic value corresponding to the field characteristic; generating form information based on the type and arrangement order of the event entry components; combining the form information, the participation roles and the participation members to determine a target stage; constructing the target flow based on the execution sequence of the target stage;
the link construction module is used for checking and summarizing the target flow, constructing a traceability link based on the flow sequence, and comprises the following steps: checking whether the target processes all comprise a tracing code acquisition component; if the target processes all comprise the tracing code acquisition component, summarizing the target processes; constructing a target flow sequence based on the flow sequence, and determining the traceability link;
the voting notification module notifies the participating block nodes to vote on the traceable link;
and the link confirmation module is used for uplink saving and executing the traceability link based on the voting result of the participated block nodes.
5. An electronic device, wherein the electronic device comprises:
a processor; the method comprises the steps of,
a memory storing computer executable instructions that, when executed, cause the processor to perform the method of any of claims 1-3.
6. 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-3.
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 CN115242802A (en) 2022-10-25
CN115242802B true 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 (12)

* 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
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

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
US20230249349A1 (en) * 2020-12-18 2023-08-10 Strong Force Vcn Portfolio 2019, Llc Deployment System for Additive Manufacturing Robot Fleet

Patent Citations (13)

* 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
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
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
基于区块链技术的企业信息化数据溯源平台设计;高伟豪;史力;;信息与电脑(理论版)(第03期);全文 *

Also Published As

Publication number Publication date
CN115242802A (en) 2022-10-25

Similar Documents

Publication Publication Date Title
US8266214B2 (en) System and method for collaborative web-based multimedia layered platform with recording and selective playback of content
US8788590B2 (en) Collaboration tool
US10909484B2 (en) Dynamic directed graph workflows
US20090319608A1 (en) Automated task centered collaboration
CN110622488A (en) System and method for managing user interaction with blockchains
Belchior et al. Do you need a distributed ledger technology interoperability solution?
WO2015081779A1 (en) Service processing method and apparatus based on bpm
CN105786460A (en) Software development method and device based on service composition
CN111124917B (en) Method, device, equipment and storage medium for managing and controlling public test cases
US20200320458A1 (en) System, method, and computer-readable medium for tracking information exchange
US20160094544A1 (en) Automated production of certification controls by translating framework controls
CN106716968A (en) Account management method, device and account management system
EP3502871A1 (en) System and methods for determining trust levels for computing components using blockchain
CN112417178A (en) On-chain contract processing method and device based on document template definition and electronic equipment
US10657219B2 (en) Collaborative editing of manufacturing drawings
CN110442424A (en) A kind of method and apparatus for realizing virtual machine management platform dynamic configuration rule
CN109858285B (en) Block chain data processing method, device, equipment and medium
CN115242802B (en) Method, system and electronic equipment for constructing traceable link of block chain
CN110852701A (en) Product demand management method, device and system
CN113112270B (en) Data organization method based on block chain
CN112256760B (en) Data prediction method and device, computer equipment and storage medium
CN115130012A (en) Method and device for joining group, electronic equipment and storage medium
US11599687B1 (en) System and method to facilitate the design, manufacturing and construction of structures
CN110879835B (en) Block chain-based data processing method, device, equipment and readable storage medium
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