CN110673500B - Power supply control method of socket and Internet of things operating system - Google Patents

Power supply control method of socket and Internet of things operating system Download PDF

Info

Publication number
CN110673500B
CN110673500B CN201910920237.4A CN201910920237A CN110673500B CN 110673500 B CN110673500 B CN 110673500B CN 201910920237 A CN201910920237 A CN 201910920237A CN 110673500 B CN110673500 B CN 110673500B
Authority
CN
China
Prior art keywords
image
socket
current user
target group
power
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910920237.4A
Other languages
Chinese (zh)
Other versions
CN110673500A (en
Inventor
尹德帅
刘超
徐志方
居文军
唐洁
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Technology Co Ltd
Original Assignee
Qingdao Haier Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Technology Co Ltd filed Critical Qingdao Haier Technology Co Ltd
Priority to CN201910920237.4A priority Critical patent/CN110673500B/en
Publication of CN110673500A publication Critical patent/CN110673500A/en
Application granted granted Critical
Publication of CN110673500B publication Critical patent/CN110673500B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/443OS processes, e.g. booting an STB, implementing a Java virtual machine in an STB or power management in an STB
    • H04N21/4432Powering on the client, e.g. bootstrap loading using setup parameters being stored locally or received from the server
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Software Systems (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Alarm Systems (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)

Abstract

The invention provides a power supply control method of a socket and an Internet of things operating system. The method comprises the following steps: acquiring a first image, wherein the first image is an image of a current user of the socket; determining whether the current user belongs to a target group based on the first image; and controlling the socket to cut off power supply under the condition that the current user is determined to belong to the target group. According to the invention, at least one of the problems of reducing the electric shock risk of children in the using process of the socket and improving the using efficiency of the socket under the condition of ensuring safety is solved, the scheme can effectively avoid electric shock of target groups such as children in the using process of the socket, and the using efficiency of the socket can be improved to a certain extent.

Description

Power supply control method of socket and Internet of things operating system
Technical Field
The invention relates to the field of smart home, in particular to a power supply control method of a socket and an Internet of things operating system.
Background
The socket may cause a shock accident for children after being powered on, so that a solution for the shock risk of children caused by the socket is needed.
Fig. 1 is a schematic view showing the use of a plug cap for preventing a child from getting an electric shock according to the related art in which a plug cap may be added to a jack of a socket to block the jack in order to prevent a risk of a child getting an electric shock in the socket, as shown in fig. 1. However, in the way that the plug cap blocks the jack, on one hand, the utilization rate of the jack is reduced due to the fact that the jack cannot be used normally, and on the other hand, children may get an electric shock in some cases, for example, some children may pull out the plug cap due to curiosity and the like to use the jack, so that the risk of electric shock is caused.
Therefore, how to reduce the electric shock risk of children in the using process of the socket is a technical problem to be solved urgently, and how to improve the using efficiency of the socket under the condition of ensuring the safety is also a technical problem to be solved.
Disclosure of Invention
The embodiment of the invention provides a power supply control method of a socket and an Internet of things operating system, which at least solve at least one of the problems of reducing the electric shock risk of children in the using process of the socket and improving the using efficiency of the socket under the condition of ensuring safety.
According to an aspect of the present invention, there is provided a power supply control method of an outlet, including: acquiring a first image, wherein the first image is an image of a current user of the socket; determining whether the current user belongs to a target group based on the first image; and controlling the socket to cut off power supply under the condition that the current user is determined to belong to the target group.
In at least one exemplary embodiment, acquiring the first image includes at least one of: controlling a camera arranged on the socket to acquire the first image; and controlling a camera positioned in the area of the socket to acquire the first image.
In at least one exemplary embodiment, determining whether the current user belongs to a target group based on the first image comprises at least one of: matching the first image with a preset user blacklist to determine whether the current user belongs to a target group, wherein the user blacklist comprises a second image of the target group acquired in advance; matching the first image with a preset user white list to determine whether the current user belongs to a target group, wherein the user white list comprises a third image which is collected in advance and is not of the target group; and identifying the first image through an identification model to determine whether the current user belongs to a target group, wherein the identification model is based on facial features or height features.
In at least one exemplary embodiment, the method further comprises: in the case that the current user is determined to belong to the target group, sending predetermined information to a predetermined notification object, wherein the predetermined information includes at least one of: the first image and reminding information of the target group using the socket.
In at least one example embodiment, after sending the predetermined information to the predetermined notification object, the method further comprises at least one of: under the condition of receiving a power-off confirmation message sent by the preset notification object, keeping the power supply disconnection state of the socket; controlling the socket to recover power supply under the condition of receiving a power re-supply message sent by the preset notification object; and under the condition that the power-off confirmation message and the power-supply resuming message sent by the preset notification object are not received within a preset time, the power-off state of the socket is kept.
In at least one exemplary embodiment, the method further comprises: and under the condition that the current user is determined to belong to the target group, controlling first preset intelligent household equipment to start, wherein the first preset intelligent household equipment has an audio and/or video output function.
In at least one exemplary embodiment, the method further comprises: under the condition that the current user is determined to belong to the target group, controlling second preset intelligent household equipment to be started, wherein the second preset intelligent household equipment has a human-computer interaction function; sending test information to the current user through the second preset intelligent household equipment, and receiving reply information given by the current user; and determining whether the current user passes the test or not according to the test information and the reply information, and controlling the socket to recover power supply under the condition of passing the test.
According to another aspect of the present invention, there is provided an internet of things operating system, including: an image acquisition module configured to acquire a first image, wherein the first image is an image of a current user of the socket; an identification module configured to determine whether the current user belongs to a target group based on the first image; and the power-off control module is used for controlling the socket to cut off power supply under the condition that the identification module determines that the current user belongs to the target group.
In at least one exemplary embodiment, the image acquisition module is configured to perform at least one of: controlling a camera arranged on the socket to acquire the first image; and controlling a camera positioned in the area of the socket to acquire the first image.
In at least one example embodiment, the identification module is configured to perform at least one of: matching the first image with a preset user blacklist to determine whether the current user belongs to a target group, wherein the user blacklist comprises a second image of the target group acquired in advance; matching the first image with a preset user white list to determine whether the current user belongs to a target group, wherein the user white list comprises a third image of a non-target group acquired in advance; and identifying the first image through an identification model to determine whether the current user belongs to a target group, wherein the identification model is based on facial features or height features.
In at least one example embodiment, the internet of things operating system further comprises: a sending module configured to send predetermined information to a predetermined notification object in a case where the identification module determines that the current user belongs to the target group, wherein the predetermined information includes at least one of: the first image and reminding information of the target group using the socket.
In at least one example embodiment, the internet of things operating system further comprises: the receiving module is arranged to receive a power-off confirmation message and/or a power-off re-supply message sent by the preset notification object after the sending module sends the preset information to the preset notification object, wherein the power-off control module is arranged to keep the power-off state of the socket under the condition that the receiving module receives the power-off confirmation message; and/or the relay control module is configured to control the socket to recover power supply when the receiving module receives the power supply resuming message; and/or the power-off control module is configured to maintain the power-off state of the socket when the power-off confirmation message and the power-on resuming message are not received by the receiving module within a preset time period.
In at least one example embodiment, the internet of things operating system further comprises a start control module configured to perform at least one of: under the condition that the identification module determines that the current user belongs to the target group, controlling first preset intelligent household equipment to start, wherein the first preset intelligent household equipment has an audio and/or video output function; controlling a second preset intelligent household device to start under the condition that the identification module determines that the current user belongs to the target group, wherein the second preset intelligent household device has a human-computer interaction function; sending test information to the current user through the second preset intelligent household equipment, and receiving reply information given by the current user; and determining whether the current user passes the test or not according to the test information and the reply information, and controlling the socket to recover power supply if the current user passes the test.
According to a further embodiment of the present invention, there is also provided a storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when executed.
Optionally, in this embodiment, the storage medium may include, but is not limited to: various media capable of storing computer programs, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
According to yet another embodiment of the present invention, there is also provided an electronic device, comprising a memory in which a computer program is stored and a processor configured to run the computer program to perform the steps of any of the method embodiments described above.
According to the invention, a first image of a current user of the socket is firstly acquired, whether the current user belongs to a target group or not is determined based on the first image, and the socket is controlled to be powered off under the condition that the current user is determined to belong to the target group. Through the scheme, at least one of the problems of reducing the electric shock risk of children in the using process of the socket and improving the using efficiency of the socket under the condition of ensuring safety can be solved, the scheme can effectively avoid electric shock of target groups such as children in the using process of the socket, and the using efficiency of the socket can be improved to a certain extent.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic view of the use of a plug cap for preventing children from getting electrocuted according to the related art;
fig. 2 is a flowchart of a power supply control method of an outlet according to embodiment 1 of the present invention;
fig. 3 is a first preferred flowchart of a power supply control method of an outlet according to embodiment 1 of the present invention;
fig. 4 is a second preferred flowchart of a power supply control method of the outlet according to embodiment 1 of the present invention;
fig. 5 is a block diagram of the structure of an operating system of the internet of things according to embodiment 2 of the present invention;
fig. 6 is a first preferred structural block diagram of an operating system of the internet of things according to embodiment 2 of the present invention;
fig. 7 is a second preferred structural block diagram of an operating system of the internet of things according to embodiment 2 of the invention;
fig. 8 is a schematic diagram of an internet of things operating system according to embodiment 3 of the present invention;
fig. 9 is a schematic diagram of an arrangement of an image acquisition module 81 according to embodiment 3 of the present invention.
Detailed Description
The invention will be described in detail hereinafter with reference to the accompanying drawings in conjunction with embodiments. It should be noted that the embodiments and features of the embodiments in the present application may be combined with each other without conflict.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order.
Example 1
Fig. 2 is a flowchart of a power supply control method of an outlet according to embodiment 1 of the present invention, and as shown in fig. 2, the flowchart includes the following steps S202 to S206.
Step S202, a first image is obtained, wherein the first image is an image of a current user of the socket.
In implementing step S202, there may be multiple ways to acquire the first image, and the specific acquisition way may include, but is not limited to, at least one of the following:
(1) And controlling a camera arranged on the socket to collect the first image. In this case, the socket is provided with a camera which can directly acquire the image of the current user of the socket.
(2) And controlling a camera positioned in the area of the socket to acquire the first image. In specific implementation, the camera located in the area where the socket is located may be a video monitoring device located in a room where the socket is located, or may be a camera equipped on an intelligent home device located in the room where the socket is located.
Step S104, determining whether the current user belongs to a target group or not based on the first image.
In step S104, determining whether the current user belongs to the target group based on the first image may be achieved in various ways, for example, and may include, but is not limited to, at least one of:
(1) And matching the first image with a preset user blacklist to determine whether the current user belongs to a target group, wherein the user blacklist comprises a second image of the target group acquired in advance. In this manner, it is determined that the current user belongs to the target group in the case of successful matching, and it is determined that the current user does not belong to the target group in the case of unsuccessful matching. In practical application, a user may set a group (for example, a child) in which a potential safety hazard may exist when the socket is used at home in a user blacklist, and once it is determined that the first image is successfully matched with the second image in the user blacklist, it is determined that the current user is a target group, and further, the socket needs to be disconnected for power supply.
(2) And matching the first image with a preset user white list to determine whether the current user belongs to a target group, wherein the user white list comprises a third image which is collected in advance and is not in the target group. In this manner, it is determined that the current user does not belong to the target group if the matching is successful, and it is determined that the current user belongs to the target group if the matching is unsuccessful. In practical applications, the user may set a group (e.g., adult) allowed to use the socket in the home in the user white list, and once it is determined that the first image is not matched with the third image in the user white list successfully, it is determined that the current user is the target group, and the socket power supply needs to be cut off.
(3) And identifying the first image through an identification model to determine whether the current user belongs to a target group, wherein the identification model is based on facial features or height features. In this manner, the face feature or the height feature of the current user in the first image may be identified by the identification model based on the first image, and it may be determined whether the face feature of the current user in the first image matches the face feature of the target group, or it may be determined whether the height feature of the current user in the first image matches the height feature of the target group, so as to identify whether the current user belongs to the target group. Once it is recognized that the facial or height features of the current user in the first image are consistent with the facial or height features of the target group or the matching degree is higher than the threshold value, the current user is determined to be the target group, and the socket power supply needs to be disconnected.
It should be noted that, the above ways of determining whether the current user belongs to the target group based on the first image may be combined with each other. For example, the mode (1) may identify whether a child uses a socket at home, but cannot shield visitors, and may also cause a safety hazard, and the mode (2) or (3) may be further supplemented on the basis of the mode (1). For another example, the manner (2) may identify a family adult, but for a family adult, the outlet cannot be normally used because it is not set in the white list, in which case the manner (1) or (3) may be further supplemented on the basis of the manner (2).
And S106, controlling the socket to cut off power supply under the condition that the current user is determined to belong to the target group.
In practical applications, a disconnection instruction may be sent to a power supply control module of the socket, so as to control the socket to disconnect power supply.
In order to achieve more effective and accurate control and also provide better feedback to the user, in an exemplary embodiment of the present invention, the user may be notified of the use of the outlet, and further, feedback of the user may be received, so that further control is performed based on the feedback of the user. Fig. 3 is a first preferred flowchart of a power supply control method for an outlet according to embodiment 1 of the present invention, as shown in fig. 3, on the basis of fig. 2, the method may further include the following steps:
step S302, under the condition that the current user is determined to belong to the target group, sending predetermined information to a predetermined notification object, wherein the predetermined information comprises at least one of the following information: the first image and reminding information of the target group using the socket.
And step S304, executing further socket power supply control operation according to the message sent by the preset notification object in response to the preset information. For different messages sent by the predetermined notification object in response to the predetermined information, there may be several cases:
s304-1, under the condition of receiving a power-off confirmation message sent by the preset notification object, keeping the power supply off state of the socket;
s304-2, controlling the socket to recover power supply under the condition of receiving a power re-supply message sent by the preset notification object;
s304-3, under the condition that the power-off confirmation message and the power-re-supply message sent by the preset notification object are not received within the preset time, the power-off state of the socket is kept.
By the method, the service efficiency of the socket can be improved as much as possible on the premise of ensuring the safety of the current user of the socket.
In order to improve the security of the target group and improve the use experience of the user, in an exemplary embodiment of the present invention, a smart home device such as a television, a sound box, or the like may be further activated to attract the attention of the target group, guide the target group to a place far away from the socket, or perform a test on the target group by using the smart home device that can interact to determine whether the mind of the target group meets the condition of using the socket. Fig. 4 is a second preferred flowchart of a power supply control method of an outlet according to embodiment 1 of the present invention, as shown in fig. 4, on the basis of fig. 2, at least one of the following steps may be further included:
step S402, under the condition that the current user is determined to belong to the target group, controlling a first preset intelligent household device to start, wherein the first preset intelligent household device has an audio and/or video output function.
Step S404, under the condition that the current user is determined to belong to the target group, controlling a second preset intelligent household device to start, wherein the second preset intelligent household device has a human-computer interaction function; sending test information to the current user through the second preset intelligent household equipment, and receiving reply information given by the current user; and determining whether the current user passes the test or not according to the test information and the reply information, and controlling the socket to recover power supply under the condition of passing the test.
Steps S402 and S404 may be executed when it is determined that the current user belongs to the target group, or may be executed when the power-off confirmation message and the power-re-supply message sent by the predetermined notification object are not received within a predetermined time period, which is not limited in the present invention.
It should be noted that the above steps may be performed by the same or different devices, for example, they may be performed by the control device or the socket, or they may be performed by being distributed on different control devices and sockets. For example, step S202 may be performed by an outlet or a control device, step S204 may be performed by a control device, step S206 may be performed by a control device, step S302 may be performed by a control device, step S304 may be performed by a control device, and steps S402 and S404 may be performed by a control device. Wherein the control means may comprise at least one of: the intelligent home equipment comprises a cloud server, intelligent home equipment with the function of controlling other intelligent home equipment, central control equipment specially used for controlling the intelligent home equipment and the like.
According to the scheme in the embodiment, the first image of the current user of the socket is obtained firstly, then whether the current user belongs to the target group or not is determined based on the first image, and the socket is controlled to be powered off under the condition that the current user is determined to belong to the target group. Through the scheme, at least one of the problems of reducing the electric shock risk of a child in the using process of the socket and improving the using efficiency of the socket under the condition of ensuring safety can be solved, the scheme can effectively avoid electric shock of a target group such as the child in the using process of the socket, and the using efficiency of the socket can be improved to a certain extent.
In addition, in some exemplary embodiments of this embodiment, when it is determined that the current user of the socket is the target group, a prompt message and a collected picture are sent to a predetermined notification object (for example, a child guardian), so that the child guardian further determines whether to power off or not, or whether to power on or not according to an actual situation, and the like, so that finer control is achieved according to the needs of the user, and user experience is improved.
In addition, in some exemplary embodiments, attention of a current user of the socket can be attracted by turning on a television, a sound box and other intelligent household equipment, safety is improved, in addition, intelligence tests can be performed on children to determine whether power is supplied, and the use efficiency of the socket is improved.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
The embodiment also provides an operating system of the internet of things, which is used for implementing the above embodiments and preferred embodiments, and the description of the operating system of the internet of things is omitted. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. Although the means described in the embodiments below are preferably implemented in software, an implementation in hardware, or a combination of software and hardware is also possible and contemplated.
Fig. 5 is a block diagram of an operating system of the internet of things according to embodiment 2 of the present invention, and as shown in fig. 5, the operating system of the internet of things includes:
an image acquisition module 52 configured to acquire a first image, wherein the first image is an image of a current user of the receptacle;
an identification module 54 configured to determine whether the current user belongs to a target group based on the first image;
a power-off control module 56 configured to control the outlet to turn off power supply if the identification module 54 determines that the current user belongs to the target group. In practical applications, the power failure control module 56 may send a power failure command to the power supply control module of the outlet, so as to control the outlet to disconnect the power supply.
The image acquisition module 52 may acquire the first image in a variety of ways, the image acquisition module 52 being configured to perform at least one of:
(1) Controlling a camera arranged on the socket to acquire the first image; in this case, the socket is provided with a camera which can directly acquire the image of the current user of the socket.
(2) And controlling a camera positioned in the area of the socket to acquire the first image. In specific implementation, the camera located in the area where the socket is located may be a video monitoring device located in a room where the socket is located, or may be a camera equipped on an intelligent home device located in the room where the socket is located.
The identification module 54 is configured to perform at least one of:
(1) And matching the first image with a preset user blacklist to determine whether the current user belongs to a target group, wherein the user blacklist comprises second images of the target group acquired in advance. In this manner, it is determined that the current user belongs to the target group in the case of successful matching, and it is determined that the current user does not belong to the target group in the case of unsuccessful matching. In practical application, a user may set a group (for example, a child) in which a potential safety hazard may exist when the socket is used at home in a user blacklist, and once it is determined that the first image is successfully matched with the second image in the user blacklist, it is determined that the current user is a target group, and further, the socket needs to be disconnected for power supply.
(2) And matching the first image with a preset user white list to determine whether the current user belongs to a target group, wherein the user white list comprises a third image which is collected in advance and is not in the target group. In this manner, it is determined that the current user does not belong to the target group if the matching is successful, and it is determined that the current user belongs to the target group if the matching is unsuccessful. In practical applications, the user may set a group (e.g., adult) allowed to use the socket in the home in the user white list, and once it is determined that the first image is not matched with the third image in the user white list successfully, it is determined that the current user is the target group, and the socket power supply needs to be cut off.
(3) And identifying the first image through an identification model to determine whether the current user belongs to a target group, wherein the identification model is based on facial features or height features. In this manner, the face feature or the height feature of the current user in the first image may be identified by the identification model based on the first image, and it may be determined whether the face feature of the current user in the first image matches the face feature of the target group, or it may be determined whether the height feature of the current user in the first image matches the height feature of the target group, so as to identify whether the current user belongs to the target group. Once it is recognized that the facial or height features of the current user in the first image are consistent with the facial or height features of the target group or the matching degree is higher than the threshold value, the current user is determined to be the target group, and the socket power supply needs to be disconnected.
It should be noted that, the above manners for determining whether the current user belongs to the target group based on the first image may be combined with each other. For example, the mode (1) may identify whether a child uses a socket in the home, but cannot shield visitors, and may also cause a safety hazard, and the mode (2) or (3) may be further supplemented on the basis of the mode (1). For another example, the manner (2) may identify a family adult, but for a family adult, the outlet cannot be normally used because it is not set in the white list, in which case the manner (1) or (3) may be further supplemented on the basis of the manner (2).
Fig. 6 is a first preferred structural block diagram of an internet of things operating system according to embodiment 2 of the present invention, as shown in fig. 6, on the basis of fig. 5, the method may further include: a sending module 62, a receiving module 64 and a relay control module 66.
The sending module 62 is configured to send predetermined information to a predetermined notification object in a case that the identifying module 54 determines that the current user belongs to the target group, where the predetermined information includes at least one of: the first image and reminding information of the target group using the socket.
The receiving module 64 is configured to receive a power-off confirmation message and/or a power-back message sent by the predetermined notification object after the sending module 62 sends the predetermined information to the predetermined notification object, wherein,
the power-off control module 56 is configured to maintain the power-off state of the receptacle in case the power-off confirmation message is received by the receiving module 62; and/or the presence of a gas in the gas,
the relay control module 66 is configured to control the receptacle to resume power supply if the receiving module 62 receives the power re-supply message; and/or the presence of a gas in the gas,
the power-off control module 56 is configured to maintain the receptacle powered-off state if the power-off confirmation message and the power-back message are not received by the receiving module 62 within a predetermined time period.
By the method, the service efficiency of the socket can be improved as much as possible on the premise of ensuring the safety of the current user of the socket.
Fig. 7 is a second preferred structural block diagram of an operating system of the internet of things according to embodiment 2 of the present invention, as shown in fig. 7, on the basis of fig. 5, the second preferred structural block diagram may further include: a start control module 72 configured to perform at least one of:
controlling a first predetermined smart home device to start when the identification module 54 determines that the current user belongs to the target group, wherein the first predetermined smart home device has an audio and/or video output function;
controlling a second preset intelligent household device to start under the condition that the identification module 54 determines that the current user belongs to the target group, wherein the second preset intelligent household device has a human-computer interaction function; sending test information to the current user through the second preset intelligent household equipment, and receiving reply information given by the current user; and determining whether the current user passes the test or not according to the test information and the reply information, and controlling the socket to recover power supply under the condition of passing the test.
According to the scheme in the embodiment, a first image of a current user of the socket is obtained firstly, whether the current user belongs to a target group or not is determined based on the first image, and the socket is controlled to be powered off under the condition that the current user is determined to belong to the target group. Through the scheme, at least one of the problems of reducing the electric shock risk of a child in the using process of the socket and improving the using efficiency of the socket under the condition of ensuring safety can be solved, the scheme can effectively avoid electric shock of a target group such as the child in the using process of the socket, and the using efficiency of the socket can be improved to a certain extent.
In addition, in some exemplary embodiments of this embodiment, when it is determined that the current user of the socket is the target group, a prompt message and a collected picture are sent to a predetermined notification object (for example, a child guardian), so that the child guardian further determines whether to power off or not, or whether to power on or not according to an actual situation, and the like, so that finer control is achieved according to the needs of the user, and user experience is improved.
In addition, in some exemplary embodiments, the attention of the current user of the socket can be attracted by turning on smart home devices such as a television and a sound box, so that the safety is improved, and in addition, the intelligent test can be performed on children to determine whether to supply power or not, so that the use efficiency of the socket is improved.
It should be noted that the modules may be located in the same or different devices, and each module may be located on a control device or a socket, or may be distributed between different control devices and sockets. For example, the image acquisition module 52 may be located on a socket or on a control device, the identification module 54 may be located on a control device, the power-off control module 56 may be located on a control device, the transmit module 62 and receive module 64 may be located on a control device, the relay control module 66 may be located on a control device, and the start control module 72 may be located on a control device. Wherein the control means may comprise at least one of: the intelligent home equipment comprises a cloud server, intelligent home equipment with the function of controlling other intelligent home equipment, central control equipment specially used for controlling the intelligent home equipment and the like.
It should be noted that the above modules may be implemented by software or hardware, and for the latter, the following may be implemented, but not limited to: the modules are all positioned in the same processor; alternatively, the modules are respectively located in different processors in any combination.
Example 3
In order to effectively solve at least one of the problems of how to reduce the risk of electric shock of a child in the using process of the socket and improve the using efficiency of the socket under the condition of ensuring safety, the embodiment provides a power supply control scheme of the socket, wherein whether the intelligent socket is a target group such as the child or not is identified by acquiring an image of a user of the intelligent socket, if so, the intelligent socket is powered off, and a prompt message and an acquired image are sent to a child guardian. The structure of the operating system of the internet of things for implementing the power supply control scheme is described in detail below.
Fig. 8 is a schematic diagram of an operating system of the internet of things according to embodiment 3 of the present invention. As shown in fig. 8, the operating system of the internet of things in the embodiment includes an image acquisition module 81, a recognition module 82, a power-off control module 83, a sending module 84, a receiving module 85, and a relay control module 86.
The image capture module 81 may be a camera that can be used to capture an image of the socket user, such as a facial image or an overall height image. Fig. 9 is a schematic diagram of an arrangement of an image capturing module 81 according to embodiment 3 of the present invention, and as shown in fig. 9, the image capturing module 81 may be arranged on a smart socket. It should be understood by those skilled in the art that the image capturing module 81 may be disposed on other intelligent devices, and only needs to capture the face image or the entire height image of the user.
The identification module 82 identifies whether the user of the smart socket belongs to a target group, such as a child, based on the image captured by the image capture module 81. In practical applications, there are several general ways to identify whether a target group is identified according to the acquired image:
the first method is as follows: the acquired image (referred to as a first image) is compared with a previously acquired and stored image (referred to as a second image) to determine whether the target population is present.
It should be noted that a second image of the target group may be collected and stored in advance, so that a blacklist of the user is established by using the second image, and when the first image is matched with the second image, the user is indicated as the target group on the blacklist (blacklist mode). Of course, considering that the face and height of the target group such as children change faster than those of adults, a second image of a user (such as a guardian of a child) outside the target group may be collected and stored in advance, so that a white list of the user may be established by using the second image, and when the first image matches with the second image, the user is indicated as a user on the white list, whereas when the first image does not match with the second image, the user may be indicated as a target group such as children (white list mode).
The second method is as follows: the face image or the entire height image collected by the image collecting module 81 is identified by an identification model, so as to determine whether the user of the smart socket is a target group.
The face image and the overall height image of the target group such as a child have a certain difference, such as a low height, compared with other groups such as an adult. A recognition model for recognizing the target group may be established in advance, and the acquired face image or the entire height image may be recognized by the recognition model to determine whether the user is the target group.
In practical application, the first mode and the second mode can be combined for use, for example, when the first mode and the second mode are used for recognition, if the recognition user is not the target group, the second mode and the third mode can be further used for recognition, so that false recognition caused by the fact that some target groups do not acquire images in advance to establish the second blacklist can be prevented, and the recognition accuracy is improved. For example, the children who cross the door do not collect images to establish a blacklist, and the blacklist and the mode are combined to avoid the false recognition in the scene.
The method can also be used for carrying out recognition by adopting a white list in the first method, and if the user is not recognized as a user outside the target group (namely, the recognition result is 'possibly the target group'), the method can also be used for carrying out recognition by adopting a recognition model in the second method, so that the recognition error caused by the collection missing in advance can be prevented, and the recognition accuracy is further improved.
When the recognition module 82 recognizes that the user belongs to the target group, the smart socket is controlled to be powered off by the power-off control module 83, thereby preventing the user from getting an electric shock, or when the recognition module 82 recognizes that the user does not belong to the target group, the user may not be treated.
The internet of things operating system further comprises a sending module 84, and when the identification module 82 identifies that the user belongs to the target group, the sending module 84 sends a prompt message and an image collected by the image collecting module 81 to the child guardian, so that the child guardian is reminded on the one hand, the child may use the smart socket, and on the other hand, the child guardian can judge whether the child is the target group by checking the image collected by the collecting module 81, and decide whether to supply power to the smart socket. The child guardian can perform different operations with respect to the received prompting message and the image.
(1) The child guardian can confirm the power failure. When the child is too small in age or the power of the device is high, the child guardian can decide not to supply power to the smart socket again, and the child guardian can confirm the power failure of the power failure control module 83 through the feedback message.
(2) The child guardian can also determine to re-supply power to the smart socket according to the condition of the user (for example, the user charges a small-power device such as a mobile phone, or the user has certain self-care capability). For example, when a child has a certain level of self-care ability, particularly when the child charges only some small devices (such as a mobile phone and Ipad), the risk of electric shock is low. At this moment, the child guardian can decide whether the intelligent socket supplies power according to the image acquired by the acquisition module 81, so that the utilization efficiency of the intelligent socket is improved under the condition of ensuring no electric shock. When the child guardian decides to supply power to the smart socket, a feedback message of re-supplying power may be sent to the receiving module 85 of the operating system, so that the receiving module 85 of the operating system controls the smart socket to supply power again through the relay control module 86 after receiving the feedback message.
(3) The child guardian may not reply to the prompt message. When the child is too small in age or the power of the device is high, the child guardian can decide not to supply power to the smart socket again, and the child guardian does not need to process the power (does not reply to the message).
When the child guardian in (1) confirms that the power is off or the prompt message is not replied within a period of time (for example, 5 minutes) in (3), the attention of the child can be attracted by playing the child program such as the animation film by turning on the television, and as a preferable mode, the operating system can play the child program such as the animation film, the child education program for safe power utilization and the like by turning on the television, so that the attention of the child is attracted, and the child is prevented from continuously using the intelligent socket.
As described in (3), under the condition that the child guardian does not reply to the prompt message within a period of time, after the television is turned on to play the children programs such as animation and the like, the child guardian can also provide options of an intelligence test game on the playing picture, so as to test the intelligence of the child user (because the intelligence can reflect the age and self-care ability of the child to a certain extent), so that the child can continue to supply power to the smart socket under the condition of passing the intelligence test (for example, the score of the test exceeds a threshold), wherein when the child can pass the intelligence test, it is reflected that the child has a certain self-care ability (for example, 10 years old), and the power supply can be performed. The intelligence test can be in the form of pattern recognition, or the confirmation of the running state of the household appliance, and the like.
The method and the operating system in the scheme can be applied to control power supply of the smart socket, and the operating system and the method can be used in combination with specific hardware equipment or a server, for example, the image acquisition module 81 is arranged on the smart socket, the identification module 82 is arranged on the server, images can be quickly and accurately identified through high operation performance of the server, other modules can be similarly arranged on different hardware equipment, and the scheme in the embodiment is realized through matching of a plurality of devices. On the other hand, by combining these hardware devices, the commercial value of these hardware devices can also be increased.
Compared with the mode that the plug cap blocks the jack in the related technology, the Internet of things operating system provided by the embodiment of the invention does not influence normal use of the intelligent socket by users outside a target group and improves the utilization rate of the intelligent socket, and can better reduce electric shock risks by protecting in a power-off mode when the users are identified to belong to the target group. When the target group has certain self-care capacity, power is supplied according to the confirmation of parents, and the utilization rate of the intelligent socket is improved.
It will be apparent to those skilled in the art that the modules or steps of the present invention described above may be implemented by a general purpose computing device, they may be centralized on a single computing device or distributed across a network of multiple computing devices, and alternatively, they may be implemented by program code executable by a computing device, such that they may be stored in a storage device and executed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple ones of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the principle of the present invention should be included in the protection scope of the present invention.

Claims (12)

1. A method for controlling power supplied to a receptacle, comprising:
acquiring a first image, wherein the first image is an image of a current user of the socket;
determining whether the current user belongs to a target group based on the first image;
under the condition that the current user is determined to belong to the target group, controlling the socket to cut off power supply;
determining whether the current user belongs to a target group based on the first image includes at least one of:
matching the first image with a preset user blacklist to determine whether the current user belongs to a target group, wherein the user blacklist comprises a second image of the target group acquired in advance;
matching the first image with a preset user white list to determine whether the current user belongs to a target group, wherein the user white list comprises a third image of a non-target group acquired in advance;
identifying the first image through an identification model to determine whether the current user belongs to a target group, wherein the identification model is based on facial features or height features;
the method further comprises the following steps:
in case that it is determined that the current user belongs to the target group and/or the power-off confirmation message and the power-off re-supply message transmitted from the predetermined notification object are not received within the predetermined time period,
controlling second preset intelligent household equipment to start, wherein the second preset intelligent household equipment has a human-computer interaction function;
sending test information to the current user through the second preset intelligent household equipment, and receiving reply information given by the current user;
and determining whether the current user passes the test or not according to the test information and the reply information, and controlling the socket to recover power supply under the condition of passing the test.
2. The method of claim 1, wherein acquiring the first image comprises at least one of:
controlling a camera arranged on the socket to acquire the first image;
and controlling a camera positioned in the area of the socket to acquire the first image.
3. The method according to any one of claims 1-2, further comprising:
in the case that the current user is determined to belong to the target group, sending predetermined information to a predetermined notification object, wherein the predetermined information includes at least one of: the first image and reminding information of the target group using the socket.
4. The method of claim 3, further comprising, after sending the predetermined information to the predetermined notification object, at least one of:
under the condition of receiving a power-off confirmation message sent by the preset notification object, keeping the power-off state of the socket;
controlling the socket to recover power supply under the condition of receiving a power re-supply message sent by the preset notification object;
and under the condition that the power-off confirmation message and the power-on resuming message sent by the preset notification object are not received within a preset time, the socket is kept in the power-off state.
5. The method of any of claims 1-2, further comprising:
and under the condition that the current user is determined to belong to the target group, controlling first preset intelligent household equipment to start, wherein the first preset intelligent household equipment has an audio and/or video output function.
6. An operating system of the internet of things, comprising:
an image acquisition module configured to acquire a first image, wherein the first image is an image of a current user of the socket;
an identification module configured to determine whether the current user belongs to a target group based on the first image;
the power-off control module is used for controlling the socket to cut off power supply under the condition that the identification module determines that the current user belongs to the target group;
the identification module is configured to perform at least one of: matching the first image with a preset user blacklist to determine whether the current user belongs to a target group, wherein the user blacklist comprises a second image of the target group acquired in advance; matching the first image with a preset user white list to determine whether the current user belongs to a target group, wherein the user white list comprises a third image of a non-target group acquired in advance; identifying the first image through an identification model to determine whether the current user belongs to a target group, wherein the identification model is based on facial features or height features;
a start control module configured to perform: controlling second preset intelligent household equipment to start under the condition that the identification module determines that the current user belongs to the target group and/or does not receive a power-off confirmation message and a power-re-supply message sent by a preset notification object within a preset time, wherein the second preset intelligent household equipment has a man-machine interaction function; sending test information to the current user through the second preset intelligent household equipment, and receiving reply information given by the current user; and determining whether the current user passes the test or not according to the test information and the reply information, and controlling the socket to recover power supply if the current user passes the test.
7. The internet of things operating system of claim 6, wherein the image acquisition module is configured to perform at least one of:
controlling a camera arranged on the socket to acquire the first image;
and controlling a camera positioned in the area of the socket to acquire the first image.
8. The internet of things operating system of any one of claims 6 to 7, further comprising:
a sending module configured to send predetermined information to a predetermined notification object when the identification module determines that the current user belongs to the target group, wherein the predetermined information includes at least one of: the first image and reminding information of the target group using the socket.
9. The internet of things operating system of claim 8, further comprising: a receiving module and a relay control module, wherein,
the receiving module is configured to receive a power-off confirmation message and/or a power-re-supply message sent by the predetermined notification object after the sending module sends the predetermined information to the predetermined notification object, wherein,
the power-off control module is configured to maintain a power-off state of the socket when the power-off confirmation message is received by the receiving module; and/or the presence of a gas in the atmosphere,
the relay control module is configured to control the socket to resume power supply when the receiving module receives the power re-supply message; and/or the presence of a gas in the gas,
the power-off control module is configured to maintain the power-off state of the outlet if the power-off confirmation message and the power-re-supply message are not received by the receiving module within a predetermined time period.
10. The internet of things operating system of claim 6, wherein the boot control module is further configured to perform:
and under the condition that the identification module determines that the current user belongs to the target group, controlling first preset intelligent household equipment to start, wherein the first preset intelligent household equipment has an audio and/or video output function.
11. A storage medium, in which a computer program is stored, wherein the computer program is arranged to perform the method of any of claims 1 to 5 when executed.
12. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, and wherein the processor is arranged to execute the computer program to perform the method of any of claims 1 to 5.
CN201910920237.4A 2019-09-26 2019-09-26 Power supply control method of socket and Internet of things operating system Active CN110673500B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910920237.4A CN110673500B (en) 2019-09-26 2019-09-26 Power supply control method of socket and Internet of things operating system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910920237.4A CN110673500B (en) 2019-09-26 2019-09-26 Power supply control method of socket and Internet of things operating system

Publications (2)

Publication Number Publication Date
CN110673500A CN110673500A (en) 2020-01-10
CN110673500B true CN110673500B (en) 2023-03-28

Family

ID=69079479

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910920237.4A Active CN110673500B (en) 2019-09-26 2019-09-26 Power supply control method of socket and Internet of things operating system

Country Status (1)

Country Link
CN (1) CN110673500B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112200839A (en) * 2020-10-13 2021-01-08 西南交通大学 Infant protection socket based on image processing and protection method thereof
CN113163157A (en) * 2021-01-07 2021-07-23 万小平 Regional household environment monitoring platform and method
CN113762191A (en) * 2021-09-15 2021-12-07 珠海格力电器股份有限公司 Device for prompting user based on image, method and device for prompting user operation

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107732581A (en) * 2017-10-13 2018-02-23 车展交通器材(台山)有限公司 Anti-electric shock socket
CN207052881U (en) * 2016-12-12 2018-02-27 海格电气(惠州)有限公司 A kind of band children's safety rosette for lock
CN107976953A (en) * 2017-11-21 2018-05-01 北京小米移动软件有限公司 Control method, apparatus, socket and the readable storage medium storing program for executing of socket
CN109255934A (en) * 2018-10-08 2019-01-22 蔡剑红 A kind of intelligence children's monitoring method and wearable device
CN110263759A (en) * 2019-07-01 2019-09-20 三星电子(中国)研发中心 Protection against electric shock system, method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20170264059A1 (en) * 2016-03-13 2017-09-14 Scott E. Cote Powered wall plate system for an electrical outlet

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN207052881U (en) * 2016-12-12 2018-02-27 海格电气(惠州)有限公司 A kind of band children's safety rosette for lock
CN107732581A (en) * 2017-10-13 2018-02-23 车展交通器材(台山)有限公司 Anti-electric shock socket
CN107976953A (en) * 2017-11-21 2018-05-01 北京小米移动软件有限公司 Control method, apparatus, socket and the readable storage medium storing program for executing of socket
CN109255934A (en) * 2018-10-08 2019-01-22 蔡剑红 A kind of intelligence children's monitoring method and wearable device
CN110263759A (en) * 2019-07-01 2019-09-20 三星电子(中国)研发中心 Protection against electric shock system, method and apparatus

Also Published As

Publication number Publication date
CN110673500A (en) 2020-01-10

Similar Documents

Publication Publication Date Title
CN110673500B (en) Power supply control method of socket and Internet of things operating system
EP2942716B1 (en) Sim card hot-plug guard and sim card on-site shutdown swipe-card method, and terminal
CN110087131A (en) TV control method and main control terminal in television system
CN109036378A (en) Home appliance voice recognizing test method, device, system and storage medium
CN115050126B (en) Smart dormitory safety management method, smart dormitory safety management device and storage medium
CN111754657A (en) Smart home visitor management method, storage medium, electronic device and system
CN114338585A (en) Message pushing method and device, storage medium and electronic device
CN113283350A (en) Operation event prompting method and device, storage medium and electronic device
CN109462093A (en) A kind of intelligent socket control system preventing children from getting electric shock
CN112765574B (en) Identity verification method and device, system, power equipment and storage medium
CN112319297A (en) Automatic intelligent electric motor car charger of outage
CN111076347A (en) Air conditioner control method and device, storage medium and air conditioner
CN112214094B (en) Method and equipment for coping with power supply jitter of hard disk
CN104539808A (en) Unexpected shutdown information feedback method and device
CN115019229A (en) Method and device for monitoring use state of electronic product
CN114624569A (en) Sensor circuit abnormality detection method, circuit, device, intelligent device, and medium
CN114782704A (en) Method and device for determining state information, storage medium and electronic device
US10664930B2 (en) Device for powering an electrical appliance
CN116700022A (en) Electric shock prevention prompting method and device for intelligent home system and intelligent home system
CN113960930A (en) Communication method, device and equipment between intelligent household control panels
CN111772536A (en) Cleaning equipment and monitoring method and device applied to cleaning equipment
CN114280948B (en) Equipment operation method and device, storage medium and electronic device
CN110601306A (en) Charging method of mobile power supply leasing equipment and mobile power supply
CN211244387U (en) Control device of massage chair
CN111029825B (en) Socket, electrical appliance, power protection method and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant