Food inspection and detection data encryption sharing method and system

By collecting and processing data in all links of food production, building a sharing platform and encrypting and controlling it, the problems of data interoperability and security in food production are solved, and data accuracy and security are achieved.

CN120296769AActive Publication Date: 2025-07-11QINHUANGDAO FUSHOU FOOD CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

The prior art cannot effectively collect and process data during food production, resulting in poor data interoperability and the inability to encrypt and control during data sharing, reducing the security and compliance of the verification data.

Method used

Data collection and processing are carried out in all aspects of food production, a sharing platform is built, data input and terminal access ports are set, data encryption and transmission detection are carried out, access terminal permissions are controlled, and data flow is monitored to ensure data security and compliance.

Benefits of technology

Through strict data collection and processing standards, ensure data accuracy and security, avoid data leakage on shared platform, reduce the risk of virtual access to terminals, and improve data interoperability and security in the food production process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120296769A_ABST
    Figure CN120296769A_ABST
Patent Text Reader

Abstract

The invention discloses a food inspection and detection data encryption and sharing method and system, relates to the technical field of data encryption and sharing, and solves the technical problem that in the prior art, encryption control cannot be performed in the data direction and the terminal direction, and the security of inspection data sharing is reduced, in particular to data encryption. Performing type division and data analysis and encryption according to the real-time uploaded data; data direction monitoring: carrying out data transmission detection in a data sharing stage, and carrying out sharing security evaluation on the sharing platform in the data direction through data transmission detection; terminal control: controlling an access terminal in communication connection with the sharing platform, performing process control when the access terminal enters the sharing platform for data access, and setting access limitation of the access terminal; and terminal direction monitoring: identifying and detecting the data flow direction of the real-time access terminal, and ensuring the authority accuracy of the access terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data encryption and sharing, and particularly to a method and system for encrypting and sharing food inspection and testing data. Background Art

[0002] Food inspection and testing data involves sensitive content such as enterprise product formulas, quality safety, and supply chain information. Its encrypted sharing needs to meet the collaborative needs of multiple parties such as regulatory agencies, production enterprises, testing institutions, and consumers on the premise of ensuring data privacy and compliance.

[0003] However, in the prior art, data cannot be collected and processed according to the production process during food production, and data inspection cannot be effectively carried out, reducing the data interoperability between production departments. In addition, encryption control cannot be carried out from the data direction and the terminal direction, reducing the security of sharing inspection data.

[0004] In view of the above technical deficiencies, a solution is now proposed. Summary of the Invention

[0005] The purpose of the present invention is to propose a method and system for encrypting and sharing food inspection and testing data in order to solve the above-mentioned problems.

[0006] The purpose of the present invention can be achieved through the following technical solutions:

[0007] A method for encrypting and sharing food inspection and testing data, the steps of the data encryption and sharing method are as follows:

[0008] Data collection and processing: During the food production stage, from raw material collection to the preparation production line, data is collected for each link of food production and processed according to the data collection.

[0009] Build a sharing platform: After obtaining the collected data and completing the processing, build a sharing platform according to the collected data. After the sharing platform is built, two ports are set, namely a data input port and a terminal access port. The data input port inputs the collected data in the food production stage into the sharing platform as the display data of the sharing platform, and the terminal access port is used for communication between the data access terminal and the sharing platform.

[0010] Data encryption: Classify the types according to the real-time uploaded data and perform data analysis and encryption.

[0011] Data direction monitoring: Perform data transmission detection during the data sharing stage, and perform sharing security evaluation on the sharing platform in terms of data direction through the data transmission detection.

[0012] Terminal control: Control the access terminals that communicate with the shared platform. Conduct process control when the access terminals enter the shared platform for data access, and set access restrictions for the access terminals.

[0013] Terminal direction monitoring: Identify and detect the data flow direction of real-time access terminals to ensure the accuracy of access terminal permissions.

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

[0015] Collect the generated data of each link according to the food production process, and perform data processing on the collected data. First, determine the corresponding numerical range of the collected data; obtain the floating span based on the maximum numerical fluctuation of the data at each moment, and obtain the fluctuation duration based on the number of consecutive moments of the floating span; compare the fluctuation span and the fluctuation duration:

[0016] If the fluctuation span exceeds the span threshold and the fluctuation duration is lower than the duration threshold, mark the corresponding value as sporadic data; if the fluctuation span does not exceed the span threshold and the fluctuation duration is higher than the duration threshold, mark the corresponding value as floating data; if the fluctuation span exceeds the span threshold and the fluctuation duration is higher than the duration threshold, mark the corresponding value as risky data; if the fluctuation span does not exceed the span threshold and the fluctuation duration is lower than the duration threshold, mark the corresponding value as safe data.

[0017] As a preferred embodiment of the present invention, retain the safe data and risky data. Conversely, store the floating data separately and record the change in the fluctuation span. If the span change shows an increasing trend, classify it into the risky data type and store it synchronously; if the span change shows a decreasing or constant trend, classify it into the safe data type and store it synchronously; for sporadic data, if the number of occurrences does not increase, only record the sporadic data with the largest real-time value, and do not record the rest of the data.

[0018] As a preferred embodiment of the present invention, store the real-time recorded retained data. At the same time, set up a shared platform, construct a platform processor, use the hardware device for storing data as the platform data pool, obtain the corresponding production department of the corresponding production stage according to the data in the data pool at each moment, and establish communication between the production department corresponding access terminal and the shared platform. During the establishment process, if data traffic is generated at the corresponding terminal access port, restrict the intersection between the data of the corresponding production department of the current access terminal and the stored data at the current access moment.

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

[0020] Sieve data according to the same type of data in different scenarios within the food production stage, and mark it as the same type of data for sub-scenarios; mark different types of data in different scenarios within the food production stage as different types of data for sub-scenarios;

[0021] Based on the uniqueness analysis of data throughout the production stage, ensure whether the different types of data for sub-scenarios need to be encrypted. If the different types of data for sub-scenarios are unique, set the current different types of data for sub-scenarios to full encryption, that is, both the data type and the data value are in an encrypted state, and after the access terminal has access rights, use the data type and data value at the previous access time as the key; if the different types of data for sub-scenarios are not unique, set the current different types of data for sub-scenarios to misclassified, that is, both the data type and the data value are inconsistent with the corresponding processing time, and after the access terminal has access rights, perform access authorization according to 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 perform real-time data display;

[0022] If the same type of data for sub-scenarios is unique, set the current different types of data for sub-scenarios to semi-encryption, that is, the data type is public and the data value is set to an encrypted state; after the access terminal has access rights, determine the data range interval of the current data type, and display the data value 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] Restrict the execution of data access operations according to the permission range of the access terminal, and perform real-time backup of the browsing instruction and the corresponding data browsing progress of the browsing instruction. During the actual browsing process, the browsing footprints at each time node are retained in the background and cannot be overwritten or deleted. If a browsing instruction outside the current permission range is generated, monitor the data browsing progress according to the corresponding browsing instruction. If non-permission range browsing instructions continuously appear in the browsing progress, restrict the shared data access duration of the corresponding access terminal; and suspend the access duration of the access terminal in the case of continuous appearance.

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

[0026] Collect the proportion of the data volume of encrypted data and unencrypted data in the access data of the access terminal. If the proportion of the data volume of encrypted data and unencrypted data exceeds the set data volume proportion threshold, or the increase span of the corresponding data volume proportion at adjacent access times exceeds the set increase span threshold, then mark the access range of the corresponding access terminal as a targeted range; if the proportion of the data volume of encrypted data and unencrypted data does not exceed the set data volume proportion threshold, and the increase span of the corresponding data volume proportion at adjacent access times does not exceed the set increase span threshold, then mark the access range of the corresponding access terminal as a balanced range.

[0027] As a preferred embodiment of the present invention, obtain the deviation value of the data transmission flow rate during the access process of the corresponding targeted range and balanced range. If the corresponding data transmission flow rate deviation value exceeds the flow rate deviation threshold, or the data transmission speed deviation exceeds the speed deviation threshold, then infer that there is a risk in the data stream of the access terminal in the sharing platform, and the sharing platform reduces the transmission speed of the access terminal and checks the access rights and access range; if the corresponding data transmission flow rate deviation value does not exceed the flow rate deviation threshold, and the data transmission speed deviation does not exceed the speed deviation threshold, then infer that the data stream of the access terminal in the sharing platform is secure.

[0028] As a preferred embodiment of the present invention, determine the network address of the access terminal, and exclude the situation of virtual access terminals according to the network address at a fixed period, and analyze the access instructions in the non-authority range during the historical access stage of the access terminal. If the access instructions in the non-authority range are continuously of the same type of data, then restrict the access of the access terminal to reduce the generation amount of access instructions in the non-authority range; if the access instructions in the non-authority range are not continuously of the same type of data, then infer that the current access terminal access is normal.

[0029] A food inspection and testing data encryption and sharing system, including: a data processing end, used to collect data for each link of food production and process according to the data collection;

[0030] A data sharing platform, after obtaining the collected data and completing the processing, builds a sharing platform according to the collected data. After the sharing platform is built, two ports are set, namely a data input port and a terminal access port. The data input port inputs the collected data in the food production stage into the sharing platform as the display data of the sharing platform, and the terminal access port is used for communication between the data access terminal and the sharing platform;

[0031] A data analysis and encryption unit, used to classify the types according to the real-time uploaded data and perform data analysis and encryption;

[0032] A data sharing management unit, used to perform data transmission detection during the data sharing stage, and perform sharing security evaluation on the sharing platform according to the data direction through the data transmission detection;

[0033] The terminal access setting unit controls the access terminals that communicate with the shared platform, performs process control when the access terminals enter the shared platform for data access, and sets access restrictions for the access terminals.

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

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

[0036] 1. In the present invention, data is collected for each link of food production and processed according to the collected data. The collected data in the food production stage is optimized. By formulating strict data collection, storage, and processing standards, the accuracy of the data is ensured, and the real-time collected data can reflect the food production status.

[0037] The data is classified according to the real-time uploaded data and analyzed and encrypted to ensure the security of the real-time uploaded data, ensure that the shared platform can play the role of data interconnection, and avoid the leakage of the shared data on the shared platform, which affects the progress of food production.

[0038] 2. In the present invention, data transmission detection is performed during the data sharing stage. Through data transmission detection, the shared security of the shared platform is evaluated based on the data direction, ensuring the shared security performance of the shared platform, and avoiding the situation where high-risk data transmission causes storage risks for other unshared data, reducing the execution security performance of the shared platform and affecting the security of parameters such as processes and formulas related to the processing technology in food processing.

[0039] 3. In the present invention, the access terminals that communicate with the shared platform are controlled. Process control is performed when the access terminals enter the shared platform for data access, and access restrictions for the access terminals are set to reduce the risk of the access terminals leaking shared data; combined with the detection of the shared data flow in the shared platform, the data flow direction of the real-time access terminals is identified and detected to ensure the accuracy of the access terminal permissions, reducing the situation where the virtual access terminals cause abnormal data flow, unable to accurately trace, and unable to ensure the security of the shared data. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] For the convenience of those skilled in the art to understand, the present invention will be further described below in conjunction with the drawings.

[0041] Figure 1 is the method flow chart of the present invention;

[0042] Figure 2 is the system block diagram of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0043] To enable those skilled in the art to better understand the solution of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.

[0044] The mention of "embodiment" in this article means that the specific features, structures or characteristics described in connection with the embodiment may be included in at least one embodiment of the present invention. The phrase appears in various positions in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.

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

[0046] Data collection and processing: During the food production stage, from raw material collection to the preparation production line, data is collected for each link of food production and optimized according to the data collection and processing. By formulating strict data collection, storage, and processing standards, the accuracy of the data is ensured, and the real-time collected data can reflect the food production status.

[0047] Build a sharing platform: After obtaining the collected data and completing the processing, a sharing platform is built according to the collected data. After the sharing platform is built, two ports are set, namely a data input port and a terminal access port. The data input port inputs the collected data in the food production stage into the sharing platform as the display data of the sharing platform, while the terminal access port is used for communication between the data access terminal and the sharing platform; and the data access terminal is the data access terminal device of production departments such as the processing department, transportation department, and waste treatment department.

[0048] Data encryption: After the sharing platform is completed, the real-time uploaded data is classified and analyzed and encrypted to ensure the security of the real-time uploaded data, ensure that the sharing platform can play the role of data interconnection, and avoid leakage of the shared data on the sharing platform, which affects the progress of food production.

[0049] Data direction monitoring. After data encryption is completed, data transmission detection is carried out during the data sharing stage. Through data transmission detection, the sharing security of the shared platform is evaluated based on the data direction to ensure the sharing security performance of the shared platform, avoid high-risk data transmission that may cause storage risks to other unshared data, reduce the execution security performance of the shared platform, and affect the security of parameters such as processes and formulas related to the processing technology in food processing;

[0050] Terminal control. After the shared platform is built, terminal control is carried out synchronously with data encryption. It is used to control the access terminals that communicate with the shared platform. Process control is carried out when the access terminal enters the shared platform for data access, and access restrictions for the access terminal are set to reduce the risk of the access terminal leaking shared data;

[0051] Terminal direction monitoring. After terminal control, combined with the detection of shared data streams in the shared platform, the data flow direction of real-time access terminals is identified and detected to ensure the accuracy of the access terminal's permissions, reduce the abnormal data flow caused by virtual access terminals, make it impossible to accurately trace, and cannot ensure the security of shared data;

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

[0053] Data is collected for each link according to the food production process, and data processing is carried out based on the collected data. First, the corresponding numerical ranges of the collected data are determined, such as the temperature data and the corresponding numerical range, and the raw material loss data and the corresponding numerical range; and the floating span is obtained based on the maximum numerical fluctuation of the data at each moment, and the fluctuation duration is obtained based on the number of consecutive moments of the floating span; the fluctuation span and the fluctuation duration are compared: if the fluctuation span exceeds the span threshold and the fluctuation duration is lower than the duration threshold, the corresponding value is marked as sporadic data; if the fluctuation span does not exceed the span threshold and the fluctuation duration is higher than the duration threshold, the corresponding value is marked as floating data; if the fluctuation span exceeds the span threshold and the fluctuation duration is higher than the duration threshold, the corresponding value is marked as risky data; if the fluctuation span does not exceed the span threshold and the fluctuation duration is lower than the duration threshold, the corresponding value is marked as safe data;

[0054] The safe data and the risky data are retained, while the floating data is stored separately and the change of the floating span is recorded. If the span change shows an increasing trend, it is incorporated into the risky data type and stored synchronously; if the span change shows a decreasing or constant trend, it is incorporated into the safe data type and stored synchronously; for sporadic data, if the number of occurrences does not increase, only the sporadic data with the largest real-time value is recorded, and the rest of the data is not recorded;

[0055] The process of building the shared platform is as follows:

[0056] Store the data retained by the real-time record. Meanwhile, set up a shared platform and construct a platform processor with the hardware device for storing data as the platform data pool. Obtain the production department corresponding to the production stage at each moment within the data pool, and establish communication between the access terminal corresponding to the production department and the shared platform. During the setup process, if data traffic occurs at the corresponding terminal access port, restrict the intersection between the data of the production department corresponding to the current access terminal and the stored data at the current access moment, that is, the real-time generated data is generated for the production stage of the current production department;

[0057] The data encryption process is as follows:

[0058] Encrypt the collected data uploaded to the shared platform. After the encryption is completed, set the permission of the shared platform to the shared state; obtain the type of the collected data, screen the data according to the same-type data in different scenarios within the food production stage, and mark it as the same-type data in sub-scenarios, such as equipment temperature, environmental temperature, raw material processing temperature, and temperature is the same-type data in sub-scenarios; mark the different-type data in different scenarios within the food production stage as the different-type data in sub-scenarios, such as raw material ratio within the production stage, real-time product composition ratio after mixing, etc.; the uniqueness determination 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 the data throughout the production stage, ensure whether the different-type data in sub-scenarios needs to be encrypted. If the different-type data in sub-scenarios is unique, set the current different-type data in sub-scenarios to full encryption, that is, both the data type and the data value are in the encrypted state, and after the access terminal has access permission, use the data type and data value at the previous access moment as the key; if the different-type data in sub-scenarios is not unique, set the current different-type data in sub-scenarios to misclassified, that is, both the data type and the data value are inconsistent with the corresponding processing moment, and after the access terminal has access permission, perform access authorization 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 perform real-time data display;

[0060] If the same-type data in sub-scenarios is unique, set the current different-type data in sub-scenarios to semi-encryption, that is, the data type is made public and the data value is set to the encrypted state; after the access terminal has access permission, determine the data range interval of the current data type, and when it is within the set data range, display the data value;

[0061] The terminal control process is as follows:

[0062] Obtain an access terminal according to the food production stage and connect it to the shared platform, and impose access restrictions on the access terminal that has passed identity verification, where identity verification means identifying and authenticating the identity of the operator of the access terminal when it accesses the shared platform; the specific access restrictions are as follows: Implement restrictions on data access operations according to the permission scope of the access terminal, and perform real-time backup of the browsing instructions and the corresponding data browsing progress of the browsing instructions, and the browsing footprints at each moment node during the actual browsing process are retained in the background and cannot be overwritten or deleted. If there is a browsing instruction outside the current permission scope, real-time monitoring is performed according to the data browsing progress corresponding to the browsing instruction. If non-permission scope browsing instructions continuously appear in the browsing progress, the shared data access duration of the corresponding access terminal is restricted; and in the case of continuous appearance, the access duration of the access terminal is suspended;

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

[0064] After completing data encryption and determining the access terminal, perform a data flow detection on the shared platform. After the data flow in the shared platform reaches the access terminal, analyze the real-time access scope of the access terminal, and collect the proportion of the data volume of encrypted data and unencrypted data in the access data of the access terminal. If the proportion of the data volume of encrypted data and unencrypted data exceeds the set data volume proportion threshold, or the increase span of the corresponding data volume proportion at adjacent access times exceeds the set increase span threshold, then mark the access scope of the corresponding access terminal as a targeted scope; if the proportion of the data volume of encrypted data and unencrypted data does not exceed the set data volume proportion threshold, and the increase span of the corresponding data volume proportion at adjacent access times does not exceed the set increase span threshold, then mark the access scope of the corresponding access terminal as a balanced scope;

[0065] Obtain the deviation value of the data transmission flow during the access process of the corresponding targeted scope and balanced scope. If the corresponding data transmission flow deviation value exceeds the flow 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 in the shared platform, and the shared platform reduces the transmission speed of the access terminal and checks the access permissions and access scope;

[0066] If the corresponding data transmission flow deviation value does not exceed the flow 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 secure;

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

[0068] After determining the security of the data flow within the sharing platform, the access terminals within the sharing platform are detected. First, the network addresses of the access terminals are determined, and based on the network addresses, the authenticity of the current access terminal is inferred at fixed intervals to exclude the case of virtual access terminals. At the same time, the access instructions outside the authorized scope during the historical access stage of the access terminal are analyzed. If the access instructions outside the authorized scope are continuously for the same type of data, it is inferred that there is an access anomaly for the current access terminal, and access restrictions are imposed on the access terminal to reduce the generation of access instructions outside the authorized scope. If the access instructions outside the authorized scope are not continuously for the same type of data, it is inferred that the current access terminal has normal access.

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

[0070] A data processing end, used to collect data for each link of food production and process the data according to the data collection;

[0071] A data sharing platform, after obtaining the collected data and completing the processing, builds the sharing platform according to the collected data. After the sharing platform is built, two ports are set, namely a data input port and a terminal access port. The data input port inputs the collected data in the food production stage into the sharing platform as the display data of the sharing platform, and the terminal access port is used for communication between the data access terminal and the sharing platform;

[0072] A data analysis and encryption unit, which classifies the types according to the real-time uploaded data and performs data analysis and encryption;

[0073] A data sharing management unit, which performs data transmission detection during the data sharing stage and conducts a sharing security assessment on the sharing platform based on the data direction through the data transmission detection;

[0074] A terminal access setting unit, which controls the access terminals communicating with the sharing platform, performs process control when the access terminals enter the sharing platform for data access, and sets access restrictions for the access terminals;

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

[0076] When the present invention is in use, data collection and processing are carried out. During the food production stage, data is collected for each link of food production from raw material collection to preparation production line and processed according to the collected data; a sharing platform is built. After obtaining the collected data and completing the processing, the sharing platform is built based on the collected data; data encryption is performed. The types of real-time uploaded data are classified and data analysis and encryption are carried out; data direction monitoring is carried out. During the data sharing stage, data transmission detection is performed, and the sharing security of the sharing platform is evaluated based on the data direction through the data transmission detection; terminal control is carried out. The access terminals communicating with the sharing platform are controlled. Process control is carried out when the access terminals enter the sharing platform for data access, and access restrictions for the access terminals are set; terminal direction monitoring is carried out. The data flow direction of the real-time access terminals is identified and detected to ensure the accuracy of the access terminal permissions.

[0077] The preferred embodiments of the present invention disclosed above are only used to help illustrate the present invention. The preferred embodiments do not describe all the details in detail, nor do they limit the invention to only the specific implementation manners. Obviously, many modifications and variations can be made according to the content of this specification. These embodiments are selected and specifically described in this specification to better explain the principle and practical application of the present invention, so that those skilled in the relevant technical fields can well understand and utilize the present invention. The present invention is only limited 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 of the data encryption and sharing method are as follows: Data collection and processing: During the food production stage, from raw material collection to the preparation production line, data is collected for each link of food production and processed according to the collected data; Build a sharing platform: After obtaining the collected data and completing the processing, build a sharing platform based on the collected data. After the sharing platform is built, two ports are set, namely a data input port and a terminal access port. The data input port inputs the collected data in the food production stage into the sharing platform as the display data of the sharing platform, while the terminal access port is used for communication between the data access terminal and the sharing platform; Data encryption: Classify the types according to the real-time uploaded data and perform data analysis and encryption; Data direction monitoring: During the data sharing stage, perform data transmission detection, and conduct sharing security assessment on the sharing platform based on the data direction through the data transmission detection; Terminal control: Control the access terminal connected to the sharing platform for communication. When the access terminal enters the sharing platform for data access, perform process control and set access restrictions for the access terminal; Terminal direction monitoring: Identify and detect the data flow direction of the real-time access terminal to ensure the accuracy of the access terminal's permissions; 2. A method for encrypting and sharing food inspection and testing data according to claim 1, characterized in that, The data collection and processing process is as follows: Collect the generated data for each link according to the food production process, and process the data according to the collected data. First, determine the corresponding numerical range of the collected data; obtain the floating span based on the maximum numerical fluctuation of the data at each moment, and obtain the fluctuation duration based on the number of consecutive moments of the floating span; compare the fluctuation span and the fluctuation duration: If the fluctuation span exceeds the span threshold and the fluctuation duration is lower than the duration threshold, mark the corresponding value as sporadic data; if the fluctuation span does not exceed the span threshold and the fluctuation duration is higher than the duration threshold, mark the corresponding value as floating data; if the fluctuation span exceeds the span threshold and the fluctuation duration is higher than the duration threshold, mark the corresponding value as risky data; if the fluctuation span does not exceed the span threshold and the fluctuation duration is lower than the duration threshold, mark the corresponding value as security data.

3. A method for encrypting and sharing food inspection and testing data according to claim 2, characterized in that, Retain the security data and risky data. On the contrary, store the floating data separately and record the change of the fluctuation span. If the span change shows an increasing trend, it is incorporated into the risky data type and stored synchronously; if the span change shows a decreasing or constant trend, it is incorporated into the security data type and stored synchronously; for sporadic data, if the number of occurrences does not increase, only record the sporadic data with the largest real-time value, and do not record the rest of the data.

