Method for inputting food information of refrigerator, refrigerator, electronic device and storage medium

By using Bluetooth and WIFI modules in the refrigerator to automatically connect and upload NFC electronic tag information, it solves the problem that existing refrigerators cannot automatically enter ingredient information, and improves the convenience and user experience of the refrigerator.

CN115484284BActive Publication Date: 2024-10-25HISENSE(SHANDONG)REFRIGERATOR CO LTD
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202211032889.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-26
Publication Date
2024-10-25
Estimated Expiration
2042-08-26

AI Technical Summary

Technical Problem

When existing refrigerators use NFC electronic tags, they cannot automatically discover and enter ingredient information, requiring users to manually operate, which is cumbersome and error-prone, affecting the user experience.

Method used

By setting up the Bluetooth module and WIFI module in the refrigerator, starting the Bluetooth master device mode, searching for and connecting NFC electronic tags, reading the tag information and uploading it to the cloud, automatic entry and management are achieved, reducing user manual operations.

Benefits of technology

It realizes the automatic inventory of NFC electronic tags and the cloud management of ingredient information, which improves the convenience and use experience of the refrigerator and reduces the operating error rate.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115484284B_ABST
    Figure CN115484284B_ABST
Patent Text Reader

Abstract

The embodiment of the present application provides a method for entering food information of a refrigerator, a refrigerator, an electronic device and a storage medium. The method starts the Bluetooth master device mode to search for a first Bluetooth module. When the target first Bluetooth module is searched, a pairing connection request is sent to the target first Bluetooth module to establish a communication connection with a target NFC electronic tag corresponding to the target first Bluetooth module; then the tag information of the target NFC electronic tag is read, and the tag information is uploaded to the cloud through a WIFI module. When it is detected that the tag information reading is completed, the communication connection with the target NFC electronic tag is disconnected, and the step of searching the first Bluetooth module is returned until the tag information of all NFC electronic tags is read. The food information stored in the NFC electronic tags can be automatically entered, and automatic inventory of the NFC electronic tags can be realized. There is no need for users to manually enter the food information, which reduces tedious operations and increases the convenience of using the refrigerator.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of refrigerator control, and in particular to a method for inputting food information of a refrigerator, a refrigerator, an electronic device and a storage medium. Background Art

[0002] With the development of society and the improvement of people's living standards, people's requirements for refrigerators are becoming more and more intelligent in addition to traditional storage functions. More and more users and manufacturers pay attention to the function of refrigerators to manage food, record the name / type of food put into the refrigerator, and manage the corresponding shelf life, expiration reminder and other information of the food.

[0003] At present, in order to realize the function of food management, the refrigerators that have been put on the market provide users with auxiliary tags, define the name and information of the ingredients through the tags, and record the tags stored in the refrigerator, so as to record and manage the ingredients. For example, by providing RFID tags, users can clamp the RFID tags on the corresponding ingredients after the RFID tags are defined, put them in the refrigerator, count the ingredients scanned with the RFID tags in the box, and display them on the refrigerator display screen to manage the ingredients. However, when users use NFC electronic tags to mark food information, the sensing distance of NFC electronic tags is only 1 to 3CM, which is very short. Therefore, when NFC electronic tags are placed in the refrigerator, the refrigerator cannot automatically discover the tags and automatically enter the food information like RFID tags. Instead, users need to manually enter or delete the food information marked by NFC electronic tags through smart phones or refrigerator screens. The process is cumbersome, time-consuming, and prone to errors, which affects the user's refrigerator experience. Summary of the invention

[0004] The main purpose of the embodiment of the present application is to propose a method for inputting food information of a refrigerator, a refrigerator, an electronic device and a storage medium, which is intended to automatically input food information marked by an NFC electronic tag into the refrigerator and upload it to the cloud for food management, without requiring manual operation by the user, reducing tedious operations and increasing the convenience of using the refrigerator.

[0005] To achieve the above-mentioned purpose, a first aspect of an embodiment of the present application proposes a method for inputting food information of a refrigerator, the method comprising:

[0006] Starting a Bluetooth master device mode to search for a first Bluetooth module, where the first Bluetooth module is set on an NFC electronic tag, and the NFC electronic tag is used to store food information of the refrigerator;

[0007] When the target first Bluetooth module is searched, a pairing connection request is sent to the target first Bluetooth module to establish a communication connection with the target NFC electronic tag corresponding to the target first Bluetooth module;

[0008] Read the tag information of the target NFC electronic tag, and upload the tag information to the cloud through the WIFI module, wherein the tag information includes the number of the target NFC electronic tag and the corresponding food information;

[0009] When it is detected that the tag information reading is completed, the communication connection with the target NFC electronic tag is disconnected, and the step of searching the first Bluetooth module is returned until the tag information reading of all NFC electronic tags is completed.

[0010] In some embodiments, after reading the tag information of the target NFC electronic tag, the method further includes:

[0011] When it is detected that the tag information of the target NFC electronic tag is read a second time, the tag information read a second time is extracted and uploaded to the cloud through the WIFI module;

[0012] The tag information read for the second time replaces the tag information read for the last time, so as to update the tag information of the target NFC electronic tag.

[0013] In some embodiments, before starting the Bluetooth master mode, the method further includes:

[0014] Energy is transmitted to the first antenna through the energy transmission module, so that the first antenna provides power to the first Bluetooth module after obtaining energy, so that the first Bluetooth module starts the Bluetooth slave device mode after obtaining power to be searched; wherein, the first antenna is arranged on the NFC electronic tag, and the first antenna is used to provide power to the first Bluetooth module after obtaining energy.

[0015] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application proposes a method for inputting food information of a refrigerator, the method comprising:

[0016] Collecting food information through the NFC antenna and sending the collected food information to the NFC chip;

[0017] Receive and store the food information through the NFC chip;

[0018] Powering the first Bluetooth module via the power module;

[0019] After power is supplied, the first Bluetooth module is activated in Bluetooth slave mode to establish a communication connection with a second Bluetooth module of an NFC reader / writer, wherein the NFC reader / writer is used to read the food information;

[0020] After the communication connection is established, the food information is sent to the NFC reading and writing device through the first Bluetooth module.

[0021] In some embodiments, after receiving and storing the food information through the NFC chip, the method further includes:

[0022] The energy transmitted by the energy transmitting module of the NFC reading and writing device is received through the first antenna to power the first Bluetooth module.

[0023] In some embodiments, after receiving and storing the food information through the NFC chip, the method further includes:

[0024] The food information is displayed through a display screen module.

[0025] In some embodiments, the method further includes performing the following operations by the MCU control module:

[0026] Controlling the NFC antenna to collect food information and sending the collected food information to the NFC chip;

[0027] Controlling the NFC chip to receive the food information and write the food information;

[0028] Controlling the first Bluetooth module to start the Bluetooth slave mode after acquiring power, so as to establish a communication connection with the second Bluetooth module of the NFC reader / writer;

[0029] Controlling the first antenna to receive energy transmitted by the energy transmitting module of the NFC reading and writing device to provide power to the first Bluetooth module;

[0030] Control the display screen module to display the food information.

[0031] To achieve the above-mentioned purpose, a second aspect of an embodiment of the present application provides a refrigerator, comprising:

[0032] Refrigerator body;

[0033] An NFC reader / writer, located in the refrigerator body, for executing the method described in the first aspect;

[0034] A plurality of NFC electronic tags are located on the refrigerator body and are used to execute the method described in the second aspect.

[0035] The present application proposes a method for entering food information of a refrigerator, a refrigerator, an electronic device and a storage medium. The method starts the Bluetooth master device mode to search for a first Bluetooth module, wherein the first Bluetooth module is set on an NFC electronic tag, and the NFC electronic tag is used to store the food information of the refrigerator; when the target first Bluetooth module is searched, a pairing connection request is sent to the target first Bluetooth module to establish a communication connection with the target NFC electronic tag corresponding to the target first Bluetooth module; then the tag information of the target NFC electronic tag is read, and the tag information is uploaded to the cloud through the WIFI module; when it is detected that the tag information reading is completed, the communication connection with the target NFC electronic tag is disconnected, and the step of searching the first Bluetooth module is returned until the tag information of all NFC electronic tags is read. The food information stored in the NFC electronic tag can be automatically entered, and the automatic inventory of the NFC electronic tag can be realized. The food information can be uploaded to the cloud through the WIFI module for food management, and the user does not need to manually enter the food information, thereby reducing cumbersome operations and increasing the convenience of using the refrigerator. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 is a structural schematic diagram of a refrigerator provided in an embodiment of the present application;

[0037] Figure 2 This is a structural diagram of an NFC electronic tag provided in an embodiment of the present application;

[0038] Figure 3 A structural diagram of an NFC reading and writing device provided in an embodiment of the present application;

[0039] Figure 4 is another structural diagram of an NFC electronic tag provided in an embodiment of the present application;

[0040] Figure 5 is another structural diagram of the NFC reader / writer provided in an embodiment of the present application;

[0041] Figure 6 A schematic diagram of the interaction between the NFC electronic tag, the NFC reader / writer, and the cloud provided in the embodiment of the present application;

[0042] Figure 7 It is a flowchart of the steps of a method for entering food information of a refrigerator provided in an embodiment of the present application;

[0043] Figure 8 is another step flow chart of a method for inputting food information of a refrigerator provided in an embodiment of the present application;

[0044] Fig. 9 It is a schematic diagram of the hardware structure of the electronic device provided in the embodiment of the present application. DETAILED DESCRIPTION

[0045] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0046] It should be noted that, although the functional modules are divided in the device schematic diagram and the logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than the module division in the device or the order in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0047] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0048] At present, some refrigerator manufacturers use NFC tags as NFC electronic tags, and pre-define the corresponding food types for each tag. However, when adding the food corresponding to the tag to the food management on the refrigerator screen, users need to manually enter it through the refrigerator screen or through a smartphone, which is a cumbersome and error-prone process. At the same time, the NFC tags currently on the market cannot be customized and can only correspond to several types of food that are preset when the tag leaves the factory. When the food corresponding to the NFC tag is used up, the NFC tag can no longer be used to mark other food.

[0049] Based on this, the NFC electronic tag of the embodiment of the present application includes an NFC antenna, an NFC chip and a first Bluetooth module, wherein the NFC antenna can be used to collect food information edited by other NFC reading and writing devices such as smart phones, and the NFC chip can be used to write the food information collected by the NFC antenna. By setting the NFC antenna and the NFC chip, the NFC electronic tag has the function of customizing food ingredients, that is, when the food ingredients marked by the NFC electronic tag are eaten, the new food information can be edited by other NFC reading and writing devices such as smart phones and sent to the NFC antenna, so that the NFC electronic tag can mark another new food ingredient, which increases the utilization rate of the NFC electronic tag and reduces waste.

[0050] Exemplarily, the user edits the food information of "beef, production date is August 16, 2022, expiration date is August 20, 2022" through a smart phone, and sends it to the NFC antenna of NFC electronic tag A, so that the NFC antenna collects the food information. At the same time, the NFC chip of NFC electronic tag A will write and save the food information. When the beef is eaten, the user can delete the food information corresponding to NFC electronic tag A through the smart phone, and edit new food information that needs to be marked. For example, if a new chicken is bought, the corresponding information of the chicken can be edited, such as "chicken, production date is August 17, 2022, expiration date is August 21, 2022", and then sent to the NFC antenna of NFC electronic tag A, so that NFC electronic tag A can mark the food information corresponding to the chicken.

[0051] At the same time, the embodiment of the present application sets a second Bluetooth module and a WiFi module in the NFC reader / writer on the refrigerator end, so that a communication connection can be established with the first Bluetooth module of the NFC electronic tag through the second Bluetooth module, so that the NFC reader / writer on the refrigerator end can automatically enter the food information marked by the NFC electronic tag, and at the same time, the food information corresponding to the NFC electronic tag can be uploaded to the cloud through the WIFI module for food management.

[0052] Exemplarily, the user edits the information of the ingredient pork through a smartphone, such as "pork, production date is August 13, 2022, expiration date is August 18, 2022", and then sends the ingredient information to the NFC antenna of NFC electronic tag A, so that the NFC chip of NFC electronic tag A writes and saves the ingredient information. Similarly, the user can edit the information of the ingredient duck meat through a smartphone, such as "duck meat, production date is August 16, 2022, expiration date is August 19, 2022", and then sends the ingredient information to the NFC antenna of NFC electronic tag B, so that the NFC chip of NFC electronic tag B writes and saves the ingredient information. At this time, NFC electronic tag A marks the ingredient information of pork, and NFC electronic tag B marks the ingredient information of duck meat. Since both NFC electronic tag A and NFC electronic tag B are provided with a first Bluetooth module, and the first Bluetooth module is in Bluetooth slave mode, and the NFC reader-writer at the refrigerator end is provided with a second Bluetooth module and a WIFI module, therefore, the second Bluetooth module at the refrigerator end can first start the Bluetooth master mode to automatically search for the first Bluetooth module, and when the first Bluetooth module is searched, it can automatically establish a communication connection with the first Bluetooth module, so that the food information saved by the NFC electronic tag can be automatically entered, and uploaded to the cloud through the WIFI module for food management. Exemplarily, when the second Bluetooth module at the refrigerator end searches for the first Bluetooth module of the NFC electronic tag A, the second Bluetooth module will automatically connect to the first Bluetooth module of the NFC electronic tag A, thereby establishing a communication connection between the NFC reader-writer at the refrigerator end and the NFC electronic tag A. After the connection is established, the NFC reader-writer can automatically enter the food information marked by the NFC electronic tag A, and then upload the food information marked by the NFC electronic tag A to the cloud through the WIFI module. After uploading, the second Bluetooth module at the refrigerator end disconnects from the NFC electronic tag A and searches for the first Bluetooth module of the next NFC electronic tag. For example, if the first Bluetooth module of NFC electronic tag B is searched, the second Bluetooth module on the refrigerator side will automatically connect to the first Bluetooth module of NFC electronic tag B, thereby establishing a communication connection between the NFC reader-writer on the refrigerator side and NFC electronic tag B. After the connection is established, the NFC reader-writer can automatically enter the food information marked by NFC electronic tag B, and then upload the food information marked by NFC electronic tag B to the cloud through the WIFI module. In this way, the second Bluetooth module on the refrigerator side will automatically connect to the first Bluetooth modules of several NFC electronic tags in turn, thereby automatically entering the food information marked by several NFC electronic tags, completing the automatic inventory of NFC electronic tags, and uploading the food information to the cloud through the WIFI module for food management.

[0053] The specific implementation of the embodiment of the present application is described in detail below in conjunction with the accompanying drawings.

[0054] Reference Figure 1 , Figure 1 A schematic diagram of the structure of a refrigerator provided in an embodiment of the present application is shown. The embodiment of the present application provides a refrigerator, comprising:

[0055] Refrigerator body 11,

[0056] A plurality of NFC electronic tags 12 are located on the refrigerator body 11, wherein the NFC electronic tags include an NFC antenna, an NFC chip and a first Bluetooth module, the NFC antenna is used to collect food information, and the NFC chip is used to write food information;

[0057] The NFC reading and writing device 13 is located on the refrigerator body 11, wherein the NFC reading and writing device includes a second Bluetooth module and a WiFi module.

[0058] Among them, after the NFC antenna collects the food information, it will send the collected food information to the NFC chip, so that the NFC chip stores the corresponding food information.

[0059] The NFC reader / writer 13 is used to perform the following operations:

[0060] Starting a Bluetooth master device mode to search for the first Bluetooth module;

[0061] When the target first Bluetooth module is searched, a pairing connection request is sent to the target first Bluetooth module to establish a communication connection with the target NFC electronic tag corresponding to the target first Bluetooth module;

[0062] Read the tag information of the target NFC electronic tag and upload the tag information to the cloud through the WIFI module. The tag information includes the target NFC electronic tag number and the corresponding food information;

[0063] When it is detected that the tag information reading is completed, the current communication connection with the target NFC electronic tag is disconnected, and the process returns to the step of starting the Bluetooth master device mode to search for the first Bluetooth module until the tag information reading of all NFC electronic tags is completed.

[0064] In the embodiment of the present application, the second Bluetooth module is used to start the Bluetooth master module to search for the first Bluetooth modules of several NFC electronic tags. Specifically, when the target first Bluetooth module of one of the target NFC electronic tags is searched, since the target first Bluetooth module is in the Bluetooth slave mode, it can be automatically connected to the target first Bluetooth module, so that the NFC reader can automatically enter the tag number and corresponding food information of the target NFC electronic tag, and upload the entered tag number and corresponding food information to the cloud through the WIFI module at the same time. After the tag number and corresponding food information of the target NFC electronic tag are entered, the second Bluetooth module will disconnect the current connection with the target NFC electronic tag, and search for the first Bluetooth module of the next NFC electronic tag. After searching for the first Bluetooth device of the next NFC electronic tag, it automatically establishes a communication connection with the next NFC electronic tag, and then automatically enters the tag number and corresponding food information of the next NFC electronic tag, and uploads the tag number and corresponding food information of the next NFC electronic tag to the cloud through the WIFI module, until the tag numbers and corresponding food information of all NFC electronic tags are read. In this way, the label information of NFC electronic tags can be automatically entered and the automatic inventory of NFC electronic tags can be realized, so that users do not need to manually enter or delete label numbers and corresponding food information, thereby reducing the error rate. At the same time, the intelligence of the refrigerator is improved, and the user's refrigerator experience is improved.

[0065] At the same time, if the NFC reader / writer on the refrigerator reads the same tag number through the second Bluetooth module, but the corresponding food information is different, it is considered that the content of the NFC electronic tag has been modified. At this time, the tag information read last time is updated with the tag information read most recently to update the tag information corresponding to the NFC electronic tag.

[0066] Exemplarily, if the tag information of the NFC electronic tag A read for the first time is "number A and corresponding pork information", and the tag information of the NFC electronic tag A read for the second time is "number A and corresponding duck information", at this time, the tag information of the NFC electronic tag A read for the second time shall prevail, that is, the content of the NFC electronic tag A read for the first time shall be replaced with the content of the NFC electronic tag A read for the second time, and the tag information corresponding to the NFC electronic tag A read for the second time shall be uploaded to the cloud to update the tag information of the NFC electronic tag A. It can be understood that the most recent read, the last read, the second read and the first read can all be judged by the reading time or the upload time. For example, the reading time of the tag information of the NFC electronic tag A is 13:23 on August 20, 2022 and 9:45 on August 22, 2022. At this time, it can be determined that 9:45 on August 22, 2022 is the most recent read or the second read, and 13:23 on August 20, 2022 is the last read or the first read.

[0067] Reference Figure 2 , Figure 2 A structural diagram of an NFC electronic tag provided in an embodiment of the present application, such as Figure 2 As shown, the NFC electronic tag 12 includes an NFC antenna 121, an NFC chip 122, a first Bluetooth module 123, an MCU control module 124, a display module 125, and a power module 126. The NFC chip 122, the first Bluetooth module 123, the MCU control module 124, and the display module 125 are all connected to the power module 126, and the NFC antenna 121, the NFC chip 122, the first Bluetooth module 123, and the display module 125 are all connected to the MCU control module 124.

[0068] Reference Figure 3 , Figure 3 A structural diagram of an NFC reader / writer provided in an embodiment of the present application, such as Figure 3 As shown, the NFC reading and writing device 13 includes a second Bluetooth module 131 and a WIFI module 132, wherein the second Bluetooth module 131 can be used to establish a communication connection with the NFC electronic tag, and the WIFI module 132 can be used to upload the read tag information to the cloud.

[0069] In the embodiment of the present application, the power module 126 is used to provide power to the NFC chip 122, the first Bluetooth module 123, the MCU control module 124 and the display module 125. After the NFC antenna 121 collects the food information of the edited NFC electronic tag, the NFC chip 122 can store the food information; at this time, since the power module 126 can continuously supply power to the first Bluetooth module 123, the first Bluetooth module 123 can maintain the Bluetooth slave mode for a period of time, so that it can be searched by the second Bluetooth module 131 of the NFC reader / writer 13, and then establish a communication connection with the NFC reader / writer 13, so that the NFC reader / writer 13 can read the tag information of the NFC electronic tag 12.

[0070] In the embodiment of the present application, the MCU control module 124 is connected to the NFC antenna 121, the NFC chip 122, the first Bluetooth module 123 and the display module 125, and can be used to perform the following operations:

[0071] Control the NFC antenna 121 to collect food information and send the collected food information to the NFC chip 122 module;

[0072] Control the NFC chip 122 to receive food information and write the food information;

[0073] Control the first Bluetooth module 123 to start the Bluetooth slave mode to establish a communication connection with the second Bluetooth module 131;

[0074] The display screen module 125 is controlled to display food information.

[0075] For example, when the user edits the food information of "chicken, production date is August 13, 2022, expiration date is August 18, 2022" through a smart phone and sends it to NFC electronic tag A, the MCU control module will send a control signal to the NFC antenna so that the NFC antenna can collect the food information and send the food information to the NFC chip. Similarly, the NFC chip will also receive a control signal sent by the MCU control module, thereby receiving and storing the food information. At the same time, after the first Bluetooth module obtains power, it receives a control signal sent by the MCU control module, thereby maintaining the Bluetooth slave device mode for a period of time so that it can be searched by the second Bluetooth module. Similarly, the display screen module will also receive a control signal sent by the MCU control module to display the food information stored in the NFC chip.

