Electric shock prevention prompting method and device of smart home system, and smart home system
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-28
- Publication Date
- 2026-08-11
AI Technical Summary
[0005]这种具备安全保护电路的安全插座,一方面需要对插座内部电路进行改造,需要对已安装的插座进行拆卸,无法直接使用;另一方面,其防触电保护功能在物体已插入插座后启动,但在实际使用时,婴幼儿用户触及插座后,其手指容易触及插座内的金属插片,此时插座处于通电状态,容易造成人身伤害或电击事故的发生
[0012]通过在确定室内环境中存在幼儿用户,且存在可能导致幼儿用户触电危险的目标插座时,获取幼儿用户相对于目标插座的位置,在幼儿进入防触电提示区域后,通过第一防触电提示警示幼儿用户远离目标插座;当幼儿用户持续向插座靠近时,控制目标插座的状态切换为防触电状态。如此,通过幼儿用户相对于目标插座的行进轨迹确定幼儿的动作趋势,从而执行不同的防触电操作,以避免幼儿用户继续靠近并触碰插座后导致电击事故发生。
Smart Images

Figure CN116700022B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of smart home appliance technology, such as a method and device for providing electric shock prevention warnings for a smart home system, and a smart home system. Background Technology
[0002] Power sockets are commonly used electrical connection devices in our daily work and life, used to connect appliances to a power source. During use, electric shocks often occur when power sockets are damaged due to careless plugging or unplugging.
[0003] One related technology provides an intelligent anti-electric shock safety socket, which, by setting a safety protection circuit inside the socket, ensures that the plug is de-energized when no device is connected; when an appliance plug is inserted into the socket, the socket is energized, thereby achieving the anti-electric shock protection function.
[0004] In the process of implementing the embodiments of this disclosure, at least the following problems were found in the related art:
[0005] This type of safety socket with a safety protection circuit requires modification of the internal circuitry and disassembly of the existing socket, making it unusable directly. Furthermore, its electric shock protection function activates only after an object is inserted into the socket. However, in actual use, if an infant or young child touches the socket, their fingers may easily touch the metal contacts inside, at which point the socket is energized, potentially causing personal injury or electric shock. Summary of the Invention
[0006] To provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. This summary is not intended as a general commentary, nor is it intended to identify key / important components or describe the scope of protection of these embodiments, but rather as a prelude to the detailed description that follows.
[0007] This disclosure provides a method and device for preventing electric shock in a smart home system, as well as a smart home system, to reduce the probability of electric shock accidents caused by young children touching sockets.
[0008] In some embodiments, the electric shock prevention warning method of the smart home system includes: obtaining user activity information in an indoor environment; when there is an active user in the indoor environment and the user is a young child, determining whether a target socket exists in the indoor environment; the target socket is an idle socket; if a target socket exists, determining an electric shock prevention warning area for the target socket; when the current young child enters the electric shock prevention warning area, executing a first electric shock prevention warning for a first duration, and detecting the first state of the current young child after the first duration; if the first state of the current young child indicates that the user is continuously approaching the socket, controlling the state of the target socket to switch to an electric shock prevention state.
[0009] In some embodiments, the anti-electric shock warning device of the smart home system includes: a user status acquisition module for acquiring user activity information in an indoor environment; a target socket acquisition module for determining whether a target socket exists in the indoor environment when there is an active user in the indoor environment and the user is a young child; the target socket is an idle socket; a warning area determination module for determining the anti-electric shock warning area of the target socket when the target socket exists; a first anti-electric shock control module for executing a first anti-electric shock warning for a first duration when the current young child enters the anti-electric shock warning area, and detecting the first state of the current young child after the first duration; and a second anti-electric shock control module for controlling the state of the target socket to switch to an anti-electric shock state when the first state of the current young child indicates that the user is continuously approaching the socket.
[0010] In some embodiments, the smart home system includes the above-described anti-electric shock warning device for smart home systems.
[0011] The electric shock prevention method and device for smart home systems, and the smart home system provided in this disclosure, can achieve the following technical effects:
[0012] When a child is present in an indoor environment with a potential electrical outlet that could cause electric shock, the system obtains the child's position relative to the outlet. Upon entering the designated anti-electric shock warning area, a first anti-electric shock warning alerts the child to move away from the outlet. If the child continues to approach the outlet, the outlet switches to an anti-electric shock mode. By tracking the child's movement relative to the outlet, the system determines their trajectory and executes different anti-electric shock actions to prevent further contact and potential electric shock.
[0013] The above general description and the description below are exemplary and illustrative only and are not intended to limit this application. Attached Figure Description
[0014] One or more embodiments are illustrated by way of example with reference to the accompanying drawings. These illustrations and drawings do not constitute a limitation on the embodiments. Elements having the same reference numerals in the drawings are shown as similar elements. The drawings are not to be scaled. And wherein:
[0015] Figure 1 This is a schematic diagram of a smart home system provided in an embodiment of this disclosure;
[0016] Figure 2 This is a schematic diagram of an electric shock prevention warning method for a smart home system provided in an embodiment of this disclosure;
[0017] Figure 3 This is a schematic diagram of another method for preventing electric shock in a smart home system provided in an embodiment of this disclosure;
[0018] Figure 4 This is a schematic diagram of another method for preventing electric shock in a smart home system provided in an embodiment of this disclosure;
[0019] Figure 5 This is a schematic diagram of an anti-electric shock warning device for a smart home system provided in an embodiment of this disclosure;
[0020] Figure 6 This is a schematic diagram of an anti-electric shock warning device for another smart home system provided in an embodiment of this disclosure. Detailed Implementation
[0021] To provide a more detailed understanding of the features and technical content of the embodiments of this disclosure, the implementation of the embodiments of this disclosure will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for illustrative purposes only and are not intended to limit the embodiments of this disclosure. In the following technical description, for ease of explanation, several details are used to provide a full understanding of the disclosed embodiments. However, one or more embodiments may still be implemented without these details. In other cases, well-known structures and devices may be simplified in their depiction to simplify the drawings.
[0022] The terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of this disclosure described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion.
[0023] Unless otherwise stated, the term "multiple" means two or more.
[0024] In this embodiment of the disclosure, the character " / " indicates that the objects before and after it are in an "or" relationship. For example, A / B means: A or B.
[0025] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.
[0026] The term "correspondence" can refer to an association or binding relationship. The correspondence between A and B means that there is an association or binding relationship between A and B.
[0027] In this embodiment of the disclosure, smart home appliances refer to home appliances formed by introducing microprocessors, sensor technology and network communication technology into home appliances. They have the characteristics of intelligent control, intelligent sensing and intelligent application. The operation 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 smart home appliances.
[0028] In this embodiment of the disclosure, the terminal device refers to an electronic device with wireless connectivity. The terminal device can communicate with the aforementioned smart home appliances by connecting to the internet, or directly via Bluetooth, Wi-Fi, or other methods. In some embodiments, the terminal device may be, for example, a mobile device, a computer, or an in-vehicle device built into a hovercraft, or any combination thereof. Mobile devices may include, for example, mobile phones, smart home devices, wearable devices, smart mobile devices, virtual reality devices, or any combination thereof. Wearable devices may include, for example, smartwatches, smart bracelets, pedometers, etc.
[0029] Figure 1 This is a schematic diagram of a smart home system provided in an embodiment of this application. (In conjunction with...) Figure 1 As shown, the smart home system includes a cloud server 11, an air conditioner 12, a target socket 13, other devices 14, and a smart terminal 15. The air conditioner 12, target socket 13, other devices 14, and smart terminal 15 are all connected to the cloud server 11 via Internet of Things (IoT) technology.
[0030] Among them, cloud server 11 can be a standalone server or a server cluster.
[0031] Other devices 14 may include home appliances such as fresh air systems, dehumidifiers, monitoring devices, televisions, massage chairs, smart doors and windows, and infrared sensors. Smart terminals 15 may be devices with display, input, and network capabilities, such as switch panels and smartphones, and may be able to install applications (APPs).
[0032] Figure 2 This is a flowchart illustrating a method for providing an electric shock warning in a smart home system according to an embodiment of this disclosure. This embodiment describes the method for providing an electric shock warning in a smart home system by... Figure 1 The cloud server shown is illustrated as an example.
[0033] Combination Figure 2 As shown, the methods for providing electric shock prevention warnings in smart home systems include:
[0034] Step S201: Obtain user activity information in the indoor environment.
[0035] User activity information refers to the user's movement and displacement information within the indoor environment.
[0036] Here, user activity information in the indoor environment can be obtained through the user's wearable devices. For example, user activity information in the indoor environment can be obtained through the displacement information of the user's wearable device in the room.
[0037] Indoor environmental images can also be obtained through image acquisition devices to acquire user activity information. For example, indoor environmental images can be acquired and image features extracted; when the image features indicate the presence of active users in the indoor environment, indoor environmental images can be acquired at intervals within a set time period to obtain user activity information within the set time period. The image acquisition device can be a stand-alone indoor monitoring device or a home appliance with image acquisition capabilities, such as a television or air conditioner equipped with a camera.
[0038] Step S202: If there are active users in the indoor environment and the user is a young child, determine whether there is a target socket in the indoor environment; the target socket is an idle socket.
[0039] User identity can be obtained through user information associated with wearable devices or determined through image features extracted by image acquisition devices. Users can be categorized by age as toddlers (0-6 years old), teenagers (7-18 years old), adults (18-60 years old), and seniors (60 years and older). For toddlers, their controllable behavior is limited, therefore, their activities in indoor environments require safety monitoring to prevent accidents.
[0040] A target outlet refers to an outlet that is currently idle in the indoor environment. When idle, the outlet is in a non-connected state, and its socket holes are exposed, which may pose a danger if touched by a young child.
[0041] Optionally, determining whether a target socket exists in the indoor environment includes: obtaining socket information of the indoor environment; and identifying sockets that are idle as target sockets. There can be one or more target sockets.
[0042] Furthermore, among the idle sockets, those less than 1 meter from the ground are identified as target sockets. This allows for the targeted identification of sockets that may pose a danger to young children, enabling the provision of appropriate anti-electric shock warnings.
[0043] Step S203: If a target socket exists, determine the anti-electric shock warning area of the target socket.
[0044] A safety warning zone refers to an indoor area that includes the location of the target socket. When a young child enters this area, the likelihood of them getting closer to the target socket increases as they move through it.
[0045] Optionally, determining the anti-electric shock warning area of the target socket includes:
[0046] The area enclosed by the target socket as the center and a safe preset distance as the radius is defined as the anti-electric shock warning area of the target socket.
[0047] Here, the preset safety distance can be any value between 50 and 150 cm. For example, the preset safety distance can be 50 cm, 60 cm, 70 cm, 80 cm, 90 cm, 100 cm, 120 cm, or 150 cm.
[0048] Alternatively, the protection zone of the target socket can also be determined in the following ways:
[0049] Obtain the current step size range of the current preschool user;
[0050] Based on the current stride length range and preset safe distance of young children, determine the area for electric shock prevention warnings.
[0051] The step size range can reflect the current movement speed of the young user, thereby determining the corresponding electric shock prevention warning area based on the movement speed.
[0052] Optionally, the current step size range of the current child user can also be determined using the child user's age information. The correspondence between a child's age and step size range can be established using empirical data to obtain the corresponding step size range for the current child user. Specifically, the correspondence between a child's age and step size range can be stored in a database. After obtaining the current child's age information, the corresponding current step size range can be obtained by querying the database. The current child user's age can be obtained through user information pre-entered on the smart terminal.
[0053] In other embodiments, the current stride range of the current toddler user can be obtained through an image acquisition device.
[0054] Furthermore, based on the current stride length range and preset safe distance for young children, the anti-electric shock warning area is determined, including:
[0055] Adjust the safe preset distance based on the ratio of the current stride range of young users to the safe preset distance;
[0056] The area enclosed by the target socket as the center and the adjusted preset safety distance as the radius is defined as the anti-electric shock warning area of the target socket.
[0057] The ratio of the current child's stride range to the preset safety distance is used to determine the child's walking ability relative to the preset safety distance. Specifically, the preset safety distance is adjusted based on the correspondence between this ratio and walking ability. For example, if the ratio is less than a first threshold, it indicates that the child's walking ability is weak, and the preset safety distance can be reduced to shrink the electric shock warning area. If the ratio is less than a second threshold but greater than or equal to the first threshold, it indicates that the child's walking ability is moderate, and the preset safety distance can be maintained to preserve the current electric shock warning area. If the ratio is greater than or equal to the second threshold, it indicates that the child's walking ability is strong, and the preset safety distance needs to be increased to expand the electric shock warning area.
[0058] Step S204: When the current child user enters the electric shock prevention warning area, execute the first electric shock prevention warning within the first duration, and detect the first status of the current child user after the first duration.
[0059] Monitoring whether a user has entered the anti-electric shock warning area can be done through infrared sensors, radar wave sensors, or the operation of home appliances with ranging functions.
[0060] The first electric shock warning is used to alert the current young child to stay away from the designated area. This warning can be a voice prompt, for example, issued via a voice prompt device located indoors away from the target electrical outlet, to attract the young child to the area where the device is located. Alternatively, it can be sent via a smart terminal to the child's guardian, prompting the guardian to move the child to the designated area and remove the child from the area.
[0061] The first duration can be a preset fixed duration, such as any value between 3 and 7 seconds. Specifically, the first duration can be 3 seconds, 4 seconds, 5 seconds, 6 seconds, or 7 seconds. The first duration can also be determined based on the current walking speed of the young user. For example, the first duration is negatively correlated with the young user's walking speed.
[0062] The first state is used to represent the current movement trend of the young user relative to the target socket, and the user's first state can be detected by wearable devices.
[0063] Optionally, the current distance between the user and the target socket can be detected by a wearable device. Based on the farthest distance between the anti-electric shock warning area and the target socket and the current distance, the user's displacement rate within a first time period can be determined. Based on the correspondence between the displacement rate and the user's state, the current first state of the child user can be determined.
[0064] For example, when the displacement rate is less than 0.1 m / s, the non-approaching trend is determined as the first state of the current child user; when the displacement rate is 0.1-0.2 m / s, the slow approaching trend is determined as the first state of the current child user; when the displacement rate is greater than 0.2 m / s, the rapid approaching trend is determined as the first state of the current child user.
[0065] Step S205: If the current first state of the young user indicates that the user is continuously moving closer to the socket, then control the state of the target socket to switch to the anti-electric shock state.
[0066] The "anti-electric shock status" indicates that the socket is in a state where touching it will not result in an electric shock.
[0067] Furthermore, the smart home system includes a resistance sensor for adjusting the output current of the target socket; therefore, controlling the target socket to switch to an anti-electric shock state includes:
[0068] Adjust the resistance of the resistance sensor to its maximum value so that the output current of the target socket approaches 0.
[0069] The resistance sensor can be a sensor installed inside the target socket or an external sensor connected to the target socket. By adjusting the resistance value of the resistance sensor, the output current can be adjusted so that the output current approaches 0. At this point, even if a young child touches the socket hole or a target socket with a damaged casing, there will be no risk of electric shock.
[0070] Here, a resistance sensor is used to adjust the resistance value based on a non-electrical physical quantity, thereby changing the output current value. Non-electrical physical quantities can include optical signals, stress signals, etc. Technicians can determine the type of non-electrical physical quantity and the method for adjusting the resistance sensor to its maximum value based on the selected type of resistance sensor.
[0071] Thus, the electric shock prevention warning method for a smart home system provided in this embodiment of the present disclosure, when it is determined that there is a young child user in the indoor environment and a target socket that may pose a risk of electric shock to the young child user, obtains the position of the young child user relative to the target socket. After the young child enters the electric shock prevention warning area, a first electric shock prevention warning is issued to warn the young child user to stay away from the target socket. When the young child user continues to approach the socket, the state of the target socket is switched to an electric shock prevention state. In this way, the movement trend of the young child user relative to the target socket is determined, thereby executing different electric shock prevention operations to prevent the young child user from continuing to approach and touch the socket, which could lead to an electric shock accident.
[0072] Figure 3 This is a flowchart illustrating a method for providing an electric shock warning in a smart home system according to an embodiment of this disclosure. This embodiment describes the method for providing an electric shock warning in a smart home system by... Figure 1 The cloud server shown is illustrated as an example.
[0073] Step S301: Obtain user activity information in the indoor environment.
[0074] Step S302: If there are active users in the indoor environment, obtain the current user's step range.
[0075] Step S303: If the maximum value of the current user's step range is less than the set step range, the current user is determined to be a preschool user. Here, the step of obtaining the step range is performed first to determine the user's identity based on the current user's step range. The set step range is used to represent the step range of preschool users. If the maximum value of the current user's step range is greater than or equal to the set step range, the current user is determined to be a non-preschool user, and the electric shock prevention prompt is no longer executed.
[0076] Step S304: Obtain socket information of the indoor environment; identify sockets that are in an idle state as target sockets.
[0077] Step S305: Determine the anti-electric shock warning area based on the current step length range and safe preset distance of the current child user.
[0078] Step S306: When the current child user enters the electric shock prevention warning area, connect the voice prompt device associated with the current child user; control the voice prompt device to issue an electric shock prevention voice prompt message within a first duration.
[0079] The voice prompt device associated with the current child user can be a voice prompt device linked to the child user, such as an indoor smart appliance (TV, air conditioner, etc.) with voice prompt function associated with the current child user, which is controlled to issue a prompt voice within a first period of time to prompt the current child user to stay away from the target socket.
[0080] The voice prompt device associated with the current young child user can also be a voice prompt device associated with an adult user associated with the current young child user. The system connects to the voice prompt device associated with the current young child user and controls it to issue anti-electric shock voice prompts within a first duration, including: obtaining the adult user associated with the current young child user; determining whether the smart terminal associated with the adult user is in the current indoor environment; if so, controlling the smart terminal to obtain pre-stored anti-electric shock voice prompts and continuously play them within the first duration; if not, controlling other smart appliances with voice prompt functions in the room to play pre-stored anti-electric shock voice prompts.
[0081] Step S307: After a first duration, detect the first state of the current child user; if the first state of the current child user indicates that the user is continuously moving closer to the socket, then control the state of the target socket to switch to the anti-electric shock state.
[0082] Thus, the electric shock prevention warning method for a smart home system provided in this embodiment of the present disclosure, when it is determined that there is a young child user in the indoor environment and a target socket that may pose a risk of electric shock to the young child user, obtains the position of the young child user relative to the target socket. After the young child enters the electric shock prevention warning area, a first electric shock prevention warning is issued to warn the young child user to stay away from the target socket. When the young child user continues to approach the socket, the state of the target socket is switched to an electric shock prevention state. In this way, the movement trend of the young child user relative to the target socket is determined, thereby executing different electric shock prevention operations to prevent the young child user from continuing to approach and touch the socket, which could lead to an electric shock accident.
[0083] Figure 4 This is a flowchart illustrating a method for providing an electric shock warning in a smart home system according to an embodiment of this disclosure. This embodiment describes the method for providing an electric shock warning in a smart home system by... Figure 1 The cloud server shown is illustrated as an example.
[0084] Step S401: Obtain user activity information in the indoor environment.
[0085] Step S402: If there is an active user in the indoor environment and the user is a young child, determine whether there is a target socket in the indoor environment; the target socket is an idle socket.
[0086] Step S403: If a target socket exists, determine the anti-electric shock warning area of the target socket.
[0087] Step S404: When the current child user enters the electric shock prevention warning area, execute the first electric shock prevention warning within the first duration, and detect the first status of the current child user after the first duration.
[0088] Step S405: If the current first state of the young user indicates that the user is continuously moving closer to the socket, then control the state of the target socket to switch to the anti-electric shock state.
[0089] Step S406: Obtain the second state of the current child user within the second time period.
[0090] The second duration indicates the preset duration after the target socket switches to the anti-electric shock state. It can be a preset fixed duration, such as any value between 3 and 7 seconds. Specifically, the second duration can be 3 seconds, 4 seconds, 5 seconds, 6 seconds, or 7 seconds.
[0091] The second state is used to indicate the current movement trend of the child user relative to the target socket within a second time period after the target socket switches to the anti-electric shock state. The user's second state can be detected by wearable devices.
[0092] Optionally, the distance between the user and the target socket is detected by a wearable device, and the user's second state is determined based on the distance difference between the distance between the user and the target socket before the second time period and the distance between the user and the target socket after the second time period.
[0093] For example, if the distance difference is greater than or equal to 0, meaning the user is farther from the target socket before the second time interval, the second state is determined to be "not far from the target socket". If the distance difference is less than 0, meaning the user is farther from the target socket after the second time interval, the second state is determined to be "far from the target socket".
[0094] Step S407: If the current second state of the child user indicates that the user has not moved away from the target socket, then control the target socket to maintain the anti-electric shock state.
[0095] If the current child user's second state indicates that the user has moved away from the target socket, then control the target socket to switch back to the idle state.
[0096] In this way, based on the current second state of the young user, the subsequent operating mode of the target socket can be further determined, avoiding the situation where the power consumption increases due to maintaining the anti-electric shock mode for a long time, thus saving energy.
[0097] Optionally, after controlling the target socket to remain in an anti-electric shock state, it also includes:
[0098] Connect to the voice prompt device associated with the current young child user;
[0099] Send information to the voice prompt device that the current child user has entered the electric shock prevention warning area, so that the adult user associated with the voice prompt device can remind the current child user to stay away from the target socket.
[0100] Here, by having an adult user remind the young child to stay away from the target socket, the problem can be further prevented from the child continuing to approach the socket. Sending information to the voice prompt device that the young child has entered the anti-electric shock warning area can include: if the voice prompt device is indoors (in the current room or a nearby room), pushing a warning message to the adult user associated with the voice prompt device, urging them to enter the room to remove or carry the child away, preventing them from continuing to approach the target socket. If the voice prompt device is not indoors, indicating that the associated adult user is not present and cannot remove the child, then sending information to the voice prompt device that the young child has entered the anti-electric shock warning area and connecting with the associated adult user to remotely remind the child to stop approaching the target socket via voice.
[0101] Thus, the electric shock prevention warning method for a smart home system provided in this embodiment of the present disclosure, when it is determined that there is a young child user in the indoor environment and a target socket that may pose a risk of electric shock to the young child user, obtains the position of the young child user relative to the target socket. After the young child enters the electric shock prevention warning area, a first electric shock prevention warning is issued to warn the young child user to stay away from the target socket. When the young child user continues to approach the socket, the state of the target socket is switched to an electric shock prevention state. In this way, the movement trend of the young child user relative to the target socket is determined, thereby executing different electric shock prevention operations to prevent the young child user from continuing to approach and touch the socket, which could lead to an electric shock accident.
[0102] Figure 5 This is a schematic diagram of an electric shock prevention device for a smart home system provided in an embodiment of this application. The electric shock prevention device for this smart home system can be implemented through software, hardware, or a combination of both.
[0103] Combination Figure 5 As shown in the figure, this disclosure provides an anti-electric shock warning device for a smart home system, including a user status acquisition module 51, a target socket acquisition module 52, a warning area determination module 53, a first anti-electric shock control module 54, and a second anti-electric shock control module 55.
[0104] The user status acquisition module 51 is configured to acquire user activity information in the indoor environment; the target socket acquisition module 52 is configured to determine whether a target socket exists in the indoor environment when there is an active user and the user is a preschool user; the target socket is an idle socket; the prompt area determination module 53 is configured to determine the anti-electric shock prompt area of the target socket when the target socket exists; the first anti-electric shock control module 54 is configured to execute a first anti-electric shock prompt within a first duration when the current preschool user enters the anti-electric shock prompt area, and detect the first state of the current preschool user after the first duration; the second anti-electric shock control module 55 is configured to control the state of the target socket to switch to the anti-electric shock state when the first state of the current preschool user indicates that the user is continuously approaching the socket.
[0105] Figure 6 This is a schematic diagram of an anti-electric shock warning device for a smart home system provided in an embodiment of this application. (Combined with...) Figure 6 As shown, the anti-electric shock warning device of the smart home system includes:
[0106] The device includes a processor 60 and a memory 61. Optionally, it may also include a communication interface 62 and a bus 63. The processor 60, communication interface 62, and memory 61 can communicate with each other via the bus 63. The communication interface 62 can be used for information transmission. The processor 60 can call logical instructions in the memory 61 to execute the electric shock prevention warning method of the smart home system described in the above embodiment.
[0107] Furthermore, the logic instructions in the aforementioned memory 61 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium.
[0108] The memory 61, as a computer-readable storage medium, can be used to store software programs and computer-executable programs, such as program instructions / modules corresponding to the methods in the embodiments of this disclosure. The processor 60 executes functional applications and data processing by running the program instructions / modules stored in the memory 61, thereby implementing the electric shock prevention warning method of the smart home system in the above embodiments.
[0109] The memory 61 may include a program storage area and a data storage area. The program storage area may store the operating system and applications required for at least one function; the data storage area may store data created based on the use of the terminal device. Furthermore, the memory 61 may include high-speed random access memory and may also include non-volatile memory.
[0110] This disclosure provides a smart home system that includes the aforementioned smart home system anti-electric shock warning device.
[0111] This disclosure provides a computer-readable storage medium storing computer-executable instructions configured to execute the above-described method for providing electric shock prevention prompts in a smart home system.
[0112] This disclosure provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions, which, when executed by a computer, cause the computer to perform the above-described method for providing electric shock prevention in a smart home system.
[0113] The aforementioned computer-readable storage medium may be a transient computer-readable storage medium or a non-transitory computer-readable storage medium.
[0114] The technical solutions of this disclosure can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes one or more instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in this disclosure. The aforementioned storage medium can be a non-transitory storage medium, including: a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, and other media capable of storing program code; it can also be a transient storage medium.
[0115] The foregoing description and accompanying drawings fully illustrate embodiments of this disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, procedural, and other changes. The embodiments represent only possible variations. Individual components and functions are optional unless explicitly required, and the order of operation may vary. Parts and features of some embodiments may be included in or replace parts and features of other embodiments. Moreover, the terminology used in this application is for describing embodiments only and is not intended to limit the claims. As used in the description of embodiments and claims, the singular forms “a,” “an,” and “the” are intended to equally include the plural forms unless the context clearly indicates otherwise. Similarly, the term “and / or” as used in this application means including one or more of the associated listed items and all possible combinations thereof. Additionally, when used in this application, the term "comprise" and its variations "comprises" and / or "comprising" refer to the presence of stated features, integrals, steps, operations, elements, and / or components, but do not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components, and / or groups thereof. Without further limitations, an element defined by the phrase "comprises a..." does not exclude the presence of other identical elements in the process, method, or apparatus that includes said element. In this document, each embodiment may focus on the differences from other embodiments, and similar or identical parts between embodiments can be referred to mutually. For methods, products, etc., disclosed in the embodiments, if they correspond to the method section disclosed in the embodiments, the relevant parts can be referred to the description of the method section.
[0116] Those skilled in the art will recognize that the units and algorithm steps of the various examples 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 implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the embodiments of this disclosure. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0117] The methods and products (including but not limited to devices and equipment) disclosed in the embodiments herein can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For instance, the division of units may be merely a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the shown or discussed units may be through some interfaces, and the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of the units may be selected to implement this embodiment according to actual needs. Furthermore, the functional units in the embodiments of this disclosure 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.
[0118] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to embodiments of this disclosure. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. In some alternative implementations, the functions marked in the blocks may occur in a different order than that shown in the drawings. For example, two consecutive blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different blocks may also occur in a different order than disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. Each block in a block diagram and / or flowchart, and combinations of blocks in a block diagram and / or flowchart, can be implemented using a dedicated hardware-based system that performs the specified function or action, or using a combination of dedicated hardware and computer instructions.
Claims
1. A method for providing electric shock prevention warnings in a smart home system, characterized in that, include: Obtain information on user activity in the indoor environment; When there are active users in the indoor environment, and the users are preschoolers, determine whether there is a target socket in the indoor environment; the target socket is an idle socket; If a target socket exists, then determine the anti-electric shock warning area of the target socket; When a young child enters the electric shock prevention warning area, the first electric shock prevention warning is executed within a first duration, and the first status of the young child is detected after the first duration. If the current first state of the young user indicates that the user is continuously moving closer to the socket, then the state of the target socket is switched to the anti-electric shock state. The determination of the electric shock prevention warning area includes: Obtain the current step size range of the current preschool user; Adjust the safe preset distance based on the ratio of the current stride range of young users to the safe preset distance; The area enclosed by the target socket as the center and the adjusted safety preset distance as the radius is defined as the anti-electric shock warning area of the target socket; the range of the safety preset distance is 50 to 150 cm; Specifically, if the ratio of the current child user's stride range to the safe preset distance is less than a first threshold, it indicates that the current child user's walking ability relative to the safe preset distance is weak, and the safe preset distance should be reduced. If the ratio is less than a second threshold but greater than or equal to the first threshold, it indicates that the current child user's walking ability relative to the safe preset distance is moderate, and the safe preset distance should be maintained. If the ratio is greater than or equal to the second threshold, it indicates that the current child user's walking ability relative to the safe preset distance is strong, and the safe preset distance should be increased.
2. The method according to claim 1, characterized in that, The determination of the first duration includes: Determine a first distance range between the edge of the anti-electric shock warning area and the socket; The first duration is determined based on the first distance range and the current child's physical movement information.
3. The method according to claim 2, characterized in that, Determining the first duration based on the first distance range and the current child's body movement information includes: Obtain the minimum value within the first distance range; Obtain the maximum value of the current stride range of the child; The first duration is determined based on the ratio of the minimum value of the first distance range to the maximum value of the current step size range.
4. The method according to claim 1, characterized in that, The execution of the first electric shock prevention prompt within the first duration includes: Connect to the voice prompt device associated with the current young child user; The voice prompt device is controlled to issue an electric shock prevention voice prompt message within a first duration.
5. The method according to claim 1, characterized in that, The smart home system includes a resistance sensor for adjusting the output current of the target socket; Then, the state of the controlled target socket is switched to the anti-electric shock state, including: The resistance of the resistor sensor is adjusted to its maximum value so that the output current of the target socket approaches 0.
6. The method according to any one of claims 1 to 5, characterized in that, After the state of the controlled target socket is switched to the anti-electric shock state, it also includes: Obtain the second state of the current preschool user within the second time period; If the current child user's second state indicates that the user has not moved away from the target socket, then control the target socket to remain in an anti-electric shock state; If the second state of the current child user indicates that the user has moved away from the target socket, then control the target socket to switch back to the idle state.
7. The method according to claim 6, characterized in that, After controlling the target socket to maintain an anti-electric shock state, the method further includes: Connect to the voice prompt device associated with the current young child user; The system sends information to the voice prompt device that the current child user has entered the electric shock prevention warning area, so that the adult user associated with the voice prompt device can remind the current child user to stay away from the target socket.
8. An anti-electric shock warning device for a smart home system, characterized in that, include: The user status acquisition module is used to obtain user activity information in the indoor environment. The target socket acquisition module is used to determine whether a target socket exists in an indoor environment when there is an active user and the user is a young child; the target socket is an idle socket. The warning area determination module is used to determine the anti-electric shock warning area of the target socket when the target socket is present; The first electric shock prevention control module is used to execute the first electric shock prevention prompt within a first duration when the current child user enters the electric shock prevention prompt area, and to detect the first state of the current child user after the first duration. The second anti-electric shock control module is used to control the target socket to switch to the anti-electric shock state when the current first state of the young user indicates that the user continues to approach the socket. The determination of the electric shock prevention warning area includes: Obtain the current step size range of the current preschool user; Adjust the safe preset distance based on the ratio of the current stride range of young users to the safe preset distance; The area enclosed by the target socket as the center and the adjusted safety preset distance as the radius is defined as the anti-electric shock warning area of the target socket; the range of the safety preset distance is 50 to 150 cm; Specifically, if the ratio of the current child user's stride range to the safe preset distance is less than a first threshold, it indicates that the current child user's walking ability relative to the safe preset distance is weak, and the safe preset distance should be reduced. If the ratio is less than a second threshold but greater than or equal to the first threshold, it indicates that the current child user's walking ability relative to the safe preset distance is moderate, and the safe preset distance should be maintained. If the ratio is greater than or equal to the second threshold, it indicates that the current child user's walking ability relative to the safe preset distance is strong, and the safe preset distance should be increased.
9. A smart home system, characterized in that, Includes the electric shock warning device for smart home systems as described in claim 8.
Citation Information
Patent Citations
Smart home safety alarm method
CN108777406A
Method and device for safety protection, electrical equipment and storage medium
CN114077203A