Iodine diet management method and system based on intelligent measuring cup

By using a smart measuring cup to identify the order of ingredients and the stage of eating, and combining this with an iodine intake reference allocation table to generate intake recommendations, the problem of accurate identification and matching of iodine intake in existing technologies has been solved, and continuous recording and dynamic constraints on iodine diet management have been achieved.

CN122392818APending Publication Date: 2026-07-14NANHUA HOSPITAL AFFILIATED TO UNIV OF SOUTH CHINA

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
NANHUA HOSPITAL AFFILIATED TO UNIV OF SOUTH CHINA
Filing Date
2026-05-22
Publication Date
2026-07-14

AI Technical Summary

Technical Problem

Existing technologies cannot accurately identify the iodine content in food, have insufficient measurement precision, cannot adapt to the iodine intake needs of different groups, lack correlation between the order and time of eating, cannot present the daily intake distribution continuously, lack risk segmentation in the displayed results, require users to judge their intake status themselves, and lack a connection mechanism between meals, which can easily lead to cumulative deviations.

Method used

The smart measuring cup obtains the weighing value, identifies the order of ingredients and the stage of eating, and combines it with a pre-stored iodine intake reference allocation table to classify and label them, generating a continuous eating trajectory and intake suggestions. Based on the available iodine amount for a time period, food items are filtered, meal intake suggestions are generated, and guidance is provided on the display interface.

Benefits of technology

It enables continuous recording, dynamic constraint, and guided output of iodine intake. Intake behavior is sequential and stage-related. The iodine content of food is graded and labeled with stage intervals. The remaining amount changes with the progress of eating. The candidate content is consistent with the current intake status. The output reflects both the range of options and the degree of restriction.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122392818A_ABST
    Figure CN122392818A_ABST
Patent Text Reader

Abstract

The application discloses an iodine diet control method and system based on an intelligent measuring cup, and particularly relates to the technical field of health management, which comprises the following steps: obtaining food material intake data by weighing and matching iodine content, combining food intake stages and time records to form single meal intake records, comparing and marking based on stage intervals, calculating the remaining available iodine quota combined with the daily intake progress, screening suitable food under the quota constraint and generating a suggestion set, further integrating and marking the output according to the meal order, and forming iodine diet control guidelines. The application constructs a food intake track by weighing changes and time records, forms a structured intake sequence combined with food intake stage markers, compares and marks the iodine content of food materials with stage intervals, reflects the risk section, generates a dynamic remaining quota combined with the daily record and the current time period, screens food items based on the quota and classifies them by stages, compares and classifies the candidate items according to the quota, combines and outputs them according to the meal order, and realizes the cooperation of continuous recording and dynamic constraint.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of health management technology, and in particular to a method and system for iodine dietary management based on a smart measuring cup. Background Technology

[0002] Against the backdrop of the rapid development of the health management industry, precise dietary management targeting specific disease interventions and personalized nutritional needs has become an important sub-field. Among these, the quantitative management of iodine intake is a rigid requirement in multiple scenarios, including iodine-131 treatment after thyroid cancer surgery, interventions for hyperthyroidism and Hashimoto's thyroiditis, nutritional supplementation for hypothyroidism, and adjusting daily iodine intake based on urinary iodine levels for ordinary residents. Currently, users mainly calculate the iodine content themselves by measuring the volume of seasonings with an iodine-limiting salt spoon. This method cannot directly identify the actual iodine content in salt, soy sauce, or other seasonings and foods. The conversion process is cumbersome, the measurement accuracy is insufficient, and it cannot adapt to the differentiated iodine intake management goals of different populations, making it difficult to achieve convenient and accurate iodine intake management.

[0003] To address the aforementioned needs, the core research and development theme in this area is dietary management methods and systems for controlling iodine intake. Specifically, a measuring cup equipped with a miniature electrochemical sensor is used. The sensor reacts with iodine ions in salt, soy sauce, or food flowing through the measuring cup, and the iodine content in the effluent is calculated through changes in current. Iodine content data can be displayed on a small LED screen on the bottle or via a mobile app. The system supports switching modes to adapt to different iodine intake requirements and can record data and track food intake via Bluetooth or a mobile phone.

[0004] Existing technologies rely on volume estimation and manual conversion to obtain intake, and the results are affected by differences in seasoning concentration and operation methods, making it difficult to stably reflect actual intake. The recording method is mainly based on single data, lacking the correlation between eating order and time, and the daily intake distribution cannot be continuously presented, making it difficult to judge stage deviations. The displayed results only provide numerical information and lack risk segmentation, requiring users to judge their intake status themselves, which has a high understanding cost. There is no connection mechanism between different meals, and subsequent intake cannot be adjusted based on the used amount, which is prone to cumulative deviation. Food selection lacks linkage with the current intake progress, and the scope of restrictions and options is unclear, which can easily lead to execution deviations in fine management scenarios. Summary of the Invention

