CN112529126A - Traceability information generation method and system based on block chain - Google Patents
Traceability information generation method and system based on block chain Download PDFInfo
- Publication number
- CN112529126A CN112529126A CN202011414271.3A CN202011414271A CN112529126A CN 112529126 A CN112529126 A CN 112529126A CN 202011414271 A CN202011414271 A CN 202011414271A CN 112529126 A CN112529126 A CN 112529126A
- Authority
- CN
- China
- Prior art keywords
- information
- identification information
- traceability
- identity identification
- production
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 52
- 238000004519 manufacturing process Methods 0.000 claims abstract description 85
- 238000012856 packing Methods 0.000 claims abstract description 5
- 230000015654 memory Effects 0.000 claims description 26
- 238000012545 processing Methods 0.000 claims description 17
- 238000004891 communication Methods 0.000 claims description 10
- 238000004806 packaging method and process Methods 0.000 claims description 9
- 230000004044 response Effects 0.000 claims description 6
- 239000000047 product Substances 0.000 description 21
- 230000008569 process Effects 0.000 description 16
- 230000006870 function Effects 0.000 description 6
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 239000013589 supplement Substances 0.000 description 3
- 238000004590 computer program Methods 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000012937 correction Methods 0.000 description 1
- 238000013480 data collection Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012827 research and development Methods 0.000 description 1
- 230000001360 synchronised effect Effects 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods 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/0022—Methods 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
- G06K17/0025—Methods 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 the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/27—Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06Q—INFORMATION 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/00—Commerce
- G06Q30/018—Certifying business or products
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Business, Economics & Management (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- General Engineering & Computer Science (AREA)
- Development Economics (AREA)
- Computing Systems (AREA)
- Entrepreneurship & Innovation (AREA)
- Accounting & Taxation (AREA)
- Data Mining & Analysis (AREA)
- Economics (AREA)
- Finance (AREA)
- Marketing (AREA)
- Strategic Management (AREA)
- General Business, Economics & Management (AREA)
- Computer Networks & Wireless Communication (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The application relates to a tracing information generation method and system based on a block chain, wherein the method comprises the steps of responding to acquired finishing instruction information, and acquiring image information at a first position; analyzing the image information, and determining that the image information contains first identification information; acquiring identity identification information in the first identification information; obtaining traceability information from other acquisition terminals according to the obtained identity identification information, wherein the traceability information comprises character information, picture information and image information, and the traceability information takes the identity identification information as an index; packing the identity identification information and the traceability information, and sending the identity identification information and the traceability information to a storage server; generating corresponding two-dimensional code information according to the identity identification information; and sending the two-dimensional code information to the terminal equipment at the first position. The information in the production process can be automatically classified and collected, and the information collection difficulty is favorably reduced.
Description
Technical Field
The present application relates to the field of data collection technologies, and in particular, to a tracing information generation method and system based on a blockchain.
Background
With the continuous progress of society, the requirements on food safety are higher and higher, besides production information is provided, traceability requirements are provided for the production process of products, the production process of food has more links, the related information is more dispersed, and how to collect and classify the information is an important research and development subject.
Disclosure of Invention
The application provides a traceability information generation method and system based on a block chain, which can automatically classify and collect information in a production process and is beneficial to reducing the difficulty of information collection.
In a first aspect, the present application provides a tracing information generation method based on a blockchain, including:
acquiring image information located at a first position in response to the acquired completion instruction information;
analyzing the image information, and determining that the image information contains first identification information;
acquiring identity identification information in the first identification information;
obtaining traceability information from other acquisition terminals according to the obtained identity identification information, wherein the traceability information comprises character information, picture information and image information, and the traceability information takes the identity identification information as an index;
packing the identity identification information and the traceability information, and sending the identity identification information and the traceability information to a storage server;
generating corresponding two-dimensional code information according to the identity identification information; and
and sending the two-dimension code information to the terminal equipment at the first position.
By adopting the technical scheme, the whole production process can be traced according to the first identification information in the image information, and then the collected tracing information is stored in a centralized manner and generates corresponding two-dimension code information, so that a client can check the information conveniently.
In a possible implementation manner of the first aspect, the first identification information includes a plurality of pieces of location information, and each piece of location information points to one determined acquisition end;
and obtaining the traceability information from other acquisition terminals corresponding to the position information according to the position information.
By adopting the technical scheme, the difficulty of tracing information collection is favorably reduced.
In a possible implementation manner of the first aspect, the first identification information further includes second identification information corresponding to the location information, and the second identification information is used as a name of the tracing information;
and obtaining the traceability information from other acquisition terminals corresponding to the position information according to the position information and the second identification information corresponding to the position information.
By adopting the technical scheme, the difficulty of tracing information collection is further reduced.
In a possible implementation manner of the first aspect, the method further includes:
acquiring production information according to the identity identification information, wherein the production information is from a production information database; and
packing the identity identification information, the production information and the traceability information, and sending the packed identity identification information, the production information and the traceability information to a storage server;
wherein the production information comprises name information, place of production information and shelf life information.
By adopting the technical scheme, the content of the traceability information can be further enriched.
In a second aspect, the present application provides a tracing information generating apparatus, including:
a first obtaining unit configured to obtain image information located at a first position in response to the obtained completion instruction information;
the first processing unit is used for analyzing the image information and determining that the image information contains first identification information;
the second processing unit is used for acquiring the identity identification information in the first identification information;
the second acquisition unit is used for acquiring traceability information from other acquisition terminals according to the acquired identity identification information, wherein the traceability information comprises character information, picture information and image information, and the traceability information takes the identity identification information as an index;
the third processing unit is used for packaging the identity identification information and the source tracing information and sending the packaged identity identification information and source tracing information to the storage server;
the first generating unit is used for generating corresponding two-dimensional code information according to the identity identification information; and
and the first communication unit is used for sending the two-dimension code information to the terminal equipment at the first position.
In a possible implementation manner of the second aspect, the first identification information includes a plurality of pieces of location information, and each piece of location information points to one determined acquisition end;
and obtaining the traceability information from other acquisition terminals corresponding to the position information according to the position information.
In a possible implementation manner of the second aspect, the apparatus further includes a third obtaining unit;
the first identification information also comprises second identification information corresponding to the position information, and the second identification information is used as the name of the tracing information;
the third obtaining unit is used for obtaining the traceability information from other collecting ends corresponding to the position information according to the position information and the second identification information corresponding to the position information.
In a possible implementation manner of the second aspect, the method further includes:
the fourth acquisition unit is used for acquiring production information according to the identity identification information, and the production information comes from the production information database; and
the second communication unit is used for packaging the identity identification information, the production information and the traceability information and sending the packaged identity identification information, the production information and the traceability information to the storage server;
wherein the production information comprises name information, place of production information and shelf life information.
In a third aspect, the present application provides a traceability information generating system, including:
one or more memories for storing instructions; and
one or more processors, configured to invoke and execute the instruction from the memory, and execute the block chain-based tracing information generating method according to the first aspect and any possible implementation manner of the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium comprising:
and when the program is executed by a processor, executing the block chain-based tracing information generating method as described in the first aspect and any possible implementation manner of the first aspect.
In a fifth aspect, the present application provides a computer program product, which includes program instructions, and when the program instructions are executed by a computing device, the tracing information generating method based on a blockchain as described in the first aspect and any possible implementation manner of the first aspect is executed.
In a sixth aspect, the present application provides a system on a chip comprising a processor configured to perform the functions recited in the above aspects, such as generating, receiving, sending, or processing data and/or information recited in the above methods.
The chip system may be formed by a chip, or may include a chip and other discrete devices.
In one possible design, the system-on-chip further includes a memory for storing necessary program instructions and data. The processor and the memory may be decoupled, disposed on different devices, connected in a wired or wireless manner, or coupled on the same device.
Drawings
Fig. 1 is a schematic processing procedure diagram of a tracing information generating method based on a blockchain according to an embodiment of the present application.
Fig. 2 is a schematic block diagram of a structure of a traceability information generating system provided in an embodiment of the present application.
Detailed Description
The technical solution of the present application will be described in further detail below with reference to the accompanying drawings.
In order to more clearly understand the technical solution in the present application, first, a usage scenario is briefly introduced, taking a production process of a product as an example, in the production process of the product, an identification code is attached to the product, the identification code includes the whole production process information, and the identification code sequentially passes through each process as the product flows on a production line.
In each process, a camera is equipped to collect images and/or videos, and after the collection is completed, the images and/or videos are stored based on the identification codes, that is, at each process, the images and/or videos are generated by using the identification codes as indexes.
After production is finished, for a group of products, images and/or videos are left at each process, and at the moment, the images and/or videos need to be collected according to identification codes for packaging and storage, so that a user can conveniently check the images and/or videos.
According to the technical scheme, the execution main body is a terminal, the terminal is installed at the tail end of a production line and mainly comprises a camera, a host and a communicator, the camera is responsible for shooting pictures, the host is responsible for processing data, and the communicator is responsible for data interaction of other terminals (such as a camera, a PLC or a DCS and the like) on the production line.
Referring to fig. 1 and fig. 2, a tracing information generating method based on a block chain disclosed in an embodiment of the present application includes the following steps:
s101, in response to the acquired finishing instruction information, acquiring image information at a first position;
s102, analyzing the image information and determining that the image information contains first identification information;
s103, acquiring identity identification information in the first identification information;
s104, obtaining traceability information from other acquisition terminals according to the obtained identity identification information, wherein the traceability information comprises character information, picture information and image information, and the traceability information takes the identity identification information as an index;
s105, packaging the identity identification information and the source tracing information, and sending the packaged identity identification information and source tracing information to a storage server;
s106, generating corresponding two-dimensional code information according to the identity identification information; and
and S107, sending the two-dimension code information to the terminal equipment at the first position.
Specifically, in step S101, the terminal performs data communication with the production line, and receives completion instruction information given by the production line, where the completion instruction information is used to inform the terminal that the product has completed the whole production process and needs to start the collection of the traceability information.
For the terminal, after obtaining the completion instruction information sent by the production line, a photo is taken, that is, image information at a first position is obtained in step S101, where the first position is the end position of the production line, and the obtained image information is used for providing the reference data information for the subsequent steps.
It should be understood that, for the terminal shown in the embodiment of the present application, it is additionally installed on the production line, so that the production line cannot be modified on a large scale, and only the terminal can be installed by adopting an additional installation method, so that the analysis after image acquisition by using the camera is more suitable for the actual requirements of the scene.
It should also be understood that for the cameras to be added later, the local storage is more suitable, because the corresponding network memory is not specially equipped, and the local storage of the cameras only needs to be accessed during data retrieval to meet the use requirement.
In step S102, the terminal analyzes the image information, and determines that the image information includes first identification information, where the first identification information is a special identification mark on the commodity, such as a bar code, a two-dimensional code, or a number with a certain meaning, and the first identification information can determine that the product has completed the whole production process, and trace back forward to obtain the required picture and/or image information.
If the image information does not contain the first identification information, the image information at the first position needs to be acquired again, and it should be understood that in the process of shooting the image information, situations such as wrong shooting opportunity, blurred image, inappropriate brightness and the like may occur, the first identification information may not be identified, and shooting needs to be performed again at this moment.
For the conditions of image blurring, inappropriate brightness and the like, the camera can be controlled to carry out correction in various modes such as adjusting the focal length, adjusting the exposure time or turning on a light supplement lamp.
After determining that the image information includes the first identification information, step S103 is executed, in which the first identification information is processed to obtain the identification information included therein.
For example, the first identification information is a two-dimensional code, and at this time, the two-dimensional code cannot be directly used, and needs to be read to obtain the identification information included therein, and then, images and/or videos at other positions on the production line are traced according to the identification information.
And step S104 is executed, in the step, the terminal acquires the traceability information from other acquisition terminals according to the acquired identification information, and because the identification information is unique, the traceability information related to the identification information on the whole production line can be traced, and the production process can be uniformly managed.
For example, other acquisition terminals at other positions on the production line can also recognize the first identification information in the working process, so that in the data acquisition process, the identification information can be used as a stored identifier to store the acquired data, and then in the subsequent process of calling the data, the folders or the storage contents with corresponding names can be directly searched.
For the traceability information, there are several types,
first, the text information can include time, position, temperature and humidity, etc. and production related data;
secondly, the picture information can be pictures shot in the production process;
thirdly, the image information can be a video recorded in the production process;
the tracing information has the function of enabling a user to know the production process more intuitively, so that the trust degree of the product is improved.
After the search is completed, step S105 is executed, in which the identification information and the obtained traceability information are packaged and sent to a storage server for storage, where the storage server may directly send the data to a terminal where the user is located when the user needs to obtain the data.
It should be understood that before collection, the data are stored in a scattered manner on each terminal, and from the perspective of a user, the data are viewed relatively unchanged, and problems such as loss, interruption, and jamming may also occur.
In step S106, corresponding two-dimensional code information is generated according to the identification information, the two-dimensional code information is to be attached to the product and is provided for the user to use, and when the user needs to check the traceability information, the user can directly scan the two-dimensional code on the product to check the corresponding traceability information.
It should be understood that in the tracing process, the collected tracing information is indexed by the identification information, and then the two-dimensional code is generated by using the identification information as a basis, so that the two-dimensional code can be directly associated with the collected tracing information.
And finally, step S107 is executed, in which the two-dimensional code information is sent to the terminal device at the first position, where the first position is the position mentioned in step S101, and when the article reaches the first position, the whole production process is completed, and after the terminal takes a picture, the terminal collects information at other positions on the production line according to the first identification information in the picture, and also generates a piece of two-dimensional code information according to the first identification information.
The two-dimension code information is simultaneously sent to the terminal equipment at the first position, printed by the terminal equipment and pasted on the surface of a product. Therefore, after a user purchases a product, the user can acquire the text information, the picture information and the image information related to the product in the production process in a mode of scanning the two-dimensional code.
On the whole, the traceability information generation method based on the block chain shown in the embodiment of the application obtains the first identity identification information on the product by taking a picture, then performs traceability information collection on a production line through the first identity identification information, simultaneously generates the two-dimensional code for being provided for a user to scan, and sends the two-dimensional code to the corresponding terminal device to print and then paste the two-dimensional code on the product.
The mode can collect information by taking the product as the final guide, and is convenient for the user to view.
As a specific implementation of the block chain-based tracing information generation method provided by the application, for the first identification information, a plurality of pieces of location information are added in the first identification information as supplements, and in the subsequent tracing process, tracing information can be obtained from other acquisition terminals corresponding to the location information according to the location information, without visiting each terminal, and whether there is tracing information that needs to be collected.
Taking a specific use scenario as an example, various commodities are produced in a hybrid manner by using a flexible production line, different production processes may be involved for different products, and if position information is added in first identification information as a supplement, the traceability information can be collected according to the position information for the first identification information acquired by the terminal without visiting each device on the production line, so that the workload of collecting the traceability information can be effectively reduced, and the working efficiency can be improved.
Furthermore, the first identification information also comprises second identification information corresponding to the position information, and the second identification information is used as a name of the traceability information, so that the traceability information can be directly obtained in a retrieval mode in the process that the terminal accesses other acquisition terminals, the acquisition speed is higher, and the efficiency is higher.
It should be understood that storage is performed at the same position, the same file name needs to be modified, and after the second identification information is added, the name during storage is directly specified, so that storage can be directly performed in the storage process, the step of modifying the name is avoided, on one hand, operation steps during storage are reduced, and on the other hand, errors which may occur in modifying the name are also reduced, for example, problems that the actual stored name is inconsistent with the required name and cannot be retrieved after the name is modified are solved.
On the whole, after the position information and the second identification information are added, the tracing information is more convenient to search and collect.
As a specific implementation of the traceability information generation method based on the block chain, for the collection of information, the following steps are added:
s201, acquiring production information according to the identity identification information, wherein the production information comes from a production information database; and
s202, packaging the identity identification information, the production information and the source tracing information, and sending the packaged identity identification information, production information and source tracing information to a storage server;
wherein the production information comprises name information, place of production information and shelf life information.
Specifically, in step S201, the production information is obtained according to the identification information, the production information is derived from the production information database, and the purpose of this step is to further enrich the content of the traceability information, specifically, the identification information is used to query the production information database, and then the queried production information and identification information are packaged with the traceability information and then sent to the storage server for storage, that is, the content in step S202.
It should be understood that, for a product, besides the traceability information involved in the processing process, there are production information before processing (name information, production place information, shelf life information, etc.), and these information can also be sent to the storage server for storage, so that after the user scans the two-dimensional code, the user can obtain more comprehensive information, and at the same time, the user can compare with the information printed on the product to check whether the two information are consistent.
The embodiment of the present application further discloses a tracing information generating device, including:
a first obtaining unit configured to obtain image information located at a first position in response to the obtained completion instruction information;
the first processing unit is used for analyzing the image information and determining that the image information contains first identification information;
the second processing unit is used for acquiring the identity identification information in the first identification information;
the second acquisition unit is used for acquiring traceability information from other acquisition terminals according to the acquired identity identification information, wherein the traceability information comprises character information, picture information and image information, and the traceability information takes the identity identification information as an index;
the third processing unit is used for packaging the identity identification information and the source tracing information and sending the packaged identity identification information and source tracing information to the storage server;
the first generating unit is used for generating corresponding two-dimensional code information according to the identity identification information; and
and the first communication unit is used for sending the two-dimension code information to the terminal equipment at the first position.
Furthermore, the first identification information comprises a plurality of pieces of position information, and each piece of position information points to a determined acquisition end;
and obtaining the traceability information from other acquisition terminals corresponding to the position information according to the position information.
Further, a third acquisition unit is added;
the first identification information also comprises second identification information corresponding to the position information, and the second identification information is used as the name of the tracing information;
the third obtaining unit is used for obtaining the traceability information from other collecting ends corresponding to the position information according to the position information and the second identification information corresponding to the position information.
Furthermore, a fourth acquisition unit and a second communication unit are added;
the fourth acquisition unit is used for acquiring production information according to the identity identification information, and the production information comes from the production information database; and
the second communication unit is used for packaging the identity identification information, the production information and the traceability information and sending the packaged identity identification information, the production information and the traceability information to the storage server;
wherein the production information comprises name information, place of production information and shelf life information.
In one example, the units in any of the above apparatuses may be one or more integrated circuits configured to implement the above methods, such as: one or more Application Specific Integrated Circuits (ASICs), or one or more Digital Signal Processors (DSPs), or one or more Field Programmable Gate Arrays (FPGAs), or a combination of at least two of these integrated circuit forms.
As another example, when a unit in a device may be implemented in the form of a processing element scheduler, the processing element may be a general-purpose processor, such as a Central Processing Unit (CPU) or other processor capable of invoking programs. As another example, these units may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Various objects such as various messages/information/devices/network elements/systems/devices/actions/operations/procedures/concepts may be named in the present application, it is to be understood that these specific names do not constitute limitations on related objects, and the named names may vary according to circumstances, contexts, or usage habits, and the understanding of the technical meaning of the technical terms in the present application should be mainly determined by the functions and technical effects embodied/performed in the technical solutions.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, 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.
The 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.
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 application.
It should also be understood that, in various embodiments of the present application, first, second, etc. are used merely to indicate that a plurality of objects are different. For example, the first time window and the second time window are merely to show different time windows. And should not have any influence on the time window itself, and the above-mentioned first, second, etc. should not impose any limitation on the embodiments of the present application.
It is also to be understood that the terminology and/or the description of the various embodiments herein is consistent and mutually inconsistent if no specific statement or logic conflicts exists, and that the technical features of the various embodiments may be combined to form new embodiments based on their inherent logical relationships.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application or portions thereof that substantially contribute to the prior art may be embodied in the form of a software product stored in a computer-readable storage medium, which includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned computer-readable storage media comprise: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
An embodiment of the present application further provides a traceability information generating system, where the system includes:
one or more memories for storing instructions; and
and the one or more processors are used for calling and executing the instructions from the memory to execute the tracing information generation method based on the block chain.
Embodiments of the present application also provide a computer program product, which includes instructions that, when executed, cause the terminal device and the network device to perform operations corresponding to the terminal device and the network device of the above-mentioned methods.
Embodiments of the present application further provide a chip system, which includes a processor, and is configured to implement the functions referred to in the foregoing, for example, to generate, receive, transmit, or process data and/or information referred to in the foregoing methods.
The chip system may be formed by a chip, or may include a chip and other discrete devices.
The processor mentioned in any of the above may be a CPU, a microprocessor, an ASIC, or one or more integrated circuits for controlling the execution of the program of the method for transmitting feedback information.
In one possible design, the system-on-chip further includes a memory for storing necessary program instructions and data. The processor and the memory may be decoupled, respectively disposed on different devices, and connected in a wired or wireless manner to support the chip system to implement various functions in the above embodiments. Alternatively, the processor and the memory may be coupled to the same device.
Optionally, the computer instructions are stored in a memory.
Alternatively, the memory is a storage unit in the chip, such as a register, a cache, and the like, and the memory may also be a storage unit outside the chip in the terminal, such as a ROM or other types of static storage devices that can store static information and instructions, a RAM, and the like.
It will be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory.
The non-volatile memory may be ROM, Programmable Read Only Memory (PROM), Erasable PROM (EPROM), Electrically Erasable PROM (EEPROM), or flash memory.
Volatile memory can be RAM, which acts as external cache memory. There are many different types of RAM, such as Static Random Access Memory (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), Enhanced SDRAM (ESDRAM), synclink DRAM (SLDRAM), and direct memory bus RAM.
The embodiments of the present invention are preferred embodiments of the present application, and the scope of protection of the present application is not limited by the embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.
Claims (10)
1. A tracing information generation method based on a block chain is characterized by comprising the following steps:
acquiring image information located at a first position in response to the acquired completion instruction information;
analyzing the image information, and determining that the image information contains first identification information;
acquiring identity identification information in the first identification information;
obtaining traceability information from other acquisition terminals according to the obtained identity identification information, wherein the traceability information comprises character information, picture information and image information, and the traceability information takes the identity identification information as an index;
packing the identity identification information and the traceability information, and sending the identity identification information and the traceability information to a storage server;
generating corresponding two-dimensional code information according to the identity identification information; and
and sending the two-dimension code information to the terminal equipment at the first position.
2. The method for generating tracing information based on block chains according to claim 1, wherein the first identification information includes a plurality of location information, and each location information points to a certain collection end;
and obtaining the traceability information from other acquisition terminals corresponding to the position information according to the position information.
3. The method according to claim 2, wherein the first identification information further includes second identification information corresponding to the location information, and the second identification information is used as a name of the tracing information;
and obtaining the traceability information from other acquisition terminals corresponding to the position information according to the position information and the second identification information corresponding to the position information.
4. The method for generating traceability information based on block chains according to any one of claims 1 to 3, further comprising:
acquiring production information according to the identity identification information, wherein the production information is from a production information database; and
packing the identity identification information, the production information and the traceability information, and sending the packed identity identification information, the production information and the traceability information to a storage server;
wherein the production information comprises name information, place of production information and shelf life information.
5. A tracing information generating apparatus, characterized by comprising:
a first obtaining unit configured to obtain image information located at a first position in response to the obtained completion instruction information;
the first processing unit is used for analyzing the image information and determining that the image information contains first identification information;
the second processing unit is used for acquiring the identity identification information in the first identification information;
the second acquisition unit is used for acquiring traceability information from other acquisition terminals according to the acquired identity identification information, wherein the traceability information comprises character information, picture information and image information, and the traceability information takes the identity identification information as an index;
the third processing unit is used for packaging the identity identification information and the source tracing information and sending the packaged identity identification information and source tracing information to the storage server;
the first generating unit is used for generating corresponding two-dimensional code information according to the identity identification information; and
and the first communication unit is used for sending the two-dimension code information to the terminal equipment at the first position.
6. The tracing information generating apparatus according to claim 5, wherein the first identification information includes a plurality of location information, each location information points to a certain collection end;
and obtaining the traceability information from other acquisition terminals corresponding to the position information according to the position information.
7. The tracing information generating apparatus according to claim 6, further comprising a third obtaining unit;
the first identification information also comprises second identification information corresponding to the position information, and the second identification information is used as the name of the tracing information;
the third obtaining unit is used for obtaining the traceability information from other collecting ends corresponding to the position information according to the position information and the second identification information corresponding to the position information.
8. The method for generating traceability information based on block chains according to any one of claims 5 to 7, further comprising:
the fourth acquisition unit is used for acquiring production information according to the identity identification information, and the production information comes from the production information database; and
the second communication unit is used for packaging the identity identification information, the production information and the traceability information and sending the packaged identity identification information, the production information and the traceability information to the storage server;
wherein the production information comprises name information, place of production information and shelf life information.
9. A traceability information generating system, the system comprising:
one or more memories for storing instructions; and
one or more processors, configured to invoke and execute the instructions from the memory, and perform the block chain based tracing information generating method according to any one of claims 1 to 4.
10. A computer-readable storage medium, the computer-readable storage medium comprising:
a program which, when executed by a processor, executes the block chain based tracing information generating method according to any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011414271.3A CN112529126A (en) | 2020-12-05 | 2020-12-05 | Traceability information generation method and system based on block chain |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011414271.3A CN112529126A (en) | 2020-12-05 | 2020-12-05 | Traceability information generation method and system based on block chain |
Publications (1)
Publication Number | Publication Date |
---|---|
CN112529126A true CN112529126A (en) | 2021-03-19 |
Family
ID=74997775
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011414271.3A Pending CN112529126A (en) | 2020-12-05 | 2020-12-05 | Traceability information generation method and system based on block chain |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112529126A (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105139210A (en) * | 2015-07-31 | 2015-12-09 | 孙宪彬 | Commodity traceability method and system |
US20170032382A1 (en) * | 2014-04-14 | 2017-02-02 | Jenda Tag, LLC | System and Method for Product Authentication |
CN106920111A (en) * | 2017-02-23 | 2017-07-04 | 彭雨妍 | The processing method and system of process of producing product information |
CN108320164A (en) * | 2018-02-02 | 2018-07-24 | 南京正兴源科技有限公司 | A kind of production traceability system |
CN110874746A (en) * | 2018-12-29 | 2020-03-10 | 北京安妮全版权科技发展有限公司 | Product traceability system based on block chain |
-
2020
- 2020-12-05 CN CN202011414271.3A patent/CN112529126A/en active Pending
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170032382A1 (en) * | 2014-04-14 | 2017-02-02 | Jenda Tag, LLC | System and Method for Product Authentication |
CN105139210A (en) * | 2015-07-31 | 2015-12-09 | 孙宪彬 | Commodity traceability method and system |
CN106920111A (en) * | 2017-02-23 | 2017-07-04 | 彭雨妍 | The processing method and system of process of producing product information |
CN108320164A (en) * | 2018-02-02 | 2018-07-24 | 南京正兴源科技有限公司 | A kind of production traceability system |
CN110874746A (en) * | 2018-12-29 | 2020-03-10 | 北京安妮全版权科技发展有限公司 | Product traceability system based on block chain |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102930522B (en) | A kind of apparatus and method realizing picture splicing | |
CN102930523B (en) | Picture processing system and picture splicing implementation method | |
CN104536973B (en) | The method and browser client of picture recognition | |
CN109684005B (en) | Method and device for determining similarity of components in graphical interface | |
CN110704418A (en) | Block chain information query method, device and equipment | |
US10656624B2 (en) | Identify a model that matches a 3D object | |
CN108829736A (en) | A kind of joining method and system of image data and label information | |
US20160132708A1 (en) | Displaying method and decoding method for a dynamic recognizable two-dimensional code | |
CN113535817B (en) | Feature broad table generation and service processing model training method and device | |
CN108055351A (en) | The processing method and processing device of three dimensional file | |
CN110716718A (en) | Page generation method, device, equipment and storage medium | |
CN110362648A (en) | Update method and device, storage medium, the computer equipment of questionnaire survey topic | |
CN108805577B (en) | Information processing method, device, system, computer equipment and storage medium | |
CN105117489B (en) | Database management method and device and electronic equipment | |
CN112529126A (en) | Traceability information generation method and system based on block chain | |
CN110909155B (en) | Book order generation method, calculation device and computer storage medium | |
CN116431118A (en) | Report development method and device | |
CN106569816B (en) | Rendering method and device | |
CN114258541A (en) | Data merging method and device, electronic equipment and storage medium | |
CN110929188A (en) | Method and device for rendering server page | |
CN115146602A (en) | Method and device for batch generation of infrared thermal image analysis reports based on template | |
CN114860238A (en) | Page generation method and device and electronic equipment | |
Romanenko et al. | A three-dimensional deconvolution algorithm using graphic processors | |
KR20200143323A (en) | Terminal for image auto-editing using big-data and system for image auto-editing comprising it | |
US20160378839A1 (en) | Searching method, searching apparatus 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 | ||
CB02 | Change of applicant information |
Country or region after: China Address after: 518000 east 2, 1st floor, B9 plant, Hezhou Hengfeng Industrial City, Hangcheng street, Bao'an District, Shenzhen City, Guangdong Province Applicant after: Shenzhen Suishen Cold Chain Group Co.,Ltd. Address before: 518000 east 2, 1st floor, B9 plant, Hezhou Hengfeng Industrial City, Hangcheng street, Bao'an District, Shenzhen City, Guangdong Province Applicant before: Shenzhen suishen air conditioning equipment Co.,Ltd. Country or region before: China |
|
CB02 | Change of applicant information |