A canteen food safety supervision system based on cloud platform and Internet of Things

By introducing a food safety supervision system based on cloud platforms and the Internet of Things in the canteen, the problem of insufficient supervision by canteen managers has been solved, and the full-process automated supervision of food ingredients from entry to exit has been realized, improving the real-time nature of food safety management. and degree of automation.

CN118333344BActive Publication Date: 2024-08-27CHENGDU MASSEY TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410755308.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-12
Publication Date
2024-08-27
Estimated Expiration
2044-06-12

AI Technical Summary

Technical Problem

Canteen managers lack an effective supervision mechanism, which leads to huge safety hazards in the storage, use and sale of food ingredients, making it difficult to ensure food safety.

Method used

Design a canteen food safety supervision system based on cloud platform and Internet of Things, including warehousing supervision module, storage supervision module, outbound management module, processing supervision module, sample retention supervision module and sterilization supervision module. Through identity verification, food ingredients Detection, storage parameter optimization, automatic cleaning, color image analysis and sterilization plan execution realize full-process automated supervision from food storage to outbound, cleaning, sample retention and sterilization.

Benefits of technology

It improves the real-time and automated level of food safety supervision in canteens, and realizes the full-process automated supervision from food input, storage, outgoing, cleaning, frying, sample retention and sterilization, and enhances the efficiency and accuracy of food safety management. sex.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118333344B
    Figure CN118333344B
Patent Text Reader

Abstract

The present invention provides a canteen food safety supervision system based on a cloud platform and the Internet of Things, which relates to the field of data processing and comprises: an entry supervision module for recording food entry information; a storage supervision module for determining optimal storage parameters of food to be stored and performing regional storage; a delivery management module for recording food delivery information and generating food delivery prompt information in combination with a food knowledge graph; a processing supervision module for determining optimal cleaning parameters, controlling automatic cleaning equipment to clean food to be processed, obtaining color image information of multiple processing areas, and generating food processing prompt information; a sample retention supervision module for recording food sample retention color images, obtaining color image information of a sales area, and generating food sample retention prompt information; a disinfection supervision module for obtaining canteen operation information, formulating a disinfection plan, and controlling a disinfection robot to execute the plan, which has the advantages of improving the real-time performance and automation of canteen food safety supervision.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of data processing, and in particular to a canteen food safety supervision system based on a cloud platform and the Internet of Things. Background Art

[0002] Canteens are usually located in government offices, schools, factories, mines and other enterprises and institutions, and are places for internal employees, students, etc. Canteens are usually places where some people eat every day, so the hygiene and food safety of the canteen become particularly important.

[0003] At present, many canteen managers lack effective supervision mechanisms or weaken supervision after outsourcing their canteen operations, resulting in a lack of sufficient constraints on canteen operators. There are huge safety risks in each link of procurement, production and sales, which can easily breed corruption and danger. For example, there is a lack of effective supervision during the storage of food ingredients, and expired food ingredients are used to make food; food samples are not kept in a standardized manner or there are no food samples; and the internal safety of the canteen is not well guaranteed.

[0004] Therefore, it is necessary to provide a canteen food safety supervision system based on cloud platform and Internet of Things to improve the real-time and automation level of canteen food safety supervision. Summary of the invention

[0005] The present invention provides a canteen food safety supervision system based on a cloud platform and the Internet of Things, comprising: an entry supervision module, which is used to verify the entry authority of an entry staff member based on a food entry request, obtain food detection information of the food to be stored after completing the entry authority verification, and record the food entry information; a storage supervision module, which is used to determine the optimal storage parameters of the food to be stored based on the food entry information, and store the food to be stored in different areas based on the optimal storage parameters of the food to be stored; a delivery management module, which is used to verify the delivery authority of the delivery staff member based on a food delivery request, record the food delivery information after completing the delivery authority verification, and generate food delivery prompt information based on the food delivery information and the food knowledge map; a processing supervision module, which is used to determine the optimal storage parameters of the food to be processed based on the food delivery information The food detection information of the food ingredients is used to determine the optimal cleaning parameters, and based on the optimal cleaning parameters, the automatic cleaning equipment is controlled to clean the food to be processed. It is also used to obtain color image information of multiple processing areas, and generate food processing prompt information based on the color image information of the multiple processing areas; the sample retention supervision module is used to receive food sample retention requests, verify the sample retention authority of the sample retention staff, and after completing the sample retention authority verification, record the color image of the food sample retention, and is also used to obtain color image information of the sales area, and generate food sample retention prompt information based on the color image information of the sales area and the color image of the food sample retention; the disinfection supervision module is used to obtain the operation information of the canteen, formulate a disinfection plan based on the operation information of the canteen, and control the disinfection robot to execute the disinfection plan.

[0006] Furthermore, the warehouse entry supervision module verifies the warehouse entry authority of the warehouse entry staff based on the food entry request, including: obtaining color image information and infrared temperature measurement information of the warehouse entry staff based on the food entry request, wherein the color image information of the warehouse entry staff includes face color image, clothing color image and hand color image; judging whether the body temperature monitoring is qualified based on the infrared temperature measurement information; when the body temperature monitoring is judged to be qualified, judging whether the work attire is qualified based on the face color image, clothing color image and hand color image; when the work attire is judged to be qualified, determining the identity information of the warehouse entry staff based on the face color image and the hand color image, and verifying the warehouse entry authority based on the identity information of the warehouse entry staff.

[0007] Furthermore, the warehouse entry supervision module determines the identity information of the warehouse entry staff based on the face color image and the hand color image, including: establishing a warehouse entry authorization personnel database, wherein the warehouse entry authorization personnel database is used to record the identity characteristics of multiple warehouse entry authorization personnel, the identity characteristics at least include eye characteristics and hand characteristics, the eye characteristics at least include eye distance, eye width, eye white ratio, inner eye canthus angle and outer eye canthus angle, the hand characteristics at least include the length difference between any two fingers; for any two warehouse entry authorization personnel, based on the identity characteristics of the two warehouse entry authorization personnel, The similarity of the identity features of the two warehouse-entry authorization personnel is calculated; the multiple warehouse-entry authorization personnel are clustered based on the similarity of the identity features of any two warehouse-entry authorization personnel through a clustering algorithm to determine multiple warehouse-entry authorization personnel clusters; for any two warehouse-entry authorization personnel included in each warehouse-entry authorization personnel cluster, the similarity of each eye feature and each hand feature of the two warehouse-entry authorization personnel is calculated; for each warehouse-entry authorization personnel cluster, based on the similarity of each eye feature and each hand feature of any two warehouse-entry authorization personnel included in the warehouse-entry authorization personnel cluster, , filter the target eye features and target hand features corresponding to the warehouse entry authorization personnel cluster; extract the eye features and hand features of the warehouse entry staff based on the face color image and hand color image of the warehouse entry staff; for each warehouse entry authorization personnel cluster, calculate the identity feature similarity between the warehouse entry staff and the cluster center of the warehouse entry authorization personnel cluster based on the eye features and hand features of the warehouse entry staff and the eye features and hand features of the cluster center of the warehouse entry authorization personnel cluster; calculate the identity feature similarity between the warehouse entry staff and the cluster center of each warehouse entry authorization personnel cluster based on the identity feature similarity between the warehouse entry staff and the cluster center of each warehouse entry authorization personnel cluster , determine a target cluster of warehouse-entry authorization personnel; for each target cluster of warehouse-entry authorization personnel, based on the target eye features and target hand features corresponding to the warehouse-entry authorization personnel cluster, extract the target eye features and target hand features corresponding to the warehouse-entry staff, based on the target eye features and target hand features corresponding to the warehouse-entry staff and the target eye features and target hand features corresponding to the warehouse-entry authorization personnel included in the target cluster of warehouse-entry authorization personnel, calculate the similarity of identity features between the warehouse-entry staff and the warehouse-entry authorization personnel included in the target cluster of warehouse-entry authorization personnel, and determine the identity information of the warehouse-entry staff.

[0008] Furthermore, the warehousing supervision module obtains food detection information of the food to be stored, including: obtaining color image information, infrared image and weighing information of the food to be stored; determining the type of the food to be stored based on the color image information of the food to be stored; performing rot detection based on the color image information and infrared image of the food to be stored, and obtaining rot detection results; performing residue detection on the food to be stored, and obtaining residue detection results; judging whether to put the food into storage based on the rot detection results and the residue detection results; and when judging to put the food into storage, determining the storage quantity of the food to be stored based on the weighing information of the food to be stored, wherein the food detection information of the food to be stored includes the type, rot detection result, residue detection result and storage quantity.

[0009] Furthermore, the storage supervision module determines the optimal storage parameters of the food to be stored based on the food storage information, and stores the food to be stored in different areas based on the optimal storage parameters of the food to be stored, including: establishing a food storage database, wherein the food storage database is used to record the optimal storage parameters corresponding to a plurality of food ingredients; for any two of the food ingredients, based on the optimal storage parameters corresponding to the two food ingredients, calculating the similarity of the storage parameters between the two food ingredients; clustering the multiple food ingredients based on the similarity of the storage parameters between any two food ingredients through a clustering algorithm to determine a plurality of food clusters; determining a target food cluster from the plurality of food clusters based on the types of the food to be stored; determining a candidate storage area based on the target food cluster and the current storage information of a plurality of storage areas; determining a target storage area based on the current remaining space information of each of the candidate storage areas and the storage quantity of the food to be stored.

[0010] Furthermore, the food knowledge graph is used to record the incompatible ingredients corresponding to multiple ingredients; the outbound management module generates food outbound prompt information based on the food outbound information and the food knowledge graph, including: obtaining multiple food outbound information in the current food processing cycle; generating food outbound prompt information based on the food knowledge graph and the multiple food outbound information in the current food processing cycle.

[0011] Furthermore, the food detection information of the food to be processed includes at least pesticide residue information, veterinary drug residue information, heavy metal residue information, bacterial residue information, virus and bacteria residue information and parasite egg and bacteria residue information; the processing supervision module determines the optimal cleaning parameters based on the food detection information of the food to be processed, including: establishing a food cleaning database, wherein the food cleaning database is used to record basic cleaning parameters corresponding to a variety of food ingredients, and the basic cleaning parameters include at least basic soaking time parameters, basic soaking liquid composition parameters, basic ultrasonic working parameters and basic ultraviolet working parameters; based on the type of the food to be stored, obtaining the basic cleaning parameters corresponding to the food to be stored from the food cleaning database; based on the pesticide residue information, bacterial residue information, virus and bacteria residue information and parasite egg and bacteria residue information of the food to be processed, adjusting the basic cleaning parameters corresponding to the food to be stored, and determining the optimal cleaning parameters corresponding to the food to be stored.

[0012] Furthermore, the processing supervision module generates food processing prompt information based on the color image information of the multiple processing areas, including: generating intrusion detection information based on the color image information of the intrusion risk area, wherein the multiple processing areas include the intrusion risk area; obtaining color image information of the processing operation area, generating clothing detection information and personnel status detection information, wherein the multiple processing areas include the processing operation area; generating the food processing prompt information based on the intrusion detection information, clothing detection information and personnel status detection information.

[0013] Furthermore, the sample retention supervision module generates food sample retention prompt information based on the color image information of the sales area and the color image of the food samples, including: obtaining a color image of each dish to be sold based on the color image information of the sales area; for each dish to be sold, extracting the RGB distribution characteristics of the dish to be sold based on the color image of the dish to be sold; determining the RGB distribution characteristics of each sampled dish based on the food sample retention color image; generating food sample retention prompt information based on the RGB distribution characteristics of each dish to be sold and the RGB distribution characteristics of each sampled dish.

[0014] Furthermore, the disinfection supervision module formulates a disinfection plan based on the operating information of the canteen, including: based on the operating information of the canteen, determining at least one disinfection area and the disinfection method corresponding to each disinfection area; based on the location information of each disinfection area, generating a disinfection trajectory, wherein the disinfection plan includes the disinfection trajectory and the disinfection method corresponding to each disinfection area.

[0015] Compared with the prior art, the canteen food safety supervision system based on cloud platform and Internet of Things provided by the present invention has at least the following beneficial effects:

[0016] 1. Realize the full process automated supervision from food warehousing, storage, warehousing, cleaning, frying, sampling and disinfection, which improves the real-time and automation level of food safety supervision in the canteen.

[0017] 2. If the single feature fluctuation parameter is greater than the preset single feature fluctuation parameter threshold, it indicates that the entry-authorization personnel included in the entry-authorization personnel cluster have large differences in the eye features or hand features. Therefore, they are used as the target eye features and target hand features corresponding to the entry-authorization personnel cluster. When the identity information is determined subsequently, it is only necessary to calculate the similarity of the identity features between the entry staff and the entry-authorization personnel included in the target entry-authorization personnel cluster based on the target eye features and target hand features corresponding to the entry staff and the target eye features and target hand features corresponding to the entry-authorization personnel included in the target entry-authorization personnel cluster. This reduces invalid data processing and improves the efficiency of identity determination. BRIEF DESCRIPTION OF THE DRAWINGS

[0018] This specification will be further described in the form of exemplary embodiments, which will be described in detail by the accompanying drawings. These embodiments are not restrictive, and in these embodiments, the same number represents the same structure, wherein:

[0019] Figure 1 It is a module schematic diagram of a canteen food safety supervision system based on a cloud platform and the Internet of Things according to some embodiments of this specification;

[0020] Figure 2 It is a schematic diagram of a process for verifying the entry authority of the entry staff according to some embodiments of this specification;

[0021] Figure 3 is a schematic diagram of a process for determining identity information of a warehousing staff member according to some embodiments of this specification;

[0022] Figure 4 It is a schematic diagram of a process for storing food materials in different areas according to some embodiments of the present specification. DETAILED DESCRIPTION

[0023] In order to more clearly illustrate the technical solutions of the embodiments of this specification, the following is a brief introduction to the drawings required for the description of the embodiments. Obviously, the drawings described below are only some examples or embodiments of this specification. For ordinary technicians in this field, this specification can also be applied to other similar scenarios based on these drawings without creative work. Unless it is obvious from the language environment or otherwise explained, the same reference numerals in the figures represent the same structure or operation.

[0024] Figure 1 is a module diagram of a canteen food safety supervision system based on a cloud platform and the Internet of Things according to some embodiments of this specification, such as Figure 1 As shown, a canteen food safety supervision system based on a cloud platform and the Internet of Things may include an incoming supervision module, a storage supervision module, an outgoing management module, a processing supervision module, a sample retention supervision module and a disinfection supervision module.

[0025] The warehousing supervision module can be used to verify the warehousing authority of the warehousing staff based on the food warehousing request. After completing the warehousing authority verification, the food inspection information of the food to be stored is obtained and the food warehousing information is recorded.

[0026] Figure 2 is a schematic diagram of a process for verifying the entry authority of an entry staff member according to some embodiments of this specification, such as Figure 2 As shown, in some embodiments, the storage supervision module verifies the storage authority of the storage staff based on the food storage request, including:

[0027] Based on the food entry request, the color image information and infrared temperature measurement information of the entry staff are obtained, wherein the color image information of the entry staff includes a face color image, a clothing color image, and a hand color image;

[0028] Based on the infrared temperature measurement information, determine whether the body temperature monitoring is qualified;

[0029] When judging that the body temperature monitoring is qualified, judging whether the work attire is qualified is based on the color image of the face, the color image of the clothing and the color image of the hands;

[0030] When judging whether the work uniform is qualified, the identity information of the staff entering the warehouse is determined based on the color image of the face and the color image of the hands, and the entry authority is verified based on the identity information of the staff entering the warehouse.

[0031] Specifically, the SSD (Single Shot MultiBox Detector) target detection algorithm is used to determine whether the warehouse staff are wearing work masks and work hoods based on the color image of the face. Based on the color image of the hands, it is determined whether the warehouse staff are wearing accessories (for example, rings, bracelets, etc.) on their hands. When the warehouse staff are not wearing work masks and work hoods, or are wearing accessories on their hands, it is determined that the work attire is unqualified.

[0032] Figure 3 is a schematic diagram of a process for determining the identity information of a warehouse entry staff member according to some embodiments of this specification, such as Figure 3 As shown, in some embodiments, the warehouse entry supervision module determines the identity information of the warehouse entry staff based on the face color image and the hand color image, including:

[0033] Establishing a database of personnel with access rights, wherein the database of personnel with access rights is used to record identity features of multiple personnel with access rights, wherein the identity features include at least eye features and hand features, wherein the eye features include at least eye distance, eye width, white of eye ratio, inner canthus angle and outer canthus angle, and the hand features include at least the length difference between any two fingers;

[0034] For any two persons with access rights, the similarity of the identity features of the two persons with access rights is calculated based on their identity features;

[0035] Based on the similarity of identity features of any two persons with access rights, a clustering algorithm is used to cluster multiple persons with access rights, and multiple clusters of persons with access rights are determined;

[0036] For any two authorized persons included in each authorized person cluster, calculate the similarity of each eye feature and each hand feature between the two authorized persons;

[0037] For each entry-authority personnel cluster, based on the similarity of each eye feature and each hand feature between any two entry-authority personnel included in the entry-authority personnel cluster, the target eye features and target hand features corresponding to the entry-authority personnel cluster are screened;

[0038] Based on the face color image and hand color image of the warehouse staff, the eye features and hand features of the warehouse staff are extracted;

[0039] For each warehouse entry authorized personnel cluster, based on the eye features and hand features of the warehouse entry staff and the eye features and hand features of the cluster center of the warehouse entry authorized personnel cluster, calculate the identity feature similarity between the warehouse entry staff and the cluster center of the warehouse entry authorized personnel cluster;

[0040] Based on the similarity of identity characteristics between the warehouse entry staff and the cluster center of each warehouse entry permission personnel cluster, determine the target warehouse entry permission personnel cluster;

[0041] For each target cluster of warehouse-entry authorization personnel, the target eye features and target hand features corresponding to the warehouse-entry authorization personnel cluster are extracted; based on the target eye features and target hand features corresponding to the warehouse-entry authorization staff and the target eye features and target hand features corresponding to the warehouse-entry authorization personnel cluster, the similarity of identity features between the warehouse-entry staff and the warehouse-entry authorization personnel included in the target warehouse-entry authorization personnel cluster is calculated to determine the identity information of the warehouse-entry staff.

[0042] Specifically, the similarity of identity characteristics of two persons with access rights can be calculated based on the following formula:

[0043] ;

[0044] in, is the similarity of identity characteristics between the i-th access authorization personnel and the j-th access authorization personnel, is the value of the kth eye feature of the i-th person with storage permission, is the value of the kth eye feature of the jth person with storage permission, is the total number of eye features, is the length difference between the e-th finger and the f-th finger of the i-th person with access rights, is the length difference between the e-th finger and the f-th finger of the j-th person with access rights, is the preset parameter, and Greater than 0.

[0045] According to the following process, a clustering algorithm can be used to cluster multiple access personnel based on the similarity of identity characteristics of any two access personnel, and multiple access personnel clusters can be determined:

[0046] S11, determining m warehousing authorization personnel from multiple warehousing authorization personnel as initial cluster centers, each of the m warehousing authorization personnel being a cluster center, and executing S12;

[0047] S12, for each person with access authorization, assign the person with access authorization to the access authorization cluster where the cluster center with the greatest identity feature similarity is located, and execute S13;

[0048] S13, determine whether the allocation of all warehousing authority personnel has been completed, if so, execute S14, if not, execute S12;

[0049] S14, for each cluster of personnel with access rights, calculate the identity feature similarity fluctuation parameter of the cluster of personnel with access rights, and execute S15;

[0050] S15, determining whether there is at least one cluster of personnel with access rights whose identity feature similarity fluctuation parameter is greater than a preset identity feature similarity fluctuation parameter threshold, if so, executing S16, if not, executing S17;

[0051] S16, taking the entry-authority personnel cluster whose identity feature similarity fluctuation parameter is greater than the preset identity feature similarity fluctuation parameter threshold as the target entry-authority personnel cluster, retaining the cluster center of the target entry-authority personnel cluster, and adding a new cluster center to the target entry-authority personnel cluster, for example, taking the entry-authority personnel whose identity feature similarity with the entry-authority personnel represented by the cluster center of the target entry-authority personnel cluster as the new cluster center, and executing S12;

[0052] S17, determining whether there is at least one entry-authority personnel cluster including personnel with entry-authority less than a preset number threshold, if so, executing S18, if not, executing S19;

[0053] S18, taking a cluster of warehouse entry permission personnel whose number of warehouse entry permission personnel is less than a preset number threshold as an abnormal warehouse entry permission personnel cluster, canceling the cluster center of the abnormal warehouse entry permission personnel cluster, and executing S12;

[0054] S19. Clustering is completed.

[0055] For example, the identity feature similarity fluctuation parameter of the database entry authority cluster can be calculated based on the following formula:

[0056] ;

[0057] in, is the similarity fluctuation parameter of the identity characteristics of the tth access authority personnel cluster, is the identity feature similarity between the g-th entry-authority personnel included in the t-th entry-authority personnel cluster and the cluster center of the t-th entry-authority personnel cluster, is the total number of entry-authority personnel included in the t-th entry-authority personnel cluster, the target eye features and target hand features corresponding to the g-th entry-authority personnel included in the t-th entry-authority personnel cluster and the target eye features and target hand features corresponding to the entry-authority personnel represented by the cluster center of the t-th entry-authority personnel cluster can be brought into In the calculation formula, we get .

[0058] For each cluster of personnel with entry permission, the single feature fluctuation parameters corresponding to each eye feature and each hand feature are determined based on the similarity of each eye feature and the similarity of each hand feature between any two personnel with entry permission included in the cluster, and the eye feature whose single feature fluctuation parameter is greater than a preset single feature fluctuation parameter threshold is taken as the target eye feature, and the hand feature whose single feature fluctuation parameter is greater than the preset single feature fluctuation parameter threshold is taken as the target hand feature.

[0059] For example, the single feature fluctuation parameter corresponding to each eye feature can be calculated based on the following formula:

[0060] ;

[0061] in, is the single feature fluctuation parameter corresponding to the kth eye feature of the tth storage permission personnel cluster, is the single-person feature fluctuation parameter corresponding to the k-th eye feature of the g-th person with access authorization included in the t-th cluster of persons with access authorization, is the value of the kth eye feature of the gth person with access authorization included in the tth cluster of persons with access authorization, is the value of the kth eye feature of the hth person with entry permission included in the tth cluster of persons with entry permission.

[0062] It can be understood that if the single feature fluctuation parameter is greater than the preset single feature fluctuation parameter threshold, it indicates that the entry-authorization personnel included in the entry-authorization personnel cluster have large differences in the eye features or hand features. Therefore, they are used as the target eye features and target hand features corresponding to the entry-authorization personnel cluster. When the identity information is determined subsequently, it is only necessary to calculate the similarity of the identity features between the entry staff and the entry-authorization personnel included in the target entry-authorization personnel cluster based on the target eye features and target hand features corresponding to the entry staff and the target eye features and target hand features corresponding to the entry-authorization personnel included in the target entry-authorization personnel cluster. This reduces invalid data processing and improves the efficiency of identity determination.

[0063] In some embodiments, the storage supervision module obtains food inspection information of the food to be stored, including:

[0064] Obtaining color image information, infrared image and weighing information of food to be stored;

[0065] Determining the type of food to be stored based on the color image information of the food to be stored;

[0066] Based on the color image information and infrared image of the food to be stored, decay detection is performed to obtain the decay detection result;

[0067] Conducting residue detection on the food to be stored and obtaining residue detection results, wherein the residue detection results may include pesticide residue information, bacterial residue information, virus and bacteria residue information, and parasite egg and bacteria residue information;

[0068] Determine whether to store the product based on the decay and residue test results;

[0069] When deciding to put the food into storage, the storage quantity of the food to be stored is determined based on the weighing information of the food to be stored, wherein the food inspection information of the food to be stored includes the type, decay inspection result, residue inspection result and storage quantity.

[0070] It is understandable that when food begins to rot, it may undergo a series of biochemical changes that may generate heat. This is because microorganisms (e.g., bacteria and fungi) in food produce heat by performing metabolic activities when breaking down nutrients such as proteins, carbohydrates, and fats in food. In addition, rotten food usually changes color, which affects the RGB value of the image. For example, fresh food may have bright colors, but after rotting, the color may become darker, yellower, or produce other abnormal colors. These color changes will be captured in the color image and reflected as changes in RGB values. At the same time, spots, depressions, or other morphological changes may occur on the surface of rotten food, which will affect the texture and shape characteristics of the image. For example, the texture features of food can be extracted through image processing technology, and the texture features of rotten food will also be different from those of fresh food due to changes in surface structure. Therefore, the color image information and infrared image of the food to be stored can be combined to perform rot detection and obtain rot detection results.