[0005] The main objective of this invention is to provide a method and system for iodine dietary management based on a smart measuring cup, which can effectively solve the problems in the background art.

[0006] To achieve the above objectives, the technical solution adopted by the present invention is as follows: The method and system for iodine dietary management based on smart measuring cups includes the following steps: S1. Obtain the weighing value of the smart measuring cup, call the iodine content information corresponding to the food item and read the weight of the poured food, match the food name with the iodine content information and record the weighing changes, identify the food order, eating stage mark and weighing time record and bind and write, and generate a single meal iodine intake record. S2. Based on the single meal iodine intake record, call the description interval corresponding to each eating stage in the pre-stored daily iodine intake reference allocation table, compare the iodine content information of the ingredients with the eating stage interval one by one, and classify and label them according to the safe, warning and restricted sections and write them into the eating stage mark to generate the single meal iodine intake status. S3. Based on the daily single-meal iodine intake record, extract the content earlier than the current time point according to the weighing time record, arrange it in the order of eating stages, compare and mark it with the daily iodine intake reference allocation table, locate the eating order position of the day in combination with the eating stage mark corresponding to the current time point, connect the marked content with the correspondence of the current eating stage and write it in, and generate the available iodine quota for the time period. S4. Based on the available iodine quota for a given time period, retrieve the iodine content information of each food item in the food database and the corresponding standard serving size, filter the food items according to the current eating stage, organize the filtering results and the corresponding standard serving size iodine content, and combine them with the current eating stage location to generate a set of meal intake suggestions.

[0007] Preferably, the method further includes step S5, which specifically includes: S5. Based on the set of meal intake recommendations, call up the corresponding ingredient names, standard portion descriptions and iodine content information for each item, combine and organize the item content in the order of meals, and associate and label it with the iodine intake status of a single meal and the current time period. Write the associated content into the order of the smart measuring cup display interface to generate iodine diet management guidelines.

[0008] Preferably, S1 includes: The system acquires the weighing value of the smart measuring cup, reads the continuous weighing time series and weight value series, subtracts the corresponding weight values ​​of adjacent time nodes one by one to obtain the weight change value, arranges and writes the weight change value in chronological order, and binds and records each group of time nodes with the corresponding weight change value to generate a weighing change sequence. The iodine content information corresponding to the food item is retrieved based on the weight change sequence and the actual weight of the food is read. The weight change value corresponding to each time node in the sequence is matched with the food name and unit iodine content value one by one. The weight change value and unit iodine content value are multiplied and the corresponding value is recorded. At the same time, the food name and iodine content value are arranged and written in chronological order to generate the iodine intake of the food. Based on the iodine intake of the ingredients, the weighing process time record is read and the eating stage mark is called. The corresponding time node of each ingredient is matched and bound to the eating stage mark one by one. The ingredient name and corresponding iodine intake value are arranged in chronological order and written into the eating stage mark. At the same time, the total iodine intake value is accumulated and the total value is recorded to generate a single meal iodine intake record.

[0009] Preferably, S2 includes: Based on the single meal iodine intake record, the description intervals corresponding to each eating stage in the pre-stored daily iodine intake reference allocation table are called, the lower limit and upper limit values ​​of iodine intake corresponding to each eating stage are read, and the iodine content values ​​corresponding to each food in the single meal iodine intake record are matched with the eating stage markers one by one. The iodine content values ​​are mapped to the corresponding description interval range according to the eating stage markers to generate stage interval mapping values. Based on the phase interval mapping value, the iodine content value of each food ingredient is compared with the lower limit and upper limit of the corresponding eating phase description interval. The numerical positional relationship between the iodine content value and the lower limit and upper limit of the interval is determined. According to the numerical positional relationship, the values ​​are divided into safe zone value set, warning zone value set, and restricted zone value set. At the same time, the zone classification results are written to the corresponding eating phase markers to generate zone classification label values. Based on the segment classification label value, the corresponding eating stage label and segment classification value of each food are read. The segment classification values ​​under the same eating stage label are summarized and arranged. The counting operation and proportion value calculation are performed on each segment classification value. The segment classification label results and corresponding value proportions are written in the order of eating stage. At the same time, they are linked with the single meal iodine intake record to generate the single meal iodine intake status.