[0076] In the embodiment of the present application, when the power of the first Bluetooth module 123 can be directly provided by the power module 126, the NFC reading and writing device 13 does not need to be additionally provided with an energy sending module, and the NFC electronic tag 12 does not need to be additionally provided with a first antenna to receive the high-frequency energy emitted by the energy transmitting module to provide power to the first Bluetooth module 123, so that the first Bluetooth module 123 can be in Bluetooth slave device mode and be searched by the second Bluetooth module 131.

[0077] Reference Figure 4 , Figure 4 Another structural diagram of the NFC electronic tag provided in the embodiment of the present application. Figure 4 In addition to the NFC antenna 121 , the NFC chip 122 , the first Bluetooth module 123 , the MCU control module 124 , the display module 125 and the power module 126 , the NFC electronic tag 12 may also include a first antenna 127 .

[0078] Reference Figure 5 , in conjunction with Figure 4 The structure of the NFC electronic tag shown in the figure, the NFC reading and writing device 13 includes, in addition to the second Bluetooth module 131 and the WIFI module 132, an energy transmission module 133, wherein the energy transmission module 133 is used to transmit high-frequency energy, and the first antenna 127 is used to receive the high-frequency energy transmitted by the energy transmission module 133, thereby providing power to the first Bluetooth module 123, so that the first Bluetooth module 1123 maintains the Bluetooth slave device mode for a period of time after obtaining the power, so as to be searched by the second Bluetooth module 131.

[0079] In the embodiment of the present application, after the refrigerator is closed, the energy transmitting module can automatically transmit high-frequency energy, and the first antenna can receive the high-frequency energy transmitted by the energy transmitting module, thereby providing power to the first Bluetooth module, so that the first Bluetooth module can start the Bluetooth slave mode to be searched by the second Bluetooth device. However, when the second Bluetooth device searches for the first Bluetooth module, it will send a pairing connection request to the first Bluetooth module, thereby automatically establishing a communication connection with the first Bluetooth module. After the connection is established, the NFC reader / writer will read the tag number and corresponding food information of the NFC electronic tag, and upload it to the cloud through the WIFI module. After the reading is completed, the second Bluetooth module will automatically disconnect the connection with the current NFC electronic tag, and search for the first Bluetooth module of the next NFC electronic tag. After searching, it will automatically establish communication with the next NFC electronic tag, so as to enter the tag number and corresponding food information of the next NFC electronic tag and upload it to the cloud, until the tag information of all NFC electronic tags is read, thereby realizing the inventory of NFC electronic tags, and the corresponding food management can be performed by uploading to the cloud.

[0080] It is understandable that when the NFC reading and writing device is not provided with an energy transmitting module, the NFC electronic tag needs to provide power to the first Bluetooth module through the power module so that the first Bluetooth module can start the Bluetooth slave mode so as to be searched by the second Bluetooth module, and then successfully establish a connection with the second Bluetooth module. When the NFC reading and writing device is provided with an energy transmitting module, the NFC electronic tag can provide power to the first Bluetooth module through the power module or through the first antenna. In other words, when the NFC reading and writing device is provided with an energy transmitting module, the NFC electronic tag can be provided with both the power module and the first antenna, or only the first antenna. When only the first antenna is provided, in addition to the first Bluetooth module, the power of the NFC chip, the MCU control module and the display module can also be obtained by the first antenna.

[0081] It is understandable that the NFC electronic tag can determine whether a display screen module is needed according to actual needs. When a display screen module is provided, the display screen module can display the food information corresponding to the NFC electronic tag, so that the user can intuitively view the food information corresponding to the NFC electronic tag, which is convenient for information verification and management of refrigerator food.

[0082] Exemplarily, when the NFC electronic tag is provided with a display screen module, the display screen module may be an ink screen, thereby ensuring that the corresponding tag information can be normally displayed even when there is no power supply.

[0083] Reference Figure 6 , Figure 6 The following is a schematic diagram of the interaction between the NFC electronic tag, the NFC reader / writer, and the cloud provided in the embodiment of the present application. Figure 6 As shown, the NFC chip of the NFC electronic tag 12 has stored the corresponding food information. At this time, through the connection between the second Bluetooth module of the NFC reader / writer 13 and the first Bluetooth module of the NFC electronic tag 12, direct information interaction between the NFC electronic tag 12 and the NFC reader / writer 13 can be achieved, so that the NFC reader / writer 13 can read the tag number and the corresponding food information of the NFC electronic tag 12, and then upload the read tag number and the corresponding food information to the cloud 10 to realize the refrigerator food management.

[0084] In the embodiment of the present application, the food information can be customized through the NFC electronic tag, and the communication between the NFC electronic tag and the NFC reader / writer is established through the first Bluetooth module and the second Bluetooth module, so that the customized food information can be sent to the NFC reader / writer, and then uploaded to the cloud through the WIFI module for food management. After the food information of the NFC electronic tag is read, the second Bluetooth module will automatically disconnect the currently connected first Bluetooth module, and then continue to search for the first Bluetooth module of the next NFC electronic tag to establish a communication connection with the next NFC electronic tag to read the food information of the next NFC electronic tag, and in this way, until all the food information corresponding to all NFC electronic tags is read.

