[go: up one dir, main page]

CN111276147A - A method for recording diet based on voice input - Google Patents

A method for recording diet based on voice input Download PDF

Info

Publication number
CN111276147A
CN111276147A CN201911400659.5A CN201911400659A CN111276147A CN 111276147 A CN111276147 A CN 111276147A CN 201911400659 A CN201911400659 A CN 201911400659A CN 111276147 A CN111276147 A CN 111276147A
Authority
CN
China
Prior art keywords
diet
client
input
voice
user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911400659.5A
Other languages
Chinese (zh)
Inventor
刘昱
蒋淮*
蒋淮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianjin University
Original Assignee
Tianjin University
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 Tianjin University filed Critical Tianjin University
Priority to CN201911400659.5A priority Critical patent/CN111276147A/en
Publication of CN111276147A publication Critical patent/CN111276147A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/953Querying, e.g. by the use of web search engines
    • 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
    • G16H10/00ICT specially adapted for the handling or processing of patient-related medical or healthcare data
    • G16H10/60ICT specially adapted for the handling or processing of patient-related medical or healthcare data for patient-specific data, e.g. for electronic patient records
    • 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
    • G16H20/00ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance
    • G16H20/60ICT specially adapted for therapies or health-improving plans, e.g. for handling prescriptions, for steering therapy or for monitoring patient compliance relating to nutrition control, e.g. diets
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Signal Processing (AREA)
  • Public Health (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Primary Health Care (AREA)
  • Epidemiology (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Computing Systems (AREA)
  • Nutrition Science (AREA)
  • Medical Treatment And Welfare Office Work (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

本发明公开了一种基于语音输入的饮食记录方法,该方法运行于客户端和服务器,步骤1、用户通过客户端,使用语音输入自己的饮食详情记录,利用语音识别技术对语音记录识别,翻译为文字信息,按照指定数据记录格式进行存储;步骤2、文字信息被上传到服务器;步骤3、利用模糊匹配算法对表格中饮食记录逐条在数据库中检索,将检索结果重新列表反馈给客户端进行确认,并且调用它们对应的营养成分数据信息反馈给客户端,步骤4、未能检索到的菜品建议用户转换为食材信息输入,再次重复步骤1至步骤3完成饮食详情记录的输入。本发明能够提高用户进行饮食记录的效率,方便后续饮食分析及营养师问诊。

Figure 201911400659

The invention discloses a diet recording method based on voice input. The method runs on a client and a server. Step 1. The user uses voice to input his own diet record through the client, uses voice recognition technology to recognize and translate the voice record It is text information, which is stored according to the specified data record format; step 2, the text information is uploaded to the server; step 3, use the fuzzy matching algorithm to search the diet records in the table one by one in the database, and re-list the search results back to the client for further processing Confirm, and call their corresponding nutrition data information to feed back to the client. In step 4, the unretrieved dishes suggest that the user convert to ingredient information input, and repeat steps 1 to 3 again to complete the input of diet detail records. The invention can improve the efficiency of the user's diet recording, and is convenient for follow-up diet analysis and consultation with a nutritionist.

Figure 201911400659

Description

一种基于语音输入的饮食记录方法A method for recording diet based on voice input

技术领域technical field

本发明涉及移动医疗信息化平台领域,特别涉及一种利用语音输入记录饮食摄入情况的方法。The invention relates to the field of mobile medical information platforms, in particular to a method for recording dietary intake by using voice input.

背景技术Background technique

营养是人类维持生命、生长发育和健康的重要物质基础。近年来,我国人民生活水平不断提高,营养供给能力显著增强,国民营养健康状况明显改善。但仍面临居民营养不足与过剩并存、营养相关疾病多发、营养健康生活方式尚未普及等问题。Nutrition is an important material basis for human life, growth and health. In recent years, the living standards of the Chinese people have been continuously improved, the nutritional supply capacity has been significantly enhanced, and the national nutrition and health status has been significantly improved. However, there are still problems such as coexistence of undernutrition and overnutrition among residents, frequent occurrence of nutrition-related diseases, and the lack of popularization of a nutritious and healthy lifestyle.

讲究膳食平衡是一门科学,营养学科的诊断介入与用户的日常饮食息息相关,营养学科门诊一般会要求用户记录自己一周的饮食情况,然而可选择的饮食记录方式却不是很多。当今伴随着“互联网+”的飞速发展,已经有人提出利用智能终端来记录用户的日常饮食,并通过智能终端使营养师完成在线问诊。但是当前食物营养分析软件的饮食记录过程均采用手动输入名称检索食物-选择摄入食物-选择摄入质量的步骤完成,用户的操作复杂度相对较高。Paying attention to dietary balance is a science. The diagnosis and intervention of nutrition disciplines are closely related to the daily diet of users. Nutrition department clinics generally require users to record their own diet for a week. However, there are not many options for diet recording. Nowadays, with the rapid development of "Internet +", some people have proposed to use smart terminals to record the daily diet of users, and enable nutritionists to complete online consultations through smart terminals. However, the diet recording process of the current food nutrition analysis software is completed by manually inputting the name to retrieve food - selecting food intake - selecting intake quality, and the user's operation complexity is relatively high.

语音识别技术(Auto Speech Recognize,ASR)所要解决的问题是让机器能够“听懂”人类的语音,将语音中包含的文字信息“提取”出来,相当于给机器安装上“耳朵”,使其具备“听的能力”。近年来,语音识别技术取得长足进步,科大讯飞是其中的佼佼者,其拥有国际领先的连续语音识别技术,是被准确率超过95%,语音输入速度达180字/分,识别结果相应时间低于500ms,并且支持中英粤藏维5个语种,川豫和东北等多个地区方言。科大讯飞语音识别SDK小巧而精悍,无网络负担,离线识别。The problem to be solved by speech recognition technology (Auto Speech Recognize, ASR) is to enable the machine to "understand" human speech and "extract" the text information contained in the speech, which is equivalent to installing "ears" on the machine to make it possible. Possess the ability to "listen". In recent years, speech recognition technology has made great progress, and iFLYTEK is one of the leaders. It has the world's leading continuous speech recognition technology, with an accuracy rate of over 95%, a speech input speed of 180 words/min, and a corresponding time for the recognition result. Less than 500ms, and supports 5 languages of Chinese, English, Cantonese, Tibetan and Uyghur, as well as many regional dialects such as Sichuan, Henan, and Northeast China. The iFLYTEK speech recognition SDK is small and powerful, with no network burden and offline recognition.

发明内容SUMMARY OF THE INVENTION

为解决以上现有技术存在的问题,本发明提出一种基于语音输入的饮食记录方法,基于互联网的智能终端,利用科大讯飞智能语音识别技术完成饮食记录,提高饮食记录的效率和准确性。In order to solve the above problems in the prior art, the present invention proposes a method for recording diet based on voice input. An Internet-based intelligent terminal utilizes iFLYTEK intelligent voice recognition technology to complete diet records, thereby improving the efficiency and accuracy of diet records.

本发明的一种基于语音输入的饮食记录方法,该方法运行于客户端和服务器,具体包括以下步骤:A method for recording diet based on voice input of the present invention, the method runs on a client and a server, and specifically includes the following steps:

步骤1、用户通过客户端,使用语音输入自己的饮食详情记录,利用语音识别技术对语音记录识别,翻译为文字信息,按照指定数据记录格式进行存储;Step 1. Through the client, the user inputs his own dietary details record by voice, uses the voice recognition technology to recognize the voice record, translates it into text information, and stores it according to the specified data record format;

步骤2、文字信息被上传到服务器;Step 2, the text information is uploaded to the server;

步骤3、利用模糊匹配算法对表格中饮食记录逐条在数据库中检索,将检索结果重新列表反馈给客户端进行确认,并且调用它们对应的营养成分数据信息反馈给客户端,Step 3. Use the fuzzy matching algorithm to retrieve the dietary records in the table one by one in the database, re-list the retrieval results and feed them back to the client for confirmation, and call their corresponding nutritional component data information to feed back to the client,

步骤4、未能检索到的菜品建议用户转换为食材信息输入,再次重复步骤1至步骤3完成饮食详情记录的输入。Step 4. For the dishes that cannot be retrieved, the user is advised to switch to the input of ingredient information, and repeat steps 1 to 3 again to complete the input of the dietary details record.

本发明能够提高用户进行饮食记录的效率,使用户能够及时完整的完成每日饮食记录,方便后续饮食分析及营养师问诊,保证用户膳食健康。The invention can improve the efficiency of the user's diet record, enable the user to complete the daily diet record in a timely manner, facilitate subsequent diet analysis and dietitian consultation, and ensure the user's diet health.

附图说明Description of drawings

图1是本发明的一种基于语音输入的饮食记录方法框图;1 is a block diagram of a method for recording diet based on voice input of the present invention;

图2是本发明的一种基于语音输入的饮食记录方法流程图;Fig. 2 is the flow chart of a kind of diet recording method based on voice input of the present invention;

图3是用户信息确认界面示例图。FIG. 3 is an example diagram of a user information confirmation interface.

具体实施方式Detailed ways

以下结合附图对本发明的技术方案进行详细说明。The technical solutions of the present invention will be described in detail below with reference to the accompanying drawings.

本发明的整体思路是。本方法主要包括以下步骤:The general idea of the present invention is that. This method mainly includes the following steps:

如图1和图2所示,本发明的基于语音输入的饮食记录方法,具体包括以下流程:As shown in Figure 1 and Figure 2, the voice input-based diet recording method of the present invention specifically includes the following procedures:

步骤1、用户通过用户方客户端,使用语音输入自己的饮食记录,按照指定数据记录格式进行存储,主要输入内容包括食材的名称及摄入质量,或者常见菜肴的名称及摄入质量,语音录入格式设置为“第N条,食物名称,摄入质量”(N代表饮食记录条目数量),举例:“第一条,鸡蛋100g;第二条,酸奶150g;第三条宫保鸡丁100g;第四条,青椒炒肉100g。”利用科大讯飞语音识别插件的离线完成语音识别的功能,将其集成在客户端中实时将语音饮食记录翻译成为文字信息,并实时将文字信息上传到服务器;Step 1. Through the user-side client, the user uses voice to input his own dietary records, and stores them according to the specified data record format. The main input contents include the name of the ingredients and the intake quality, or the name and intake quality of common dishes, and the voice input The format is set to "Item N, food name, intake quality" (N represents the number of dietary records), for example: "Item 1, egg 100g; item 2, yogurt 150g; item 3 Kung Pao Chicken 100g; The fourth item, stir-fried pork with green peppers 100g." Utilize the offline voice recognition function of iFLYTEK's voice recognition plug-in, integrate it in the client, translate the voice diet records into text information in real time, and upload the text information to the server in real time ;

表2Table 2

编号Numbering 食物名称food name 摄入质量intake quality 11 鸡蛋egg 100g100g 22 酸奶yogurt 200g200g 33 宫保鸡丁Kung Pao Chicken 100g100g 44 青椒炒肉Stir-fried Pork with Green Peppers 100g100g

步骤2、服务器根据用户上传的文字信息,根据步骤1中语音输入时的制定格式将文字转换为表格形式,如表2所示为文字信息转换为表格示例,便于后续步骤操作;Step 2, according to the text information uploaded by the user, the server converts the text into a table form according to the format established during the voice input in step 1, as shown in Table 2, which is an example of converting text information into a table, which is convenient for subsequent step operations;

步骤3、使用饮食记录表格中的信息,利用模糊匹配算法逐条通过数据库进行检索。模糊匹配算法体现为,根据用户语音录入的关键字如鸡蛋,在数据库中检索包含“鸡蛋”这两个字的所有食材或菜肴,选择最为接近的五种食材或菜肴,调用它们对应的营养成分数据信息反馈给用户方客户端,随后用户可以根据提供的五个选项选择最贴近自己想输入的食材或菜肴,点击确认即可,Step 3. Using the information in the diet record table, use the fuzzy matching algorithm to search through the database one by one. The fuzzy matching algorithm is embodied in that, according to the keywords entered by the user's voice, such as eggs, all the ingredients or dishes containing the word "egg" are searched in the database, and the five closest ingredients or dishes are selected, and their corresponding nutrients are called. The data information is fed back to the user-side client, and then the user can select the ingredients or dishes that are closest to what they want to input according to the five options provided, and click OK.

如图2所示,为用户信息确认界面示例图,请用户进行进一步的信息确认;As shown in Figure 2, it is an example diagram of the user information confirmation interface, and the user is requested to carry out further information confirmation;

步骤4、发现未能在数据库中检索到的菜品,系统建议用户转换为食材输入,见附图3用户确认信息表格示例,用户再次利用语音输入食材种类和质量,重复上述步骤完成饮食记录。Step 4. If the dishes that cannot be retrieved in the database are found, the system recommends that the user switch to the input of ingredients. See the example of the user confirmation information form in Figure 3. The user uses voice to input the type and quality of ingredients again, and repeats the above steps to complete the diet record.

Claims (1)

1.一种基于语音输入的饮食记录方法,其特征在于,该方法运行于客户端和服务器,具体包括以下步骤:1. a diet recording method based on voice input, is characterized in that, this method runs on client and server, specifically comprises the following steps: 步骤1、用户通过客户端,使用语音输入自己的饮食详情记录,利用语音识别技术对语音记录识别,翻译为文字信息,按照指定数据记录格式进行存储;Step 1. Through the client, the user inputs his own dietary details record by voice, uses the voice recognition technology to recognize the voice record, translates it into text information, and stores it according to the specified data record format; 步骤2、文字信息被上传到服务器;Step 2, the text information is uploaded to the server; 步骤3、利用模糊匹配算法对表格中饮食记录逐条在数据库中检索,将检索结果重新列表反馈给客户端进行确认,并且调用它们对应的营养成分数据信息反馈给客户端,Step 3. Use the fuzzy matching algorithm to retrieve the dietary records in the table one by one in the database, re-list the retrieval results and feed them back to the client for confirmation, and call their corresponding nutritional component data information to feed back to the client, 步骤4、未能检索到的菜品建议用户转换为食材信息输入,再次重复步骤1至步骤3完成饮食详情记录的输入。Step 4. For the dishes that cannot be retrieved, the user is advised to switch to the input of ingredient information, and repeat steps 1 to 3 again to complete the input of the dietary details record.
CN201911400659.5A 2019-12-30 2019-12-30 A method for recording diet based on voice input Pending CN111276147A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911400659.5A CN111276147A (en) 2019-12-30 2019-12-30 A method for recording diet based on voice input

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911400659.5A CN111276147A (en) 2019-12-30 2019-12-30 A method for recording diet based on voice input

Publications (1)

Publication Number Publication Date
CN111276147A true CN111276147A (en) 2020-06-12

Family

ID=71001818

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911400659.5A Pending CN111276147A (en) 2019-12-30 2019-12-30 A method for recording diet based on voice input

Country Status (1)

Country Link
CN (1) CN111276147A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6862713B1 (en) * 1999-08-31 2005-03-01 International Business Machines Corporation Interactive process for recognition and evaluation of a partial search query and display of interactive results
WO2006089265A2 (en) * 2005-02-18 2006-08-24 Myfoodphone Nutrition Inc. Method, system, and software for monitoring compliance
US20090099873A1 (en) * 2007-10-10 2009-04-16 Karl Vincent Kurple Method and Apparatus for Monitoring Calorie, Nutritent, and Expense of Food Consumption and Effect on Long Term and Short Term State
CN101515457A (en) * 2008-01-16 2009-08-26 哈曼贝克自动系统股份有限公司 Speech recognition on large lists using fragments
CN101827317A (en) * 2009-09-07 2010-09-08 上海银贵网络科技服务有限公司 Control method and control device for searching target object through mobile terminal
US20100332571A1 (en) * 2009-06-30 2010-12-30 Jennifer Healey Device augmented food identification
CN106205613A (en) * 2016-07-22 2016-12-07 深圳智眸科技有限公司 A kind of navigation audio recognition method and system
CN106250673A (en) * 2016-07-20 2016-12-21 美的集团股份有限公司 A kind of dietary recommendations continued and evaluation methodology, intelligent terminal, Cloud Server and system
US20180108061A1 (en) * 2016-10-15 2018-04-19 Wal-Mart Stores, Inc. Customer interface system
KR20180080112A (en) * 2017-01-03 2018-07-11 삼성전자주식회사 Refrigerator and method of displaying information thereof
CN108764649A (en) * 2018-04-28 2018-11-06 平安科技(深圳)有限公司 Insurance sales method for real-time monitoring, device, equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6862713B1 (en) * 1999-08-31 2005-03-01 International Business Machines Corporation Interactive process for recognition and evaluation of a partial search query and display of interactive results
WO2006089265A2 (en) * 2005-02-18 2006-08-24 Myfoodphone Nutrition Inc. Method, system, and software for monitoring compliance
US20090099873A1 (en) * 2007-10-10 2009-04-16 Karl Vincent Kurple Method and Apparatus for Monitoring Calorie, Nutritent, and Expense of Food Consumption and Effect on Long Term and Short Term State
CN101515457A (en) * 2008-01-16 2009-08-26 哈曼贝克自动系统股份有限公司 Speech recognition on large lists using fragments
US20100332571A1 (en) * 2009-06-30 2010-12-30 Jennifer Healey Device augmented food identification
CN101827317A (en) * 2009-09-07 2010-09-08 上海银贵网络科技服务有限公司 Control method and control device for searching target object through mobile terminal
CN106250673A (en) * 2016-07-20 2016-12-21 美的集团股份有限公司 A kind of dietary recommendations continued and evaluation methodology, intelligent terminal, Cloud Server and system
CN106205613A (en) * 2016-07-22 2016-12-07 深圳智眸科技有限公司 A kind of navigation audio recognition method and system
US20180108061A1 (en) * 2016-10-15 2018-04-19 Wal-Mart Stores, Inc. Customer interface system
KR20180080112A (en) * 2017-01-03 2018-07-11 삼성전자주식회사 Refrigerator and method of displaying information thereof
CN108764649A (en) * 2018-04-28 2018-11-06 平安科技(深圳)有限公司 Insurance sales method for real-time monitoring, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
US8631050B1 (en) Transformation engine
Müller et al. Assessing public opinion on CRISPR-Cas9: combining crowdsourcing and deep learning
CN103907131A (en) Diet management system and method
CN119361125B (en) A Doctor Consultation Assistance Method and System Based on a Large Language Model
CN111354437A (en) An accurate nutrition recommendation method based on the analysis of dietary records
CN114613461B (en) A method and system for intelligent entry of outpatient medical records
CN117059220A (en) Patient follow-up method, follow-up system and follow-up device
CN111276147A (en) A method for recording diet based on voice input
US20240363220A1 (en) System and method for generating a direction inquiry response from biological extractions using machine learning
WO2024060967A1 (en) Meal plan generating method, apparatus, and computer implemented algorithm thereof
CN110648746A (en) A kind of intelligent patient diet push service system device and using method thereof
CN118262869A (en) Diet plan generation method, device, equipment and medium
CN116561433A (en) Nutritional dish recommendation method, device, equipment and storage medium based on python recognition
Perera et al. Multiple objective optimization based dietary recommender system
CN113220995A (en) Dish making method and device, electronic equipment and storage medium
KR102872460B1 (en) A system and method for creating customized pet recipes using generative artificial intelligence
JP2026028014A (en) system
JP2026023995A (en) system
JP2026018429A (en) system
JP2025044233A (en) system
JP2025049050A (en) system
JP2026019208A (en) system
CN118675703A (en) Patient out-of-hospital diet compliance monitoring method and system based on multi-modal model
JP2026019029A (en) system
Bouayad-Agha et al. Assisting Breastfeeding and Maternity Experts in Responding to User Queries with an AI-in-the-loop Approach

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20200612

WD01 Invention patent application deemed withdrawn after publication