CN115375335A - Object tracing method and device, electronic equipment and storage medium - Google Patents

Object tracing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115375335A
CN115375335A CN202211299135.3A CN202211299135A CN115375335A CN 115375335 A CN115375335 A CN 115375335A CN 202211299135 A CN202211299135 A CN 202211299135A CN 115375335 A CN115375335 A CN 115375335A
Authority
CN
China
Prior art keywords
circulation
information
node
target
link
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211299135.3A
Other languages
Chinese (zh)
Inventor
李博
朱一鸣
潘凌骏
丁宇琦
沈仙兰
杨韫菲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhejiang Standardization Research Institute Brics National Standardization Zhejiang Research Center And Zhejiang Article Coding Center
Original Assignee
Zhejiang Standardization Research Institute Brics National Standardization Zhejiang Research Center And Zhejiang Article Coding Center
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 Zhejiang Standardization Research Institute Brics National Standardization Zhejiang Research Center And Zhejiang Article Coding Center filed Critical Zhejiang Standardization Research Institute Brics National Standardization Zhejiang Research Center And Zhejiang Article Coding Center
Priority to CN202211299135.3A priority Critical patent/CN115375335A/en
Publication of CN115375335A publication Critical patent/CN115375335A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06KGRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
    • G06K17/00Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
    • G06K17/0022Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisious for transferring data to distant stations, e.g. from a sensing device

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Marketing (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • Economics (AREA)
  • General Business, Economics & Management (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

According to the embodiment of the application, firstly, object traceability conditions dynamically configured by a user through a traceability page and a plurality of object circulation information are obtained; then, matching the object tracing condition with at least one object circulation information; and determining a target object according to the matching result, and generating a circulation link matched with the object traceability condition in real time according to at least part of object circulation information of the target object, wherein the circulation link comprises a plurality of circulation nodes which are sequenced according to time. According to the method and the device, the tracing information, namely the circulation link, is generated or inquired without depending on scanning the tracing two-dimensional code, the circulation link matched with the object tracing condition is generated in real time by matching the object tracing condition dynamically configured by the user, the defect caused by pasting the two-dimensional tracing code of the entity is overcome, and the tracing information of the object can be inquired accurately and completely.

Description

Object tracing method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of data processing technologies, and in particular, to an object tracing method and apparatus, an electronic device, and a storage medium.
Background
At present, part of traceability systems are realized by using two-dimensional traceability codes, and the traceability information such as production information, source information, related enterprise information and the like of corresponding products can be uploaded by scanning the two-dimensional traceability codes, and the traceability information of the corresponding products can be inquired.
The traceability information is uploaded and inquired in the above mode, the entity two-dimensional traceability code needs to be pasted on the surface of the product, and the traceability code is only suitable for the product with the fixed package on the surface and is not suitable for the product which cannot be pasted by the two-dimensional traceability code. Meanwhile, if the two-dimensional traceability code falls and is damaged in the transportation process, relevant code scanning operation cannot be performed, traceability information cannot be inquired and uploaded, and traceability breakpoints occur.
Disclosure of Invention
The embodiment of the application provides an object tracing method and device, electronic equipment and a storage medium, so as to overcome the defects caused by pasting a two-dimensional tracing code of an entity.
In a first aspect, an embodiment of the present application provides an object tracing method, including:
acquiring an object tracing condition dynamically configured by a user through a tracing page and a plurality of pieces of pre-stored object circulation information;
matching the object tracing condition with at least one object circulation information, and taking the object to which the successfully matched object circulation information belongs as a target object; generating a circulation link matched with the object traceability condition in real time according to at least part of object circulation information of the target object;
the circulation link comprises a plurality of circulation nodes which are sequenced according to time, the objects are products with circulation requirements, and the generated circulation links are multiple under the condition that the number of the target objects is multiple.
In some embodiments, the object flow information comprises information of objects on a flow node; one object corresponds to at least one object circulation message;
the generating a circulation link matched with the object traceability condition in real time according to at least part of object circulation information of the target object comprises:
determining a target circulation node matched with the object traceability condition according to at least one object circulation information of the target object;
determining the arrangement sequence of each target circulation node according to the time information of the target object on each target circulation node;
and generating a circulation link comprising a plurality of target circulation nodes according to the arrangement sequence of the target circulation nodes.
In some embodiments, the object circulation information includes at least one of attribute information of the object, node information of the circulation node, operation information of the object on the circulation node, and time information of the object on the circulation node;
the object tracing condition comprises at least one of target attribute information of an object to be queried, target node information of a streaming node to be queried, target operation information of the object to be queried on the streaming node, and time limit information.
In some embodiments, the object flow information comprises an initial flow link pre-generated for an object;
the generating a circulation link matched with the object traceability condition in real time according to at least part of object circulation information of the target object comprises:
and generating the circulation link of the target object according to at least part of links in the initial circulation link of the target object and the object traceability condition.
In some embodiments, the initial streaming link includes a plurality of streaming nodes, attribute information of an object, and attribute information of each streaming node, which are arranged in time order; the attribute information of the circulation node comprises at least one item of operation information of the object on the circulation node and time information of the object on the circulation node;
the object tracing condition comprises at least one of target attribute information of an object to be queried, target node information of a streaming node to be queried, target operation information of the object to be queried on the streaming node, and time limit information.
In some embodiments, the generating a circulation link of the target object according to at least part of the initial circulation link of the target object and the object tracing condition includes:
and intercepting at least part of links matched with the object tracing condition from the initial circulation links of the target object to obtain the circulation links of the target object.
In some embodiments, the initial streaming link is pre-generated by:
acquiring circulation information of a plurality of nodes; wherein the node flow information is information of an object on a flow node;
and aiming at each object, screening node circulation information matched with the object from the plurality of node circulation information by using the identification information of the object, and generating an initial circulation link of the object by using the screened node circulation information.
In some embodiments, the object tracing method further includes:
displaying the circulation link;
and responding to the trigger information of the streaming node in the streaming link, and displaying the node information of the streaming node and/or the operation information of the target object on the streaming node.
In some embodiments, the product comprises at least one of a food product, an article.
In a second aspect, an embodiment of the present application provides an object tracing apparatus, including:
the information acquisition module is used for acquiring the object traceability conditions dynamically configured by the user through the traceability page and a plurality of pieces of prestored object circulation information;
the link generation module is used for matching the object traceability condition with at least one object circulation information and taking the object to which the successfully matched object circulation information belongs as a target object; generating a circulation link matched with the object traceability condition in real time according to at least part of object circulation information of the target object; the circulation link comprises a plurality of circulation nodes which are sequenced according to time, the objects are products with circulation requirements, and under the condition that the number of the target objects is multiple, the generated circulation links are multiple.
In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored on the memory, where the processor implements the method described in any one of the above when executing the computer program.
In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the method of any one of the above.
Compared with the prior art, the method has the following advantages:
according to the embodiment of the application, firstly, object traceability conditions dynamically configured by a user through a traceability page and a plurality of object circulation information are obtained; then, matching the object tracing condition with at least one object circulation information; and determining a target object according to the matching result, and generating a circulation link matched with the object traceability condition in real time according to at least part of object circulation information of the target object, wherein the circulation link comprises a plurality of circulation nodes which are sequenced according to time. According to the method and the device, the tracing information, namely the circulation link, is generated or inquired without depending on scanning the tracing two-dimensional code, the target object and the object circulation information of the target object are determined by matching the object tracing condition dynamically configured by the user, and then the circulation link of the target object is generated by using the object circulation information obtained by matching, so that the defect caused by pasting the two-dimensional tracing code of the entity is overcome, and the tracing information of the object is inquired accurately and completely. In addition, in the method and the system, the circulation links can be generated for a plurality of objects simultaneously by matching the object tracing conditions dynamically configured by the user, the defect that the code scanning mode in the prior art can only acquire the tracing information of a certain object is overcome, and the high efficiency and the flexibility of object tracing are improved.
The foregoing description is only an overview of the technical solutions of the present application, and the following detailed description of the present application is given to enable the technical means of the present application to be more clearly understood and to enable the above and other objects, features, and advantages of the present application to be more clearly understood.
Drawings
In the drawings, like reference numerals refer to the same or similar parts or elements throughout the several views unless otherwise specified. The figures are not necessarily to scale. It is appreciated that these drawings depict only some embodiments in accordance with the disclosure and are not to be considered limiting of its scope.
Fig. 1 is a flowchart of an object tracing method according to an embodiment of the present application;
fig. 2A is one of schematic diagrams of a streaming link according to another embodiment of the present application;
fig. 2B is a second schematic diagram of a streaming link according to another embodiment of the present application;
fig. 2C is a third schematic diagram of a streaming link according to another embodiment of the present application;
fig. 3 is a block diagram illustrating an object tracing apparatus according to an embodiment of the present application;
FIG. 4 is a block diagram of an electronic device used to implement embodiments of the present application.
Detailed Description
In the following, only certain exemplary embodiments are briefly described. As those skilled in the art will recognize, the described embodiments may be modified in various different ways, without departing from the spirit or scope of the present application. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
In order to facilitate understanding of the technical solutions of the embodiments of the present application, the following description is made of related art of the embodiments of the present application. The following related arts as alternatives can be arbitrarily combined with the technical solutions of the embodiments of the present application, and all of them belong to the scope of the embodiments of the present application.
In the related technology, a product safety management system can be established and perfected through tracing, forward, backward and non-directional tracking of products is realized, and supervision is carried out on links of purchase, production, storage, sale, service and the like of raw and auxiliary materials. However, the existing tracing scheme has the defect of poor scene adaptability, and easily causes the defects that the tracing information cannot be uploaded and the accurate and complete tracing information cannot be inquired. In view of the foregoing defects, the present application provides an object tracing method and apparatus, and the object tracing method and apparatus of the present application are described below.
As shown in fig. 1, which is a flowchart of an object tracing method according to an embodiment of the present application, the object tracing method may be executed by a device or a device cluster having a computing capability, and specifically, the object tracing method may include:
s101, acquiring an object tracing condition dynamically configured by a user through a tracing page and a plurality of pieces of pre-stored object circulation information; s102, matching the object traceability condition with at least one object circulation information, and taking the object to which the successfully matched object circulation information belongs as a target object; generating a circulation link matched with the object traceability condition in real time according to at least part of object circulation information of the target object; the circulation link comprises a plurality of circulation nodes which are sequenced according to time, the objects are products with circulation requirements, and the generated circulation links are multiple under the condition that the number of the target objects is multiple.
The object tracing condition can be dynamically configured by a user through a tracing page according to the requirement of the user, so that the defects caused by the entity tracing two-dimension code can be avoided. Of course, the object tracing condition may also be transmitted by other received client devices, and the generation method of the object tracing condition is not limited in the present application. Illustratively, the object tracing condition may include attribute information of an object to be queried by the user, i.e. target attribute information, where the attribute information may include at least one of a class, a batch, a source, identification information, a name, etc. of the object. Of course, the object tracing condition may also include other conditions, such as time limit information.
The object circulation information is used to represent information that a certain object circulates on at least one circulation node, where the information may include attribute information of the object, node information of the circulation node, operation information of an operation performed on the object on the circulation node, time information of the object on the circulation node, and the like. Illustratively, the node information of the circulation node may include a name of a corresponding company of the circulation node, a location of the circulation node, a name of a person in charge of the circulation node, identification information of the circulation node, and the like. The executed operation may include an ex-warehouse operation, a warehouse-in operation, a quality inspection operation, and the like. The time information of the object on the streaming node may include the time when the object performs certain operations on the streaming node, such as ex-warehouse time, in-warehouse time, quality inspection time. The attribute information of the object may include at least one of a class, a lot, a source, identification information, a name, a validity period, a weight, a volume, a length, a width, an area, a production date, an amount, a sales subject, and the like of the object.
For example, the object circulation information may include information of an object on a certain circulation node, and when one object circulates on a different circulation node, a plurality of object circulation information may be generated, and thus, in this case, one object corresponds to at least one object circulation information. Each object flow information of each object can be uploaded to the device for executing the object tracing method of the embodiment, the device stores the object flow information after receiving the object flow information, the object flow information is independent and discrete and is not processed by clustering and the like, and the object flow information of different objects is uniformly stored in one or more storage modules. The storage modules may be modules of the device itself that executes the object tracing method of this embodiment, or may be modules in the cloud. In addition, each object circulation information of each object may also be uploaded to an independent storage device, and the device executing the object tracing method according to this embodiment may read from the storage device.
Illustratively, the object streaming information may include an initial streaming link pre-generated for the corresponding object. The initial circulation link comprises a plurality of circulation nodes arranged according to a time sequence, attribute information of an object and attribute information of each circulation node; the attribute information of the streaming node comprises at least one of operation information of the object on the streaming node and time information of the object on the streaming node. The initial circulation link may be stored after the device executing the object tracing method of this embodiment generates offline, or may be generated offline by another device and transmitted to the device executing the object tracing method of this embodiment, which is not limited in this application. Of course, the initial circulation link may be stored in the device that executes the object tracing method of the present embodiment, or may be stored in the cloud.
The object tracing condition includes at least one of target attribute information of the object to be queried, target node information of the streaming node to be queried, target operation information of the object to be queried on the streaming node, and time limit information. Illustratively, the target attribute information is used to define at least one of a class, a lot, a source, identification information, a name, etc. of the object to be queried. The target node information is used for defining some characteristics required by the circulation node through which the object to be queried flows, wherein the characteristics required to be provided can include at least one of characteristics of company names, positions, names of responsible persons, identification information and the like. The target operation information defines some characteristics required by the operation performed by the object on the streaming node, such as characteristics of the operation type. The time restriction information is used to define the time for the object to flow through the streaming node.
According to the above statements, the object flow information generated on the target flow node includes the attribute information of the object, the attribute information of the object includes the identification information, the name, etc. of the object, and the object tracing condition also includes the identification information, the name, etc. of the object to be queried, so that the identification information in the object tracing condition can be used for matching with the identification information in each object flow information, and then the target object can be determined according to the matching result. The identification information of the object can be ID, the two-dimensional code can be used as a carrier, and the identification information can be obtained by scanning the two-dimensional code. The object tracing condition and the object circulation information can be matched and associated by utilizing the identification information, and association and matching can also be carried out between the object circulation information.
And matching the object tracing conditions with the object circulation information, and screening the target object to be inquired and the object circulation information corresponding to the target object from each object corresponding to each object circulation information according to the matching result. Then, by using the object circulation information and the object tracing condition of the target object, a circulation link which meets the current user requirement and comprises a plurality of circulation nodes can be generated. The flow nodes in the flow link are arranged according to the time sequence, the upstream and downstream relations of the flow nodes such as the first station, the second station, the third station and the like of the target object flow can be directly and vividly displayed, and the user experience and the data display orderliness are improved. Compared with the prior art that the tracing two-dimension code can only be scanned and the integral and complicated tracing information can only be obtained, the method and the device for tracing the source information of the mobile terminal are remarkably improved in accuracy, flexibility and user experience.
In some embodiments, the object flow information includes information of an object on a flow node, and when one object flows on a plurality of flow nodes to generate a plurality of object flow information, the flow link matched with the object traceability condition is generated in real time according to at least part of the object flow information of the target object, which may be implemented by using the following steps:
firstly, according to at least one object circulation information of the target object, determining a target circulation node matched with the object traceability condition; then, determining the arrangement sequence of each target circulation node according to the time information of the target object on each target circulation node; and finally, generating a circulation link comprising a plurality of target circulation nodes according to the arrangement sequence of the target circulation nodes.
In the process of matching the object tracing condition with each object circulation information, while the target object is determined, at least one object circulation information corresponding to the target object is determined, and the object circulation information belongs to the target object, but may not match the object tracing condition, for example, time information on a circulation node in the object circulation information does not match time limit information in the object tracing condition, so that it is necessary to screen the object circulation information matching the object tracing condition from each object circulation information of the target object according to the object tracing condition, and then take the circulation node corresponding to the screened object circulation information as the target circulation node.
Since the object circulation information includes the time information of the object on the circulation node, after the target circulation node is obtained, the time information of the target object on the target circulation node can be determined by using the corresponding object circulation information. And then, according to the obtained time information and the time sequence, determining the arrangement sequence of each target circulation node, wherein the arrangement sequence is consistent with the time sequence. According to the arrangement order of each target circulation node, the generated circulation link may be a graph link as shown in fig. 2A, or may be a link in the form of an information list as shown in fig. 2B. As shown in fig. 2A, the circulation nodes are connected in sequence, so that the related users can visually see the upstream and downstream relationship between the circulation nodes; as shown in fig. 2B, the information of each streaming node in the information list is arranged in sequence, and the upstream and downstream relationship between the streaming nodes can be displayed in a ready manner.
In some embodiments, in a case that the object flow information includes an initial flow link generated in advance for the object, the generating a flow link matched with the object tracing condition in real time according to at least part of the object flow information of the target object may specifically be implemented by using the following steps: and generating the circulation link of the target object according to at least part of the initial circulation link of the target object and the object tracing condition. The initial circulation link is a relatively complete link generated in advance according to each object circulation information of the object, and conditions such as time limit information, a source, a batch and the like can be defined in the object traceability condition, so that a part of links of the object to be queried can be generated, and therefore the circulation link to be queried by the current user needs to be generated by combining the object traceability condition, and the accuracy of the query result is improved by the method.
Illustratively, the circulation link of the target object may be obtained by intercepting at least part of the link matching the object tracing condition from the initial circulation link of the target object. Where the resulting stream transfer link may include at least one sublink that is intercepted.
The initial streaming link includes each streaming node through which an object flows, and the initial streaming link is generated in advance or offline, and may specifically be generated by using the following steps:
firstly, acquiring circulation information of a plurality of nodes; wherein the node flow information is information of an object on a flow node; then, aiming at each object, the identification information of the object is utilized to screen the node circulation information matched with the object from the plurality of node circulation information, and the screened node circulation information is utilized to generate an initial circulation link of the object.
The node circulation information may include attribute information of the object, node information of the circulation node, operation information of an operation performed on the object at the circulation node, time information of the object at the circulation node, and the like. For example, the node information of the circulation node may include a name of a corresponding company of the circulation node, a location of the circulation node, a name of a person in charge of the circulation node, identification information of the circulation node, and the like. The executed operation may include an ex-warehouse operation, an in-warehouse operation, a quality inspection operation, and the like. The time information of the object on the transfer node may include the time when the object performs some operation on the transfer node, for example, ex-warehouse time, in-warehouse time, quality inspection time. The attribute information of the object may include at least one of a class, a lot, a source, identification information, a name, and the like of the object. An object is circulated on different circulation nodes to generate a plurality of node circulation information, so that in this case, one object corresponds to at least one node circulation information.
The identification information of the object can be ID, the two-dimensional code can be used as a carrier, the identification information is obtained by scanning the two-dimensional code, and different node circulation information can be matched and associated by utilizing the identification information.
The node flow information of different objects is stored together and is discrete, and is not classified, so that the stored node flow information needs to be clustered, and the like, so as to determine the node flow information corresponding to each object. Illustratively, because the node flow information includes identification information of an object, an object to which each node flow information belongs may be determined according to the identification information, that is, node flow information corresponding to each object may be determined. Then, for a certain object, according to the time information included in the flow information of each node corresponding to the certain object, the time when the object flows through each flow node can be determined, then, according to the determined time, the arrangement sequence of each flow node through which the object flows can be determined, and finally, according to the determined arrangement sequence, an initial flow link including each flow node can be generated.
In the application, the centralized data integration means and the big data computing framework can be utilized to analyze and process the circulation information of each node in an off-line manner, and the initial circulation link of each object is generated.
The initial circulation link may be generated by a device that executes the object tracing method according to this embodiment, or may be generated by another device that communicates with the device that executes the object tracing method according to this embodiment.
The object may be a product or a batch of products. Since one product can only flow through one route, and a batch of products may be dispersed into multiple route flows, for one product, the generated flow link is one, as shown in fig. 2A, and for one batch of products, the generated flow link may be multiple, as shown in fig. 2C.
In some embodiments, after the streaming link of the target object is generated, the streaming link may also be displayed; and responding to the trigger information of the streaming node in the streaming link, and displaying the node information of the streaming node and/or the operation information of the target object on the streaming node.
When a user wants to check specific information of an object on a certain transfer node, the user can click the transfer node, and after receiving trigger information of the transfer node, the user acquires and displays node transfer information corresponding to the current object and the transfer node. In addition, the node circulation information can be displayed in a data report form, and the information such as ex-warehouse/in-warehouse records of a specific enterprise on a certain product can be further accurately positioned by using the method, so that data support is provided for daily supervision and management.
In the application, an external interface can be provided to obtain the object tracing conditions, so as to meet the requirement of providing query capability for the outside.
The object can be food, articles and other products with circulation requirements; specifically, the method may include: food, edible agricultural products, medical appliances, agricultural production materials, computer electronic products, communication electronic products, consumer electronic products, industrial license products and the like.
Compared with the prior art, the technical scheme of this application can avoid pasting two-bit traceability code on the product, consequently saves consumptive material expenditure cost.
Corresponding to the application scenario and the method of the method provided by the embodiment of the present application, an object tracing apparatus is also provided by the embodiment of the present application. Fig. 3 is a block diagram of an object tracing apparatus according to an embodiment of the present application, which may include:
the information obtaining module 310 is configured to obtain an object tracing condition dynamically configured by a user through a tracing page, and a plurality of pieces of pre-stored object flow information.
The link generating module 320 is configured to match the object tracing condition with at least one object flow information, and use an object to which the successfully matched object flow information belongs as a target object; generating a circulation link matched with the object traceability condition in real time according to at least part of object circulation information of the target object; the circulation link comprises a plurality of circulation nodes which are sequenced according to time, the objects are products with circulation requirements, and under the condition that the number of the target objects is multiple, the generated circulation links are multiple.
In some embodiments, the object flow information comprises information of objects on a flow node; one object corresponds to at least one object circulation message;
the link generating module 320 is configured to, when generating a circulation link matched with the object tracing condition in real time according to at least part of the object circulation information of the target object,:
determining a target circulation node matched with the object traceability condition according to at least one object circulation information of the target object;
determining the arrangement sequence of each target circulation node according to the time information of the target object on each target circulation node;
and generating a circulation link comprising a plurality of target circulation nodes according to the arrangement sequence of the target circulation nodes.
In some embodiments, the object circulation information includes at least one of attribute information of the object, node information of the circulation node, operation information of the object on the circulation node, and time information of the object on the circulation node;
the object tracing condition comprises at least one of target attribute information of an object to be queried, target node information of a streaming node to be queried, target operation information of the object to be queried on the streaming node, and time limit information.
In some embodiments, the object flow information comprises an initial flow link pre-generated for an object;
the link generating module 320 is configured to, when generating a circulation link matched with the object tracing condition in real time according to at least part of the object circulation information of the target object,:
and generating the circulation link of the target object according to at least part of links in the initial circulation link of the target object and the object traceability condition.
In some embodiments, the initial streaming link includes a plurality of streaming nodes, attribute information of an object, and attribute information of each streaming node, which are arranged in time order; the attribute information of the streaming node comprises at least one item of operation information of an object on the streaming node and time information of the object on the streaming node;
the object tracing condition comprises at least one of target attribute information of an object to be queried, target node information of a streaming node to be queried, target operation information of the object to be queried on the streaming node, and time limit information.
In some embodiments, the link generating module 320, when generating the circulation link of the target object according to at least part of the initial circulation link of the target object and the object tracing condition, is configured to:
and intercepting at least part of links matched with the object tracing condition from the initial circulation links of the target object to obtain the circulation links of the target object.
In some embodiments, the link generating module 320 is further configured to generate the initial streaming link as described above:
acquiring circulation information of a plurality of nodes; wherein the node flow information is information of an object on a flow node;
and aiming at each object, screening node circulation information matched with the object from the plurality of node circulation information by using the identification information of the object, and generating an initial circulation link of the object by using the screened node circulation information.
In some embodiments, the apparatus further comprises a display module 330 for:
displaying the circulation link;
and responding to the trigger information of the streaming node in the streaming link, and displaying the node information of the streaming node and/or the operation information of the target object on the streaming node.
In some embodiments, the product comprises at least one of a food product, an article.
The functions of each module in each device in the embodiment of the present application can be referred to the corresponding description in the above method, and have corresponding beneficial effects, which are not described herein again.
FIG. 4 is a block diagram of an electronic device used to implement embodiments of the present application. As shown in fig. 4, the electronic apparatus includes: a memory 410 and a processor 420, the memory 410 having stored therein a computer program operable on the processor 420. The processor 420, when executing the computer program, implements the method in the embodiments described above. The number of the memory 410 and the processor 420 may be one or more.
The electronic device further includes:
and the communication interface 430 is used for communicating with an external device to perform data interactive transmission.
If the memory 410, the processor 420 and the communication interface 430 are implemented independently, the memory 410, the processor 420 and the communication interface 430 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown in FIG. 4, but this does not indicate only one bus or one type of bus.
Optionally, in an implementation, if the memory 410, the processor 420, and the communication interface 430 are integrated on a chip, the memory 410, the processor 420, and the communication interface 430 may complete communication with each other through an internal interface.
Embodiments of the present application provide a computer-readable storage medium, which stores a computer program, and when the program is executed by a processor, the computer program implements the method provided in the embodiments of the present application.
The embodiment of the present application further provides a chip, where the chip includes a processor, and is configured to call and run an instruction stored in a memory from the memory, so that a communication device installed with the chip executes the method provided in the embodiment of the present application.
An embodiment of the present application further provides a chip, including: the system comprises an input interface, an output interface, a processor and a memory, wherein the input interface, the output interface, the processor and the memory are connected through an internal connection path, the processor is used for executing codes in the memory, and when the codes are executed, the processor is used for executing the method provided by the embodiment of the application.
It should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or any conventional processor or the like. It is noted that the processor may be a processor supporting an Advanced reduced instruction set machine (ARM) architecture.
Further, optionally, the memory may include a read-only memory and a random access memory. The memory may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile Memory may include a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can include Random Access Memory (RAM), which acts as external cache Memory. By way of example, and not limitation, many forms of RAM may be used. For example, static Random Access Memory (Static RAM, SRAM), dynamic Random Access Memory (DRAM), synchronous Dynamic Random Access Memory (SDRAM), double Data Rate Synchronous Dynamic Random Access Memory (DDR SDRAM), enhanced SDRAM (ESDRAM), SLDRAM (SLDRAM), and Direct Rambus RAM (DR RAM).
In the above embodiments, all or part of the implementation may be realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. The procedures or functions according to the present application are generated in whole or in part when the computer program instructions are loaded and executed on a computer. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the application. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Moreover, various embodiments or examples and features of various embodiments or examples described in this specification can be combined and combined by one skilled in the art without being mutually inconsistent.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the feature. In the description of the present application, "a plurality" means two or more unless specifically limited otherwise.
Any process or method described in a flow diagram or otherwise herein may be understood as representing a module, segment, or portion of code, which includes one or more executable instructions for implementing specific logical functions or steps of the process. And the scope of the preferred embodiments of the present application includes other implementations in which functions may be performed out of the order shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved.
The logic and/or steps described in the flowcharts or otherwise described herein, such as an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions.
It should be understood that portions of the present application may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, various steps or methods may be implemented in software or firmware stored in a memory and executed by a suitable instruction execution system. All or a portion of the steps of the method of the above embodiments may be performed by associated hardware that is instructed by a program, which may be stored in a computer-readable storage medium, that when executed, includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present application may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module may also be stored in a computer-readable storage medium if it is implemented in the form of a software functional module and sold or used as a separate product. The storage medium may be a read-only memory, a magnetic or optical disk, or the like.
The above description is only an exemplary embodiment of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various changes or substitutions within the technical scope described in the present application, and these should be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (12)

1. An object tracing method is characterized by comprising the following steps:
acquiring an object tracing condition dynamically configured by a user through a tracing page and a plurality of pieces of pre-stored object circulation information;
matching the object tracing condition with at least one object circulation information, and taking the object to which the successfully matched object circulation information belongs as a target object; generating a circulation link matched with the object traceability condition in real time according to at least part of object circulation information of the target object;
the circulation link comprises a plurality of circulation nodes which are sequenced according to time, the objects are products with circulation requirements, and the generated circulation links are multiple under the condition that the number of the target objects is multiple.
2. The method of claim 1, wherein the object flow information includes information of objects on a flow node; one object corresponds to at least one object circulation message;
the generating a circulation link matched with the object traceability condition in real time according to at least part of object circulation information of the target object comprises:
determining a target circulation node matched with the object traceability condition according to at least one object circulation information of the target object;
determining the arrangement sequence of each target circulation node according to the time information of the target object on each target circulation node;
and generating a circulation link comprising a plurality of target circulation nodes according to the arrangement sequence of the target circulation nodes.
3. The method of claim 1, wherein the object circulation information includes at least one of attribute information of the object, node information of the circulation node, operation information of the object on the circulation node, and time information of the object on the circulation node;
the object tracing condition comprises at least one of target attribute information of an object to be queried, target node information of a streaming node to be queried, target operation information of the object to be queried on the streaming node, and time limit information.
4. The method of claim 1, wherein the object flow information comprises an initial flow link pre-generated for an object;
the generating a circulation link matched with the object tracing condition in real time according to at least part of the object circulation information of the target object comprises:
and generating the circulation link of the target object according to at least part of links in the initial circulation link of the target object and the object traceability condition.
5. The method of claim 4, wherein the initial streaming link includes a plurality of streaming nodes, attribute information of an object, and attribute information of each streaming node in chronological order; the attribute information of the circulation node comprises at least one item of operation information of the object on the circulation node and time information of the object on the circulation node;
the object tracing condition comprises at least one of target attribute information of an object to be queried, target node information of a streaming node to be queried, target operation information of the object to be queried on the streaming node, and time limit information.
6. The method according to claim 4 or 5, wherein the generating the circulation link of the target object according to at least part of the initial circulation link of the target object and the object tracing condition comprises:
and intercepting at least part of links matched with the object tracing condition from the initial circulation links of the target object to obtain the circulation links of the target object.
7. The method of claim 4, wherein the initial streaming link is pre-generated by:
acquiring circulation information of a plurality of nodes; wherein the node flow information is information of an object on a flow node;
and aiming at each object, screening node circulation information matched with the object from the plurality of node circulation information by using the identification information of the object, and generating an initial circulation link of the object by using the screened node circulation information.
8. The method of claim 1, further comprising:
displaying the circulation link;
and responding to the trigger information of the streaming node in the streaming link, and displaying the node information of the streaming node and/or the operation information of the target object on the streaming node.
9. The method of claim 1, wherein the product comprises at least one of a food product, an item.
10. An object tracing apparatus, comprising:
the information acquisition module is used for acquiring the object tracing conditions dynamically configured by the user through the tracing page and a plurality of pieces of prestored object circulation information;
the link generation module is used for matching the object traceability condition with at least one object circulation information and taking the object to which the successfully matched object circulation information belongs as a target object; generating a circulation link matched with the object traceability condition in real time according to at least part of object circulation information of the target object; the circulation link comprises a plurality of circulation nodes which are sequenced according to time, the objects are products with circulation requirements, and the generated circulation links are multiple under the condition that the number of the target objects is multiple.
11. An electronic device comprising a memory, a processor and a computer program stored on the memory, the processor implementing the method of any one of claims 1-9 when executing the computer program.
12. A computer-readable storage medium, having stored therein a computer program which, when executed by a processor, implements the method of any of claims 1-9.
CN202211299135.3A 2022-10-24 2022-10-24 Object tracing method and device, electronic equipment and storage medium Pending CN115375335A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211299135.3A CN115375335A (en) 2022-10-24 2022-10-24 Object tracing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211299135.3A CN115375335A (en) 2022-10-24 2022-10-24 Object tracing method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115375335A true CN115375335A (en) 2022-11-22

Family

ID=84073364

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211299135.3A Pending CN115375335A (en) 2022-10-24 2022-10-24 Object tracing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115375335A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017215442A1 (en) * 2016-06-13 2017-12-21 阿里巴巴集团控股有限公司 Commodity information processing method, apparatus and system
CN109447660A (en) * 2018-10-12 2019-03-08 中国医学科学院药用植物研究所 A kind of source tracing method and system of object identity
CN109919630A (en) * 2019-01-16 2019-06-21 岳西县悯农农业有限公司 A kind of agricultural product retrospect supervisory systems
CN110097376A (en) * 2019-04-12 2019-08-06 阿里巴巴集团控股有限公司 Commodity source tracing method, device, equipment and storage medium
CN110874746A (en) * 2018-12-29 2020-03-10 北京安妮全版权科技发展有限公司 Product traceability system based on block chain
CN114519590A (en) * 2022-02-23 2022-05-20 中冶赛迪重庆信息技术有限公司 Traceability information generation system and method, electronic device and readable storage medium
CN114612115A (en) * 2022-03-09 2022-06-10 北京邮电大学 Industrial product traceability information storage method, traceability method and device based on block chain
CN114741738A (en) * 2022-04-21 2022-07-12 平安国际智慧城市科技股份有限公司 Tracing data processing method and device based on block chain, electronic equipment and medium

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017215442A1 (en) * 2016-06-13 2017-12-21 阿里巴巴集团控股有限公司 Commodity information processing method, apparatus and system
CN109447660A (en) * 2018-10-12 2019-03-08 中国医学科学院药用植物研究所 A kind of source tracing method and system of object identity
CN110874746A (en) * 2018-12-29 2020-03-10 北京安妮全版权科技发展有限公司 Product traceability system based on block chain
CN109919630A (en) * 2019-01-16 2019-06-21 岳西县悯农农业有限公司 A kind of agricultural product retrospect supervisory systems
CN110097376A (en) * 2019-04-12 2019-08-06 阿里巴巴集团控股有限公司 Commodity source tracing method, device, equipment and storage medium
CN114519590A (en) * 2022-02-23 2022-05-20 中冶赛迪重庆信息技术有限公司 Traceability information generation system and method, electronic device and readable storage medium
CN114612115A (en) * 2022-03-09 2022-06-10 北京邮电大学 Industrial product traceability information storage method, traceability method and device based on block chain
CN114741738A (en) * 2022-04-21 2022-07-12 平安国际智慧城市科技股份有限公司 Tracing data processing method and device based on block chain, electronic equipment and medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
胥义等: "《食品安全管理及信息化实践》", 31 December 2017, 上海:华东理工大学出版社 *

Similar Documents

Publication Publication Date Title
CN110471949B (en) Data blood margin analysis method, device, system, server and storage medium
US20200082284A1 (en) Anomaly detection for non-stationary data
CN113888064B (en) Product quality tracing method, device and equipment in food and beverage industry
US9223672B1 (en) Method and system for providing error repair status data to an application user
US10579915B2 (en) Method and device for initializing two-dimensional code
CN112291578A (en) Artificial intelligence-based e-commerce information pushing method and system and cloud platform
CN110245684B (en) Data processing method, electronic device, and medium
CN114266539A (en) File flow processing method, system, device and computer readable storage medium
CN112418893A (en) Supply chain adjusting method and device based on machine learning and electronic equipment
CN115375335A (en) Object tracing method and device, electronic equipment and storage medium
CN114358673B (en) Abnormal logistics early warning method and device, computer equipment and storage medium
CN115619340A (en) Bidding purchase full-service management and control method, device, equipment, system and medium based on intelligent supply chain
US20180224835A1 (en) Graph theory and network analytics and diagnostics for process optimization in manufacturing
CN108345600B (en) Management of search application, data search method and device thereof
US9971978B2 (en) Event-based data management method and device
CN115203178A (en) Data quality inspection method and device, electronic equipment and storage medium
CN113781092A (en) Data processing method, device, equipment and storage medium
CN113590893A (en) Control method, display method and electronic equipment
CN112163140A (en) Method, device and system for detecting trademark infringement
CN112214510A (en) Method, device and system for dynamically searching source for purchase demand and storage medium
CN110969464A (en) Method and device for reminding key material cost fluctuation
CN111553749A (en) Activity push strategy configuration method and device
CN110400189B (en) Information output method and device
CN113819989B (en) Article packaging method, apparatus, electronic device and computer readable medium
CN112767096B (en) Product recommendation method and device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20221122