CN112948876A - Tracing method and device - Google Patents

Tracing method and device Download PDF

Info

Publication number
CN112948876A
CN112948876A CN202110219254.2A CN202110219254A CN112948876A CN 112948876 A CN112948876 A CN 112948876A CN 202110219254 A CN202110219254 A CN 202110219254A CN 112948876 A CN112948876 A CN 112948876A
Authority
CN
China
Prior art keywords
information
article
tracing
traced
item
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
CN202110219254.2A
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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202110219254.2A priority Critical patent/CN112948876A/en
Publication of CN112948876A publication Critical patent/CN112948876A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • G06F21/6227Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database where protection concerns the structure of data, e.g. records, types, queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • 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

Abstract

The invention discloses a tracing method and device, relates to the technical field of communication, and is used for improving the public confidence of an article tracing system. The method comprises the following steps: first, a trace back request sent by a user equipment is received. Then, first information is determined according to the item identification. Then, second information is determined according to the article identification. And finally, sending the first information to the user equipment under the condition that the first information is consistent with the second information. Wherein, the tracing request comprises an article identifier of the article to be traced. The first information is article information corresponding to the article identifier stored in the server. The second information is article information corresponding to the article identification stored in the block chain.

Description

Tracing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a tracing method and device.
Background
The article tracing refers to a process of recording and inquiring information such as article state, attribute, position and the like by using an identification technology in the whole life cycle process from manufacturing, circulation, consumption to recycling of the article, and aims to record article information data in an all-around manner, promote effective sharing of information among information systems in enterprises, between enterprises and users, and improve networking and intelligentization levels of industrial enterprises.
At present, most article tracing systems are built and operated by manufacturers, so that the manufacturers have an opportunity to conceal article problems by tampering data when the articles have problems. Therefore, the existing article tracing system has the problem of insufficient public confidence.
Disclosure of Invention
The invention provides a tracing method and device, which are used for improving the public confidence of an article tracing system. In order to achieve the purpose, the invention adopts the following technical scheme:
in a first aspect, the present invention provides a tracing method, including: first, a trace back request sent by a user equipment is received. Then, first information is determined according to the item identification. Then, second information is determined according to the article identification. And finally, sending the first information to the user equipment under the condition that the first information is consistent with the second information. Wherein, the tracing request comprises an article identifier of the article to be traced. The first information is article information corresponding to the article identifier stored in the server. The second information is article information corresponding to the article identification stored in the block chain.
It can be seen that, after receiving the tracing request sent by the user equipment, the present invention respectively obtains the article information corresponding to the article identifier of the article to be traced from the server and the block chain according to the article identifier of the article to be traced in the tracing request, and then sends the article information of the article to be traced in the server to the user equipment under the condition that the article information obtained in the two ways is consistent. Due to the fact that the block chain has the characteristic of being not capable of being tampered, the article information of the article to be traced in the block chain is not tampered. The article information of the article to be traced in the server is consistent with the article information of the article to be traced in the block chain, which can indicate that the article information of the article to be traced in the server is not tampered, and in this case, the article information of the article to be traced in the server is sent to the user equipment, so that the article information to be traced sent to the user equipment by the tracing equipment is not tampered, the public confidence of the article tracing system is improved, and the problem that the public confidence of the existing article tracing system is insufficient is solved.
In a second aspect, the present invention provides a trace back apparatus, comprising: the device comprises a receiving unit, a first determining unit, a second determining unit and a first sending unit. The receiving unit is used for receiving a tracing request sent by the user equipment, wherein the tracing request comprises an article identifier of an article to be traced. And the first determining unit is used for determining first information according to the article identifier, wherein the first information is article information corresponding to the article identifier stored in the server. And the second determining unit is used for determining second information according to the article identification, wherein the second information is article information corresponding to the article identification stored in the block chain. And a first sending unit, configured to send the first information to the user equipment when the first information and the second information are consistent.
In a third aspect, the present invention provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by a trace back apparatus, cause the trace back apparatus to perform the trace back method as described in the first aspect.
In a fourth aspect, the present invention provides a computer program product comprising instructions which, when run on a trace-back apparatus, cause the trace-back apparatus to perform the trace-back method according to the first aspect.
In a fifth aspect, the present invention provides a trace back device, including: a processor and a memory, the memory being for storing a program, the processor calling the program stored by the memory to perform the traceback method as described in the first aspect.
Reference may be made to the detailed description of the first aspect and various implementations thereof for specific descriptions of the second to fifth aspects and various implementations thereof in the present disclosure; moreover, the beneficial effects of the second aspect to the fifth aspect and the various implementation manners thereof may refer to the beneficial effect analysis of the first aspect and the various implementation manners thereof, and are not described herein again.
These and other aspects of the invention will be more readily apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments will be briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a trace back device according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of a tracing method according to an embodiment of the present invention;
fig. 4 is a schematic flowchart of a tracing method according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a trace back device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone.
The terms "first" and "second" and the like in the description of the present invention and the drawings are used for distinguishing different objects or for distinguishing different processes for the same object, and are not used for describing a specific order of the objects.
Furthermore, the terms "comprising" and "having" and any variations thereof as referred to in the description of the invention are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus.
It should be noted that in the description of the embodiments of the present invention, words such as "exemplary" or "for example" are used to indicate examples, illustrations or illustrations. Any embodiment or design described as "exemplary" or "e.g.," an embodiment of the present invention is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the description of the present invention, the meaning of "a plurality" means two or more unless otherwise specified.
The embodiment of the invention provides a tracing method which is used for improving the public confidence of an article tracing system. The tracing method is suitable for a tracing system, and fig. 1 shows one existing form of the tracing system. As shown in fig. 1, the traceability system may comprise: the system comprises a tracing device 100, an identification management server 200, an article information server 300, an article tracing device 400, a block chain 500, an article tracing business server 600 and a user device 700.
In a specific implementation, the tracing apparatus 100 may exist alone, or may be the article tracing service server 600 or a chip in the article tracing service server 600. The embodiment of the present invention does not specifically limit the specific form of the tracing apparatus 100.
The identity management server 200 (which may also be referred to as an identity management module or an identity resolution enterprise node) manages and distributes item identities (e.g., industrial internet identities) and is responsible for transmitting the item identities and certificates generated by the item identities to the item information servers 300 of the respective enterprises.
The article information server 300 (which may also be referred to as an article information module or an article tracking device management platform) establishes a correspondence between an industrial internet identifier and an article tracking device, associates the article identifier with information of the article tracking device (including but not limited to an identifier of the article tracking device, article information of an article to which the article tracking device is attached, and the like), and transmits the article identifier and a certificate generated from the article identifier to the article tracking device.
The item tracking device 400 (which may also be referred to as a traceable module) is configured to receive the item identifier and the certificate generated from the item identifier sent by the item information server 300, and write the received item identifier and the certificate generated from the item identifier into its secure storage area (i.e., the secure storage area of the item tracking device 400). The item tracking device 400 may be attached to an object and move with the item. The article tracking apparatus may acquire article information (e.g., status information of the article (temperature of the article, humidity of the article, etc.), position information of the article, etc.). The article tracking device 400 may upload the acquired article information to the article information server 300, the article tracking device 400 may upload the acquired article information to the block chain 500, or the article tracking device 400 may encrypt the acquired article information (for example, encrypt the article information by a certificate generated from an article identifier) and then upload the encrypted article information to the block chain 500.
Item tracking device 400 includes, but is not limited to, a tracking enabled device such as a cellular tracker.
The article tracking device 400 may acquire the position information of the article through a Global Positioning System (GPS), an operator network, or other manners, which is not limited in the embodiment of the present invention.
The block chain 500 is a federation chain formed by servers (e.g., item information servers) of respective enterprises. Such enterprises include, but are not limited to, all types of enterprises involved in the manufacture, distribution, consumption, and recycling of articles. Such as manufacturing, logistics, retail, recycling, etc. Blockchain 500 may store (e.g., distributed + chained storage) item information (or encrypted item information) uploaded by item tracking device 400. All or a portion of the information uploaded by item tracking device 400 may be read from blockchain 500 using the item identification.
The article tracing service server 600 may receive a tracing request carrying an article identifier of an article to be traced sent by the user equipment 700, and forward the tracing request to the tracing device 100.
The user equipment 700 may send a trace back request to the trace back equipment 100, or may send a trace back request to the article trace back service server 600.
The User Equipment (UE), which may also be referred to as a terminal device, is a device having a wireless transceiving function, and may be deployed on land, including indoors or outdoors, in a handheld manner, or in a vehicle; can also be deployed on the water surface (such as a ship and the like); and may also be deployed in the air (e.g., airplanes, balloons, satellites, etc.). The terminal device may be a mobile phone (mobile phone), a tablet computer (pad), a computer with a wireless transceiving function, a Virtual Reality (VR) terminal, an Augmented Reality (AR) terminal, a wireless terminal in industrial control (industrial control), a wireless terminal in self driving (self driving), a wireless terminal in remote medical (remote medical), a wireless terminal in smart grid (smart grid), a wireless terminal in transportation safety (transportation safety), a wireless terminal in smart city (smart city), a wireless terminal in smart home (smart home), and the like.
Fig. 2 shows a hardware configuration of the trace back apparatus 100. As shown in fig. 2, the trace back device 100 may include a processor 101, a communication line 102, a memory 103, and a communication interface 104.
The structure illustrated in the embodiment of the present invention does not limit the tracing apparatus 100. It may include more or fewer components than shown, or combine certain components, or split certain components, or a different arrangement of components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
Processor 101 may include one or more processing units, such as: the processor 101 may include an application 0 processor (AP), a modem processor, a Graphics Processing Unit (GPU), an Image Signal Processor (ISP), a controller, a memory, a video codec, a Digital Signal Processor (DSP), a baseband processor, and/or a Neural-Network Processing Unit (NPU), etc. The different processing units may be separate devices or may be integrated into one or more processors.
The controller may be a decision maker directing the various components of the traceability device 100 to work in concert as instructed. Is the neural center and command center of the traceability device 100. The controller generates an operation control signal according to the instruction operation code and the time sequence signal to complete the control of instruction fetching and instruction execution.
A memory may also be provided in the processor 101 for storing instructions and data. In some embodiments, the memory in the processor is a cache memory that may hold instructions or data that have just been used or recycled by the processor. If the processor needs to reuse the instruction or data, it can be called directly from memory. Avoiding repeated accesses and reducing the latency of the processor, thereby increasing the efficiency of the system.
In some embodiments, the processor 101 may include an interface. The interface may include an integrated circuit (I2C) interface, an integrated circuit built-in audio (I2S) interface, a Pulse Code Modulation (PCM) interface, a universal asynchronous receiver/transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI), a general-purpose input/output (GPIO) interface, a Subscriber Identity Module (SIM) interface, and/or a Universal Serial Bus (USB) interface, etc.
A communication line 102 for transmitting information between the processor 101 and the memory 103.
The memory 103 is used for storing and executing computer execution instructions and is controlled by the processor 101 to execute.
The memory 103 may be separate and coupled to the processor via the communication line 102. The memory 103 may be either volatile memory or nonvolatile memory, or may include both volatile and nonvolatile memory. The non-volatile memory may be a read-only memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an electrically Erasable EPROM (EEPROM), or a flash memory. Volatile memory can be Random Access Memory (RAM), which acts as external cache memory. By way of example, and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM). It should be noted that the memory of the systems and devices described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
A communication interface 104 for communicating with other devices or a communication network. The communication network may be an ethernet, a Radio Access Network (RAN), or a Wireless Local Area Network (WLAN), a Bluetooth (BT), a Global Navigation Satellite System (GNSS), a Frequency Modulation (FM), a Near Field Communication (NFC), an infrared technology (infrared, IR), or the like.
The following describes a tracing method provided by an embodiment of the present invention with reference to the communication system shown in fig. 1 and the tracing apparatus 100 shown in fig. 2.
As shown in fig. 3, the tracing method provided in the embodiment of the present invention includes:
s301, the trace back device 100 receives the trace back request sent by the user equipment 700.
Wherein, the tracing request comprises an article identifier of the article to be traced.
Illustratively, the tracing device 100 receives a tracing request which is sent by the user equipment 700 and carries an industrial internet identifier of an article to be traced.
S302, the tracing device 100 determines first information according to the article identifier of the article to be traced.
The first information is article information corresponding to an article identifier of an article to be traced stored in a server (article information server 300).
Illustratively, the tracing apparatus 100 sends the received industrial internet identification of the article to be traced and an article information query request to the article information server 300. The article information server 300, after receiving the industrial internet identification of the article to be traced and the article information query request, queries the article information corresponding to the industrial internet identification of the article to be traced through the industrial internet identification, and then sends the article information corresponding to the industrial internet identification of the article to be traced to the tracing device 100 after querying the article information corresponding to the industrial internet identification of the article to be traced. Correspondingly, the tracing device 100 receives the article information corresponding to the industrial internet identifier of the article to be traced sent by the article information server 300.
It is worth mentioning that the article information may include status information of the article, location information of the article, and other information of the article (e.g., a manufacturer name of the article, a name of a person in charge of the article, a sales area of the article, a material of the article, a packaging manner of the article, etc.).
And S303, the tracing device 100 determines second information according to the article identifier of the article to be traced.
The second information is item information corresponding to the item identifier stored in the block chain 500.
Illustratively, the tracing apparatus 100 sends the received industrial internet identification of the article to be traced and an article information query request to the blockchain 500. After receiving the industrial internet identification of the article to be traced and the article information query request, the block chain 500 queries the article information corresponding to the industrial internet identification of the article to be traced through the industrial internet identification, and then sends the article information corresponding to the industrial internet identification of the article to be traced to the tracing device 100 after querying the article information corresponding to the industrial internet identification of the article to be traced. Correspondingly, the tracing device 100 receives the article information corresponding to the industrial internet identifier of the article to be traced sent by the block chain 500.
In a possible implementation manner, the tracing apparatus 100 may determine, according to the article identifier of the article to be traced, the encrypted information corresponding to the article identifier of the article to be traced, and then decrypt the encrypted information corresponding to the article identifier of the article to be traced to obtain the second information. Wherein the encrypted information includes second information.
Illustratively, the tracing apparatus 100 sends the received industrial internet identification of the article to be traced and an article information query request to the blockchain 500. After receiving the industrial internet identification of the article to be traced and the article information query request, the block chain 500 queries the encrypted information corresponding to the industrial internet identification of the article to be traced through the industrial internet identification of the article to be traced, and then sends the encrypted information corresponding to the industrial internet identification of the article to be traced to the tracing device 100 after querying the encrypted information corresponding to the industrial internet identification of the article to be traced. Correspondingly, the tracing device 100 receives the encrypted information corresponding to the industrial internet identifier of the article to be traced sent by the block chain 500, and then decrypts the encrypted information corresponding to the industrial internet identifier by using a decryption algorithm matched with the encrypted information to obtain the article information corresponding to the article identifier stored in the block chain 500.
S304, the trace back device 100 sends the first information to the user equipment 700 when the first information and the second information are consistent.
In a possible implementation manner, the tracing apparatus 100 may first generate a hash value of the first information through a hash algorithm, then generate a hash value of the second information through the hash algorithm, compare the hash value of the first information with the hash value of the second information, and send the first information to the user equipment 700 under the condition that the hash value of the first information is the same as the hash value of the second information.
In another possible implementation manner, the tracing apparatus 100 may determine whether the first information is tampered with through an algorithm relationship according to the acquired encryption information and the first information. The first information is then sent to the user device 700 in case the first information has not been tampered with.
In another possible implementation manner, the encrypted information acquired by the trace back device 100 is a hash value of the second information, in this case, the trace back device 100 may first generate a hash value of the first information through a hash algorithm, then compare the hash value of the first information with the hash value of the second information, and send the first information to the user equipment 700 when the hash value of the first information is the same as the hash value of the second information.
Accordingly, the user equipment 700 receives the first information. The user may view status information of the item, location information of the item, and other information of the item (e.g., a manufacturer name of the item, a name of a person in charge of the item, a sales area of the item, a material of the item, a packaging manner of the item, etc.) through the first information received by the user device 700.
Through S301 to S304, it can be seen that, after receiving a trace back request sent by a user equipment, according to an article identifier of an article to be traced in the trace back request, the embodiment of the present invention obtains article information corresponding to the article identifier of the article to be traced from a server and a block chain, respectively, and then sends the article information of the article to be traced in the server to the user equipment only when the article information obtained in the two ways is consistent. Due to the fact that the block chain has the characteristic of being not capable of being tampered, the article information of the article to be traced in the block chain is not tampered. The article information of the article to be traced in the server is consistent with the article information of the article to be traced in the block chain, which can indicate that the article information of the article to be traced in the server is not tampered, and in this case, the article information of the article to be traced in the server is sent to the user equipment, so that the article information to be traced sent to the user equipment by the tracing equipment is not tampered, the public confidence of the article tracing system is improved, and the problem that the public confidence of the existing article tracing system is insufficient is solved.
Referring to fig. 3, as shown in fig. 4, the tracing method provided in the embodiment of the present invention may further include:
s305, the trace back device 100 sends a trace back failure message to the user equipment 700 when the first information and the second information are inconsistent.
And the tracing failure message is used for representing that the article information of the article to be traced is tampered.
It is worth mentioning that the tracing back failure message can also be used to characterize which item information of the item to be traced back has been tampered with. For example, the tracing failure message may indicate that the location information of the article to be traced has been tampered with.
Accordingly, the user equipment 700 receives the trace back failure message sent by the trace back equipment 100. The user can know that the article information of the article to be traced is tampered by checking the tracing failure message received by the user equipment 700.
The scheme provided by the embodiment of the invention is mainly introduced from the perspective of a method. To implement the above functions, it includes hardware structures and/or software modules for performing the respective functions. Those of skill in the art will readily appreciate that the present invention can be implemented in hardware or a combination of hardware and computer software, with the exemplary elements and algorithm steps described in connection with the embodiments disclosed herein. Whether a function is performed as hardware or computer software drives hardware depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiment of the present invention, functional modules of the trace back device 100 may be divided according to the above method example, for example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. It should be noted that, the division of the modules in the embodiment of the present invention is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
An embodiment of the present invention provides a tracing apparatus 100, configured to execute the tracing method described above, as shown in fig. 5, the tracing apparatus 100 includes: a receiving unit 501, a first determining unit 502, a second determining unit 503, and a first transmitting unit 504.
The receiving unit 501 is configured to receive a tracing request sent by a user equipment, where the tracing request includes an article identifier of an article to be traced. For example, in conjunction with fig. 3, the receiving unit 501 may be configured to perform S301.
A first determining unit 502, configured to determine first information according to the item identifier, where the first information is item information corresponding to the item identifier stored in the server. For example, in conjunction with fig. 3, the first determination unit 502 may be configured to perform S302.
A second determining unit 503, configured to determine second information according to the item identifier, where the second information is item information corresponding to the item identifier stored in the block chain. For example, in conjunction with fig. 3, the second determining unit 503 may be configured to perform S303.
A first sending unit 504, configured to send the first information to the user equipment if the first information and the second information are consistent. For example, in conjunction with fig. 3, the first sending unit 504 may be configured to perform S304.
The second determining unit 503 is specifically configured to:
and determining the encrypted information according to the article identifier, wherein the encrypted information comprises second information.
And decrypting the encrypted information to obtain second information.
As shown in fig. 5, the trace back apparatus 100 may further include: and a second transmitting unit 505.
A second sending unit 505, configured to send a trace back failure message to the user equipment when the first information and the second information are inconsistent, where the trace back failure message is used to indicate that the article information of the article to be traced back has been tampered. For example, in conjunction with fig. 4, the second sending unit 505 may be configured to execute S305.
Specifically, as shown in fig. 2 and 5. The receiving unit 501, the first determining unit 502, the second determining unit 503, the first sending unit 504, and the second sending unit 505 in fig. 5 call the program in the memory 103 via the communication line 102 by the processor 101 in fig. 2 to execute the tracing back method described above.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented using a software program, 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 processes or functions according to embodiments of the present invention occur, in whole or in part, when computer-executable 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 on a computer readable storage medium or transmitted from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wire (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). Computer-readable storage media can be any available media that can be accessed by a computer or can comprise one or more data storage devices, such as servers, data centers, and the like, that can be integrated with the media. The usable medium may be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, devices and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the embodiments provided by the present invention, it should be understood that the disclosed system, device and method can be implemented in other ways. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, a division of a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any changes or substitutions that can be easily conceived by those skilled in the art within the technical scope of the present invention are included in the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A traceability method, comprising:
receiving a tracing request sent by user equipment, wherein the tracing request comprises an article identifier of an article to be traced;
determining first information according to the article identification, wherein the first information is article information corresponding to the article identification stored in a server;
determining second information according to the article identification, wherein the second information is article information corresponding to the article identification stored in the block chain;
and sending the first information to the user equipment under the condition that the first information and the second information are consistent.
2. A traceability method as claimed in claim 1, further comprising:
and sending a tracing failure message to the user equipment under the condition that the first information and the second information are inconsistent, wherein the tracing failure message is used for representing that the article information of the article to be traced is tampered.
3. A traceability method as claimed in claim 1 or 2, wherein the determining of the second information from the item identifier comprises:
determining encrypted information according to the article identifier, wherein the encrypted information comprises the second information;
and decrypting the encrypted information to obtain the second information.
4. A tracing method according to claim 3, wherein the article identification of the article to be traced is an industrial internet identification of the article to be traced.
5. A traceability method as claimed in claim 4, wherein the item information comprises location information of the item and status information of the item.
6. A traceability device, comprising: the device comprises a receiving unit, a first determining unit, a second determining unit and a first sending unit;
the receiving unit is used for receiving a tracing request sent by user equipment, wherein the tracing request comprises an article identifier of an article to be traced;
the first determining unit is configured to determine first information according to the item identifier, where the first information is item information corresponding to the item identifier stored in the server;
the second determining unit is configured to determine second information according to the item identifier, where the second information is item information corresponding to the item identifier stored in the block chain;
the first sending unit is configured to send the first information to the user equipment when the first information and the second information are consistent.
7. The traceability device of claim 6, further comprising: a second transmitting unit;
the second sending unit is configured to send a trace-back failure message to the user equipment when the first information and the second information are inconsistent, where the trace-back failure message is used to indicate that the article information of the article to be traced back has been tampered.
8. The tracing apparatus according to claim 6 or 7, wherein the second determining unit is specifically configured to:
determining encrypted information according to the article identifier, wherein the encrypted information comprises the second information;
and decrypting the encrypted information to obtain the second information.
9. A trace back device, characterized in that the trace back device comprises: one or more processors, and a memory;
the memory is coupled with the one or more processors; the memory for storing computer program code comprising instructions which, when executed by the one or more processors, cause the trace-back apparatus to perform the trace-back method of any of claims 1-5.
10. A computer-readable storage medium comprising instructions that, when run on a trace-back device, cause the trace-back device to perform the trace-back method of any of claims 1-5.
CN202110219254.2A 2021-02-26 2021-02-26 Tracing method and device Pending CN112948876A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110219254.2A CN112948876A (en) 2021-02-26 2021-02-26 Tracing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110219254.2A CN112948876A (en) 2021-02-26 2021-02-26 Tracing method and device

Publications (1)

Publication Number Publication Date
CN112948876A true CN112948876A (en) 2021-06-11

Family

ID=76246585

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110219254.2A Pending CN112948876A (en) 2021-02-26 2021-02-26 Tracing method and device

Country Status (1)

Country Link
CN (1) CN112948876A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115113687A (en) * 2022-05-23 2022-09-27 四川爱联科技股份有限公司 Internet of things module based sealing time determination device and method and electronic equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108764797A (en) * 2018-05-31 2018-11-06 腾讯科技(深圳)有限公司 Circulation information querying method, device, equipment, system and storage medium
CN108960863A (en) * 2018-07-03 2018-12-07 广州市格利网络技术有限公司 A kind of food block chain retroactive method, device and electronic equipment
CN109255622A (en) * 2018-01-08 2019-01-22 浙江甲骨文超级码科技股份有限公司 A kind of back-tracing anti-fake data-storage system
CN109685534A (en) * 2019-01-22 2019-04-26 江苏哩咕信息科技有限公司 It is a kind of to encrypt anti-tamper Product quality and safety traceability system and method based on block chain
CA3057385A1 (en) * 2019-03-01 2019-05-31 Alibaba Group Holding Limited Methods and devices for protecting sensitive data of transaction activity based on smart contract in blockchain
CN109951479A (en) * 2019-03-19 2019-06-28 中国联合网络通信集团有限公司 A kind of communication means, equipment and communication system
CN110247894A (en) * 2019-05-16 2019-09-17 中国联合网络通信集团有限公司 The method and device of handle server is forged in a kind of identification
CN110264226A (en) * 2019-06-28 2019-09-20 江苏物联网研究发展中心 It is a kind of based on block chain article retrospect and exchange contract system
CN110502922A (en) * 2019-08-13 2019-11-26 上海域乎信息技术有限公司 Item circulation link retroactive method, device and electronic equipment based on block chain
CN111275449A (en) * 2018-11-16 2020-06-12 顺丰科技有限公司 Commodity tracing method and system
CN111798254A (en) * 2020-09-08 2020-10-20 平安国际智慧城市科技股份有限公司 Tracing code generation method, device, equipment and readable storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109255622A (en) * 2018-01-08 2019-01-22 浙江甲骨文超级码科技股份有限公司 A kind of back-tracing anti-fake data-storage system
CN108764797A (en) * 2018-05-31 2018-11-06 腾讯科技(深圳)有限公司 Circulation information querying method, device, equipment, system and storage medium
CN108960863A (en) * 2018-07-03 2018-12-07 广州市格利网络技术有限公司 A kind of food block chain retroactive method, device and electronic equipment
CN111275449A (en) * 2018-11-16 2020-06-12 顺丰科技有限公司 Commodity tracing method and system
CN109685534A (en) * 2019-01-22 2019-04-26 江苏哩咕信息科技有限公司 It is a kind of to encrypt anti-tamper Product quality and safety traceability system and method based on block chain
CA3057385A1 (en) * 2019-03-01 2019-05-31 Alibaba Group Holding Limited Methods and devices for protecting sensitive data of transaction activity based on smart contract in blockchain
CN109951479A (en) * 2019-03-19 2019-06-28 中国联合网络通信集团有限公司 A kind of communication means, equipment and communication system
CN110247894A (en) * 2019-05-16 2019-09-17 中国联合网络通信集团有限公司 The method and device of handle server is forged in a kind of identification
CN110264226A (en) * 2019-06-28 2019-09-20 江苏物联网研究发展中心 It is a kind of based on block chain article retrospect and exchange contract system
CN110502922A (en) * 2019-08-13 2019-11-26 上海域乎信息技术有限公司 Item circulation link retroactive method, device and electronic equipment based on block chain
CN111798254A (en) * 2020-09-08 2020-10-20 平安国际智慧城市科技股份有限公司 Tracing code generation method, device, equipment and readable storage medium

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
MIGUEL PINCHEIRA CARO; MUHAMMAD SALEK ALI; MASSIMO VECCHIO; RAFFAELE GIAFFREDA: "Blockchain-based traceability in Agri-Food supply chain management: A practical implementation", 《2018 IOT VERTICAL AND TOPICAL SUMMIT ON AGRICULTURE - TUSCANY (IOT TUSCANY)》 *
张夏: "基于区块链与物联网标识的消费电子产品追溯系统研究", 《中国优秀硕士学位论文全文数据库 信息科技辑》, no. 02, pages 135 - 32 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115113687A (en) * 2022-05-23 2022-09-27 四川爱联科技股份有限公司 Internet of things module based sealing time determination device and method and electronic equipment
CN115113687B (en) * 2022-05-23 2023-08-08 四川爱联科技股份有限公司 Sealing time determining device and method based on internet of things module and electronic equipment

