CN111552775A - Food data processing method and system - Google Patents

Food data processing method and system Download PDF

Info

Publication number
CN111552775A
CN111552775A CN202010332016.8A CN202010332016A CN111552775A CN 111552775 A CN111552775 A CN 111552775A CN 202010332016 A CN202010332016 A CN 202010332016A CN 111552775 A CN111552775 A CN 111552775A
Authority
CN
China
Prior art keywords
food
data
abnormal
information
food data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010332016.8A
Other languages
Chinese (zh)
Other versions
CN111552775B (en
Inventor
王祉干
赵秀芸
王子生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Mint Health Technology Co ltd
Original Assignee
Shandong Ruiyin Agricultural Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Ruiyin Agricultural Technology Co ltd filed Critical Shandong Ruiyin Agricultural Technology Co ltd
Priority to CN202010332016.8A priority Critical patent/CN111552775B/en
Publication of CN111552775A publication Critical patent/CN111552775A/en
Application granted granted Critical
Publication of CN111552775B publication Critical patent/CN111552775B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/3331Query processing
    • G06F16/3332Query translation
    • G06F16/3334Selection or weighting of terms from queries, including natural language queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/33Querying
    • G06F16/335Filtering based on additional data, e.g. user or group profiles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data
    • G06F16/35Clustering; Classification
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Business, Economics & Management (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Tourism & Hospitality (AREA)
  • Computational Linguistics (AREA)
  • Development Economics (AREA)
  • Educational Administration (AREA)
  • Artificial Intelligence (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The invention discloses a food data processing method and a system, wherein the method comprises the following steps: collecting food data; judging whether food corresponding to the food data is abnormal or not according to the collected food data, and if so, acquiring abnormal food information; and carrying out routing inspection according to the acquired food abnormal information. According to the technical scheme, manpower and material resources consumed in searching and analyzing food abnormal information are saved, and potential food safety hazards are avoided.

Description

Food data processing method and system
Technical Field
The invention relates to the technical field of data processing, in particular to a food data processing method and system.
Background
Food safety (food safety) always is a social hotspot problem, and means that food is nontoxic and harmless, meets the existing nutritional requirements, and does not cause any acute, subacute or chronic harm to human health. At present, the food is supervised, the searching and analyzing of food abnormal information depend on the manpower paid by people for checking, a large amount of manpower and material resources are consumed, the abnormal analysis of the whole quality of the food cannot be accurately carried out, and the potential safety hazard of the food can be caused.
Disclosure of Invention
The invention provides a food data processing method, which adopts the following technical scheme that the method comprises the following steps:
collecting food data;
judging whether food corresponding to the food data is abnormal or not according to the collected food data, and if so, acquiring abnormal food information;
and carrying out routing inspection according to the obtained food abnormal information.
In one embodiment, the step of collecting food data comprises:
acquiring a data acquisition service requirement;
configuring a data acquisition task rule according to the data acquisition service requirement; the data acquisition task rule corresponds to at least one acquisition characteristic information;
and acquiring data according to the acquisition task rule to obtain the food data.
In one embodiment, the step of collecting food data further comprises:
detecting food keywords in a target website, an application APP or a target scene, wherein the food keywords are common vocabularies in the food industry;
when the food keywords are detected in the target website, the application APP or the target scene, determining the information segment where the detected food keywords are located;
determining the information segment where the detected food key words are located as food characteristic information;
judging whether the food characteristic information is matched with the collected characteristic information in the data collection task rule or not,
and if so, acquiring data in the target website, the application APP or the target scene according to the acquisition task rule to obtain the food data.
In one embodiment, when collecting the food data, further comprising:
acquiring the current time of the food data acquisition, wherein the current time comprises year, month, day, hour, minute and second;
judging whether the food data meet the standard of private information, storing the food data in an encryption mode according to the current time when the food data meet the standard of the private information,
and when the food data does not meet the standard of the private information, storing the food data in a non-encryption mode according to the current time.
In one embodiment, judging whether food corresponding to the food data is abnormal according to the collected food data, and if so, acquiring food abnormal information, including:
converting the collected food data and data in a food data standard library into a data structure in a preset tabular form;
searching an original standard data set which is the same as at least one component of the food corresponding to the food data in the food data standard library;
searching and screening the original standard data set according to the food name in the food data to obtain a current standard data set;
similarity calculation is carried out on the current standard data set according to all the components of the food corresponding to the food data, and the similarity of the food data and any one piece of data in the current standard data set is obtained;
determining the data with the highest similarity with the food data in the current standard data set according to the similarity;
judging whether the data with the highest similarity to the food data in the current standard data set is the same as the food data,
if not, determining that the food corresponding to the food data is abnormal, and acquiring abnormal food information;
wherein the composition comprises ingredient composition and/or nutritional composition.
In one embodiment, the step of performing routing inspection according to the acquired food abnormal information comprises:
acquiring the food abnormal information;
acquiring a polling instruction;
based on the inspection instruction, performing inspection according to the food abnormal information to obtain an inspection result;
sending out a prompt according to the inspection result;
and performing label processing or extraction processing on the food corresponding to the food abnormal information according to the prompt.
In one embodiment, the food data includes any one or more of a food name, a food production date, a food shelf life, a composition, a place of manufacture, and a production license number.
In one embodiment, further comprising:
and carrying out pollution-free recovery or destruction on the food corresponding to the food abnormal information.
In one embodiment, the determining whether the food corresponding to the food data is abnormal according to the collected food data specifically includes:
A. preliminarily judging the food corresponding to the food data according to the food data;
Figure BDA0002465279640000031
wherein, the preliminary judgment value x of the food corresponding to the food dataiIs the ith data value of the food data, n is the number of data included in the food data, [ m [ ]i,ni]The normal value range of the ith data of the food data is obtained;
and when the food data is larger than the preset judgment value, the food corresponding to the food data is suspected to be abnormal, further judgment is carried out on the food corresponding to the food data suspected to be abnormal according to the judgment result B, otherwise, the food corresponding to the food data is normal, and the judgment result B is not required. .
B. Further judging the food corresponding to the food data suspected to be abnormal;
calculating judgment values of chemical attribute data and physical attribute data of the food corresponding to the food data;
Figure BDA0002465279640000041
Figure BDA0002465279640000042
in the above formula, kiα is the judgment value of the ith data in the chemical attributes of the food corresponding to the food dataiIs the ith data value, a in the chemical attribute of the food corresponding to the food dataiThe lower limit of the normal range of the ith data in the chemical attributes of the food corresponding to the food data, biThe upper limit, g, of the normal range of the ith data in the chemical attributes of the food corresponding to the food dataiβ is the judgment value of the ith data in the physical attribute of the food corresponding to the food dataiIs the ith data, z, in the physical attributes of the food corresponding to the food dataiAnd the ith data standard value in the physical attribute of the food corresponding to the food data is exp is an exponential function, lg is a logarithmic function, and e is a natural number.
Obtaining a further judgment result;
Figure BDA0002465279640000043
wherein ,
Figure BDA0002465279640000044
a further determination result, k, for the food corresponding to the food dataiIs the judgment value of the ith data in the chemical attributes of the food corresponding to the food data, giIs the judgment value of the ith data in the physical attributes of the food corresponding to the food data, AiPresetting a confidence interval, p, of the ith data in the chemical attributes of the food corresponding to the food dataiPresetting the physics of the food corresponding to the food dataAnd the threshold value of the ith data in the attribute is 1, which represents that the food corresponding to the food data is abnormal, and 0, which represents that the food corresponding to the food data is normal.
The present invention provides a food data processing system, comprising:
the data acquisition end is connected with the server end and used for acquiring food data and sending the food data to the server end;
the server end is respectively connected with the data acquisition end and the inspection end and is used for receiving the food data sent by the data acquisition end, judging whether food corresponding to the food data is abnormal or not according to the food data, and if the food corresponding to the food data is abnormal, acquiring abnormal food information and sending the abnormal food information to the inspection end;
and the inspection end is used for receiving the food abnormal information sent by the server end so as to perform inspection according to the food abnormal information.
The technical scheme provided by the embodiment of the invention has the following beneficial effects:
firstly, collecting food data; then, judging whether the food corresponding to the food data is abnormal or not according to the food data, and if so, acquiring abnormal food information; and finally, carrying out inspection according to the food abnormal information. According to the technical scheme, food data do not need to be checked and analyzed manually, a large amount of manpower and material resources are saved, the overall quality of food can be analyzed accurately, the abnormal condition of the food can be accurately obtained according to the food data, and the potential safety hazard of the food is avoided.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and drawings.
The technical solution of the present invention is further described in detail by the accompanying drawings and embodiments.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a flow chart of a food data processing method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another food data processing method according to an embodiment of the present invention;
FIG. 3 is a flow chart of another food data processing method according to an embodiment of the present invention;
FIG. 4 is a flow chart of another food data processing method according to an embodiment of the present invention;
FIG. 5 is a block diagram of a food data processing system in accordance with an embodiment of the present invention.
Detailed Description
The preferred embodiments of the present invention will be described in conjunction with the accompanying drawings, and it will be understood that they are described herein for the purpose of illustration and explanation and not limitation.
The invention provides a food data processing method, as shown in fig. 1, comprising:
step 1: collecting food data;
step 2: judging whether food corresponding to the food data is abnormal or not according to the collected food data, and if so, acquiring abnormal food information;
and step 3: and carrying out routing inspection according to the obtained food abnormal information.
Food data includes, but is not limited to, food name, food production date, food shelf life, ingredients, place of production, and production license number.
The food abnormal information includes but is not limited to food which is already out of date and is not produced by production license, bad taste caused by food composition not meeting the standard, food composition not meeting the standard and the like.
Firstly, collecting food data; then, judging whether the food corresponding to the food data is abnormal or not according to the food data, and if so, acquiring abnormal food information; and finally, carrying out routing inspection according to the food abnormal information. According to the technical scheme, food data do not need to be checked and analyzed manually, a large amount of manpower and material resources are saved, the overall quality of food can be analyzed accurately, the abnormal condition of the food can be accurately obtained according to the food data, and the potential safety hazard of the food is avoided.
In one embodiment, as shown in fig. 2, the step of collecting food data comprises:
step 11: acquiring a data acquisition service requirement;
step 12: configuring a data acquisition task rule according to the data acquisition service requirement; the data acquisition task rule corresponds to at least one acquisition characteristic information;
step 13: and acquiring data according to the acquisition task rule to obtain the food data.
The collection business requirement refers to the variety of food data to be collected by a user (because the variety of food is many, such as beverage and snacks, and the brand of the food can be further precise, such as coca-cola, etc.), the quantity of the collected food data, and the like, and the data collection task rule is the concretization of the data collection business requirement, and the collected characteristic information can be the specific collected quantity, the specific collected type, and the like.
In the embodiment, the data acquisition service requirement is acquired; then, configuring a data acquisition task rule according to the data acquisition service requirement; furthermore, data acquisition is carried out according to the acquisition task rule, food data can be obtained, and the food data can be acquired in a targeted and purposeful manner by configuring the data acquisition task rule, so that the efficiency is improved.
In one embodiment, as shown in fig. 3, the step of collecting food data further comprises:
step 111: detecting food keywords in a target website, an application APP or a target scene, wherein the food keywords are common vocabularies in the food industry;
step 112: when the food keywords are detected in the target website, the application APP or the target scene, determining the information segment where the detected food keywords are located;
step 113: determining the information segment where the detected food key words are located as food characteristic information;
step 114: judging whether the food characteristic information is matched with the collected characteristic information in the data collection task rule or not,
step 115: and if so, acquiring data in the target website, the application APP or the target scene according to the acquisition task rule to obtain the food data.
In this embodiment, the target website or APP may be a website or APP on which a user sells goods, the purpose of acquiring data of the website or APP is to prevent data logged in the website or APP from being incorrect or being out of date to have adverse effects on a customer, the target scene may be a place, a supermarket, a shopping mall, etc. of food production, and the food keyword may be a food name, a food advertising word, a food manufacturer, a food component, etc.
The information segment of the food keyword refers to a sentence or paragraph of the food keyword, for example, the information segment of the food keyword is "real fruit grain is a first global new-generation milk beverage containing chewable fruit grain and is released by the mongolian cattle group, and a large number of customers are attracted by the bold innovation. As the fruit granule milk drink with the most abundant taste at present, the real fruit granules have five flavors of strawberry, kiwi fruit, coconut, yellow peach and aloe. The requirements of consumers with different preferences at different time, on different occasions and even under different moods are met, and the food keywords are contained in the food keywords, such as: real fruit granules, Mongolian cow group, milk beverage and the like.
For example, the information segment where the food keyword is "real fruit grain is the first global generation milk beverage containing chewable fruit grain from mengku group, the bold innovation attracts a group of customers", if the food characteristic information is "real fruit grain", the two are directly matched, and if the food characteristic information is "cola", the two are not matched.
In the embodiment, the food keywords are detected in a target website, an application APP or a target scene; when the food keywords are detected in the target website, the application APP or the target scene, determining the information segment where the detected food keywords are located; secondly, determining the information segment where the detected food key words are located as food characteristic information; and finally, judging whether the food characteristic information is matched with the acquisition characteristic information in the data acquisition task rule, if so, acquiring data in the target website, the application APP or the target scene according to the acquisition task rule to obtain the food data. By adding a matching mechanism between the food characteristic information and the collected characteristic information, the food data meeting the requirements of a target website, an application APP or a target scene can be acquired more quickly and accurately.
In one embodiment, when collecting the food data, further comprising:
acquiring the current time of the food data acquisition, wherein the current time comprises year, month, day, hour, minute and second;
judging whether the food data meet the standard of private information, storing the food data in an encryption mode according to the current time when the food data meet the standard of the private information,
and when the food data does not meet the standard of the private information, storing the food data in a non-encryption mode according to the current time.
In this embodiment, the current time is the time of the meeting where the food data is collected, for example, 10 months, 10 days, 16 o' clock, 10 minutes, 30 seconds in 2020.
In this embodiment, the current time when the food data is collected is obtained; and judging whether the food data meet the standard of private information, storing the food data in an encryption mode at the current moment when the food data meet the standard of the private information, and storing the food data in a non-encryption mode at the current moment when the food data do not meet the standard of the private information. The food information is classified by adding an encryption mode or a non-encryption mode, so that the storage pressure caused by storage in a single mode can be avoided, and the leakage of the food data meeting the private information can be prevented by the storage in the encryption mode.
In one embodiment, as shown in fig. 4, determining whether food corresponding to the food data is abnormal according to the collected food data, and if the food corresponding to the food data is abnormal, the step of obtaining food abnormal information includes:
step 41: converting the collected food data and data in a food data standard library into a data structure in a preset tabular form;
step 42: searching an original standard data set which is the same as at least one component of the food corresponding to the food data in the food data standard library;
step 43: searching and screening the original standard data set according to the food name in the food data to obtain a current standard data set;
step 44: similarity calculation is carried out on the current standard data set according to all the components of the food corresponding to the food data, and the similarity of the food data and any one piece of data in the current standard data set is obtained;
step 45: determining the data with the highest similarity with the food data in the current standard data set according to the similarity;
step 46: judging whether the data with the highest similarity to the food data in the current standard data set is the same as the food data,
if not, determining that the food corresponding to the food data is abnormal, and acquiring abnormal food information;
wherein the composition comprises ingredient composition and/or nutritional composition.
In this embodiment, the preset tabular form may be data in an Excel tabular form, for example, the first column is a food name, the second column is food production date type information, and the preset tabular form may be set according to specific requirements of a user, and information such as related information (food name, food production date, food shelf life, composition, production place, and production license number) of food, food safety standard, and the like in the food data standard library.
For example, if the food corresponding to the food data is searched in the food data standard with the ingredient composition sorbitol and the nutrient composition fat 2.5g, a plurality of pieces of food data meeting the characteristic will appear, and the original standard data set is composed of the plurality of pieces of food data.
In the embodiment, the collected food data and the data in the food data standard library are converted into a data structure in a preset tabular form; searching an original standard data set which is the same as at least one component of the food corresponding to the food data in the food data standard library; secondly, searching and screening the original standard data set according to the food name in the food data to obtain a current standard data set; then, similarity calculation is carried out on the current standard data set according to all the components of the food corresponding to the food data, and the similarity of the food data and any one piece of data in the current standard data set is obtained; and determining the data with the highest similarity with the food data in the current standard data set according to the similarity. Judging whether the data with the highest similarity to the food data in the current standard data set is the same as the food data or not, if not, determining that the food corresponding to the food data is abnormal, and acquiring food abnormal information; by carrying out a series of operations and calculations according to the food data and the data in the food data standard library, the food abnormal information corresponding to the food data can be clearly obtained, and the specific abnormal position can be obtained.
In one embodiment, the composition comprises an ingredient composition and/or a nutritional composition.
For example, a food named as Qingzui prebiotics fruity buccal tablet candy comprises the following ingredients of sorbitol, fructo-oligosaccharide (five percent of addition), inulin (five percent of addition), citric acid, magnesium stearate, food essence, DL malic acid, aspartame (containing phenylalanine), lemon yellow and allure red. The nutritional components of the food are 1742kj (eleven percent), 0g (zero percent), 2.5g (four percent), 97.0g (thirty-two percent) and 80mg (four percent) of sodium per hundred grams.
In one embodiment, the step of performing routing inspection according to the acquired food abnormal information comprises:
acquiring the food abnormal information;
acquiring a polling instruction;
based on the inspection instruction, performing inspection according to the food abnormal information to obtain an inspection result;
sending out a prompt according to the inspection result;
and performing label processing or extraction processing on the food corresponding to the food abnormal information according to the prompt.
In this embodiment, the patrol inspection instruction may be initiated by the user, and the purpose is to trigger the work of the training module, that is, the patrol inspection module may work only when receiving the patrol inspection instruction, and may not work when not receiving the patrol inspection instruction.
The inspection result can be the position of the food corresponding to the food abnormal information.
And performing label processing or extraction processing on the food corresponding to the food abnormal information according to the prompt, wherein the label processing refers to labeling or marking the position of the food corresponding to the food abnormal information, and the extraction processing refers to extracting the food from a target scene or putting the food on or off the shelf from a target website APP.
In this embodiment, food abnormality information sent by the server is received; acquiring a polling instruction; secondly, based on the inspection instruction, inspection is carried out according to the food abnormal information, and an inspection result can be obtained; then, sending out a prompt according to the inspection result; and finally, performing label processing or extraction processing on the food corresponding to the food abnormal information according to the prompt. The sent reminding can be used for carrying out label processing or extraction processing on the food corresponding to the food abnormal information in time.
In one embodiment, the food data includes any one or more of a food name, a food production date, a food shelf life, a composition, a place of manufacture, and a production license number.
In the embodiment, different food data are acquired to analyze food abnormal information, so that more data can be used, and the analysis result is accurate.
In one embodiment, the method further comprises the step of carrying out pollution-free recovery or destruction on the food corresponding to the food abnormal information.
In one embodiment, the food corresponding to the food abnormal information is recovered or destroyed without pollution, so that the harm to customers or the pollution to the environment can be avoided.
In one embodiment, the determining whether the food corresponding to the food data is abnormal according to the collected food data specifically includes:
A. preliminarily judging the food corresponding to the food data according to the food data;
Figure BDA0002465279640000121
wherein, the preliminary judgment value x of the food corresponding to the food dataiIs the ith data value of the food data, n is the number of data included in the food data, [ m [ ]i,ni]The normal value range of the ith data of the food data is obtained;
and when the food data is larger than the preset judgment value, the food corresponding to the food data is suspected to be abnormal, further judgment is carried out on the food corresponding to the food data suspected to be abnormal according to the judgment result B, otherwise, the food corresponding to the food data is normal, and the judgment result B is not required. .
B. Further judging the food corresponding to the food data suspected to be abnormal;
calculating judgment values of chemical attribute data and physical attribute data of the food corresponding to the food data;
Figure BDA0002465279640000122
Figure BDA0002465279640000123
in the above formula, kiα is the judgment value of the ith data in the chemical attributes of the food corresponding to the food dataiIs the ith data value, a in the chemical attribute of the food corresponding to the food dataiThe lower limit of the normal range of the ith data in the chemical attributes of the food corresponding to the food data, biThe upper limit, g, of the normal range of the ith data in the chemical attributes of the food corresponding to the food dataiβ is the judgment value of the ith data in the physical attribute of the food corresponding to the food dataiIs the ith data, z, in the physical attributes of the food corresponding to the food dataiAnd the ith data standard value in the physical attribute of the food corresponding to the food data is exp is an exponential function, lg is a logarithmic function, and e is a natural number.
Obtaining a further judgment result;
Figure BDA0002465279640000131
wherein ,
Figure BDA0002465279640000132
a further determination result, k, for the food corresponding to the food dataiIs the judgment value of the ith data in the chemical attributes of the food corresponding to the food data, giIs the judgment value of the ith data in the physical attributes of the food corresponding to the food data, AiPresetting a confidence interval, p, of the ith data in the chemical attributes of the food corresponding to the food dataiPresetting a limit value of ith data in physical attributes of food corresponding to the food data, wherein 1 represents that the food corresponding to the food data is abnormal, and 0 represents that the food corresponding to the food data is normal.
The beneficial effects of this embodiment: according to the technical scheme, whether the food corresponding to the food data is abnormal is judged, whether the food corresponding to the food data is suspected to be abnormal is judged firstly, then the food suspected to be abnormal is further judged, the secondary judgment can effectively avoid the phenomenon of misjudgment, the judgment can be more accurate according to the physical attribute and the chemical attribute of the food corresponding to the food data during the further judgment, and the whole judgment can be realized through a computer, so that the method is fast and convenient.
The present invention provides a food data processing system, as shown in fig. 5, comprising:
the data acquisition terminal 11 is connected with the server terminal 12 and used for acquiring food data and sending the food data to the server terminal 12;
the server end 12 is respectively connected with the data acquisition end 11 and the inspection end 13, and is used for receiving the food data sent by the data acquisition end 11, judging whether food corresponding to the food data is abnormal according to the food data, and if so, acquiring abnormal food information and sending the abnormal food information to the inspection end;
and the inspection terminal 13 is configured to receive the food abnormal information sent by the server terminal 12, so as to perform inspection according to the food abnormal information.
The beneficial effects of the embodiment are as follows: the food data are not required to be artificially checked and analyzed, a large amount of manpower and material resources are saved, the overall quality of the food can be accurately analyzed, the abnormal condition of the food can be accurately obtained according to the food data, and the potential safety hazard of the food is avoided.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. A food data processing method, comprising:
collecting food data;
judging whether food corresponding to the food data is abnormal or not according to the collected food data, and if so, acquiring abnormal food information;
and carrying out routing inspection according to the obtained food abnormal information.
2. The method of claim 1, wherein the step of collecting food data comprises:
acquiring a data acquisition service requirement;
configuring a data acquisition task rule according to the data acquisition service requirement; the data acquisition task rule corresponds to at least one acquisition characteristic information;
and acquiring data according to the acquisition task rule to obtain the food data.
3. The method of claim 2, wherein the step of collecting food data further comprises:
detecting food keywords in a target website, an application APP or a target scene, wherein the food keywords are common vocabularies in the food industry;
when the food keywords are detected in the target website, the application APP or the target scene, determining the information segment where the detected food keywords are located;
determining the information segment where the detected food key words are located as food characteristic information;
judging whether the food characteristic information is matched with the collected characteristic information in the data collection task rule or not,
and if so, acquiring data in the target website, the application APP or the target scene according to the acquisition task rule to obtain the food data.
4. The method of claim 1, wherein in collecting food data, further comprising:
acquiring the current time of the food data acquisition, wherein the current time comprises year, month, day, hour, minute and second;
judging whether the food data meet the standard of private information, storing the food data in an encryption mode according to the current time when the food data meet the standard of the private information,
and when the food data does not meet the standard of the private information, storing the food data in a non-encryption mode according to the current time.
5. The method according to claim 1, wherein whether the food corresponding to the food data is abnormal is judged according to the collected food data, and if the food corresponding to the food data is abnormal, the step of obtaining food abnormal information comprises the following steps:
converting the collected food data and data in a food data standard library into a data structure in a preset tabular form;
searching an original standard data set which is the same as at least one component of the food corresponding to the food data in the food data standard library;
searching and screening the original standard data set according to the food name in the food data to obtain a current standard data set;
similarity calculation is carried out on the current standard data set according to all the components of the food corresponding to the food data, and the similarity of the food data and any one piece of data in the current standard data set is obtained;
determining the data with the highest similarity with the food data in the current standard data set according to the similarity;
judging whether the data with the highest similarity to the food data in the current standard data set is the same as the food data,
if not, determining that the food corresponding to the food data is abnormal, and acquiring abnormal food information;
wherein the composition comprises ingredient composition and/or nutritional composition.
6. The method of claim 1, wherein the step of performing inspection according to the acquired food abnormality information comprises:
acquiring the food abnormal information;
acquiring a polling instruction;
based on the inspection instruction, performing inspection according to the food abnormal information to obtain an inspection result;
sending out a prompt according to the inspection result;
and performing label processing or extraction processing on the food corresponding to the food abnormal information according to the prompt.
7. The method of any one of claims 1 to 5, wherein the food data comprises any one or more of a food name, a food production date, a food shelf life, a composition, a place of manufacture, and a production license number.
8. The method of claim 1, further comprising:
and carrying out pollution-free recovery or destruction on the food corresponding to the food abnormal information.
9. The method according to claim 1, wherein judging whether the food corresponding to the food data is abnormal according to the collected food data specifically comprises:
A. preliminarily judging the food corresponding to the food data according to the food data;
Figure FDA0002465279630000031
wherein, the preliminary judgment value x of the food corresponding to the food dataiIs the ith data value of the food data, n is the number of data included in the food data, [ m [ ]i,ni]The normal value range of the ith data of the food data is obtained;
and when the food data is larger than the preset judgment value, the food corresponding to the food data is suspected to be abnormal, further judgment is carried out on the food corresponding to the food data suspected to be abnormal according to the judgment result B, otherwise, the food corresponding to the food data is normal, and the judgment result B is not required. .
B. Further judging the food corresponding to the food data suspected to be abnormal;
calculating judgment values of chemical attribute data and physical attribute data of the food corresponding to the food data;
Figure FDA0002465279630000032
Figure FDA0002465279630000041
in the above formula, kiα is the judgment value of the ith data in the chemical attributes of the food corresponding to the food dataiIs the ith data value, a in the chemical attribute of the food corresponding to the food dataiThe lower limit of the normal range of the ith data in the chemical attributes of the food corresponding to the food data, biThe upper limit, g, of the normal range of the ith data in the chemical attributes of the food corresponding to the food dataiβ is the judgment value of the ith data in the physical attribute of the food corresponding to the food dataiIs the ith data, z, in the physical attributes of the food corresponding to the food dataiAnd the ith data standard value in the physical attribute of the food corresponding to the food data is exp is an exponential function, lg is a logarithmic function, and e is a natural number.
Obtaining a further judgment result;
Figure FDA0002465279630000042
wherein ,
Figure FDA0002465279630000043
a further determination result, k, for the food corresponding to the food dataiIs the judgment value of the ith data in the chemical attributes of the food corresponding to the food data, giIs the foodJudgment value of ith data in physical attribute of food corresponding to data, AiPresetting a confidence interval, p, of the ith data in the chemical attributes of the food corresponding to the food dataiPresetting a limit value of ith data in physical attributes of food corresponding to the food data, wherein 1 represents that the food corresponding to the food data is abnormal, and 0 represents that the food corresponding to the food data is normal.
10. A food data processing system, comprising:
the data acquisition end is connected with the server end and used for acquiring food data and sending the food data to the server end;
the server end is respectively connected with the data acquisition end and the inspection end and is used for receiving the food data sent by the data acquisition end, judging whether food corresponding to the food data is abnormal or not according to the food data, and if the food corresponding to the food data is abnormal, acquiring abnormal food information and sending the abnormal food information to the inspection end;
and the inspection end is used for receiving the food abnormal information sent by the server end so as to perform inspection according to the food abnormal information.
CN202010332016.8A 2020-04-24 2020-04-24 Food data processing method and system Active CN111552775B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010332016.8A CN111552775B (en) 2020-04-24 2020-04-24 Food data processing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010332016.8A CN111552775B (en) 2020-04-24 2020-04-24 Food data processing method and system

Publications (2)

Publication Number Publication Date
CN111552775A true CN111552775A (en) 2020-08-18
CN111552775B CN111552775B (en) 2023-11-03

Family

ID=72005870

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010332016.8A Active CN111552775B (en) 2020-04-24 2020-04-24 Food data processing method and system

Country Status (1)

Country Link
CN (1) CN111552775B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112869217A (en) * 2021-02-04 2021-06-01 四川大学锦城学院 Abnormity detection control system for food seasoning processing

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105160568A (en) * 2015-08-28 2015-12-16 小米科技有限责任公司 Reminding method and apparatus
KR20160053285A (en) * 2014-11-03 2016-05-13 이화여자대학교 산학협력단 Management server, system and method including database for screening the agricultural functional food
CN105809310A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Food safety detection method and food safety detection system
CN106770996A (en) * 2016-12-05 2017-05-31 无锡艾科瑞思产品设计与研究有限公司 A kind of Multi-function experimental platform for food inspection
CN107543838A (en) * 2017-09-20 2018-01-05 北京市食品安全监控和风险评估中心(北京市食品检验所) A kind of adulterated magnetic resonance detection method for planting butter cream in dilute cream
CN108573740A (en) * 2017-03-09 2018-09-25 松下知识产权经营株式会社 The control method of information presentation system and information presentation system
CN109214829A (en) * 2018-08-02 2019-01-15 佛山鑫达智汇科技有限公司 Food safety source tracing method and device
CN109313171A (en) * 2016-06-22 2019-02-05 株式会社岛津制作所 Information processing unit, information processing method and message handling program
CN110020052A (en) * 2017-12-15 2019-07-16 联易软件有限公司 Food and medicine data processing method and device
CN110119908A (en) * 2019-05-27 2019-08-13 贵州省疾病预防控制中心 A kind of food safety risk supervision physicochemical data analysis system
CN110276390A (en) * 2019-06-14 2019-09-24 六盘水市食品药品检验检测所 A kind of third party's food inspection synthesis of mechanism information processing system and method
US20190387375A1 (en) * 2018-06-14 2019-12-19 Candibell, Inc. System and method for food quality monitoring and intelligent restocking
CN110781315A (en) * 2019-10-16 2020-02-11 华中农业大学 Food safety knowledge map and construction method of related intelligent question-answering system

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20160053285A (en) * 2014-11-03 2016-05-13 이화여자대학교 산학협력단 Management server, system and method including database for screening the agricultural functional food
CN105809310A (en) * 2014-12-30 2016-07-27 Tcl集团股份有限公司 Food safety detection method and food safety detection system
CN105160568A (en) * 2015-08-28 2015-12-16 小米科技有限责任公司 Reminding method and apparatus
CN109313171A (en) * 2016-06-22 2019-02-05 株式会社岛津制作所 Information processing unit, information processing method and message handling program
CN106770996A (en) * 2016-12-05 2017-05-31 无锡艾科瑞思产品设计与研究有限公司 A kind of Multi-function experimental platform for food inspection
CN108573740A (en) * 2017-03-09 2018-09-25 松下知识产权经营株式会社 The control method of information presentation system and information presentation system
CN107543838A (en) * 2017-09-20 2018-01-05 北京市食品安全监控和风险评估中心(北京市食品检验所) A kind of adulterated magnetic resonance detection method for planting butter cream in dilute cream
CN110020052A (en) * 2017-12-15 2019-07-16 联易软件有限公司 Food and medicine data processing method and device
US20190387375A1 (en) * 2018-06-14 2019-12-19 Candibell, Inc. System and method for food quality monitoring and intelligent restocking
CN109214829A (en) * 2018-08-02 2019-01-15 佛山鑫达智汇科技有限公司 Food safety source tracing method and device
CN110119908A (en) * 2019-05-27 2019-08-13 贵州省疾病预防控制中心 A kind of food safety risk supervision physicochemical data analysis system
CN110276390A (en) * 2019-06-14 2019-09-24 六盘水市食品药品检验检测所 A kind of third party's food inspection synthesis of mechanism information processing system and method
CN110781315A (en) * 2019-10-16 2020-02-11 华中农业大学 Food safety knowledge map and construction method of related intelligent question-answering system

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
史丽燕;郝阳阳;: "基于云计算的食品安全追溯与预警系统研究", 科技通报, no. 07 *
张景祥: "基于熵权Fuzzy-AHP法的食品安全风险评估" *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112869217A (en) * 2021-02-04 2021-06-01 四川大学锦城学院 Abnormity detection control system for food seasoning processing

Also Published As

Publication number Publication date
CN111552775B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN107423278B (en) Evaluation element identification method, device and system
WO2018040944A1 (en) System, method, and device for identifying malicious address/malicious purchase order
CN106815207B (en) Information processing method and device for legal referee document
CN111666275B (en) Data processing method and device, electronic equipment and storage medium
WO2019169978A1 (en) Resource recommendation method and device
CN102119385A (en) Method and subsystem for searching media content within a content-search-service system
CN111476559A (en) Merchant authentication method and device, computer equipment and storage medium
CN111552775A (en) Food data processing method and system
CN117057838A (en) Customer big data screening, classifying and counting system based on B2C platform
CN113256356B (en) Internet advertisement intelligent delivery analysis management system based on feature recognition
CN114840286B (en) Service processing method and server based on big data
CN117611272A (en) Commodity recommendation method and device and electronic equipment
CN112116415A (en) Commodity information pushing method, device and system
CN113254787B (en) Event analysis method, device, computer equipment and storage medium
CN102789615A (en) Book information correlation recommendation method, server and system
CN112184318B (en) Advertisement publishing method and device
CN110427577B (en) Content influence evaluation method and device, electronic equipment and storage medium
CN111178934A (en) Method and device for acquiring target object
CN113822069A (en) Emergency early warning method and device based on meta-knowledge and electronic device
CN113157948A (en) Unstructured data auditing method, electronic equipment and storage medium
CN111914681A (en) Advertisement material content identification method and system
CN111125351A (en) Business condition briefing generation method and device, electronic equipment and storage medium
US20220358150A1 (en) Natural language processing and machine-learning for event impact analysis
Schaefer Forecasting accuracy, rational expectations, and market efficiency in the United States beef cattle industry
Odongo et al. From indices to impacts: Understanding the dynamics of drought impacts through socio-economic clustering

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230914

Address after: 200000 room 301-1, floor 3, No. 14, Lane 1401, JIANGCHANG Road, Jing'an District, Shanghai

Applicant after: Shanghai Mint Health Technology Co.,Ltd.

Address before: 110-30, 1st Floor, Building A, Shandong Youth Entrepreneurship Community, No. 23 Huayuan Road, Licheng District, Jinan City, Shandong Province, 250000

Applicant before: SHANDONG RUIYIN AGRICULTURAL TECHNOLOGY CO.,LTD.

GR01 Patent grant
GR01 Patent grant