# US 2023/0058636 A1 · Method and device for predicting safety risk level section of food

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0058636 A1
- Document ID: US20230058636A1
- Status: Published application
- Kind: A1
- Application number: 17/562,848
- Filed: 2021-12-27
- Published: 2023-02-23
- Earliest claimed: 2021-08-11
- Assignees: Hubei Provincial Institute for Food Supervision And Test
- Applicants: Hubei Provincial Institute for Food Supervision And Test
- Inventors: Hong WEN; Jia YIN; Pengcheng GUO; Man DONG; Xiang CHEN; Li CHEN; Ning XU
- Web page: https://patentgrep.com/patent/US20230058636A1

## CPC

- G06Q 50/265: {Personal security, identity or safety}
- G06N 5/02: Knowledge representation; Symbolic representation
- G06N 20/10: using kernel methods, e.g. support vector machines [SVM]
- G06Q: INFORMATION 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
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

A method and a device for predicting food safety risk level section are provided in the present application. The method includes: obtaining risk level time series data of the food; decomposing the risk level time series data to obtain a plurality of sub-series data; performing point predictions on the plurality of sub-series data to obtain corresponding point prediction results; determining a final point prediction result corresponding to the food risk level time series data based on the point prediction results corresponding to the plurality of sub-series data; determining a prediction residual corresponding to the final point prediction result; and determining a section prediction result by performing section prediction based on the prediction residua. In the present application, more prediction information and quantitative prediction of the uncertainty of future food risks are provided by adding section prediction based on point prediction.

## Claims

### Claim 1

A method for predicting a safety risk level section of food, comprising:
obtaining risk level time series data of the food;
decomposing the risk level time series data to obtain a plurality of sub-series data;
performing point predictions on the plurality of sub-series data to obtain corresponding point prediction results;
determining a final point prediction result corresponding to the risk level time series data based on the point prediction results corresponding to the plurality of sub-series data;
determining a prediction residual corresponding to the final point prediction result; and
determining a section prediction result by performing section prediction based on the prediction residual.

### Claim 2 (depends on 1)

The method of claim 1, wherein the determining the prediction residual corresponding to the final point prediction result comprises:
determining a first time point corresponding to the final point prediction result;
obtaining a plurality of time points prior to the first time point, wherein time intervals between every two adjacent time points of the plurality of time points are the same, and a first time interval between a time point closest to the first time point and the first time point is equal to the time interval;
determining a prediction residual at each of the plurality of time points; and
determining a prediction residual at the first time point based on the prediction residuals at the plurality of time points as the prediction residual corresponding to the final point prediction result.

### Claim 3 (depends on 1)

The method of claim 1, wherein the obtaining risk level time series data of the food comprises:
obtaining test items of time series of the food and test results corresponding to the test items;
performing numerical processing on non-numerical results among the test results to obtain values of the non-numerical results;
determining a risk level of each sample of the food based on numerical results and the values of the non-numerical results among the test results;
determining a risk level of the food corresponding a time period based on the risk level of each sample of the food detected during the time period; and
obtaining the risk level time series data of the food based on the food risk level of the food corresponding to each time period of respective time periods.

### Claim 4 (depends on 1)

The method of claim 1, wherein the decomposing the risk level time series data comprises:
decomposing the risk level time series data by wavelet packet decomposition.

### Claim 5 (depends on 1)

The method of claim 1, wherein the determining the final point prediction result corresponding to the risk level time series data based on the point prediction results corresponding to the plurality of sub-series data comprises:
summing the point prediction results corresponding to the plurality of sub-series data to obtain a sum as the final point prediction result corresponding to the risk level time series data.

### Claim 6 (depends on 2)

The method of claim 2, wherein the determining the prediction residual at each of the plurality of time points comprises:
determining a second point prediction result at each of the plurality of time points;
obtaining a risk level actual value at each of the plurality of time points; and
determining the prediction residual at each of the plurality of time points based on the second point prediction result and the risk level actual value.

### Claim 7 (depends on 3)

The method of claim 3, wherein the missing risk level in one or more time periods is complemented by an interpolation method when there is a missing risk level in one or more time periods of the respective time periods.

### Claim 8

A device for predicting a safety risk level section of food, comprising:
a first processor configured to obtain risk level time series data of the food;
a second processor configured to decompose the risk level time series data to obtain a plurality of sub-series data;
a third processor configured to perform point predictions on the plurality of sub-series data to obtain corresponding point prediction results;
a fourth processor configured to determine a final point prediction result corresponding to the risk level time series data based on the point prediction results corresponding to the plurality of sub-series data;
a fifth processor configured to determine a prediction residual corresponding to the final point prediction result; and
a sixth processor configured to determine section prediction result by performing a section prediction based on the prediction residual.

### Claim 9 (depends on 1)

An electronic device, comprising a memory, a processor, and computer programs stored on the memory and executable on the processor, wherein the processor is configured to implement steps of the method of claim 1 when executing the computer programs.

### Claim 10 (depends on 1)

A non-transitory computer-readable storage medium, having computer programs stored thereon, wherein when the computer programs are executed by a processor, the processor implements steps of the method of claim 1.
