CN117372051A - Eight delicacies cake food processing information management system that traces to source - Google Patents

Eight delicacies cake food processing information management system that traces to source Download PDF

Info

Publication number
CN117372051A
CN117372051A CN202311679641.XA CN202311679641A CN117372051A CN 117372051 A CN117372051 A CN 117372051A CN 202311679641 A CN202311679641 A CN 202311679641A CN 117372051 A CN117372051 A CN 117372051A
Authority
CN
China
Prior art keywords
production
information
treasure
raw material
processing 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.)
Granted
Application number
CN202311679641.XA
Other languages
Chinese (zh)
Other versions
CN117372051B (en
Inventor
王清华
陈丽君
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Longyan Xinluo Juhan Food Co ltd
Original Assignee
Longyan Xinluo Juhan Food Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Longyan Xinluo Juhan Food Co ltd filed Critical Longyan Xinluo Juhan Food Co ltd
Priority to CN202311679641.XA priority Critical patent/CN117372051B/en
Publication of CN117372051A publication Critical patent/CN117372051A/en
Application granted granted Critical
Publication of CN117372051B publication Critical patent/CN117372051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q30/00Commerce
    • G06Q30/018Certifying business or products
    • G06Q30/0185Product, service or business identity fraud
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/955Retrieval from the web using information identifiers, e.g. uniform resource locators [URL]
    • G06F16/9554Retrieval from the web using information identifiers, e.g. uniform resource locators [URL] by using bar codes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0618Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
    • H04L9/0625Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation with splitting of the data block into left and right halves, e.g. Feistel based algorithms, DES, FEAL, IDEA or KASUMI
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/06Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
    • H04L9/0643Hash functions, e.g. MD5, SHA, HMAC or f9 MAC
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0869Generation of secret information including derivation or calculation of cryptographic keys or passwords involving random numbers or seeds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Computer Security & Cryptography (AREA)
  • Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Finance (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Marketing (AREA)
  • Economics (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • Development Economics (AREA)
  • Accounting & Taxation (AREA)
  • Entrepreneurship & Innovation (AREA)
  • Power Engineering (AREA)
  • General Preparation And Processing Of Foods (AREA)

Abstract

The invention relates to the technical field of food processing information traceability management, in particular to an eight-treasure cake food processing information traceability management system. The system comprises: the data acquisition module acquires data of eight-treasure cake data types; the eight-treasure cake processing information processing module calculates and produces panoramic difference factors; constructing an indication function and an anti-indication function according to the difference of the same eight-treasure cake data types of adjacent production batches; calculating a relevance randomization index; constructing a heterogeneity randomization index; constructing a key according to the relevance randomization index and the heterogeneity randomization index in combination with a hash function; encrypting all data types of the eight-treasure cakes by adopting a DES algorithm and a secret key; and the eight-treasure cake processing information tracing module is used for decrypting the encrypted information to finish tracing the eight-treasure cake food processing information. The invention improves the safety of food processing information and realizes the traceability management of the food processing information.

Description

Eight delicacies cake food processing information management system that traces to source
Technical Field
The invention relates to the technical field of food processing information traceability management, in particular to an eight-treasure cake food processing information traceability management system.
Background
Eight delicacies cake is a traditional dessert with a long history, the history of which can be traced back to Qing dynasty, and the eight delicacies cake is named as eight delicacies because the eight delicacies cake is usually made of eight different precious food materials, wherein the eight main food materials comprise gorgon fruit, poria cocos, lotus seeds, pearl barley, hawthorn, chinese yam, white hyacinth beans and malt, and when the eight delicacies cake is made, the food materials are ground or cut into small blocks, then are mixed with glutinous rice powder, sugar and water, then are steamed, and then are pressed into blocks, and then are cut into small blocks or slices, so that the final shape of the eight delicacies cake is formed.
The eight-treasure cake processing information traceability management is beneficial to tracking and managing the eight-treasure cake making process, and sanitary control from raw material acquisition to production environment is realized, so that quality and safety are ensured. By recording and monitoring each link of the production, potential risks or problems can be found more easily, measures are taken to prevent food from being polluted or unqualified, traditional food processing information traceability management methods are generally based on verifiable records and documents, the traditional traceability management methods have very high reliability and verifiability, and for small-scale food manufacturers, the traditional traceability management methods are high in cost effectiveness and easy to manage, however, the traditional food processing information traceability management data are prone to problems of fraud and falsification, and improvement is needed.
Disclosure of Invention
In order to solve the technical problems, the invention aims to provide an eight-treasure cake food processing information traceability management system, which adopts the following technical scheme:
the invention provides an eight-treasure cake food processing information traceability management system, which comprises:
the data acquisition module acquires data of eight-treasure cake data types, including eight-treasure cake raw material information, production information, storage conditions and shipment and sales information;
the eight-treasure cake processing information processing module is used for taking information acquired by each production batch as each row vector, and acquiring a production panorama difference factor according to a pearson coefficient between the row vector data types of the current production batch and the previous production batch; constructing an indication function according to the difference of the same eight-treasure cake data types of adjacent production batches; obtaining a relevance randomization index according to the relation, the indication function and the production panorama difference factor of all the data types of all the adjacent production batches; constructing an anti-indication function; constructing a heterogeneity randomization index according to the information entropy, the anti-indication function, the relevance randomization index and the production panorama difference factor of each data type of raw material information; constructing a key according to the relevance randomization index and the heterogeneity randomization index in combination with a hash function; encrypting all data types of the eight-treasure cakes by adopting a DES algorithm and a secret key;
and the eight-treasure cake processing information tracing module is used for decrypting the encrypted information through a decryption algorithm to complete tracing of eight-treasure cake food processing information.
Further, the eight-treasure cake data types include 12 kinds in total.
Further, the eight-treasure cake raw material information and production information specifically comprise:
the data types included in the raw material information are: raw material name, raw material source, raw material production date; the eight delicacies cake production information comprises the following data types: eight delicacies cake production date, production temperature and production humidity.
Further, the storage conditions and shipment and sales information are specifically:
the storage conditions include the following data types: storage temperature, storage humidity and storage date; the shipment and sales include the following data types: sales date, sales channel, and sales amount.
Further, the obtaining the panoramic difference factor according to the pearson coefficient between the line vector data types of the current production lot and the previous production lots specifically includes:
calculating the Pearson coefficient between the raw material information of the current production batch and the previous production batches, the Pearson coefficient between the eight-treasure cake production information, the Pearson coefficient between the eight-treasure cake storage information and the Pearson coefficient between the shipment and sales information;
the negative number of the absolute value of each pearson coefficient is taken as an index of an exponential function taking a natural constant as a base, and the average value of all the calculation results of the exponential function is taken as a panoramic difference factor.
Further, the construction of the indication function according to the difference of the same eight-treasure cake data type between adjacent production batches specifically comprises the following steps:
judging whether the names of the raw materials in the current batch are the same as those of the raw materials in the previous batch, and if so, giving an indication function a value of 1; otherwise, the indicator function takes a value of 0.
Further, the relevance randomization index is obtained according to the relation, the indication function and the production panorama difference factor of all the data types of all the adjacent production batches, and the expression is as follows:
in the method, in the process of the invention,for the relevance randomization index, +.>For the total number of production batches>To indicate a function, in particular, when +.>Raw material name and->When the sources of the raw materials of the production batches are the same, the raw materials of the production batches are->1, otherwise->0->、/>Respectively +.>、/>Production lot->Data of eight delicacies data type +.>To produce a panoramic disparity factor; />Is a natural constant.
Further, the constructing an anti-indication function includes:
judging whether the names of the raw materials in the current batch are the same as those of the raw materials in the previous batch, and if so, taking the value of the reverse indication function as 0; otherwise, the anti-indication function takes a value of 1.
Further, the constructing the heterogeneity randomization index according to the information entropy, the anti-indication function, the relatedness randomization index and the production panorama difference factor of each data type of the raw material information comprises the following steps:
respectively calculating information entropy of raw material name, raw material source and raw material production date in raw material information, and recording asThe expression for the heterogeneity randomization index is:
in the method, in the process of the invention,in order to be a heterogeneous randomization index,/>is an anti-indication function, specifically, judging the +.>Whether the raw material name of the individual production lot is equal to +.>The production batches are identical, if identical, the anti-indicating function +.>Is 0; conversely, the anti-indication function +.>1->For the relevance randomization index, +.>For the production of panoramic differentiation factor, < >>For the total number of production batches>Is a natural constant.
Further, the key is constructed according to the relevance randomization index and the heterogeneity randomization index in combination with the hash function, and the expression is:
in the method, in the process of the invention,is the generated key,/->For hash function, ++>For the relevance randomization index, +.>Is a heterogeneous randomization index,/->For connecting operators, ++>As an arctangent function.
The invention has the following beneficial effects:
according to the invention, the panoramic difference factor is constructed and produced by analyzing the correlation information among the rows, then the correlation randomization index of the same raw material source and the heterogeneity randomization index of different raw material sources are constructed according to the condition that the raw materials are identical or not, the two indexes generally have unique characteristics and supply chain characteristics in food production by analyzing the raw materials, the raw material sources are used as dividing points to calculate production data, each link can be changed along with time, the indexes are constructed by utilizing diversified data from different batches, and the keys are generated according to the indexes, so that the complexity of key generation is increased, and the difficulty of an attacker in cracking the keys is increased. The key replaces the key generated in DES encryption to encrypt the eight-treasure cake food processing information of each batch, so that the key is not only related to the food processing information of the batch, but also bound with the food processing information of all the previous batches through the blockchain, the complexity and the safety of the key are improved through a key function generated by combining the factors, an attacker needs to know and understand the food processing information of all the batches, and can try to guess or analyze the generation mode of the key, the difficulty of attack is increased, and the safety of the food processing information is improved.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions and advantages of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are only some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
Fig. 1 is a block diagram of an eight-treasure cake food processing information tracing management system according to an embodiment of the present invention.
Detailed Description
In order to further describe the technical means and effects adopted by the invention to achieve the preset aim, the following detailed description is given below of a detailed implementation, structure, characteristics and effects of the eight-delicacy cake food processing information traceability management system according to the invention in combination with the accompanying drawings and the preferred embodiment. In the following description, different "one embodiment" or "another embodiment" means that the embodiments are not necessarily the same. Furthermore, the particular features, structures, or characteristics of one or more embodiments may be combined in any suitable manner.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
The invention provides a specific scheme of the eight-treasure cake food processing information traceability management system, which is specifically described below with reference to the accompanying drawings.
Referring to fig. 1, a block diagram of an eight-treasure cake food processing information tracing management system according to an embodiment of the present invention is shown, where the system includes: the processing system comprises a data acquisition module 101, an eight-treasure cake processing information processing module 102 and an eight-treasure cake processing information tracing module 103.
The data acquisition module 101 creates a special blockchain network for tracing the eight-treasure cake processing information, and acquires and uploads eight-treasure cake processing data into the blockchain.
Firstly, a special blockchain network is created for tracing food processing information, a manufacturer can select to use a public chain, a alliance chain or a private chain for creation, the creation depends on enterprise requirements and compliance requirements, the creation can be realized through the prior art, and the embodiment is not limited in particular. Participants in the blockchain are then defined, including suppliers and manufacturers, and finally determine the data elements necessary for the traceability and traceability of the food processing information, including: raw material information, eight-treasure cake production information, storage information, shipment and sales information.
The raw material information is detailed information of raw materials, and comprises raw material names, sources and production dates; the production process records eight-treasure cake production information collected by a sensor or monitoring equipment, including production date, temperature and humidity; the storage information is the storage conditions monitored by the warehouse equipment sensor, including the temperature, humidity and storage date during storage; the shipment and sales are recorded as the date of sale, the sales channel, and the sales of the product. The production temperature and the storage humidity are respectively acquired by a related temperature sensor and a related humidity sensor.
When the related data elements are integrated into the blockchain, the suppliers integrate the raw material information into bar codes, two-dimensional codes and other mode identifications, the manufacturers record the related information into the blockchain through scanning identifications, and the manufacturers collect production, storage and shipment sales information and record the production, storage and shipment sales information into the blockchain.
The eight-treasure cake processing information processing module 102 integrates each data element by using a structured table, analyzes correlation among rows to construct a production panoramic difference factor, analyzes raw material information and a variation factor of a production process, constructs a correlation randomization index of the same raw material source and a heterogeneity randomization index of different raw material sources by using the same raw material source, combines the raw material sources to generate a secret key, and encrypts each batch of food processing information.
Integrating the data elements acquired in the data acquisition module into a structured form for better management and recording of the data, the integrated structured form being as follows:
wherein, the production batch numberFor each production lot, a unique identifier is used for distinguishing eight-treasure cakes in different lots, raw material information represents data elements related to raw materials, such as raw material names, raw material sources and raw material production dates, eight-treasure cake production information is data elements related to eight-treasure cake production processes, such as eight-treasure cake production dates, production temperatures and production humidities, storage conditions comprise data elements of storage conditions of Guan Bazhen cakes during storage, including storage temperatures, storage humidities and storage dates, and shipment and sales records comprise data elements related to eight-treasure cake sales, including sales dates, sales channels and sales amounts.The n-th data element of the eight-treasure cake with m is produced.
The food production information may contain data related to supply chains, production processes and other sensitive commercial information, which relates to the security and quality of the food, and an attacker may eavesdrop, modify or replace the data to make counterfeit products and mix it into a legal supply chain, in order to ensure confidentiality, integrity and availability of the data and to prevent threat from man-in-the-middle attacks, the related data of the food production information needs to be encrypted, however, in the conventional encryption algorithm, the generation of the key follows certain rules and is easy to attack, resulting in insufficient security of encryption, and in the present invention, DES encryption is adopted to encrypt the food production information.
In the first placeLine data and the +.sup.th of the batch preceding it>Line data is input +.>Metric +.about.using pearson correlation coefficient>Line data and->Correlation of different data types between rows +.>Line data and->The correlation between the line raw material information is noted +.>The correlation between eight delicacies cake production information is recorded as +.>The correlation between the stored information is noted +.>The correlation between shipment and sales information is noted +.>. The pearson correlation coefficient reflects the lot +.>And batch->Linear relationship between the two. If->The data between the two batches are positively correlated, i.e. when one variable increases, the other increases, if +.>The data between the two batches are inversely related, i.e. when one variable increases, the other decreases, if +.>The value of (2) is close to 0, then between the two batchesThere was little linear relationship between the data. The relevance of raw materials, production, storage and sales processes of the eight-treasure cakes in different batches can be obtained by analyzing the pearson correlation coefficient between different data types. Construction and production of panoramic difference factor
Wherein,absolute value of pearson correlation coefficient representing absolute value of p-th data type between x-th row and q-th row for measuring correlation between different data types, the absolute value ensuring that positive and negative correlation is considered, the larger the value thereof, the more>The smaller p and q are both sum indices. />The difference of raw materials, production, storage and sales information between x and the previous different batches is comprehensively considered by calculating the pearson correlation coefficient of the different data types between each batch and the previous batch, so that the overall difference trend of the data types in the eight-treasure cake production process is known.
In the production of eight-treasure cakes, four data types of raw materials, a production process, a storage process, shipment and sales records all can be different due to different production batches, each link involved in the eight-treasure cake production process can be changed along with time, for example, suppliers of the raw materials can be changed, production temperature and humidity can be influenced by seasonal changes, sales channels can be adjusted along with market demands, and the like, so that the complexity of key generation can be increased by utilizing diversified data from different batches, and the difficulty of an attacker to crack keys is increased. In raw materials, production processes, storage processes, and shipment and salesRecording these four data types, raw materials generally have unique characteristics and supply chain characteristics in food production, while production process, storage process and shipment and sales records relate to food preparation, preservation and circulation, different batches of raw materials are divided into different sources, and the relevance randomization index of the same raw material source is constructed
Wherein,representing a relevance randomization index,/->For the total number of production batches>For indicating function +.>The method comprises the following steps: when->Raw material name and->When the sources of the raw materials of the production batches are the same, the raw materials are +.>1, otherwise->0->Is->Production lot->Data of eight delicacies data type +.>Is->Production lot->Data of eight delicacies data type +.>To produce a panoramic disparity factor; />Is a natural constant.
The influence of different raw materials is eliminated through the indication function, and the assurance is ensuredOnly the same raw materials were analyzed and,represents the +.>The rate of change of the seed data type, if the sources are the same, is 1; if the source is different, the change rate is more than 1, the source of the raw materials is amplified for +.>Weight of->Representing the data difference between the current production lot and all the previous production lots, < >>The bigger the->The larger the binding molecule, the greater the impact of the degree of variation from the previous production lot.
The above-mentioned random index of relativity when the sources of raw materials are identical is analyzed, the data relativity when the sources of raw materials are different is now analyzed, the information entropy of three data of raw material names, raw material sources and raw material production dates of all batches are respectively obtained, and the information entropy of raw material names is recorded asThe information entropy of the source of the raw material is +.>The information entropy of the raw material production date is +.>Thus constructing a heterogeneous randomization index of different raw material sources->
Wherein,is a heterogeneous randomization index,/->For the anti-indication function +.>The method comprises the following steps: judging->Whether the raw material name of the individual production lot is equal to +.>The production batches are identical, if identical, the anti-indicating function +.>Is 0; conversely, the anti-indication function +.>1->、/>And->Information entropy of raw material name, raw material source and raw material production date, respectively, < >>For the relevance randomization index, +.>To produce a panoramic disparity factor.
By indicating a function in the above formulaEnsure that only the calculation is performed between lines of different source of raw material, introduce + ->As the weight of heterogeneity, the influence of different raw material sources is considered more finely, and the weight is adjusted according to the size of information entropy so as to better capture the diversity of the raw material sources along with>Is increased by an increase in (a); introduction ofSo that uncertainty of raw material names and production dates is more comprehensively considered when calculating heterogeneous randomization indexes, and parameter adjustment is carried out through relevance randomization indexes so as to better reflect complex relation of data and improve safety of a system, wherein the larger the value is>The larger; />The data difference between the current batch and the previous batch can be better considered, and the panoramic difference factor is produced in combination>Indicating the degree of overall data difference, +.>And will increase accordingly.
Obtaining a relevance randomization index of the same raw material sourceHeterogeneity randomization index of different raw material sources +.>Thereafter, an advanced encryption standard (Advanced Encryption Standard, AES) encryption algorithm is used to、/>Defining a key generation function as an input parameter, generating a key +.>
Wherein,is the generated key,/->For hash function, ++>For the relevance randomization index, +.>Is a heterogeneous randomization index,/->For connecting operators, ++>As an arctangent function.
When the first isWhen all data elements of the batch of eight delicacies are written into the blockchain, the batch of data elements is combined with the +.>The batch data elements form a structured data matrix like a table and the key is generated by the above calculation>And by->All data elements of the batch of eight delicacies cake are used as input, DES algorithm and key +.>And data encryption is carried out.
The eight-treasure cake processing information tracing module 103 binds the encrypted data production identification code with the corresponding product, so that a buyer can decrypt the encrypted information through the identification code, thereby tracing the food processing information.
Generating unique identification code for food processing information of each product, using the identification code to obtain identification information and blockchain address of the product, querying blockchain, analyzing food processing data, combining the food processing data with food processing data of previous batch stored in blockchain, and calculating production quality factor of eight delicacies cakeAnd raw material influencing factor->To generate a specific key +.>Use of this key->The user can decrypt the circulation data of the product, thereby obtaining the detailed content of food processing information of the related product, enabling the user to check the decrypted data and verifying the authenticity and legitimacy of the product. The process allows the user to perform traceability management of eight-treasure cake food processing information so as to ensure the quality and source of the product to be traceable and enhance food safety and trust.
The above procedure according to the present embodiment thus far employs the DES algorithm and the keyThe eight-treasure cake processing information data is encrypted, and decryption tracing of the eight-treasure cake processing information can be realized through decryption processing, so that food safety is improved.
It should be noted that: the sequence of the embodiments of the present invention is only for description, and does not represent the advantages and disadvantages of the embodiments. The processes depicted in the accompanying drawings do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments.
The foregoing description of the preferred embodiments of the present invention is not intended to be limiting, but rather, any modifications, equivalents, improvements, etc. that fall within the principles of the present invention are intended to be included within the scope of the present invention.

Claims (10)

1. An eight delicacies cake food processing information traceability management system, characterized in that the system comprises:
the data acquisition module acquires data of eight-treasure cake data types, including eight-treasure cake raw material information, production information, storage conditions and shipment and sales information;
the eight-treasure cake processing information processing module is used for taking information acquired by each production batch as each row vector, and acquiring a production panorama difference factor according to a pearson coefficient between the row vector data types of the current production batch and the previous production batch; constructing an indication function according to the difference of the same eight-treasure cake data types of adjacent production batches; obtaining a relevance randomization index according to the relation, the indication function and the production panorama difference factor of all the data types of all the adjacent production batches; constructing an anti-indication function; constructing a heterogeneity randomization index according to the information entropy, the anti-indication function, the relevance randomization index and the production panorama difference factor of each data type of raw material information; constructing a key according to the relevance randomization index and the heterogeneity randomization index in combination with a hash function; encrypting all data types of the eight-treasure cakes by adopting a DES algorithm and a secret key;
and the eight-treasure cake processing information tracing module is used for decrypting the encrypted information through a decryption algorithm to complete tracing of eight-treasure cake food processing information.
2. The eight-treasure cake food processing information traceability management system according to claim 1, wherein the eight-treasure cake data types comprise 12 kinds in total.
3. The eight-treasure cake food processing information traceability management system according to claim 2, wherein the eight-treasure cake raw material information and production information specifically comprise:
the data types included in the raw material information are: raw material name, raw material source, raw material production date; the eight delicacies cake production information comprises the following data types: eight delicacies cake production date, production temperature and production humidity.
4. The eight-treasure cake food processing information traceability management system according to claim 2, wherein the storage conditions and shipment and sales information are specifically:
the storage conditions include the following data types: storage temperature, storage humidity and storage date; the shipment and sales include the following data types: sales date, sales channel, and sales amount.
5. The eight-treasure cake food processing information traceability management system according to claim 1, wherein the obtaining the panorama difference factor according to the pearson coefficient between the line vector data types of the current production lot and the previous production lots specifically comprises:
calculating the Pearson coefficient between the raw material information of the current production batch and the previous production batches, the Pearson coefficient between the eight-treasure cake production information, the Pearson coefficient between the eight-treasure cake storage information and the Pearson coefficient between the shipment and sales information;
the negative number of the absolute value of each pearson coefficient is taken as an index of an exponential function taking a natural constant as a base, and the average value of all the calculation results of the exponential function is taken as a panoramic difference factor.
6. The system for traceability management of eight-treasure food processing information according to claim 5, wherein the constructing the indication function according to the difference between the same eight-treasure data types of adjacent production lots specifically comprises:
judging whether the names of the raw materials in the current batch are the same as those of the raw materials in the previous batch, and if so, giving an indication function a value of 1; otherwise, the indicator function takes a value of 0.
7. The eight-treasure cake food processing information traceability management system according to claim 6, wherein the relevance randomization index is obtained according to the relationship, the indication function and the production panorama difference factor of all the adjacent production batches, and the expression is:
in the method, in the process of the invention,for the relevance randomization index, +.>For the total number of production batches>To indicate a function, in particular, whenRaw material name and->When the sources of the raw materials of the production batches are the same, the raw materials of the production batches are->1, otherwise->0->、/>Respectively +.>、/>Production lot->Data of eight delicacies data type +.>To produce a panoramic disparity factor; />Is a natural constant.
8. The eight-treasure food processing information traceability management system according to claim 6, wherein the constructing the anti-indication function comprises:
judging whether the names of the raw materials in the current batch are the same as those of the raw materials in the previous batch, and if so, taking the value of the reverse indication function as 0; otherwise, the value is 1.
9. The eight-treasure cake food processing information traceability management system according to claim 3, wherein the constructing the heterogeneity randomization index according to the information entropy, the anti-indication function, the relatedness randomization index, and the production panorama difference factor of each data type of the raw material information comprises:
respectively calculating information entropy of raw material name, raw material source and raw material production date in raw material information, and recording asThe expression for the heterogeneity randomization index is:
in the method, in the process of the invention,is a heterogeneous randomization index,/->Is an anti-indication function, specifically, judging the +.>Whether the raw material name of the individual production lot is equal to +.>The production batches are identical, if identical, the anti-indicating function +.>Is 0; conversely, the anti-indication function +.>1->For the relevance randomization index, +.>For the production of panoramic differentiation factor, < >>For the total number of production batches>Is a natural constant.
10. The eight-treasure cake food processing information traceability management system according to claim 1, wherein the key is constructed according to a relevance randomization index and a heterogeneity randomization index in combination with a hash function, and the expression is:
in the method, in the process of the invention,is the generated key,/->For hash function, ++>For the relevance randomization index, +.>Is a heterogeneous randomization index,/->For connecting operators, ++>As an arctangent function.
CN202311679641.XA 2023-12-08 2023-12-08 Eight delicacies cake food processing information management system that traces to source Active CN117372051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311679641.XA CN117372051B (en) 2023-12-08 2023-12-08 Eight delicacies cake food processing information management system that traces to source

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311679641.XA CN117372051B (en) 2023-12-08 2023-12-08 Eight delicacies cake food processing information management system that traces to source

Publications (2)

Publication Number Publication Date
CN117372051A true CN117372051A (en) 2024-01-09
CN117372051B CN117372051B (en) 2024-03-08

Family

ID=89395083

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311679641.XA Active CN117372051B (en) 2023-12-08 2023-12-08 Eight delicacies cake food processing information management system that traces to source

Country Status (1)

Country Link
CN (1) CN117372051B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120109789A1 (en) * 2010-10-29 2012-05-03 International Business Machines Corporation Identifying source material associated with food products using bill of material
CN111972666A (en) * 2020-07-28 2020-11-24 经鸿纬预防医学科技(上海)有限公司 Medicine-food homologous magnolia obavata cake capable of improving immunity and data tracing method thereof
CN113144113A (en) * 2021-03-24 2021-07-23 江西百神药业股份有限公司 Nitrogen-filled spleen-tonifying eight-treasure cake and nitrogen-filled packaging method
CN113837773A (en) * 2021-09-24 2021-12-24 卢晓洁 Data transmission system and method based on Internet of things
CN116385031A (en) * 2023-06-07 2023-07-04 山东科技大学 Data tracing method based on big data and multiple data sources

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120109789A1 (en) * 2010-10-29 2012-05-03 International Business Machines Corporation Identifying source material associated with food products using bill of material
CN111972666A (en) * 2020-07-28 2020-11-24 经鸿纬预防医学科技(上海)有限公司 Medicine-food homologous magnolia obavata cake capable of improving immunity and data tracing method thereof
CN113144113A (en) * 2021-03-24 2021-07-23 江西百神药业股份有限公司 Nitrogen-filled spleen-tonifying eight-treasure cake and nitrogen-filled packaging method
CN113837773A (en) * 2021-09-24 2021-12-24 卢晓洁 Data transmission system and method based on Internet of things
CN116385031A (en) * 2023-06-07 2023-07-04 山东科技大学 Data tracing method based on big data and multiple data sources

Also Published As

Publication number Publication date
CN117372051B (en) 2024-03-08

Similar Documents

Publication Publication Date Title
JP7205996B2 (en) A distributed ledger of physical materials
US20180232731A1 (en) Supply chain recording method with traceable function by implementing blockchain technique
CN104426973B (en) A kind of cloud database encryption method, system and device
Švenda et al. The {Million-Key}{Question—Investigating} the Origins of {RSA} Public Keys
US20100122083A1 (en) Method and apparatus for securely communicating personal health information
JP2019514301A (en) System and method for performing verification and operations on homomorphically encrypted data
US20030046198A1 (en) Anonymous recommendation technique
CN112967074B (en) Block chain driven rice supply chain information supervision model construction method
CN110661790A (en) Block chain private data protection method, device, equipment and medium
CN105190636A (en) Genetic information storage device, genetic information search device, genetic information storage program, genetic information search program, genetic information storage method, genetic information search method, and genetic information search system
JP2007507120A (en) Product protection gateway and method for checking product authenticity
CN113034128B (en) Block chain-based data transaction and right confirmation method
US10234885B2 (en) Method and system for facilitating auditing of power generation and allocation thereof to consumption loads
Lu et al. Efficient secure outsourcing of genome-wide association studies
US11741247B2 (en) Smart privacy and controlled exposure on blockchains
WO2011026326A1 (en) Tracing and recalling system for managing commodity circulation based on internet
CN106101092A (en) A kind of information evaluation processing method and first instance
CN108171076B (en) Big data correlation analysis method and system for protecting privacy of consumers in electronic transaction
CN110765488B (en) Data storage and reading method and electronic equipment
Ahmad et al. MID-Crypt: a cryptographic algorithm for advanced medical images protection
CN104836817A (en) Architecture and method for ensuring network information safety
Liu et al. A privacy-preserving medical data sharing scheme based on consortium blockchain
CN113039748B (en) Computer-implemented systems and methods based on neural blockchain
CN117372051B (en) Eight delicacies cake food processing information management system that traces to source
Watanabe et al. A novel chip-level blockchain security solution for the Internet of Things networks

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant