Food inspection detection data encryption sharing method and system

By collecting and processing data at each stage of food production, building a shared platform, and implementing data encryption and access control, the security and interoperability issues in food inspection and testing data sharing have been resolved, achieving data accuracy and security.

CN120296769BActive Publication Date: 2026-01-13QINHUANGDAO FUSHOU FOOD CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202510522484.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2025-04-24
Publication Date
2026-01-13
Estimated Expiration
2045-04-24

AI Technical Summary

Technical Problem

In existing technologies, food inspection and testing data cannot be effectively collected and processed, resulting in poor data interoperability, inability to perform encryption control, and reduced security and compliance of inspection data sharing.

Method used

Data collection and processing are conducted at all stages of food production. A shared platform is built, data input and terminal access ports are set up, data encryption and direction monitoring are implemented, and access terminal permissions are controlled to ensure data security and compliance.

Benefits of technology

By adopting strict data collection and processing standards, we ensure data accuracy and security, reduce the risk of data leakage, and improve the security performance and interoperability of the data sharing platform.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120296769B_ABST
    Figure CN120296769B_ABST
Patent Text Reader

Abstract

The application discloses a food inspection detection data encryption sharing method and system, relates to the technical field of data encryption sharing, and solves the technical problem that the prior art cannot perform encryption control from the data direction and the terminal direction, and reduces the security of inspection data sharing, specifically, data encryption, type division and data analysis encryption are performed according to real-time uploading data; data direction monitoring, data transmission detection is performed in the data sharing stage, and the sharing platform is evaluated in terms of sharing security through the data transmission detection; terminal control, an access terminal connected with the sharing platform is controlled, process control is performed when the access terminal enters the sharing platform to access data, and access limitation of the access terminal is set; and terminal direction monitoring, data flow directions of real-time access terminals are identified and detected, and the authority accuracy of the access terminal is ensured.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data encryption and sharing technology, specifically to a method and system for encrypting and sharing food inspection and testing data. Background Technology

[0002] Food inspection and testing data involves sensitive information such as enterprise product formulas, quality and safety, and supply chain information. Its encrypted sharing must meet the collaborative needs of regulatory agencies, manufacturers, testing institutions, and consumers while ensuring data privacy and compliance.

[0003] However, in existing technologies, it is impossible to collect and process data during food production, and data verification cannot be effectively carried out, which reduces the data interoperability between various production departments. In addition, it is impossible to perform encryption control from the data direction and the terminal direction, which reduces the security of data sharing.

[0004] To address the aforementioned technical shortcomings, a solution is proposed. Summary of the Invention

[0005] The purpose of this invention is to solve the problems mentioned above by proposing a method and system for encrypting and sharing food inspection and testing data.

[0006] The objective of this invention can be achieved through the following technical solutions:

[0007] A method for encrypting and sharing food inspection and testing data, comprising the following steps:

[0008] Data acquisition and processing: In the food production stage, from raw material collection to the preparation production line, data is collected at every stage of food production and processed based on the collected data.

[0009] After collecting and processing the data, a shared platform is built based on the collected data. The shared platform is set up with two ports: a data input port and a terminal access port. The data input port inputs the collected data from the food production stage into the shared platform as the display data of the shared platform, while the terminal access port is used for communication between the data access terminal and the shared platform.

[0010] Data encryption involves classifying and analyzing real-time uploaded data for encryption.

[0011] Data direction monitoring involves detecting data transmission during the data sharing phase and using this data transmission detection to assess the sharing security of the sharing platform based on the data direction.

[0012] Terminal control controls the communication connections of the shared platform with access terminals, performs process control when access terminals enter the shared platform to access data, and sets access restrictions for access terminals.

[0013] Terminal direction monitoring identifies and detects the data flow direction of real-time access terminals to ensure the accuracy of access permissions.

[0014] In a preferred embodiment of the present invention, the data acquisition and processing process is as follows:

[0015] Data is collected from each stage of the food production process and then processed. First, the range of values ​​corresponding to the collected data is determined. Then, the fluctuation range is obtained based on the maximum fluctuation of the data at each time point, and the fluctuation duration is obtained based on the number of consecutive moments within the fluctuation range. Finally, the fluctuation range and fluctuation duration are compared.