[0010] Preferably, S3 includes: Based on the iodine intake record of a single meal, the corresponding record of the completed eating stage of the day is retrieved and the weighing process time record is read. The time node values ​​in each record are extracted and compared with the current time point value. Records with time node values ​​less than the current time point value are filtered and retained. At the same time, the eating stage markers of the retained records are bound to the iodine intake values ​​and written to generate time-series filtered intake. Based on the time-series screening intake, the labels of each eating stage are arranged according to the preset eating stage order, and the iodine intake interval values ​​corresponding to each eating stage are read from the daily iodine intake reference allocation table. The iodine intake values ​​corresponding to the eating stage labels after arrangement are compared with the lower limit and upper limit of the interval item by item and written into the interval label values. At the same time, they are arranged according to the eating stage order to generate stage label sequence values. Read the feeding stage marker corresponding to the current time point based on the stage marker sequence value, match the position of the feeding stage marker in the feeding stage sequence, extract the corresponding sequence number value and compare it with the sequence number of each feeding stage marker in the sequence to determine the sequence position value of the feeding stage corresponding to the current time point, and bind the position value with the stage marker sequence value to generate the stage position index value. Based on the stage location index value, extract the corresponding iodine intake values ​​and interval upper limit values ​​for each previous eating stage. Perform cumulative calculations of iodine intake values ​​for each eating stage and interval upper limit values. Subtract the cumulative iodine intake values ​​from the cumulative interval upper limit values ​​to obtain the remaining value. Simultaneously, write the remaining value and the current eating stage marker to generate the available iodine quota for the time period.

[0011] Preferably, S4 includes: Based on the available iodine quota for a given time period, the system retrieves the iodine content information of each food item and its corresponding standard portion from the food database. It reads the iodine content value of each food item and compares it with the available iodine quota value for the given time period item by item. Food items with a standard portion iodine content value less than or equal to the available iodine quota value for the given time period are retained. At the same time, the corresponding food item number and iodine content value are recorded to generate the appropriate food item value. The current eating stage marker is called based on the matching food item value. Each food item number is matched and written with the current eating stage marker one by one. The standard iodine content value corresponding to each food item is read. The food items and iodine content values ​​are arranged in the order of food item number. At the same time, the arrangement result is bound to the current eating stage marker and written to generate the stage matching food sequence value. Based on the stage matching food sequence value, the current eating stage position number value is read, and the corresponding matching of each food item number and the standard iodine content value with the stage position number value is written. The food item numbers and iodine content values ​​are arranged and organized according to the stage position number value, and the current eating stage mark is written, generating a set of meal intake suggestions.

[0012] Preferably, S5 includes: Based on the set of meal intake recommendations, the corresponding ingredient names, standard portion descriptions, and iodine content information for each item are retrieved. The corresponding iodine content values ​​and ingredient name numbers for each item are read and written one by one. At the same time, the corresponding meal sequence number values ​​for each item are extracted and sorted according to the sequence number values. The ingredient names, standard portion descriptions, and iodine content values ​​are combined and written according to the meal sequence to generate meal combination item values. Based on the meal combination item value, call the single meal iodine intake status and the current time period identifier, read the iodine content value corresponding to each item and match it with the single meal iodine intake status label value, write the matching result with the current time period identifier, and arrange the label values ​​of each item according to the meal order and write the corresponding relationship to generate the status association label value. Based on the status association label value, the sequential number value displayed on the smart measuring cup is called. The corresponding ingredient name number, standard portion description number, and iodine content value of each item are matched and written with the sequential number value displayed on the display interface. The items are arranged according to the sequential number value displayed on the display interface. At the same time, the current time period identifier and the single meal iodine intake status label value are written to generate iodine diet management guidelines.

[0013] On the other hand, the present invention also includes a system for an iodine diet management method based on a smart measuring cup, comprising: Data acquisition unit: acquires the weighing value of the smart measuring cup, calls up the iodine content information corresponding to the food item and reads the weight of the poured food, matches the food name with the iodine content information and records the weighing changes, identifies the food order, eating stage markers and weighing time records and binds them to write, and generates a single meal iodine intake record. Status labeling unit: Based on the single meal iodine intake record, it calls the description intervals corresponding to each eating stage in the pre-stored daily iodine intake reference allocation table, compares the iodine content information of the ingredients with the eating stage intervals one by one, and classifies and labels them according to the safe, warning and restricted sections and writes them into the eating stage mark to generate the single meal iodine intake status. Quota generation unit: Based on the daily single meal iodine intake record, extract the content earlier than the current time point according to the weighing time record, arrange it in the order of eating stages, compare and mark it with the daily iodine intake reference allocation table, locate the eating order position of the day in combination with the eating stage mark corresponding to the current time point, connect and write the correspondence between the marked content and the current eating stage, and generate the available iodine quota for the time period. Suggestion generation unit: Based on the available iodine quota for a time period, call up the iodine content information of each food item in the food database and the corresponding standard serving size, filter food items according to the current eating stage, organize the filtering results and the corresponding standard serving size iodine content, and combine the current eating stage location to match and write, generating a set of meal intake suggestions; The guidance output unit: Based on the set of meal intake recommendations, it calls up the corresponding ingredient names, standard portion descriptions and iodine content information for each item, combines and organizes the item content in the order of meals, and associates and marks it with the iodine intake status of a single meal and the current time period. The associated content is written into the display interface of the smart measuring cup to generate iodine diet management guidelines.