Similar Documents

Publication Publication Date Title
US11259178B2 (en) Bluetooth mesh network provisioning authentication
US10880746B2 (en) Network connection method, apparatus, storage medium and terminal
WO2016101729A1 (en) Wireless network access method, device and system
US9117191B2 (en) Automatic device inventory management for different types of devices
US10244347B2 (en) System and method for location-based security
US20140115346A1 (en) Method and apparatus for implementing memory segment access control in a distributed memory environment
KR102107132B1 (en) Access point connection method of electronic apparatus and electronic appparatus thereof
CN109842667A (en) Method and cloud platform system for cloud platform management smart machine
CN106412819A (en) Method and device for positioning device
CN111357255B (en) Building a trusted application common to multiple applications
CN107222326A (en) Access method, collocation method and the device serviced for equipment room
US11240664B2 (en) Method and electronic device for controlling data communication
WO2019148397A1 (en) Storage of decomposed sensitive data in different application environments
US20160246978A1 (en) Electronic Device and Method for Providing DRM Content by Electronic Device
CN111027972B (en) Block chain-based data verification method and device and electronic equipment
CN112948876A (en) Tracing method and device
CN106604232A (en) Mobile terminal tracking method, server and mobile terminal
US10034323B2 (en) Control method for BLE communication between host device and peripheral device
CN110602689B (en) Method and device for safely operating equipment
CN110011807B (en) Key information maintenance method and system
AU2020258279B2 (en) System and method for control policy retention
CN104134044B (en) A kind of detection method, device and system of Information Security
CN113068190A (en) Information sharing method and device
CN116049812B (en) Method for accessing hardware resources and electronic equipment
CN104753969A (en) Method and device for synchronizing clipboard content information

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