[0016] If the fluctuation span exceeds the span threshold and the fluctuation duration is less than the duration threshold, the corresponding value will be marked as occasional data; if the fluctuation span does not exceed the span threshold and the fluctuation duration is greater than the duration threshold, the corresponding value will be marked as fluctuating data; if the fluctuation span exceeds the span threshold and the fluctuation duration is greater than the duration threshold, the corresponding value will be marked as risky data; if the fluctuation span does not exceed the span threshold and the fluctuation duration is less than the duration threshold, the corresponding value will be marked as safe data.

[0017] In a preferred embodiment of the present invention, safety data and risk data are retained, while fluctuation data is stored separately and the changes in the fluctuation range are recorded. If the range change shows an increasing trend, it is imported into the risk data type and stored synchronously; if the range change shows a decreasing or constant trend, it is imported into the safety data type and stored synchronously. For occasional data, if the frequency of occurrence does not increase, only the occasional data with the largest real-time value is recorded, and the rest of the data is not recorded.

[0018] In a preferred embodiment of the present invention, the real-time recorded data is stored, and a shared platform is set up. A platform processor is constructed, and the hardware device for storing data is used as the platform data pool. The production department corresponding to each time moment is obtained according to the production stage in the data pool. The access terminal corresponding to the production department is connected to the shared platform for communication. If data traffic is generated at the access port of the corresponding terminal during the connection process, the data of the production department corresponding to the current access terminal is restricted from overlapping with the stored data at the current access time.

[0019] As a preferred embodiment of the present invention, the data encryption process is as follows:

[0020] Data is categorized into three types based on the same type of data under different scenarios within the food production stage, and then labeled as data of the same type under different scenarios; different types of data under different scenarios within the food production stage are labeled as data of different types under different scenarios.

[0021] Based on the uniqueness analysis of data throughout the entire production stage, it is determined whether different types of data in different scenarios need to be encrypted. If different types of data in different scenarios are unique, then the current different types of data in different scenarios are set to fully encrypted, that is, both the data type and the data value are encrypted. After the access terminal has access rights, the data type and data value at the previous access time are used as the key. If different types of data in different scenarios are not unique, then the current different types of data in different scenarios are set to misclassified, that is, both the data type and the data value are inconsistent with the corresponding processing time. After the access terminal has access rights, access authorization is based on the data type and data value of the first access and the evaluation result of the corresponding production stage. That is, if the access terminal successfully determines that the current data type or data value does not belong to the current production stage, then real-time data display is performed.

[0022] If the data of the same type is unique in a different scenario, then the different types of data in the current scenario are set to semi-encrypted, that is, the data type is public and the data value is set to encrypted. After the access terminal has access rights, the data range of the current data type is determined, and the data value is displayed when it is within the set data range.

[0023] As a preferred embodiment of the present invention, the terminal control process is as follows:

[0024] Data access operations are restricted based on the access terminal's permission scope. Browsing commands and their corresponding data browsing progress are backed up in real time. During actual browsing, browsing footprints at each time point are retained in the background and cannot be overwritten or deleted. If a browsing command outside the current permission scope is generated, the data browsing progress of the corresponding browsing command is monitored in real time. If browsing commands outside the permission scope appear consecutively in the browsing progress, the shared data access time of the corresponding access terminal is restricted; and if they appear consecutively, the access time of the access terminal is suspended.

[0025] In a preferred embodiment of the present invention, the data direction monitoring process is as follows:

[0026] The system collects the proportion of encrypted and unencrypted data in the data accessed by the terminal. If the proportion of encrypted and unencrypted data exceeds a set threshold, or if the increase in the proportion of data at adjacent access times exceeds a set threshold, the access range of the corresponding terminal is marked as a targeted range. If the proportion of encrypted and unencrypted data does not exceed the set threshold, and the increase in the proportion of data at adjacent access times does not exceed the set threshold, the access range of the corresponding terminal is marked as a balanced range.