[0085] It can be understood that the connection process between the second Bluetooth module and the first Bluetooth module is as follows: the second Bluetooth module is in Bluetooth master mode, and can search for surrounding Bluetooth devices and select the Bluetooth slave device to be connected for connection. It can send and receive data, and can also set the MAC address of the Bluetooth slave end connected by default, so that the second Bluetooth module can find the Bluetooth slave end device and connect immediately after power-on. The first Bluetooth module is in Bluetooth slave mode and cannot actively search for surrounding devices. After the Bluetooth slave device is connected to the Bluetooth host device, it can send and receive data with the Bluetooth host device.

[0086] Reference Figure 7 , Figure 7 A flowchart of the steps of the method for entering food information of a refrigerator provided in an embodiment of the present application. The embodiment of the present application provides a method for entering food information of a refrigerator, wherein the refrigerator comprises a refrigerator body, an NFC reader / writer and a plurality of NFC electronic tags, the NFC reader / writer comprises a second Bluetooth module and a WiFi module, and the NFC electronic tag comprises an NFC antenna, an NFC chip and a first Bluetooth module. Figure 1-Figure 5 The structure shown in the figure, the method is executed by the NFC reading and writing device, including but not limited to steps S701 to S704:

[0087] Step S701, starting the Bluetooth master device mode to search for a target first Bluetooth module.

[0088] In this step, since there are multiple NFC electronic tags, there are also multiple corresponding first Bluetooth modules, and each first Bluetooth module is in Bluetooth slave mode so that it can be searched by the second Bluetooth module. There is only one NFC reader / writer, so there is only one second Bluetooth module, and the second Bluetooth module is set to Bluetooth master mode, so that the second Bluetooth module can be searched. During the search process, the NFC electronic tag to be connected can be specified, that is, one of the NFC electronic tags can be specified as the target NFC electronic tag, and then during the search process, the specified target first Bluetooth module is searched. It is also possible to search randomly to determine the target first Bluetooth module in the order of the search results.

[0089] For example, if you specify to read the tag information of NFC electronic tag A, you need to know the name or MAC address of the first Bluetooth module of NFC electronic tag A, and then start the Bluetooth master mode of the second Bluetooth device to search, so as to directly search for the first Bluetooth module corresponding to NFC electronic tag A. At the same time, you can also not specify the NFC electronic tag A to be read. For example, if there are 6 NFC electronic tags in total, you only need to read the tag information corresponding to these 6 NFC electronic tags in turn, and there is no requirement for the reading order. At this time, you only need to start the Bluetooth master mode of the second Bluetooth module and perform a random search.

[0090] Step S702: When the target first Bluetooth module is searched, a pairing connection request is sent to the target first Bluetooth module to establish a communication connection with the target NFC electronic tag corresponding to the target first Bluetooth module.

[0091] In this step, if one of the multiple NFC electronic tags is designated in advance as the target NFC electronic tag, the corresponding first Bluetooth module is the target first Bluetooth module. At this time, the target first Bluetooth module can be selected in the search result list, and a pairing connection request can be sent to the target first Bluetooth module to establish a communication connection with the corresponding target NFC electronic tag.

[0092] For example, if NFC electronic tag A is specified as the target NFC electronic tag in advance, the first Bluetooth module A corresponding to the NFC electronic tag A is the target first Bluetooth module. At this time, it is necessary to find the first Bluetooth module A in the search result list, and then send a pairing connection request to the first Bluetooth module A to automatically establish a communication connection with the first Bluetooth module A.

[0093] It is understandable that if the target NFC electronic tag is not specified, it is only necessary to randomly select one of the first Bluetooth modules in the search result list for connection. For example, the first Bluetooth module A, the first Bluetooth module B, the first Bluetooth module C, the first Bluetooth module D, the first Bluetooth module E and the first Bluetooth module F appear in the search result list. At this time, any one of them is randomly selected, such as the first Bluetooth module B is selected as the target first Bluetooth module, and then a communication connection is established with the first Bluetooth module B.

[0094] Step S703, read the tag information of the target NFC electronic tag, and upload the tag information to the cloud through the WIFI module, the tag information includes the number of the target NFC electronic tag and the corresponding food information.

[0095] In this step, after establishing a communication connection with the target NFC electronic tag, the tag information corresponding to the target NFC electronic tag can be read, wherein the tag information includes the NFC electronic tag number and the corresponding food information. For example, the tag information of NFC electronic tag A includes tag number A and the food information of chicken. After reading, the tag information can be uploaded to the cloud through the WIFI module for food management.

[0096] Exemplarily, when the second Bluetooth module is connected to the first Bluetooth module A corresponding to the NFC electronic tag A, data interaction can be performed between the NFC electronic tag A and the NFC reader / writer, so that the NFC reader / writer can read the tag information of the NFC electronic tag A and upload the tag information of the NFC electronic tag A to the cloud through the WIFI module.

[0097] Step S704, when it is detected that the tag information reading is completed, the communication connection with the target NFC electronic tag is disconnected, and the step of searching the first Bluetooth module is returned until the tag information reading of all NFC electronic tags is completed.

[0098] In this step, when it is detected that the tag information of the target NFC electronic tag is read, the current communication connection with the target NFC electronic tag can be disconnected, and then the next target NFC electronic tag to be connected is searched until the tag information of all NFC electronic tags is read.

