Food safety risk early warning method and system
Through food safety risk warning methods and systems, based on food sampling tasks and completion results, the risk level and treatment methods of unqualified food are determined, and a sales control mechanism is established to achieve accurate control of unqualified foods and food safety guarantees.
Patent Information
- Application Number
- CN202510203786.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-24
- Publication Date
- 2025-03-25
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the process of food safety risk warning, how to control and sell unqualified foods based on the type of problem of unqualified foods must not only ensure food safety, but also not affect normal sales.
By obtaining the food sampling task, determining the sampling object and configuring a unique identifier, collecting the results of the sampling task completion, selecting the food that needs comprehensive testing and defining it as a controlled food. Determine the problem type based on the completion results, cluster the food into several risk levels, and each risk level corresponds to the treatment methods, such as recall, removal and control sales. Build a sales control mechanism to determine whether the member’s payment list contains controlled food, and push reminder information when making payment.
Accurate identification and control of unqualified foods has been achieved, the accuracy of food safety risk warning has been improved, and food safety does not affect normal sales have been ensured. Food traceability and traceability have been achieved through blockchain technology.
Smart Images

Figure CN119692876A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of food safety, and in particular to a food safety risk early warning method and system. Background Art
[0002] In the process of food safety risk warning, food sampling and analysis is crucial. After collecting food samples, it is necessary to select appropriate testing methods according to the food category, such as physical testing, chemical testing, and biological testing.
[0003] However, due to the large number of food categories, sampling and analysis are generally carried out through random inspections. It should be noted that the random inspection here is to extract important indicators for testing, rather than the ordinary "method of inspection by randomly selecting samples"; after the random inspection, the test data is used to analyze whether the food is qualified. If it is unqualified, it needs to be sent to a professional testing agency for comprehensive testing again; however, in this process, if unqualified foods are blindly removed from the shelves for random inspection, it is easy to cause a collapse in reputation and affect normal sales. If they are not removed from the shelves, it is easy to cause food safety problems; therefore, "how to control and sell unqualified foods according to the problem types of unqualified foods" is the technical problem that the present invention needs to solve. Summary of the invention
[0004] The purpose of the present invention is to provide a food safety risk early warning method and system to solve the problem of "how to control and sell unqualified food according to the problem type of unqualified food" raised in the above background technology.
[0005] To achieve the above object, the present invention provides the following technical solutions: A food safety risk early warning method, the method comprising: Obtain food sampling tasks, determine sampling objects, configure unique identifiers for each of the sampling objects, collect completion results of the food sampling tasks, and select foods that need to be fully tested from the sampling objects, and define them as controlled foods; Based on the completion results, the problem type of each of the controlled foods is determined, and the controlled foods are clustered into several risk levels, wherein each risk level corresponds to at least one treatment method, and the treatment methods at least include: recall, removal from shelves and controlled sales, and the controlled foods, risk levels and treatment methods are integrated to generate a query table; Collect the sales objects of the controlled food and divide them into ordinary customers and members, and build a sales control mechanism centered on the members, wherein the sales control mechanism is: determine whether the payment list of the member contains the controlled food, and if so, push reminder information to the cash register terminal when paying; Define the member who purchases the controlled food as the purchaser, obtain the permission to read the purchaser's personal information, extract the purchaser's communication method from the preset sales object management platform, obtain the comprehensive inspection result of the controlled food, determine whether the comprehensive inspection result is qualified, if so, generate feedback information, integrate the comprehensive inspection result into the feedback information, push the feedback information to the purchaser via the communication method, if not, initiate the preset disposal plan.
[0006] Furthermore, the steps of obtaining a food sampling inspection task, determining the sampling inspection object, configuring a unique identifier for each of the sampling inspection objects, and collecting the completion result of the food sampling inspection task include: Constructing an information publishing platform, and uploading the sample inspection objects and corresponding completion results to the information publishing platform; A timestamp is embedded in the completion result, historical sampling data is defined, adjustment suggestions for the sampling objects are generated, and the adjustment suggestions are sent to a preset terminal.
[0007] Furthermore, the step of selecting foods that need to be fully tested and defining them as controlled foods includes: Collecting traceability information of the controlled food, wherein the traceability information includes at least: production data, supply chain data and logistics data; Constructing a block header corresponding to the traceability information one by one, integrating all block headers, generating a blockchain, and embedding a tail node into the blockchain; The completion result and the comprehensive detection result are synchronized to the tail node.
[0008] Furthermore, the step of integrating the risk level and the processing method to generate a query table includes: Reading the query request uploaded by the sales object to the information publishing platform, comparing whether there are identical items in the query table, and pushing the comparison result to the sales object; Build a food safety risk evaluation community and integrate the evaluation community into the information release platform.
[0009] Furthermore, the steps of collecting the sales targets of the controlled food and dividing them into ordinary customers and members, and building a sales control mechanism centered on the members include: Classifying the members into several levels, determining the mapping between each level and controlled food, and setting the purchasing rights of members of different levels; The members’ historical purchase behavior of controlled foods is recorded, and the credit score of each member is calculated based on the preset credit evaluation rules.
[0010] Furthermore, the method further comprises: Sort all controlled foods in descending order of risk level to obtain a testing queue; Configuring influencing factors of the detection queue, wherein the influencing factors at least include: market trends, purchase frequency, and social media popularity; The detection queue is dynamically adjusted using the influencing factors.
[0011] Furthermore, the step of defining the member who purchases the controlled food as the purchaser and obtaining the permission to read the purchaser's personal information includes: Using the traceability information, trace back to the manufacturer, and open the blockchain data upload interface to the manufacturer; The query rights of the blockchain are opened to the sales object to establish a communication link between the manufacturer and the buyer.
[0012] Furthermore, the system comprises: A definition module is used to obtain food sampling tasks, determine the sampling objects, configure a unique identifier for each of the sampling objects, collect the completion results of the food sampling tasks, and select foods that need to be fully tested from the sampling objects and define them as controlled foods; A generation module, used to determine the problem type of each of the controlled foods through the completion results, cluster the controlled foods into several risk levels, wherein each risk level corresponds to at least one treatment method, and the treatment methods at least include: recall, removal from shelves and controlled sales, and integrate the controlled foods, risk levels and treatment methods to generate a query table; A judgment module is used to collect the sales objects of the controlled food and divide them into ordinary customers and members, and build a sales control mechanism centered on the members, wherein the sales control mechanism is: to judge whether the payment list of the member contains the controlled food, and if so, to push a reminder message to the cash register terminal when paying; The push module is used to define members who purchase controlled foods as purchasers, obtain the permission to read the purchaser's personal information, extract the purchaser's communication method from the preset sales object management platform, obtain the comprehensive inspection results of the controlled foods, and determine whether the comprehensive inspection results are qualified. If so, generate feedback information, integrate the comprehensive inspection results into the feedback information, and push the feedback information to the purchaser via the communication method. If not, initiate the preset disposal plan.
[0013] Furthermore, the definition module includes: An uploading unit, used to construct an information publishing platform and upload the sample inspection object and the corresponding completion result to the information publishing platform; A sending unit, used to embed a timestamp into the completion result, define historical sampling data, generate adjustment suggestions for the sampling object, and send the adjustment suggestions to a preset terminal; A collection unit, used to collect the traceability information of the controlled food, wherein the traceability information at least includes: production data, supply chain data and logistics data; An embedding unit, used to construct a block header corresponding to the traceability information, integrate all block headers, generate a blockchain, and embed a tail node into the blockchain; A synchronization unit is used to synchronize the completion result and the comprehensive detection result to the tail node.
[0014] Furthermore, the generation module includes: A reading unit, used to read the query request uploaded by the sales object to the information publishing platform, compare whether there are identical items in the query table, and push the comparison result to the sales object; The publishing unit is used to build an evaluation community for food safety risks and integrate the evaluation community into the information publishing platform.
[0015] Compared with the prior art, the present invention has the following beneficial effects: By determining the food sampling tasks, we can make full use of limited human and material resources, timely discover safety hazards in food, and reduce the probability of food safety accidents. By determining the risk level of controlled food, we can determine the controlled food, accurately identify food safety risks, and improve the accuracy of early warning. By determining the problem type and risk level, we can handle food in different ways according to the completion results, thereby ensuring food safety without affecting normal sales. By building a sales control mechanism, we can ensure the traceability of food and effectively control food safety risks. By conducting comprehensive testing on controlled food, we can timely discover potential risks, reduce food safety hazards, and further improve the accuracy of early warning results. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] Figure 1 A flowchart of a food safety risk early warning method provided by an embodiment of the present invention; Figure 2 A first sub-process flowchart of the food safety risk early warning method provided by an embodiment of the present invention; Figure 3 A second sub-process flowchart of the food safety risk early warning method provided by an embodiment of the present invention; Figure 4 A third sub-process flowchart of the food safety risk early warning method provided by an embodiment of the present invention; Figure 5 A fourth sub-process flowchart of the food safety risk early warning method provided by an embodiment of the present invention; Figure 6 A block diagram of the composition of the food safety risk early warning system provided by an embodiment of the present invention; Figure 7 A block diagram of the components of the definition module in the food safety risk early warning system provided by an embodiment of the present invention; Figure 8 A block diagram of the composition of a generation module in a food safety risk early warning system provided by an embodiment of the present invention; Fig. 9 A block diagram of the composition of a judgment module in a food safety risk early warning system provided by an embodiment of the present invention; Fig.10 A block diagram of the composition of a push module in a food safety risk early warning system provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0017] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention. In Example 1, Figure 1 The implementation process of the food safety risk early warning method provided by the embodiment of the present invention is shown and described in detail below: S100: Acquire a food sampling inspection task, determine the sampling inspection objects, configure a unique identifier for each of the sampling inspection objects, collect the completion results of the food sampling inspection task, and select foods that need to be fully inspected from the sampling inspection objects, and define them as controlled foods.
[0018] Find out the food sampling tasks from the management department or public information. It should be noted that the sampling in this application refers to the detection of key indicators only, rather than "the method of inspection by randomly selecting samples"; the food sampling tasks should include: sampling objects and test items, etc. The sampling objects are the foods to be sampled, and each sampling object is configured with an exclusive unique identifier so that it can be accurately traced during the sampling, storage and subsequent processing; when the sampling is completed, the sampling results are collected, that is, the completion results, which should include: qualified, further testing and unqualified, etc.; the food that needs further testing is called controlled food; however, controlled food may be qualified food or unqualified food, which needs to be determined through further comprehensive testing.
[0019] For example, the food sampling inspection task of a regional food management department is to sample canned foods, and the sampling objects are canned foods, and a unique identifier is set for each sampling object; if the sampling inspection finds that a canned bottle cap is dented or there are defects in the used fruits, the corresponding food can be determined as a controlled food; for example, when sampling meat sold in a market, it is found that the meat color has darkened and the meat has become dry, but it has not become moldy or sour, then the corresponding meat can be defined as a controlled food.
[0020] For example, if the content of additives (such as preservatives, pigments, etc.) in a food is greater than the average value but does not exceed the standard value, the food can also be defined as a controlled food.
[0021] S200: Based on the completion result, the problem type of each of the controlled foods is determined, and the controlled foods are clustered into several risk levels, wherein each risk level corresponds to at least one processing method, and the processing methods include at least: recall, removal from shelves and controlled sales, and the controlled foods, risk levels and processing methods are integrated to generate a query table.
[0022] Based on the sampling results, the problem types of controlled food are determined, where the problem types can be: damaged appearance, approaching expiration date, and appearance damage, etc. A risk level is set for each problem type, and the risk levels can be divided into high, medium, and low.
[0023] Continuing to elaborate on the above example, the problem type of canned food is: damaged appearance, and the corresponding risk level can be low, while the problem type of meat is: stored for too long, and the corresponding risk level can be medium.
[0024] Different risk levels of food correspond to different handling methods; for example, the handling method for high-risk controlled foods should be direct recall or removal from shelves, while the handling method for medium-risk foods should be controlled sales. The risk level and handling method corresponding to each controlled food are integrated into the same form to obtain a query table.
[0025] S300: Collect the sales targets of the controlled food and divide them into ordinary customers and members, and build a sales control mechanism centered on the members, where the sales control mechanism is: determine whether the member’s payment list contains controlled food, and if so, push reminder information to the cash register terminal when paying.
[0026] Determine the sales targets of controlled foods, where the sales targets are the purchasers of controlled foods; for example, canned foods are sold to customers of the corresponding stores, and meats are sold to customers of the markets in which they are located; divide the sales targets into two types, one is members, and the rest are ordinary customers; establish a sales control mechanism to control the sales of controlled foods, where the sales control mechanism is: if controlled foods are found in the foods paid for by members, a reminder message will be pushed to the corresponding cash register terminal, where the cash register terminal is a self-service cash register.
[0027] In this embodiment, controlled foods are only sold to members. The advantage of this is that the purchasing population can be quickly traced, the warning time can be shortened, and the warning efficiency can be improved. On the other hand, by narrowing the sales scope, the members' handling level of controlled foods can also be improved to avoid food safety accidents. In addition, when members purchase controlled foods, they can be rewarded, and the specific reward method can be points or discounts.
[0028] S400: Define the member who purchases the controlled food as the purchaser, obtain the permission to read the purchaser's personal information, extract the purchaser's communication method from the preset sales object management platform, obtain the comprehensive inspection result of the controlled food, determine whether the comprehensive inspection result is qualified, if so, generate feedback information, integrate the comprehensive inspection result into the feedback information, push the feedback information to the purchaser via the communication method, if not, initiate the preset disposal plan.
[0029] Members who purchase controlled food are called purchasers, and a sales object management platform is selected from the existing technology, where the sales object management platform can be a supermarket mini program or software, etc.; on the premise of obtaining the purchaser's authorization, the purchaser's communication method is read out, where the communication method includes but is not limited to name, contact information and address, etc.
[0030] When the comprehensive test is completed, if the comprehensive test result is qualified, the comprehensive test result will be sent to the purchaser to inform the purchaser that the controlled food he purchased can be eaten with confidence; at the same time, feedback information will be generated and sent to the purchaser to inform him of the correct way to handle the controlled food; for example, continuing with the example of the meat sampling in S100, the correct way to handle the controlled food corresponding to the meat can be: by repeatedly rinsing the meat with clean water and soaking it in light salt water or vinegar water for 15-30 minutes to remove the taste effects caused by darkening and drying of the meat.
[0031] However, if the comprehensive inspection results are unqualified, the preset disposal plan will be activated, in which different controlled foods correspond to different disposal plans, and the disposal plans are pre-formulated by professionals; for example, the disposal plan corresponding to canned controlled foods can be: notifying the purchaser to discard or stop eating, etc.
[0032] In Example 2, Figure 2 The implementation process of the food safety risk early warning method provided by the embodiment of the present invention is shown. The steps of obtaining the food sampling task, determining the sampling object, configuring the unique identifier of each of the sampling objects, and collecting the completion result of the food sampling task are described in detail as follows: S101: construct an information publishing platform, and upload the sample inspection objects and corresponding completion results to the information publishing platform.
[0033] Build an information release system with data upload, processing and analysis capabilities, and delegate information release authority to management departments. The specific information released should include: sampling objects and corresponding completion results. In addition, the information release platform can also push the sampling results to the corresponding sales objects through the notification mechanism to ensure efficient transmission and transparent management of information.
[0034] S102: embed a timestamp into the completion result, define historical sampling data, generate adjustment suggestions for the sampling objects, and send the adjustment suggestions to a preset terminal.
[0035] When the management department uploads the completed results, a timestamp is inserted into the completed results to record the time when the completed results were generated, ensuring the timeliness and traceability of the completed results; based on the timestamp, historical sampling data is found from the completed results; based on the historical sampling data and the completed results, optimization and adjustment suggestions are generated for the sampling objects, such as: modifying the sampling frequency, adjusting the inspection standards, or optimizing the sampling scope; the adjustment suggestions are sent to the preset terminal, where the preset terminal is the management department terminal.
[0036] In Example 3, Figure 2 The implementation process of the food safety risk early warning method provided by the embodiment of the present invention is shown. The steps of selecting the food that needs to be fully tested and defining it as controlled food are described in detail below, as follows: S103: Collecting traceability information of the controlled food, wherein the traceability information includes at least: production data, supply chain data and logistics data.
[0037] Collect and control food production data, supply chain data, logistics data, etc. to obtain traceability information, where the traceability information at least includes: manufacturer, source of raw materials, production batch, production date, material supplier information and logistics transportation order number, etc.
[0038] S104: Construct a block header corresponding to the traceability information one by one, integrate all the block headers, generate a blockchain, and embed a tail node into the blockchain.
[0039] A unique block header is created for each regulated food, where each block header contains the traceability information of the corresponding regulated food and the hash value of the traceability information of the previous block to ensure the integrity and non-tamperability of the data; all block headers are integrated to generate a chain structure according to time or number, etc. to obtain a blockchain; the tail block header is embedded at the end of the blockchain and is called the tail node; the tail node is mainly used to coordinate the management of all block headers; in addition, the tail node can also store public data in the blockchain, such as completion results and comprehensive test results.
[0040] S105: Synchronize the completion result and the comprehensive detection result to the tail node.
[0041] In Example 4, Figure 3 The implementation process of the food safety risk early warning method provided by the embodiment of the present invention is shown. The steps of integrating the risk level and the processing method to generate a query table are described in detail as follows: S201: Read out the query request uploaded by the sales object to the information publishing platform, compare whether there are identical items in the query table, and push the comparison result to the sales object.
[0042] Utilize the information publishing platform to receive query requests uploaded by sales objects and parse the request contents. The query requests should include: food name, production batch, supplier information or other relevant traceability parameters. Use the query requests to perform matching searches in the query table. If the match is successful, find the identical items and push the identical items, corresponding risk levels, and sampling results to the sales objects.
[0043] S202: Building a food safety risk evaluation community, and integrating the evaluation community into the information publishing platform.
[0044] An interactive module should be established in the information release platform to allow sales partners, management departments and manufacturers to evaluate and provide feedback on food safety issues, and integrate all data to generate an evaluation community; the evaluation community should also include sections such as food quality issues, allergic reactions, product recall information and consumer experience.
[0045] In Example 5, Figure 4 The implementation process of the food safety risk early warning method provided by the embodiment of the present invention is shown. The following is a detailed description of the steps of collecting the sales objects of the controlled food and dividing them into ordinary customers and members, and building a sales control mechanism centered on the members, as follows: S301: Classify the members into several levels, determine the mapping between each level and controlled food, and set purchase permissions for members of different levels.
[0046] Members are divided into several levels based on factors such as each member’s purchase record, credit score, and food safety knowledge assessment. Members of different levels can only purchase controlled commodities within their corresponding risk level.
[0047] S302: Record the historical behavior of members in purchasing controlled foods, and calculate the credit score of each member based on the preset credit evaluation rules.
[0048] Determine each member's historical behavior, including data such as purchase frequency, food types, transaction amounts, returns and complaint records; based on preset credit evaluation rules, comprehensively consider members' consumption behavior, compliance and credit risks to calculate their credit scores; the credit evaluation rules may include multiple dimensions, such as whether the evaluation is on time, whether food safety complaints are involved, etc.; each dimension corresponds to a weight value, and the weight values are weighted to obtain each member's credit score.
[0049] In Example 6, different from Example 1, in this embodiment of the present invention, the method further includes: Sort all controlled foods in descending order of risk level to obtain a testing queue; Influencing factors of the detection queue are configured, wherein the influencing factors at least include: market trends, purchase frequency and social media popularity, and the detection queue is dynamically adjusted using the influencing factors.
[0050] All controlled foods should be ranked according to their risk levels. Controlled foods of the same risk level will be ranked in no particular order. When conducting comprehensive testing on controlled foods, the testing should be carried out according to the ranking in the testing queue. In real life, the testing queue should also be adjusted based on a variety of influencing factors, including market trends, purchase frequency, and social media popularity.
[0051] In Example 7, Figure 5 The implementation process of the food safety risk warning method provided by the embodiment of the present invention is shown. The steps of defining the member who purchases the controlled food as the purchaser and obtaining the read permission of the purchaser's personal information are described in detail as follows: S401: Using the traceability information, trace back to the manufacturer, and open the blockchain data upload interface to the manufacturer.
[0052] When buyers need to inquire about the manufacturer of controlled food, they can use traceability information to identify the manufacturer; in the blockchain, an exclusive data upload interface is opened to manufacturers, which allows manufacturers to upload real-time production data, quality inspection reports, raw material supplier information, environmental monitoring data and other information directly to the blockchain.
[0053] S402: Opening the query rights of the blockchain to the sales object to establish a communication link between the manufacturer and the buyer.
[0054] Open the query rights of blockchain to the sales objects, allowing them to query the relevant data of food, and at the same time build a communication link between the manufacturer and the sales objects; the manufacturer can provide product information, quality description, transportation status and necessary after-sales service to the sales objects through the communication link, and the sales objects can submit feedback, complaints or inquiries, thereby improving the satisfaction of both parties to the transaction.
[0055] Figure 6 The structure diagram of the food safety risk early warning system provided by the embodiment of the present invention is shown. The food safety risk early warning system 1 includes: Definition module 11, used to obtain food sampling tasks, determine sampling objects, configure a unique identifier for each of the sampling objects, collect the completion results of the food sampling tasks, and select foods that need to be fully tested from the sampling objects, and define them as controlled foods; A generating module 12 is used to determine the problem type of each of the controlled foods through the completion results, cluster the controlled foods into several risk levels, wherein each risk level corresponds to at least one processing method, and the processing methods at least include: recall, removal from shelves and controlled sales, and integrate the controlled foods, risk levels and processing methods to generate a query table; The judgment module 13 is used to collect the sales objects of the controlled food and divide them into ordinary customers and members, and build a sales control mechanism centered on the members, wherein the sales control mechanism is: judging whether the payment list of the member contains the controlled food, if so, pushing reminder information to the cash register terminal when paying; The push module 14 is used to define the member who purchases the controlled food as the purchaser, obtain the read permission of the purchaser's personal information, extract the purchaser's communication method from the preset sales object management platform, obtain the comprehensive inspection result of the controlled food, and determine whether the comprehensive inspection result is qualified. If so, generate feedback information, integrate the comprehensive inspection result into the feedback information, and push the feedback information to the purchaser via the communication method. If not, start the preset disposal plan.
[0056] Figure 7 The structure diagram of the food safety risk early warning system provided by the embodiment of the present invention is shown, and the definition module 11 includes: The uploading unit 111 is used to construct an information publishing platform and upload the sample inspection object and the corresponding completion result to the information publishing platform; The sending unit 112 is used to embed a timestamp into the completion result, define historical sampling data, generate adjustment suggestions for the sampling objects, and send the adjustment suggestions to a preset terminal; A collection unit 113 is used to collect the traceability information of the controlled food, wherein the traceability information at least includes: production data, supply chain data and logistics data; The embedding unit 114 is used to construct a block header corresponding to the traceability information, integrate all block headers, generate a blockchain, and embed a tail node into the blockchain; The synchronization unit 115 is used to synchronize the completion result and the comprehensive detection result to the tail node.
[0057] Figure 8 The structure diagram of the food safety risk early warning system provided by the embodiment of the present invention is shown, and the generating module 12 includes: The reading unit 121 is used to read the query request uploaded by the sales object to the information publishing platform, compare whether there are identical items in the query table, and push the comparison result to the sales object; The publishing unit 122 is used to build an evaluation community for food safety risks and integrate the evaluation community into the information publishing platform.
[0058] Fig. 9 The structure diagram of the food safety risk early warning system provided by the embodiment of the present invention is shown, and the judgment module 13 includes: The setting unit 131 is used to classify the members into several levels, determine the mapping between each level and the controlled food, and set the purchase authority of members of different levels; The calculation unit 132 is used to record the historical behavior of members in purchasing controlled foods and calculate the credit score of each member based on the preset credit evaluation rules.
[0059] Fig.10 The structure diagram of the food safety risk early warning system provided by the embodiment of the present invention is shown, and the push module 14 includes: The tracing unit 141 is used to trace back the manufacturer using the traceability information and open a data uploading interface of the blockchain to the manufacturer; The building unit 142 is used to open the query authority of the blockchain to the sales object and build a communication link between the manufacturer and the buyer.
[0060] The definition module 11 is mainly used to complete step S100, the generation module 12 is mainly used to complete step S200, the determination module 13 is mainly used to complete step S300, and the push module 14 is mainly used to complete step S400; The uploading unit 111 is mainly used to complete step S101, the sending unit 112 is mainly used to complete step S102, the collecting unit 113 is mainly used to complete step S103, the embedding unit 114 is mainly used to complete step S104, and the synchronization unit 115 is mainly used to complete step S105; The reading unit 121 is mainly used to complete step S201, and the issuing unit 122 is mainly used to complete step S202; The setting unit 131 is mainly used to complete step S301, and the calculation unit 132 is mainly used to complete step S302; The tracing back unit 141 is mainly used to complete step S401, and the building unit 142 is mainly used to complete step S402.
[0061] The technical features of the above-described embodiments may be arbitrarily combined. To make the description concise, not all possible combinations of the technical features in the above-described embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0062] The above-mentioned embodiments only express several implementation methods of the present invention, and the description thereof is relatively specific and detailed, but it cannot be understood as limiting the scope of the patent of the present invention. It should be pointed out that, for ordinary technicians in this field, several variations and improvements can be made without departing from the concept of the present invention, which all belong to the protection scope of the present invention. Therefore, the protection scope of the patent of the present invention shall be subject to the attached claims.
[0063] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A food safety risk early warning method, characterized in that: The method comprises: Obtain food sampling tasks, determine sampling objects, configure unique identifiers for each of the sampling objects, collect completion results of the food sampling tasks, and select foods that need to be fully tested from the sampling objects, and define them as controlled foods; Based on the completion results, the problem type of each of the controlled foods is determined, and the controlled foods are clustered into several risk levels, wherein each risk level corresponds to at least one treatment method, and the treatment methods at least include: recall, removal from shelves and controlled sales, and the controlled foods, risk levels and treatment methods are integrated to generate a query table; Collect the sales objects of the controlled food and divide them into ordinary customers and members, and build a sales control mechanism centered on the members, wherein the sales control mechanism is: determine whether the payment list of the member contains the controlled food, and if so, push reminder information to the cash register terminal when paying; Define the member who purchases the controlled food as the purchaser, obtain the permission to read the purchaser's personal information, extract the purchaser's communication method from the preset sales object management platform, obtain the comprehensive inspection result of the controlled food, determine whether the comprehensive inspection result is qualified, if so, generate feedback information, integrate the comprehensive inspection result into the feedback information, push the feedback information to the purchaser via the communication method, if not, initiate the preset disposal plan.
2. The food safety risk early warning method according to claim 1, characterized in that: The steps of obtaining a food sampling inspection task, determining the sampling inspection object, configuring a unique identifier for each of the sampling inspection objects, and collecting the completion result of the food sampling inspection task include: Constructing an information publishing platform, and uploading the sample inspection objects and corresponding completion results to the information publishing platform; A timestamp is embedded in the completion result, historical sampling data is defined, adjustment suggestions for the sampling objects are generated, and the adjustment suggestions are sent to a preset terminal.
3. The food safety risk early warning method according to claim 1, characterized in that: The steps of selecting foods that need to be fully tested and defining them as controlled foods include: Collecting traceability information of the controlled food, wherein the traceability information includes at least: production data, supply chain data and logistics data; Constructing a block header corresponding to the traceability information one by one, integrating all block headers, generating a blockchain, and embedding a tail node into the blockchain; The completion result and the comprehensive detection result are synchronized to the tail node.
4. The food safety risk early warning method according to claim 1, characterized in that: The step of integrating the risk level and the processing method to generate a query table includes: Reading the query request uploaded by the sales object to the information publishing platform, comparing whether there are identical items in the query table, and pushing the comparison result to the sales object; Build a food safety risk evaluation community and integrate the evaluation community into the information release platform.
5. The food safety risk early warning method according to claim 1, characterized in that: The steps of collecting the sales objects of the controlled food and dividing them into ordinary customers and members, and building a sales control mechanism centered on the members include: Classifying the members into several levels, determining the mapping between each level and controlled food, and setting the purchasing rights of members of different levels; The members’ historical purchase behavior of controlled foods is recorded, and the credit score of each member is calculated based on the preset credit evaluation rules.
6. The food safety risk early warning method according to claim 1, characterized in that: The method further comprises: Sort all controlled foods in descending order of risk level to obtain a testing queue; Configuring influencing factors of the detection queue, wherein the influencing factors at least include: market trends, purchase frequency, and social media popularity; The detection queue is dynamically adjusted using the influencing factors.
7. The food safety risk early warning method according to claim 3, characterized in that: The step of defining a member who purchases controlled food as a purchaser and obtaining permission to read the purchaser's personal information includes: Using the traceability information, trace back to the manufacturer, and open the blockchain data upload interface to the manufacturer; The query rights of the blockchain are opened to the sales object to establish a communication link between the manufacturer and the buyer.
8. A food safety risk early warning system, characterized in that: The system comprises: A definition module is used to obtain food sampling tasks, determine the sampling objects, configure a unique identifier for each of the sampling objects, collect the completion results of the food sampling tasks, and select foods that need to be fully tested from the sampling objects and define them as controlled foods; A generation module, used to determine the problem type of each of the controlled foods through the completion results, cluster the controlled foods into several risk levels, wherein each risk level corresponds to at least one treatment method, and the treatment methods at least include: recall, removal from shelves and controlled sales, and integrate the controlled foods, risk levels and treatment methods to generate a query table; A judgment module is used to collect the sales objects of the controlled food and divide them into ordinary customers and members, and build a sales control mechanism centered on the members, wherein the sales control mechanism is: to judge whether the payment list of the member contains the controlled food, and if so, to push a reminder message to the cash register terminal when paying; The push module is used to define members who purchase controlled foods as purchasers, obtain the permission to read the purchaser's personal information, extract the purchaser's communication method from the preset sales object management platform, obtain the comprehensive inspection results of the controlled foods, and determine whether the comprehensive inspection results are qualified. If so, generate feedback information, integrate the comprehensive inspection results into the feedback information, and push the feedback information to the purchaser via the communication method. If not, initiate the preset disposal plan.
9. The food safety risk early warning system according to claim 8, characterized in that: The definition module includes: An uploading unit, used to construct an information publishing platform and upload the sample inspection object and the corresponding completion result to the information publishing platform; A sending unit, used to embed a timestamp into the completion result, define historical sampling data, generate adjustment suggestions for the sampling object, and send the adjustment suggestions to a preset terminal; A collection unit, used to collect the traceability information of the controlled food, wherein the traceability information at least includes: production data, supply chain data and logistics data; An embedding unit, used to construct a block header corresponding to the traceability information, integrate all block headers, generate a blockchain, and embed a tail node into the blockchain; A synchronization unit is used to synchronize the completion result and the comprehensive detection result to the tail node.
10. The food safety risk early warning system according to claim 8, characterized in that: The generation module comprises: A reading unit, used to read the query request uploaded by the sales object to the information publishing platform, compare whether there are identical items in the query table, and push the comparison result to the sales object; The publishing unit is used to build an evaluation community for food safety risks and integrate the evaluation community into the information publishing platform.
Citation Information
Cited By
Data element circulation management method and system
CN120030576A
Food safety risk comprehensive prediction and grading evaluation method and system
CN121936929A