[0027] In a preferred embodiment of the present invention, the deviation value of data transmission traffic during access to the corresponding targeted range and balanced range is obtained. If the deviation value of the corresponding data transmission traffic exceeds the traffic deviation threshold, or the data transmission speed deviation exceeds the speed deviation threshold, it is inferred that the data flow of the access terminal in the shared platform is at risk. The shared platform reduces the transmission speed of the access terminal and checks the access permissions and access range. If the deviation value of the corresponding data transmission traffic does not exceed the traffic deviation threshold, and the data transmission speed deviation does not exceed the speed deviation threshold, it is inferred that the data flow of the access terminal in the shared platform is safe.

[0028] In a preferred embodiment of the present invention, the network address of the access terminal is determined, and virtual access terminals are excluded according to a fixed period of the network address. The access instructions outside the permission range in the historical access phase of the access terminal are analyzed. If the access instructions outside the permission range are continuously in the same type of data, the access terminal is restricted to reduce the amount of access instructions outside the permission range. If the access instructions outside the permission range are not continuously in the same type of data, it is inferred that the current access terminal is normal.

[0029] A food inspection and testing data encryption and sharing system includes: a data processing terminal, used to collect data from each stage of food production and process the collected data;

[0030] The data sharing platform, after receiving and processing the collected data, is built based on the collected data. The shared platform is set up with two ports: a data input port and a terminal access port. The data input port inputs the collected data from the food production stage into the shared platform as the display data of the shared platform, while the terminal access port is used for communication between the data access terminal and the shared platform.

[0031] The data analysis and encryption unit categorizes and encrypts the data based on the types of real-time uploaded data.

[0032] The data sharing management unit performs data transmission detection during the data sharing phase and conducts a sharing security assessment of the sharing platform based on the data direction through data transmission detection.

[0033] The terminal access setting unit controls the communication connection of the shared platform with the access terminal, performs process control when the access terminal enters the shared platform to access data, and sets access restrictions for the access terminal.

[0034] The terminal sharing management unit identifies and detects the data flow of real-time access terminals to ensure the accuracy of access permissions.

[0035] Compared with the prior art, the beneficial effects of the present invention are:

[0036] 1. In this invention, data is collected and processed at each stage of food production. The collected data is optimized, and strict data collection, storage and processing standards are established to ensure the accuracy of the data and to ensure that the real-time collected data can reflect the food production status.

[0037] The data is categorized and analyzed based on real-time uploads to ensure their security. This ensures the sharing platform can function as a data exchange platform and prevents data leaks that could affect food production.

[0038] 2. In this invention, data transmission detection is performed during the data sharing phase. The sharing security of the sharing platform is assessed by the data direction through data transmission detection to ensure the sharing security performance of the sharing platform. This avoids the situation where high-risk data transmission causes storage risks for other unshared data, which would reduce the execution security performance of the sharing platform and affect the safety of processing parameters such as procedures and formulas related to food processing.

[0039] 3. In this invention, the communication connection of the sharing platform is controlled by the access terminal. When the access terminal enters the sharing platform to access data, process control is performed, and access restrictions are set for the access terminal to reduce the risk of leakage of shared data by the data access terminal. Combined with the detection of shared data flow within the sharing platform, the data flow direction of the real-time access terminal is identified and detected to ensure the accuracy of the access terminal's permissions and reduce the risk of abnormal data flow caused by virtual access terminals, which cannot be accurately traced and cannot ensure the security of shared data. Attached Figure Description

[0040] To facilitate understanding by those skilled in the art, the present invention will be further described below with reference to the accompanying drawings.

[0041] Figure 1 This is a flowchart of the method of the present invention;

[0042] Figure 2 This is a system block diagram of the present invention. Detailed Implementation

[0043] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0044] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of the invention. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0045] Please see Figure 1 As shown, a method for encrypting and sharing food inspection and testing data is described. The specific steps of the data encryption and sharing method are as follows:

[0046] Data acquisition and processing: In the food production stage, from raw material collection to the preparation production line, data is collected at each stage of food production and processed based on the collected data. The collected data is optimized in the food production stage. By formulating strict data collection, storage and processing standards, the accuracy of the data is ensured and the real-time data collected can reflect the status of food production.

[0047] After collecting and processing the data, a shared platform is built based on the collected data. The shared platform is configured with two ports: a data input port and a terminal access port. The data input port inputs the data collected during the food production stage into the shared platform as the display data, while the terminal access port is used for communication between the data access terminals and the shared platform. The data access terminals are data access terminal devices for production departments such as processing, transportation, and waste disposal.