[0099] Exemplarily, when it is detected that the tag information A of NFC electronic tag A has been read, the connection with NFC electronic tag A is disconnected, and then the first Bluetooth module of the next NFC electronic tag is searched. For example, if the first Bluetooth module B is searched, a pairing connection request is sent to the first Bluetooth module B, and then the first Bluetooth module B is automatically connected. At this time, the NFC reader / writer and the NFC electronic tag B can exchange data, and the NFC reader / writer can read the tag information B of the NFC electronic tag B. After reading the tag information B, the connection with the NFC electronic tag B is disconnected, and the next NFC electronic tag is searched until the tag information of all NFC electronic tags is read and uploaded to the cloud.

[0100] The embodiment of the present application can realize data interaction between the NFC reader and the NFC electronic tag by pairing the second Bluetooth module with the first Bluetooth module, so that the NFC reader can read the tag information of the NFC electronic tag and upload it to the cloud through the WIFI module for food management. After the reading is completed, the second Bluetooth module can automatically disconnect from the current NFC electronic tag, and then search and connect to the next NFC electronic tag to read the tag information of the next NFC electronic tag until all the NFC electronic tags are read and uploaded to the cloud. In this way, the tag number and corresponding food information of the NFC electronic tag can be automatically entered to realize the inventory of the NFC electronic tag, improve the intelligence of the refrigerator, and improve the user's refrigerator experience.

[0101] In some embodiments, reference Figure 8 , the method further includes steps S801 to S802:

[0102] Step S801, when the tag information of the detected target NFC electronic tag is read for the second time, the tag information read for the second time is extracted and uploaded to the cloud through the WIFI module.

[0103] In this step, if the tag information of the target food tag is read a second time, the tag information read a second time is directly extracted as the final tag information of the target NFC electronic tag, and uploaded to the cloud through the WIFI module.

[0104] Exemplarily, if the tag information of NFC electronic tag A is read twice, that is, the tag information of NFC electronic tag A has been read successfully and uploaded to the cloud, and the tag information of NFC electronic tag A is read again, at this time, the tag information of NFC electronic tag A read again is directly extracted and uploaded to the cloud. For example, the tag information of NFC electronic tag A that has been read is tag number A and chicken ingredient information, and then the tag information of NFC electronic tag A that is read again is tag number A and beef ingredient information. At this time, the tag number is the same, but the ingredient information is different, indicating that the ingredient information defined by NFC electronic tag A has changed, and the tag information of the NFC electronic tag that is read again needs to be extracted to update the tag information of the NFC electronic tag.

[0105] Step S802: Replace the tag information read last time with the tag information read for the second time, so as to update the tag information of the target NFC electronic tag.

[0106] In this step, after extracting the tag information read for the second time, the tag information read for the second time is replaced with the tag information corresponding to the tag information read last time. For example, the tag information of NFC electronic tag A read for the second time is tag information B, and the tag information of NFC electronic tag A read last time is tag information A. At this time, tag information B replaces tag information A to update the tag information of NFC electronic tag A.

[0107] It can be understood that even when the tag information of the NFC electronic tag read for the second time is the same as the tag information corresponding to the last read, the result of the second read can also replace the result of the last read, that is, the tag information read for the second time can directly replace the tag information read for the last time, without judging whether the results of the two reads are the same, and the judgment process can be omitted to directly update the tag information.

[0108] It should be noted that after reading the tag information of the NFC electronic tag for the second time, it can also be determined whether the tag information of the NFC electronic tag read for the second time is the same as the tag information read last time, and then decide whether the tag information of the NFC electronic tag needs to be updated based on the judgment result. For example, the tag information of the NFC electronic tag A read for the second time is tag information A, and the tag information of the NFC electronic tag A read last time is tag information B. The tag numbers of the two are the same, but the food information is different. At this time, the tag information A read for the second time needs to replace the tag information B read last time. If the tag information of the NFC electronic tag A read for the second time is tag information A, and the tag information of the NFC electronic tag A read last time is also tag information A, the tag numbers are the same and the food information is the same, at this time, the tag information A read for the second time does not need to replace the tag information A read last time, and the tag information A read last time only needs to be retained.

[0109] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0110] It can be understood by those skilled in the art that Figure 7 and Figure 8 The technical solutions shown in the figure do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than those shown in the figure, or a combination of certain steps, or different steps.

[0111] The embodiment of the present application also provides an electronic device, the electronic device includes a memory and a processor, the memory stores a computer program, and the processor implements the above XXX method when executing the computer program. The electronic device can be any intelligent terminal including a tablet computer, a car computer, etc.

[0112] See also Fig. 9 , Fig. 9 The hardware structure of an electronic device of another embodiment is illustrated, and the electronic device includes:

[0113] The processor 901 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of the present application;

[0114] The memory 902 can be implemented in the form of a read-only memory (ROM), a static storage device, a dynamic storage device, or a random access memory (RAM). The memory 902 can store an operating system and other applications. When the technical solution provided in the embodiment of this specification is implemented by software or firmware, the relevant program code is stored in the memory 902, and the processor 901 calls and executes the method for entering food information of the refrigerator in the embodiment of this application;

[0115] Input / output interface 903, used to implement information input and output;

[0116] Communication interface 904, used to realize communication interaction between the device and other devices, which can be realized by wired mode (such as USB, network cable, etc.) or wireless mode (such as mobile network, WIFI, Bluetooth, etc.);

[0117] A bus 905 that transmits information between the various components of the device (e.g., the processor 901, the memory 902, the input / output interface 903, and the communication interface 904);

[0118] The processor 901 , the memory 902 , the input / output interface 903 and the communication interface 904 are connected to each other in communication within the device via a bus 905 .

