CN110675028A - Block chain-based food safety supervision method, device, equipment and system - Google Patents

Block chain-based food safety supervision method, device, equipment and system Download PDF

Info

Publication number
CN110675028A
CN110675028A CN201910815326.2A CN201910815326A CN110675028A CN 110675028 A CN110675028 A CN 110675028A CN 201910815326 A CN201910815326 A CN 201910815326A CN 110675028 A CN110675028 A CN 110675028A
Authority
CN
China
Prior art keywords
food
monitoring data
block chain
effective monitoring
information
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
CN201910815326.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.)
Advanced New Technologies Co Ltd
Advantageous New Technologies Co Ltd
Original Assignee
Alibaba Group Holding 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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201910815326.2A priority Critical patent/CN110675028A/en
Publication of CN110675028A publication Critical patent/CN110675028A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/06Resources, workflows, human or project management; Enterprise or organisation planning; Enterprise or organisation modelling
    • G06Q10/063Operations research, analysis or management
    • G06Q10/0639Performance analysis of employees; Performance analysis of enterprise or organisation operations
    • G06Q10/06395Quality analysis or management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • 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
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • G06Q50/265Personal security, identity or safety
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Human Resources & Organizations (AREA)
  • Strategic Management (AREA)
  • Development Economics (AREA)
  • Economics (AREA)
  • Tourism & Hospitality (AREA)
  • General Business, Economics & Management (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Marketing (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Educational Administration (AREA)
  • Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Game Theory and Decision Science (AREA)
  • Operations Research (AREA)
  • Accounting & Taxation (AREA)
  • Finance (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Alarm Systems (AREA)

Abstract

The embodiment of the specification provides a food safety supervision method, a device, equipment and a system based on a block chain, wherein the method comprises the following steps: the control equipment acquires food monitoring data acquired by the acquisition equipment, extracts effective monitoring data of food to be supervised from the food monitoring data and sends the effective monitoring data to block chain nodes, the block chain nodes call intelligent contracts, operation record information of the food to be supervised in each food operation area is generated according to the received effective monitoring data, and the operation record information is written into the block chain; and the operation record information stored in the block chain is used for food safety tracing.

Description

Block chain-based food safety supervision method, device, equipment and system
Technical Field
The present invention relates to the field of blockchain technologies, and in particular, to a method, an apparatus, a device, and a system for supervising food safety based on a blockchain.
Background
With the increasing demand of people for quality of life, food safety gradually becomes a topic of great concern. At present, food safety is guaranteed mostly through the mode of camera collection food monitoring data, but because monitoring data can be tampered with to food circulation stage is many, the processing place that relates to etc. has the variety, make quality problems appear in food, carry out food safety and trace back the in-process, the situation such as ruining card, false card, retrying appears a lot, has not only increased the degree of difficulty that food safety was traced back, the accuracy of tracing back the result is difficult to guarantee moreover.
Disclosure of Invention
One or more embodiments of the present disclosure are to provide a method, an apparatus, a device, and a system for supervising food safety based on a block chain, where operation record information of food to be supervised in each food operation area is written into the block chain, so that data non-tamper and public-traceability based on the block chain can be provided for food safety tracing, and problems such as damage, forgery, and piracy in the food safety tracing process are avoided.
To solve the above technical problem, one or more embodiments of the present specification are implemented as follows:
one or more embodiments of the present specification provide a block chain-based food safety supervision method, applied to a block chain node, including:
receiving effective monitoring data of food to be monitored, which is sent by control equipment, wherein the effective monitoring data is obtained by extracting the control equipment from the obtained food monitoring data, and the food monitoring data is obtained by collecting equipment distributed in each food operation area;
calling an intelligent contract, and generating operation record information of the food to be supervised in each food operation area according to the effective monitoring data;
and writing the operation record information into a block chain, wherein the operation record information stored in the block chain is used for food safety tracing.
One or more embodiments of the present specification provide a block chain-based food safety supervision method, applied to a control device, including:
acquiring food monitoring data acquired by acquisition equipment, wherein the acquisition equipment is distributed in each food operation area;
extracting effective monitoring data of the food to be monitored from the food monitoring data;
carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data; and the number of the first and second groups,
and sending the effective monitoring data to a block chain node, so that the block chain node writes the operation record information of the food to be supervised in each food operation area into a block chain according to the effective monitoring data.
One or more embodiments of the present specification provide a block chain-based food safety supervision apparatus, which is applied to a block chain node, and includes:
the food monitoring system comprises a receiving module, a monitoring module and a monitoring module, wherein the receiving module is used for receiving effective monitoring data of food to be monitored, which is sent by control equipment, the effective monitoring data is obtained by extracting the control equipment from food monitoring data acquired by the control equipment, and the food monitoring data is acquired by acquisition equipment arranged in each food operation area;
the generating module calls an intelligent contract and generates operation record information of the food to be supervised in each food operation area according to the effective monitoring data;
a writing module which writes the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
One or more embodiments of the present specification provide a block chain-based food safety supervision apparatus, applied to a control device, including:
the acquisition module is used for acquiring food monitoring data acquired by acquisition equipment, wherein the acquisition equipment is distributed in each food operation area;
the extraction module extracts effective monitoring data of the food to be monitored from the food monitoring data;
the analysis module is used for carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data;
and the sending module sends the effective monitoring data to the block chain nodes so that the block chain nodes write the operation record information of the food to be supervised in each food operation area into the block chain according to the effective monitoring data.
One or more embodiments of the present specification provide a block chain-based food safety supervision system, including: collecting equipment, control equipment and a block chain node;
the collecting equipment is arranged in each food operation area and used for collecting food monitoring data;
the control equipment extracts effective monitoring data of the food to be monitored from the food monitoring data and carries out safety analysis on the operation process of the food to be monitored according to the effective monitoring data; and sending the effective monitoring data to the block chain node;
the block chain node calls an intelligent contract, generates operation record information of the food to be supervised in each food operation area according to the effective monitoring data, and writes the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
One or more embodiments of the present specification provide a blockchain-based food safety supervision apparatus, including:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving effective monitoring data of food to be monitored, which is sent by control equipment, wherein the effective monitoring data is obtained by extracting the control equipment from the obtained food monitoring data, and the food monitoring data is obtained by collecting equipment distributed in each food operation area;
calling an intelligent contract, and generating operation record information of the food to be supervised in each food operation area according to the effective monitoring data;
writing the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
One or more embodiments of the present specification provide a blockchain-based food safety supervision apparatus, including:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
acquiring food monitoring data acquired by acquisition equipment, wherein the acquisition equipment is distributed in each food operation area;
extracting effective monitoring data of the food to be monitored from the food monitoring data;
carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data; and the number of the first and second groups,
and sending the effective monitoring data to a block chain node, so that the block chain node writes the operation record information of the food to be supervised in each food operation area into a block chain according to the effective monitoring data.
One or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following:
receiving effective monitoring data of food to be monitored, which is sent by control equipment, wherein the effective monitoring data is obtained by extracting the control equipment from the obtained food monitoring data, and the food monitoring data is obtained by collecting equipment distributed in each food operation area;
calling an intelligent contract, and generating operation record information of the food to be supervised in each food operation area according to the effective monitoring data;
writing the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
One or more embodiments of the present specification provide a storage medium storing computer-executable instructions that, when executed, implement the following:
acquiring food monitoring data acquired by acquisition equipment, wherein the acquisition equipment is distributed in each food operation area;
extracting effective monitoring data of the food to be monitored from the food monitoring data;
carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data; and the number of the first and second groups,
and sending the effective monitoring data to a block chain node, so that the block chain node writes the operation record information of the food to be supervised in each food operation area into a block chain according to the effective monitoring data.
According to the embodiment of the specification, the effective tracing of food safety is realized, the operation record information of the food to be supervised in each food operation area is written into the block chain, the data can not be tampered and publicly checked based on the block chain, an accurate data base is provided for the food safety tracing, and the problems of damage, forgery and the like in the food safety tracing process are avoided.
Drawings
In order to more clearly illustrate one or more embodiments or prior art solutions of the present specification, the drawings that are needed in the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments described in the present specification, and that other drawings can be obtained by those skilled in the art without inventive exercise.
Fig. 1 is a schematic view of a block chain-based food safety supervision method according to one or more embodiments of the present disclosure;
fig. 2 is a first flowchart of a block chain-based food safety supervision method according to one or more embodiments of the present disclosure;
fig. 3 is a second flowchart of a block chain-based food safety supervision method according to one or more embodiments of the present disclosure;
fig. 4 is a third flowchart of a block chain-based food safety supervision method according to one or more embodiments of the present disclosure;
fig. 5 is a fourth flowchart of a block chain-based food safety supervision method according to one or more embodiments of the present disclosure;
fig. 6 is a fifth flowchart of a block chain-based food safety supervision method according to one or more embodiments of the present disclosure;
fig. 7 is a schematic diagram illustrating a first module composition of a block chain-based food safety supervision apparatus according to one or more embodiments of the present disclosure;
fig. 8 is a schematic diagram illustrating a second module of a block chain-based food safety supervision apparatus according to one or more embodiments of the present disclosure;
fig. 9 is a schematic diagram illustrating a block chain-based food safety supervision system according to one or more embodiments of the present disclosure;
fig. 10 is a schematic structural diagram of a block chain-based food safety control device according to one or more embodiments of the present disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in one or more embodiments of the present disclosure, the technical solutions in one or more embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in one or more embodiments of the present disclosure, and it is obvious that the described embodiments are only a part of the embodiments of the present disclosure, and not all embodiments. All other embodiments that can be derived by a person skilled in the art from one or more of the embodiments described herein without making any inventive step shall fall within the scope of protection of this document.
One or more embodiments of the present specification provide a method, an apparatus, a device, and a system for supervising food safety based on a block chain, where operation record information of food to be supervised in each food operation area is written into the block chain, so that data non-tamper property and open-traceability based on the block chain can be provided for food safety tracing, and problems such as damage, forgery, and false proof during the food safety tracing process are avoided.
Fig. 1 is a schematic view of an application scenario of a block chain-based food safety supervision method according to one or more embodiments of the present specification, as shown in fig. 1, the scenario includes: at least one acquisition device (such as a camera), a control device and a blockchain node accessing a blockchain.
The acquisition equipment is arranged in each food operation area and acquires food monitoring data of the corresponding food operation area; the control equipment can be terminal equipment such as an industrial computer, an industrial controller and the like, is arranged in a food operation area or near the food operation area, is in data communication with one or more acquisition equipment, extracts effective monitoring data from food monitoring data acquired by the acquisition equipment, and performs safety analysis on the operation process of food to be monitored according to the effective monitoring data; and sending the effective monitoring data to the block chain node; the block chain nodes are accessed into the block chain, and when effective monitoring data of food to be supervised, which are sent by the control equipment, are received, the intelligent contracts are called, operation record information of the food to be supervised in each food operation area is generated according to the effective monitoring data, and the operation record information is written into the block chain; the data non-tamper property and open-check property based on the block chain are used for providing an accurate data base for food safety tracing, and the problems of damage, false, deniability and the like in the food safety tracing process are avoided. It should be noted that in practical applications, a plurality of control devices and a plurality of blockchain nodes may be arranged as needed, and therefore, fig. 1 is only used for illustration and is not limited.
Based on the architecture of the application scenario, one or more embodiments of the present specification provide a block chain-based food safety supervision method; fig. 2 is a schematic flow diagram of a block chain-based food safety supervision method according to one or more embodiments of the present disclosure, where the method in fig. 2 can be performed by the block chain nodes in fig. 1, as shown in fig. 2, and the method includes the following steps:
step S102, receiving effective monitoring data of food to be monitored, which is sent by control equipment, wherein the effective monitoring data is obtained by extracting the control equipment from the obtained food monitoring data, and the food monitoring data is obtained by collecting equipment distributed in each food operation area;
step S104, calling an intelligent contract, and generating operation record information of the food to be supervised in each food operation area according to the effective monitoring data;
and step S106, writing the operation record information into the block chain, wherein the operation record information stored in the block chain is used for food safety tracing.
In one or more embodiments of the present specification, the block link points are based on effective monitoring data of food to be supervised, and by writing operation record information of the food to be supervised in each food operation area into the block links, the data non-tamper-property and open-traceability of the block links can be based, so as to provide an accurate data base for food safety tracing, and avoid problems of damage, forgery, and the like in the food safety tracing process.
In one or more embodiments of the present disclosure, association information between an equipment identifier of each acquisition device and area information of a food operation area is pre-established, and first association record information is obtained, so as to distinguish valid monitoring data corresponding to each food operation area based on the first association record information, in order to ensure that each circulation stage of food is clear and complete, and to clarify an operation process of food in each food operation area, and to reduce tracing difficulty in a food safety tracing process. Optionally, saving the first associated record information to the control device; correspondingly, step S102 includes the following step S102-1;
step S102-1, receiving effective monitoring data of food to be monitored sent by control equipment and corresponding regional information of a food operation region;
specifically, when the control device acquires food monitoring data acquired by the acquisition device, the device identifier of the acquisition device is determined, the area information of the associated food operation area is acquired in the first associated record information according to the determined device identifier, and after the effective supervision data of the food to be monitored is extracted from the food monitoring data, the effective supervision data of the food to be monitored and the determined area information are sent to the block chain node; and the block chain node receives effective supervision data of the food to be monitored and corresponding area information of the food operation area, which are sent by the control equipment.
Or, the first associated record information is saved to the block link point, and correspondingly, the step S102 includes the following step S102-2;
step S102-2, receiving effective monitoring data of the food to be supervised and an equipment identifier of acquisition equipment, which are sent by control equipment, and acquiring associated area information in first associated record information according to the equipment identifier; determining the acquired regional information as regional information of a food operation region corresponding to the effective monitoring data;
specifically, when the control device acquires food monitoring data acquired by the acquisition device, the device identifier of the acquisition device is determined, and after effective supervision data of food to be monitored is extracted from the food monitoring data, the effective supervision data and the determined device identifier are sent to the block chain node; and the block chain node acquires the associated area information from the first associated record information according to the received equipment identifier sent by the control equipment, and determines the acquired area information as the area information of the food operation area corresponding to the effective monitoring data.
Further, in order to prevent the effective monitoring data from being split into a plurality of segments and ensure the integrity of the effective monitoring data, in one or more embodiments of the present specification, the control device sends the effective monitoring data of the food to be supervised to the block chain node according to a preset time interval; correspondingly, the block chain link points receive effective monitoring data of the food to be monitored, which are sent by the control equipment, at intervals of the preset time; the preset time interval is, for example, 24 hours, that is, after food processing is finished in the early morning every day, effective monitoring data of food to be monitored is extracted from the food monitoring data in the previous day and sent to the block chain node.
Further, corresponding to the step S102-1 or the step S102-2, as shown in fig. 3, the step S104 includes:
step S104-2, calling an intelligent contract, and carrying out security analysis on effective monitoring data based on the intelligent contract to obtain a first analysis result;
specifically, an intelligent contract is called, effective supervision data are automatically input into a pre-trained second analysis model based on the intelligent contract, and the effective supervision data are subjected to security analysis to obtain a first analysis result; the training process of the second analysis model is not specifically limited in this specification, and may be set in practical application as required; for example, a large number of images, videos and the like about raw materials of food and images, videos and the like about processing processes of the food are collected as data to be trained, and a data set is obtained; labeling the data in the data set with labels to characterize high quality raw materials, good raw materials, poor raw materials, unqualified raw materials, standard food operation modes, flawed food operation modes, illegal food operation modes, and the like; and dividing the data set marked with the label into a training set and a testing set, training the second analysis model by using the training set, and testing the trained second analysis model by using the testing set after each training until the second analysis model meeting the preset accuracy is obtained.
It should be noted that, in one or more embodiments of the present specification, when the control device extracts valid monitoring data from the food monitoring data, the extracted valid monitoring data may be analyzed according to a preset first analysis model, and because the computing capability and the data analysis capability of the control device are limited, the control device only performs a preliminary analysis of illegal and illegal operations on the valid monitoring data, and performs an analysis on whether serious consequences can be caused, for example, whether a sterilization operation is performed, an obvious unqualified sterilization operation, and the like. Compared with control equipment, the block link points have stronger computing power and data analysis capability, so that the block link points can analyze effective supervision data more finely, such as the texture, shape, freshness and the like of raw materials. Furthermore, each analysis model and intelligent contract can be dynamically updated according to information such as changes of laws and regulations of related industries, changes of storage time limits of raw materials at different time intervals, changes of food processing programs along with technical development and the like, so that accuracy of analysis results is guaranteed.
Step S104-4, calculating the abstract value of the effective monitoring data according to a preset algorithm;
because the effective monitoring data contains a large amount of image data and video data, the complete effective monitoring data is written into the block chain, a certain data writing time is needed, and a large storage space is needed; in contrast, in the embodiment of the present specification, the digest value of the effective monitoring data is calculated according to the preset algorithm, and the operation record information is generated according to the calculated digest value, so that the write rate of the operation record information write block chain is increased and the utilization rate of the storage space is increased on the basis that the main content of the effective monitoring data can be embodied. The preset algorithm can be set in practical application according to needs, for example, key images are extracted from image data included in effective monitoring data, and video data included in the effective monitoring data are segmented to obtain a plurality of video segments; and extracting the key video frames in each video clip, and fusing the extracted key images and the key video frames into a drawing board to obtain the abstract value of the effective monitoring data.
Step S104-6, determining food information of the food to be supervised;
the control equipment can be in data communication with the acquisition equipment arranged in the food operation areas, and the food processed in each food operation area is possibly different, so that the association information between the food information of the food to be monitored and the equipment identifier of the corresponding acquisition equipment is pre-established, or the association information between the food information of the food to be monitored and the area information of the corresponding food operation area is pre-established, and third association record information is obtained; wherein, the food information is at least one of food name, raw material information, food operation information, food batch number and the like.
Optionally, the third association record information is stored in the control device, when the control device acquires the food monitoring data acquired by the acquisition device, the associated food information is acquired in the third association record information according to the device identifier of the acquisition device or according to the area information of the corresponding food operation area, and after the effective monitoring data is extracted, the acquired food information and the effective monitoring data are sent to the block chain node; correspondingly, step S104-6 includes determining the received food information as the food information of the food to be monitored.
Or, storing the third associated record information into the block link point, when the block link point receives the effective monitoring data of the food to be monitored and the corresponding regional information of the food operation region, which are sent by the control equipment, or when the block link point receives the effective monitoring data of the food to be monitored and the equipment identifier of the acquisition equipment, which are sent by the control equipment; and acquiring the associated food information in the third associated record information according to the received region information or the equipment identifier, and determining the acquired food information as the food information of the food to be monitored.
And step S104-8, performing relevant recording on the first analysis result, the abstract value, the food information and the area information of the food operation area corresponding to the effective monitoring data, and taking the recorded information as the operation record information of the food to be supervised in the corresponding food operation area.
By combining the block chain technology with the computer technology, the second analysis model is automatically adopted to perform safety analysis on the effective supervision data based on the intelligent contract without manual monitoring or manual participation analysis, so that the analysis efficiency is improved, the food supervision cost is reduced, and the privacy of food operators is maintained; and moreover, operation record information is generated according to the first analysis result, the calculated abstract value, the food information and the region information of the food operation region corresponding to the effective monitoring data, so that a convenient query condition is provided for subsequent food safety tracing.
In order to improve convenience of food safety tracing and provide accurate food safety tracing data for third-party institutions such as a supervision institution, a consumer interest representative, an authoritative industry institution, a notarization institution and the like for food safety supervision, in one or more embodiments of the present specification, a block link point may perform data communication with a terminal device of a user of the third-party institution, specifically, as shown in fig. 4, the method further includes:
step S108, receiving an inquiry request sent by terminal equipment of a third party organization user, wherein the inquiry request comprises region information of a food operation region to be inquired and/or food information of food to be inquired;
step S110, acquiring corresponding operation record information in a block chain according to the area information of the food operation area to be inquired and/or the food information of the food to be inquired;
step S112, generating query response data according to the acquired operation record information;
and step S114, sending the inquiry response data to the terminal equipment.
Further, as mentioned above, the operation record information contains the main content of the effective monitoring data capable of representing the food to be monitored, rather than the complete effective monitoring data; in order to trace the details of the food processing process in the food safety tracing process, in one or more embodiments of the present specification, after step S106, the method includes:
step A, correspondingly storing effective monitoring data and a calculated abstract value to a preset database;
the preset database is a general conventional database and has a large storage space, and different block chain nodes can store the received effective monitoring data of the food to be monitored and the corresponding abstract values into the preset database so as to provide complete monitoring data during food safety tracing.
Correspondingly, step S112 includes:
step S112-2, obtaining correspondingly stored effective monitoring data in a preset database according to the abstract value contained in the obtained operation record information;
and step S112-4, generating query response data according to the acquired effective monitoring data.
Since the food processing process may go through a plurality of circulation stages, there may be a plurality of operation record information obtained in the block chain, and correspondingly, there may also be a plurality of effective monitoring data obtained in the preset database. Step S112-4 may be to use the obtained valid monitoring data as query response data, so that the third-party organization traces the detailed details of the food processing process according to the valid monitoring data; step S112-4 may also be implemented by taking the effective monitoring data and the corresponding first analysis result as query response data, so that a third-party organization obtains problematic effective monitoring data from the received multiple effective video data according to the first analysis result, thereby browsing the effective monitoring data in a targeted manner and improving the food safety tracing efficiency; step S112-4 may also be to use the food information and/or the area information included in the obtained valid monitoring data and the operation record information as query response data, so that when receiving the query response data, the third party organization determines whether the valid monitoring data included in the query response data is the required valid monitoring data according to the food information and/or the area information included in the query response data. Therefore, based on the operation record information in the block chain and the locally stored complete effective monitoring data, the block chain link points are in data communication with a third-party mechanism, an effective data base is provided for food safety tracing, and convenient food safety tracing is achieved.
In one or more embodiments of the present specification, the block link points are based on effective monitoring data of food to be supervised, and by writing operation record information of the food to be supervised in each food operation area into the block links, the data non-tamper-property and open-traceability of the block links can be based, so as to provide an accurate data base for food safety tracing, and avoid problems of damage, forgery, etc. in the food safety tracing process.
On the basis of the same technical concept, corresponding to the block chain-based food safety supervision method described in fig. 2 to 4, one or more embodiments of the present disclosure provide another block chain-based food safety supervision method; fig. 5 is a flowchart illustrating another block chain-based food safety supervision method according to one or more embodiments of the present disclosure, where the method in fig. 5 can be executed by the control device in fig. 1, as shown in fig. 5, and the method includes the following steps:
step S202, acquiring food monitoring data acquired by acquisition equipment, wherein the acquisition equipment is distributed in each food operation area;
step S204, extracting effective monitoring data of the food to be monitored from the food monitoring data;
step S206, carrying out safety analysis on the operation process of the food to be monitored according to the effective monitoring data;
and S208, sending the effective monitoring data to the block chain nodes so that the block chain nodes write the operation record information of the food to be supervised in each food operation area into the block chain according to the effective monitoring data.
In one or more embodiments of the present description, the control device can detect illegal food operation behaviors, which may cause serious consequences, etc., in time by performing security analysis on effective monitoring data of food to be monitored, so as to reduce potential safety hazards of the food; meanwhile, effective monitoring data of the food to be supervised is sent to the block chain nodes, so that the operation record information of the food to be supervised in each food operation area is written into the block chain by the block chain nodes, an accurate data base is provided for food safety tracing based on the non-tamper property and the open-check property of the data of the block chain, and the problems of damage, false proof, false rejection and the like in the food safety tracing process are avoided.
Since the collecting device usually collects food monitoring data all day long, the food monitoring data obtained by the control device usually contains video segments unrelated to the storage or processing of raw materials of the food to be monitored, so as to avoid the storage of the unrelated video segments occupying too much storage space and ensure that reliable data support is provided for food safety tracing later, in one or more embodiments of the present specification, step S204 includes:
step S204-2, extracting at least one of image data and video data of raw materials of the food to be supervised from the food monitoring data; and/or, extracting at least one of image data and video data about the processing process of the food to be supervised from the food monitoring data;
and step S204-4, taking the extracted data as effective monitoring data.
Effective monitoring data about raw materials of food to be monitored and a processing process are extracted from the food monitoring data, so that safety analysis is carried out based on the effective monitoring data, and the safety analysis efficiency can be improved; and when the data is stored, the problem that useless video clips occupy a plurality of storage spaces can be avoided.
The control device can perform data communication with the acquisition devices in a plurality of food operation areas, and the food operation areas are different from one another, for example, some food operation areas store raw materials of food, some food operation areas perform food processing, some food operation areas perform food sterilization, and the like; in order to improve the effectiveness of safety analysis, in one or more embodiments of the present specification, a plurality of corresponding first analysis models are trained in advance according to different food operation processes, and an association relationship is established between an equipment identifier of a collection device and the first analysis models to obtain second association record information, so that after effective monitoring data is obtained, accurate safety analysis is performed by using different first analysis models according to the collection device corresponding to the effective monitoring data. Specifically, as shown in fig. 6, step S202 includes:
acquiring food monitoring data acquired by acquisition equipment and equipment identification of the acquisition equipment;
specifically, the control device establishes a transmission channel with each acquisition device in advance, sends a monitoring data acquisition request to the corresponding acquisition device through the transmission channel, and receives food monitoring data and device identification sent by the acquisition device; or the control device sends a monitoring data acquisition request to the corresponding acquisition device through the transmission channel, receives the food monitoring data sent by the acquisition device, and acquires the associated device identifier in the fourth associated record information of the channel identifier and the device identifier according to the channel identifier of the transmission channel for receiving the food monitoring data.
Correspondingly, as shown in fig. 6, step S206 includes:
step S206-2, acquiring a corresponding analysis model from second associated record information according to the acquired equipment identifier, wherein the second associated record information contains associated information of a plurality of equipment identifiers and analysis models;
and S206-4, inputting the effective monitoring data into the acquired first analysis model, and performing safety analysis on the operation process of the food to be monitored to obtain a second analysis result.
And when the effective monitoring data which cannot be identified by the first analysis model exist, discarding the effective monitoring data which cannot be identified, or sending the effective monitoring data to the blockchain node for subsequent verification.
Further, the training process of the first analysis model may refer to the training process of the second analysis model, which is not described herein again; it should be noted that, in the process of labeling the tag, the tag is used to characterize legal compliance operations, illegal violation operations, operations that can cause serious consequences, and the like, so as to perform preliminary security analysis on the effective monitoring data through the trained first analysis model, and obtain a second analysis result of whether illegal violation operations exist, a second analysis result of whether serious consequences can be caused, and the like.
Furthermore, when the obtained second analysis result that has illegal operation or can cause serious consequences is obtained, in order to timely and effectively stop the illegal operation and reduce the influence range of the serious consequences, in one or more embodiments of the present specification, the method further includes:
and F, if the second analysis result obtained by carrying out safety analysis on the operation process of the food to be monitored according to the effective monitoring data meets the preset condition, sending alarm information to a monitoring mechanism.
The preset conditions include, but are not limited to, existence of illegal operations, and serious consequences. Generally, the control equipment has the characteristics of low cost, good stability and the like, the effective monitoring data is safely analyzed based on the control equipment, and when the obtained second analysis result meets the preset condition, the alarm information is sent to the supervision mechanism, so that the supervision mechanism can check and locate in time on the premise of not spending a large amount of cost, and the potential safety hazard of food is reduced. It should be noted that the control device may further send the second analysis result and the valid monitoring data of the food to be monitored to the block link node together, so as to provide reference data for the block link node to perform security analysis.
Considering that a food processing and production process usually passes through a plurality of circulation stages and relates to a plurality of food operation areas, such as raw material storage areas, processing areas and the like, in order to ensure that each circulation stage that the food passes through is clear and complete, to clarify the operation process of each food operation area on the food, and to reduce the tracing difficulty in the food safety tracing process, in one or more embodiments of the present specification, association information of an equipment identifier of each acquisition equipment and area information of the food operation area is pre-established, and first association record information is obtained; optionally, the storing the first association record information into the control device, and correspondingly, the sending the valid monitoring data to the blockchain node in step S208 includes:
acquiring corresponding area information from the first associated record information according to the equipment identifier of the acquisition equipment; determining the obtained region information as the region information of the food operation region corresponding to the effective monitoring data, and sending the effective monitoring data and the determined region information of the food operation region to the block chain node;
or, the storing the first association record information into the block link point, and correspondingly, the sending the valid monitoring data to the block link node in step S208 includes:
and sending the effective monitoring data and the equipment identification of the acquisition equipment to the block chain nodes so that the block chain nodes determine the region information of the food operation region corresponding to the effective monitoring data according to the equipment identification.
Specifically, when receiving the effective monitoring data and the device identifier of the acquisition device, the blockchain node acquires associated area information in the first associated record information according to the device identifier, and determines the acquired area information as the area information of the food operation area corresponding to the effective monitoring data.
Further, in order to prevent the effective monitoring data from being split into a plurality of segments and ensure the integrity of the effective monitoring data, in one or more embodiments of the present specification, the control device sends the effective monitoring data of the food to be supervised to the block chain node according to a preset time interval; the preset time interval is 24 hours, for example, that is, after food processing is finished in the morning every day, effective monitoring data of the food to be detected is extracted from the food monitoring data in the previous day and sent to the block chain node.
In one or more embodiments of the present description, the control device can detect illegal food operation behaviors, which may cause serious consequences, etc., in time by performing security analysis on effective monitoring data of food to be monitored, so as to reduce potential safety hazards of the food; meanwhile, effective monitoring data of the food to be supervised is sent to the block chain nodes, so that the operation record information of the food to be supervised in each food operation area is written into the block chain by the block chain nodes, an accurate data base is provided for food safety tracing based on the non-tamper property and the open-check property of the data of the block chain, and the problems of damage, false proof, false rejection and the like in the food safety tracing process are avoided.
Further, on the basis of the same technical concept, the block chain-based food safety supervision method described in correspondence to fig. 2 to 4 above also provides a block chain-based food safety supervision apparatus according to one or more embodiments of the present specification. Fig. 7 is a schematic block diagram of a block chain-based food safety supervision apparatus according to one or more embodiments of the present disclosure, which is configured to perform the block chain-based food safety supervision method described in fig. 2 to 4, and as shown in fig. 7, the apparatus includes:
the receiving module 301 is configured to receive effective monitoring data of food to be monitored, which is sent by a control device, where the effective monitoring data is obtained by extracting the effective monitoring data from food monitoring data obtained by the control device, and the food monitoring data is obtained by collecting devices arranged in each food operation area;
the generating module 302 is used for calling an intelligent contract and generating operation record information of the food to be supervised in each food operation area according to the effective monitoring data;
a writing module 303, which writes the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
In one or more embodiments of the present specification, based on effective monitoring data of food to be supervised, by writing operation record information of the food to be supervised in each food operation area into a block chain, it is possible to provide an accurate data base for food safety tracing based on non-tamper property and public traceability of data of the block chain, and avoid problems of damage, forgery, and the like in the food safety tracing process.
Optionally, the receiving module 301 receives effective monitoring data of the food to be monitored, which is sent by the control device, and the corresponding area information of the food operation area;
or,
receiving effective monitoring data of food to be supervised and sent by control equipment and an equipment identifier of acquisition equipment, and acquiring corresponding area information in first associated record information according to the equipment identifier; determining the obtained region information as the region information of the food operation region corresponding to the effective monitoring data; the first associated record information contains associated information of a plurality of equipment identifications and area information of the food operation area;
correspondingly, the generating module 302 calls an intelligent contract, and performs security analysis on the effective monitoring data based on the intelligent contract to obtain a first analysis result; and the number of the first and second groups,
calculating the abstract value of the effective monitoring data according to a preset algorithm;
determining food information of the food to be supervised;
and performing relevant recording on the first analysis result, the abstract value, the food information and the area information of the food operation area corresponding to the effective monitoring data, and taking the recorded information as the operation record information of the food to be supervised in the corresponding food operation area.
Optionally, the apparatus further comprises: a query module;
the query module receives a query request sent by terminal equipment of a third-party organization user, wherein the query request comprises region information of a food operation region to be queried and/or food information of food to be queried; and the number of the first and second groups,
acquiring corresponding operation record information in the block chain according to the area information of the food operation area to be inquired and/or the food information of the food to be inquired;
generating query response data according to the acquired operation record information;
and sending the query response data to the terminal equipment.
Optionally, the apparatus further comprises: a storage module;
the storage module is configured to correspondingly store the effective monitoring data and the abstract value to a preset database after the generation module 302 generates operation record information of the food to be supervised in each food operation area;
the query module is used for acquiring correspondingly stored effective monitoring data in the preset database according to the abstract value contained in the acquired operation record information; and the number of the first and second groups,
and generating query response data according to the acquired effective monitoring data.
One or more embodiments of the present specification provide a block chain-based food safety supervision apparatus, based on effective monitoring data of food to be supervised, by writing operation record information of food to be supervised in each food operation area into a block chain, data non-tamper property and public traceability based on the block chain can be provided for food safety tracing, thereby avoiding problems of damage, forgery, and piracy in the food safety tracing process.
It should be noted that, the embodiment of the food safety supervision apparatus based on the block chain in this specification and the embodiment of the food safety supervision method based on the block chain in this specification are based on the same inventive concept, and therefore, specific implementation of this embodiment may refer to implementation of the aforementioned corresponding food safety supervision method based on the block chain, and repeated parts are not repeated.
On the basis of the same technical concept, one or more embodiments of the present specification further provide a block chain-based food safety supervision apparatus, corresponding to the block chain-based food safety supervision methods described in fig. 5 and fig. 6. Fig. 8 is a schematic block diagram of a block chain-based food safety supervision apparatus according to one or more embodiments of the present disclosure, which is configured to perform the block chain-based food safety supervision method described in fig. 5 and 6, and as shown in fig. 8, the apparatus includes:
an obtaining module 401, configured to obtain food monitoring data collected by a collecting device, where the collecting device is disposed in each food operation area;
an extraction module 402, which extracts valid monitoring data of the food to be supervised from the food monitoring data;
an analysis module 403, configured to perform safety analysis on the operation process of the food to be supervised according to the valid monitoring data;
a sending module 404, configured to send the valid monitoring data to a block chain node, so that the block chain node writes operation record information of the food to be supervised in each food operation area into a block chain according to the valid monitoring data.
In one or more embodiments of the specification, by performing safety analysis on effective monitoring data of food to be monitored, food operation behaviors such as illegal violation and serious consequences can be detected in time, so that potential safety hazards of the food can be reduced; meanwhile, effective monitoring data of the food to be supervised is sent to the block chain nodes, so that the operation record information of the food to be supervised in each food operation area is written into the block chain by the block chain nodes, an accurate data base is provided for food safety tracing based on the non-tamper property and the open-check property of the data of the block chain, and the problems of damage, false proof, false rejection and the like in the food safety tracing process are avoided.
Optionally, the extracting module 402 extracts at least one of image data and video data about raw materials of the food to be supervised in the food monitoring data; and/or the presence of a gas in the gas,
extracting at least one of image data and video data about a process of the food to be supervised from the food monitoring data;
and taking the extracted data as effective monitoring data.
Optionally, the obtaining module 401 obtains food monitoring data collected by a collecting device, and a device identifier of the collecting device;
correspondingly, the analysis module 403 acquires a related first analysis model from second related record information according to the device identifier, where the second related record information includes related information of multiple device identifiers and the first analysis model; and the number of the first and second groups,
and inputting the effective monitoring data into the acquired first analysis model, and carrying out safety analysis on the operation process of the food to be supervised to obtain a second analysis result.
Optionally, the sending module 404 obtains associated area information from the first association record information according to the device identifier of the acquisition device; determining the obtained region information as the region information of the food operation region corresponding to the effective monitoring data, and sending the effective monitoring data and the determined region information of the food operation region to the block chain node; the first associated record information contains associated information of a plurality of equipment identifications and area information of the food operation area; or,
and sending the effective monitoring data and the equipment identifier of the acquisition equipment to the block chain node so that the block chain node determines the area information of the food operation area corresponding to the effective monitoring data according to the equipment identifier.
Optionally, the apparatus further comprises: an alarm module;
and the alarm module is configured to send alarm information to a monitoring authority when a second analysis result obtained by the analysis module 403 performing safety analysis on the operation process of the food to be monitored according to the effective monitoring data meets a preset condition.
According to the food safety supervision device based on the block chain, provided by one or more embodiments of the specification, the food operation behaviors such as illegal violation, serious consequences and the like can be timely discovered by performing safety analysis on effective monitoring data of food to be supervised, so that the potential safety hazard of the food can be reduced; meanwhile, effective monitoring data of the food to be supervised is sent to the block chain nodes, so that the operation record information of the food to be supervised in each food operation area is written into the block chain by the block chain nodes, an accurate data base is provided for food safety tracing based on the non-tamper property and the open-check property of the data of the block chain, and the problems of damage, false proof, false rejection and the like in the food safety tracing process are avoided.
It should be noted that, the embodiment of the food safety supervision apparatus based on the block chain in this specification and the embodiment of the food safety supervision method based on the block chain in this specification are based on the same inventive concept, and therefore, specific implementation of this embodiment may refer to implementation of the aforementioned corresponding food safety supervision method based on the block chain, and repeated parts are not repeated.
Further, corresponding to the above-described block chain-based food safety supervision method, based on the same technical concept, one or more embodiments of the present specification further provide a block chain-based food safety supervision system, and fig. 9 is a schematic composition diagram of the block chain-based food safety supervision system provided by one or more embodiments of the present specification, as shown in fig. 9, the system includes: collecting equipment 501, control equipment 502 and block link points 503;
the acquisition equipment 501 is arranged in each food operation area and used for acquiring food monitoring data;
the control device 502 extracts effective monitoring data of the food to be monitored from the food monitoring data, and performs safety analysis on the operation process of the food to be monitored according to the effective monitoring data; and sending the effective monitoring data to the block chain node;
the block chain node 503 calls an intelligent contract, generates operation record information of the food to be supervised in each food operation area according to the effective monitoring data, and writes the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
According to the food safety supervision system based on the block chain, provided by one or more embodiments of the specification, the food operation behaviors such as illegal violation, serious consequences and the like can be timely discovered by performing safety analysis on effective monitoring data of food to be supervised, so that the potential safety hazard of the food can be reduced; meanwhile, the operation record information of the food to be supervised in each food operation area is written into the block chain, so that an accurate data base is provided for food safety tracing based on the non-tampering property and the open traceability of the data of the block chain, and the problems of damage, counterfeit evidence, refusal and the like in the food safety tracing process are avoided.
It should be noted that, the embodiment of the food safety supervision system in this specification and the embodiment of the food safety supervision method in this specification are based on the same inventive concept, so that specific implementation of this embodiment may refer to implementation of the food safety supervision method described above, and repeated details are not repeated.
Further, corresponding to the above-described block chain-based food safety supervision method, based on the same technical concept, one or more embodiments of the present specification further provide a block chain-based food safety supervision device, where the device is configured to perform the above-described food safety supervision method, and fig. 10 is a schematic structural diagram of a block chain-based food safety supervision device provided in one or more embodiments of the present specification.
As shown in fig. 10, the block chain-based food safety supervision apparatus may have a relatively large difference due to different configurations or performances, and may include one or more processors 601 and a memory 602, where one or more stored applications or data may be stored in the memory 602. Wherein the memory 602 may be transient or persistent storage. The application program stored in memory 602 may include one or more modules (not shown), each of which may include a series of computer-executable instructions in a blockchain-based food safety supervision device. Still further, the processor 601 may be arranged in communication with the memory 602 to execute a series of computer executable instructions in the memory 602 on a blockchain based food safety supervision device. The blockchain-based food safety supervision apparatus may also include one or more power supplies 603, one or more wired or wireless network interfaces 604, one or more input-output interfaces 605, one or more keyboards 606, and the like.
In a particular embodiment, a blockchain based food safety supervision apparatus includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the blockchain based food safety supervision apparatus, and the one or more programs configured to be executed by the one or more processors include computer executable instructions for:
receiving effective monitoring data of food to be monitored, which is sent by control equipment, wherein the effective monitoring data is obtained by extracting the control equipment from the obtained food monitoring data, and the food monitoring data is obtained by collecting equipment distributed in each food operation area;
calling an intelligent contract, and generating operation record information of the food to be supervised in each food operation area according to the effective monitoring data;
writing the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
In one or more embodiments of the present specification, based on effective monitoring data of food to be supervised, by writing operation record information of the food to be supervised in each food operation area into a block chain, it is possible to provide an accurate data base for food safety tracing based on non-tamper property and public traceability of data of the block chain, and avoid problems of damage, forgery, and the like in the food safety tracing process.
Optionally, when executed, the computer executable instructions receive effective monitoring data of the food to be supervised, which is sent by the control device, and include:
receiving effective monitoring data of food to be monitored sent by control equipment and corresponding regional information of a food operation region;
or,
receiving effective monitoring data of food to be supervised and sent by control equipment and an equipment identifier of acquisition equipment, and acquiring corresponding area information in first associated record information according to the equipment identifier; determining the obtained region information as the region information of the food operation region corresponding to the effective monitoring data; the first associated record information contains associated information of a plurality of equipment identifications and area information of the food operation area.
Optionally, when executed, the computer-executable instructions invoke an intelligent contract to generate operation record information of the food to be supervised in each food operation area according to the valid monitoring data, where the operation record information includes:
calling an intelligent contract, and carrying out security analysis on the effective monitoring data based on the intelligent contract to obtain a first analysis result;
calculating the abstract value of the effective monitoring data according to a preset algorithm;
determining food information of the food to be supervised;
and performing relevant recording on the first analysis result, the abstract value, the food information and the area information of the food operation area corresponding to the effective monitoring data, and taking the recorded information as the operation record information of the food to be supervised in the corresponding food operation area.
Optionally, the computer executable instructions, when executed, further comprise:
receiving an inquiry request sent by terminal equipment of a third party organization user, wherein the inquiry request comprises region information of a food operation region to be inquired and/or food information of food to be inquired;
acquiring corresponding operation record information in the block chain according to the area information of the food operation area to be inquired and/or the food information of the food to be inquired;
generating query response data according to the acquired operation record information;
and sending the query response data to the terminal equipment.
Optionally, when executed, the computer-executable instructions, after generating the operation record information of the food to be supervised in the food operation areas, further include:
correspondingly storing the effective monitoring data and the abstract values into a preset database;
generating query response data according to the acquired operation record information, wherein the query response data comprises:
acquiring correspondingly stored effective monitoring data in the preset database according to the abstract value contained in the acquired operation record information;
and generating query response data according to the acquired effective monitoring data.
One or more embodiments of the present specification provide a block chain-based food safety supervision apparatus, based on effective monitoring data of food to be supervised, by writing operation record information of the food to be supervised in each food operation area into a block chain, data non-tamper property and public traceability based on the block chain can provide an accurate data base for food safety traceability, and avoid problems of damage, forgery, and falsification during the food safety traceability process.
In another particular embodiment, a blockchain based food safety supervision apparatus includes a memory, and one or more programs, wherein the one or more programs are stored in the memory, and the one or more programs may include one or more modules, and each module may include a series of computer executable instructions for the blockchain based food safety supervision apparatus, and the one or more programs configured to be executed by the one or more processors include computer executable instructions for:
acquiring food monitoring data acquired by acquisition equipment, wherein the acquisition equipment is distributed in each food operation area;
extracting effective monitoring data of the food to be monitored from the food monitoring data;
carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data; and the number of the first and second groups,
and sending the effective monitoring data to a block chain node, so that the block chain node writes the operation record information of the food to be supervised in each food operation area into a block chain according to the effective monitoring data.
In one or more embodiments of the specification, by performing safety analysis on effective monitoring data of food to be monitored, food operation behaviors such as illegal violation and serious consequences can be detected in time, so that potential safety hazards of the food can be reduced; meanwhile, effective monitoring data of the food to be supervised is sent to the block chain nodes, so that the operation record information of the food to be supervised in each food operation area is written into the block chain by the block chain nodes, an accurate data base is provided for food safety tracing based on the non-tamper property and the open-check property of the data of the block chain, and the problems of damage, false proof, false rejection and the like in the food safety tracing process are avoided.
Optionally, when executed, the computer executable instructions extract valid monitoring data of the food to be supervised from the food monitoring data, including:
extracting at least one of image data and video data regarding raw materials of the food to be supervised in the food monitoring data; and/or the presence of a gas in the gas,
extracting at least one of image data and video data about a process of the food to be supervised from the food monitoring data;
and taking the extracted data as effective monitoring data.
Optionally, the computer executable instructions, when executed, obtain food monitoring data collected by the collecting device, comprising:
acquiring food monitoring data acquired by acquisition equipment and equipment identification of the acquisition equipment;
the safety analysis of the operation process of the food to be supervised according to the effective monitoring data comprises the following steps:
acquiring a first analysis model related to the equipment identification from second related record information according to the equipment identification, wherein the second related record information contains related information of a plurality of equipment identifications and the first analysis model;
and inputting the effective monitoring data into the acquired first analysis model, and carrying out safety analysis on the operation process of the food to be supervised to obtain a second analysis result.
Optionally, the computer executable instructions, when executed, send the active monitoring data to a blockchain node, comprising:
acquiring associated area information from the first associated record information according to the equipment identifier of the acquisition equipment; determining the obtained region information as the region information of the food operation region corresponding to the effective monitoring data, and sending the effective monitoring data and the determined region information of the food operation region to the block chain node; the first associated record information contains associated information of a plurality of equipment identifications and area information of the food operation area; or,
and sending the effective monitoring data and the equipment identifier of the acquisition equipment to the block chain node so that the block chain node determines the area information of the food operation area corresponding to the effective monitoring data according to the equipment identifier.
Optionally, the computer executable instructions, when executed, further comprise:
and if a second analysis result obtained by carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data meets a preset condition, sending alarm information to a supervision mechanism.
According to the food safety control equipment based on the block chain, provided by one or more embodiments of the specification, the food operation behaviors such as illegal violation, serious consequences and the like can be timely discovered by performing safety analysis on effective monitoring data of food to be monitored, so that the potential safety hazard of the food can be reduced; meanwhile, effective monitoring data of the food to be supervised is sent to the block chain nodes, so that the operation record information of the food to be supervised in each food operation area is written into the block chain by the block chain nodes, an accurate data base is provided for food safety tracing based on the non-tamper property and the open-check property of the data of the block chain, and the problems of damage, false proof, false rejection and the like in the food safety tracing process are avoided.
It should be noted that the embodiment of the food safety control monitoring device in this specification and the embodiment of the food safety monitoring method in this specification are based on the same inventive concept, and therefore, specific implementation of this embodiment may refer to implementation of the corresponding food safety monitoring method described above, and repeated details are not repeated.
Further, corresponding to the above-described block chain-based food safety supervision method, based on the same technical concept, one or more embodiments of the present specification further provide a storage medium for storing computer-executable instructions, where in a specific embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, and the like, and when the storage medium stores computer-executable instructions, the following processes can be implemented:
receiving effective monitoring data of food to be monitored, which is sent by control equipment, wherein the effective monitoring data is obtained by extracting the control equipment from the obtained food monitoring data, and the food monitoring data is obtained by collecting equipment distributed in each food operation area;
calling an intelligent contract, and generating operation record information of the food to be supervised in each food operation area according to the effective monitoring data;
writing the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
In one or more embodiments of the present specification, based on effective monitoring data of food to be supervised, by writing operation record information of the food to be supervised in each food operation area into a block chain, it is possible to provide an accurate data base for food safety tracing based on non-tamper property and public traceability of data of the block chain, and avoid problems of damage, forgery, and the like in the food safety tracing process.
Optionally, the storage medium stores computer executable instructions, which when executed by the processor, receive valid monitoring data of the food to be supervised from the control device, including:
receiving effective monitoring data of food to be monitored sent by control equipment and corresponding regional information of a food operation region;
or,
receiving effective monitoring data of food to be supervised and sent by control equipment and an equipment identifier of acquisition equipment, and acquiring corresponding area information in first associated record information according to the equipment identifier; determining the obtained region information as the region information of the food operation region corresponding to the effective monitoring data; the first associated record information contains associated information of a plurality of equipment identifications and area information of the food operation area.
Optionally, when executed by a processor, the computer-executable instructions stored in the storage medium invoke an intelligent contract to generate operation record information of the food to be supervised in each food operation area according to the valid monitoring data, and the operation record information includes:
calling an intelligent contract, and carrying out security analysis on the effective monitoring data based on the intelligent contract to obtain a first analysis result;
calculating the abstract value of the effective monitoring data according to a preset algorithm;
determining food information of the food to be supervised;
and performing relevant recording on the first analysis result, the abstract value, the food information and the area information of the food operation area corresponding to the effective monitoring data, and taking the recorded information as the operation record information of the food to be supervised in the corresponding food operation area.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, further comprise:
receiving an inquiry request sent by terminal equipment of a third party organization user, wherein the inquiry request comprises region information of a food operation region to be inquired and/or food information of food to be inquired;
acquiring corresponding operation record information in the block chain according to the area information of the food operation area to be inquired and/or the food information of the food to be inquired;
generating query response data according to the acquired operation record information;
and sending the query response data to the terminal equipment.
Optionally, the storage medium stores computer executable instructions, which when executed by the processor, further include, after generating operation record information of the food to be supervised in the food operation areas:
correspondingly storing the effective monitoring data and the abstract values into a preset database;
generating query response data according to the acquired operation record information, wherein the query response data comprises:
acquiring correspondingly stored effective monitoring data in the preset database according to the abstract value contained in the acquired operation record information;
and generating query response data according to the acquired effective monitoring data.
When executed by a processor, the computer-executable instructions stored in the storage medium provided in one or more embodiments of the present specification can write operation record information of food to be supervised into each food operation area into a block chain based on effective monitoring data of the food to be supervised, so as to provide an accurate data base for food safety tracing, and avoid problems of damage, forgery, and denial in the food safety tracing process, based on data non-tamper and public traceability of the data of the block chain.
In another embodiment, the storage medium may be a usb disk, an optical disk, a hard disk, or the like, and the storage medium stores computer-executable instructions that, when executed by the processor, implement the following process:
acquiring food monitoring data acquired by acquisition equipment, wherein the acquisition equipment is distributed in each food operation area;
extracting effective monitoring data of the food to be monitored from the food monitoring data;
carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data; and the number of the first and second groups,
and sending the effective monitoring data to a block chain node, so that the block chain node writes the operation record information of the food to be supervised in each food operation area into a block chain according to the effective monitoring data.
In one or more embodiments of the specification, by performing safety analysis on effective monitoring data of food to be monitored, food operation behaviors such as illegal violation and serious consequences can be detected in time, so that potential safety hazards of the food can be reduced; meanwhile, effective monitoring data of the food to be supervised is sent to the block chain nodes, so that the operation record information of the food to be supervised in each food operation area is written into the block chain by the block chain nodes, an accurate data base is provided for food safety tracing based on the non-tamper property and the open-check property of the data of the block chain, and the problems of damage, false proof, false rejection and the like in the food safety tracing process are avoided.
Optionally, the storage medium stores computer executable instructions, which when executed by the processor, extract valid monitoring data of the food to be supervised from the food monitoring data, including:
extracting at least one of image data and video data regarding raw materials of the food to be supervised in the food monitoring data; and/or the presence of a gas in the gas,
extracting at least one of image data and video data about a process of the food to be supervised from the food monitoring data;
and taking the extracted data as effective monitoring data.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, obtain food monitoring data collected by the collecting device, including:
acquiring food monitoring data acquired by acquisition equipment and equipment identification of the acquisition equipment;
the safety analysis of the operation process of the food to be supervised according to the effective monitoring data comprises the following steps:
acquiring a first analysis model related to the equipment identification from second related record information according to the equipment identification, wherein the second related record information contains related information of a plurality of equipment identifications and the first analysis model;
and inputting the effective monitoring data into the acquired first analysis model, and carrying out safety analysis on the operation process of the food to be supervised to obtain a second analysis result.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, send the active monitoring data to a blockchain node, comprising:
acquiring associated area information from the first associated record information according to the equipment identifier of the acquisition equipment; determining the obtained region information as the region information of the food operation region corresponding to the effective monitoring data, and sending the effective monitoring data and the determined region information of the food operation region to the block chain node; the first associated record information contains associated information of a plurality of equipment identifications and area information of the food operation area; or,
and sending the effective monitoring data and the equipment identifier of the acquisition equipment to the block chain node so that the block chain node determines the area information of the food operation area corresponding to the effective monitoring data according to the equipment identifier.
Optionally, the storage medium stores computer executable instructions that, when executed by the processor, further comprise:
and if a second analysis result obtained by carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data meets a preset condition, sending alarm information to a supervision mechanism.
When the computer executable instructions stored in the storage medium provided by one or more embodiments of the present specification are executed by the processor, the security analysis is performed on the effective monitoring data of the food to be monitored, so that illegal food operation behaviors, which may cause serious consequences and the like, can be detected in time, and thus the potential safety hazards of the food can be reduced; meanwhile, effective monitoring data of the food to be supervised is sent to the block chain nodes, so that the operation record information of the food to be supervised in each food operation area is written into the block chain by the block chain nodes, an accurate data base is provided for food safety tracing based on the non-tamper property and the open-check property of the data of the block chain, and the problems of damage, false proof, false rejection and the like in the food safety tracing process are avoided.
It should be noted that the embodiment of the storage medium in this specification and the embodiment of the food safety supervision method based on a block chain in this specification are based on the same inventive concept, and therefore, for specific implementation of this embodiment, reference may be made to implementation of the aforementioned corresponding food safety supervision method based on a block chain, and repeated details are not repeated.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
In the 30 s of the 20 th century, improvements in a technology could clearly be distinguished between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Language Description Language), traffic, pl (core unified Programming Language), HDCal, JHDL (Java Hardware Description Language), langue, Lola, HDL, laspam, hardsradware (Hardware Description Language), vhjhd (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functions of the units may be implemented in the same software and/or hardware or in multiple software and/or hardware when implementing the embodiments of the present description.
One skilled in the art will recognize that one or more embodiments of the present description may be provided as a method, system, or computer program product. Accordingly, one or more embodiments of the present description may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the description may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The description has been presented with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the description. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
One or more embodiments of the present description may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. One or more embodiments of the specification may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of this document and is not intended to limit this document. Various modifications and changes may occur to those skilled in the art from this document. Any modifications, equivalents, improvements, etc. which come within the spirit and principle of the disclosure are intended to be included within the scope of the claims of this document.

Claims (21)

1. A food safety supervision method based on a block chain is applied to a block chain node and comprises the following steps:
receiving effective monitoring data of food to be monitored, which is sent by control equipment, wherein the effective monitoring data is obtained by extracting the control equipment from the obtained food monitoring data, and the food monitoring data is obtained by collecting equipment distributed in each food operation area;
calling an intelligent contract, and generating operation record information of the food to be supervised in each food operation area according to the effective monitoring data;
writing the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
2. The method of claim 1, wherein the receiving of the effective monitoring data of the food to be supervised, which is sent by the control device, comprises:
receiving effective monitoring data of food to be monitored sent by control equipment and corresponding regional information of a food operation region;
or,
receiving effective monitoring data of food to be supervised and sent by control equipment and an equipment identifier of acquisition equipment, and acquiring corresponding area information in first associated record information according to the equipment identifier; determining the obtained region information as the region information of the food operation region corresponding to the effective monitoring data; the first associated record information contains associated information of a plurality of equipment identifications and area information of the food operation area.
3. The method according to claim 2, wherein the invoking of the smart contract to generate operation record information of the food to be supervised in the food operation areas according to the valid monitoring data comprises:
calling an intelligent contract, and carrying out security analysis on the effective monitoring data based on the intelligent contract to obtain a first analysis result;
calculating the abstract value of the effective monitoring data according to a preset algorithm;
determining food information of the food to be supervised;
and performing relevant recording on the first analysis result, the abstract value, the food information and the area information of the food operation area corresponding to the effective monitoring data, and taking the recorded information as the operation record information of the food to be supervised in the corresponding food operation area.
4. The method of claim 3, further comprising:
receiving an inquiry request sent by terminal equipment of a third party organization user, wherein the inquiry request comprises region information of a food operation region to be inquired and/or food information of food to be inquired;
acquiring corresponding operation record information in the block chain according to the area information of the food operation area to be inquired and/or the food information of the food to be inquired;
generating query response data according to the acquired operation record information;
and sending the query response data to the terminal equipment.
5. The method of claim 4, after generating the operation record information of the food to be supervised in the food operation areas, further comprising:
correspondingly storing the effective monitoring data and the abstract values into a preset database;
generating query response data according to the acquired operation record information, wherein the query response data comprises:
acquiring correspondingly stored effective monitoring data in the preset database according to the abstract value contained in the acquired operation record information;
and generating query response data according to the acquired effective monitoring data.
6. A food safety supervision method based on a block chain is applied to control equipment and comprises the following steps:
acquiring food monitoring data acquired by acquisition equipment, wherein the acquisition equipment is distributed in each food operation area;
extracting effective monitoring data of the food to be monitored from the food monitoring data;
carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data; and the number of the first and second groups,
and sending the effective monitoring data to a block chain node, so that the block chain node writes the operation record information of the food to be supervised in each food operation area into a block chain according to the effective monitoring data.
7. The method of claim 6, wherein extracting valid monitoring data of the food to be supervised from the food monitoring data comprises:
extracting at least one of image data and video data regarding raw materials of the food to be supervised in the food monitoring data; and/or the presence of a gas in the gas,
extracting at least one of image data and video data about a process of the food to be supervised from the food monitoring data;
and taking the extracted data as effective monitoring data.
8. The method of claim 6, the obtaining food monitoring data collected by a collection device, comprising:
acquiring food monitoring data acquired by acquisition equipment and equipment identification of the acquisition equipment;
the safety analysis of the operation process of the food to be supervised according to the effective monitoring data comprises the following steps:
acquiring a first analysis model related to the equipment identification from second related record information according to the equipment identification, wherein the second related record information contains related information of a plurality of equipment identifications and the first analysis model;
and inputting the effective monitoring data into the acquired first analysis model, and carrying out safety analysis on the operation process of the food to be supervised to obtain a second analysis result.
9. The method of claim 8, the sending the active monitoring data to a blockchain node, comprising:
acquiring associated area information from the first associated record information according to the equipment identifier of the acquisition equipment; determining the obtained region information as the region information of the food operation region corresponding to the effective monitoring data, and sending the effective monitoring data and the determined region information of the food operation region to the block chain node; the first associated record information contains associated information of a plurality of equipment identifications and area information of the food operation area; or,
and sending the effective monitoring data and the equipment identifier of the acquisition equipment to the block chain node so that the block chain node determines the area information of the food operation area corresponding to the effective monitoring data according to the equipment identifier.
10. The method according to any one of claims 6-9, further comprising:
and if a second analysis result obtained by carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data meets a preset condition, sending alarm information to a supervision mechanism.
11. A block chain-based food safety supervision device is applied to block chain nodes and comprises:
the food monitoring system comprises a receiving module, a monitoring module and a monitoring module, wherein the receiving module is used for receiving effective monitoring data of food to be monitored, which is sent by control equipment, the effective monitoring data is obtained by extracting the control equipment from food monitoring data acquired by the control equipment, and the food monitoring data is acquired by acquisition equipment arranged in each food operation area;
the generating module calls an intelligent contract and generates operation record information of the food to be supervised in each food operation area according to the effective monitoring data;
a writing module which writes the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
12. The apparatus of claim 11, wherein the first and second electrodes are disposed in a substantially cylindrical configuration,
the generation module calls an intelligent contract and carries out security analysis on the effective monitoring data based on the intelligent contract to obtain a first analysis result; and the number of the first and second groups,
calculating the abstract value of the effective monitoring data according to a preset algorithm;
determining food information of the food to be supervised;
and performing relevant recording on the first analysis result, the abstract value, the food information and the area information of the food operation area corresponding to the effective monitoring data, and taking the recorded information as the operation record information of the food to be supervised in the corresponding food operation area.
13. The apparatus of claim 12, further comprising:
the system comprises a query module, a monitoring module and a monitoring module, wherein the query module receives a query request sent by terminal equipment of a third-party institution user, the query request comprises region information of a food operation region to be queried and/or food information of food to be queried, and the food to be monitored comprises the food to be queried; and the number of the first and second groups,
acquiring corresponding operation record information in the block chain according to the area information of the food operation area to be inquired and/or the food information of the food to be inquired;
generating query response data according to the acquired operation record information;
and sending the query response data to the terminal equipment.
14. A food safety supervision device based on a block chain is applied to control equipment and comprises:
the acquisition module is used for acquiring food monitoring data acquired by acquisition equipment, wherein the acquisition equipment is distributed in each food operation area;
the extraction module extracts effective monitoring data of the food to be monitored from the food monitoring data;
the analysis module is used for carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data;
and the sending module sends the effective monitoring data to the block chain nodes so that the block chain nodes write the operation record information of the food to be supervised in each food operation area into the block chain according to the effective monitoring data.
15. The apparatus of claim 14, wherein the first and second electrodes are disposed on opposite sides of the substrate,
the acquisition module acquires food monitoring data acquired by acquisition equipment and equipment identification of the acquisition equipment;
the analysis module acquires a related first analysis model from second related record information according to the equipment identifier, wherein the second related record information contains related information of a plurality of equipment identifiers and the first analysis model; and the number of the first and second groups,
and inputting the effective monitoring data into the acquired first analysis model so as to perform safety analysis on the operation process of the food to be monitored to obtain a second analysis result.
16. The apparatus as set forth in claim 15, wherein,
the sending module is used for acquiring associated area information from the first associated record information according to the equipment identifier of the acquisition equipment; determining the obtained region information as the region information of the food operation region corresponding to the effective monitoring data, and sending the effective monitoring data and the determined region information of the food operation region to the block chain node; the first associated record information contains associated information of a plurality of equipment identifications and area information of the food operation area; or,
and sending the effective monitoring data and the equipment identifier of the acquisition equipment to the block chain node so that the block chain node determines the area information of the food operation area corresponding to the effective monitoring data according to the equipment identifier.
17. A blockchain-based food safety supervision system, comprising: collecting equipment, control equipment and a block chain node;
the collecting equipment is arranged in each food operation area and used for collecting food monitoring data;
the control equipment extracts effective monitoring data of the food to be monitored from the food monitoring data and carries out safety analysis on the operation process of the food to be monitored according to the effective monitoring data; and sending the effective monitoring data to the block chain node;
the block chain node calls an intelligent contract, generates operation record information of the food to be supervised in each food operation area according to the effective monitoring data, and writes the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
18. A blockchain-based food safety supervision apparatus comprising:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
receiving effective monitoring data of food to be monitored, which is sent by control equipment, wherein the effective monitoring data is obtained by extracting the control equipment from the obtained food monitoring data, and the food monitoring data is obtained by collecting equipment distributed in each food operation area;
calling an intelligent contract, and generating operation record information of the food to be supervised in each food operation area according to the effective monitoring data;
writing the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
19. A blockchain-based food safety supervision apparatus comprising:
a processor; and the number of the first and second groups,
a memory arranged to store computer executable instructions that, when executed, cause the processor to:
acquiring food monitoring data acquired by acquisition equipment, wherein the acquisition equipment is distributed in each food operation area;
extracting effective monitoring data of the food to be monitored from the food monitoring data;
carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data; and the number of the first and second groups,
and sending the effective monitoring data to a block chain node, so that the block chain node writes the operation record information of the food to be supervised in each food operation area into a block chain according to the effective monitoring data.
20. A storage medium storing computer-executable instructions that when executed implement the following:
receiving effective monitoring data of food to be monitored, which is sent by control equipment, wherein the effective monitoring data is obtained by extracting the control equipment from the obtained food monitoring data, and the food monitoring data is obtained by collecting equipment distributed in each food operation area;
calling an intelligent contract, and generating operation record information of the food to be supervised in each food operation area according to the effective monitoring data;
writing the operation record information into a block chain; and the operation record information stored in the block chain is used for food safety tracing.
21. A storage medium storing computer-executable instructions that when executed implement the following:
acquiring food monitoring data acquired by acquisition equipment, wherein the acquisition equipment is distributed in each food operation area;
extracting effective monitoring data of the food to be monitored from the food monitoring data;
carrying out safety analysis on the operation process of the food to be supervised according to the effective monitoring data; and the number of the first and second groups,
and sending the effective monitoring data to a block chain node, so that the block chain node writes the operation record information of the food to be supervised in each food operation area into a block chain according to the effective monitoring data.
CN201910815326.2A 2019-08-30 2019-08-30 Block chain-based food safety supervision method, device, equipment and system Pending CN110675028A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910815326.2A CN110675028A (en) 2019-08-30 2019-08-30 Block chain-based food safety supervision method, device, equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910815326.2A CN110675028A (en) 2019-08-30 2019-08-30 Block chain-based food safety supervision method, device, equipment and system

Publications (1)

Publication Number Publication Date
CN110675028A true CN110675028A (en) 2020-01-10

Family

ID=69076059

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910815326.2A Pending CN110675028A (en) 2019-08-30 2019-08-30 Block chain-based food safety supervision method, device, equipment and system

Country Status (1)

Country Link
CN (1) CN110675028A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021179705A1 (en) * 2020-03-09 2021-09-16 支付宝(杭州)信息技术有限公司 Blockchain-based target object inventorying method and system
CN115544154A (en) * 2022-12-01 2022-12-30 煤炭科学技术研究院有限公司 Coal mine safety supervision method and device based on block chain and electronic equipment
TWI818691B (en) * 2022-08-24 2023-10-11 國立臺灣海洋大學 Blockchain-based food safety verification document conversion system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880923A (en) * 2011-07-15 2013-01-16 北京普析通用仪器有限责任公司 Food safety on-line monitoring system and method
CN108960863A (en) * 2018-07-03 2018-12-07 广州市格利网络技术有限公司 A kind of food block chain retroactive method, device and electronic equipment
CN109064063A (en) * 2018-09-11 2018-12-21 北京工商大学 A kind of food safety risk Source Tracing system and method based on block chain
CN109191144A (en) * 2018-08-03 2019-01-11 食品安全与营养(贵州)信息科技有限公司 A kind of laboratory information business management system and working method based on block chain
CN109472621A (en) * 2018-10-26 2019-03-15 陕西医链区块链集团有限公司 A kind of food and medicine traceability system and method based on block chain
CN109508905A (en) * 2018-12-18 2019-03-22 深圳壹账通智能科技有限公司 Drug monitoring and managing method and device, storage medium and server based on block chain

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880923A (en) * 2011-07-15 2013-01-16 北京普析通用仪器有限责任公司 Food safety on-line monitoring system and method
CN108960863A (en) * 2018-07-03 2018-12-07 广州市格利网络技术有限公司 A kind of food block chain retroactive method, device and electronic equipment
CN109191144A (en) * 2018-08-03 2019-01-11 食品安全与营养(贵州)信息科技有限公司 A kind of laboratory information business management system and working method based on block chain
CN109064063A (en) * 2018-09-11 2018-12-21 北京工商大学 A kind of food safety risk Source Tracing system and method based on block chain
CN109472621A (en) * 2018-10-26 2019-03-15 陕西医链区块链集团有限公司 A kind of food and medicine traceability system and method based on block chain
CN109508905A (en) * 2018-12-18 2019-03-22 深圳壹账通智能科技有限公司 Drug monitoring and managing method and device, storage medium and server based on block chain

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2021179705A1 (en) * 2020-03-09 2021-09-16 支付宝(杭州)信息技术有限公司 Blockchain-based target object inventorying method and system
TWI818691B (en) * 2022-08-24 2023-10-11 國立臺灣海洋大學 Blockchain-based food safety verification document conversion system
CN115544154A (en) * 2022-12-01 2022-12-30 煤炭科学技术研究院有限公司 Coal mine safety supervision method and device based on block chain and electronic equipment

Similar Documents

Publication Publication Date Title
CN107526667B (en) Index abnormality detection method and device and electronic equipment
CN110675028A (en) Block chain-based food safety supervision method, device, equipment and system
CN111930809A (en) Data processing method, device and equipment
CN110503435B (en) Transaction early warning method, device and equipment based on blockchain
CN110569428A (en) recommendation model construction method, device and equipment
CN112448861B (en) Edge device processing method and device, storage medium and processor
CN110909363A (en) Software third-party component vulnerability emergency response system and method based on big data
CN113568841B (en) Risk detection method, device and equipment for small program
CN111753328B (en) Private data leakage risk detection method and system
CN116821750A (en) Data security risk monitoring traceability system based on artificial intelligence
CN107590016A (en) Power-down rebooting recognition methods and device
CN114638005A (en) Data processing method, device and system based on block chain and storage medium
CN117421214A (en) Batch counting method, device, electronic equipment and computer readable storage medium
CN116389148B (en) Network security situation prediction system based on artificial intelligence
CN111240866B (en) Service data processing method and device
CN109146395B (en) Data processing method, device and equipment
CN116822606A (en) Training method, device, equipment and storage medium of anomaly detection model
CN111242195B (en) Model, insurance wind control model training method and device and electronic equipment
CN113176988B (en) Data recording method and device
CN111143203B (en) Machine learning method, privacy code determination method, device and electronic equipment
CN109325127B (en) Risk identification method and device
CN112286803A (en) Test case detection method and device
CN110599374A (en) Method, device and equipment for infringement claim settlement based on block chain
CN112230935B (en) Privacy risk detection method, device and equipment in application
CN106776652B (en) Data processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Innovative advanced technology Co.,Ltd.

Address before: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant before: Advanced innovation technology Co.,Ltd.

Effective date of registration: 20200925

Address after: Cayman Enterprise Centre, 27 Hospital Road, George Town, Grand Cayman, British Islands

Applicant after: Advanced innovation technology Co.,Ltd.

Address before: A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Applicant before: Alibaba Group Holding Ltd.

TA01 Transfer of patent application right
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40026750

Country of ref document: HK

RJ01 Rejection of invention patent application after publication

Application publication date: 20200110

RJ01 Rejection of invention patent application after publication