WO2018000980A1 - 一种基于并行多线程的智能冰箱食品管理方法、系统及智能冰箱 - Google Patents
一种基于并行多线程的智能冰箱食品管理方法、系统及智能冰箱 Download PDFInfo
- Publication number
- WO2018000980A1 WO2018000980A1 PCT/CN2017/084970 CN2017084970W WO2018000980A1 WO 2018000980 A1 WO2018000980 A1 WO 2018000980A1 CN 2017084970 W CN2017084970 W CN 2017084970W WO 2018000980 A1 WO2018000980 A1 WO 2018000980A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- food
- food data
- refrigerator
- module
- data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F25—REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
- F25D—REFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
- F25D29/00—Arrangement or mounting of control or safety devices
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F25—REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
- F25D—REFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
- F25D29/00—Arrangement or mounting of control or safety devices
- F25D29/003—Arrangement or mounting of control or safety devices for movable devices
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F25—REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
- F25D—REFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
- F25D2500/00—Problems to be solved
- F25D2500/06—Stock management
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F25—REFRIGERATION OR COOLING; COMBINED HEATING AND REFRIGERATION SYSTEMS; HEAT PUMP SYSTEMS; MANUFACTURE OR STORAGE OF ICE; LIQUEFACTION SOLIDIFICATION OF GASES
- F25D—REFRIGERATORS; COLD ROOMS; ICE-BOXES; COOLING OR FREEZING APPARATUS NOT OTHERWISE PROVIDED FOR
- F25D2700/00—Means for sensing or measuring; Sensors therefor
- F25D2700/02—Sensors detecting door opening
Definitions
- the invention relates to the field of food management of smart refrigerators.
- the smart refrigerator has upgraded and innovated both hardware and software technologies. How to effectively carry out food management in the refrigerator is the core function of the smart refrigerator, and it is also a problem that users are very concerned about.
- the smart refrigerator has the functions of taking multiple cameras for taking photos and remotely viewing food management.
- RFID, touch operation and other methods for food addition, food deletion and other functions are also implemented by serial processes, such as the publication number.
- the invention name is: the method of intelligent refrigerator food management.
- video recognition uses image recognition technology
- the management process is: refrigerator door closed - food image through the camera - food identification - synchronization with the cloud.
- this traditional serial process will cause problems in the information processing, resulting in errors in the food management process.
- the technical problem to be solved by the present invention is to provide a smart refrigerator food management method, system and smart refrigerator based on parallel multi-threading, aiming at solving the traditional serial process of food management of smart refrigerators, and easily causing food management when the network is not smooth. The problem of mistakes.
- a smart refrigerator food management method based on parallel multi-threading includes:
- the food data management step receiving the closed state, collecting and managing the food data, and performing the food data uploading step;
- a food data uploading step receiving food data information, and uploading the information to a server;
- the closing door event identification step, the food data management step, and the food data uploading step are performed separately by independent threads.
- the beneficial effects of the present invention are: in the present invention, the current read gate state is an open state, and the currently read gate state is an off state, then a door closing event occurs, and the closed door event is respectively performed by using three independent threads.
- Identification, food data management and food data uploading enable traditional serial execution to be implemented in parallel. Notification and data sharing mechanisms are used between parallel threads. When the network is not smooth, the food data uploading step will continue the food data. Uploading until successful, but does not affect the closing of the door event identification step and the food data management step to deal with the user's new operations, solving the problems caused by the traditional serial execution process.
- the present invention can also be improved as follows.
- the closing the door event identifying step and the food data management step still identify and manage the user operation.
- the beneficial effect of adopting the above further solution is that when the network is not smooth, the food data uploading step may be delayed or closed.
- the data uploading is unsuccessful, and other functional steps may also be affected, and the present invention is successful regardless of the data uploading. Will identify and manage the user's real-time operations, not Will affect the accuracy and real-time of the data.
- the food data management steps include:
- a food data storage step for storing food data.
- the beneficial effect of using the above further solution is to classify, summarize and store the collected data by collecting the food data.
- the food data collection step is implemented by image recognition or radio frequency identification technology.
- the method further includes:
- the current refrigerator food data storage step is for storing food data information in the current refrigerator, the food data information including a food code, a food name, and a food insertion time.
- the beneficial effect of adopting the above further solution is that the current refrigerator food data storage step realizes local storage of the refrigerator food data. If the refrigerator power-on network is unreachable, the food data in the refrigerator can be inquired through this step.
- a smart refrigerator food management system based on parallel multi-threading comprising:
- a food data management module configured to receive a door closing status signal, collect and manage the food data, and send the food data information to the food data uploading module;
- a food data uploading module configured to receive food data information, and upload the information to a server
- the closing door event identification module, the food data management module and the food data uploading module are respectively executed by independent threads.
- the beneficial effect of adopting the above further solution is: in the present invention, the current read state of the door is the open state, and the gate state of the current read is the closed state, the closing event occurs, and the closed box is separately executed by using three independent threads.
- Door event identification, food data management and food data uploading, enabling traditional serial The execution becomes parallel execution, and the parallel threads use notification and data sharing mechanisms.
- the food data uploading module will continuously upload the food data until it succeeds, but does not affect the closing of the door event identification module and food.
- the data management module handles the user's new operations and solves the problems caused by the traditional serial execution process.
- the closed door event identification module and the food data management module still identify and manage the user operation.
- the beneficial effect of using the above further solution is that when the network is not smooth, the food data uploading module may delay or close.
- the data uploading is unsuccessful, and other functional modules may also affect, and the present invention is successful regardless of whether the data is uploaded successfully.
- the user's real-time operation will be identified and managed without affecting the accuracy and real-time of the data.
- the food data management module comprises:
- a food data collection module for collecting food data
- a food data processing module for classifying and summarizing food data
- a food data storage module for storing food data.
- the beneficial effect of using the above further solution is to classify, summarize and store the collected data by collecting the food data.
- the food data collection module is implemented by image recognition or radio frequency identification technology.
- system further includes:
- the current refrigerator food data storage module is configured to store food data information in a current refrigerator, the food data information including a food code, a food name, and a food insertion time.
- the beneficial effect of adopting the above further solution is that the current refrigerator food data storage module realizes local storage of the refrigerator food data, and if the refrigerator power-on network is unreachable, the food data in the refrigerator can be inquired through the module.
- a smart refrigerator in which the above-mentioned parallel multi-thread based intelligent refrigerator food management system is embedded.
- the smart refrigerator further includes a display terminal, and the display terminal is configured to display data information in the current refrigerator food data storage module.
- the beneficial effect of the above further solution is that the food data stored in the current refrigerator food data storage module is queried by the display terminal, so that the user can also know the data information of the food in the refrigerator when the network is unreachable.
- a computer device comprising: a processor for implementing any one or a combination of steps in a smart refrigerator food management method based on parallel multi-threading when executing a computer program stored in a memory.
- a computer readable storage medium having stored thereon a computer program, when executed by a processor, implementing any one or a combination of steps in a smart refrigerator food management method based on parallel multi-threading
- FIG. 1 is a flowchart of a parallel multi-thread based smart refrigerator food management method according to the present invention
- FIG. 2 is a schematic diagram of the principle of a parallel multi-thread based intelligent refrigerator food management system according to the present invention
- FIG. 3 is a schematic diagram of the principle of the food data management module 2 according to the present invention.
- FIG. 4 is a schematic diagram of the principle of the smart refrigerator according to the present invention.
- this embodiment provides a smart refrigerator food management method based on parallel multi-threading, and the method includes:
- the food data management step receiving the closed state, collecting and managing the food data, and performing the food data uploading step;
- a food data uploading step receiving food data information, and uploading the information to a server;
- the closing door event identification step, the food data management step, and the food data uploading step are performed separately by independent threads.
- the current read state of the door is an open state
- the gate state of the current read is an off state
- the door closing event occurs
- the closed door event recognition, food data management, and the execution are respectively performed by using three independent threads.
- Food data uploading enables traditional serial execution to be executed in parallel.
- the parallel threads use notification and data sharing mechanisms.
- the food data uploading step will continue to upload the food data until it succeeds, but not Affecting the closing of the door event identification step and the food data management step to handle the user's new operations, solving the problems caused by the traditional serial execution process.
- the closing the door event identifying step and the food data management step still identify and manage the user operation.
- the food data uploading step will delay or close, in the traditional process, the number According to the unsuccessful uploading, other functional steps will also affect, and the present invention will recognize and manage the real-time operation of the user regardless of whether the data is uploaded successfully, without affecting the accuracy and real-time of the data.
- the food data management step comprises:
- a food data storage step for storing food data.
- the collected data is categorized, aggregated, and stored by collecting food data.
- the food data collection step is implemented by image recognition or radio frequency identification technology.
- the method further includes:
- the current refrigerator food data storage step is for storing food data information in the current refrigerator, the food data information including a food code, a food name, and a food insertion time.
- the current refrigerator food data storage step realizes local storage of the refrigerator food data. If the refrigerator power-on network is unreachable, the food data in the refrigerator can be inquired through this step.
- this embodiment provides a smart refrigerator food management system based on parallel multi-threading, and the system includes:
- the food data management module 2 is configured to receive the door closing status signal, collect and manage the food data, and send the food data information to the food data uploading module 3;
- a food data uploading module 3 configured to receive food data information, and upload the information to a server;
- the closing door event recognition module 1, the food data management module 2, and the food data uploading module 3 are respectively executed by independent threads.
- the gate state of the current read is the open state
- the gate state of the current read is the off state
- the door closing event occurs
- the closed door event recognition is performed by using three independent threads respectively.
- Product data management and food data uploading the traditional serial execution becomes parallel execution, and the parallel threads use notification and data sharing mechanism.
- the food data uploading module 3 continuously uploads the food data. Until successful, but does not affect the closing of the door event recognition module 1 and the food data management module 2 to handle the user's new operations, solving the problems caused by the traditional serial execution process.
- the closed door event identification module and the food data management module still identify and manage the user operation.
- the food data uploading module When the network is not smooth, the food data uploading module will delay or close. In the traditional process, the data uploading is unsuccessful, and other functional modules will also affect, and the present invention will recognize the real-time operation of the user regardless of whether the data upload is successful or not. Management will not affect the accuracy and real-time of the data.
- the food data management module 2 includes:
- a food data collection module 5 for collecting food data
- a food data processing module 6 for classifying and summarizing food data
- the food data storage module 7 is configured to store food data.
- the collected data is categorized, aggregated, and stored by collecting food data.
- the food data collection module 5 is implemented by image recognition or radio frequency identification technology.
- the system further comprises:
- the current refrigerator food data storage module 4 is configured to store food data information in the current refrigerator, the food data information including a food code, a food name, and a food insertion time.
- the current refrigerator food data storage module 4 realizes local storage of the refrigerator food data. If the refrigerator power-on network is unreachable, the food data in the refrigerator can be inquired through the module.
- the present embodiment provides a smart refrigerator in which the above-described parallel multi-thread based intelligent refrigerator food management system is embedded.
- the refrigerator further includes a display terminal 8 for displaying data information in the current refrigerator food data storage module 4.
- the display terminal 8 can be a tablet computer embedded in the interior of the refrigerator, and the food data stored in the current refrigerator food data storage module 4 is queried through the display terminal 8 so that the user can know the data information of the food in the refrigerator when the network is unreachable. .
- a further embodiment of the present invention provides a computer device comprising: a processor for implementing any one or a combination of steps as in Embodiment 1 when executing a computer program stored in a memory.
- a further embodiment of the present invention provides a computer readable storage medium having stored thereon a computer program that, when executed by a processor, implements any one or combination of steps as in Embodiment 1.
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Physics & Mathematics (AREA)
- Mechanical Engineering (AREA)
- Thermal Sciences (AREA)
- General Engineering & Computer Science (AREA)
- Cold Air Circulating Systems And Constructional Details In Refrigerators (AREA)
Abstract
一种基于并行多线程的智能冰箱食品管理系统及其方法,其中管理系统包括关闭箱门事件识别模块(1),用于读取冰箱电控板返回的冰箱门状态数据,并将关门状态信号发送至食品数据管理模块(2);食品数据管理模块(2),用于接收关门状态信号,对食品数据进行采集和管理,并将食品数据信息发送至食品数据上传模块(3);食品数据上传模块,用于接收食品数据信息,并将该信息上传至服务器。关闭箱门事件识别模块(1)、食品数据管理模块(2)和食品数据上传模块(3)采用独立线程分别执行。
Description
本申请要求2016年06月29日在中国国家知识产权局提交的申请号为201610507055.0、发明名称为“一种基于并行多线程的智能冰箱食品管理方法、系统及智能冰箱”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本发明涉及智能冰箱食品管理领域。
随着计算机技术与信息技术的发展,家电智能化的浪潮也随之兴起,由此,智能冰箱应运而生。智能冰箱对硬件技术和软件技术均进行了升级和革新。如何有效的进行冰箱内食品管理是智能冰箱的核心功能,也是用户非常关注的问题,在智能冰箱的食品管理研究过程中,智能冰箱已经具有了多摄像头进行拍照、远程查看进行食品管理等功能,还有配备了RFID、触摸操作等方式进行食品添加、食品删除等功能,尽管功能越来越多,越来越强大,但是传统智能冰箱食品管理的基本流程多采用串行流程实现,例如公开号为:CN103604273A,发明名称为:智能冰箱食品管理的方法,该申请中,视频识别使用图像识别技术,管理流程依次为:冰箱门关闭—通过摄像头获取食品图片—食品识别—与云端同步。当出现网络不畅通的情况出现时,这种传统的串行流程方式就会出现信息处理不及时的问题,导致食品管理过程出现差错。
发明内容
本发明所要解决的技术问题是提供一种基于并行多线程的智能冰箱食品管理方法、系统及智能冰箱,目的在于解决传统智能冰箱食品管理采用串行流程,在网络不畅通时容易造成食品管理出现差错的问题。
本发明解决上述技术问题的技术方案如下:一种基于并行多线程的智能冰箱食品管理方法包括:
关闭箱门事件识别步骤,读取冰箱电控板返回的冰箱门状态数据,当接收关门状态时执行食品数据管理步骤;
食品数据管理步骤,接收关门状态,对食品数据进行采集和管理,并执行食品数据上传步骤;
食品数据上传步骤,接收食品数据信息,并将该信息上传至服务器;
所述关闭箱门事件识别步骤、食品数据管理步骤和食品数据上传步骤采用独立线程分别执行。
本发明的有益效果是:本发明中,当前一次读取的门状态为开状态,本次读取的门状态为关状态,则关门事件发生,通过采用三个独立线程分别执行关闭箱门事件识别、食品数据管理和食品数据上传,使传统的串行执行变为并行执行,并行的线程间采用通知和数据共享机制,当网络不畅通的情况下,食品数据上传步骤会对食品数据进行持续上传直至成功,但是不影响关闭箱门事件识别步骤和食品数据管理步骤处理用户新的操作,解决了传统串行执行流程所带来的问题。
在上述技术方案的基础上,本发明还可以做如下改进。
进一步,所述方法中,无论食品数据上传步骤上传食品数据信息是否成功,关闭箱门事件识别步骤和食品数据管理步骤仍然对用户操作进行识别和管理。
采用上述进一步方案的有益效果是:当网络不通畅时,食品数据上传步骤会产生延迟或关闭,传统流程中,数据上传不成功其他功能步骤也会造成影响,而本发明无论数据上传是否成功,都会对用户的实时操作进行识别和管理,不
会影响数据的准确性和实时性。
进一步,所述食品数据管理步骤包括:
食品数据采集步骤,用于对食品数据进行收集;
食品数据处理步骤,用于对食品数据进行归类和汇总;
食品数据存储步骤,用于对食品数据进行存储。
采用上述进一步方案的有益效果是:通过对食品数据进行收集,将收集到的数据进行归类、汇总并存储。
进一步,所述食品数据采集步骤采用图像识别或射频识别技术实现。
进一步,所述方法还包括:
当前冰箱食品数据存储步骤,用于存储当前冰箱内的食品数据信息,所述食品数据信息包括食品编码、食品名称和食品放入时间。
采用上述进一步方案的有益效果是:当前冰箱食品数据存储步骤实现冰箱食品数据的本地存储,如果冰箱上电网络不通时,可以通过该步骤对冰箱内的食品数据进行查询。
一种基于并行多线程的智能冰箱食品管理系统,所述系统包括:
关闭箱门事件识别模块,用于读取冰箱电控板返回的冰箱门状态数据,并将关门状态信号发送至食品数据管理模块;
食品数据管理模块,用于接收关门状态信号,对食品数据进行采集和管理,并将食品数据信息发送至食品数据上传模块;
食品数据上传模块,用于接收食品数据信息,并将该信息上传至服务器;
所述关闭箱门事件识别模块、食品数据管理模块和食品数据上传模块采用独立线程分别执行。
采用上述进一步方案的有益效果是:本发明中,当前一次读取的门状态为开状态,本次读取的门状态为关状态,则关门事件发生,通过采用三个独立线程分别执行关闭箱门事件识别、食品数据管理和食品数据上传,使传统的串行
执行变为并行执行,并行的线程间采用通知和数据共享机制,当网络不畅通的情况下,食品数据上传模块会对食品数据进行持续上传直至成功,但是不影响关闭箱门事件识别模块和食品数据管理模块处理用户新的操作,解决了传统串行执行流程所带来的问题。
进一步,所述系统中,无论食品数据上传模块上传食品数据信息是否成功,关闭箱门事件识别模块和食品数据管理模块仍然对用户操作进行识别和管理。
采用上述进一步方案的有益效果是:当网络不通畅时,食品数据上传模块会产生延迟或关闭,传统流程中,数据上传不成功其他功能模块也会造成影响,而本发明无论数据上传是否成功,都会对用户的实时操作进行识别和管理,不会影响数据的准确性和实时性。
进一步,所述食品数据管理模块包括:
食品数据采集模块,用于对食品数据进行收集;
食品数据处理模块,用于对食品数据进行归类和汇总;
食品数据存储模块,用于对食品数据进行存储。
采用上述进一步方案的有益效果是:通过对食品数据进行收集,将收集到的数据进行归类、汇总并存储。
进一步,所述食品数据采集模块采用图像识别或射频识别技术实现。
进一步,所述系统还包括:
当前冰箱食品数据存储模块,用于存储当前冰箱内的食品数据信息,所述食品数据信息包括食品编码、食品名称和食品放入时间。
采用上述进一步方案的有益效果是:当前冰箱食品数据存储模块实现冰箱食品数据的本地存储,如果冰箱上电网络不通时,可以通过该模块对冰箱内的食品数据进行查询。
一种智能冰箱,所述冰箱内部嵌入有上述基于并行多线程的智能冰箱食品管理系统。
进一步,所述智能冰箱还包括显示终端,所述显示终端用于显示当前冰箱食品数据存储模块中的数据信息。
采用上述进一步方案的有益效果是:通过显示终端查询当前冰箱食品数据存储模块中存储的食品数据,使用户在网络不通的情况下也能够了解冰箱内食品的数据信息。
一种计算机设备,包括:处理器,处理器用于在执行存储器中存储的计算机程序时,实现如基于并行多线程的智能冰箱食品管理方法中的任一步骤或多个步骤的组合。
采用上述方案的有益效果与基于并行多线程的智能冰箱食品管理的方法对应的效果相同,在此不再赘述。
一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时,实现如基于并行多线程的智能冰箱食品管理方法中的任一步骤或多个步骤的组合
采用上述方案的有益效果与基于并行多线程的智能冰箱食品管理方法对应的效果相同,在此不再赘述。
图1为本发明所述的基于并行多线程的智能冰箱食品管理方法的流程图;
图2为本发明所述的基于并行多线程的智能冰箱食品管理系统的原理示意图;
图3为本发明所述的食品数据管理模块2的原理示意图;
图4为本发明所述的智能冰箱的原理示意图。
附图中,各标号所代表的部件列表如下:
1、关闭箱门事件识别模块,2、食品数据管理模块,3、食品数据上传模
块,4、当前冰箱食品数据存储模块,5、食品数据采集模块,6、食品数据处理模块,7、食品数据存储模块,8、显示终端。
以下结合附图对本发明的原理和特征进行描述,所举实例只用于解释本发明,并非用于限定本发明的范围。
实施例1
如图1所示,本实施例提出一种基于并行多线程的智能冰箱食品管理方法,该方法包括:
关闭箱门事件识别步骤,读取冰箱电控板返回的冰箱门状态数据,当接收关门状态时执行食品数据管理步骤;
食品数据管理步骤,接收关门状态,对食品数据进行采集和管理,并执行食品数据上传步骤;
食品数据上传步骤,接收食品数据信息,并将该信息上传至服务器;
所述关闭箱门事件识别步骤、食品数据管理步骤和食品数据上传步骤采用独立线程分别执行。
本实施例中,当前一次读取的门状态为开状态,本次读取的门状态为关状态,则关门事件发生,通过采用三个独立线程分别执行关闭箱门事件识别、食品数据管理和食品数据上传,使传统的串行执行变为并行执行,并行的线程间采用通知和数据共享机制,当网络不畅通的情况下,食品数据上传步骤会对食品数据进行持续上传直至成功,但是不影响关闭箱门事件识别步骤和食品数据管理步骤处理用户新的操作,解决了传统串行执行流程所带来的问题。
优选的,所述方法中,无论食品数据上传步骤上传食品数据信息是否成功,关闭箱门事件识别步骤和食品数据管理步骤仍然对用户操作进行识别和管理。
当网络不通畅时,食品数据上传步骤会产生延迟或关闭,传统流程中,数
据上传不成功其他功能步骤也会造成影响,而本发明无论数据上传是否成功,都会对用户的实时操作进行识别和管理,不会影响数据的准确性和实时性。
优选的,所述食品数据管理步骤包括:
食品数据采集步骤,用于对食品数据进行收集;
食品数据处理步骤,用于对食品数据进行归类和汇总;
食品数据存储步骤,用于对食品数据进行存储。
通过对食品数据进行收集,将收集到的数据进行归类、汇总并存储。
优选的,所述食品数据采集步骤采用图像识别或射频识别技术实现。
优选的,所述方法还包括:
当前冰箱食品数据存储步骤,用于存储当前冰箱内的食品数据信息,所述食品数据信息包括食品编码、食品名称和食品放入时间。
当前冰箱食品数据存储步骤实现冰箱食品数据的本地存储,如果冰箱上电网络不通时,可以通过该步骤对冰箱内的食品数据进行查询。
实施例2
如图2所示,本实施例提出了一种基于并行多线程的智能冰箱食品管理系统,所述系统包括:
关闭箱门事件识别模块1,用于读取冰箱电控板返回的冰箱门状态数据,并将关门状态信号发送至食品数据管理模块2;
食品数据管理模块2,用于接收关门状态信号,对食品数据进行采集和管理,并将食品数据信息发送至食品数据上传模块3;
食品数据上传模块3,用于接收食品数据信息,并将该信息上传至服务器;
所述关闭箱门事件识别模块1、食品数据管理模块2和食品数据上传模块3采用独立线程分别执行。
本实施例中,当前一次读取的门状态为开状态,本次读取的门状态为关状态,则关门事件发生,通过采用三个独立线程分别执行关闭箱门事件识别、食
品数据管理和食品数据上传,使传统的串行执行变为并行执行,并行的线程间采用通知和数据共享机制,当网络不畅通的情况下,食品数据上传模块3会对食品数据进行持续上传直至成功,但是不影响关闭箱门事件识别模块1和食品数据管理模块2处理用户新的操作,解决了传统串行执行流程所带来的问题。
优选的,所述系统中,无论食品数据上传模块上传食品数据信息是否成功,关闭箱门事件识别模块和食品数据管理模块仍然对用户操作进行识别和管理。
当网络不通畅时,食品数据上传模块会产生延迟或关闭,传统流程中,数据上传不成功其他功能模块也会造成影响,而本发明无论数据上传是否成功,都会对用户的实时操作进行识别和管理,不会影响数据的准确性和实时性。
优选的,如图3所示,所述食品数据管理模块2包括:
食品数据采集模块5,用于对食品数据进行收集;
食品数据处理模块6,用于对食品数据进行归类和汇总;
食品数据存储模块7,用于对食品数据进行存储。
通过对食品数据进行收集,将收集到的数据进行归类、汇总并存储。
优选的,所述食品数据采集模块5采用图像识别或射频识别技术实现。
优选的,所述系统还包括:
当前冰箱食品数据存储模块4,用于存储当前冰箱内的食品数据信息,所述食品数据信息包括食品编码、食品名称和食品放入时间。
当前冰箱食品数据存储模块4实现冰箱食品数据的本地存储,如果冰箱上电网络不通时,可以通过该模块对冰箱内的食品数据进行查询。
实施例3
如图4所述,本实施例提出了一种智能冰箱,所述冰箱内部嵌入有上述基于并行多线程的智能冰箱食品管理系统。
优选的,所述冰箱还包括显示终端8,所述显示终端8用于显示当前冰箱食品数据存储模块4中的数据信息。
所述显示终端8可以为嵌入在冰箱内部的平板电脑,通过显示终端8查询当前冰箱食品数据存储模块4中存储的食品数据,使用户在网络不通的情况下也能够了解冰箱内食品的数据信息。
实施例4
本发明的又一实施例提供一种计算机设备,包括:处理器,处理器用于在执行存储器中存储的计算机程序时,实现如实施例1中的任一步骤或多个步骤的组合。
实施例5
本发明的又一实施例提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行时,实现如实施例1中的任一步骤或多个步骤的组合。
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。
Claims (14)
- 一种基于并行多线程的智能冰箱食品管理方法,其特征在于,所述方法包括:关闭箱门事件识别步骤,读取冰箱电控板返回的冰箱门状态数据,当接收关门状态时执行食品数据管理步骤;食品数据管理步骤,接收关门状态,对食品数据进行采集和管理,并执行食品数据上传步骤;食品数据上传步骤,接收食品数据信息,并将该信息上传至服务器;所述关闭箱门事件识别步骤、食品数据管理步骤和食品数据上传步骤采用独立线程分别执行。
- 根据权利要求1所述的一种基于并行多线程的智能冰箱食品管理方法,其特征在于,所述方法中,无论食品数据上传步骤上传食品数据信息是否成功,关闭箱门事件识别步骤和食品数据管理步骤仍然对用户操作进行识别和管理。
- 根据权利要求1所述的一种基于并行多线程的智能冰箱食品管理方法,其特征在于,所述食品数据管理步骤包括:食品数据采集步骤,用于对食品数据进行收集;食品数据处理步骤,用于对食品数据进行归类和汇总;食品数据存储步骤,用于对食品数据进行存储。
- 根据权利要求3所述的一种基于并行多线程的智能冰箱食品管理方法,其特征在于,所述食品数据采集步骤采用图像识别或射频识别技术实现。
- 根据权利要求4所述的一种基于并行多线程的智能冰箱食品管理方法,其特征在于,它还包括:当前冰箱食品数据存储步骤,用于存储当前冰箱内的食品数据信息,所述 食品数据信息包括食品编码、食品名称和食品放入时间。
- 一种基于并行多线程的智能冰箱食品管理系统,其特征在于,所述系统包括:关闭箱门事件识别模块(1),用于读取冰箱电控板返回的冰箱门状态数据,并将关门状态信号发送至食品数据管理模块(2);食品数据管理模块(2),用于接收关门状态信号,对食品数据进行采集和管理,并将食品数据信息发送至食品数据上传模块(3);食品数据上传模块(3),用于接收食品数据信息,并将该信息上传至服务器;所述关闭箱门事件识别模块(1)、食品数据管理模块(2)和食品数据上传模块(3)采用独立线程分别执行。
- 根据权利要求6所述的一种基于并行多线程的智能冰箱食品管理系统,其特征在于,所述系统中,无论食品数据上传模块上传食品数据信息是否成功,关闭箱门事件识别模块和食品数据管理模块仍然对用户操作进行识别和管理。
- 根据权利要求7所述的一种基于并行多线程的智能冰箱食品管理系统,其特征在于,所述食品数据管理模块(2)包括:食品数据采集模块(5),用于对食品数据进行收集;食品数据处理模块(6),用于对食品数据进行归类和汇总;食品数据存储模块(7),用于对食品数据进行存储。
- 根据权利要求8所述的一种基于并行多线程的智能冰箱食品管理系统,其特征在于,所述食品数据采集模块(5)采用图像识别或射频识别技术实现。
- 根据权利要求9所述的一种基于并行多线程的智能冰箱食品管理系统,其特征在于,它还包括:当前冰箱食品数据存储模块(4),用于存储当前冰箱内的食品数据信息,所述食品数据信息包括食品编码、食品名称和食品放入时间。
- 一种智能冰箱,其特征在于,所述冰箱内部嵌入有权利要求6-10任一项所述的基于并行多线程的智能冰箱食品管理系统。
- 根据权利要求11所述的一种智能冰箱,其特征在于,它还包括显示终端(8),所述显示终端(8)用于显示当前冰箱食品数据存储模块(4)中的数据信息。
- 一种计算机设备,其特征在于,包括处理器,所述处理器用于执行存储器中存储的计算机程序时实现如权利要求1至5中任一项所述基于并行多线程的智能冰箱食品管理方法的步骤。
- 一种计算机可读存储介质,其上存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如权利要求1至5中任一项所述基于并行多线程的智能冰箱食品管理方法的步骤。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201610507055.0 | 2016-06-29 | ||
| CN201610507055.0A CN106091568A (zh) | 2016-06-29 | 2016-06-29 | 一种基于并行多线程的智能冰箱食品管理方法、系统及智能冰箱 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2018000980A1 true WO2018000980A1 (zh) | 2018-01-04 |
Family
ID=57214173
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2017/084970 Ceased WO2018000980A1 (zh) | 2016-06-29 | 2017-05-18 | 一种基于并行多线程的智能冰箱食品管理方法、系统及智能冰箱 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN106091568A (zh) |
| WO (1) | WO2018000980A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113960938A (zh) * | 2020-07-21 | 2022-01-21 | 北京瑞华赢科技发展股份有限公司 | 基于图像采集的安全监控系统、方法及智能控制箱 |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106091568A (zh) * | 2016-06-29 | 2016-11-09 | 合肥华凌股份有限公司 | 一种基于并行多线程的智能冰箱食品管理方法、系统及智能冰箱 |
| CN111486656B (zh) * | 2020-04-08 | 2022-04-08 | 海信(山东)冰箱有限公司 | 一种冷藏设备及其控制方法 |
Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101252571A (zh) * | 2008-04-03 | 2008-08-27 | 北京泰得思达科技发展有限公司 | 一种网络环境自动监测的方法 |
| US20130159669A1 (en) * | 2011-12-20 | 2013-06-20 | International Business Machines Corporation | Low latency variable transfer network for fine grained parallelism of virtual threads across multiple hardware threads |
| CN103196277A (zh) * | 2013-03-29 | 2013-07-10 | 惠州Tcl家电集团有限公司 | 冰箱食品管理方法和系统、服务器、冰箱 |
| CN103543703A (zh) * | 2013-07-17 | 2014-01-29 | 中国海洋石油总公司 | 食品保鲜度实时监测仪及其监测方法 |
| CN103604273A (zh) * | 2013-11-13 | 2014-02-26 | 四川长虹电器股份有限公司 | 智能冰箱食品管理的方法 |
| CN104239433A (zh) * | 2014-08-27 | 2014-12-24 | 百度在线网络技术(北京)有限公司 | 可联网冰箱及其信息推荐方法和系统 |
| CN105491147A (zh) * | 2015-12-21 | 2016-04-13 | 美的集团股份有限公司 | 冰箱食材保鲜的提醒方法、系统、冰箱和云服务器 |
| CN106091568A (zh) * | 2016-06-29 | 2016-11-09 | 合肥华凌股份有限公司 | 一种基于并行多线程的智能冰箱食品管理方法、系统及智能冰箱 |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN108955070A (zh) * | 2012-07-27 | 2018-12-07 | 博西华电器(江苏)有限公司 | 智能冰箱、包含该智能冰箱的冰箱系统及其控制方法 |
| CN103604271B (zh) * | 2013-11-07 | 2016-04-13 | 四川长虹电器股份有限公司 | 一种基于智能冰箱的食品识别方法 |
-
2016
- 2016-06-29 CN CN201610507055.0A patent/CN106091568A/zh active Pending
-
2017
- 2017-05-18 WO PCT/CN2017/084970 patent/WO2018000980A1/zh not_active Ceased
Patent Citations (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101252571A (zh) * | 2008-04-03 | 2008-08-27 | 北京泰得思达科技发展有限公司 | 一种网络环境自动监测的方法 |
| US20130159669A1 (en) * | 2011-12-20 | 2013-06-20 | International Business Machines Corporation | Low latency variable transfer network for fine grained parallelism of virtual threads across multiple hardware threads |
| CN103196277A (zh) * | 2013-03-29 | 2013-07-10 | 惠州Tcl家电集团有限公司 | 冰箱食品管理方法和系统、服务器、冰箱 |
| CN103543703A (zh) * | 2013-07-17 | 2014-01-29 | 中国海洋石油总公司 | 食品保鲜度实时监测仪及其监测方法 |
| CN103604273A (zh) * | 2013-11-13 | 2014-02-26 | 四川长虹电器股份有限公司 | 智能冰箱食品管理的方法 |
| CN104239433A (zh) * | 2014-08-27 | 2014-12-24 | 百度在线网络技术(北京)有限公司 | 可联网冰箱及其信息推荐方法和系统 |
| CN105491147A (zh) * | 2015-12-21 | 2016-04-13 | 美的集团股份有限公司 | 冰箱食材保鲜的提醒方法、系统、冰箱和云服务器 |
| CN106091568A (zh) * | 2016-06-29 | 2016-11-09 | 合肥华凌股份有限公司 | 一种基于并行多线程的智能冰箱食品管理方法、系统及智能冰箱 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113960938A (zh) * | 2020-07-21 | 2022-01-21 | 北京瑞华赢科技发展股份有限公司 | 基于图像采集的安全监控系统、方法及智能控制箱 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN106091568A (zh) | 2016-11-09 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104482715B (zh) | 冰箱中食物的管理方法和冰箱 | |
| CN106679327B (zh) | 基于rfid扫描的智能冰箱及其容纳物管理方法 | |
| CN103604273B (zh) | 智能冰箱食品管理的方法 | |
| CN105091491B (zh) | 智能冰箱的食品管理方法及装置 | |
| CN108337358B (zh) | 应用清理方法、装置、存储介质及电子设备 | |
| US20190258822A1 (en) | Efficient application feedback collection | |
| WO2019119976A1 (zh) | 储物终端取件方法及装置和电子设备 | |
| US10135850B2 (en) | Data resource anomaly detection | |
| CN110717536A (zh) | 一种生成训练样本的方法及装置 | |
| CN105758108A (zh) | 用于智能冷藏设备的信息反馈方法和装置 | |
| CN107005679A (zh) | 一种基于云服务的智能目标识别装置、系统及方法 | |
| CN105809134A (zh) | 智能冷藏设备和监控智能冷藏设备的方法 | |
| WO2018000980A1 (zh) | 一种基于并行多线程的智能冰箱食品管理方法、系统及智能冰箱 | |
| CN107763955A (zh) | 一种冰箱及其控制方法 | |
| TW200842628A (en) | Self-describing data framework | |
| CN111503990A (zh) | 一种冰箱及食材识别方法 | |
| CN105677001A (zh) | 用于智能冷藏设备的信息处理方法和装置 | |
| CN107908366A (zh) | 一种智能数据存取方法、装置及设备 | |
| EP2990947A1 (en) | Method and apparatus for backing up data and electronic device | |
| US10944587B2 (en) | Event processing associated with a smart device | |
| WO2018045839A1 (zh) | 用于智能冰箱的购物触发方法、设备和计算机可读存储介质 | |
| CN114595372A (zh) | 场景推荐方法、装置、计算机设备和存储介质 | |
| CN117876925A (zh) | 一种机器人打扫方法、装置、电子设备及可读存储介质 | |
| CN111401461A (zh) | 酒品信息管理方法、装置、计算机设备以及存储介质 | |
| US12073619B1 (en) | Label recognition and notification for streaming video from non-overlapping cameras |
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: 17818977 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: 17818977 Country of ref document: EP Kind code of ref document: A1 |