Method and device for controlling combined refrigerator, first refrigerator, second refrigerator and computer readable storage medium
By setting up a tap sensor and wireless module on the combined refrigerator and realizing the refrigerator network, the problem of the combined refrigerator losing accuracy due to false triggering is solved, and the accuracy of the refrigerator opening and closing doors is improved.
Patent Information
- Application Number
- CN202311147005.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-06
- Publication Date
- 2025-03-07
AI Technical Summary
When combined, existing combined refrigerators are prone to false triggering of the knock sensor, causing all refrigerator doors to open and lose accuracy.
By providing a tap sensor and a wireless module on the first refrigerator and the second refrigerator that combines the refrigerator, networking between the refrigerator is realized. When a knock signal is received, the host refrigerator compares the vibration signal strength according to the MAC address, determines the refrigerator that is tapped by the user, and sends instructions to the refrigerator to avoid false triggering.
It effectively avoids all refrigerator door openings caused by accidental triggering, and improves the accuracy of refrigerator door opening and closing.
Smart Images

Figure CN119573325A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of smart home appliances, for example, to a method and device for controlling a combined refrigerator, a first refrigerator, a second refrigerator, and a computer-readable storage medium. Background Art
[0002] At present, with the improvement and enhancement of people's living standards, refrigerators have become common household appliances. However, with the increasing emergence of personalized needs of users, people begin to pursue combination refrigerators that can meet the user's free combination.
[0003] The related technology discloses a combined refrigerator, including at least one modular refrigerator, each of which is provided with a control panel, a wifi (Wireless Fidelity) module, a voice module, an indicator light and a wired communication module, wherein the control panel is used to run the refrigeration program of the modular refrigerator, control the load of electrical components and the operation of each module; the wifi module is connected to the control panel to realize the mutual conversion between control instructions and the network connection function; the voice module is connected to the control panel to play the corresponding prompt command words after the refrigerator is set up and operated; the indicator light is connected to the control panel to flash the corresponding modular refrigerator indicator light when the voice module broadcasts the command word; the wired communication module is respectively connected to its own control panel and the wired communication module of the adjacent modular refrigerator for local communication between each modular refrigerator, and the wired communication modules between each modular refrigerator are connected by a serial port line.
[0004] In the process of implementing the embodiments of the present disclosure, it is found that there are at least the following problems in the related art:
[0005] Currently, combined refrigerators generally use knock sensors to achieve automatic door opening and other operations. However, when refrigerators are combined together, multiple refrigerators can receive knock signals, causing all refrigerator doors to open, thereby being triggered by mistake.
[0006] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present application, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0007] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical components or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.
[0008] The embodiments of the present disclosure provide a method and device for controlling a combined refrigerator, a first refrigerator, a second refrigerator, and a computer-readable storage medium to avoid false triggering that causes all refrigerator doors to open when multiple refrigerators in the combined refrigerator receive a knock signal.
[0009] In some embodiments, a first refrigerator and a second refrigerator of a combined refrigerator are both provided with a knock sensor for receiving vibration signals and a wireless module for networking; the method is applied to the first refrigerator in the combined refrigerator, including: when the first refrigerator and the second refrigerator are successfully networked, determining whether the first refrigerator is a host refrigerator according to the MAC (Media Access Control Address) addresses of all refrigerators in the combined refrigerator connected to the same network; when the first refrigerator is the host refrigerator, determining that the second refrigerator with the largest vibration signal strength among the first refrigerator and all refrigerators received is knocked by the user; sending a knock instruction to the second refrigerator, so that the second refrigerator controls the second refrigerator to perform a door opening action according to the strength of the vibration signal of the second refrigerator, or controls the first refrigerator to clear the received vibration signals of all refrigerators in the combined refrigerator connected to the same network according to the strength of the vibration signal of the second refrigerator.
[0010] In some embodiments, a first refrigerator and a second refrigerator spliced into a combined refrigerator are both provided with a knock sensor for receiving a vibration signal and a wireless module for networking; the method is applied to the second refrigerator in the combined refrigerator, including: when the first refrigerator and the second refrigerator are successfully networked, determining whether the second refrigerator is a slave refrigerator according to the MAC addresses of all refrigerators in the combined refrigerator connected to the same network; when the first refrigerator is the host refrigerator and the second refrigerator is the slave refrigerator, sending the received vibration signal strength to the first refrigerator; when the vibration signal strength of the second refrigerator is the strongest among the vibration signals of the first refrigerator and all refrigerators in the combined refrigerator connected to the same network, receiving the knock instruction sent by the first refrigerator by the user; according to the vibration signal strength of the second refrigerator, controlling the second refrigerator to perform a door opening action, or, according to the vibration signal strength of the second refrigerator, controlling the first refrigerator to clear the received vibration signals of all refrigerators in the combined refrigerator connected to the same network.
[0011] In some embodiments, the device includes a processor and a memory storing program instructions, wherein the processor is configured to execute the method for controlling a combined refrigerator when running the program instructions.
[0012] In some embodiments, the first refrigerator can be spliced with the second refrigerator to form a combined refrigerator, and the first refrigerator and the second refrigerator spliced into the combined refrigerator are both provided with a knock sensor for receiving vibration signals and a wireless module for networking, and the first refrigerator includes: a first refrigerator body; the device for controlling the combined refrigerator is installed on the first refrigerator body.
[0013] In some embodiments, the second refrigerator can be spliced with the first refrigerator to form a combined refrigerator, and the first refrigerator and the second refrigerator spliced into the combined refrigerator are both provided with a knock sensor for receiving vibration signals and a wireless module for networking, and the second refrigerator includes: a second refrigerator body; and the device for controlling the combined refrigerator is installed on the second refrigerator body.
[0014] The method and device for controlling a combined refrigerator, the first refrigerator, the second refrigerator, and the computer-readable storage medium provided in the embodiments of the present disclosure can achieve the following technical effects:
[0015] After the first and second refrigerators in the combination refrigerator are successfully networked, when multiple refrigerators in the combination refrigerator receive a knocking signal, the first refrigerator is selected as the host refrigerator according to the MAC address, and the data is processed by the host refrigerator. The host refrigerator compares the vibration signal strength of all refrigerators in the combination refrigerator connected to the same network, and determines that the second refrigerator with the largest signal strength is knocked by the user. When the user knocks on the second refrigerator, the vibration signal is only transmitted to other refrigerators, not knocked. This avoids all refrigerator doors being opened due to false triggering, and improves the accuracy of refrigerator door opening and closing.
[0016] The above general description and the following description are exemplary and explanatory only and are not intended to limit the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] One or more embodiments are exemplarily described by corresponding drawings, which do not limit the embodiments. Elements with the same reference numerals in the drawings are shown as similar elements, and the drawings do not constitute a scale limitation, and wherein:
[0018] Figure 1 is a schematic diagram of a combined refrigerator provided by an embodiment of the present disclosure;
[0019] Figure 2 is a schematic diagram of a method for controlling a modular refrigerator provided by an embodiment of the present disclosure;
[0020] Figure 3 is a schematic diagram of another method for controlling a modular refrigerator provided by an embodiment of the present disclosure;
[0021] Figure 4is a schematic diagram of another method for controlling a modular refrigerator provided by an embodiment of the present disclosure;
[0022] Figure 5 is a schematic diagram of another method for controlling a modular refrigerator provided by an embodiment of the present disclosure;
[0023] Figure 6 is an application schematic diagram of an embodiment of the present disclosure;
[0024] Figure 7 is a schematic diagram of a device for controlling a modular refrigerator provided by an embodiment of the present disclosure;
[0025] Figure 8 is a schematic diagram of a first refrigerator provided by an embodiment of the present disclosure;
[0026] Fig. 9 It is a schematic diagram of a second refrigerator provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0027] In order to be able to understand the features and technical contents of the embodiments of the present disclosure in more detail, the implementation of the embodiments of the present disclosure is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present disclosure. In the following technical description, for the convenience of explanation, a full understanding of the disclosed embodiments is provided through multiple details. However, one or more embodiments can still be implemented without these details. In other cases, to simplify the drawings, well-known structures and devices can be simplified for display.
[0028] The terms "first", "second", etc. in the specification and claims of the embodiments of the present disclosure 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 terms used in this way can be interchanged where appropriate, so that the embodiments of the embodiments of the present disclosure described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.
[0029] Unless otherwise stated, the term "plurality" means two or more.
[0030] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B indicates: A or B.
[0031] The term "and / or" is a description of the association relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or, A and B.
[0032] The term "correspondence" may refer to an association relationship or a binding relationship. The correspondence between A and B means that there is an association relationship or a binding relationship between A and B.
[0033] In the embodiments of the present disclosure, smart home appliances refer to home appliances that are formed by introducing microprocessors, sensor technology, and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent perception, and intelligent application. The operation process of smart home appliances often relies on the application and processing of modern technologies such as the Internet of Things, the Internet, and electronic chips. For example, smart home appliances can be connected to electronic devices to enable users to remotely control and manage the smart home appliances.
[0034] In the disclosed embodiments, the terminal device refers to an electronic device with a wireless connection function. The terminal device can communicate with the above-mentioned smart home appliances by connecting to the Internet, or can directly communicate with the above-mentioned smart home appliances through Bluetooth, Wi-Fi, etc. In some embodiments, the terminal device is, for example, a mobile device, a computer, or a vehicle-mounted device built into a hover car, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, etc., or any combination thereof, wherein wearable devices include, for example: smart watches, smart bracelets, pedometers, etc.
[0035] Combination Figure 1 As shown, an embodiment of the present disclosure provides a combined refrigerator, comprising a first refrigerator 1 and a second refrigerator 2. The first refrigerator 1 and the second refrigerator 2 are both provided with a knock sensor for receiving a vibration signal and a wireless module for networking.
[0036] Specifically, the first refrigerator 1 and the second refrigerator 2 are both provided with a knock sensor for receiving a vibration signal and a wireless module for networking, including: the first refrigerator 1 is provided with a first knock sensor 11 for receiving a vibration signal and a first wireless module 12 for networking. The second refrigerator 2 is provided with a second knock sensor 21 for receiving a vibration signal and a second wireless module 22 for networking.
[0037] By using the combined refrigerator provided in the embodiment of the present disclosure, the first refrigerator 1 and the second refrigerator 2 can be freely matched to form a combined refrigerator to meet the personalized needs of users.
[0038] Combination Figure 2 As shown, the embodiment of the present disclosure provides a method for controlling a combined refrigerator, comprising:
[0039] S201, when the first refrigerator and the second refrigerator are successfully networked, the first refrigerator determines whether the first refrigerator is a host refrigerator according to the MAC addresses of all refrigerators in the combined refrigerator connected to the same network.
[0040] S202, when the first refrigerator is the host refrigerator, the first refrigerator determines that the second refrigerator having the largest vibration signal strength among the first refrigerator and all the received refrigerators is hit by the user.
[0041] S203, the first refrigerator sends a knock instruction by the user to the second refrigerator, so that the second refrigerator is controlled to perform a door opening action according to the strength of the vibration signal of the second refrigerator, or the second refrigerator is controlled to clear the vibration signals received from all refrigerators in the combined refrigerator connected to the same network according to the strength of the vibration signal of the second refrigerator.
[0042] According to the method for controlling a combined refrigerator provided by the embodiment of the present disclosure, after the first refrigerator and the second refrigerator in the combined refrigerator are successfully networked, when multiple refrigerators in the combined refrigerator receive a knocking signal, the first refrigerator is selected as the host refrigerator according to the MAC address, and the data is processed by the host refrigerator. The host refrigerator compares the vibration signal strength of all refrigerators in the combined refrigerator connected to the same network, and determines that the second refrigerator with the largest signal strength is knocked by the user. When the user knocks on the second refrigerator, the vibration signal is only transmitted to other refrigerators, not knocked. This avoids all refrigerator doors being opened due to false triggering, and improves the accuracy of opening and closing refrigerator doors.
[0043] Optionally, the vibration signal includes a voltage signal converted from a mechanical vibration signal by a transducer of the knock sensor. In this way, the amplitude of the voltage signal can directly reflect the mechanical vibration intensity, which is conducive to more intuitively reflecting the situation that the modular refrigerator is knocked by the user.
[0044] Optionally, the first refrigerator determines whether the first refrigerator is a host refrigerator according to the MAC addresses of all refrigerators in the combined refrigerator connected to the same network, including: when the MAC address of the first refrigerator is equal to the minimum value of the MAC addresses of all refrigerators in the combined refrigerator connected to the same network, the first refrigerator determines that the first refrigerator is the host refrigerator. In this way, the refrigerator with the smallest MAC address is selected as the host refrigerator. If there is a refrigerator in the combined refrigerator that is not connected to the same network and has just been connected to the network, it only needs to compare the MAC address with the MAC address of the host refrigerator to quickly obtain the refrigerator with the smallest MAC address, which is conducive to quickly determining the host refrigerator.
[0045] Optionally, the first refrigerator determines that the second refrigerator with the strongest vibration signal among the first refrigerator and all the received refrigerators is knocked by the user, including: the first refrigerator receives the vibration signals and MAC addresses of all refrigerators in the combined refrigerator connected to the same network. The first refrigerator sorts the vibration signal strengths of all refrigerators including the first refrigerator from large to small. The first refrigerator determines that the second refrigerator with the highest order is knocked by the user.
[0046] In this way, when multiple refrigerators in the combined refrigerator receive a knocking signal, the control host refrigerator compares the vibration signal strength of all refrigerators in the combined refrigerator connected to the same network, and determines that the second refrigerator with the largest signal strength is knocked by the user. When the user knocks on the second refrigerator, the vibration signal is only transmitted to other refrigerators, not knocked. This avoids all refrigerator doors being opened due to false triggering, and improves the accuracy of refrigerator door opening and closing.
[0047] Optionally, the first refrigerator receives the vibration signals and MAC addresses of all refrigerators in the combined refrigerator connected to the same network, including: within a time threshold, when any refrigerator in the combined refrigerator connected to the same network receives a set number of vibration signals with an intensity greater than a transmission trigger threshold, the first refrigerator receives the vibration signals and MAC addresses of all refrigerators in the combined refrigerator connected to the same network. The value of the time threshold can be 300ms. The value of the transmission trigger threshold can be 30mV. The value of the set number of times can be 2 times.
[0048] In this way, if any refrigerator in the combined refrigerators connected to the same network receives a vibration signal continuously in a short period of time, it is necessary to send the vibration signals of all refrigerators in the combined refrigerators connected to the same network to the host refrigerator for data processing, and determine the knocked refrigerator according to the strength of the vibration signals of all refrigerators in the combined refrigerators connected to the same network. Since any refrigerator in the combined refrigerators connected to the same network receives a vibration signal, it can trigger the host refrigerator's judgment mechanism for which refrigerator is knocked by the user, thereby improving the sensitivity of opening the refrigerator door. In addition, when any refrigerator is knocked, the vibration signals received by all refrigerators are judged, thereby avoiding false triggering that causes all refrigerator doors to open, and improving the accuracy of refrigerator door opening and closing.
[0049] Optionally, the first refrigerator sends a knocking instruction to the second refrigerator, so that the second refrigerator controls the second refrigerator to perform a door opening action according to the vibration signal strength of the second refrigerator, or controls the first refrigerator to clear the vibration signals received from all refrigerators in the combined refrigerator connected to the same network according to the vibration signal strength of the second refrigerator, including: the first refrigerator sends a knocking instruction to the second refrigerator, so that when the vibration signal strength of the second refrigerator is greater than or equal to the door opening trigger strength threshold of the second refrigerator, the second refrigerator is controlled to perform the door opening action. Or, the first refrigerator sends a knocking instruction to the second refrigerator, so that when the vibration signal strength of the second refrigerator is less than the door opening trigger strength threshold of the second refrigerator, the first refrigerator is controlled to clear the vibration signals received from all refrigerators in the combined refrigerator connected to the same network. Specifically, the value of the door opening trigger strength threshold can be 30mV (millivolts). In this way, after the host refrigerator determines that the second refrigerator with the largest signal strength is knocked by the user, it notifies the second refrigerator that it is knocked by the user, so that the second refrigerator determines whether the vibration signal strength meets the door opening trigger mechanism or controls the first refrigerator to clear the vibration signals received from all refrigerators in the combined refrigerator connected to the same network. This helps to avoid all refrigerator doors being opened due to false triggering, improves the accuracy of opening and closing the refrigerator doors, and if the current vibration signal is small and insufficient to trigger the door opening, timely cleaning can avoid memory waste.
[0050] Optionally, before the first refrigerator determines whether the first refrigerator is the host refrigerator according to the MAC addresses of all refrigerators, it also includes: when the first refrigerator is powered on, the first refrigerator searches for the wireless signal of the second refrigerator. When the strength of the wireless signal of the searched second refrigerator is greater than the connection threshold, the first refrigerator sends the MAC address and connection request to the second refrigerator. When the second refrigerator verifies the MAC address of the first refrigerator, the first refrigerator determines that the first refrigerator and the second refrigerator are successfully networked. In this way, the first refrigerator and the second refrigerator are first networked according to the MAC address, which is conducive to selecting the host refrigerator according to the MAC address more quickly. Thereby avoiding all refrigerator doors being opened due to false triggering and improving the accuracy of refrigerator door opening and closing.
[0051] Optionally, in the case where the first refrigerator is a host refrigerator, it also includes: the first refrigerator determines that the first refrigerator with the largest vibration signal strength among the first refrigerator and all the received refrigerators is knocked by the user. The first refrigerator controls the first refrigerator to perform a door opening action according to the vibration signal strength of the first refrigerator, or controls the first refrigerator to clear the vibration signals received from all refrigerators in the combined refrigerator connected to the same network. In this way, if the vibration signal strength of the first refrigerator is the largest, it is determined that it is knocked by the user and the knocking force is the largest. Then, according to the relationship between the user's knocking force and the door opening trigger threshold, the first refrigerator is opened or all vibration signals are cleared. Thereby avoiding all refrigerator doors being opened due to false triggering, improving the accuracy of refrigerator door opening and closing, and if the current vibration signal is small and insufficient to trigger the door opening, timely clearing the user avoids memory waste.
[0052] Combination Figure 3 As shown, the embodiment of the present disclosure provides another method for controlling a combined refrigerator, comprising:
[0053] S301, when the first refrigerator is powered on, the first refrigerator searches for a wireless signal of the second refrigerator.
[0054] S302: When the wireless signal strength of the searched second refrigerator is greater than the connection threshold, the first refrigerator sends a MAC address and a connection request to the second refrigerator.
[0055] S303, when the second refrigerator verifies the MAC address of the first refrigerator, the first refrigerator determines that the first refrigerator and the second refrigerator are successfully networked.
[0056] S304, when the first refrigerator and the second refrigerator are successfully networked, the first refrigerator determines whether the first refrigerator is a host refrigerator according to the MAC addresses of all refrigerators in the combined refrigerator connected to the same network.
[0057] S305, when the first refrigerator is the host refrigerator, the first refrigerator determines that the second refrigerator having the largest vibration signal strength among the first refrigerator and all the received refrigerators is hit by the user.
[0058] S306, the first refrigerator sends a knock instruction by the user to the second refrigerator, so that the second refrigerator is controlled to perform a door opening action according to the strength of the vibration signal of the second refrigerator, or the second refrigerator is controlled to clear the vibration signals received from all refrigerators in the combined refrigerator connected to the same network according to the strength of the vibration signal of the second refrigerator.
[0059] According to the method for controlling a combined refrigerator provided by the embodiment of the present disclosure, the first refrigerator and the second refrigerator in the combined refrigerator retain the MAC address after the network is successfully established. When multiple refrigerators in the combined refrigerator receive a knocking signal, the first refrigerator is selected as the host refrigerator according to the MAC address, and the data is processed by the host refrigerator. The host refrigerator compares the vibration signal strength of all refrigerators in the combined refrigerator connected to the same network, determines that the second refrigerator with the largest signal strength is knocked by the user, and notifies the second refrigerator that it is knocked by the user, so that the second refrigerator determines whether the vibration signal strength meets the door opening trigger mechanism or controls the first refrigerator to clear the received vibration signal of all refrigerators in the combined refrigerator connected to the same network. This is conducive to avoiding all refrigerator doors being opened due to false triggering, improving the accuracy of refrigerator door opening and closing, and if the current vibration signal is small and insufficient to trigger the door opening, timely clearing the user avoids memory waste.
[0060] Combination Figure 4 As shown, the embodiment of the present disclosure provides another method for controlling a combined refrigerator, comprising:
[0061] S401, when the first refrigerator and the second refrigerator are successfully networked, the second refrigerator determines whether the second refrigerator is a slave refrigerator according to the MAC addresses of all refrigerators in the combined refrigerator connected to the same network.
[0062] S402, when the first refrigerator is a master refrigerator and the second refrigerator is a slave refrigerator, the second refrigerator sends the received vibration signal strength to the first refrigerator.
[0063] S403, when the vibration signal strength of the second refrigerator is the strongest among the vibration signals of the first refrigerator and all refrigerators in the combined refrigerator connected to the same network, the second refrigerator receives the knocking instruction sent by the first refrigerator.
[0064] S404, the second refrigerator controls the second refrigerator to open the door according to the strength of the vibration signal of the second refrigerator, or controls the first refrigerator to clear the vibration signals received from all refrigerators in the combined refrigerator connected to the same network according to the strength of the vibration signal of the second refrigerator.
[0065] The method for controlling a combined refrigerator provided by the embodiment of the present disclosure is adopted. The first refrigerator and the second refrigerator are first networked. After the first refrigerator and the second refrigerator in the combined refrigerator are successfully networked, when multiple refrigerators in the combined refrigerator receive a knocking signal, the first refrigerator is selected as the host refrigerator according to the MAC address, and the data is processed by the host refrigerator. The host refrigerator compares the vibration signal strength of all refrigerators in the combined refrigerator connected to the same network, and determines that the second refrigerator with the largest signal strength is knocked by the user. When the user knocks on the second refrigerator, the vibration signal is only transmitted to other refrigerators, not knocked. This avoids all refrigerator doors being opened due to false triggering, and improves the accuracy of refrigerator door opening and closing.
[0066] Optionally, the second refrigerator determines whether the second refrigerator is a slave refrigerator according to the MAC addresses of all refrigerators in the combined refrigerator connected to the same network, including: when the MAC address of the second refrigerator is greater than the minimum value of the MAC addresses of all refrigerators in the combined refrigerator connected to the same network, the second refrigerator determines that the second refrigerator is a slave refrigerator. The refrigerator with the smallest MAC address is selected as the host refrigerator. If there is a refrigerator in the combined refrigerator that is not connected to the same network and has just been connected to the network, it is only necessary to compare the MAC address with the MAC address of the host refrigerator to quickly obtain the refrigerator with an address other than the smallest MAC address, which is conducive to quickly determining the host refrigerator and the slave refrigerator.
[0067] Optionally, the second refrigerator controls the second refrigerator to perform a door opening action according to the vibration signal strength of the second refrigerator, or controls the first refrigerator to clear the received vibration signals of all refrigerators in the combined refrigerator connected under the same network according to the vibration signal strength of the second refrigerator, including: when the vibration signal strength of the second refrigerator is greater than or equal to the door opening trigger strength threshold of the second refrigerator, the second refrigerator controls the second refrigerator to perform a door opening action. Or, when the vibration signal strength of the second refrigerator is less than the door opening trigger strength threshold of the second refrigerator, the second refrigerator controls the first refrigerator to clear the received vibration signals of all refrigerators in the combined refrigerator connected under the same network.
[0068] In this way, if the vibration signal intensity of the first refrigerator is the largest, it is determined that the user has knocked and the knocking force is the largest. Then, according to the relationship between the user's knocking force and the door opening trigger threshold, the first refrigerator is opened or all vibration signals are cleared. This avoids all refrigerator doors being opened due to false triggering, improves the accuracy of refrigerator door opening and closing, and if the current vibration signal is small and insufficient to trigger the door opening, the user is cleared in time to avoid memory waste.
[0069] Optionally, the second refrigerator controls the first refrigerator to clear the received vibration signals of all refrigerators in the combined refrigerator connected to the same network, including: the second refrigerator sends an application to the first refrigerator to clear the received vibration signals of all refrigerators in the combined refrigerator connected to the same network, so that the first refrigerator clears the received vibration signals of all refrigerators in the combined refrigerator connected to the same network. In this way, if the current vibration signal is small and insufficient to trigger the door opening, the vibration signal is cleared in time to avoid false triggering, thereby avoiding memory waste.
[0070] Optionally, before the second refrigerator determines whether the second refrigerator is the host refrigerator according to the MAC addresses of all refrigerators in the combined refrigerator connected to the same network, the method further includes: the second refrigerator sends a wireless signal to the first refrigerator. When the wireless signal strength of the second refrigerator searched by the first refrigerator is greater than the connection threshold, the second refrigerator receives the MAC address and connection request sent by the first refrigerator. When the second refrigerator verifies the MAC address of the first refrigerator, the second refrigerator determines that the first refrigerator and the second refrigerator are successfully networked.
[0071] In this way, the first refrigerator and the second refrigerator are first networked according to the MAC address, which is conducive to selecting the host refrigerator according to the MAC address more quickly, thereby avoiding all refrigerator doors being opened due to false triggering and improving the accuracy of refrigerator door opening and closing.
[0072] Optionally, the second refrigerator sends the received vibration signal strength to the first refrigerator, including: within the duration threshold, when the vibration signal strength received by any refrigerator in the combined refrigerator connected to the same network for a set number of times is greater than the transmission trigger threshold, the second refrigerator sends the received vibration signal strength to the first refrigerator. Specifically, the value of the duration threshold can be 300ms (milliseconds). The value of the transmission trigger threshold can be 30mV. The value of the set number of times can be 2 times.
[0073] In this way, if the vibration signal intensity of the second refrigerator is the largest, it is determined that the user has knocked and the knocking force is the largest. Then, according to the relationship between the user's knocking force and the door opening trigger threshold, the second refrigerator is opened or the first refrigerator is cleared of all vibration signals. This avoids all refrigerator doors being opened due to false triggering, improves the accuracy of refrigerator door opening and closing, and if the current vibration signal is small and insufficient to trigger the door opening, the user is cleared in time to avoid memory waste.
[0074] Combination Figure 5 As shown, the embodiment of the present disclosure provides another method for controlling a combined refrigerator, comprising:
[0075] S501, the second refrigerator sends a wireless signal to the first refrigerator.
[0076] S502: When the wireless signal strength of the second refrigerator searched by the first refrigerator is greater than the connection threshold, the second refrigerator receives the MAC address and connection request sent by the first refrigerator.
[0077] S503, when the second refrigerator verifies the MAC address of the first refrigerator, the second refrigerator determines that the first refrigerator and the second refrigerator are successfully networked.
[0078] S504, when the first refrigerator and the second refrigerator are successfully networked, the second refrigerator determines whether the second refrigerator is a slave refrigerator according to the MAC addresses of all refrigerators in the combined refrigerator connected to the same network.
[0079] S505, when the first refrigerator is a master refrigerator and the second refrigerator is a slave refrigerator, the second refrigerator sends the received vibration signal intensity to the first refrigerator.
[0080] S506, when the vibration signal strength of the second refrigerator is the strongest among the vibration signals of the first refrigerator and all refrigerators in the combined refrigerator connected to the same network, the second refrigerator receives the knocking instruction sent by the first refrigerator.
[0081] S507, the second refrigerator controls the second refrigerator to open the door according to the strength of the vibration signal of the second refrigerator, or controls the first refrigerator to clear the vibration signals received from all refrigerators in the combined refrigerator connected to the same network according to the strength of the vibration signal of the second refrigerator.
[0082] According to the method for controlling a combined refrigerator provided by the embodiment of the present disclosure, the first refrigerator and the second refrigerator in the combined refrigerator both retain the MAC address after the network is successfully established. After the first refrigerator and the second refrigerator in the combined refrigerator are successfully established, when multiple refrigerators in the combined refrigerator receive a knocking signal, the first refrigerator is selected as the host refrigerator according to the MAC address, and the data is processed by the host refrigerator. The host refrigerator compares the vibration signal strength of all refrigerators in the combined refrigerator connected to the same network, and determines that the second refrigerator with the largest signal strength is knocked by the user. When the user knocks on the second refrigerator, the vibration signal is only transmitted to other refrigerators, not knocked. This avoids all refrigerator doors being opened due to false triggering, and improves the accuracy of refrigerator door opening and closing.
[0083] In practical applications, such as Figure 6As shown, S601, when the first refrigerator is powered on, the first refrigerator searches for the wireless signal of the second refrigerator. S602, the second refrigerator sends a wireless signal to the first refrigerator. S603, when the strength of the wireless signal of the searched second refrigerator is greater than the connection threshold, the first refrigerator sends a MAC address and a connection request to the second refrigerator. S604, when the second refrigerator verifies the MAC address of the first refrigerator, the second refrigerator determines that the first refrigerator and the second refrigerator are successfully networked. S605, the second refrigerator sends a message of successful networking to the first refrigerator. S606, the first refrigerator determines that the first refrigerator and the second refrigerator are successfully networked. S607, when the first refrigerator and the second refrigerator are successfully networked, the first refrigerator determines whether the first refrigerator is a host refrigerator according to the MAC addresses of all refrigerators in the combined refrigerator connected to the same network. S608, the second refrigerator determines whether the second refrigerator is a slave refrigerator according to the MAC addresses of all refrigerators in the combined refrigerator connected to the same network. S609, when the first refrigerator is the host refrigerator and the second refrigerator is the slave refrigerator, the second refrigerator sends the received vibration signal strength to the first refrigerator. S610, when the first refrigerator is the host refrigerator, the first refrigerator determines that the second refrigerator having the largest vibration signal strength among the first refrigerator and all the received refrigerators is knocked by the user. S611, the first refrigerator sends a knock instruction to the second refrigerator. S612, the second refrigerator determines whether the vibration signal strength of the second refrigerator is greater than or equal to the door opening trigger strength threshold of the second refrigerator. S613, if so, the second refrigerator controls the second refrigerator to perform the door opening action. S614, if not, the second refrigerator sends a request to the first refrigerator to clear the received vibration signals of all refrigerators in the combined refrigerator connected to the same network. S615, the first refrigerator clears the received vibration signals of all refrigerators in the combined refrigerator connected to the same network.
[0084] According to the method for controlling a combined refrigerator provided by the embodiment of the present disclosure, the first refrigerator and the second refrigerator in the combined refrigerator both retain the MAC address after the network is successfully established. After the first refrigerator and the second refrigerator in the combined refrigerator are successfully established, when multiple refrigerators in the combined refrigerator receive a knocking signal, the first refrigerator is selected as the host refrigerator according to the MAC address, and the data is processed by the host refrigerator. The host refrigerator compares the vibration signal strength of all refrigerators in the combined refrigerator connected to the same network, and determines that the second refrigerator with the largest signal strength is knocked by the user. When the user knocks on the second refrigerator, the vibration signal is only transmitted to other refrigerators, not knocked. This avoids all refrigerator doors being opened due to false triggering, and improves the accuracy of refrigerator door opening and closing.
[0085] Combination Figure 7As shown, the embodiment of the present disclosure provides a device 200 for controlling a combined refrigerator, including a processor 700 and a memory 701. Optionally, the device 70 may also include a communication interface 702 and a bus 703. The processor 700, the communication interface 702, and the memory 701 may communicate with each other through the bus 703. The communication interface 702 may be used for information transmission. The processor 700 may call the logic instructions in the memory 701 to execute the method for controlling a combined refrigerator of the above embodiment.
[0086] In addition, the logic instructions in the memory 701 described above may be implemented in the form of software functional units and when sold or used as independent products, may be stored in a computer-readable storage medium.
[0087] The memory 701 is a computer-readable storage medium that can be used to store software programs and computer executable programs, such as program instructions / modules corresponding to the method in the embodiment of the present disclosure. The processor 700 executes the function application and data processing by running the program instructions / modules stored in the memory 701, that is, the method for controlling the combined refrigerator in the above embodiment is implemented.
[0088] The memory 701 may include a program storage area and a data storage area, wherein the program storage area may store an operating system and an application required for at least one function; the data storage area may store data created according to the use of the terminal device, etc. In addition, the memory 701 may include a high-speed random access memory and may also include a non-volatile memory.
[0089] Combination Figure 8 As shown, the embodiment of the present disclosure provides a first refrigerator 100, including: a product body, and the above-mentioned device 200 for controlling a combined refrigerator. The device 200 for controlling a combined refrigerator is installed on the first refrigerator body. The installation relationship described here is not limited to placement inside the product body, but also includes installation connections with other components of the first refrigerator 100, including but not limited to physical connections, electrical connections or signal transmission connections, etc. Those skilled in the art can understand that the device 200 for controlling a combined refrigerator can be adapted to a feasible first refrigerator body, thereby realizing other feasible embodiments.
[0090] Combination Fig. 9As shown, the embodiment of the present disclosure provides a second refrigerator 300, including: a product body, and the above-mentioned device 200 for controlling a combined refrigerator. The device 200 for controlling a combined refrigerator is installed in the second refrigerator body. The installation relationship described here is not limited to placement inside the product body, but also includes installation connections with other components of the second refrigerator 300, including but not limited to physical connections, electrical connections or signal transmission connections, etc. It can be understood by those skilled in the art that the device 200 for controlling a combined refrigerator can be adapted to a feasible second refrigerator body, thereby realizing other feasible embodiments.
[0091] An embodiment of the present disclosure provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are configured to execute the above-mentioned method for controlling a combined refrigerator.
[0092] The technical solution of the embodiment of the present disclosure can be embodied in the form of a software product, which is stored in a storage medium and includes one or more instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the embodiment of the present disclosure. The aforementioned storage medium may be a non-transient storage medium, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, and other media that can store program codes.
[0093] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure so that those skilled in the art can practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible changes. Unless explicitly required, separate components and functions are optional, and the order of operation may vary. The parts and features of some embodiments may be included in or replace the parts and features of other embodiments. Moreover, the words used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and the claims, unless the context clearly indicates, the singular forms of "a", "an" and "the" are intended to include plural forms as well. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of listings containing one or more associated ones. In addition, when used in the present application, the term "comprise" and its variants "comprises" and / or comprising refer to the presence of stated features, wholes, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or groups thereof. In the absence of further restrictions, the elements defined by the sentence "comprising a ..." do not exclude the presence of other identical elements in the process, method or device comprising the elements. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments may refer to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can refer to the description of the method part.
[0094] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. The technicians may use different methods for each specific application to implement the described functions, but such implementations should not be considered to exceed the scope of the embodiments of the present disclosure. The technicians may clearly understand that, for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above may refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.
[0095] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units can be 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. In addition, the coupling or direct coupling or communication connection between each other 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. The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to implement this embodiment. In addition, each functional unit in the embodiment of the present disclosure may be integrated in a processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit.
[0096] The flowchart and block diagram in the accompanying drawings show the possible architecture, function and operation of the system, method and computer program product according to the embodiment of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. In some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. In the description corresponding to the flowchart and the block diagram in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in a different order from the order disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified functions or actions, or may be implemented by a combination of dedicated hardware and computer instructions.
Claims
1. A method for controlling a combined refrigerator, characterized in that: A knock sensor for receiving vibration signals and a wireless module for networking are provided on a first refrigerator and a second refrigerator in a combined refrigerator; the method is applied to the first refrigerator in the combined refrigerator, comprising: In the case that the first refrigerator and the second refrigerator are successfully networked, determining whether the first refrigerator is a host refrigerator according to the MAC addresses of all refrigerators in the combined refrigerator connected to the same network; In the case where the first refrigerator is a host refrigerator, determining that a second refrigerator having the largest vibration signal strength among the first refrigerator and all the received refrigerators is struck by the user; A user-tapped instruction is sent to the second refrigerator so that the second refrigerator is controlled to open the door according to the strength of the vibration signal of the second refrigerator, or the second refrigerator is controlled to clear the received vibration signals of all refrigerators in the combined refrigerator connected to the same network according to the strength of the vibration signal of the second refrigerator.
2. The method according to claim 1, characterized in that Determining that the second refrigerator with the largest vibration signal among the first refrigerator and all the received refrigerators is struck by the user includes: Receive vibration signals and MAC addresses of all refrigerators in a combined refrigerator connected to the same network; Sort the vibration signal strengths of all refrigerators including the first refrigerator from largest to smallest; It is determined that the second refrigerator which is first in the order is tapped by the user.
3. The method according to claim 1, characterized in that Sending a user-tapped instruction to the second refrigerator so that the second refrigerator is controlled to perform a door opening action according to the strength of the vibration signal of the second refrigerator, or the second refrigerator is controlled to clear the received vibration signals of all refrigerators in the combined refrigerator connected under the same network according to the strength of the vibration signal of the second refrigerator, including: Sending a user knocking instruction to the second refrigerator, so that when the vibration signal intensity of the second refrigerator is greater than or equal to the door opening trigger intensity threshold of the second refrigerator, the second refrigerator is controlled to perform a door opening action; or, A user-knocked instruction is sent to the second refrigerator, so that when the vibration signal intensity of the second refrigerator is less than the door opening trigger intensity threshold of the second refrigerator, the first refrigerator is controlled to clear the vibration signals received from all refrigerators in the combined refrigerator connected to the same network.
4. A method for controlling a modular refrigerator, characterized in that: A knock sensor for receiving vibration signals and a wireless module for networking are provided on a first refrigerator and a second refrigerator spliced in a combined refrigerator; the method is applied to the second refrigerator in the combined refrigerator, comprising: In the case where the first refrigerator and the second refrigerator are successfully networked, determining whether the second refrigerator is a slave refrigerator according to the MAC addresses of all refrigerators in the combined refrigerator connected to the same network; In a case where the first refrigerator is a master refrigerator and the second refrigerator is a slave refrigerator, sending the received vibration signal strength to the first refrigerator; When the vibration signal strength of the second refrigerator is the strongest among the vibration signals of the first refrigerator and all refrigerators in the combined refrigerator connected to the same network, receiving a knocking instruction sent by the first refrigerator; According to the vibration signal strength of the second refrigerator, the second refrigerator is controlled to perform a door opening action, or, according to the vibration signal strength of the second refrigerator, the first refrigerator is controlled to clear the vibration signals received from all refrigerators in the combined refrigerator connected to the same network.
5. The method according to claim 4, characterized in that According to the strength of the vibration signal of the second refrigerator, the second refrigerator is controlled to perform a door opening action, or, according to the strength of the vibration signal of the second refrigerator, the first refrigerator is controlled to clear the vibration signals received from all refrigerators in the combined refrigerator connected to the same network, including: When the vibration signal intensity of the second refrigerator is greater than or equal to the door opening trigger intensity threshold of the second refrigerator, control the second refrigerator to perform the door opening action; or, When the vibration signal strength of the second refrigerator is less than the door opening trigger strength threshold of the second refrigerator, the first refrigerator is controlled to clear the vibration signals received from all refrigerators in the combined refrigerator connected to the same network.
6. A device for controlling a modular refrigerator, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for controlling a combined refrigerator according to any one of claims 1 to 3 when running the program instructions.
7. A device for controlling a modular refrigerator, comprising a processor and a memory storing program instructions, characterized in that: The processor is configured to execute the method for controlling a combined refrigerator according to claim 4 or 5 when running the program instructions.
8. A first refrigerator, characterized in that: The first refrigerator can be combined with the second refrigerator to form a combined refrigerator. The first refrigerator and the second refrigerator formed by the combined refrigerator are both provided with a knock sensor for receiving a vibration signal and a wireless module for networking. The first refrigerator includes: First refrigerator body; The device for controlling a combined refrigerator as claimed in claim 6 is installed on the first refrigerator body.
9. A second refrigerator, characterized in that: The second refrigerator can be spliced with the first refrigerator to form a combined refrigerator. The first refrigerator and the second refrigerator of the combined refrigerator are both provided with a knock sensor for receiving a vibration signal and a wireless module for networking. The second refrigerator includes: Second refrigerator body; The device for controlling a combined refrigerator as claimed in claim 7 is installed on the second refrigerator body.
10. A computer-readable storage medium storing program instructions, characterized in that: When the program instructions are executed, the computer is used to execute the method for controlling a modular refrigerator according to any one of claims 1 to 5.