[0071] When it is detected that the food to be stored is rotten or the residue exceeds the standard, the food to be stored is not allowed to be stored.

[0072] The storage supervision module can be used to determine the optimal storage parameters of the food to be stored based on the food storage information, and based on the optimal storage parameters of the food to be stored, store the food to be stored in different areas.

[0073] Figure 4 is a schematic diagram of a process for storing food materials in different areas according to some embodiments of this specification, such as Figure 4 As shown, in some embodiments, the storage supervision module determines the optimal storage parameters of the food to be stored based on the food storage information, and stores the food to be stored in different areas based on the optimal storage parameters of the food to be stored, including:

[0074] Establishing a food storage database, wherein the food storage database is used to record optimal storage parameters corresponding to a variety of food ingredients, and the optimal storage parameters may include optimal storage temperature, optimal storage humidity, and optimal storage ventilation speed, etc.;

[0075] For any two ingredients, based on the optimal storage parameters corresponding to the two ingredients, calculate the similarity of the storage parameters between the two ingredients;

[0076] Clustering multiple ingredients based on the similarity of storage parameters between any two ingredients using a clustering algorithm to determine multiple ingredient clusters;

[0077] Determining a target food cluster from a plurality of food clusters based on the types of food to be stored;

[0078] Determining candidate storage areas based on the target food cluster and current storage information of the plurality of storage areas;

[0079] The target storage area is determined based on the current remaining space information of each candidate storage area and the storage quantity of the food to be stored.

[0080] Specifically, for any two ingredients, the storage parameter similarity between the two ingredients can be calculated based on the difference in the optimal storage parameters corresponding to the two ingredients. The smaller the difference in the optimal storage parameters, the greater the storage parameter similarity between the two ingredients.

[0081] The clustering algorithm may be a K-Means algorithm, a spectral clustering algorithm, or the like.

[0082] The food cluster to which the type of food to be stored belongs may be used as the target food cluster.

[0083] The current storage information of the storage area may include the currently stored food in the storage area and the remaining storage space in the area. The candidate storage area may be a storage area where the currently stored food belongs to the target food cluster or a storage area where no food is stored. The candidate storage area whose remaining storage space in the area is greater than the storage volume of the food to be stored may be used as the target storage area.

[0084] The outbound delivery management module can be used to verify the outbound delivery authority of the outbound delivery staff based on the food outbound delivery request. After completing the outbound delivery authority verification, the food outbound delivery information is recorded, and based on the food outbound delivery information and the food knowledge graph, food outbound delivery prompt information is generated.

[0085] The method of verifying the outbound authorization of the outbound staff is similar to the method of verifying the inbound authorization of the inbound staff, which will not be repeated here.

[0086] In some embodiments, the food material knowledge map is used to record the mutually restraining food materials corresponding to a variety of food materials. For example, the mucous protein in eggs is easy to combine with the trypsin in soy milk to produce a substance that is not easily absorbed by the human body, which may affect the absorption of nutrients. Therefore, the food material knowledge map can record that eggs and soy milk can be mutually restraining food materials. For another example, the protein and calcium in milk may react with the citric acid in citrus fruits, affecting digestion. Therefore, the food material knowledge map can record that milk and citrus fruits can be mutually restraining food materials. For another example, both tofu and turtle are rich in high calcium. Eating them at the same time may cause an increase in calcium ion concentration in the body and affect heart function. Therefore, the food material knowledge map can record that tofu and turtle can be mutually restraining food materials. For another example, starch in bread and pectin in bananas and other substances may produce substances that are not easy to digest in the stomach. Therefore, the food material knowledge map can record that bread and bananas can be mutually restraining food materials. For another example, tannic acid in coffee may combine with protein in milk to form substances that are difficult to digest. Therefore, the food material knowledge map can record that milk and coffee can be mutually restraining food materials.

[0087] In some embodiments, the outbound management module generates food outbound prompt information based on the food outbound information and the food knowledge graph, including:

[0088] Obtain multiple food delivery information in the current food processing cycle;

[0089] Based on the food knowledge graph and multiple food delivery information in the current food processing cycle, food delivery prompt information is generated.

[0090] For example, when two mutually counteracting ingredients are shipped out during the current ingredient processing cycle (eg, one day, etc.), ingredient shipment prompt information is generated, and the ingredient shipment prompt information includes the shipment information of the mutually counteracting ingredients.

[0091] The processing supervision module can be used to determine the optimal cleaning parameters based on the food detection information of the food to be processed, and control the automatic cleaning equipment to clean the food to be processed based on the optimal cleaning parameters. It can also be used to obtain color image information of multiple processing areas, and generate food processing prompt information based on the color image information of multiple processing areas.

[0092] In some embodiments, the processing supervision module determines the optimal cleaning parameters based on the food detection information of the food to be processed, including:

[0093] Establishing a food cleaning database, wherein the food cleaning database is used to record basic cleaning parameters corresponding to a variety of food ingredients, wherein the basic cleaning parameters at least include basic soaking time parameters, basic soaking liquid composition parameters, basic ultrasonic working parameters, and basic ultraviolet working parameters, and the soaking liquid composition may include salt water content, alkaline water content, etc.;

[0094] Based on the types of food to be stored, basic cleaning parameters corresponding to the food to be stored are obtained from a food cleaning database;

[0095] Based on the pesticide residue information, bacterial residue information, virus and bacteria residue information, and parasite egg and bacteria residue information of the food to be processed, the basic cleaning parameters corresponding to the food to be stored are adjusted to determine the optimal cleaning parameters corresponding to the food to be stored.

[0096] Specifically, the basic cleaning parameters corresponding to the food to be stored can be adjusted based on the pesticide residue information, bacterial residue information, virus and bacteria residue information, and parasite egg and bacteria residue information of the food to be processed through the parameter adjustment model to determine the optimal cleaning parameters corresponding to the food to be stored, wherein the parameter adjustment model can be a convolutional neural network (CNN) model.

[0097] In some embodiments, the processing supervision module generates food processing prompt information based on the color image information of multiple processing areas, including:

[0098] generating intrusion object detection information based on color image information of the intrusion risk area, wherein the plurality of processing areas include the intrusion risk area;