[0048] Data encryption: After the sharing platform is built, the data is classified and encrypted according to the type of real-time uploaded data to ensure the security of real-time uploaded data, ensure that the sharing platform can play a role in data communication, and avoid the leakage of shared data on the sharing platform, which would affect the progress of food production.

[0049] Data direction monitoring involves conducting data transmission detection during the data sharing phase after data encryption is completed. This data transmission detection assesses the sharing security of the sharing platform based on the data direction, ensuring the platform's sharing security performance and preventing high-risk data transmission from causing storage risks for other unshared data. This avoids reducing the platform's execution security performance and impacting the safety of processing parameters such as procedures and formulas in food processing.

[0050] Terminal control, which is implemented synchronously with data encryption after the shared platform is built, is used to control the communication connection of the shared platform with access terminals. It performs process control when the access terminal enters the shared platform to access data, and sets access restrictions for the access terminal to reduce the risk of data access terminals leaking shared data.

[0051] After terminal direction monitoring and control, combined with the detection of shared data flow within the shared platform, the data flow direction of the real-time access terminal is identified and detected to ensure the accuracy of access terminal permissions and reduce the risk of data flow anomalies caused by virtual access terminals, which cannot be accurately traced and cannot ensure the security of shared data.

[0052] The data acquisition and processing process is as follows:

[0053] Data is collected from each stage of the food production process and then processed. First, the range of values ​​for the collected data is determined, such as the range of temperature data and corresponding values, and the range of raw material loss data and corresponding values. Then, the fluctuation range is obtained based on the maximum fluctuation of the data at each moment, and the fluctuation duration is obtained based on the number of consecutive moments within the fluctuation range. The fluctuation range and fluctuation duration are compared: if the fluctuation range exceeds the range threshold but the fluctuation duration is lower than the duration threshold, the corresponding value is marked as occasional data; if the fluctuation range does not exceed the range threshold but the fluctuation duration is higher than the duration threshold, the corresponding value is marked as fluctuating data; if the fluctuation range exceeds the range threshold but the fluctuation duration is higher than the duration threshold, the corresponding value is marked as risky data; if the fluctuation range does not exceed the range threshold but the fluctuation duration is lower than the duration threshold, the corresponding value is marked as safe data.

[0054] Security data and risk data are retained, while fluctuating data is stored separately and the changes in the fluctuation range are recorded. If the range change shows an increasing trend, it is imported into the risk data type and stored synchronously; if the range change shows a decreasing or constant trend, it is imported into the security data type and stored synchronously. For occasional data, if the frequency of occurrence does not increase, only the occasional data with the largest real-time value is recorded, and the rest of the data is not recorded.

[0055] The process of setting up a shared platform is as follows:

[0056] The real-time recorded data is stored, and a shared platform is set up. The platform processor is built with the hardware device for storing data as the platform data pool. The production department corresponding to each time moment is obtained according to the production stage in the data pool. The access terminal corresponding to the production department is connected to the shared platform for communication. If the access port of the corresponding terminal generates data traffic during the connection process, the data of the production department corresponding to the current access terminal is restricted from overlapping with the stored data at the current access time. That is, the real-time generated data is generated by the production stage of the current production department.

[0057] The data encryption process is as follows:

[0058] The collected data uploaded to the sharing platform is encrypted, and after encryption, the platform's permissions are set to shared status. The type of collected data is determined, and the data is screened according to the same type of data in different scenarios within the food production stage, and marked as scenario-specific data of the same type, such as equipment temperature, ambient temperature, and raw material processing temperature, with temperature being scenario-specific data of the same type. Different types of data in different scenarios within the food production stage are marked as scenario-specific data of different types, such as raw material ratios within the production stage and the real-time product composition ratios after ratios. The uniqueness criterion is that the data exists in the current stage and does not appear in other stages, or the data existing in the current stage cannot have the same value in other stages.