[0119] An embodiment of the present application also provides a storage medium, which is a computer-readable storage medium. The storage medium stores a computer program, and when the computer program is executed by a processor, the method for entering food information of the refrigerator is implemented.

[0120] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely disposed relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0121] The embodiments described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of technology and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0122] Those skilled in the art will appreciate that the technical solutions shown in the figures do not constitute a limitation on the embodiments of the present application, and may include more or fewer steps than shown in the figures, or a combination of certain steps, or different steps.

[0123] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0124] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.

[0125] The terms "first", "second", "third", "fourth", etc. (if any) in the specification of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0126] It should be understood that in the present application, "at least one (item)" means one or more, and "plurality" means two or more. "And / or" is used to describe the association relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can mean: a, b, c, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0127] In the several embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the above units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0128] The units described above as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0129] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

[0130] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including multiple instructions to enable a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM), disk or optical disk and other media that can store programs.

[0131] The preferred embodiments of the present invention are described above with reference to the accompanying drawings, but the scope of the rights of the present invention is not limited thereto. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present invention should be within the scope of the rights of the present invention.

Claims

1. A method for inputting food information of a refrigerator, characterized in that: The method is performed by an NFC reader / writer, wherein the NFC reader / writer includes a second Bluetooth module and a WiFi module. The method includes: The second Bluetooth module starts the Bluetooth master device mode to search for the first Bluetooth module, wherein the first Bluetooth module is set on an NFC electronic tag, and the NFC electronic tag is used to store food information of the refrigerator; When the target first Bluetooth module is searched, a pairing connection request is sent to the target first Bluetooth module to establish a communication connection between the second Bluetooth module and the target NFC electronic tag corresponding to the target first Bluetooth module; Read the tag information of the target NFC electronic tag, and upload the tag information to the cloud through the WiFi module, wherein the tag information includes the number of the target NFC electronic tag and the corresponding food information; When it is detected that the tag information reading is completed, disconnect the communication connection with the target NFC electronic tag, and return to the step of searching the first Bluetooth module until the tag information reading of all NFC electronic tags is completed; After reading the tag information of the target NFC electronic tag, the method further includes: When it is detected that the tag information of the target NFC electronic tag is read a second time, the tag information read a second time is extracted and uploaded to the cloud through the WIFI module; The tag information read for the second time replaces the tag information read for the last time, so as to update the tag information of the target NFC electronic tag.

2. The method according to claim 1, characterized in that The NFC reading and writing device further includes an energy transmitting module. Before starting the Bluetooth master device mode, the method further includes: Energy is transmitted to the first antenna through the energy transmission module, so that the first antenna provides power to the first Bluetooth module after obtaining energy, so that the first Bluetooth module starts the Bluetooth slave device mode after obtaining power to be searched; wherein, the first antenna is arranged on the NFC electronic tag, and the first antenna is used to provide power to the first Bluetooth module after obtaining energy.

3. A method for inputting food information of a refrigerator, characterized in that: The method is performed by an NFC electronic tag, wherein the NFC electronic tag includes an NFC antenna, an NFC chip, a power module, a first Bluetooth module and a first antenna. The method includes: Collecting food information through the NFC antenna and sending the collected food information to the NFC chip; Receiving and storing the food information through the NFC chip; Supplying power to the first Bluetooth module through the power module; After power is supplied, the first Bluetooth module is activated in Bluetooth slave mode to establish a communication connection with the second Bluetooth module of the NFC reader / writer; After the communication connection is established, the food information is sent to the NFC reader / writer through the first Bluetooth module, so that the NFC reader / writer reads the food information and uploads the food information to the cloud through the WIFI module; Wherein, after receiving and storing the food information through the NFC chip, the method further includes: The energy transmitted by the energy transmitting module of the NFC reading and writing device is received through the first antenna to power the first Bluetooth module.

4. The method according to claim 3, characterized in that The NFC electronic tag also includes a display screen module. After receiving and storing the food information through the NFC chip, the method further includes: The food information is displayed through the display screen module.

5. The method according to claim 4, characterized in that The NFC electronic tag also includes an MCU control module, and the method further includes performing the following operations by the MCU control module: Controlling the NFC antenna to collect food information and sending the collected food information to the NFC chip; Controlling the NFC chip to receive the food information and write the food information; Controlling the first Bluetooth module to start the Bluetooth slave mode after acquiring power, so as to establish a communication connection with the second Bluetooth module of the NFC reader / writer; Controlling the first antenna to receive energy transmitted by the energy transmitting module of the NFC reading and writing device to provide power to the first Bluetooth module; Control the display screen module to display the food information.

6. A refrigerator, characterized in that: include: Refrigerator body; An NFC reader / writer, located in the refrigerator body, for executing the method according to any one of claims 1 to 2; A plurality of NFC electronic tags are located on the refrigerator body and are used to execute the method described in any one of claims 3 to 5.

7. An electronic device, characterized in that: The electronic device comprises a memory and a processor, the memory stores a computer program, and the processor implements the method according to any one of claims 1 to 5 when executing the computer program.

8. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Refrigerator and management method of food material information of refrigerator

    CN113915843A

  • Refrigerator and control method of refrigerator

    CN113915949A

  • Production detection system and method of intelligent air conditioner

    CN114152460A

  • Bluetooth connection method, terminal device and communication system

    CN114554473A

  • Portable RFID anti-counterfeiting querying terminal

    CN202995768U