[0014] Compared with the prior art, the present invention has the following beneficial effects: By constructing a continuous eating trajectory through weighing changes and time recording, and introducing eating stage markers to form a structured intake sequence, the intake behavior is made sequential and stage-related. The iodine content of food is compared with the stage intervals one by one and graded, so that the intake results directly reflect the risk segments. By combining the daily historical records with the current time period, a remaining allowance that can change with the progress of eating is formed, so that the control process has time constraints. Based on the remaining allowance, food items and standard servings of iodine content are adapted and screened, and categorized and organized according to the stage position, so that the candidate content is consistent with the current intake status. The allowance is compared with and graded for candidate items and presented by meal combination, so that the output simultaneously reflects the range of options and the degree of restriction, thereby achieving the synergistic effect of continuous recording, dynamic constraints and guided output. Attached Figure Description

[0015] Figure 1 This is a flowchart of the present invention. Detailed Implementation

[0016] To make the technical means, creative features, objectives and effects of this invention easier to understand, the invention will be further described below in conjunction with specific embodiments.

[0017] Example 1, as Figure 1 As shown, the iodine dietary management method based on a smart measuring cup includes the following steps: S1. Obtain the weighing value of the smart measuring cup, call the iodine content information corresponding to the food item and read the actual weight of the poured food, match the food name with the corresponding iodine content information item by item and record the weighing changes, identify the food order and the eating stage mark and the weighing process time record and bind them to write, and generate a single meal iodine intake record. S2. Based on the single meal iodine intake record, call the description intervals corresponding to each eating stage in the pre-stored daily iodine intake reference allocation table, compare the iodine content information of the ingredients in the record with the description of the corresponding eating stage interval one by one, classify and label the comparison results according to the safe, warning and restricted sections and write them into the eating stage mark to generate the single meal iodine intake status. S3. Based on the single meal iodine intake record, retrieve the corresponding records of the completed eating stages of the day and extract the content earlier than the current time point according to the weighing process time record. Arrange the extracted content in the order of eating stages and compare and mark it with the daily iodine intake reference allocation table. Combine the eating stage mark corresponding to the current time point to locate the eating order position of the day. Connect and write the marked content with the corresponding relationship of the current eating stage to generate the available iodine quota for the time period. S4. Based on the available iodine quota for a given time period, call up the iodine content information of each food item and its corresponding standard serving size stored in the food database. Adapt and filter the standard serving size information of each food item with the available iodine quota for the given time period item by item, retain the food items that meet the iodine intake constraints for the current time period, classify and organize the filtered food items and their standard serving size information according to the current eating stage mark, and write them into the corresponding location based on the current eating stage to generate a set of meal intake suggestions. S5. Based on the set of meal intake recommendations, retrieve the corresponding ingredient names, standard portion descriptions, and iodine content information for each item. Compare and filter the iodine content information of each item with the available iodine allowance for each time period, and classify and label them according to their suitability and degree of restriction. Combine and organize the labeling results according to the current eating stage, and write them in correspondence with the iodine intake status of a single meal and the current eating stage mark. Write the organized classification content into the smart measuring cup display interface to generate iodine diet management guidelines.

[0018] S1 includes: The system acquires the weighing value of the smart measuring cup, reads the continuous weighing time series and weight value series, subtracts the corresponding weight values ​​of adjacent time nodes one by one to obtain the weight change value, arranges and writes the weight change value in chronological order, and binds and records each group of time nodes with the corresponding weight change value to generate a weighing change sequence. The iodine content information corresponding to the food item is retrieved based on the weight change sequence and the actual weight of the food is read. The weight change value corresponding to each time node in the sequence is matched with the food name and unit iodine content value one by one. The weight change value and unit iodine content value are multiplied and the corresponding value is recorded. At the same time, the food name and iodine content value are arranged and written in chronological order to generate the iodine intake of the food. Based on the iodine intake of the ingredients, the weighing process time record is read and the eating stage mark is called. The corresponding time node of each ingredient is matched and bound to the eating stage mark one by one. The ingredient name and corresponding iodine intake value are arranged in chronological order and written into the eating stage mark. At the same time, the total iodine intake value is accumulated and the total value is recorded to generate a single meal iodine intake record.

[0019] Specifically, when obtaining the weighing value, the continuous time series t1=0s, t2=2s, t3=4s, t4=6s are read from the measuring cup sensor, and the corresponding weight series w1=0g, w2=50g, w3=120g, w4=120g are obtained. The weight difference between adjacent nodes is calculated item by item: Δw2=w2-w1=50g, Δw3=w3-w2=70g, Δw4=w4-w3=0g, where Δwi represents the weight change at time i, and i is the time node number. The process is repeated sequentially through the time series to obtain the weight difference between adjacent nodes. Δwi is arranged in t1→t4 to form a change sequence [50g, 70g, 0g]. Each time node and change value is bound and recorded to form a mapping relationship {t2, 50g}, {t3, 70g}, {t4, 0g}. During the binding process, the time node identifier and corresponding difference are read and written to the same recording unit. By judging whether Δwi is greater than 0g, nodes with no new ingredients are screened out, and the corresponding records of Δw2 and Δw3 are retained. At the same time, the results are written to the continuous storage area in chronological order to generate a weighing change sequence.

