Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are exemplary and intended to be used for explaining the present invention, and should not be construed as limiting the present invention.
The bathroom mirror and the control method thereof according to the embodiment of the present invention are described below with reference to the accompanying drawings.
Fig. 1 is a block schematic diagram of a bathroom mirror according to an embodiment of the present invention. As shown in fig. 1, a bathroom mirror 100 according to an embodiment of the present invention may include: a communication module 110, a reminder module 120, and a control module 130.
The communication module 110 is configured to establish a communication connection with the background server 200 to receive the gas balance information of the user sent by the background server 200, and the background server 200 communicates with the server 300 of the gas provider to obtain the gas balance information. The control module 130 is connected to the communication module 110 and the reminding module 120, respectively, and the control module 130 is configured to receive the gas balance information and control the reminding module 120 to send out reminding information when the gas balance is insufficient, so as to remind the user.
According to an embodiment of the present invention, the reminding module 120 may include an indicator light 121 and/or a voice unit 122, wherein the control module 130 controls the indicator light 121 to blink and/or the voice unit 122 to send out a voice prompt message to remind the user.
Specifically, the communication module 110 may adopt a wired communication module (such as an optical fiber communication module) or a wireless communication module (such as a WIFI communication module), but when adopting the wired communication module, because the problem of wiring and the like causes inconvenience in installation, the utility model discloses in preferentially adopt the wireless communication module. When the wireless communication module is adopted, the communication module 110 can be linked with a family reason device, and establishes communication connection with the background server 200 provided by a mobile developer through a family router, and simultaneously establishes communication connection between the background server 200 and the server 300 of a gas supplier, so that the gas balance information of a user can be acquired in real time.
When the gas balance information of the user is acquired, the control module 130 analyzes and processes the gas balance information, and determines whether the current gas balance is sufficient, for example, when the gas balance is less than a certain value, it determines that the current gas balance is insufficient. At this time, the control module 130 controls the indicator light 121 to flash, or controls the voice unit 122 to send out voice information while controlling the indicator light 121 to flash, so as to remind the user. The user supplements with money according to the reminding information, or adjusts the use of the gas equipment according to the actual situation, for example, when the gas balance is insufficient, the gas water heater is stopped to effectively prevent the problem that the gas water heater cannot be used continuously due to insufficient gas cost in the bathing process, and the user experience is improved.
According to the utility model discloses an embodiment, as shown in fig. 2, foretell bathroom mirror still can include human body detection module 140, and human body detection module 140 links to each other with control module 130, and human body detection module 140 is used for detecting whether someone exists in the present bathroom, and wherein, when someone and gas balance are not enough in the present bathroom, control module 130 controls warning module 120 and sends out warning information.
Specifically, the human body detection module 140 may be a human body infrared sensor, and detect whether there is a person in the bathroom in real time through the human body infrared sensor. If someone is in the bathroom and the control module 130 determines that the current gas balance is insufficient, the control module 130 controls the reminding module 120 to send out reminding information; if no person is in the bathroom, the reminding module 120 is not controlled to send out reminding information even if the control module 130 judges that the current gas balance is insufficient. That is to say, as long as when the user enters the bathroom or the user stays in the bathroom, the reminding of insufficient gas balance is performed, so that the harassment to the user is effectively reduced, and the user experience is improved.
Further, according to an embodiment of the present invention, as shown in fig. 3, the bathroom mirror may further include a display module 150, the display module 150 is connected to the control module 130, wherein when the human body detection module 140 detects that there is a person in the bathroom, the control module 130 further controls the display module 150 to be turned on, and displays the balance information of the gas through the display module 150.
That is, when the user enters the bathroom or stays in the bathroom, the control module 130 controls the display module 150 (e.g., a display screen) to be turned on and displays the gas balance information.
For example, after the bathroom mirror is powered on, each module is initialized. When the system is initialized, the communication module 110 is linked to the home router, and establishes a communication connection with the background server 200 provided by the mobile developer through the home router, after the system is initialized, the communication module 110 maintains a communication connection with the background server 200 through the HTTP protocol, and meanwhile, the display module 150, such as a display screen, is in a closed state, and the human body detection module 140, such as a human body infrared sensor, starts to detect whether a person is in the current bathroom in real time.
After the initialization is completed, the control module 130 further obtains the gas balance information of the user from the background server 200 every preset time (for example, 6 hours) through the communication module 110, the background server 200 makes a call with the server 300 of the local gas provider to obtain the gas balance information of the user, and feeds the gas balance information back to the communication module 110, and the gas balance information is transmitted to the control module 130 by the communication module 110.
When receiving the gas balance information of the user, the control module 130 stores the gas balance information to generate historical data information, and analyzes and processes the gas balance information to determine whether the current gas balance is sufficient. For example, the control module 130 analyzes the gas balance information for each day to obtain the gas cost consumed by the user each day in the past preset time (e.g., 7 days), and divides the currently obtained gas balance by the average value of the gas cost consumed in the past 7 days to calculate the number of days for which the current gas balance can be maintained, and when the calculated number of days is less than the preset number of days (e.g., 5 days), the user may be reminded so that the user can recharge in time.
When the user is reminded, in order to reduce disturbance to the user, whether a person is in the current bathroom or not can be detected in real time through the human body detection module 140, if the user is detected to enter the bathroom or stay in the bathroom, the control module 130 controls the indicator lamp 121 to flash or controls the voice unit 122 to send voice information to remind the user, and meanwhile, the control module 130 also wakes up the display module 150 to display the current gas balance information and the estimated remaining available days if the display screen is in a lighting state. And the user recharges according to the reminding information and the display information so as to avoid influencing the normal use of the gas.
It should be noted that, if the human body detection module 140 detects that a user enters a bathroom or stays in the bathroom, and the control module 130 determines that the gas balance is sufficient, the control module 130 may also wake up the display module 150 to light up, for example, the display screen is turned on, but at this time, the display module 150 displays a homepage picture, which may include date, time, weather information, gas balance information, and the like. And the detailed display picture can be accessed by clicking the area where the gas balance information is located, and the detailed display picture can comprise gas historical data information (such as data or chart form), current gas balance information, gas remaining available days, historical payment data information and the like, so that a user can clearly know the gas use condition, and the user experience is greatly improved.
According to an embodiment of the present invention, as shown in fig. 4, the bathroom mirror may further include an instruction receiving module 160, the instruction receiving module 160 is connected to the control module 130, the instruction receiving module 160 is configured to receive instruction information of a user, the instruction information includes a closing instruction, wherein the control module 130 controls the closing of the reminding module 120 according to the closing instruction.
Specifically, when the control module 130 determines that the current gas balance of the user is insufficient and the human body detection module 140 detects that the user enters the bathroom or stays in the bathroom, the control module 130 controls the reminding module 120 to send out the reminding information. After the user receives the gas balance insufficiency prompt, the instruction receiving module 160 can send a prompt closing instruction to the control module 130, and the control module 130 controls the prompt module 120 to close according to the prompt closing instruction and does not remind any more in the same day, so that prompt information is prevented from being frequently sent due to the fact that the gas balance insufficiency is not timely recharged. If the user does not recharge the battery the next day, the control module 130 controls the reminding module 120 to send out the reminding information again, so as to prevent the user from forgetting to recharge the battery. The instruction receiving module 160 may be a touch button.
Further, according to an embodiment of the present invention, the instruction information may further include gas recharging information, wherein the control module 130 sends the gas recharging information to the backend server 200 through the communication module 110, so as to send the gas recharging information to the server 300 of the gas supplier through the backend server 200 for recharging.
Specifically, when the control module 130 reminds the user that the gas balance is insufficient, the gas recharging interface can be obtained from the server 300 of the gas supplier through the communication module 110 and stored. When the user needs to recharge, the instruction receiving module 160 sends a recharge instruction to the control module 130, and the control module 130 calls out the stored gas recharge interface according to the recharge instruction and displays the gas recharge interface through the display module 150. Then, the user inputs the gas recharging information to the gas recharging interface through the instruction receiving module 160, and after the user completes the filling, the control module 130 sends the gas recharging information or the gas recharging interface with the gas recharging information to the server 300 of the gas provider through the communication module 110, so as to realize the gas recharging function and greatly improve the user experience.
The instruction receiving module 160 and the display module 150 may be integrally disposed, for example, may be a touch display screen, and the touch display screen may be integrally disposed on the mirror surface of the bathroom mirror, as shown in fig. 5, and may be disposed at the upper right corner of the mirror surface.
To sum up, according to the utility model discloses bathroom mirror, establish communication connection through communication module and backend server in order to receive the gas balance information of the user that backend server sent, wherein, backend server communicates in order to acquire gas balance information with gas provider's server, then control module receives gas balance information, and control when the gas balance is not enough reminds the module and sends warning information, in order to remind the user, thereby effectively prevent user normal use, for example, can effectively prevent the user at the bathing in-process, because of the gas expense not enough leads to the problem that gas heater can't continue to use, user experience has been improved.
Fig. 6 is a flowchart of a control method of a bathroom mirror according to an embodiment of the present invention. As shown in fig. 6, the control method of the bathroom mirror according to the embodiment of the present invention may include the following steps:
and S1, receiving the gas balance information of the user.
And S2, judging whether the gas balance is sufficient according to the gas balance information.
And S3, if the gas balance is insufficient, sending out a reminding message to remind the user.
According to an embodiment of the present invention, the control method of the bathroom mirror may further include: judging whether a person is in the bathroom at present; if someone is in the bathroom at present, the gas balance information is displayed; and if the current bathroom contains people and the gas balance is insufficient, sending out reminding information.
According to an embodiment of the present invention, the control method of the bathroom mirror may further include: receiving instruction information of a user, wherein the instruction information comprises a closing reminding instruction; and when a reminding closing instruction is received, stopping sending the reminding information.
According to the utility model discloses an embodiment, instruction information still can include the gas and supplement the value information, wherein, when receiving the gas and supplement the value information, supplement with money according to the gas and supplement the value information.
It should be noted that, for details not disclosed in the control method of the bathroom mirror according to the embodiment of the present invention, reference is made to details disclosed in the bathroom mirror according to the embodiment of the present invention, and detailed descriptions thereof are omitted here.
According to the utility model discloses control method of bathroom mirror receives user's gas balance information in real time to judge whether gas balance is sufficient according to gas balance information, if the gas balance is not enough, then send the warning information in order to remind the user, thereby effectively prevent the user at the bathing in-process, because of the gas expense not enough leads to the problem that gas heater can't continue to use, improved user experience.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
In addition, in the description of the present invention, the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate the orientation or positional relationship indicated based on the drawings, and are only for convenience of description and simplification of the description, but do not indicate or imply that the device or element referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention.
Furthermore, the terms "first", "second" and "first" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the present invention, unless otherwise expressly stated or limited, the terms "mounted," "connected," and "fixed" are to be construed broadly and may, for example, be fixedly connected, detachably connected, or integrally formed; can be mechanically or electrically connected; they may be directly connected or indirectly connected through intervening media, or they may be connected internally or in any other suitable relationship, unless expressly stated otherwise. The specific meaning of the above terms in the present invention can be understood according to specific situations by those skilled in the art.
In the present application, unless expressly stated or limited otherwise, the first feature may be directly on or directly under the second feature or indirectly via intermediate members. Also, a first feature "on," "over," and "above" a second feature may be directly or diagonally above the second feature, or may simply indicate that the first feature is at a higher level than the second feature. A first feature being "under," "below," and "beneath" a second feature may be directly under or obliquely under the first feature, or may simply mean that the first feature is at a lesser elevation than the second feature.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Although embodiments of the present invention have been shown and described, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art without departing from the scope of the present invention.