[0059] Based on the uniqueness analysis of data throughout the entire production stage, it is determined whether different types of data in different scenarios need to be encrypted. If different types of data in different scenarios are unique, then the current different types of data in different scenarios are set to fully encrypted, that is, both the data type and the data value are encrypted. After the access terminal has access rights, the data type and data value at the previous access time are used as the key. If different types of data in different scenarios are not unique, then the current different types of data in different scenarios are set to misclassified, that is, both the data type and the data value are inconsistent with the corresponding processing time. After the access terminal has access rights, access authorization is based on the data type and data value of the first access and the evaluation result of the corresponding production stage. That is, if the access terminal successfully determines that the current data type or data value does not belong to the current production stage, then real-time data display is performed.

[0060] If the data of the same type is unique in a different scenario, then the different types of data in the current scenario are set to semi-encrypted, that is, the data type is public and the data value is set to encrypted. After the access terminal has access rights, the data range of the current data type is determined, and the data value is displayed when it is within the set data range.

[0061] The terminal control process is as follows:

[0062] Access terminals are obtained and connected to the sharing platform based on the food production stage. Access restrictions are imposed on access terminals that pass identity verification. Identity verification refers to the identification and authentication of the operator of the access terminal when it connects to the sharing platform. Specific access restrictions are as follows: data access operations are restricted according to the access terminal's permission scope. Browsing instructions and their corresponding data browsing progress are backed up in real time. Browsing footprints at each time point during the actual browsing process are retained in the background and cannot be overwritten or deleted. If a browsing instruction outside the current permission scope is generated, the data browsing progress of the corresponding browsing instruction is monitored in real time. If browsing instructions outside the permission scope appear consecutively in the browsing progress, the shared data access time of the corresponding access terminal is restricted; and if this occurs consecutively, the access time of the access terminal is suspended.

[0063] The data direction monitoring process is as follows:

[0064] After data encryption is completed and the access terminal is identified, data flow detection is performed on the shared platform. Once the data flow within the shared platform reaches the access terminal, the real-time access range of the access terminal is analyzed. The proportion of encrypted and unencrypted data in the access data of the access terminal is collected. If the proportion of encrypted and unencrypted data exceeds a set data proportion threshold, or the increase span of the corresponding data proportion at adjacent access times exceeds a set increase span threshold, the access range of the corresponding access terminal is marked as a targeted range. If the proportion of encrypted and unencrypted data does not exceed the set data proportion threshold, and the increase span of the corresponding data proportion at adjacent access times does not exceed the set increase span threshold, the access range of the corresponding access terminal is marked as a balanced range.

[0065] If the deviation value of the data transmission traffic during the access process of the corresponding targeted range and balanced range is obtained, and the deviation value of the corresponding data transmission traffic exceeds the traffic deviation threshold, or the data transmission speed deviation exceeds the speed deviation threshold, it is inferred that there is a risk in the data flow of the access terminal within the shared platform. The shared platform reduces the transmission speed of the access terminal and checks the access permissions and access range.

[0066] If the corresponding data transmission traffic deviation value does not exceed the traffic deviation threshold and the data transmission speed deviation does not exceed the speed deviation threshold, then it is inferred that the data flow of the access terminal within the shared platform is secure.

[0067] The terminal direction monitoring process is as follows:

[0068] After ensuring the security of data flow within the shared platform, the access terminals within the shared platform are detected. First, the network address of the access terminal is determined, and the authenticity of the current access terminal is inferred based on the fixed period of the network address, ruling out the possibility of virtual access terminals. At the same time, access commands outside the authorized scope in the historical access phase of the access terminal are analyzed. If the access commands outside the authorized scope are continuously of the same type of data, it is inferred that the current access terminal has access abnormality, and access to the access terminal is restricted to reduce the generation of access commands outside the authorized scope; if the access commands outside the authorized scope are not continuously of the same type of data, it is inferred that the current access terminal is accessing normally.

[0069] Please see Figure 2 As shown, a food inspection and testing data encryption and sharing system includes:

[0070] The data processing terminal is used to collect data from each stage of food production and process the collected data.

[0071] The data sharing platform, after receiving and processing the collected data, is built based on the collected data. The shared platform is set up with two ports: a data input port and a terminal access port. The data input port inputs the collected data from the food production stage into the shared platform as the display data of the shared platform, while the terminal access port is used for communication between the data access terminal and the shared platform.

[0072] The data analysis and encryption unit categorizes and encrypts the data based on the types of real-time uploaded data.