[0020] Furthermore, based on the sequence of changes, the weight change values ​​corresponding to each time point, along with the food name and unit iodine content, are read one by one. Let t2 correspond to the unit iodine content of food A, cA = 2 μg / g, and t3 correspond to the unit iodine content of food B, cB = 0.5 μg / g. Multiplying Δw2 = 50g with cA yields IA = 50 × 2 = 100 μg, and multiplying Δw3 = 70g with cB yields IB = 70 × 0.5 = 35 μg, where I represents the single iodine intake in μg. The results are recorded item by item to form a mapping {A, 100μg} and {B, 35μg}. At the same time, the food names are arranged in chronological order as [A, B] and corresponding to the iodine content numerical sequence [100μg, 35μg]. During the processing, the consistency of units is checked item by item to unify the weight unit to g and the iodine content unit to μg / g. If there is a unit deviation, a conversion is performed. For example, to convert mg / g to μg / g, it is necessary to multiply by 1000. Then, all calculation results are written into the continuous recording area in chronological order to generate the iodine intake of food ingredients.

[0021] Finally, based on the iodine intake of the food ingredients, the time records t2 and t3 are read and the eating stage markers are called. Let t2 correspond to the breakfast stage and t3 correspond to the lunch stage. The time nodes and stage markers are matched item by item to form {t2, breakfast} and {t3, lunch}. Then, the food names are bound to the corresponding iodine intake values ​​and stage markers in a ternary binding to form {A, 100μg, breakfast} and {B, 35μg, lunch}. These are arranged in chronological order and written into the record sequence. At the same time, the total iodine intake values ​​are accumulated by I_total = 100μg + 35μg = 135μg, where I_total represents the total iodine intake of a single meal. The item-by-item accumulation process first takes the initial value of 0μg and then adds each intake value in turn to form the intermediate value of 100μg and the final value of 135μg. The final result and the stage markers are written together into the same data structure to form a complete record, generating a single meal iodine intake record.

[0022] S2 includes: Based on the single meal iodine intake record, the description intervals corresponding to each eating stage in the pre-stored daily iodine intake reference allocation table are called, the lower limit and upper limit values ​​of iodine intake corresponding to each eating stage are read, and the iodine content values ​​corresponding to each food in the single meal iodine intake record are matched with the eating stage markers one by one. The iodine content values ​​are mapped to the corresponding description interval range according to the eating stage markers to generate stage interval mapping values. Based on the phase interval mapping value, the iodine content value of each food ingredient is compared with the lower limit and upper limit of the corresponding eating phase description interval. The numerical positional relationship between the iodine content value and the lower limit and upper limit of the interval is determined. According to the numerical positional relationship, the values ​​are divided into safe zone value set, warning zone value set, and restricted zone value set. At the same time, the zone classification results are written to the corresponding eating phase markers to generate zone classification label values. Based on the segment classification label value, the corresponding eating stage label and segment classification value of each food are read. The segment classification values ​​under the same eating stage label are summarized and arranged. The counting operation and proportion value calculation are performed on each segment classification value. The segment classification label results and corresponding value proportions are written in the order of eating stage. At the same time, they are linked with the single meal iodine intake record to generate the single meal iodine intake status.

[0023] Specifically, the process reads the stage markers and corresponding intake value sequences from the continuous records. For each record, a stage marker comparison operation is performed. The same stage marker is used as the retrieval key to locate the corresponding interval data from the reference table. For example, if the index key is breakfast, the corresponding lower limit value of 30μg and upper limit value of 80μg are directly read. The intake value is combined with the value of this interval and written into the same data unit. Then, the stage matching and interval reading operations are repeated for the next record. If the corresponding interval for lunch is 50μg to 120μg, the intake value of 35μg is combined with this interval and written. All combination results are written into the continuous storage area in chronological order to form a mapping sequence.

[0024] Read the intake value and the upper and lower limits of the interval in the mapping sequence one by one. Perform two numerical comparison operations on each record. First, compare the intake value with the lower limit and record the comparison result r1. Second, compare the intake value with the upper limit and record the comparison result r2. If r1≥0 and r2≤0, write the safe zone marker 1. If r1<0, write the warning zone marker 2. If r2>0, write the restriction zone marker 3. Combine the zone marker, the corresponding stage marker and the intake value and write them into the same recording unit. All results are written in chronological order.