4. A food inspection and testing data encryption and sharing method according to claim 1, characterized in that, Store the data retained by the real-time record. At the same time, set a sharing platform, build a platform processor with the hardware device for storing data as the platform data pool, obtain the corresponding production department for each production stage corresponding to the data in the data pool, and establish communication between the production department corresponding access terminal and the sharing platform. During the establishment process, if data traffic is generated at the corresponding terminal access port, restrict the intersection between the data of the current access terminal corresponding production department and the stored data at the current access moment.

5. A method for encrypting and sharing food inspection and testing data according to claim 1, characterized in that, The data encryption process is as follows: Sieve data according to the same type of data in different scenarios within the food production stage and mark it as the same type of data for sub-scenarios; mark different types of data in different scenarios within the food production stage as different types of data for sub-scenarios; Ensure whether the different types of data for sub-scenarios need to be encrypted according to the uniqueness analysis of the data within the entire production stage. If the different types of data for sub-scenarios are unique, set the current different types of data for sub-scenarios to full encryption, that is, both the data type and the data value are in an encrypted state, and after the access terminal has access rights, use the data type and data value at the previous access time as the key; if the different types of data for sub-scenarios are not unique, set the current different types of data for sub-scenarios to misclassified, that is, both the data type and the data value are inconsistent with the corresponding processing time, and after the access terminal has access rights, perform access authorization according to 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, perform real-time data display; If the same type of data for sub-scenarios is unique, set the current different types of data for sub-scenarios to semi-encryption, that is, the data type is public and the data value is set to an encrypted state; after the access terminal has access rights, determine the data range interval of the current data type, and display the data value when it is within the set data range.

6. The food inspection and testing data encryption and sharing method according to claim 1, wherein, The terminal control process is as follows: Restrict the execution of data access operations according to the permission range of the access terminal, and perform real-time backup of the browsing instruction and the corresponding data browsing progress of the browsing instruction. During the actual browsing process, the browsing footprints at each time node are retained in the background and cannot be overwritten or deleted. If a browsing instruction outside the current permission range is generated, monitor the data browsing progress of the corresponding browsing instruction in real time. If non-permission range browsing instructions continuously appear in the browsing progress, restrict the shared data access duration of the corresponding access terminal; And in the case of continuous occurrence, suspend the access duration of the access terminal.

7. A 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: Collect the proportion of the data volume of encrypted data and unencrypted data in the access data of the access terminal. If the proportion of the data volume of encrypted data and unencrypted data exceeds the set data volume proportion threshold, or the increase span of the corresponding data volume proportion at adjacent access times exceeds the set increase span threshold, mark the access range of the corresponding access terminal as a targeted range; if the proportion of the data volume of encrypted data and unencrypted data does not exceed the set data volume proportion threshold, and the increase span of the corresponding data volume proportion at adjacent access times does not exceed the set increase span threshold, mark the access range of the corresponding access terminal as a balanced range.

8. A method for encrypting and sharing food inspection and testing data according to claim 7, characterized in that, Obtain the deviation value of the data transmission flow during the access process of the corresponding targeted range and balanced range. If the corresponding data transmission flow deviation value exceeds the flow 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 in the sharing platform. The sharing platform reduces the transmission speed of the access terminal and checks the access rights and access range; if the corresponding data transmission flow deviation value does not exceed the flow 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 sharing platform is secure.

9. A method for encrypting and sharing food inspection and testing data according to claim 1, characterized in that, Determine the network address of the access terminal, and exclude the situation of virtual access terminals at fixed intervals according to the network address. Analyze the access instructions in the non-authorization range during the historical access stage of the access terminal. If the access instructions in the non-authorization range are continuously of the same type of data, restrict the access of the access terminal to reduce the generation amount of access instructions in the non-authorization range; if the access instructions in the non-authorization range are not continuously of the same type of data, it is inferred that the current access terminal is accessing normally.

10. A food inspection and testing data encryption and sharing system, characterized in that, A method for encrypting and sharing food inspection and testing data according to any one of claims 1-9 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

  • Device and system for analyzing a sample, particularly blood, as well as methods of using the same

    WO2017048871A1

  • Communication method for generation of a virtual object in a video capture by at least one service provider

    WO2023049944A2

  • Security protection method and system for power terminal

    WO2023216641A1