[0073] The data sharing management unit performs data transmission detection during the data sharing phase and conducts a sharing security assessment of the sharing platform based on the data direction through data transmission detection.

[0074] The terminal access setting unit controls the communication connection of the shared platform with the access terminal, performs process control when the access terminal enters the shared platform to access data, and sets access restrictions for the access terminal.

[0075] The terminal sharing management unit identifies and detects the data flow of real-time access terminals to ensure the accuracy of access permissions.

[0076] In use, this invention involves data acquisition and processing. During the food production process, from raw material collection to the production line, data is collected and processed at each stage. A shared platform is built based on the collected and processed data. Data encryption is performed by classifying and analyzing real-time uploaded data. Data direction monitoring is conducted during the data sharing phase, and the shared platform's security is assessed based on data direction. Terminal control controls the communication connections of the shared platform with accessing terminals. Process control is implemented when accessing the shared platform, and access restrictions are set for each terminal. Terminal direction monitoring identifies and detects the data flow direction of real-time accessing terminals to ensure the accuracy of access permissions.

[0077] The preferred embodiments of the present invention disclosed above are merely illustrative of the invention. These preferred embodiments do not exhaustively describe all details, nor do they limit the invention to any specific implementation. Clearly, many modifications and variations can be made based on the content of this specification. This specification selects and specifically describes these embodiments to better explain the principles and practical applications of the invention, thereby enabling those skilled in the art to better understand and utilize the invention. The invention is limited only by the claims and their full scope and equivalents.

Claims

1. A method for encrypting and sharing food inspection and testing data, characterized in that, The steps for encrypted data sharing are as follows: Data acquisition and processing: In the food production process, from raw material collection to the preparation line, data is collected at every stage of food production and then processed. The data acquisition and processing process is as follows: Data is collected at each stage of the food production process and then processed. First, the range of values ​​corresponding to the collected data is determined. Then, the fluctuation range is obtained based on the maximum fluctuation of the data at each time point, and the fluctuation duration is obtained based on the number of consecutive moments within the fluctuation range. Finally, the fluctuation range and fluctuation duration are compared. If the fluctuation span exceeds the span threshold and the fluctuation duration is less than the duration threshold, the corresponding value will be marked as occasional data; if the fluctuation span does not exceed the span threshold and the fluctuation duration is greater than the duration threshold, the corresponding value will be marked as fluctuating data; if the fluctuation span exceeds the span threshold and the fluctuation duration is greater than the duration threshold, the corresponding value will be marked as risky data; if the fluctuation span does not exceed the span threshold and the fluctuation duration is less than the duration threshold, the corresponding value will be marked as safe data. After collecting and processing the data, a shared platform is built based on the collected data. The shared platform is set up with two ports: a data input port and a terminal access port. The data input port inputs the collected data from the food production stage into the shared platform as the display data of the shared platform, while the terminal access port is used for communication between the data access terminal and the shared platform. Data encryption involves classifying and analyzing real-time uploaded data for encryption. Data direction monitoring involves detecting data transmission during the data sharing phase and using this data transmission detection to assess the sharing security of the sharing platform based on the data direction. Terminal control controls the communication connections of the shared platform with access terminals, performs process control when access terminals enter the shared platform to access data, and sets access restrictions for access terminals. Terminal direction monitoring identifies and detects the data flow direction of real-time access terminals to ensure the accuracy of access permissions.

2. The method for encrypting and sharing food inspection and testing data according to claim 1, characterized in that, Security data and risk data are retained, while fluctuating data is stored separately and the changes in the fluctuation range are recorded. If the range changes are increasing, it is imported into the risk data type and stored synchronously; if the range changes are decreasing or are constant, it is imported into the security data type and stored synchronously. For occasional data, if the frequency of occurrence does not increase, only the occasional data with the largest real-time value is recorded, and the rest of the data is not recorded.

3. The method for encrypting and sharing food inspection and testing data according to claim 1, characterized in that, The real-time recorded data is stored, and a shared platform is set up. The platform processor is built with the hardware device for storing data as the platform data pool. The production department corresponding to each time moment is obtained according to the production stage in the data pool. The access terminal corresponding to the production department is connected to the shared platform to establish communication. If data traffic is generated at the access port of the corresponding terminal during the establishment process, the data of the production department corresponding to the current access terminal and the stored data at the current access time are restricted from overlapping.