[0025] S3 includes: Based on the iodine intake record of a single meal, the corresponding record of the completed eating stage of the day is retrieved and the weighing process time record is read. The time node values ​​in each record are extracted and compared with the current time point value. Records with time node values ​​less than the current time point value are filtered and retained. At the same time, the eating stage markers of the retained records are bound to the iodine intake values ​​and written to generate time-series filtered intake. Based on the time-series screening intake, the labels of each eating stage are arranged according to the preset eating stage order, and the iodine intake interval values ​​corresponding to each eating stage are read from the daily iodine intake reference allocation table. The iodine intake values ​​corresponding to the eating stage labels after arrangement are compared with the lower limit and upper limit of the interval item by item and written into the interval label values. At the same time, they are arranged according to the eating stage order to generate stage label sequence values. Read the feeding stage marker corresponding to the current time point based on the stage marker sequence value, match the position of the feeding stage marker in the feeding stage sequence, extract the corresponding sequence number value and compare it with the sequence number of each feeding stage marker in the sequence to determine the sequence position value of the feeding stage corresponding to the current time point, and bind the position value with the stage marker sequence value to generate the stage position index value. Based on the stage location index value, extract the corresponding iodine intake values ​​and interval upper limit values ​​for each previous eating stage. Perform cumulative calculations of iodine intake values ​​for each eating stage and interval upper limit values. Subtract the cumulative iodine intake values ​​from the cumulative interval upper limit values ​​to obtain the remaining value. Simultaneously, write the remaining value and the current eating stage marker to generate the available iodine quota for the time period.

[0026] Specifically, the time node sequence is read and the current time point value t_now is set. For each time node, a comparison operation is performed to form a judgment result set. The index of the record whose judgment result is time node value < t_now is written into the reserved index set. The corresponding intake value and stage mark are extracted item by item from the reserved index set and written one by one. Suppose that the time nodes 08:00 and 12:00 correspond to index 1 and 2 and are less than the current time 13:00. Then, the intake of 80μg corresponding to the stage breakfast is extracted from index 1, and the intake of 100μg corresponding to the stage lunch is extracted from index 2. The pairing results are written into the contiguous storage area in index order.

[0027] Perform a reordering operation on the stage markers, mapping the stage sequence to fixed-order index values: Breakfast 1, Lunch 2, Dinner 3. Replace the stage markers in the screening results with the corresponding serial numbers and arrange them in ascending order. Read the lower and upper limits of the corresponding stage intervals one by one. Let the breakfast interval be 30μg to 80μg and the lunch interval be 50μg to 120μg. Perform a two-step comparison operation on each intake value to generate an interval label value. The first step is to compare the intake value with the lower limit to generate the result r1. The second step is to compare the intake value with the upper limit to generate the result r2. The label value is 1 for r1≥0 and r2≤0. For other cases, write the corresponding label value according to the comparison result. Write the stage serial number, intake value and label value in the order of serial number.

[0028] Read the stage marker corresponding to the current time and map it to a sequence number. If the current time corresponds to the stage "Lunch", then the sequence number is mapped to 2. Compare this sequence number with each sequence number in the stage sequence to locate the matching position. The sequence number that satisfies the equality condition is the current position index. Bind this index value to the corresponding stage sequence record and write it. At the same time, retain the order position of this index in the sequence for subsequent extraction.

[0029] Extract all records in the sequence whose index value is less than the current position based on the current position index. Perform a cumulative summation operation on the intake values ​​of the extracted records to obtain the cumulative intake value. Perform a cumulative summation operation on the corresponding upper limit value to obtain the cumulative upper limit value. Assuming the cumulative intake is 80μg and the cumulative upper limit is 80μg, perform a subtraction operation to obtain the remaining value of 0μg. Pair the remaining value with the stage marker corresponding to the current position, write it, and store it in sequence.

[0030] S4 includes: Based on the available iodine quota for a given time period, the system retrieves the iodine content information of each food item and its corresponding standard portion from the food database. It reads the iodine content value of each food item and compares it with the available iodine quota value for the given time period item by item. Food items with a standard portion iodine content value less than or equal to the available iodine quota value for the given time period are retained. At the same time, the corresponding food item number and iodine content value are recorded to generate the appropriate food item value. The current eating stage marker is called based on the matching food item value. Each food item number is matched and written with the current eating stage marker one by one. The standard iodine content value corresponding to each food item is read. The food items and iodine content values ​​are arranged in the order of food item number. At the same time, the arrangement result is bound to the current eating stage marker and written to generate the stage matching food sequence value. Based on the stage matching food sequence value, the current eating stage position number value is read, and the corresponding matching of each food item number and the standard iodine content value with the stage position number value is written. The food item numbers and iodine content values ​​are arranged and organized according to the stage position number value, and the current eating stage mark is written, generating a set of meal intake suggestions.

[0031] S5 includes: Based on the set of meal intake recommendations, the corresponding ingredient names, standard portion descriptions, and iodine content information for each item are retrieved. The corresponding iodine content values ​​and ingredient name numbers for each item are read and written one by one. At the same time, the corresponding meal sequence number values ​​for each item are extracted and sorted according to the sequence number values. The ingredient names, standard portion descriptions, and iodine content values ​​are combined and written according to the meal sequence to generate meal combination item values. Based on the meal combination item value, call the single meal iodine intake status and the current time period identifier, read the iodine content value corresponding to each item and match it with the single meal iodine intake status label value, write the matching result with the current time period identifier, and arrange the label values ​​of each item according to the meal order and write the corresponding relationship to generate the status association label value. Based on the status association label value, the sequential number value displayed on the smart measuring cup is called. The corresponding ingredient name number, standard portion description number, and iodine content value of each item are matched and written with the sequential number value displayed on the display interface. The items are arranged according to the sequential number value displayed on the display interface. At the same time, the current time period identifier and the single meal iodine intake status label value are written to generate iodine diet management guidelines.

