WO2016184089A1 - Information acquisition method and apparatus, and computer storage medium - Google Patents

Information acquisition method and apparatus, and computer storage medium Download PDF

Info

Publication number
WO2016184089A1
WO2016184089A1 PCT/CN2015/097446 CN2015097446W WO2016184089A1 WO 2016184089 A1 WO2016184089 A1 WO 2016184089A1 CN 2015097446 W CN2015097446 W CN 2015097446W WO 2016184089 A1 WO2016184089 A1 WO 2016184089A1
Authority
WO
WIPO (PCT)
Prior art keywords
food
value
weight
unit
information
Prior art date
Application number
PCT/CN2015/097446
Other languages
French (fr)
Chinese (zh)
Inventor
杨楠
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2016184089A1 publication Critical patent/WO2016184089A1/en

Links

Images

Classifications

    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16ZINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS, NOT OTHERWISE PROVIDED FOR
    • G16Z99/00Subject matter not provided for in other main groups of this subclass
    • G06F19/36
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16HHEALTHCARE INFORMATICS, i.e. INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR THE HANDLING OR PROCESSING OF MEDICAL OR HEALTHCARE DATA
    • G16H50/00ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics
    • G16H50/30ICT specially adapted for medical diagnosis, medical simulation or medical data mining; ICT specially adapted for detecting, monitoring or modelling epidemics or pandemics for calculating health indices; for individual health risk assessment

Definitions

  • the present invention relates to the field of signal processing, and in particular, to an information acquisition method, apparatus, and computer storage medium.
  • Health issues are one of the main problems faced by people of all ages.
  • One of the most important health issues involves obesity. It is known that obesity plays an important role in the physical and mental development of children. Obesity and overweight problems also have a direct impact on other health issues such as heart disease, high blood pressure and diabetes. It is widely acknowledged that exercise and proper diet are key to health, so individual consumers need to constantly monitor their food intake.
  • smart wearable devices are increasingly used in people's lives, such as smart watches or bracelets.
  • Current smart wearable devices typically have health-related functions such as detecting heart rate, counting steps, monitoring sleep quality, calculating calories burned, and the like. People can detect the health of the body through smart wearable devices. However, there is no detection in the prior art regarding the caloric intake of the human body.
  • Embodiments of the present invention provide an information acquisition method and apparatus, and it is desirable to be able to obtain a calorie value of a food intake by a human body.
  • An embodiment of the present invention provides an information acquiring method, where the information acquiring method includes:
  • the total caloric value of the ingested food is determined based on the caloric value of the food unit weight and the first weight value.
  • the determining the calorific value of the food unit weight according to the name of the food comprises:
  • a calorific value of the food unit weight corresponding to the name of the food is found in a preset food database.
  • the obtaining the first weight value of ingesting the food comprises:
  • the first weight value is obtained by adding the third weight value for each intake of the food.
  • the method before the third time weight value of the food is ingested in the preset preset time, the method further includes:
  • the obtaining a third weight value of the food intake each time in a preset time comprises:
  • the obtaining the name of the food includes:
  • the information obtaining method further includes:
  • An embodiment of the present invention further provides an information acquiring apparatus, where the information acquiring apparatus includes: a first acquiring unit, a first determining unit, a second acquiring unit, and a second determining unit, where
  • the first obtaining unit is configured to acquire a name of the food
  • the first determining unit is configured to determine a heat value of the food unit weight according to the name of the food;
  • the second obtaining unit is configured to acquire a first weight value of the food intake
  • the second determining unit is configured to determine a total calorie value of the food intake according to the calorie value of the food unit weight and the first weight value.
  • the first determining unit is further configured to search for a calorific value of the food unit weight corresponding to the name of the food in a preset food database.
  • the second obtaining unit is configured to acquire a third weight value of the food intake each time in a preset time; and is further configured to use the third weight of the food each time the food is ingested The values are added to obtain the first weight value.
  • the second acquiring unit is further configured to acquire a first action feature value
  • the first determining unit is further configured to match the first action feature value with the action feature value in the preset action database.
  • the second obtaining unit includes: a processing module, where
  • the second acquiring unit is configured to acquire a current signal of the skin if the first action feature value is successfully matched with any action feature value in the preset action database;
  • the processing module is configured to process the current signal to obtain a signal threshold of the current signal
  • the first determining unit is further configured to search, in the preset weight database, a third weight value corresponding to the signal threshold.
  • the first acquiring unit is further configured to acquire voice information, and determine a name of the food according to the voice information;
  • the first obtaining unit is further configured to acquire picture information, and determine a name of the food according to the picture information.
  • the information acquiring apparatus further includes:
  • a wireless transmission unit configured to transmit the first weight value and the total heat value to the terminal device.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute at least one of the foregoing information acquisition methods.
  • An embodiment of the present invention provides an information acquisition method and apparatus, and a computer storage medium.
  • the information acquisition device acquires a name of the food, determines a calorific value of the food unit weight according to the name of the food, and obtains a quantity of the food intake. a weight value; determining a total calorie value of the food intake based on the calorie value of the food unit weight and the first weight value.
  • the method and device for acquiring information provided by the embodiment of the present invention can obtain the weight of the food by detecting the motion of the user, and can obtain the body intake according to the caloric value of the unit weight of the food and the first weight value of the food. The total calories of the food.
  • FIG. 1 is a schematic flowchart 1 of an information acquisition method according to an embodiment of the present invention.
  • FIG. 2 is a second schematic flowchart of an information acquisition method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram 1 of an information acquiring apparatus according to an embodiment of the present disclosure.
  • FIG. 4 is a schematic structural diagram 2 of an information acquiring apparatus according to an embodiment of the present invention.
  • the preset database in the information acquisition method is first described.
  • the preset database may include: a preset action database, a preset habit database, a preset food database, and a preset weight database.
  • the preset action database prepares for the startup of the entire process of the information acquisition method, and starts the recording mode for matching the specific action.
  • the information acquisition device can usually be worn at the thickest position of the arm, where the muscle tissue is the most developed, and the bioelectric signal is the strongest, which is more conducive to improving the recognition rate.
  • the user can pre-set the start actions of different actions in the preset action database, such as the action of holding vegetables, the action of drinking water, the action of drinking soup, etc., and the action is mapped into various configurable control commands, and the control is controlled.
  • the command extracts the action feature value and stores the action feature value in the preset action database.
  • the pre-stored action feature value is used to indicate the measurement to begin the action.
  • the information acquiring device acquires the action of holding the dish, and maps the action of the dish into a configurable control command, and the control command extracts the feature value of the action of the dish, and
  • the feature values of the action of the dish are stored in a preset action database.
  • the information acquisition device acquires the feature value of the action of the dish, and searches for the feature value of the action of the dish in the preset action database, and if the action of the dish is found.
  • the characteristic value indicates that the user starts to carry the food, and then begins to record the food, that is, the weight of each dish is recorded.
  • the preset habit database may include: recording data on the proportion of meals per meal according to eating habits, For example, the ratio of the intake of meat, vegetables, and staple foods, and the ratio of these ratios are used to calculate the calorific value of various foods in the information acquisition method.
  • the preset food database includes calorie data for various foods, for example, 1 gram of 1.5 kilograms of rice, 1 gram of tofu brain, 0.47 kilocalories, and the like.
  • the caloric data of various foods can be obtained from the open source database, which is the caloric database of the existing food, and can also be obtained from the existing public food calorie data, for example, the calories of common foods disclosed on the web, The heat of common foods disclosed on books about healthy eating.
  • the preset weight database may include a correspondence between a signal threshold value and a weight value of a signal generated when a different weight object is held.
  • the information acquiring device determines that the correspondence between the weight value and the signal threshold may include:
  • the user picks up or picks up an object of a known weight, and the information acquiring device acquires a first current signal, that is, the information acquiring device acquires a skin muscle current signal of the skin above the muscle, that is, a bio-current signal, and the bio-current signal is the first current. signal.
  • the signal amplifying unit amplifies the bio-current signal, and filters the amplified bio-current signal to remove an unrelated bio-current signal, that is, the amplified first current signal is concentrated and filtered to obtain a specific frequency and a biological information with important information.
  • the analog-to-digital conversion unit converts the second current signal into a first digital signal, that is, converts the characteristic curve of the second current signal into a first digital signal through time-division multiplexing or an analog-to-digital conversion circuit unique to a single signal channel.
  • the first digital signal may include the strength and signal of the signal The amplitude, the envelope of the signal, the frequency spectrum of the signal, the energy distribution of the signal, and the phase difference between the individual signal channels.
  • the second filtering unit digitally filters the first digital signal to remove weight-independent information to obtain a second digital signal.
  • the rectifying unit performs rectification processing on the second digital signal.
  • the rectified second digital signal is stored in a weight database.
  • the weight thresholds of the corresponding second digital signals of different weights are extracted according to different weights of different second digital signals, for example, G0, G1, G2, ..., Gn, and these signal thresholds are used. Corresponding to different weights.
  • the relationship between the signal thresholds of the different second digital signals and their corresponding weights is stored in a preset weight database.
  • the method further includes:
  • the predetermined calorie intake value here may be the lowest calorie intake value or the highest calorie intake value.
  • the predetermined calorie intake value is the lowest intake value, the user is reminded of the need or can continue to eat.
  • the predetermined calorific value is the highest calorie intake value, the user is reminded to stop eating.
  • the predetermined calorific value here may be determined according to the value input by the user, or may be automatically generated by the electronic device according to various information such as detecting the user's weight, daily calorie consumption, and the like.
  • An embodiment of the present invention provides an information acquisition method. As shown in FIG. 1 , the information acquisition method may include:
  • Step 101 The information acquiring device acquires a name of the food, and determines a calorific value of the unit weight of the food according to the name of the food.
  • the information acquiring apparatus may first acquire the voice information, determine the name of the food according to the voice information, and then search and check the preset food database.
  • the name of the food corresponds to the calorific value of the unit weight of the food.
  • the user before ingesting the food, transmits the food to be eaten to the information acquisition device by voice, and the information acquisition device acquires the voice information, and the voice information can be obtained by setting a microphone in the information acquisition device.
  • the information acquisition device can convert the acquired voice information into a food keyword, that is, a name of the food. Then, the information acquisition means searches the preset food database for the calorie value of the food unit weight corresponding to the name of the food.
  • the information acquiring apparatus may further acquire the picture information, determine the name of the food according to the picture information, and search for the food unit weight corresponding to the name of the food in the preset food database.
  • the calorific value may be further acquired.
  • the information acquiring device may obtain a photo of the ingested food by photographing, and acquire the name of the food by using an existing image recognition technology, and then the information acquiring device searches for a name corresponding to the food in the preset food database.
  • the calorific value of the unit weight of the food may be obtained by photographing, and acquire the name of the food by using an existing image recognition technology, and then the information acquiring device searches for a name corresponding to the food in the preset food database.
  • Step 102 The information acquiring device acquires a first weight value for ingesting the food.
  • the information acquisition device acquires a third weight value of the food intake each time in a preset time, and adds the third weight value of the food intake each time to obtain the first weight value.
  • the preset time may be a time when the user dine, that is, a time period between when the user starts eating and when the meal ends.
  • the total weight of the meal can be determined.
  • the information obtaining device obtains a third weight value of the food intake each time, which may specifically include:
  • the information acquiring device acquires the first action feature value, that is, the action of holding the dish or the soup, and matches the first action feature value with the action feature value in the preset action database. If the first action feature value matches any action feature value in the preset action database, the information acquiring device acquires a current signal of the skin, and processes the current signal to obtain a signal threshold of the current signal. a value that determines a third weight value for each intake of the food based on the signal threshold.
  • the information acquisition device acquires a first current signal of the skin above the muscle of the user's arm; and amplifies the first current signal, and then filters the amplified first current signal to obtain a second current signal.
  • the information acquiring device performs analog-to-digital conversion on the second current signal to obtain a first digital signal, and filters the first digital signal to obtain a second digital signal, and then rectifies and acquires the second digital signal.
  • the information obtaining device searches the preset weight database for the third weight value corresponding to the signal threshold of the second digital signal, so that the weight of the user's food or the weight of the soup can be determined when the dish or the soup is served.
  • the information acquisition device can usually be worn at the thickest position of the arm, where the muscle tissue is the most developed, and the bioelectric signal is the strongest, which is more conducive to improving the recognition rate.
  • Step 103 The information obtaining device determines a total calorie value of the food intake according to the calorie value of the food unit weight and the first weight value.
  • the information acquisition device may determine the total calorie value of the food intake based on the total weight of the ingested food and the calorie value of the ingested food unit weight.
  • the information acquisition may determine the total calorie value of the food intake by multiplying the first weight value by the calorific value per unit weight.
  • the food intake is rice
  • the calorific value per unit weight of the rice is: 1.5 kcal per gram
  • the first weight value of the ingested rice is 100 g
  • the information obtaining method provided by the embodiment of the present invention can obtain the weight of the food by detecting the motion of the user, and obtain the human body to take the food according to the caloric value of the food unit weight and the first weight value of the ingested food. Total heat.
  • An embodiment of the present invention provides an information acquisition method. As shown in FIG. 2, the information acquisition method may include:
  • Step 201 The information acquiring device acquires voice information, and determines a name of the food according to the voice information.
  • the user sends the food to be eaten by the user to the information acquiring device, and the information acquiring device acquires the voice information.
  • the voice information can be obtained by setting a microphone in the information acquiring device.
  • the information acquisition device may analyze the voice information to obtain a food keyword, that is, a name of the food.
  • step 202 can be omitted, that is, without searching and pre-setting in the preset food database.
  • the name of the food corresponds to the calorific value of the unit weight of the food.
  • Step 202 The information acquiring device searches for a calorific value of the food unit weight corresponding to the name of the food in a preset food database.
  • Step 203 The information acquiring device acquires the first action feature value, and matches the first action feature value with the action feature value in the preset action database.
  • the user can wear the information acquisition device to the thickest position of the arm, where the muscle tissue is the most developed, and the bioelectric signal is the strongest, which is more conducive to improving the recognition rate.
  • the information acquiring device acquires the first action feature value, and matches the first action feature value with the action feature value in the preset action database.
  • a start action of a different action is preset, for example, a action of holding a dish, an action of drinking water, an action of drinking a soup, and the like, and the action is mapped into various configurable control commands and control commands.
  • the action feature value is extracted, and the preset action feature value is stored in the preset action database, and the pre-stored action feature value is used to indicate that the measurement of the action is started.
  • a muscle motion sensor can be provided in the information acquisition device, and the motion data of the arm can be obtained through the muscle motion sensor.
  • the muscle motion sensor may specifically include A three-axis acceleration sensor, a three-axis gyroscope that detects the frequency and amplitude of the swinging arm, grips or relaxes the movement of the hand muscles or lifts the food.
  • the sensor detects the electrical impulses produced by the muscles as well as the gestures made when moving the arm, and can determine the specific action of eating.
  • Step 204 If the first action feature value is successfully matched with any action feature value in the preset action database, the information acquiring device acquires the first current signal of the skin.
  • the information acquisition device starts measuring the action corresponding to the first action feature value.
  • the information acquisition device acquires a skin muscle current signal of the skin above the muscle, that is, a bioelectric current signal, which is a first current signal.
  • a skin muscle current signal of the skin above the muscle that is, a bioelectric current signal, which is a first current signal.
  • the epidermal muscle current signal of the skin above the muscle can be obtained through the differential electrode.
  • Step 205 The information acquiring device amplifies the first current signal, and filters the amplified first current signal to obtain a second current signal.
  • the information acquisition device amplifies the first current signal, and filters the amplified bio-current signal to remove an unrelated bio-current signal, that is, the amplified first current signal is concentrated and filtered to obtain a specific frequency, with an important The bioelectrical signal of the information, ie the second current signal.
  • Step 206 The information acquiring device performs analog-to-digital conversion on the second current signal to obtain a first digital signal.
  • the information acquisition device converts the second current signal into a first digital signal.
  • the characteristic curve of the second current signal can be converted into a first digital signal by time-multiplexing or an analog-to-digital conversion circuit unique to a single signal channel.
  • the first digital signal may include information such as the strength of the signal, the amplitude of the signal, the envelope of the signal, the frequency spectrum of the signal, the energy distribution of the signal, and the phase difference between the signal channels.
  • Step 207 The information acquiring device filters the first digital signal to obtain a second digital signal.
  • the information acquisition device digitally filters the first digital signal to remove the weight without The information is closed, and the second digital signal is obtained.
  • Step 208 The information acquiring device rectifies the second digital signal, and acquires a signal threshold of the second digital signal after rectification.
  • the information acquisition device performs rectification processing on the second digital signal. And performing windowing on the rectified second digital signal to obtain a signal threshold of the second digital signal.
  • Step 209 The information acquiring device searches for a third weight value corresponding to the signal threshold of the second digital signal in the preset weight database.
  • the correspondence between the signal threshold and the weight of the different second digital signals is pre-stored in the preset weight database.
  • the information acquiring means searches the preset weight database for the weight value corresponding to the signal threshold of the second digital signal as the first weight value.
  • Step 210 The information acquiring device adds the third weight value of the food intake each time to obtain the first weight value.
  • the information acquisition device acquires a third weight value of the food intake each time in a preset time period and adds the third weight value of the food intake each time to obtain the first weight value. It can be understood that the information acquisition device adds the weight of the food ingested by the user during the meal, and can determine the total weight of the food ingested at the meal, that is, the first weight value.
  • the preset time may be a time when the user dine, that is, a time period between when the user starts eating and when the meal ends.
  • Step 211 The information acquiring device determines a total calorie value of the food intake according to the calorie value of the food unit weight and the first weight value.
  • the information acquisition device may determine the total calorie value of the food intake based on the total weight of the ingested food and the calorie value of the ingested food unit weight.
  • the information acquisition may determine the total calorie value of the food intake by multiplying the first weight value by the calorific value per unit weight.
  • the information obtaining device may compare the data of the proportion of the meal of each meal of the user in the preset custom database, and assign the first weight value to the weight of each food according to the data of the ratio of the meal. Then, according to the calculation of various food calories stored in the preset food database, the calories of various foods are added to obtain the total calories of the ingested food.
  • the first weight value of the user's food intake is 600 grams
  • the data of the proportion of the meal of each meal of the user in the preset custom database includes: 200 grams of vegetables, 150 grams of rice, 150 grams of chicken, 100 grams of soup, Find the calorific value of vegetables, rice, chicken and soup in the preset food database, calculate the calories of various foods according to the weight value of each food and its calorie value, and then add the calories of various foods to get the food. Total heat.
  • the information acquisition device estimates the proportion of food per meal according to the learning mode, so the calorie intake value of the food per meal is not an exact value, and the accuracy of the ratio of the ingested food can be calibrated here. Calculation. If the user can determine the accurate intake weight of the food at the time of eating, the intake weight of the food can also be manually input in the information acquisition device, so that the accurate intake calorie value can be calculated.
  • Step 212 The information acquiring apparatus sends the first weight value and the total heat value to the terminal device.
  • the information acquisition device transmits the first weight value and the total heat value to the terminal device, so that the terminal device performs unified management on the first weight value and the total heat value.
  • the terminal device may be a mobile phone, a tablet computer, or the like.
  • the information obtaining method provided by the embodiment of the present invention can obtain the weight of the food by detecting the motion of the user, and obtain the human body to take the food according to the caloric value of the food unit weight and the first weight value of the ingested food. Total heat.
  • An embodiment of the present invention provides an information acquiring apparatus 1.
  • the information acquiring apparatus includes: a first acquiring unit 10, a first determining unit 11, a second acquiring unit 12, and a second determining unit 13, wherein ,
  • the first obtaining unit 10 is configured to obtain a name of the food
  • the first determining unit 11 is configured to determine a heat value of the food unit weight according to the name of the food;
  • the second obtaining unit 12 is configured to acquire a first weight value of the food intake
  • the second determining unit 13 is further configured to determine a total calorie value of the food intake according to the calorie value of the food unit weight and the first weight value.
  • the first determining unit 11 is further configured to search for a calorific value of the food unit weight corresponding to the name of the food in a preset food database.
  • the second obtaining unit 12 is configured to acquire a third weight value of the food intake each time in a preset time; and is further configured to use the third weight of the food each time the food is ingested The magnitudes are added to obtain the first weight value.
  • the second acquiring unit 12 is further configured to acquire a first action feature value
  • the first determining unit 11 is further configured to match the first action feature value with the action feature value in the preset action database.
  • the second obtaining unit 12 includes: a processing module 120, where
  • the second acquiring unit 12 is configured to acquire a first current signal of the skin if the first action feature value is successfully matched with any action feature value in the preset action database;
  • the processing module 120 is configured to process the current signal to obtain a signal threshold of the current signal
  • the first determining unit 11 is further configured to search for a third weight value corresponding to the signal threshold in the preset weight database.
  • the first obtaining unit 10 is further configured to acquire voice information, and determine a name of the food according to the voice information;
  • the first obtaining unit 10 is further configured to acquire picture information, according to the figure.
  • the slice information determines the name of the food.
  • the information acquiring apparatus further includes:
  • the wireless transmission unit 14 is configured to transmit the first weight value and the total heat value to the terminal device.
  • the user's motion can be acquired and determined by a three-axis acceleration sensor and a three-axis gyroscope, and the skin muscle current signal of the skin above the muscle is obtained through the differential electrode in the information acquisition device, that is, the first current signal passes through
  • the analog signal amplifier circuit extracts and amplifies the epidermal muscle current signal of the skin above the muscle, that is, amplifies the first current signal.
  • the analog filter circuit filters the amplified bio-current signal to remove the unrelated bio-current signal, and concentrates the amplified bio-current signal to obtain a bio-current signal with a specific frequency and an important information, that is, a second current signal.
  • An analog to digital conversion circuit converts the second current signal into a digital signal, ie, a first digital signal. That is, the characteristic curve of the second current signal is converted into a digital signal by time-division multiplexing or an analog-to-digital conversion circuit unique to a single signal channel.
  • the first digital signal may include information such as the strength of the signal, the amplitude of the signal, the envelope of the signal, the frequency spectrum of the signal, the energy distribution of the signal, and the phase difference and consistency between the signal channels.
  • a digital filtering circuit digitally filters the first digital signal to remove a weight-independent digital signal to obtain a second digital signal.
  • the information acquisition device may be a wrist wear device such as a wristband, a smart watch, or the like. If the information acquisition device is a wrist wear device, the three-axis acceleration sensor, the three-axis gyroscope, and the differential electrode can be mounted inside the wrist of the wrist wear device.
  • the information acquisition device provided by the embodiment of the present invention can be referred to the description of the information acquisition method in the first embodiment to the second embodiment.
  • the information acquiring device provided by the embodiment of the present invention can obtain the weight of the food by detecting the motion of the user, and can obtain the food intake by the human body according to the calorific value of the food unit weight and the first weight value of the ingested food. Total heat.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, where the computer executable instructions are used to execute at least one of the foregoing information acquisition methods, such as the information.
  • the acquisition method can be the method shown in FIG. 1 and/or FIG.
  • the computer storage medium may be a storage medium such as an optical disk, a hard disk, or a magnetic disk, and may be a non-transitory storage medium.
  • embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
  • These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation The steps of a function specified in a block or blocks of a flow or a flow and/or a block diagram of a flow chart.
  • the electronic device such as a mobile phone or a wearable device can be used to determine the heat of the food injected by the user after obtaining the name of the food and the first weight value, so that the user determines whether to continue eating or not.
  • the use of hardware and software resources of electronic devices has improved the resource utilization, intelligence and user satisfaction of electronic devices.

Landscapes

  • Health & Medical Sciences (AREA)
  • Engineering & Computer Science (AREA)
  • Medical Informatics (AREA)
  • Public Health (AREA)
  • Biomedical Technology (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Pathology (AREA)
  • Epidemiology (AREA)
  • General Health & Medical Sciences (AREA)
  • Primary Health Care (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

An information acquisition method, an information acquisition apparatus and a computer storage medium. The information acquisition apparatus acquires a name of food, and determines, according to the name of the food, a caloric value, per unit weight, of the food (101); acquire a first weight value for food intake (102); and determine, according to the caloric value, per unit weight, of the food and the first weight value, a total caloric value for food intake (103).

Description

信息获取方法、装置和计算机存储介质Information acquisition method, device and computer storage medium 技术领域Technical field
本发明涉及信号处理领域,尤其涉及一种信息获取方法、装置和算机存储介质。The present invention relates to the field of signal processing, and in particular, to an information acquisition method, apparatus, and computer storage medium.
背景技术Background technique
健康问题是所有年龄的人面对的主要问题之一。而最重要的健康问题之一涉及肥胖。人们知道肥胖在儿童的身体和精神发育中起着重要作用。肥胖和超重问题也对诸如心脏病、高血压以及糖尿病等其它健康问题有直接影响。人们普遍承认锻炼和合理饮食是健康的关键,因此,个体消费者有必要经常监测其食物摄入量。Health issues are one of the main problems faced by people of all ages. One of the most important health issues involves obesity. It is known that obesity plays an important role in the physical and mental development of children. Obesity and overweight problems also have a direct impact on other health issues such as heart disease, high blood pressure and diabetes. It is widely acknowledged that exercise and proper diet are key to health, so individual consumers need to constantly monitor their food intake.
随着经济的不断发展,智能穿戴设备在人们的生活中的应用越来越广泛,例如,智能手表或手环等。目前的智能穿戴设备通常都设有关于健康方面的功能,例如检测心率、计算步数、监测睡眠质量、计算消耗的热量等。人们可以通过智能穿戴设备对身体的健康进行检测。然而,现有技术中还没有关于人体的热量摄入方面的检测。With the continuous development of the economy, smart wearable devices are increasingly used in people's lives, such as smart watches or bracelets. Current smart wearable devices typically have health-related functions such as detecting heart rate, counting steps, monitoring sleep quality, calculating calories burned, and the like. People can detect the health of the body through smart wearable devices. However, there is no detection in the prior art regarding the caloric intake of the human body.
发明内容Summary of the invention
本发明实施例提供一种信息获取方法和装置,期望能够获取人体摄入食物的热量值。Embodiments of the present invention provide an information acquisition method and apparatus, and it is desirable to be able to obtain a calorie value of a food intake by a human body.
本发明实施例提供一种信息获取方法,所述信息获取方法包括:An embodiment of the present invention provides an information acquiring method, where the information acquiring method includes:
获取食物的名称,根据所述食物的名称确定所述食物单位重量的热量值;Obtaining a name of the food, determining a calorific value of the unit weight of the food according to the name of the food;
获取摄入所述食物的第一重量值; Obtaining a first weight value for ingesting the food;
根据所述食物单位重量的热量值和所述第一重量值确定摄入所述食物的总热量值。The total caloric value of the ingested food is determined based on the caloric value of the food unit weight and the first weight value.
可选地,所述根据所述食物的名称确定所述食物单位重量的热量值,包括:Optionally, the determining the calorific value of the food unit weight according to the name of the food comprises:
在预设食物数据库查找与所述食物的名称对应的所述食物单位重量的热量值。A calorific value of the food unit weight corresponding to the name of the food is found in a preset food database.
可选地,所述获取摄入所述食物的第一重量值,包括:Optionally, the obtaining the first weight value of ingesting the food comprises:
获取预设时间内每一次摄入所述食物的第三重量值;Obtaining a third weight value of the food intake each time within a preset time;
将所述每一次摄入所述食物的第三重量值相加获得所述第一重量值。The first weight value is obtained by adding the third weight value for each intake of the food.
可选地,在所述获取预设时间内每一次摄入所述食物的第三重量值之前,还包括:Optionally, before the third time weight value of the food is ingested in the preset preset time, the method further includes:
获取第一动作特征值,将所述第一动作特征值与预设动作数据库中的动作特征值匹配。Obtaining a first action feature value, and matching the first action feature value with an action feature value in a preset action database.
可选地,所述获取预设时间内每一次摄入所述食物的第三重量值,包括:Optionally, the obtaining a third weight value of the food intake each time in a preset time comprises:
若所述第一动作特征值与预设动作数据库中任一动作特征值匹配成功,获取皮肤的电流信号;Obtaining a current signal of the skin if the first action feature value is successfully matched with any action feature value in the preset action database;
对所述电流信号进行处理获得所述电流信号的信号阈值;Processing the current signal to obtain a signal threshold of the current signal;
在预设重量数据库中查找所述信号阈值对应的第三重量值。Finding a third weight value corresponding to the signal threshold in the preset weight database.
可选地,所述获取食物的名称,包括:Optionally, the obtaining the name of the food includes:
获取语音信息,根据所述语音信息确定所述食物的名称;Obtaining voice information, and determining a name of the food according to the voice information;
或者,or,
获取图片信息,根据所述图片信息确定所述食物的名称。Obtaining picture information, and determining a name of the food according to the picture information.
可选的,所述信息获取方法还包括:Optionally, the information obtaining method further includes:
发送所述第一重量值和所述总热量值至终端设备。 Sending the first weight value and the total heat value to the terminal device.
本发明实施例还提供一种信息获取装置,所述信息获取装置包括:第一获取单元、第一确定单元、第二获取单元、第二确定单元,其中,An embodiment of the present invention further provides an information acquiring apparatus, where the information acquiring apparatus includes: a first acquiring unit, a first determining unit, a second acquiring unit, and a second determining unit, where
所述第一获取单元,配置为获取食物的名称;The first obtaining unit is configured to acquire a name of the food;
所述第一确定单元,配置为根据所述食物的名称确定所述食物单位重量的热量值;The first determining unit is configured to determine a heat value of the food unit weight according to the name of the food;
所述第二获取单元,配置为获取摄入所述食物的第一重量值;The second obtaining unit is configured to acquire a first weight value of the food intake;
所述第二确定单元,配置为根据所述食物单位重量的热量值和所述第一重量值确定摄入所述食物的总热量值。The second determining unit is configured to determine a total calorie value of the food intake according to the calorie value of the food unit weight and the first weight value.
可选地,所述第一确定单元,还配置为在预设食物数据库查找与所述食物的名称对应的所述食物单位重量的热量值。Optionally, the first determining unit is further configured to search for a calorific value of the food unit weight corresponding to the name of the food in a preset food database.
可选地,所述第二获取单元,配置为获取预设时间内每一次摄入所述食物的第三重量值;还用于将所述每一次摄入所述食物的第三重量值相加获得所述第一重量值。Optionally, the second obtaining unit is configured to acquire a third weight value of the food intake each time in a preset time; and is further configured to use the third weight of the food each time the food is ingested The values are added to obtain the first weight value.
可选地,所述第二获取单元,还配置为获取第一动作特征值;Optionally, the second acquiring unit is further configured to acquire a first action feature value;
所述第一确定单元,还配置为将所述第一动作特征值与预设动作数据库中的动作特征值匹配。The first determining unit is further configured to match the first action feature value with the action feature value in the preset action database.
可选地,所述第二获取单元包括:处理模块,其中,Optionally, the second obtaining unit includes: a processing module, where
所述第二获取单元,配置为若所述第一动作特征值与预设动作数据库中任一动作特征值匹配成功,获取皮肤的电流信号;The second acquiring unit is configured to acquire a current signal of the skin if the first action feature value is successfully matched with any action feature value in the preset action database;
所述处理模块,配置为对所述电流信号进行处理获得所述电流信号的信号阈值;The processing module is configured to process the current signal to obtain a signal threshold of the current signal;
所述第一确定单元,还配置为在预设重量数据库中查找所述信号阈值对应的第三重量值。The first determining unit is further configured to search, in the preset weight database, a third weight value corresponding to the signal threshold.
可选地,所述第一获取单元,还配置为获取语音信息,根据所述语音信息确定所述食物的名称; Optionally, the first acquiring unit is further configured to acquire voice information, and determine a name of the food according to the voice information;
或者,or,
所述第一获取单元,还配置为获取图片信息,根据所述图片信息确定所述食物的名称。The first obtaining unit is further configured to acquire picture information, and determine a name of the food according to the picture information.
可选的,所述信息获取装置还包括:Optionally, the information acquiring apparatus further includes:
无线传输单元,配置为发送所述第一重量值和所述总热量值至终端设备。a wireless transmission unit configured to transmit the first weight value and the total heat value to the terminal device.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行上述信息获取方法的至少其中之一。The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute at least one of the foregoing information acquisition methods.
本发明实施例提供了一种信息获取方法、装置和计算机存储介质,信息获取装置获取食物的名称,根据所述食物的名称确定所述食物单位重量的热量值;获取摄入所述食物的第一重量值;根据所述食物单位重量的热量值和所述第一重量值确定摄入所述食物的总热量值。本发明实施例提供的信息获取方法和装置,可以通过检测用户的动作获取食物的重量,可以根据所述食物单位重量的热量值以及摄入所述食物的第一重量值,获得人体摄入所述食物的总热量。An embodiment of the present invention provides an information acquisition method and apparatus, and a computer storage medium. The information acquisition device acquires a name of the food, determines a calorific value of the food unit weight according to the name of the food, and obtains a quantity of the food intake. a weight value; determining a total calorie value of the food intake based on the calorie value of the food unit weight and the first weight value. The method and device for acquiring information provided by the embodiment of the present invention can obtain the weight of the food by detecting the motion of the user, and can obtain the body intake according to the caloric value of the unit weight of the food and the first weight value of the food. The total calories of the food.
附图说明DRAWINGS
图1为本发明实施例提供的信息获取方法流程示意图一;1 is a schematic flowchart 1 of an information acquisition method according to an embodiment of the present invention;
图2为本发明实施例提供的信息获取方法流程示意图二;2 is a second schematic flowchart of an information acquisition method according to an embodiment of the present invention;
图3为本发明实施例提供的信息获取装置结构示意图一;FIG. 3 is a schematic structural diagram 1 of an information acquiring apparatus according to an embodiment of the present disclosure;
图4为本发明实施例提供的信息获取装置结构示意图二。FIG. 4 is a schematic structural diagram 2 of an information acquiring apparatus according to an embodiment of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进 行清楚、完整地描述;应当理解,以下所说明的优选实施例仅用于说明和解释本发明,并不用于限定本发明。The technical solution in the embodiment of the present invention will be further described below with reference to the accompanying drawings in the embodiments of the present invention. The invention is described in a clear and complete manner; it is understood that the preferred embodiments described herein are merely illustrative and are not intended to limit the invention.
为了更好的理解本发明实施例提供的信息获取方法,首先对信息获取方法中的预设数据库进行说明。In order to better understand the information acquisition method provided by the embodiment of the present invention, the preset database in the information acquisition method is first described.
在进行信息获取之前,需要预先设置信息获取装置中的数据库。该预设数据库可以包括:预设动作数据库、预设习惯数据库、预设食物数据库、预设重量数据库。Before the information acquisition is performed, it is necessary to set a database in the information acquisition device in advance. The preset database may include: a preset action database, a preset habit database, a preset food database, and a preset weight database.
所述预设动作数据库为信息获取方法的整个流程的启动做准备,为匹配特定动作开启记录模式。通常可以将信息获取装置佩戴于小臂最粗的位置,这里的肌肉组织最发达,生物电信号最强,更利于提高识别率。The preset action database prepares for the startup of the entire process of the information acquisition method, and starts the recording mode for matching the specific action. The information acquisition device can usually be worn at the thickest position of the arm, where the muscle tissue is the most developed, and the bioelectric signal is the strongest, which is more conducive to improving the recognition rate.
用户可以在预设动作数据库中预先设置不同动作的开始动作,例如夹菜的动作,喝水的动作,喝汤的动作等常用进食动作,该动作被映射成各种可配置的控制命令,控制命令提取出动作特征值,并将该动作特征值存储在预设动作数据库中。该预存储的动作特征值用于指示开始进行该动作的测量。The user can pre-set the start actions of different actions in the preset action database, such as the action of holding vegetables, the action of drinking water, the action of drinking soup, etc., and the action is mapped into various configurable control commands, and the control is controlled. The command extracts the action feature value and stores the action feature value in the preset action database. The pre-stored action feature value is used to indicate the measurement to begin the action.
需要说明的是,获取用户的开始记录动作可以通过现有的手势识别技术来实现,本发明实施例在此不再详细说明。It should be noted that the operation of the user to start the recording can be implemented by the existing gesture recognition technology, which is not described in detail in the embodiments of the present invention.
示例性的,用户进行夹菜的动作后,信息获取装置获取夹菜的动作,并将该夹菜的动作映射成可配置的控制命令,控制命令提取出夹菜的动作的特征值,并将该夹菜的动作的特征值存储在预设动作数据库中。Exemplarily, after the user performs the action of picking vegetables, the information acquiring device acquires the action of holding the dish, and maps the action of the dish into a configurable control command, and the control command extracts the feature value of the action of the dish, and The feature values of the action of the dish are stored in a preset action database.
在信息获取过程中,当用户执行夹菜的动作后,信息获取装置获取夹菜的动作的特征值,在预设动作数据库查找该夹菜的动作的特征值,若查找到该夹菜的动作的特征值,说明用户开始进行夹菜,则开始对夹菜进行记录,即开始记录每次夹菜的重量。In the information acquisition process, after the user performs the action of holding the dish, the information acquisition device acquires the feature value of the action of the dish, and searches for the feature value of the action of the dish in the preset action database, and if the action of the dish is found The characteristic value indicates that the user starts to carry the food, and then begins to record the food, that is, the weight of each dish is recorded.
预设习惯数据库可以包括:根据饮食习惯记录每餐的配餐比例的数据, 例如肉食、蔬菜、主食的摄入比例等,这些配餐比例的数据用于信息获取方法中计算各种食物的热量值。The preset habit database may include: recording data on the proportion of meals per meal according to eating habits, For example, the ratio of the intake of meat, vegetables, and staple foods, and the ratio of these ratios are used to calculate the calorific value of various foods in the information acquisition method.
预设食物数据库包括各种食物的热量数据,例如,米饭1克1.5千卡,豆腐脑1克0.47千卡等。其中,各种食物的热量数据可以从开源数据库中获得,开源数据库为现有的食物的热量数据库,也可以从现有公开的食物热量数据中获得,例如,网络上公开的常用食物的热量,关于健康饮食的书上公开的常用食物的热量等。The preset food database includes calorie data for various foods, for example, 1 gram of 1.5 kilograms of rice, 1 gram of tofu brain, 0.47 kilocalories, and the like. Among them, the caloric data of various foods can be obtained from the open source database, which is the caloric database of the existing food, and can also be obtained from the existing public food calorie data, for example, the calories of common foods disclosed on the web, The heat of common foods disclosed on books about healthy eating.
预设重量数据库可以包括:手持不同重量物体时产生信号的信号阈值与重量值的对应关系。The preset weight database may include a correspondence between a signal threshold value and a weight value of a signal generated when a different weight object is held.
因为每个人对拿起不同重量物体的肌肉收缩反应不同,对于不同的肌肉收缩反应,神经元响应的生物电流变化的强度和振幅也不同,因此需要用户根据自己的实际情况进行设置,即用户自己手持不同重量的物体来测量重量,进行设置预设重量数据库,将所测量的物体重量数值与肌肉收缩产生的生物电流的对应关系存贮在预设重量数据库中,这样可以保证不同的人进行测量时测量的准确性。Because each person's muscle contraction response to picking up different weight objects is different, the intensity and amplitude of the bioelectrical response of the neuron response are different for different muscle contraction responses. Therefore, the user needs to set according to his actual situation, that is, the user himself. Hand-held objects of different weights are used to measure the weight, and a preset weight database is set, and the corresponding relationship between the measured object weight value and the bio-current generated by the muscle contraction is stored in the preset weight database, so that different people can be measured. The accuracy of the time measurement.
例如,信息获取装置确定重量值与信号阈值的对应关系可以包括:For example, the information acquiring device determines that the correspondence between the weight value and the signal threshold may include:
用户自己手持或拿起一个已知重量的物体,信息获取装置获取第一电流信号,即信息获取装置获取肌肉上方皮肤的表皮肌肉电流信号,即生物电流信号,所述生物电流信号为第一电流信号。The user picks up or picks up an object of a known weight, and the information acquiring device acquires a first current signal, that is, the information acquiring device acquires a skin muscle current signal of the skin above the muscle, that is, a bio-current signal, and the bio-current signal is the first current. signal.
信号放大单元放大所述生物电流信号,将所述放大后的生物电流信号滤波处理去掉出无关的生物电流信号,即将放大后的第一电流信号集中过滤后获得特定频率、带有重要信息的生物电信号,即第二电流信号。The signal amplifying unit amplifies the bio-current signal, and filters the amplified bio-current signal to remove an unrelated bio-current signal, that is, the amplified first current signal is concentrated and filtered to obtain a specific frequency and a biological information with important information. The electrical signal, the second current signal.
模数转换单元将所述第二电流信号转换为第一数字信号,即将第二电流信号的特征曲线通过分时复用或者单个信号通道独用的模拟数字转换电路转换为第一数字信号。其中,第一数字信号可以包括信号的强度、信号 的振幅、信号的包络、信号的频率谱、信号的能量分布及各个信号通道间的相位差等信息。The analog-to-digital conversion unit converts the second current signal into a first digital signal, that is, converts the characteristic curve of the second current signal into a first digital signal through time-division multiplexing or an analog-to-digital conversion circuit unique to a single signal channel. Wherein, the first digital signal may include the strength and signal of the signal The amplitude, the envelope of the signal, the frequency spectrum of the signal, the energy distribution of the signal, and the phase difference between the individual signal channels.
第二滤波单元将所述第一数字信号进行数字滤波去掉与重量无关的信息,获得第二数字信号。整流单元将所述第二数字信号进行整流处理。将整流后的第二数字信号存储到重量数据库中。The second filtering unit digitally filters the first digital signal to remove weight-independent information to obtain a second digital signal. The rectifying unit performs rectification processing on the second digital signal. The rectified second digital signal is stored in a weight database.
重量数据库中根据统计过滤算法,根据不同的第二数字信号对应不同的重量,提取出不同重量的对应的第二数字信号的信号阈值,例如G0,G1,G2,……,Gn,这些信号阈值分别对应不同的重量。将不同的第二数字信号的信号阈值及与其对应的重量的关系存储在预设重量数据库中。According to the statistical filtering algorithm, the weight thresholds of the corresponding second digital signals of different weights are extracted according to different weights of different second digital signals, for example, G0, G1, G2, ..., Gn, and these signal thresholds are used. Corresponding to different weights. The relationship between the signal thresholds of the different second digital signals and their corresponding weights is stored in a preset weight database.
在具体的实现过程中,所述方法还包括:In a specific implementation process, the method further includes:
获取预定热量摄入值;Obtain a predetermined calorie intake value;
将所述总热量值与所述预定热量摄入值进行比较,形成比较结果;Comparing the total calorie value with the predetermined calorie intake value to form a comparison result;
根据所述比较结果,输出进食提醒。According to the comparison result, an eating reminder is output.
这里的预定热量摄入值可为最低热量摄入值,也可以为最高热量摄入值。当所述预定热量摄入值为最低摄入值时,提醒用户需要或可以继续进食。当所述预定热量值为最高热量摄入值,提醒用户停止进食。The predetermined calorie intake value here may be the lowest calorie intake value or the highest calorie intake value. When the predetermined calorie intake value is the lowest intake value, the user is reminded of the need or can continue to eat. When the predetermined calorific value is the highest calorie intake value, the user is reminded to stop eating.
当然这里的预定热量值可为根据用户输入的数值确定的,也可以为电子设备根据检测用户体重、日常热量消耗等各种信息自动生成。Of course, the predetermined calorific value here may be determined according to the value input by the user, or may be automatically generated by the electronic device according to various information such as detecting the user's weight, daily calorie consumption, and the like.
实施例一Embodiment 1
本发明实施例提供一种信息获取方法,如图1所示,该信息获取方法可以包括:An embodiment of the present invention provides an information acquisition method. As shown in FIG. 1 , the information acquisition method may include:
步骤101、信息获取装置获取食物的名称,根据所述食物的名称确定所述食物单位重量的热量值。Step 101: The information acquiring device acquires a name of the food, and determines a calorific value of the unit weight of the food according to the name of the food.
一种可能的实现方式中,信息获取装置可以先获取语音信息,并根据所述语音信息确定所述食物的名称,然后,在预设食物数据库查找与所述 食物的名称对应的所述食物单位重量的热量值。In a possible implementation manner, the information acquiring apparatus may first acquire the voice information, determine the name of the food according to the voice information, and then search and check the preset food database. The name of the food corresponds to the calorific value of the unit weight of the food.
例如,在摄入食物之前,用户将自己所要吃的食物通过语音发送给信息获取装置,信息获取装置获取该语音信息,可以通过在信息获取装置中设置麦克风来获取语音信息。信息获取装置可以将获取的语音信息转化为食物关键字,即食物的名称。然后,信息获取装置在预设食物数据库查找与所述食物的名称对应的所述食物单位重量的热量值。For example, before ingesting the food, the user transmits the food to be eaten to the information acquisition device by voice, and the information acquisition device acquires the voice information, and the voice information can be obtained by setting a microphone in the information acquisition device. The information acquisition device can convert the acquired voice information into a food keyword, that is, a name of the food. Then, the information acquisition means searches the preset food database for the calorie value of the food unit weight corresponding to the name of the food.
一种可能的实现方式中,信息获取装置还可以先获取图片信息,根据所述图片信息确定所述食物的名称,并在预设食物数据库查找与所述食物的名称对应的所述食物单位重量的热量值。In a possible implementation manner, the information acquiring apparatus may further acquire the picture information, determine the name of the food according to the picture information, and search for the food unit weight corresponding to the name of the food in the preset food database. The calorific value.
例如,信息获取装置上可以通过拍照的获取摄入食物的照片,并通过现有的图像识别技术获取所述食物的名称,然后,信息获取装置在预设食物数据库查找与所述食物的名称对应的所述食物单位重量的热量值。For example, the information acquiring device may obtain a photo of the ingested food by photographing, and acquire the name of the food by using an existing image recognition technology, and then the information acquiring device searches for a name corresponding to the food in the preset food database. The calorific value of the unit weight of the food.
步骤102、信息获取装置获取摄入所述食物的第一重量值。Step 102: The information acquiring device acquires a first weight value for ingesting the food.
例如,信息获取装置获取预设时间内每一次摄入所述食物的第三重量值,并将所述每一次摄入所述食物的第三重量值相加获得所述第一重量值。其中,预设时间可以为用户用餐的时间,即用户开始用餐到结束用餐的之间的时间段。For example, the information acquisition device acquires a third weight value of the food intake each time in a preset time, and adds the third weight value of the food intake each time to obtain the first weight value. . The preset time may be a time when the user dine, that is, a time period between when the user starts eating and when the meal ends.
示例性的,在用餐的时间内,将用户每一次夹菜获得重量进行相加,可以确定该次用餐夹菜的总重量。Illustratively, during the meal time, each time the user gets the weight of the food, the total weight of the meal can be determined.
当用户开始摄入食物时,用户的手臂会进行夹菜或喝汤的动作。例如,信息获取装置获取每一次摄入所述食物的第三重量值,具体可以包括:When the user starts to consume food, the user's arm will carry out the action of picking vegetables or drinking soup. For example, the information obtaining device obtains a third weight value of the food intake each time, which may specifically include:
信息获取装置获取第一动作特征值,即夹菜或喝汤的动作,并将所述第一动作特征值与预设动作数据库中的动作特征值匹配。若所述第一动作特征值与预设动作数据库中任一动作特征值匹配成功,信息获取装置获取皮肤的电流信号,并对所述电流信号进行处理获得所述电流信号的信号阈 值,根据所述信号阈值确定每一次摄入所述食物的第三重量值。The information acquiring device acquires the first action feature value, that is, the action of holding the dish or the soup, and matches the first action feature value with the action feature value in the preset action database. If the first action feature value matches any action feature value in the preset action database, the information acquiring device acquires a current signal of the skin, and processes the current signal to obtain a signal threshold of the current signal. a value that determines a third weight value for each intake of the food based on the signal threshold.
例如,信息获取装置获取用户手臂肌肉上方皮肤的第一电流信号;并放大所述第一电流信号,然后,将放大后的所述第一电流信号进行滤波获得第二电流信号。信息获取装置将所述第二电流信号进行模数转换获得第一数字信号,并将所述第一数字信号进行滤波获得第二数字信号,然后,将所述第二数字信号进行整流,并获取整流后所述第二数字信号的信号阈值。信息获取装置在预设重量数据库中查找所述第二数字信号的信号阈值对应的第三重量值,从而,可以确定在夹菜或喝汤时,用户夹菜的重量或喝汤的重量。For example, the information acquisition device acquires a first current signal of the skin above the muscle of the user's arm; and amplifies the first current signal, and then filters the amplified first current signal to obtain a second current signal. The information acquiring device performs analog-to-digital conversion on the second current signal to obtain a first digital signal, and filters the first digital signal to obtain a second digital signal, and then rectifies and acquires the second digital signal. A signal threshold of the second digital signal after rectification. The information obtaining device searches the preset weight database for the third weight value corresponding to the signal threshold of the second digital signal, so that the weight of the user's food or the weight of the soup can be determined when the dish or the soup is served.
需要说明的是,通常可以将信息获取装置佩戴于小臂最粗的位置,这里的肌肉组织最发达,生物电信号最强,更利于提高识别率。It should be noted that the information acquisition device can usually be worn at the thickest position of the arm, where the muscle tissue is the most developed, and the bioelectric signal is the strongest, which is more conducive to improving the recognition rate.
步骤103、信息获取装置根据所述食物单位重量的热量值和所述第一重量值确定摄入所述食物的总热量值。Step 103: The information obtaining device determines a total calorie value of the food intake according to the calorie value of the food unit weight and the first weight value.
例如,信息获取装置根据摄入食物的总重量和该摄入食物单位重量的热量值可以确定摄入所述食物的总热量值。信息获取可以将第一重量值乘以单位重量的热量值确定摄入所述食物的总热量值。For example, the information acquisition device may determine the total calorie value of the food intake based on the total weight of the ingested food and the calorie value of the ingested food unit weight. The information acquisition may determine the total calorie value of the food intake by multiplying the first weight value by the calorific value per unit weight.
示例性的,摄入食物为米饭,米饭的单位重量的热量值为:每克1.5千卡,摄入米饭的第一重量值为:100克,确定摄入米饭的总热量值为:100×1.5=150千卡。Illustratively, the food intake is rice, and the calorific value per unit weight of the rice is: 1.5 kcal per gram, and the first weight value of the ingested rice is 100 g, and the total calorific value of the ingested rice is determined to be: 100× 1.5 = 150 kcal.
本发明实施例提供的信息获取方法,可以通过检测用户的动作获取食物的重量,可以根据所述食物单位重量的热量值以及摄入所述食物的第一重量值,获得人体摄入所述食物的总热量。The information obtaining method provided by the embodiment of the present invention can obtain the weight of the food by detecting the motion of the user, and obtain the human body to take the food according to the caloric value of the food unit weight and the first weight value of the ingested food. Total heat.
实施例二Embodiment 2
本发明实施例提供一种信息获取方法,如图2所示,该信息获取方法可以包括: An embodiment of the present invention provides an information acquisition method. As shown in FIG. 2, the information acquisition method may include:
步骤201、信息获取装置获取语音信息,根据所述语音信息确定所述食物的名称。Step 201: The information acquiring device acquires voice information, and determines a name of the food according to the voice information.
例如,在摄入食物之前,用户将自己所要吃的食物通过语音发送给信息获取装置,信息获取装置获取该语音信息,具体可以通过在信息获取装置中设置麦克风来获取语音信息。信息获取装置可以对所述语音信息进行分析获得食物关键字,即食物的名称。For example, before the food is ingested, the user sends the food to be eaten by the user to the information acquiring device, and the information acquiring device acquires the voice information. Specifically, the voice information can be obtained by setting a microphone in the information acquiring device. The information acquisition device may analyze the voice information to obtain a food keyword, that is, a name of the food.
可选的,如果用户可以知道自己摄入的食物单位重量的热量值,也可手动输入该食物单位重量的热量值,这样就可以不用执行步骤202,即不用在在预设食物数据库查找与所述食物的名称对应的所述食物单位重量的热量值。Optionally, if the user can know the calorific value of the unit weight of the food he ingests, he can also manually input the calorific value of the unit weight of the food, so that step 202 can be omitted, that is, without searching and pre-setting in the preset food database. The name of the food corresponds to the calorific value of the unit weight of the food.
步骤202、信息获取装置在预设食物数据库查找与所述食物的名称对应的所述食物单位重量的热量值。Step 202: The information acquiring device searches for a calorific value of the food unit weight corresponding to the name of the food in a preset food database.
步骤203、信息获取装置获取第一动作特征值,将所述第一动作特征值与预设动作数据库中的动作特征值匹配。Step 203: The information acquiring device acquires the first action feature value, and matches the first action feature value with the action feature value in the preset action database.
例如,用户可以将信息获取装置佩戴于小臂最粗的位置,这里的肌肉组织最发达,生物电信号最强,更利于提高识别率。信息获取装置获取第一动作特征值,并将所述第一动作特征值与预设动作数据库中的动作特征值匹配。For example, the user can wear the information acquisition device to the thickest position of the arm, where the muscle tissue is the most developed, and the bioelectric signal is the strongest, which is more conducive to improving the recognition rate. The information acquiring device acquires the first action feature value, and matches the first action feature value with the action feature value in the preset action database.
其中,预设动作数据库中预先设置不同动作的开始动作,例如夹菜的动作,喝水的动作,喝汤的动作等常用进食动作,该动作被映射成各种可配置的控制命令,控制命令提取出动作特征值,预设动作数据库中存储了常用的动作特征值,该预存储的动作特征值用于指示开始进行该动作的测量。Wherein, in the preset action database, a start action of a different action is preset, for example, a action of holding a dish, an action of drinking water, an action of drinking a soup, and the like, and the action is mapped into various configurable control commands and control commands. The action feature value is extracted, and the preset action feature value is stored in the preset action database, and the pre-stored action feature value is used to indicate that the measurement of the action is started.
在实际应用中,信息获取装置中可以设置肌肉运动感应器,手臂的动作数据可以通过肌肉运动感应器获得。所述肌肉运动感应器具体可以包括 三轴加速感应器、三轴陀螺仪,该传感器可检测挥动手臂的频率和幅度、紧握或者放松手部肌肉抬起或者托起食物的动作。传感器可以检测移动手臂时测量肌肉产生的电脉冲以及做出的手势,可以判断进食的特定动作。In practical applications, a muscle motion sensor can be provided in the information acquisition device, and the motion data of the arm can be obtained through the muscle motion sensor. The muscle motion sensor may specifically include A three-axis acceleration sensor, a three-axis gyroscope that detects the frequency and amplitude of the swinging arm, grips or relaxes the movement of the hand muscles or lifts the food. The sensor detects the electrical impulses produced by the muscles as well as the gestures made when moving the arm, and can determine the specific action of eating.
步骤204、若所述第一动作特征值与预设动作数据库中任一动作特征值匹配成功,信息获取装置获取皮肤的第一电流信号。Step 204: If the first action feature value is successfully matched with any action feature value in the preset action database, the information acquiring device acquires the first current signal of the skin.
例如,若所述第一动作特征值与预设动作数据库中任一动作特征值匹配成功,信息获取装置开始对所述第一动作特征值对应的该动作进行测量。For example, if the first action feature value matches any action feature value in the preset action database, the information acquisition device starts measuring the action corresponding to the first action feature value.
例如,信息获取装置获取肌肉上方皮肤的表皮肌肉电流信号,即生物电流信号,所述生物电流信号为第一电流信号。在实际应用中,可以通过差分电极获取肌肉上方皮肤的表皮肌肉电流信号。For example, the information acquisition device acquires a skin muscle current signal of the skin above the muscle, that is, a bioelectric current signal, which is a first current signal. In practical applications, the epidermal muscle current signal of the skin above the muscle can be obtained through the differential electrode.
步骤205、信息获取装置放大所述第一电流信号,并将放大后的所述第一电流信号进行滤波获得第二电流信号。Step 205: The information acquiring device amplifies the first current signal, and filters the amplified first current signal to obtain a second current signal.
例如,信息获取装置放大所述第一电流信号,将所述放大后的生物电流信号滤波处理去掉出无关的生物电流信号,即将放大后的第一电流信号集中过滤后获得特定频率、带有重要信息的生物电信号,即第二电流信号。For example, the information acquisition device amplifies the first current signal, and filters the amplified bio-current signal to remove an unrelated bio-current signal, that is, the amplified first current signal is concentrated and filtered to obtain a specific frequency, with an important The bioelectrical signal of the information, ie the second current signal.
步骤206、信息获取装置将所述第二电流信号进行模数转换获得第一数字信号。Step 206: The information acquiring device performs analog-to-digital conversion on the second current signal to obtain a first digital signal.
例如,信息获取装置将所述第二电流信号转换为第一数字信号。在实际应用中,可以将第二电流信号的特征曲线通过分时复用或者单个信号通道独用的模拟数字转换电路转换为第一数字信号。其中,第一数字信号可以包括信号的强度、信号的振幅、信号的包络、信号的频率谱、信号的能量分布及各个信号通道间的相位差等信息。For example, the information acquisition device converts the second current signal into a first digital signal. In practical applications, the characteristic curve of the second current signal can be converted into a first digital signal by time-multiplexing or an analog-to-digital conversion circuit unique to a single signal channel. The first digital signal may include information such as the strength of the signal, the amplitude of the signal, the envelope of the signal, the frequency spectrum of the signal, the energy distribution of the signal, and the phase difference between the signal channels.
步骤207、信息获取装置将所述第一数字信号进行滤波获得第二数字信号。Step 207: The information acquiring device filters the first digital signal to obtain a second digital signal.
例如,信息获取装置将所述第一数字信号进行数字滤波去掉与重量无 关的信息,获得第二数字信号。For example, the information acquisition device digitally filters the first digital signal to remove the weight without The information is closed, and the second digital signal is obtained.
步骤208、信息获取装置将所述第二数字信号进行整流,并获取整流后所述第二数字信号的信号阈值。Step 208: The information acquiring device rectifies the second digital signal, and acquires a signal threshold of the second digital signal after rectification.
例如,信息获取装置将所述第二数字信号进行整流处理。并对整流后所述第二数字信号进行加窗获得所述第二数字信号的信号阈值。For example, the information acquisition device performs rectification processing on the second digital signal. And performing windowing on the rectified second digital signal to obtain a signal threshold of the second digital signal.
步骤209、信息获取装置在预设重量数据库中查找所述第二数字信号的信号阈值对应的第三重量值。Step 209: The information acquiring device searches for a third weight value corresponding to the signal threshold of the second digital signal in the preset weight database.
其中,预设重量数据库中预先存储了不同的第二数字信号的信号阈值与重量的对应关系。信息获取装置在预设重量数据库中查找与所述第二数字信号的信号阈值对应的重量值为第一重量值。The correspondence between the signal threshold and the weight of the different second digital signals is pre-stored in the preset weight database. The information acquiring means searches the preset weight database for the weight value corresponding to the signal threshold of the second digital signal as the first weight value.
步骤210、信息获取装置将所述每一次摄入所述食物的第三重量值相加获得所述第一重量值。Step 210: The information acquiring device adds the third weight value of the food intake each time to obtain the first weight value.
例如,信息获取装置获取预设时间内每一次摄入所述食物的第三重量值并将所述每一次摄入所述食物的第三重量值相加获得所述第一重量值。可以理解为:信息获取装置将用户在用餐过程中的每一次摄入食物的重量相加,可以确定在该次用餐摄入食物的总重量,即第一重量值。其中,预设时间可以为用户用餐的时间,即用户开始用餐到结束用餐的之间的时间段。For example, the information acquisition device acquires a third weight value of the food intake each time in a preset time period and adds the third weight value of the food intake each time to obtain the first weight value. It can be understood that the information acquisition device adds the weight of the food ingested by the user during the meal, and can determine the total weight of the food ingested at the meal, that is, the first weight value. The preset time may be a time when the user dine, that is, a time period between when the user starts eating and when the meal ends.
步骤211、信息获取装置根据所述食物单位重量的热量值和所述第一重量值确定摄入所述食物的总热量值。Step 211: The information acquiring device determines a total calorie value of the food intake according to the calorie value of the food unit weight and the first weight value.
例如,信息获取装置根据摄入食物的总重量和该摄入食物单位重量的热量值可以确定摄入所述食物的总热量值。信息获取可以将第一重量值乘以单位重量的热量值确定摄入所述食物的总热量值。For example, the information acquisition device may determine the total calorie value of the food intake based on the total weight of the ingested food and the calorie value of the ingested food unit weight. The information acquisition may determine the total calorie value of the food intake by multiplying the first weight value by the calorific value per unit weight.
可选的,信息获取装置可以对比预设习惯数据库中用户的每餐的配餐比例的数据,根据该配餐比例的数据将第一重量值分配为每种食物的重量, 然后,再根据预设食品数据库中存贮的各种食品热量进行计算,将各种食品热量相加得出摄入食物的总热量。Optionally, the information obtaining device may compare the data of the proportion of the meal of each meal of the user in the preset custom database, and assign the first weight value to the weight of each food according to the data of the ratio of the meal. Then, according to the calculation of various food calories stored in the preset food database, the calories of various foods are added to obtain the total calories of the ingested food.
示例性的,用户摄入食物的第一重量值为600克,预设习惯数据库中用户的每餐的配餐比例的数据包括:蔬菜200克,米饭150克,鸡肉150克,汤100克,在预设食品数据库中分别查找蔬菜、米饭、鸡肉、汤的热量值,根据各种食物的重量值和其热量值分别计算各种食物的热量,然后将各种食品热量相加得出摄入食物的总热量。Illustratively, the first weight value of the user's food intake is 600 grams, and the data of the proportion of the meal of each meal of the user in the preset custom database includes: 200 grams of vegetables, 150 grams of rice, 150 grams of chicken, 100 grams of soup, Find the calorific value of vegetables, rice, chicken and soup in the preset food database, calculate the calories of various foods according to the weight value of each food and its calorie value, and then add the calories of various foods to get the food. Total heat.
需要说明的是,信息获取装置是根据学习模式来估算每餐的食物比例,所以每餐的食品的热量摄取值并不是精确值,这里可以通过对摄入的食品的比例进行校准来进行精确的计算。如果用户可以确定用餐时食品的准确摄入重量,也可以在信息获取装置中手动输入食品的摄入重量,从而,可以计算出准确的摄入热量数值。It should be noted that the information acquisition device estimates the proportion of food per meal according to the learning mode, so the calorie intake value of the food per meal is not an exact value, and the accuracy of the ratio of the ingested food can be calibrated here. Calculation. If the user can determine the accurate intake weight of the food at the time of eating, the intake weight of the food can also be manually input in the information acquisition device, so that the accurate intake calorie value can be calculated.
步骤212、信息获取装置发送所述第一重量值和所述总热量值至终端设备。Step 212: The information acquiring apparatus sends the first weight value and the total heat value to the terminal device.
例如,信息获取装置发送所述第一重量值和所述总热量值至终端设备,以使得所述终端设备对所述第一重量值和所述总热量值进行统一管理。其中,终端设备可以为手机,平板电脑等。For example, the information acquisition device transmits the first weight value and the total heat value to the terminal device, so that the terminal device performs unified management on the first weight value and the total heat value. The terminal device may be a mobile phone, a tablet computer, or the like.
本发明实施例提供的信息获取方法,可以通过检测用户的动作获取食物的重量,可以根据所述食物单位重量的热量值以及摄入所述食物的第一重量值,获得人体摄入所述食物的总热量。The information obtaining method provided by the embodiment of the present invention can obtain the weight of the food by detecting the motion of the user, and obtain the human body to take the food according to the caloric value of the food unit weight and the first weight value of the ingested food. Total heat.
实施例三Embodiment 3
本发明实施例提供一种信息获取装置1,如图3所示,所述信息获取装置包括:第一获取单元10、第一确定单元11、第二获取单元12、第二确定单元13,其中,An embodiment of the present invention provides an information acquiring apparatus 1. As shown in FIG. 3, the information acquiring apparatus includes: a first acquiring unit 10, a first determining unit 11, a second acquiring unit 12, and a second determining unit 13, wherein ,
所述第一获取单元10,配置为获取食物的名称; The first obtaining unit 10 is configured to obtain a name of the food;
所述第一确定单元11,配置为根据所述食物的名称确定所述食物单位重量的热量值;The first determining unit 11 is configured to determine a heat value of the food unit weight according to the name of the food;
所述第二获取单元12,配置为获取摄入所述食物的第一重量值;The second obtaining unit 12 is configured to acquire a first weight value of the food intake;
所述第二确定单元13,还配置为根据所述食物单位重量的热量值和所述第一重量值确定摄入所述食物的总热量值。The second determining unit 13 is further configured to determine a total calorie value of the food intake according to the calorie value of the food unit weight and the first weight value.
可选地,所述第一确定单元11,还配置为在预设食物数据库查找与所述食物的名称对应的所述食物单位重量的热量值。Optionally, the first determining unit 11 is further configured to search for a calorific value of the food unit weight corresponding to the name of the food in a preset food database.
可选地,所述第二获取单元12,配置为获取预设时间内每一次摄入所述食物的第三重量值;还用于将所述每一次摄入所述食物的第三重量值相加获得所述第一重量值。Optionally, the second obtaining unit 12 is configured to acquire a third weight value of the food intake each time in a preset time; and is further configured to use the third weight of the food each time the food is ingested The magnitudes are added to obtain the first weight value.
可选地,所述第二获取单元12,还配置为获取第一动作特征值;Optionally, the second acquiring unit 12 is further configured to acquire a first action feature value;
所述第一确定单元11,还配置为将所述第一动作特征值与预设动作数据库中的动作特征值匹配。The first determining unit 11 is further configured to match the first action feature value with the action feature value in the preset action database.
可选地,如图4所示,所述第二获取单元12包括:处理模块120,其中,Optionally, as shown in FIG. 4, the second obtaining unit 12 includes: a processing module 120, where
所述第二获取单元12,配置为若所述第一动作特征值与预设动作数据库中任一动作特征值匹配成功,获取皮肤的第一电流信号;The second acquiring unit 12 is configured to acquire a first current signal of the skin if the first action feature value is successfully matched with any action feature value in the preset action database;
所述处理模块120,配置为对所述电流信号进行处理获得所述电流信号的信号阈值;The processing module 120 is configured to process the current signal to obtain a signal threshold of the current signal;
所述第一确定单元11,还配置为在预设重量数据库中查找所述信号阈值对应的第三重量值。The first determining unit 11 is further configured to search for a third weight value corresponding to the signal threshold in the preset weight database.
可选的,所述第一获取单元10,还配置为获取语音信息,根据所述语音信息确定所述食物的名称;Optionally, the first obtaining unit 10 is further configured to acquire voice information, and determine a name of the food according to the voice information;
或者,or,
可选的,所述第一获取单元10,还配置为获取图片信息,根据所述图 片信息确定所述食物的名称。Optionally, the first obtaining unit 10 is further configured to acquire picture information, according to the figure. The slice information determines the name of the food.
可选的,如图4所示,所述信息获取装置还包括:Optionally, as shown in FIG. 4, the information acquiring apparatus further includes:
无线传输单元14,配置为发送所述第一重量值和所述总热量值至终端设备。The wireless transmission unit 14 is configured to transmit the first weight value and the total heat value to the terminal device.
在实际应用中,可以通过三轴加速感应器、三轴陀螺仪获取并确定用户的动作,通过信息获取装置中的差分电极获取肌肉上方皮肤的表皮肌肉电流信号,即第一电流信号,并通过模拟信号放大器电路提取和放大肌肉上方皮肤的表皮肌肉电流信号,即放大第一电流信号。模拟滤波电路将所述放大后的生物电流信号滤波处理去掉无关的生物电流信号,将放大后的生物电流信号集中过滤后获得特定频率、带有重要信息的生物电流信号,即第二电流信号。模拟数字转换电路将所述第二电流信号转换为数字信号,即第一数字信号。即将第二电流信号的特征曲线通过分时复用或者单个信号通道独用的模拟数字转换电路转换为数字信号。其中,第一数字信号可以包括信号的强度、信号的振幅、信号的包络、信号的频率谱、信号的能量分布及各个信号通道间的相位差和一致性等信息。数字滤波电路将所述第一数字信号进行数字滤波去掉与重量无关的数字信号,获得第二数字信号。In practical applications, the user's motion can be acquired and determined by a three-axis acceleration sensor and a three-axis gyroscope, and the skin muscle current signal of the skin above the muscle is obtained through the differential electrode in the information acquisition device, that is, the first current signal passes through The analog signal amplifier circuit extracts and amplifies the epidermal muscle current signal of the skin above the muscle, that is, amplifies the first current signal. The analog filter circuit filters the amplified bio-current signal to remove the unrelated bio-current signal, and concentrates the amplified bio-current signal to obtain a bio-current signal with a specific frequency and an important information, that is, a second current signal. An analog to digital conversion circuit converts the second current signal into a digital signal, ie, a first digital signal. That is, the characteristic curve of the second current signal is converted into a digital signal by time-division multiplexing or an analog-to-digital conversion circuit unique to a single signal channel. The first digital signal may include information such as the strength of the signal, the amplitude of the signal, the envelope of the signal, the frequency spectrum of the signal, the energy distribution of the signal, and the phase difference and consistency between the signal channels. A digital filtering circuit digitally filters the first digital signal to remove a weight-independent digital signal to obtain a second digital signal.
例如,信息获取装置可以为手腕穿戴设备,例如,手环、智能手表等。若信息获取装置为手腕穿戴设备,三轴加速感应器、三轴陀螺仪和差分电极可以安装在手腕穿戴设备表腕内侧。For example, the information acquisition device may be a wrist wear device such as a wristband, a smart watch, or the like. If the information acquisition device is a wrist wear device, the three-axis acceleration sensor, the three-axis gyroscope, and the differential electrode can be mounted inside the wrist of the wrist wear device.
例如,本发明实施例提供的信息获取装置的理解可以参考实施例一至实施例二的信息获取方法的说明,本实施例在此不再赘述。For example, the information acquisition device provided by the embodiment of the present invention can be referred to the description of the information acquisition method in the first embodiment to the second embodiment.
本发明实施例提供的信息获取装置,可以通过检测用户的动作获取食物的重量,可以根据所述食物单位重量的热量值以及摄入所述食物的第一重量值,获得人体摄入所述食物的总热量。 The information acquiring device provided by the embodiment of the present invention can obtain the weight of the food by detecting the motion of the user, and can obtain the food intake by the human body according to the calorific value of the food unit weight and the first weight value of the ingested food. Total heat.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行前所述信息获取方法的至少其中之一,例如所述信息获取方法可为图1和/或图2所示的方法。所述计算机存储介质可为光盘、硬盘或磁盘等存储介质,可选为非瞬间存储介质。The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, where the computer executable instructions are used to execute at least one of the foregoing information acquisition methods, such as the information. The acquisition method can be the method shown in FIG. 1 and/or FIG. The computer storage medium may be a storage medium such as an optical disk, a hard disk, or a magnetic disk, and may be a non-transitory storage medium.
本领域内的技术人员应明白,本发明的实施例可提供为方法、系统、或计算机程序产品。因此,本发明可采用硬件实施例、软件实施例、或结合软件和硬件方面的实施例的形式。而且,本发明可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器和光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the present invention can be provided as a method, system, or computer program product. Accordingly, the present invention can take the form of a hardware embodiment, a software embodiment, or a combination of software and hardware. Moreover, the invention can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) including computer usable program code.
本发明是参照根据本发明实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。The present invention has been described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (system), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing device to produce a machine for the execution of instructions for execution by a processor of a computer or other programmable data processing device. Means for implementing the functions specified in one or more of the flow or in a block or blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The apparatus implements the functions specified in one or more blocks of a flow or a flow and/or block diagram of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现 在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing device such that a series of operational steps are performed on a computer or other programmable device to produce computer-implemented processing for execution on a computer or other programmable device. Instructions are provided for implementation The steps of a function specified in a block or blocks of a flow or a flow and/or a block diagram of a flow chart.
以上所述,仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围凡按照本发明原理所作的修改,都应当理解为落入本发明的保护范围。The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. The modifications made in accordance with the principles of the present invention are understood to fall within the scope of the present invention.
工业实用性Industrial applicability
本发明实施例中,可利用手机、可穿戴式设备等电子设备,通过获取食物的名称和第一重量值之后,确定出用户射入的食物的热量,从而便用户确定是否继续进食,更好的利用了电子设备的软硬件资源,提升了电子设备的资源利用率、智能性及用户的使用满意度。 In the embodiment of the present invention, the electronic device such as a mobile phone or a wearable device can be used to determine the heat of the food injected by the user after obtaining the name of the food and the first weight value, so that the user determines whether to continue eating or not. The use of hardware and software resources of electronic devices has improved the resource utilization, intelligence and user satisfaction of electronic devices.

Claims (15)

  1. 一种信息获取方法,其中,所述信息获取方法包括:An information acquisition method, wherein the information acquisition method includes:
    获取食物的名称,根据所述食物的名称确定所述食物单位重量的热量值;Obtaining a name of the food, determining a calorific value of the unit weight of the food according to the name of the food;
    获取摄入所述食物的第一重量值;Obtaining a first weight value for ingesting the food;
    根据所述食物单位重量的热量值和所述第一重量值确定摄入所述食物的总热量值。The total caloric value of the ingested food is determined based on the caloric value of the food unit weight and the first weight value.
  2. 根据权利要求1所述的信息获取方法,其中,所述根据所述食物的名称确定所述食物单位重量的热量值,包括:The information acquisition method according to claim 1, wherein the determining the calorie value of the food unit weight according to the name of the food comprises:
    在预设食物数据库查找与所述食物的名称对应的所述食物单位重量的热量值。A calorific value of the food unit weight corresponding to the name of the food is found in a preset food database.
  3. 根据权利要求1或2所述的信息获取方法,其中,所述获取摄入所述食物的第一重量值,包括:The information acquisition method according to claim 1 or 2, wherein the obtaining the first weight value of the ingested food comprises:
    获取预设时间内每一次摄入所述食物的第三重量值;Obtaining a third weight value of the food intake each time within a preset time;
    将所述每一次摄入所述食物的第三重量值相加获得所述第一重量值。The first weight value is obtained by adding the third weight value for each intake of the food.
  4. 根据权利要求3所述的信息获取方法,其中,在所述获取预设时间内每一次摄入所述食物的第三重量值之前,还包括:The information obtaining method according to claim 3, further comprising: before each of the third weight value of the food being ingested in the obtaining preset time period, further comprising:
    获取第一动作特征值,将所述第一动作特征值与预设动作数据库中的动作特征值匹配。Obtaining a first action feature value, and matching the first action feature value with an action feature value in a preset action database.
  5. 根据权利要求4所述的信息获取方法,其中,所述获取预设时间内每一次摄入所述食物的第三重量值,包括:The information acquisition method according to claim 4, wherein the obtaining the third weight value of the food intake each time in the preset time comprises:
    若所述第一动作特征值与预设动作数据库中任一动作特征值匹配成功,获取皮肤的电流信号;Obtaining a current signal of the skin if the first action feature value is successfully matched with any action feature value in the preset action database;
    对所述电流信号进行处理获得所述电流信号的信号阈值; Processing the current signal to obtain a signal threshold of the current signal;
    在预设重量数据库中查找所述信号阈值对应的第三重量值。Finding a third weight value corresponding to the signal threshold in the preset weight database.
  6. 根据权利要求1所述的信息获取方法,其中,所述获取食物的名称,包括:The information acquisition method according to claim 1, wherein the obtaining the name of the food comprises:
    获取语音信息,根据所述语音信息确定所述食物的名称;Obtaining voice information, and determining a name of the food according to the voice information;
    或者,or,
    获取图片信息,根据所述图片信息确定所述食物的名称。Obtaining picture information, and determining a name of the food according to the picture information.
  7. 根据权利要求1所述的信息获取方法,其中,所述信息获取方法还包括:The information acquisition method according to claim 1, wherein the information acquisition method further comprises:
    发送所述第一重量值和所述总热量值至终端设备。Sending the first weight value and the total heat value to the terminal device.
  8. 一种信息获取装置,所述信息获取装置包括:第一获取单元、第一确定单元、第二获取单元、第二确定单元,其中,An information acquisition device, the information acquisition device includes: a first acquisition unit, a first determination unit, a second acquisition unit, and a second determination unit, where
    所述第一获取单元,配置为获取食物的名称;The first obtaining unit is configured to acquire a name of the food;
    所述第一确定单元,配置为根据所述食物的名称确定所述食物单位重量的热量值;The first determining unit is configured to determine a heat value of the food unit weight according to the name of the food;
    所述第二获取单元,配置为获取摄入所述食物的第一重量值;The second obtaining unit is configured to acquire a first weight value of the food intake;
    所述第二确定单元,配置为根据所述食物单位重量的热量值和所述第一重量值确定摄入所述食物的总热量值。The second determining unit is configured to determine a total calorie value of the food intake according to the calorie value of the food unit weight and the first weight value.
  9. 根据权利要求8所述的信息获取装置,其中,所述第一确定单元,还配置为在预设食物数据库查找与所述食物的名称对应的所述食物单位重量的热量值。The information acquiring apparatus according to claim 8, wherein the first determining unit is further configured to search for a calorie value of the food unit weight corresponding to the name of the food in a preset food database.
  10. 根据权利要求8或9所述的信息获取装置,其中,The information acquiring apparatus according to claim 8 or 9, wherein
    所述第二获取单元,配置为获取预设时间内每一次摄入所述食物的第三重量值;还配置为将所述每一次摄入所述食物的第三重量值相加获得所述第一重量值。The second obtaining unit is configured to acquire a third weight value of the food intake each time in a preset time; and further configured to add the third weight value of the food each time the food is ingested The first weight value.
  11. 根据权利要求10所述的信息获取装置,其中, The information acquiring apparatus according to claim 10, wherein
    所述第二获取单元,还配置为获取第一动作特征值;The second acquiring unit is further configured to acquire a first action feature value;
    所述第一确定单元,还配置为将所述第一动作特征值与预设动作数据库中的动作特征值匹配。The first determining unit is further configured to match the first action feature value with the action feature value in the preset action database.
  12. 根据权利要求11所述的信息获取装置,其中,所述第二获取单元包括:处理模块,其中,The information acquiring apparatus according to claim 11, wherein the second obtaining unit comprises: a processing module, wherein
    所述第二获取单元,配置为若所述第一动作特征值与预设动作数据库中任一动作特征值匹配成功,获取皮肤的电流信号;The second acquiring unit is configured to acquire a current signal of the skin if the first action feature value is successfully matched with any action feature value in the preset action database;
    所述处理模块,配置为对所述电流信号进行处理获得所述电流信号的信号阈值;The processing module is configured to process the current signal to obtain a signal threshold of the current signal;
    所述第一确定单元,还配置为在预设重量数据库中查找所述信号阈值对应的第三重量值。The first determining unit is further configured to search, in the preset weight database, a third weight value corresponding to the signal threshold.
  13. 根据权利要求8所述的信息获取装置,其中,The information acquiring apparatus according to claim 8, wherein
    所述第一获取单元,还配置为获取语音信息,根据所述语音信息确定所述食物的名称;The first acquiring unit is further configured to acquire voice information, and determine a name of the food according to the voice information;
    或者,or,
    所述第一获取单元,还配置为获取图片信息,根据所述图片信息确定所述食物的名称。The first obtaining unit is further configured to acquire picture information, and determine a name of the food according to the picture information.
  14. 根据权利要求8所述的信息获取装置,其中,所述信息获取装置还包括:The information acquiring apparatus according to claim 8, wherein the information acquiring apparatus further comprises:
    无线传输单元,配置为发送所述第一重量值和所述总热量值至终端设备。a wireless transmission unit configured to transmit the first weight value and the total heat value to the terminal device.
  15. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至7所述方法的至少其中之一。 A computer storage medium having stored therein computer executable instructions for performing at least one of the methods of claims 1-7.
PCT/CN2015/097446 2015-10-27 2015-12-15 Information acquisition method and apparatus, and computer storage medium WO2016184089A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510706207.5 2015-10-27
CN201510706207.5A CN106650183A (en) 2015-10-27 2015-10-27 Information acquisition method and device

Publications (1)

Publication Number Publication Date
WO2016184089A1 true WO2016184089A1 (en) 2016-11-24

Family

ID=57319272

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/097446 WO2016184089A1 (en) 2015-10-27 2015-12-15 Information acquisition method and apparatus, and computer storage medium

Country Status (2)

Country Link
CN (1) CN106650183A (en)
WO (1) WO2016184089A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107315900B (en) * 2017-05-12 2019-11-12 合肥美的智能科技有限公司 Determination method, processor, device and the refrigerator that food influences user health
CN107731278A (en) * 2017-09-04 2018-02-23 广东数相智能科技有限公司 A kind of food recognition methods, nutrient health analysis method, system and device
CN111368676A (en) * 2020-02-26 2020-07-03 上海幂方电子科技有限公司 Data acquisition method and device and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100109876A1 (en) * 2008-11-04 2010-05-06 Schmid-Schonbein Geert W Devices, Systems and Methods to Control Caloric Intake
CN102799786A (en) * 2012-07-25 2012-11-28 黄鹏 Human body health monitoring system based on Internet of things and monitoring method for human body health monitoring system
US20130091454A1 (en) * 2011-10-06 2013-04-11 Eduard Papa Physical Health Application and Method for Implementation
CN103310092A (en) * 2013-03-26 2013-09-18 Tcl集团股份有限公司 Healthcare management system and method
CN104881590A (en) * 2015-06-23 2015-09-02 上海斐讯数据通信技术有限公司 Method and system for measuring food caloric intake based on mobile device
CN105208114A (en) * 2015-08-31 2015-12-30 广东欧珀移动通信有限公司 Reminding method and terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100109876A1 (en) * 2008-11-04 2010-05-06 Schmid-Schonbein Geert W Devices, Systems and Methods to Control Caloric Intake
US20130091454A1 (en) * 2011-10-06 2013-04-11 Eduard Papa Physical Health Application and Method for Implementation
CN102799786A (en) * 2012-07-25 2012-11-28 黄鹏 Human body health monitoring system based on Internet of things and monitoring method for human body health monitoring system
CN103310092A (en) * 2013-03-26 2013-09-18 Tcl集团股份有限公司 Healthcare management system and method
CN104881590A (en) * 2015-06-23 2015-09-02 上海斐讯数据通信技术有限公司 Method and system for measuring food caloric intake based on mobile device
CN105208114A (en) * 2015-08-31 2015-12-30 广东欧珀移动通信有限公司 Reminding method and terminal

Also Published As

Publication number Publication date
CN106650183A (en) 2017-05-10

Similar Documents

Publication Publication Date Title
Papapanagiotou et al. A novel chewing detection system based on ppg, audio, and accelerometry
US10188345B2 (en) Method and apparatus for providing biofeedback during meditation exercise
Shen et al. Assessing the accuracy of a wrist motion tracking method for counting bites across demographic and food variables
Dong et al. Detecting periods of eating during free-living by tracking wrist motion
Kalantarian et al. A wearable nutrition monitoring system
Mirtchouk et al. Recognizing eating from body-worn sensors: Combining free-living and laboratory data
Kalantarian et al. A survey of diet monitoring technology
Kalantarian et al. Monitoring eating habits using a piezoelectric sensor-based necklace
US9536449B2 (en) Smart watch and food utensil for monitoring food consumption
Suganyadevi et al. An IoT‐based diet monitoring healthcare system for women
US20150126873A1 (en) Wearable Spectroscopy Sensor to Measure Food Consumption
WO2016038585A1 (en) Portable devices and methods for measuring nutritional intake
US10524676B2 (en) Apparatus and method for determining a health parameter of a subject
Fontana et al. Detection and characterization of food intake by wearable sensors
US20230106450A1 (en) Wearable infection monitor
US20220183569A1 (en) Blood Pressure Assessment Using Features Extracted Through Deep Learning
Hussain et al. Food intake detection and classification using a necklace-type piezoelectric wearable sensor system
WO2016184089A1 (en) Information acquisition method and apparatus, and computer storage medium
WO2016185931A1 (en) Biological-information measurement device
US20170146389A1 (en) Scale-based biometric authorization of multiple communication modes of the scale
JP7131904B2 (en) Lifestyle management device, method and program
Fortuna et al. Hand-to-mouth motion tracking in free-living conditions for improved weight control
JP6992505B2 (en) Information processing equipment, methods and programs
EP3387989A1 (en) A method and apparatus for monitoring a subject
Eskandari Bite detection and differentiation using templates of wrist motion

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15892463

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15892463

Country of ref document: EP

Kind code of ref document: A1