4. The method for encrypting and sharing food inspection and testing data according to claim 1, characterized in that, The data encryption process is as follows: Data is categorized into three types based on the same type of data under different scenarios within the food production stage, and then labeled as data of the same type under different scenarios; different types of data under different scenarios within the food production stage are labeled as data of different types under different scenarios. Based on the uniqueness analysis of data throughout the entire production stage, it is determined whether different types of data in different scenarios need to be encrypted. If different types of data in different scenarios are unique, then the current different types of data in different scenarios are set to fully encrypted, that is, both the data type and the data value are encrypted. After the access terminal has access rights, the data type and data value at the previous access time are used as the key. If different types of data in different scenarios are not unique, then the current different types of data in different scenarios are set to misclassified, that is, both the data type and the data value are inconsistent with the corresponding processing time. After the access terminal has access rights, access authorization is based on the data type and data value of the first access and the evaluation result of the corresponding production stage. That is, if the access terminal successfully determines that the current data type or data value does not belong to the current production stage, then real-time data display is performed. If the data of the same type is unique in different scenarios, then the different types of data in the current scenario are set to semi-encrypted, that is, the data type is public and the data value is set to encrypted. After the access terminal has access rights, the data range of the current data type is determined, and the data value is displayed when it is within the set data range.

5. The method for encrypting and sharing food inspection and testing data according to claim 1, characterized in that, The terminal control process is as follows: Data access operations are restricted based on the access terminal's permission scope. Browsing instructions and their corresponding data browsing progress are backed up in real time. Browsing footprints at each time point during the actual browsing process are retained in the background and cannot be overwritten or deleted. If a browsing instruction outside the current permission scope is generated, the data browsing progress of the corresponding browsing instruction is monitored in real time. If browsing instructions outside the permission scope appear continuously in the browsing progress, the shared data access time of the corresponding access terminal is restricted. Furthermore, if the occurrence of such events occurs consecutively, the access duration of the terminal will be suspended.

6. The method for encrypting and sharing food inspection and testing data according to claim 1, characterized in that, The data direction monitoring process is as follows: The system collects the proportion of encrypted and unencrypted data in the data accessed by the terminal. If the proportion of encrypted and unencrypted data exceeds a set threshold, or if the increase in the proportion of data at adjacent access times exceeds a set threshold, the access range of the corresponding terminal is marked as a targeted range. If the proportion of encrypted and unencrypted data does not exceed the set threshold, and the increase in the proportion of data at adjacent access times does not exceed the set threshold, the access range of the corresponding terminal is marked as a balanced range.

7. The method for encrypting and sharing food inspection and testing data according to claim 6, characterized in that, If the deviation value of the data transmission traffic during the access process of the corresponding targeted range and balanced range is obtained, and the deviation value of the corresponding data transmission traffic exceeds the traffic deviation threshold, or the deviation value of the data transmission speed exceeds the speed deviation threshold, it is inferred that there is a risk in the data flow of the access terminal within the shared platform. The shared platform will reduce the transmission speed of the access terminal and check the access permissions and access range. If the deviation value of the corresponding data transmission traffic does not exceed the traffic deviation threshold, and the deviation value of the data transmission speed does not exceed the speed deviation threshold, it is inferred that the data flow of the access terminal within the shared platform is safe.

8. The method for encrypting and sharing food inspection and testing data according to claim 1, characterized in that, The network address of the access terminal is determined, and virtual access terminals are excluded based on a fixed period of the network address. Access commands outside the authorized range during the historical access period of the access terminal are analyzed. If the access commands outside the authorized range are continuously of the same type of data, access to the access terminal is restricted to reduce the generation of access commands outside the authorized range. If the access commands outside the authorized range are not continuously of the same type of data, it is inferred that the current access terminal is normal.

9. A food inspection and testing data encryption and sharing system, characterized in that, The method for encrypting and sharing food inspection and testing data is applicable to any one of the claims 1-8 above.

Citation Information

Patent Citations

  • Transportation process bottleneck detection and prediction method for logistics center

    CN118674341A

  • An integrated system of shellfish production and utilization

    WO2004071184A1