[0032] On the other hand, the present invention also includes a system for an iodine diet management method based on a smart measuring cup, comprising: Data acquisition unit: acquires the weighing value of the smart measuring cup, calls up the iodine content information corresponding to the food item and reads the weight of the poured food, matches the food name with the iodine content information and records the weighing changes, identifies the food order, eating stage markers and weighing time records and binds them to write, and generates a single meal iodine intake record. Status labeling unit: Based on the single meal iodine intake record, it calls the description intervals corresponding to each eating stage in the pre-stored daily iodine intake reference allocation table, compares the iodine content information of the ingredients with the eating stage intervals one by one, and classifies and labels them according to the safe, warning and restricted sections and writes them into the eating stage mark to generate the single meal iodine intake status. Quota generation unit: Based on the daily single meal iodine intake record, extract the content earlier than the current time point according to the weighing time record, arrange it in the order of eating stages, compare and mark it with the daily iodine intake reference allocation table, locate the eating order position of the day in combination with the eating stage mark corresponding to the current time point, connect and write the correspondence between the marked content and the current eating stage, and generate the available iodine quota for the time period. Suggestion generation unit: Based on the available iodine quota for a time period, call up the iodine content information of each food item in the food database and the corresponding standard serving size, filter food items according to the current eating stage, organize the filtering results and the corresponding standard serving size iodine content, and combine the current eating stage location to match and write, generating a set of meal intake suggestions; The guidance output unit: Based on the set of meal intake recommendations, it calls up the corresponding ingredient names, standard portion descriptions and iodine content information for each item, combines and organizes the item content in the order of meals, and associates and marks it with the iodine intake status of a single meal and the current time period. The associated content is written into the display interface of the smart measuring cup to generate iodine diet management guidelines.

[0033] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of this invention is defined by the appended claims and their equivalents.

Claims

1. A method for iodine dietary management based on a smart measuring cup, characterized in that, Includes the following steps: S1. Obtain the weighing value of the smart measuring cup, read the weight of the poured ingredients and call the corresponding preset iodine content information, match the ingredient name with the iodine content information and record the weighing changes, identify the order of ingredients, the eating stage mark and the weighing time record and bind them, and generate a single meal iodine intake record. S2. Based on the single meal iodine intake record, call the description interval corresponding to each eating stage in the pre-stored daily iodine intake reference allocation table, compare the iodine content information of the ingredients with the eating stage interval, mark them according to the safe, warning and restricted sections and write them into the eating stage mark to generate the single meal iodine intake status. S3. Based on the daily single-meal iodine intake record, extract the content earlier than the current time point according to the weighing time record and arrange it in the order of eating stages. Compare and mark it with the daily iodine intake reference allocation table. Combine the eating stage mark to locate the eating order position of the day. Connect the marked content with the corresponding relationship of the current eating stage to generate the available iodine quota for the time period. S4. Based on the available iodine quota for the time period, call up the iodine content information of each food item in the food database and the corresponding standard portion of iodine, filter the food items according to the current eating stage, organize the filtering results and the corresponding standard portion of iodine content, and generate a set of meal intake suggestions by matching the current eating stage location.

2. The method for iodine dietary management based on a smart measuring cup according to claim 1, characterized in that: The method further includes S5, which is as follows: S5. Based on the set of meal intake recommendations, call up the corresponding ingredient names, standard portion descriptions and iodine content information for each item, combine and organize the item content in the order of meals, and associate and label it with the iodine intake status of a single meal and the current time period. Write the associated content into the order of the smart measuring cup display interface to generate iodine diet management guidelines.

3. The method for iodine dietary management based on a smart measuring cup according to claim 1, characterized in that: S1 includes: The weighing time and weight value in the smart measuring cup are obtained. The weight change value is obtained by subtracting the corresponding weight values ​​of adjacent time nodes one by one and arranged in chronological order. Each group of time nodes is bound to the corresponding weight change value to generate a sequence of weighing changes. Match the corresponding weight change values ​​in the weight change sequence with the food name and unit iodine content value, multiply the weight change value by the unit iodine content value and record the value, arrange the food name and iodine content value according to time sequence to generate the food iodine intake. By combining the food intake stage markers, the corresponding time nodes of each food ingredient are bound to the stage markers, the food ingredient names and iodine intake values ​​are arranged in sequence, and the total iodine intake is accumulated to generate a single meal iodine intake record.