[0099] Acquire color image information of a processing operation area, and generate clothing detection information and personnel status detection information, wherein the multiple processing areas include the processing operation area;

[0100] Based on the intrusion detection information, clothing detection information and personnel status detection information, food processing prompt information is generated.

[0101] Specifically, intrusion detection information may include biological intrusion detection information (e.g., snake intrusion detection information, rat intrusion detection information, cockroach intrusion detection information) and non-staff intrusion detection information. Clothing detection information may include whether the staff wears work clothes, work masks and work hats, etc. Personnel status detection information may include whether the staff is dozing off, playing with mobile phones, etc. Food processing prompt information may include intrusion prompt information, clothing prompt information and status prompt information.

[0102] The sample retention supervision module can be used to receive food sample retention requests, verify the sample retention authority of the sample retention staff, record the color image of the food sample after completing the sample retention authority verification, and obtain the color image information of the sales area, and generate food sample retention prompt information based on the color image information of the sales area and the color image of the food sample.

[0103] The method of verifying the sample retention authority of the sample retention staff is similar to the method of verifying the warehousing entry authority of the warehousing staff, which will not be repeated here.

[0104] In some embodiments, the sample retention supervision module generates food sample retention prompt information based on the color image information of the sales area and the color image of the food sample retention, including:

[0105] Based on the color image information of the sales area, a color image of each dish to be sold is obtained;

[0106] For each dish to be sold, based on the color image of the dish to be sold, extract the RGB distribution features of the dish to be sold;

[0107] Based on the color images of food samples, the RGB distribution characteristics of each sample dish are determined;

[0108] The RGB distribution characteristics of each dish to be sold and the RGB distribution characteristics of each dish to be sampled are used to generate food sample retention prompt information.

[0109] Specifically, for each dish to be sold, a color histogram corresponding to the color image of the dish to be sold can be generated based on the color image of the dish to be sold through a histogram generation model. For each row of pixels in the color image of the dish to be sold, the row RGB fluctuation parameters corresponding to the row of pixels are calculated to determine the maximum row RGB fluctuation parameters. For each column of pixels in the color image of the dish to be sold, the column RGB fluctuation parameters corresponding to the row of pixels are calculated to determine the maximum column RGB fluctuation parameters, wherein the RGB distribution characteristics of the dish to be sold may include a color histogram, a maximum row RGB fluctuation parameter, and a maximum column RGB fluctuation parameter. The same processing is performed on the color image of the retained food sample, and the RGB distribution characteristics of the retained food sample obtained include a color histogram, a maximum row RGB fluctuation parameter, and a maximum column RGB fluctuation parameter. The histogram generation model may include a generative adversarial network.

[0110] Based on the RGB distribution characteristics of each dish to be sold and the RGB distribution characteristics of each sample dish, the dish matching degree between the dish to be sold and the sample dish is determined. When the dish matching degree between the dish to be sold and a sample dish is greater than a preset dish matching degree threshold, it is judged that the dish to be sold has been sampled. If it is detected that a dish to be sold has not been sampled, food sample retention prompt information is generated to prompt the staff to keep a sample of the dish to be sold.

[0111] As an example only, the row RGB fluctuation parameter may be calculated based on the following formula:

[0112] ;

[0113] in, is the row RGB fluctuation parameter, is the RGB value of the rth pixel in a column of pixels, The total number of pixels in a column.

[0114] The dish matching degree is calculated based on the following formula:

[0115] ;

[0116] in, is the dish matching degree between the xth dish to be sold and the yth dish to be sampled, is the similarity between the color histogram corresponding to the x-th dish to be sold and the color histogram corresponding to the y-th reserved dish, is the maximum row RGB fluctuation parameter corresponding to the xth dish to be sold, is the maximum row RGB fluctuation parameter corresponding to the yth sample dish, is the maximum column RGB fluctuation parameter corresponding to the xth dish to be sold, is the maximum column RGB fluctuation parameter corresponding to the yth sample dish, and All are preset weights. and are greater than 0, and .

[0117] The disinfection supervision module can be used to obtain the operating information of the canteen, formulate a disinfection plan based on the canteen's operating information, and control the disinfection robot to execute the disinfection plan.

[0118] In some embodiments, the disinfection supervision module formulates a disinfection plan based on the operation information of the cafeteria, including:

[0119] Based on the operation information of the canteen, determine at least one disinfection area and the disinfection method corresponding to each disinfection area;

[0120] Based on the location information of each disinfection area, a disinfection trajectory is generated, wherein the disinfection plan includes the disinfection trajectory and the disinfection method corresponding to each disinfection area.

[0121] The canteen's operating information may include food in-warehouse information, food out-warehouse information, intrusion detection information, clothing detection information, personnel status detection information, and traffic information.

[0122] The disinfection areas can be areas where invasion occurs, food storage areas, food outbound areas, areas with heavy traffic, etc.

[0123] A disinfection trajectory can be generated through a trajectory generation model based on the location information of each disinfection area and the operation information of the canteen, wherein the disinfection plan includes the disinfection trajectory and the disinfection method corresponding to each disinfection area, wherein the trajectory generation model can be a convolutional neural network (CNN) model, and the disinfection methods can include physical disinfection, chemical disinfection, ultraviolet disinfection, spray disinfection, mopping disinfection, etc.

[0124] Finally, it should be understood that the embodiments described in this specification are only used to illustrate the principles of the embodiments of this specification. Other variations may also fall within the scope of this specification. Therefore, as an example and not a limitation, alternative configurations of the embodiments of this specification may be considered consistent with the teachings of this specification. Accordingly, the embodiments of this specification are not limited to the embodiments explicitly introduced and described in this specification.

Claims