4. The method for iodine dietary management based on a smart measuring cup according to claim 1, characterized in that: S2 includes: Based on the single meal iodine intake record, the description intervals and upper and lower limits corresponding to each eating stage are called from the daily iodine intake reference allocation table. The iodine content of each food is matched with the corresponding eating stage marker and mapped to the description interval to generate stage interval mapping values. Based on the phase interval mapping value, the iodine content of the food is compared with the upper and lower limits of the eating phase interval to determine the numerical position relationship, and the food is divided into safe, warning, and restricted segments. The segment classification results are written into the corresponding eating phase markers to generate segment classification label values. The segment classification values ​​under the same eating stage are summarized and arranged, the count and proportion of each segment value are calculated, and the values ​​are recorded in the order of eating stage. This data is then linked to the single meal iodine intake record to form the single meal iodine intake status.

5. The method for iodine dietary management based on a smart measuring cup according to claim 1, characterized in that: S3 includes: Based on the iodine intake records of a single meal, extract the records of eating stages earlier than the current time point and the corresponding iodine intake values, bind the eating stage markers with the iodine intake values, and generate time-series filtered intake amounts. The intake values ​​were arranged according to the preset eating stages and compared with the iodine intake intervals of each stage in the daily iodine intake reference allocation table. The position of the iodine intake values ​​of each stage between the lower and upper limits of the interval was calculated to generate a stage-labeled sequence. Read the feeding stage marker corresponding to the current time point in the stage label sequence, perform position matching, extract the position number of the stage and compare it with the position numbers of each stage in the sequence to determine the sequence position of the current feeding stage, and bind the position to the stage label sequence to generate the stage position index value; Based on the stage position index value, the iodine intake values ​​of each stage before the current eating stage and the corresponding upper limit of the interval are accumulated, and the remaining available iodine amount is calculated. The remaining value is written into the corresponding mark of the current eating stage to generate the available iodine amount for the time period.

6. The method for iodine dietary management based on a smart measuring cup according to claim 1, characterized in that: S4 includes: Based on the available iodine quota for a given time period, the system retrieves the iodine content information of each item and its standard serving from the food database, compares the iodine content value with the available iodine quota for that time period, retains food items that are less than or equal to the quota, and records the corresponding item number and iodine content value to generate the appropriate food item value. The food item values ​​are matched one by one with the current eating stage marker, and the food items and iodine content values ​​are arranged in order of item number. At the same time, the eating stage marker is bound to generate the stage matching food sequence value. Based on the food sequence value matched to the current eating stage and the current eating stage position number, the food item number and iodine content value are matched with the corresponding stage position. The items and iodine content are organized in order of stage position number and written into the eating stage marker to generate a set of meal intake suggestions.

7. The method and system for iodine dietary management based on a smart measuring cup according to claim 2, characterized in that: S5 includes: Based on the set of meal intake recommendations, the names, standard serving descriptions, and iodine content information of each ingredient are obtained, and then combined in the order of meals to generate meal combination item values; Based on the meal combination item values, the iodine content of each item is mapped to the iodine intake status of a single meal and the current time period. The labeling relationship is organized according to the meal order to generate status association labeling values. The status-related label values ​​are matched and arranged with the sequential numbers on the smart measuring cup display interface, while retaining the current time period identifier and the iodine intake status of a single meal, thus generating a complete guide for iodine diet management.

8. A system for applying the iodine dietary management method based on a smart measuring cup as described in claims 1-7, characterized in that: Data acquisition unit: acquires the weighing value of the smart measuring cup, calls up the iodine content information corresponding to the food item and reads the weight of the poured food, matches the food name with the iodine content information and records the weighing changes, identifies the food order, eating stage markers and weighing time records and binds them to write, and generates a single meal iodine intake record. Status labeling unit: Based on the single meal iodine intake record, it calls the description intervals corresponding to each eating stage in the pre-stored daily iodine intake reference allocation table, compares the iodine content information of the ingredients with the eating stage intervals one by one, and classifies and labels them according to the safe, warning and restricted sections and writes them into the eating stage mark to generate the single meal iodine intake status. Quota generation unit: Based on the daily single meal iodine intake record, extract the content earlier than the current time point according to the weighing time record, arrange it in the order of eating stages, compare and mark it with the daily iodine intake reference allocation table, locate the eating order position of the day in combination with the eating stage mark corresponding to the current time point, connect and write the correspondence between the marked content and the current eating stage, and generate the available iodine quota for the time period. Suggestion generation unit: Based on the available iodine quota for a time period, call up the iodine content information of each food item in the food database and the corresponding standard serving size, filter food items according to the current eating stage, organize the filtering results and the corresponding standard serving size iodine content, and combine the current eating stage location to match and write, generating a set of meal intake suggestions; The guidance output unit: Based on the set of meal intake recommendations, it calls up the corresponding ingredient names, standard portion descriptions and iodine content information for each item, combines and organizes the item content in the order of meals, and associates and marks it with the iodine intake status of a single meal and the current time period. The associated content is written into the display interface of the smart measuring cup to generate iodine diet management guidelines.