1. A canteen food safety supervision system based on cloud platform and Internet of Things, characterized in that: include: The warehousing supervision module is used to verify the warehousing authority of the warehousing staff based on the food warehousing request. After completing the warehousing authority verification, the food inspection information of the food to be stored is obtained and the food warehousing information is recorded; A storage supervision module, used to determine the optimal storage parameters of the food to be stored based on the food storage information, and store the food to be stored in different areas based on the optimal storage parameters of the food to be stored; The outbound management module is used to verify the outbound authority of the outbound staff based on the outbound request of the food. After completing the outbound authority verification, the outbound information of the food is recorded, and based on the outbound information of the food and the food knowledge graph, the outbound prompt information of the food is generated; A processing supervision module, used to determine optimal cleaning parameters based on food detection information of the food to be processed, control the automatic cleaning device to clean the food to be processed based on the optimal cleaning parameters, and also used to obtain color image information of multiple processing areas, and generate food processing prompt information based on the color image information of the multiple processing areas; The sample retention supervision module is used to receive food sample retention requests, verify the sample retention authority of the sample retention staff, and after completing the sample retention authority verification, record the color image of the food sample retention, and is also used to obtain the color image information of the sales area, and generate food sample retention prompt information based on the color image information of the sales area and the color image of the food sample retention; A disinfection supervision module is used to obtain the operation information of the canteen, formulate a disinfection plan based on the operation information of the canteen, and control the disinfection robot to execute the disinfection plan; The entry supervision module verifies the entry authority of the entry staff based on the food entry request, including: Based on the food entry request, the color image information and infrared temperature measurement information of the entry staff are obtained, wherein the color image information of the entry staff includes a face color image, a clothing color image, and a hand color image; Based on the infrared temperature measurement information, determine whether the body temperature monitoring is qualified; When the body temperature monitoring is determined to be qualified, judging whether the work attire is qualified based on the face color image, clothing color image and hand color image; When judging that the work uniform is qualified, the identity information of the warehouse entry staff is determined based on the face color image and the hand color image, and the warehouse entry authority is verified based on the identity information of the warehouse entry staff; The warehousing supervision module determines the identity information of the warehousing staff based on the face color image and the hand color image, including: Establishing a database of personnel with access rights, wherein the database is used to record identity features of multiple personnel with access rights, wherein the identity features include at least eye features and hand features, wherein the eye features include at least eye distance, eye width, white of eye ratio, inner canthus angle and outer canthus angle, and the hand features include at least the length difference between any two fingers; For any two of the warehouse entry authorized persons, based on the identity features of the two warehouse entry authorized persons, the similarity of the identity features of the two warehouse entry authorized persons is calculated; Clustering the plurality of warehouse entry authorized personnel based on the similarity of identity characteristics of any two of the warehouse entry authorized personnel through a clustering algorithm to determine a plurality of warehouse entry authorized personnel clusters; For any two of the warehouse entry authorized persons included in each warehouse entry authorized person cluster, calculate the similarity of each eye feature and each hand feature between the two warehouse entry authorized persons; For each of the warehouse entry permission personnel clusters, based on the similarity of each eye feature and each hand feature between any two of the warehouse entry permission personnel included in the warehouse entry permission personnel cluster, the target eye features and target hand features corresponding to the warehouse entry permission personnel cluster are screened; Based on the face color image and hand color image of the warehouse entry staff, extract the eye features and hand features of the warehouse entry staff; For each of the warehouse entry authorized personnel clusters, based on the eye features and hand features of the warehouse entry staff and the eye features and hand features of the cluster center of the warehouse entry authorized personnel cluster, calculate the identity feature similarity between the warehouse entry staff and the cluster center of the warehouse entry authorized personnel cluster; Determine a target warehouse entry authorized personnel cluster based on the identity feature similarity between the warehouse entry staff and the cluster center of each warehouse entry authorized personnel cluster; For each of the target warehouse-entry authorization personnel clusters, based on the target eye features and target hand features corresponding to the warehouse-entry authorization personnel cluster, the target eye features and target hand features corresponding to the warehouse-entry staff are extracted; based on the target eye features and target hand features corresponding to the warehouse-entry staff and the target eye features and target hand features corresponding to the warehouse-entry authorization personnel included in the target warehouse-entry authorization personnel cluster, the similarity of identity features between the warehouse-entry staff and the warehouse-entry authorization personnel included in the target warehouse-entry authorization personnel cluster is calculated to determine the identity information of the warehouse-entry staff; The similarity of identity characteristics of two people with access rights is calculated based on the following formula: in, is the similarity of identity characteristics between the i-th access authorization personnel and the j-th access authorization personnel, is the value of the kth eye feature of the i-th person with storage permission, is the value of the kth eye feature of the jth person with storage permission, is the total number of eye features, is the length difference between the e-th finger and the f-th finger of the i-th person with access rights, is the length difference between the e-th finger and the f-th finger of the j-th person with access rights, is the preset parameter, and Greater than 0; According to the following process, a clustering algorithm is used to cluster multiple access personnel based on the similarity of identity characteristics of any two access personnel, and multiple access personnel clusters are determined: S11, determining m warehousing authorization personnel from multiple warehousing authorization personnel as initial cluster centers, each of the m warehousing authorization personnel being a cluster center, and executing S12; S12, for each person with access authorization, assign the person with access authorization to the access authorization cluster where the cluster center with the greatest identity feature similarity is located, and execute S13; S13, determine whether the allocation of all warehousing authority personnel has been completed, if so, execute S14, if not, execute S12; S14, for each cluster of personnel with access rights, calculate the identity feature similarity fluctuation parameter of the cluster of personnel with access rights, and execute S15; S15, determining whether there is at least one cluster of personnel with access rights whose identity feature similarity fluctuation parameter is greater than a preset identity feature similarity fluctuation parameter threshold, if so, executing S16, if not, executing S17; S16, taking the entry-authority personnel cluster whose identity feature similarity fluctuation parameter is greater than the preset identity feature similarity fluctuation parameter threshold as the target entry-authority personnel cluster, retaining the cluster center of the target entry-authority personnel cluster, and adding a new cluster center to the target entry-authority personnel cluster, for example, taking the entry-authority personnel whose identity feature similarity with the entry-authority personnel represented by the cluster center of the target entry-authority personnel cluster as the new cluster center, and executing S12; S17, determining whether there is at least one entry-authority personnel cluster including personnel with entry-authority less than a preset number threshold, if so, executing S18, if not, executing S19; S18, taking a cluster of warehouse entry personnel whose number of warehouse entry personnel is less than a preset number threshold as an abnormal warehouse entry personnel cluster, canceling the cluster center of the abnormal warehouse entry personnel cluster, and executing S12; S19, clustering is completed; The identity feature similarity fluctuation parameter of the database entry authority cluster is calculated based on the following formula: in, is the similarity fluctuation parameter of the identity characteristics of the tth access authority personnel cluster, is the identity feature similarity between the g-th entry-authority personnel included in the t-th entry-authority personnel cluster and the cluster center of the t-th entry-authority personnel cluster, is the total number of entry-authority personnel included in the t-th entry-authority personnel cluster, and the target eye features and target hand features corresponding to the g-th entry-authority personnel included in the t-th entry-authority personnel cluster and the target eye features and target hand features corresponding to the entry-authority personnel represented by the cluster center of the t-th entry-authority personnel cluster are brought into In the calculation formula, we get ; For each entry-authority personnel cluster, based on the similarity of each eye feature and each hand feature between any two entry-authority personnel included in the entry-authority personnel cluster, determine the single feature fluctuation parameters corresponding to each eye feature and each hand feature, take the eye feature whose single feature fluctuation parameter is greater than a preset single feature fluctuation parameter threshold as the target eye feature, and take the hand feature whose single feature fluctuation parameter is greater than the preset single feature fluctuation parameter threshold as the target hand feature; The single feature fluctuation parameter corresponding to each eye feature is calculated based on the following formula: in, is the single feature fluctuation parameter corresponding to the kth eye feature of the tth storage permission personnel cluster, is the single-person feature fluctuation parameter corresponding to the k-th eye feature of the g-th person with access authorization included in the t-th cluster of persons with access authorization, is the value of the kth eye feature of the gth person with access authorization included in the tth cluster of persons with access authorization, is the value of the kth eye feature of the hth person with entry permission included in the tth cluster of persons with entry permission.

2. According to claim 1, a canteen food safety supervision system based on cloud platform and Internet of Things is characterized in that: The storage supervision module obtains food inspection information of the food to be stored, including: Obtaining color image information, infrared image and weighing information of the food to be stored; Determining the type of the food to be stored based on the color image information of the food to be stored; Based on the color image information and the infrared image of the food to be stored, performing decay detection and obtaining a decay detection result; Performing a residue test on the food to be stored and obtaining a residue test result; Determine whether to store the product based on the decay and residue test results; When determining to put the food into storage, the storage quantity of the food to be stored is determined based on the weighing information of the food to be stored, wherein the food detection information of the food to be stored includes the type, decay detection result, residue detection result and storage quantity.

3. A canteen food safety supervision system based on cloud platform and Internet of Things according to claim 2, characterized in that: The storage supervision module determines the optimal storage parameters of the food to be stored based on the food storage information, and stores the food to be stored in different areas based on the optimal storage parameters of the food to be stored, including: Establishing a food storage database, wherein the food storage database is used to record optimal storage parameters corresponding to a variety of food ingredients; For any two of the ingredients, based on the optimal storage parameters corresponding to the two ingredients, calculating the similarity of the storage parameters between the two ingredients; Clustering the plurality of ingredients based on the similarity of storage parameters between any two of the ingredients using a clustering algorithm to determine a plurality of ingredient clusters; Based on the types of the food to be stored, determining a target food cluster from the multiple food clusters; Determining candidate storage areas based on the target food cluster and current storage information of multiple storage areas; Based on the current remaining space information of each of the candidate storage areas and the storage quantity of the food to be stored, a target storage area is determined.

4. The canteen food safety supervision system based on cloud platform and Internet of Things according to claim 1 is characterized in that: The food knowledge graph is used to record the incompatible food ingredients corresponding to various food ingredients; The outbound management module generates food outbound prompt information based on the food outbound information and the food knowledge graph, including: Obtain multiple food delivery information in the current food processing cycle; Based on the food knowledge graph and the multiple food delivery information in the current food processing cycle, food delivery prompt information is generated.

5. A canteen food safety supervision system based on a cloud platform and the Internet of Things according to any one of claims 1 to 4, characterized in that: The food detection information of the food to be processed includes at least pesticide residue information, veterinary drug residue information, heavy metal residue information, bacterial residue information, virus and bacteria residue information, and parasite egg and bacteria residue information; The processing supervision module determines the optimal cleaning parameters based on the food detection information of the food to be processed, including: Establishing a food cleaning database, wherein the food cleaning database is used to record basic cleaning parameters corresponding to a variety of food materials, wherein the basic cleaning parameters at least include basic soaking time parameters, basic soaking liquid composition parameters, basic ultrasonic working parameters, and basic ultraviolet working parameters; Based on the type of the food to be stored, obtaining basic cleaning parameters corresponding to the food to be stored from the food cleaning database; Based on the pesticide residue information, bacterial residue information, virus and bacteria residue information, and parasite egg and bacteria residue information of the food to be processed, the basic cleaning parameters corresponding to the food to be stored are adjusted to determine the optimal cleaning parameters corresponding to the food to be stored.

6. A canteen food safety supervision system based on a cloud platform and the Internet of Things according to any one of claims 1 to 4, characterized in that: The processing supervision module generates food processing prompt information based on the color image information of the multiple processing areas, including: generating intruder detection information based on color image information of the intrusion risk area, wherein the plurality of processing areas include the intrusion risk area; Acquire color image information of a processing operation area, and generate clothing detection information and personnel status detection information, wherein the multiple processing areas include the processing operation area; The food processing prompt information is generated based on the intrusion detection information, clothing detection information and personnel status detection information.

7. A canteen food safety supervision system based on a cloud platform and the Internet of Things according to any one of claims 1 to 4, characterized in that: The sample retention supervision module generates food sample retention prompt information based on the color image information of the sales area and the food sample retention color image, including: Based on the color image information of the sales area, obtaining a color image of each dish to be sold; For each dish to be sold, extracting RGB distribution features of the dish to be sold based on the color image of the dish to be sold; Based on the color images of food samples, the RGB distribution characteristics of each sample dish are determined; The RGB distribution characteristics of each dish to be sold and the RGB distribution characteristics of each dish to be retained are used to generate food sample retention prompt information.

8. A canteen food safety supervision system based on a cloud platform and the Internet of Things according to any one of claims 1 to 4, characterized in that: The disinfection supervision module formulates a disinfection plan based on the operation information of the canteen, including: Based on the operation information of the canteen, determine at least one disinfection area and a disinfection method corresponding to each disinfection area; Based on the location information of each of the disinfection areas, a disinfection trajectory is generated, wherein the disinfection plan includes the disinfection trajectory and the disinfection method corresponding to each of the disinfection areas.