WO2016119494A1 - 智能插座开关控制方法和装置 - Google Patents

智能插座开关控制方法和装置 Download PDF

Info

Publication number
WO2016119494A1
WO2016119494A1 PCT/CN2015/093070 CN2015093070W WO2016119494A1 WO 2016119494 A1 WO2016119494 A1 WO 2016119494A1 CN 2015093070 W CN2015093070 W CN 2015093070W WO 2016119494 A1 WO2016119494 A1 WO 2016119494A1
Authority
WO
WIPO (PCT)
Prior art keywords
timing
instruction
identifier
time
smart socket
Prior art date
Application number
PCT/CN2015/093070
Other languages
English (en)
French (fr)
Inventor
刘鑫
梁越
侯恩星
Original Assignee
小米科技有限责任公司
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 小米科技有限责任公司 filed Critical 小米科技有限责任公司
Priority to BR112016006211-6A priority Critical patent/BR112016006211B1/pt
Priority to JP2016571463A priority patent/JP6352451B2/ja
Priority to MX2016001548A priority patent/MX354263B/es
Priority to RU2016110980A priority patent/RU2644817C2/ru
Priority to KR1020157036628A priority patent/KR101858330B1/ko
Publication of WO2016119494A1 publication Critical patent/WO2016119494A1/zh

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
    • G05FSYSTEMS FOR REGULATING ELECTRIC OR MAGNETIC VARIABLES
    • G05F1/00Automatic systems in which deviations of an electric quantity from one or more predetermined values are detected at the output of the system and fed back to a device within the system to restore the detected quantity to its predetermined value or values, i.e. retroactive systems
    • G05F1/10Regulating voltage or current
    • G05F1/625Regulating voltage or current wherein it is irrelevant whether the variable actually regulated is ac or dc
    • 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/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • H04L67/125Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/28Timers or timing mechanisms used in protocols
    • 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/10Plc systems
    • G05B2219/16Plc to applications
    • G05B2219/163Domotique, domestic, home control, automation, smart, intelligent house
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R13/00Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
    • H01R13/66Structural association with built-in electrical component
    • H01R13/665Structural association with built-in electrical component with built-in electronic circuit
    • H01R13/6691Structural association with built-in electrical component with built-in electronic circuit with built-in signalling means
    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01RELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
    • H01R24/00Two-part coupling devices, or either of their cooperating parts, characterised by their overall structure
    • H01R24/76Two-part coupling devices, or either of their cooperating parts, characterised by their overall structure with sockets, clips or analogous contacts and secured to apparatus or structure, e.g. to a wall

Definitions

  • the present disclosure relates to a smart home, and more particularly to a smart socket switch control method and apparatus.
  • the smart socket usually refers to the built-in Wi-FI module, which can remotely control the power-off socket through the client of the smartphone.
  • the mobile terminal can set the timing information of the socket, for example, execute the corresponding timing instruction at a certain timing ( On or off, the user can conveniently control the electrical equipment (such as a water heater) inserted into the smart socket.
  • the present disclosure provides a smart socket switch control method and apparatus to improve the reliability of smart socket switch control.
  • a smart socket switch control method the method being performed by a control device, the control device being wirelessly connected to a smart socket;
  • timing information for performing switch control on the smart socket including: a timing time and a timing instruction corresponding to the timing time;
  • a timing instruction corresponding to the timing time is sent to the smart socket, and the timing instruction is used to control the smart socket to control current on/off according to the timing instruction.
  • a smart socket switch control method the method being performed by a smart socket, comprising:
  • timing instruction for performing switch control, where the timing instruction is stored in the smart socket or a control device, and the control device is wirelessly connected to the smart socket;
  • the current is controlled to be turned on and off.
  • a smart socket switch control device the device being disposed on a smart socket, comprising:
  • An instruction acquisition module configured to acquire a timing instruction for performing switch control, where the timing instruction is stored in the smart socket or a control device, and the control device is wirelessly connected to the smart socket;
  • a switch control module configured to control current on and off according to the timing instruction.
  • a control device the control device being wirelessly connected to a smart socket
  • a memory for storing processor executable instructions
  • the processor is configured to: receive timing information for performing switch control on the smart socket, the timing information including: a timing time and a timing instruction corresponding to the timing time; and reaching the current time when the current time is detected At the time of the timing, a timing instruction corresponding to the timing time is sent to the smart socket, so that the smart socket controls the current on and off according to the timing instruction.
  • a smart socket including:
  • a memory for storing processor executable instructions
  • the processor is configured to: acquire a timing instruction for performing switch control, the timing instruction is stored in the smart socket or a control device, and the control device is wirelessly connected to the smart socket; according to the timing Command to control current on and off.
  • the technical solution provided by the embodiment of the present disclosure may include the following effects: the timing instruction is sent to the socket by the control device wirelessly connected to the smart socket, or the timing instruction is acquired by the smart socket itself to perform the switch control, which makes the smart socket
  • the switch control is no longer dependent on the server.
  • the fault state of the wired network connected to the server does not affect the command transmission to the socket.
  • the socket can receive the wireless control device ( For example, the router or the instructions of the socket itself, so that the switch is normally turned on, improves the reliability of the smart socket switch control.
  • FIG. 1 is an application scenario diagram of a smart socket switch control method according to an exemplary embodiment
  • FIG. 2 is a flowchart of a smart socket switch control method according to an exemplary embodiment
  • FIG. 3 is a flowchart of another smart socket switch control method according to an exemplary embodiment
  • FIG. 4 is a flowchart of still another smart socket switch control method according to an exemplary embodiment
  • FIG. 5 is a flow chart showing an application of a smart socket switch control method according to an exemplary embodiment
  • FIG. 6 is a block diagram of a smart socket switch control apparatus according to an exemplary embodiment
  • FIG. 7 is another application flow diagram of a smart socket switch control method according to an exemplary embodiment
  • FIG. 8 is a structural diagram of a smart socket switch control apparatus according to an exemplary embodiment
  • FIG. 9 is a block diagram of a smart socket switch control apparatus according to an exemplary embodiment.
  • FIG. 10 is a block diagram of another smart socket switch control apparatus according to an exemplary embodiment
  • FIG. 11 is a block diagram of a control device, according to an exemplary embodiment.
  • Smart Socket is a simple and practical smart item. Usually, the Wi-FI module is built in. Users can remotely control the on/off current of the socket through the smartphone client.
  • Figure 1 shows an example of an optional scenario. The control principle of the smart socket.
  • the smart socket 11 can be connected to a power device.
  • the rice cooker 12 is inserted into the socket, and the user controls the smart socket through a client (such as a home control APP) on the smart phone 13 of the user.
  • the current of 11 is turned on and off (ie, the control socket switch), so that the rice cooker 12 is in an active state or a power-off state, and intelligent control of the electric equipment is realized.
  • the process of controlling the socket of the mobile phone client is as follows: the user can set timing information for performing switch control on the smart socket through the client on the smart phone 13, and the timing information may include: a timing time and a timing corresponding to the timing time. instruction. It should be noted that the timing information may include not only the timing time and the timing instruction, but also other content, such as the timing identifier, which is not limited in this embodiment. Table 1 below illustrates a timing message:
  • the timing information may include a timing ID (ie, a timing identifier), which is equivalent to setting a number for each timing time and a corresponding timing instruction, wherein "on” in the timing instruction indicates that the socket is powered. "Off” means that the socket is powered off. This command can control the on/off current of the socket.
  • a timing ID ie, a timing identifier
  • On in the timing instruction indicates that the socket is powered.
  • Off means that the socket is powered off. This command can control the on/off current of the socket.
  • the above timing information is not necessarily stored in the form of a list shown in Table 1, and may be stored in other forms. Of course, the timing information may not include the timing identifier, and only includes the timing time and the timing instruction.
  • the timing information can be uploaded to the server 14 through the network (see the solid arrow path in FIG. 1), and the server 14 stores the timing information and can reach the timing time in the timing information.
  • the timing command corresponding to the timing time is transmitted to the smart socket 11 (the route router 15) through the dotted arrow path in FIG.
  • the server 14 detects the arrival timing time of 10:00, the timing command "OFF" is sent to the smart socket 11.
  • the embodiment does not limit the specific representation of the instruction, such as 00 for open and 01 for OFF.
  • the smart socket 11 will be powered off by the processor inside the socket according to the control circuit structure action.
  • the server 11 sends the timing instruction it may also contain other contents than the instruction, such as the timing ID. It can also be sent to the smart socket 11 along with the timing instructions.
  • the wired network between the router 15 and the server 14 may have a poor connection state of the network, such as a network disconnection, then the server's timing command may not be sent to the smart socket 11 at a timed time, possibly The safety of the electrical equipment connected to the socket is caused.
  • the smart socket switch control method of the embodiment of the present disclosure will improve the reliability of the smart socket switch control, so that the smart socket 11 can be timed even when the wired network between the router 15 and the server 14 fails. Power off, safe and reliable.
  • FIG. 2 illustrates a flow chart of a smart socket switch control method that may be performed by a control device connected to a smart socket via a local area network, for example, the control device may be a router. As shown in FIG. 2, it may include:
  • Timing information when detecting a current time arrival timing time, where the timing information includes: a bound smart socket, the timing time, and a timing instruction corresponding to the timing time;
  • the control device of the embodiment may receive timing information for performing switch control on the smart socket, the timing information including: a timing time and a timing instruction corresponding to the timing time, the timing information
  • the utility model may further comprise: a bound smart socket, wherein the timing time and the timing instruction are used to control the current limit of the bound smart socket.
  • the device identifier may be used in the timing information to indicate the bound smart socket, that is, the device identifier of the smart socket corresponding to the timing time and the timing command.
  • the router obtains the timing information, which may be sent by the server. As shown in FIG. 1, after the server 14 receives the timing information sent by the smartphone 13, the timing information can be forwarded to the router 15 through the dotted arrow path in FIG. 1, and the router 15 stores the timing information.
  • timing information corresponding to the timing time is acquired.
  • the router will perform time detection.
  • the router can acquire the timing information, including corresponding to the arrival timing time.
  • the device identification of the bound smart socket and the timing instruction corresponding to the timing time is acquired.
  • Timing instruction Send the timing instruction to the bound smart socket through a local area network, where the timing instruction is used to control the smart socket to control current on and off according to the timing instruction.
  • control device may send a timing instruction corresponding to the timing time to the bound smart socket through the local area network, and the timing instruction is used by the smart socket to control the current on/off according to the timing instruction. For example, when the router detects the arrival timing time of 10:00, according to the device identifier included in the timing information, the command "OFF" is sent to the smart socket 11 through the local area network corresponding to the device identification.
  • the control device sends a timing instruction to the smart socket through the local area network, and the instruction sending manner can make the transmission of the instruction more reliable.
  • the control device as a router as an example, the router and the smart socket are connected by a local area network, for example, a wireless connection.
  • the server cannot send a timing command to the smart socket normally, the router and the router
  • the network between the smart sockets can still transmit commands normally, thereby ensuring the timing switch of the smart socket and improving the reliability of the smart socket control.
  • the timing information corresponding to the multiple smart sockets may be stored on the same control device.
  • the timing information of the multiple smart sockets when the control device arrives at the timing time, the timing may be determined according to the timing.
  • the device identifier in the corresponding timing information determines a smart socket bound to the timing information, and sends a timing instruction to the socket.
  • the control device may send the timing instruction to each bound smart socket separately.
  • FIG. 3 illustrates a flowchart of a smart socket switch control method, which may be a flow of receiving an instruction executed by a smart socket, as shown in FIG. include:
  • control device when the control device is a router, a timing command is stored in the router, and the smart socket receives the timing command sent by the router when detecting the arrival of the timing time.
  • the smart socket controls the on and off of the current according to an instruction received from the router. For example, when the command is "off", the smart socket controls the internal circuit action to cut off the current.
  • FIG. 4 illustrates a flow chart of another smart socket switch control method that may be performed by a smart socket in which instructions acquired by the smart socket may be stored at the socket itself. as follows:
  • a smart socket stores a timing command, which may be stored in a memory in the socket.
  • timing information is stored in the memory, and the timing instruction is located in the timing information.
  • the timing information stored in the memory may be in the form shown in Table 1 above.
  • the smart socket can perform time detection to determine whether the current time reaches the timing time in the timing information stored in the memory.
  • the smart socket acquires the corresponding timing instruction in the timing information.
  • the smart socket switch control method of the embodiment of the present disclosure is to send a timing instruction to a smart socket through a local area network by a control device such as a router, or to perform current control according to a timing instruction by the smart socket itself, to get rid of the dependence on the server to send an instruction; even due to the network
  • the failure causes the server to fail to send commands to the socket, and the socket can also obtain timing instructions from the router or itself, thereby safely and reliably performing the switch control of the socket.
  • a timing command may be sent by a router to a smart socket, and the smart socket is switched on and off according to an instruction sent by the received router.
  • the process is as follows;
  • the control device receives the timing information and stores the information.
  • the router may be timing information sent by the receiving server, and the timing information includes a timing time and a timing instruction (as in the example of Table 1). When storing, the correspondence between the timing time and the timing instruction is also saved.
  • the timing information of the server can be received from the user's smartphone.
  • the control device acquires a timing instruction in the timing information when detecting the current time arrival timing time
  • the router can detect the current time in real time. If the current time reaches the timing time, for example, reaches 10:00, the router can obtain the timing instruction corresponding to the timing time from the stored timing information, for example, “off”; Moreover, the router can also obtain the device identifier of the bound smart socket in the timing information to know which smart socket is bound to the timing information.
  • the control device sends the timing instruction to the smart socket.
  • the router sends the detected timing command “off” to the smart socket corresponding to the device identifier according to the device identifier of the bound smart socket in the timing information; if the timing information is bound to multiple smart sockets, the router may Accordingly, the timing command is sent to each smart socket separately.
  • the timing command may be sent by an instruction identifier that can be understood by the smart socket, such as "01" to indicate the timing command "OFF".
  • the control device of the embodiment sends the timing command to the smart socket through the local area network, for example, by wirelessly transmitting the command.
  • the smart socket controls the current on and off according to the timing instruction.
  • the outlet will control the current to be disconnected.
  • the smart socket itself may also store timing information and the time is detected by the smart socket itself, which is executed when the timing time arrives.
  • the smart socket may include a communication module 61, a processor 62, and a memory 63. It may further include a circuit structure 64, which may be a relay circuit.
  • the memory 63 stores processor-executable logic instructions, and the processor 62 can execute the following processing by executing the logic instructions:
  • the communication module 61 may be a wifi module, and may receive timing information sent by the server, where the timing information includes a timing time and a timing instruction corresponding to the timing time, as shown in Table 1.
  • the processor 62 of the smart socket can send the timing information obtained by the communication module 61 to the memory 63 for storage.
  • the processor 62 can acquire a timing instruction corresponding to the timing time in the timing information from the memory 63 when the timing time arrives, and control the circuit structure 64 to perform current switching according to the instruction. For example, according to the command, the contacts of the relay are controlled to be closed, so that the socket has current flowing.
  • the processor 62 learns that the timing time arrives, which may be obtained by the processor itself, and when the current time reaches the timing time in the timing information stored in the memory, the timing instruction corresponding to the timing time is obtained from the memory; Or the processor is notified by the other timing module detection time arrival.
  • the method of time detection and command control by the smart socket itself will further get rid of the dependence on the network, regardless of whether the wired network or the wireless network is faulty.
  • the socket itself is switched on and off according to the timing command, and the reliability is high.
  • the smart socket can be set to time synchronization or time synchronization to devices such as servers or routers to obtain more accurate time.
  • the timing command received by the smart socket may include multiple copies.
  • timing information can be stored on three devices: a server, a router, and a smart socket, and each of the three devices detects time and sends a timing command, and the timing information and timing control are saved on the plurality of devices.
  • the method can make the reliability higher, as long as any device has a normal socket, the instruction can be obtained, and the detection of the timing time is more accurate; but in this way, the smart socket may acquire multiple copies of the same instruction, for example, when When the time is 10 o'clock, the server detects that the time arrives and sends an instruction to the socket.
  • the router also sends an instruction to the socket when the detection time arrives, and the socket itself acquires the instruction. In fact, the smart socket executes the instruction once, and the repeated Same finger Do not need to be executed, other identical instructions can be ignored.
  • timing information and timing control can be stored on both the smart socket and the router so that the socket receives multiple copies of the same command.
  • the method in this embodiment can ensure that the same instruction is executed only once.
  • the server, the router, and the smart socket store the timing information as an example.
  • the method may include:
  • the server sends the timing information to the router and the smart socket.
  • the server after receiving the timing information sent by the user through the smartphone client, the server itself stores the timing information, and the server can send the timing information to the router and the smart socket, and the router and the timing socket also store the timing. Information, and the timing information saved by these three devices is the same.
  • the timing information of the embodiment includes a timing identifier.
  • the timing information may include a timing ID, a timing time, and a timing instruction, and the three have a corresponding relationship.
  • the server side can store the timing information of the multiple smart sockets, the timing information may also include the device identifier of the smart socket corresponding to the timing information, for the server to identify the smart socket with the timing instruction and the timing time binding.
  • the smart socket stores the timing identifier in the received timing information in a timing identifier library.
  • timing identifier in the timing information is stored in a timing identifier library, and the timing identifier library stores a timing identifier corresponding to the timing instruction that is still valid, that is, not yet executed.
  • these timing identifiers can be stored as a list of timing IDs, as shown in Table 2 below:
  • the smart socket holds two pieces of information, one is timing information, similar to the example of Table 1, and the other is a list of timing IDs, similar to the example of Table 2.
  • the timing information of Table 1 is used by the socket to determine whether the timing time arrives and the timing instruction is obtained, and the table 2 is used by the socket to determine whether the timing ID corresponding to the received timing instruction is valid, and the instruction can be executed when valid.
  • the table 2 is used by the socket to determine whether the timing ID corresponding to the received timing instruction is valid, and the instruction can be executed when valid.
  • the smart socket receives the timing instruction sent by the router and the corresponding timing identifier.
  • the router and the server when any device detects the timing time in the timing information, a timing instruction is sent, and three devices may be simultaneously sent or acquired.
  • the socket receives the respective instructions in time as an example, and even if a plurality of instructions are received at the same time, the sockets are judged and processed one by one. It is assumed that the smart socket first receives the timing command sent by the router, and also carries the corresponding timing ID, and may also include other content, such as the device identifier, and will not be described in detail. Taking the instruction corresponding to the timing ID00000001 in Table 1 as an example, the timing ID received by the socket is 00000001.
  • the smart socket searches whether the timing identifier corresponding to the timing instruction is stored in the timing identifier database.
  • the timing ID received by the smart socket is 00000001, and the socket will check if the ID is in the list of Table 2. in. If it is still in the timing ID list, it indicates that the timing instruction corresponding to the ID has not been executed, and is still valid, then the smart socket continues to execute 705; otherwise, the timing instruction corresponding to the ID has been executed, and the instruction is ignored.
  • the smart socket deletes the ID from the timing ID list of the table 2, that is, the timing ID list stores only the timing identifier corresponding to the timing instruction that has not been executed yet.
  • the smart socket receives the timing instruction sent by the server and the corresponding timing identifier.
  • This step assumes that the timing command and the corresponding timing identifier sent by the smart socket and then the receiver to the server are the same as the information sent by the previous router, and are the same timing ID, 00000001.
  • the socket also needs to judge one by one, for example, first processing the router instruction according to the above 703-705, and then following 706 and 707. Process the instructions of the server.
  • the smart socket finds that the timing identifier is not in the timing identifier library, and ignores the timing instruction.
  • the smart socket also needs to follow the steps in 704 to find whether the timing identifier corresponding to the timing instruction is stored in the timing identifier library; since the socket has deleted the timing identifier from the timing ID list after executing the instruction in 705 Therefore, in this step, the socket will find that the timing ID00000001 is not in the timing ID list, and the socket can determine that the instruction corresponding to the ID has been executed according to this, ignoring that the instruction is not executed.
  • Figure 8 provides a block diagram of a smart socket switch control device that can be placed in a control device, such as a router.
  • the apparatus may include: an instruction acquisition module 81 and an instruction sending module 82; wherein
  • the instruction obtaining module 81 is configured to acquire the stored timing information when the current time arrival timing is detected, where the timing information includes: a bound smart socket, the timing time, and a timing instruction corresponding to the timing time;
  • the command sending module 82 is configured to send the timing instruction to the bound smart socket through a local area network, where the timing instruction is used to control the smart socket to control current on/off according to the timing instruction.
  • FIG. 9 provides a structural diagram of a smart socket switch control device that can be disposed on a smart socket such that the smart socket can perform the smart socket switch control method of the embodiments of the present disclosure.
  • the device can be a logic instruction stored in the smart socket memory of Figure 6, which can be executed by a processor call.
  • the device includes: an instruction receiving module 91 and a current control module 92; wherein
  • the instruction receiving module 91 is configured to acquire a timing instruction for controlling current on and off, the timing instruction is stored locally, or is stored in a control device that sends the timing instruction through a local area network; for example, the processor can obtain through the module Timing information received by the communication module to the smart socket.
  • the current control module 92 is configured to control the current on and off according to the timing instruction.
  • Figure 10 illustrates another smart socket switch control device structure, based on the structure shown in Figure 9, the device may further include: information receiving module 93;
  • the information receiving module 93 is configured to acquire timing information, where the timing information includes: a timing time, a timing instruction corresponding to the timing time, and a timing identifier; and the timing identifier is stored in the timing identifier library;
  • the instruction receiving module 91 is further configured to acquire the timing instruction when acquiring a timing instruction for controlling current on and off Corresponding timing identifier;
  • the current control module 92 is configured to search whether a timing identifier corresponding to the timing instruction is stored in the timing identifier library, and when the timing identifier library stores the timing identifier, control current switching according to the timing instruction, and The timing identifier corresponding to the timing instruction is deleted from the timing identifier library.
  • the processor can use the switch control module 82 to find out whether the timing identifier corresponding to the timing instruction is stored in a timing identification library in the memory.
  • the instruction receiving module 91 may include: a time detecting unit 911 and an instruction acquiring unit 912;
  • a time detecting unit 911 configured to detect a timing time in which the current time arrives in the stored timing information
  • the instruction obtaining unit 912 is configured to acquire a timing instruction corresponding to the timing time in the timing information.
  • FIG. 11 is a block diagram of a control device 1000, according to an exemplary embodiment.
  • the control device 1000 such as a router
  • An application stored in memory 1032 can include one or more modules each corresponding to a set of instructions.
  • the processing component 1022 is configured to execute instructions to perform the above method: when detecting the current time arrival timing time, acquiring stored timing information, the timing information including: a bound smart socket, the timing time, and And the timing instruction corresponding to the timing time; sending, by using a local area network, the timing instruction to the bound smart socket, where the timing instruction is used to control the smart socket to control current on/off according to the timing instruction.
  • Router 1000 may also include a power component 1026 configured to perform power management of device 1000, a wired or wireless network interface 1050 configured to connect device 1000 to the network, and an input/output (I/O) interface 1058.
  • the device 1000 can operate based on an operating system stored in the memory 1032, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM or the like.
  • non-transitory computer readable storage medium comprising instructions, such as a memory comprising instructions executable by a processor to perform the above method.
  • the non-transitory computer readable storage medium may be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, and an optical data storage device.

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • General Physics & Mathematics (AREA)
  • Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Power Engineering (AREA)
  • Electromagnetism (AREA)
  • Medical Informatics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Microelectronics & Electronic Packaging (AREA)
  • Selective Calling Equipment (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Telephonic Communication Services (AREA)
  • Electric Clocks (AREA)
  • Details Of Connecting Devices For Male And Female Coupling (AREA)

Abstract

公开了一种智能插座开关控制方法和装置。该方法包括:获取用于进行开关控制的定时指令,该定时指令存储于该智能插座(11)或者控制设备,该控制设备与该智能插座(11)无线连接;根据该定时指令,控制电流通断。该方法提高了智能插座(11)开关控制的可靠性。

Description

智能插座开关控制方法和装置
本申请基于申请号为201510048269.1、申请日为2015年01月29日的中国专利申请提出,并要求该中国专利申请的优先权,该中国专利申请的全部内容在此引入本申请作为参考。
技术领域
本公开涉及智能家居,尤其涉及智能插座开关控制方法和装置。
背景技术
智能插座通常指内置Wi-FI模块,可以通过智能手机的客户端来远程控制通断电的插座,通过手机客户端可以设定插座的定时信息,例如在某个定时时间执行对应的定时指令(开或关),使得用户可以方便的控制插入到该智能插座中的用电设备(如热水器)。
发明内容
本公开提供一种智能插座开关控制方法和装置,以提高智能插座开关控制的可靠性。
根据本公开实施例的第一方面,提供一种智能插座开关控制方法,所述方法由控制设备执行,所述控制设备与智能插座通过无线连接;包括:
接收用于对智能插座进行开关控制的定时信息,所述定时信息包括:定时时间以及与所述定时时间对应的定时指令;
在检测到当前时间到达所述定时时间时,向所述智能插座发送与所述定时时间对应的定时指令,所述定时指令用于控制所述智能插座根据所述定时指令控制电流通断。
根据本公开实施例的第二方面,提供一种智能插座开关控制方法,所述方法由智能插座执行,包括:
获取用于进行开关控制的定时指令,所述定时指令存储于所述智能插座或者控制设备,所述控制设备与所述智能插座无线连接;
根据所述定时指令,控制电流通断。
根据本公开实施例的第三方面,提供一种智能插座开关控制装置,所述装置设置于智能插座,包括:
指令获取模块,用于获取进行开关控制的定时指令,所述定时指令存储于所述智能插座或者控制设备,所述控制设备与所述智能插座无线连接;
开关控制模块,用于根据所述定时指令,控制电流通断。
根据本公开实施例的第四方面,提供一种控制设备,所述控制设备与智能插座通过无线连接;包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:接收用于对智能插座进行开关控制的定时信息,所述定时信息包括:定时时间以及与所述定时时间对应的定时指令;在检测到当前时间到达所述定时时间时,向所述智能插座发送与所述定时时间对应的定时指令,以使得所述智能插座根据所述定时指令控制电流通断。
根据本公开实施例的第五方面,提供一种智能插座,包括:
处理器;
用于存储处理器可执行指令的存储器;
其中,所述处理器被配置为:获取用于进行开关控制的定时指令,所述定时指令存储于所述智能插座或者控制设备,所述控制设备与所述智能插座无线连接;根据所述定时指令,控制电流通断。
本公开的实施例提供的技术方案可以包括以下有益效果:通过由与智能插座无线连接的控制设备来向插座发送定时指令,或者由智能插座本身获取定时指令进行开关控制,这些方式使得智能插座的开关控制不再依赖于服务器,与服务器连接的有线网络的故障状态不会影响对插座的指令发送,即使由于网络问题使得服务器的定时指令不能到达插座,该插座也可以接收到由无线控制设备(例如路由器)或者插座本身的指令,从而正常开关,提高了智能插座开关控制的可靠性。
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开。
附图说明
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本发明的实施例,并与说明书一起用于解释本发明的原理。
图1是根据一示例性实施例示出的一种智能插座开关控制方法的应用场景图;
图2是根据一示例性实施例示出的一种智能插座开关控制方法的流程图;
图3是根据一示例性实施例示出的另一种智能插座开关控制方法的流程图;
图4是根据一示例性实施例示出的又一种智能插座开关控制方法的流程图;
图5是根据一示例性实施例示出的智能插座开关控制方法的一种应用流程图;
图6是根据一示例性实施例示出的智能插座开关控制装置的框图;
图7是根据一示例性实施例示出的智能插座开关控制方法的另一种应用流程图;
图8是根据一示例性实施例示出的一种智能插座开关控制装置的结构图;
图9是根据一示例性实施例示出的一种智能插座开关控制装置的框图;
图10是根据一示例性实施例示出的另一种智能插座开关控制装置的框图;
图11是根据一示例性实施例示出的一种控制设备的框图。
具体实施方式
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本发明相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本发明的一些方面相一致的装置和方法的例子。
“智能插座”是一种简单实用的智能单品,通常内置Wi-FI模块,用户可以通过智能手机客户端来远程控制插座通断电流,图1以一种可选的场景为例,示例了智能插座的控制原理。如图1所示,智能插座11上可以接入用电设备,比如电饭锅12插在该插座上,用户要通过自己的智能手机13上的客户端(比如家居控制APP)来控制智能插座11的电流通断(即控制插座开关),从而使得电饭锅12处于工作状态或者断电状态,实现对用电设备的智能化控制。
手机客户端控制插座的过程如下:用户可以通过智能手机13上的客户端,设置用于对智能插座进行开关控制的定时信息,该定时信息可以包括:定时时间以及与所述定时时间对应的定时指令。需要说明的是,定时信息可以不仅包括定时时间和定时指令,还可以包括其他内容,比如定时标识,本实施例不做限制。如下的表1示例了一种定时信息:
表1 定时信息表
定时ID 定时时间 定时指令
00000001 9:00
00000002 10:00
如上表1所示,上述的定时信息可以包括定时ID(即定时标识),相当于为每一条定时时间和对应的定时指令设置一个编号,其中,定时指令中的“开”表示插座是通电的,“关”表示插座是断电的,通过该指令可以控制插座通断电流。此外,上述定时信息并不一定是以表1所示的列表的形式存储,也可以存储为其他形式。当然可选的,定时信息也可以不包括定时标识,只包括定时时间和定时指令。
手机客户端设置上述定时信息后,可以将该定时信息通过网络上传至服务器14(参见图1中的实线箭头路径),服务器14存储该定时信息,并且可以在到达定时信息中的定时时间时,通过图1中的虚线箭头路径将定时时间对应的定时指令发送至智能插座11(途径路由器15)。例如,当服务器14检测到达定时时间10:00时,向智能插座11发送定时指令“关”,当然本实施例不限制该指令的具体表示方式,比如用00表示开,用01表示关。智能插座11接收到该指令后,将由插座内部的处理器据此控制电路结构动作进行断电。此外,服务器11发送定时指令时也可以同时包含指令以外的其他内容,比如定时ID 也可以随定时指令一起发送至智能插座11。
在实际实施中,路由器15和服务器14之间的有线网络,可能会出现网络状态连接不畅的情况,比如断网,那么服务器的定时指令就可能无法在定时时间发送到智能插座11,有可能使得接在插座上的用电设备发生安全隐患。基于此,本公开实施例的智能插座开关控制方法,将提高对智能插座开关控制的可靠性,目的是使得即使在路由器15和服务器14之间的有线网络出现故障时,智能插座11仍然能够按时断电,安全可靠。
图2示例了一种智能插座开关控制方法的流程图,该方法可以是由与智能插座通过局域网连接的控制设备执行,比如,该控制设备可以是路由器。如图2所示,可以包括:
201、在检测到当前时间到达定时时间时,获取存储的定时信息,所述定时信息包括:绑定的智能插座、所述定时时间以及与所述定时时间对应的定时指令;
例如,在检测定时时间之前,本实施例的控制设备可以接收用于对智能插座进行开关控制的定时信息,所述定时信息包括:定时时间以及与所述定时时间对应的定时指令,该定时信息中还可以包括:绑定的智能插座,上述的定时时间和定时指令时用于对该绑定的智能插座控制电流通断的。定时信息中可以用设备标识来表示绑定的智能插座,即包含定时时间和定时指令所对应的智能插座的设备标识。
例如,当该控制设备是路由器时,路由器获取到该定时信息,可以是服务器发送的。结合图1所示,当服务器14接收到智能手机13发送的定时信息后,可以通过图1中的虚线箭头路径将定时信息转发给路由器15,路由器15存储该定时信息。
当控制设备在检测到当前时间到达所述定时时间时,获取与该定时时间对应的定时信息。例如,当该控制设备是路由器时,路由器将进行时间检测,当检测到时间到达其在201中存储的定时信息中的定时时间时,路由器可以获取该定时信息,包括与该到达的定时时间对应的绑定的智能插座的设备标识、以及与该定时时间对应的定时指令。
202、通过局域网向所述绑定的智能插座发送所述定时指令,所述定时指令用于控制所述智能插座根据所述定时指令控制电流通断。
本实施例中,控制设备可以通过局域网向绑定的智能插座发送与所述定时时间对应的定时指令,该定时指令用于所述智能插座根据该定时指令控制电流通断。例如,当路由器检测到达定时时间10:00时,根据定时信息中包括的设备标识,通过局域网与向设备标识对应的向智能插座11发送指令“关”。
该控制设备是通过局域网向智能插座发送定时指令的,这种指令发送方式可以使得指令的发送更加可靠。以控制设备为路由器为例,路由器与智能插座之间是局域网连接,比如是无线方式连接,当路由器与服务器之间的有线网络发生故障而导致服务器无法正常向智能插座发送定时指令时,路由器与智能插座之间的网络仍然能够正常传输指令,从而可以保证智能插座的定时开关,提高了智能插座控制的可靠性。
可选的,同一个控制设备上可能会存储分别对应多个智能插座的定时信息,当控制设备中存储有多个智能插座的定时信息时,控制设备在定时时间到达时,可以根据该定时时 间对应的定时信息中的设备标识,确定该定时信息绑定的智能插座,并向该插座发送定时指令。可选的,如果绑定的智能插座为多个,控制设备可以分别向每个绑定的智能插座发送所述定时指令。
与图2所示的路由器发送指令的流程相对应的,图3示例了一种智能插座开关控制方法的流程图,该方法可以是由智能插座执行的接收指令的流程,如图3所示,包括:
301、获取用于控制电流通断的定时指令,所述定时指令存储于通过局域网发送定时指令的控制设备;
例如,当该控制设备是路由器时,路由器中存储有定时指令,智能插座接收路由器在检测到定时时间到达时发送的该定时指令。
302、根据所述定时指令,控制电流通断。
例如,智能插座根据从路由器接收到的指令控制电流的通断,比如,当指令是“关”时,智能插座控制内部的电路动作切断电流。
图4示例了另一种智能插座开关控制方法的流程图,该方法可以是由智能插座执行的,在该流程中,智能插座获取的指令可以是在该插座自身存储的。如下:
401、获取用于控制电流通断的定时指令,所述定时指令存储于所述智能插座;
例如,智能插座内存储有定时指令,可以是存储在插座中的存储器内。并且,该存储器中存储有定时信息,上述的定时指令是位于该定时信息中,比如存储器中存储的定时信息可以是如上面的表1所示的形式。
本步骤中,智能插座可以进行时间检测,判断当前时间是否到达其存储器中存储的定时信息中的定时时间,当定时时间到达时,智能插座获取定时信息中对应的定时指令。
402、根据所述定时指令,控制电流通断。
本公开实施例的智能插座开关控制方法,由控制设备例如路由器通过局域网向智能插座发送定时指令,或者由智能插座本身来根据定时指令进行电流控制,摆脱了对服务器发送指令的依赖;即使由于网络故障导致服务器无法向插座发送指令,插座也能够从路由器或者自身获取到定时指令,从而安全可靠的进行插座的开关控制。
如下以三个实例为例,示例性的描述几个可选的智能插座开关控制方法的应用场景:
在一个实施例中,参见图5所示,示例性的,可以由路由器向智能插座发送定时指令,智能插座是根据接收的路由器发送的指令进行电流通断。流程如下;
501、控制设备接收定时信息并存储;
例如,路由器可以是接收服务器发送的定时信息,定时信息中包括定时时间和定时指令(如表1的示例),在存储时,也要保存定时时间和定时指令之间的对应关系。服务器的定时信息可以是从用户的智能手机接收到的。
502、控制设备在检测到当前时间到达定时时间时,获取定时信息中的定时指令;
例如,路由器可以实时的检测当前时间,若当前时间到达定时时间,比如达到10:00,则路由器可以从其存储的定时信息中获取与定时时间对应的定时指令,比如是“关”;并 且,路由器还可以获取定时信息中的绑定的智能插座的设备标识,以获知该定时信息是与哪个智能插座绑定的。
503、控制设备将定时指令发送至智能插座;
例如,路由器根据定时信息中的绑定的智能插座的设备标识,将查到的定时指令“关”发送到该设备标识对应的智能插座;如果该定时信息绑定了多个智能插座,路由器可以据此分别向各个智能插座发送该定时指令。在发送时,定时指令可以是通过智能插座能够理解的指令标识来发送,比如用“01”表示定时指令“关”。并且,本实施例的控制设备是通过局域网将定时指令发送至智能插座,比如通过无线方式发送指令。
504、智能插座根据定时指令控制电流通断。
例如,当智能插座接收到的指令为关时,插座将控制电流断开。
在另一个实施例中,示例性的,智能插座本身也可以存储定时信息,并且由智能插座本身检测时间,当定时时间到达时执行该指令。参见图6所示,为智能插座的结构框图,该智能插座可以包括:通信模块61、处理器62和存储器63,还可以包括电路结构64,该电路结构64可以是一个继电器电路。存储器63中存储有处理器可执行的逻辑指令,处理器62通过执行该逻辑指令可以执行如下的处理:
例如,通信模块61可以是wifi模块,可以接收服务器发送过来的定时信息,该定时信息中包括定时时间和与定时时间对应的定时指令,类似表1所示。智能插座的处理器62可以将通信模块61得到的定时信息送往存储器63进行存储。处理器62可以在定时时间到达时,从存储器63中获取定时信息中的与定时时间对应的定时指令,并根据该指令控制电路结构64进行电流通断。比如,根据指令控制继电器的触点之间是否闭合,从而实现插座是否有电流通过。其中,处理器62获知定时时间到达,可以是由处理器自身检测时间得到,在检测到当前时间到达存储器中存储的定时信息中的定时时间时,由存储器中获取与定时时间对应的定时指令;或者由其他定时模块检测时间到达后通知处理器。
这种由智能插座本身进行时间检测和指令控制的方式,相对于上述的路由器发送指令的方式或者服务器发送指令的方式,将进一步摆脱了对网络的依赖,不论有线网络或者无线网络是否出现故障,插座本身都会按时根据定时指令进行开关控制,可靠性较高。此外,为了使得该插座本身控制的方式对于时间的把握更加精确,可以设置智能插座定时或者每隔一段时间向服务器或者路由器等设备进行时间同步,以获得更精准的时间。
在又一个实施例中,智能插座接收到的定时指令,可以包括多份。比如,可以在服务器、路由器、智能插座三个设备上都存储定时信息,并且这三个设备各自都会检测时间和进行定时指令的发送,这种多个设备上都保存定时信息和进行定时控制的方式,可以使得可靠性较高,只要有任一个设备正常插座就能够获取到指令,并且对定时时间的检测更加准确;但是这种方式下智能插座就可能获取到多份相同的指令,比如当到达定时时间10点时,服务器检测时间到达向插座发送指令,路由器同样在检测时间到达时向插座发送指令,插座本身也会获取到指令,而实际上智能插座执行一次该指令即可,重复的相同的指 令不需要都执行,其他相同的指令忽略即可。同样的,也可以在智能插座和路由器两个设备上存储定时信息和定时控制,这样插座也是会接收到多份相同的指令。
基于此,本实施例的方法将可以保证相同指令仅执行一次,参见图7所示的流程,以服务器、路由器和智能插座三者均存储定时信息为例,该方法可以包括:
701、服务器将定时信息发送至路由器和智能插座;
例如,服务器在接收到用户通过智能手机客户端发送的定时信息后,服务器自身将存储该定时信息,并且服务器可以将该定时信息发送至路由器和智能插座,路由器和定时插座也各自会存储该定时信息,并且,这三个设备保存的定时信息是相同的。需要说明的是,本实施例的定时信息中包括定时标识,如表1的示例,定时信息可以包括定时ID、定时时间和定时指令,这三者具有对应关系。当然,若服务器侧可以存储多个智能插座的定时信息,该定时信息中也可以包括该定时信息对应的智能插座的设备标识,以用于服务器识别定时指令和定时时间绑定的智能插座。
702、智能插座将接收到的定时信息中的定时标识存储在定时标识库;
例如,智能插座每接收到一个新的定时信息,就将定时信息中的定时标识存储在定时标识库中,该定时标识库中存储了尚有效的即还未执行的定时指令对应的定时标识。在存储时,这些定时标识可以存储成定时ID列表的方式,如下表2:
表2 定时ID列表
定时ID
00000001
00000002
这样,智能插座保存有两部分信息,一部分是定时信息,类似表1示例的;另一部分是定时ID列表,类似表2示例的。其中表1的定时信息用于插座据此判断定时时间是否到达以及获取定时指令,而表2用于插座据此判断接收到的定时指令对应的定时ID是否有效,在有效时才能执行该指令,继续参见步骤703。
703、智能插座接收到路由器发送的定时指令和对应的定时标识;
其中,由于智能插座、路由器和服务器中均存储了相同的定时信息,任一个设备在检测到该定时信息中的定时时间到达时,都会发送定时指令,可能会出现三个设备同时发送或获取到定时指令的情况,本实施例以插座在时间上是分别接收到各个指令为例,即使同时接收到多个指令,插座也是要逐个判断和处理。假设智能插座先接收到路由器发送的定时指令,并且还携带有对应的定时ID,也可以包括其他内容,比如设备标识,不再详举。以表1中的定时ID00000001对应的指令为例,那么插座接收到的定时ID就是00000001。
704、智能插座查找所述定时指令对应的定时标识是否存储在所述定时标识库中;
例如,智能插座接收到的定时ID是00000001,插座将查看该ID是否在表2的列表 中。如果还在定时ID列表中,则表示该ID对应的定时指令尚未执行,仍然有效,则智能插座继续执行705;否则,表示该ID对应的定时指令已经执行过了,忽略该指令即可。
705、根据定时指令控制电流通断,并将定时标识由定时标识库中删除;
例如,智能插座在执行了定时ID00000001对应的定时指令后,将该ID从表2的定时ID列表中删除,即定时ID列表只存储还未执行的定时指令对应的定时标识。
706、智能插座接收到服务器发送的定时指令和对应的定时标识;
本步骤假设智能插座后来又接收机到服务器发送的定时指令和对应的定时标识,与前面的路由器发送的信息相同,是同一个定时ID,00000001。可选的,当智能插座同时获取到服务器和路由器发送的定时指令和对应的定时标识时,插座也需要逐个判断处理,比如先按照上述的703-705处理路由器的指令,再接着按照706和707处理服务器的指令。
707、智能插座发现定时标识不在定时标识库,则忽略该定时指令;
例如,智能插座也要按照704中的步骤,查找所述定时指令对应的定时标识是否存储在所述定时标识库中;由于在705中插座在执行指令后已经将定时标识从定时ID列表中删除,所以在本步骤插座就会发现定时ID00000001不在定时ID列表中,则插座就可以据此确定该ID对应的指令已经被执行,忽略该指令不执行即可。
图8提供了一种智能插座开关控制装置的结构图,该装置可以设置于控制设备,例如路由器。如图8所示,该装置可以包括:指令获取模块81和指令发送模块82;其中,
指令获取模块81,用于在检测到当前时间到达定时时间时,获取存储的定时信息,所述定时信息包括:绑定的智能插座、所述定时时间以及与所述定时时间对应的定时指令;
指令发送模块82,用于通过局域网向所述绑定的智能插座发送所述定时指令,所述定时指令用于控制所述智能插座根据所述定时指令控制电流通断。
图9提供了一种智能插座开关控制装置的结构图,该装置可以设置于智能插座,使得智能插座可以执行本公开实施例的智能插座开关控制方法。例如,该装置可以是存储在图6的智能插座存储器中的逻辑指令,可以被处理器调用执行。该装置中的各个模块执行操作的具体方式已经在有关该方法的实施例中进行了详细描述,此处将不做详细阐述说明。如图9所示,该装置包括:指令接收模块91和电流控制模块92;其中,
指令接收模块91,用于获取用于控制电流通断的定时指令,所述定时指令存储于本地,或者存储于通过局域网发送所述定时指令的控制设备;例如,处理器可以通过该模块,获取到智能插座的通信模块接收到的定时信息。
电流控制模块92,用于根据所述定时指令,控制电流通断。
图10示例了另一种智能插座开关控制装置的结构,在图9所示结构的基础上,该装置还可以包括:信息接收模块93;
信息接收模块93,用于获取定时信息,所述定时信息包括:定时时间、与所述定时时间对应的定时指令和定时标识;将所述定时标识存储在定时标识库中;
指令接收模块91,还用于在获取用于控制电流通断的定时指令时,获取所述定时指令 对应的定时标识;
电流控制模块92,用于查找所述定时指令对应的定时标识是否存储在所述定时标识库中,当所述定时标识库存储有所述定时标识时,根据定时指令控制电流通断,并将所述定时指令对应的定时标识由定时标识库中删除。例如,处理器可以通过该开关控制模块82查找所述定时指令对应的定时标识是否存储在存储器中的定时标识库中。
此外,指令接收模块91可以包括:时间检测单元911和指令获取单元912;其中,
时间检测单元911,用于检测到当前时间到达存储的定时信息中的定时时间;
指令获取单元912,用于获取所述定时信息中的与所述定时时间对应的定时指令。
图11是根据一示例性实施例示出的一种控制设备1000的框图。例如,该控制设备1000例如是路由器,可以包括处理组件1022,其进一步包括一个或多个处理器,以及由存储器1032所代表的存储器资源,用于存储可由处理部件1022的执行的指令,例如应用程序。存储器1032中存储的应用程序可以包括一个或一个以上的每一个对应于一组指令的模块。此外,处理组件1022被配置为执行指令,以执行上述方法:在检测到当前时间到达定时时间时,获取存储的定时信息,所述定时信息包括:绑定的智能插座、所述定时时间以及与所述定时时间对应的定时指令;通过局域网向所述绑定的智能插座发送所述定时指令,所述定时指令用于控制所述智能插座根据所述定时指令控制电流通断。
路由器1000还可以包括一个电源组件1026被配置为执行装置1000的电源管理,一个有线或无线网络接口1050被配置为将装置1000连接到网络,和一个输入输出(I/O)接口1058。装置1000可以操作基于存储在存储器1032的操作系统,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM或类似。
在本公开的示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器,上述指令可由处理器执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本发明的其它实施方案。本申请旨在涵盖本发明的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本发明的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本发明的真正范围和精神由下面的权利要求指出。
应当理解的是,本发明并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本发明的范围仅由所附的权利要求来限制。

Claims (17)

  1. 一种智能插座开关控制方法,其特征在于,包括:
    在检测到当前时间到达定时时间时,获取存储的定时信息,所述定时信息包括:绑定的智能插座、所述定时时间以及与所述定时时间对应的定时指令;
    通过局域网向所述绑定的智能插座发送所述定时指令,所述定时指令用于控制所述智能插座根据所述定时指令控制电流通断。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    接收用于对所述绑定的智能插座进行开关控制的定时信息。
  3. 根据权利要求1所述的方法,其特征在于,通过局域网向所述绑定的智能插座发送所述定时指令之前,还包括:
    存在多个智能插座时,根据所述定时信息中的设备标识,确定绑定的智能插座。
  4. 根据权利要求1或3所述的方法,其特征在于,绑定的智能插座为多个时,向每个绑定的智能插座发送所述定时指令。
  5. 根据权利要求1所述的方法,其特征在于,所述定时信息还包括:与所述定时指令对应的定时标识,所述定时标识用于使得所述绑定的智能插座在所述定时标识存储在定时标识库中时执行所述定时指令。
  6. 一种智能插座开关控制方法,其特征在于,包括:
    获取用于控制电流通断的定时指令,所述定时指令存储于本地,或者存储于通过局域网发送所述定时指令的控制设备;
    根据所述定时指令,控制电流通断。
  7. 根据权利要求6所述的方法,其特征在于,本地存储的定时信息包括所述定时指令、以及与所述定时指令对应的定时时间;
    所述获取用于控制电流通断的定时指令,包括:
    在检测到当前时间到达所述定时时间时,获取所述定时指令。
  8. 根据权利要求6所述的方法,其特征在于,在所述获取用于控制电流通断的定时指令时,还包括:获取所述定时指令对应的定时标识;
    在所述获取用于控制电流通断的定时指令之前,还包括:获取定时信息,所述定时信息包括:定时时间、与所述定时时间对应的定时指令和定时标识;将所述定时标识存储在定时标识库中;
    所述根据定时指令,控制电流通断,包括:查找所述定时指令对应的定时标识是否存储在所述定时标识库中,当所述定时标识库存储有所述定时标识时,根据定时指令控制电流通断,并将所述定时指令对应的定时标识由定时标识库中删除。
  9. 一种智能插座开关控制装置,其特征在于,包括:
    指令获取模块,用于在检测到当前时间到达定时时间时,获取存储的定时信息,所述定时信息包括:绑定的智能插座、所述定时时间以及与所述定时时间对应的定时指令;
    指令发送模块,用于通过局域网向所述绑定的智能插座发送所述定时指令,所述定时指令用于控制所述智能插座根据所述定时指令控制电流通断。
  10. 一种智能插座开关控制装置,其特征在于,包括:
    指令接收模块,用于获取用于控制电流通断的定时指令,所述定时指令存储于本地,或者存储于通过局域网发送所述定时指令的控制设备;
    电流控制模块,用于根据所述定时指令,控制电流通断。
  11. 根据权利要求10所述的装置,其特征在于,所述指令接收模块包括:
    时间检测单元,用于检测到当前时间到达存储的定时信息中的定时时间;
    指令获取单元,用于获取所述定时信息中的与所述定时时间对应的定时指令。
  12. 根据权利要求10所述的装置,其特征在于,还包括:信息接收模块;
    所述信息接收模块,用于获取定时信息,所述定时信息包括:定时时间、与所述定时时间对应的定时指令和定时标识;将所述定时标识存储在定时标识库中;
    所述指令接收模块,还用于在获取用于控制电流通断的定时指令时,获取所述定时指令对应的定时标识;
    所述电流控制模块,用于查找所述定时指令对应的定时标识是否存储在所述定时标识库中,当所述定时标识库存储有所述定时标识时,根据定时指令控制电流通断,并将所述定时指令对应的定时标识由定时标识库中删除。
  13. 一种控制设备,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:在检测到当前时间到达定时时间时,获取存储的定时信息,所述定时信息包括:绑定的智能插座、所述定时时间以及与所述定时时间对应的定时指令;通过局域网向所述绑定的智能插座发送所述定时指令,所述定时指令用于控制所述智能插座根据所述定时指令控制电流通断。
  14. 根据权利要求13所述的设备,其特征在于,所述控制设备是路由器。
  15. 一种智能插座,其特征在于,包括:
    处理器;
    用于存储处理器可执行指令的存储器;
    其中,所述处理器被配置为:获取用于控制电流通断的定时指令,所述定时指令存储于本地,或者存储于通过局域网发送所述定时指令的控制设备;根据所述定时指令,控制电流通断。
  16. 根据权利要求15所述的智能插座,其特征在于,当所述定时指令由智能插座生成时,所述存储器中存储有定时信息,所述定时信息包括:定时时间以及与所述定时时间对应的所述定时指令;
    所述处理器被配置为:在检测到当前时间到达存储器中存储的所述定时信息中的定时 时间时,由所述存储器中获取与所述定时时间对应的所述定时指令;并根据所述定时指令,控制电流通断。
  17. 根据权利要求16所述的智能插座,其特征在于,所述存储器中存储的所述定时信息,还包括:定时标识;所述存储器中还存储有包括所述定时标识的定时标识库;
    所述处理器被配置为:在获取用于控制电流通断的定时指令时,还获取所述定时指令对应的定时标识,查找所述定时标识是否存储在所述定时标识库中,当所述定时标识库存储有所述定时标识时,根据定时指令控制电流通断,并将所述定时指令对应的定时标识由定时标识库中删除。
PCT/CN2015/093070 2015-01-29 2015-10-28 智能插座开关控制方法和装置 WO2016119494A1 (zh)

Priority Applications (5)

Application Number Priority Date Filing Date Title
BR112016006211-6A BR112016006211B1 (pt) 2015-01-29 2015-10-28 Método e aparelho para controlar ativação e desativação de tomada inteligente, e conjunto de dispositivos de controle
JP2016571463A JP6352451B2 (ja) 2015-01-29 2015-10-28 電流断続を行なう制御方法、制御装置、制御機器、プログラム及び記録媒体
MX2016001548A MX354263B (es) 2015-01-29 2015-10-28 Metodo y aparato para controlar el encendido y apagado de un enchufe inteligente.
RU2016110980A RU2644817C2 (ru) 2015-01-29 2015-10-28 Способ и аппаратура для управления включением и выключением интеллектуальной розетки
KR1020157036628A KR101858330B1 (ko) 2015-01-29 2015-10-28 스마트 콘센트의 스위치 제어방법, 장치, 프로그램 및 기록매체

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510048269.1A CN104678851B (zh) 2015-01-29 2015-01-29 智能插座开关控制方法和装置
CN201510048269.1 2015-01-29

Publications (1)

Publication Number Publication Date
WO2016119494A1 true WO2016119494A1 (zh) 2016-08-04

Family

ID=53314090

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/093070 WO2016119494A1 (zh) 2015-01-29 2015-10-28 智能插座开关控制方法和装置

Country Status (9)

Country Link
US (1) US10452089B2 (zh)
EP (1) EP3051776B1 (zh)
JP (1) JP6352451B2 (zh)
KR (1) KR101858330B1 (zh)
CN (1) CN104678851B (zh)
BR (1) BR112016006211B1 (zh)
MX (1) MX354263B (zh)
RU (1) RU2644817C2 (zh)
WO (1) WO2016119494A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018531453A (ja) * 2016-08-11 2018-10-25 北京小米移動軟件有限公司Beijing Xiaomi Mobile Software Co.,Ltd. タイミング方法及び装置

Families Citing this family (21)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102161443B1 (ko) * 2013-12-20 2020-10-06 삼성전자 주식회사 스마트 홈 시스템의 피 제어 장치 검색 및 제어 방법과 장치
CN104248846B (zh) 2014-09-30 2017-04-05 广东奥飞动漫文化股份有限公司 一种可在封闭轨道中竖向拐弯的双面玩具车
CN104678851B (zh) 2015-01-29 2018-03-16 小米科技有限责任公司 智能插座开关控制方法和装置
CN104932276B (zh) * 2015-05-27 2018-09-18 小米科技有限责任公司 家庭智能电源的控制方法和装置
CN105116769B (zh) * 2015-07-10 2018-07-06 宁波智轩物联网科技有限公司 一种可调控的无线开关系统及其控制、绑定方法
CN105116770A (zh) * 2015-07-13 2015-12-02 小米科技有限责任公司 智能插座的控制方法及装置
WO2017042195A1 (de) * 2015-09-10 2017-03-16 BSH Hausgeräte GmbH System und kommunikationsmodul zur steuerung eines haushaltsgerätes
CN105357262B (zh) * 2015-09-29 2019-07-23 小米科技有限责任公司 设备控制方法及装置
CN105611563A (zh) * 2015-12-22 2016-05-25 广东欧珀移动通信有限公司 一种电源的自动控制方法及装置
CN106647316A (zh) * 2017-02-24 2017-05-10 宁波公牛电器有限公司 一种智能家居控制系统及其控制方法
CN107255788B (zh) * 2017-04-18 2021-02-02 广东浪潮大数据研究有限公司 一种电源开断电冲击的测试方法、系统及智能插座
CN107222552A (zh) * 2017-06-26 2017-09-29 上海斐讯数据通信技术有限公司 一种智能插座与智能终端的交互方法及系统
KR101950432B1 (ko) * 2017-08-04 2019-02-20 주식회사 다원디엔에스 외부에서 적외선 발신기를 이용한 가전 기기의 온오프 제어 결과 확인 방법 및 시스템
CN107689903A (zh) * 2017-08-17 2018-02-13 深圳市艾特智能科技有限公司 智能家居设备控制方法、系统、存储介质及计算机设备
CN109976842B (zh) * 2017-12-28 2022-02-01 北京京东尚科信息技术有限公司 用于电子设备的定时控制的方法、装置及介质
CN109164694B (zh) * 2018-08-27 2020-03-27 珠海格力电器股份有限公司 一种电子设备的预约方法及装置
CN110597205B (zh) * 2019-09-16 2023-02-03 上海庆科信息技术有限公司 智能插排的控制方法、装置、处理器及智能插排
CN110850737A (zh) * 2019-11-12 2020-02-28 上海庆科信息技术有限公司 一种排插及定时方法、系统、计算机可读存储介质
US11533457B2 (en) 2019-11-27 2022-12-20 Aob Products Company Smart home and security system
KR102474411B1 (ko) * 2022-02-15 2022-12-07 씽스케어주식회사 스마트 플러그와 그 제어 방법 및 그 스마트 플러그를 포함하는 전력 시스템
CN115065724A (zh) * 2022-05-23 2022-09-16 国网河北省电力有限公司保定供电分公司 一种非侵入式负荷监测终端与主站之间的通信方法及装置

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7181360B1 (en) * 2004-01-30 2007-02-20 Spirent Communications Methods and systems for generating test plans for communication devices
CN102882077A (zh) * 2012-10-10 2013-01-16 北京国电通网络技术有限公司 一种控制用电设备供电开关的方法及智能插座
CN104158031A (zh) * 2014-08-06 2014-11-19 重庆电子工程职业学院 一种基于ZigBee网络的无线插座
CN104201515A (zh) * 2014-06-23 2014-12-10 杜建超 一种远程智能插座
CN104678851A (zh) * 2015-01-29 2015-06-03 小米科技有限责任公司 智能插座开关控制方法和装置

Family Cites Families (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
IT1310142B1 (it) * 1999-08-20 2002-02-11 Merloni Elettrodomestici Spa Dispositivo, sistema e metodo per il monitoraggio di una utenzaelettrica domestica, in particolare un elettrodomestico.
US6741442B1 (en) * 2000-10-13 2004-05-25 American Power Conversion Corporation Intelligent power distribution system
ITTO20090214A1 (it) * 2009-03-20 2010-09-21 St Microelectronics Srl Circuito di alimentazione per l'accensione da remoto di apparecchi elettrici
CN201707570U (zh) 2010-06-17 2011-01-12 杭州宏暾电子技术有限公司 智能插座远程控制系统
US8604914B2 (en) * 2010-11-17 2013-12-10 International Business Machines Corporation Smart power sockets, boards, and plugs
US20120331156A1 (en) * 2011-06-21 2012-12-27 Colpitts Cameron Wireless control system, methods and apparatus
EP2752968B1 (en) * 2011-08-31 2016-09-21 Kabushiki Kaisha Toshiba Forgotten power switchoff detection device, forgotten power switchoff detection program, forgotten power switchoff detection method, and detection system
CN103178410A (zh) * 2011-12-26 2013-06-26 弈天电子科技(上海)有限公司 一种智能插座及智能插座控制设备
US9329650B2 (en) * 2012-03-14 2016-05-03 Accenture Global Services Limited Customer-centric demand side management for utilities
JP5901369B2 (ja) * 2012-03-19 2016-04-06 大和ハウス工業株式会社 エネルギー供給システム及びエネルギー供給方法
US9183163B2 (en) * 2012-06-27 2015-11-10 Ubiquiti Networks, Inc. Method and apparatus for distributed control of an interfacing-device network
CN202678646U (zh) 2012-06-27 2013-01-16 台州学院 一种智能插座
CN202917747U (zh) * 2012-08-19 2013-05-01 夏骏 一种远程遥控多路可编程定时开关插座
CN102856741B (zh) * 2012-09-08 2015-05-06 陕西理工学院 多通道远程遥控开关插座
RU130098U1 (ru) * 2012-09-10 2013-07-10 Общество с ограниченной ответственностью "Браво Моторс" Система "умный дом" с интеллектуальным адаптивным входом/выходом
US20140088780A1 (en) * 2012-09-26 2014-03-27 Hongxia Chen Automatic local electric management system
US9837817B2 (en) * 2013-02-01 2017-12-05 Telecom Italia S.P.A. Automatic system for controlling appliances
CN203324759U (zh) 2013-04-23 2013-12-04 深圳先进技术研究院 基于无线手持终端的用电设备控制系统
US9509763B2 (en) * 2013-05-24 2016-11-29 Qualcomm Incorporated Delayed actions for a decentralized system of learning devices
JP6425000B2 (ja) * 2013-06-20 2018-11-21 株式会社Crossdoor 遠隔制御システム
CN103401102B (zh) * 2013-08-06 2016-05-11 深圳市北电仪表有限公司 智能电源插座及控制系统
CN103699079A (zh) 2013-12-16 2014-04-02 四川九洲电器集团有限责任公司 一种通过移动终端定时控制智能家居设备的方法
CN103914967B (zh) * 2014-01-25 2017-01-04 温州众合拉链有限公司 智能排插、智能排插控制系统及方法
WO2015134493A1 (en) * 2014-03-03 2015-09-11 AVI-On Labs, LLC Networking systems, protocols, and methods for controlling target devices
CN203859339U (zh) * 2014-05-21 2014-10-01 黄河科技学院 一种智能插座控制终端

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7181360B1 (en) * 2004-01-30 2007-02-20 Spirent Communications Methods and systems for generating test plans for communication devices
CN102882077A (zh) * 2012-10-10 2013-01-16 北京国电通网络技术有限公司 一种控制用电设备供电开关的方法及智能插座
CN104201515A (zh) * 2014-06-23 2014-12-10 杜建超 一种远程智能插座
CN104158031A (zh) * 2014-08-06 2014-11-19 重庆电子工程职业学院 一种基于ZigBee网络的无线插座
CN104678851A (zh) * 2015-01-29 2015-06-03 小米科技有限责任公司 智能插座开关控制方法和装置

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2018531453A (ja) * 2016-08-11 2018-10-25 北京小米移動軟件有限公司Beijing Xiaomi Mobile Software Co.,Ltd. タイミング方法及び装置

Also Published As

Publication number Publication date
KR101858330B1 (ko) 2018-05-15
BR112016006211B1 (pt) 2022-10-18
JP6352451B2 (ja) 2018-07-04
EP3051776A1 (en) 2016-08-03
CN104678851B (zh) 2018-03-16
US20160224043A1 (en) 2016-08-04
EP3051776B1 (en) 2017-09-13
MX2016001548A (es) 2016-10-06
CN104678851A (zh) 2015-06-03
MX354263B (es) 2018-02-20
RU2644817C2 (ru) 2018-02-14
JP2017510242A (ja) 2017-04-06
US10452089B2 (en) 2019-10-22
RU2016110980A (ru) 2017-09-28
KR20160103917A (ko) 2016-09-02
BR112016006211A2 (pt) 2017-08-01

Similar Documents

Publication Publication Date Title
WO2016119494A1 (zh) 智能插座开关控制方法和装置
US9998297B2 (en) Method and apparatus for controlling smart home device to upload data, method and apparatus for acquiring data uploaded by smart home device
US9844091B2 (en) Method, device, and storage medium for controlling signal transmission
US9052898B2 (en) Remote access and administration of device content, with device power optimization, using HTTP protocol
CN107465584A (zh) 智能家电的网络接入方法及装置、智能家电
CN105306318B (zh) 智能场景配置方法、装置和服务器
US9439027B2 (en) Value acquiring method, sensor control apparatus, sensor control method, sensor control medium, and acquisition interval control medium
CN105805881B (zh) 一种控制空调开启的方法、装置和系统
CN104009898A (zh) 家用电器及其控制方法和装置
WO2017024696A1 (zh) 多播放设备的蓝牙连接控制方法、装置及音乐播放系统
JP2017519399A (ja) インターネット対応デバイスを高速オンボードするための装置および方法
US8825005B2 (en) Usage management system and usage management method
WO2018010425A1 (zh) Wifi热点信息推送方法、接收方法、装置及存储介质
WO2018107593A1 (zh) 一种在不同终端间共享文件的方法及设备
WO2014090052A1 (zh) 无线网络接入的控制方法及装置
WO2015062526A1 (zh) 一种基于无线登录的远程控制方法及装置
CN105227627B (zh) 一种播放设备分组控制方法及用户终端
WO2016107032A1 (zh) 视频录制方法及装置
CN103945565B (zh) 获取离线地图的方法和装置
CN107360065B (zh) 信息推送方法及装置
CN103905970A (zh) 一种移动终端间的信息共享方法和设备
CN104038649A (zh) 一种呼叫转接方法和通信终端
US10251036B2 (en) Network architecture implementing convergence of small cell and M2M system, related method, and related device
JP2015095747A (ja) 通信中継機器、通信端末、通信システムおよび通信方法、並びにコンピュータ・プログラム
CN112188593A (zh) 无线配置方法及装置、存储介质、电子装置

Legal Events

Date Code Title Description
ENP Entry into the national phase

Ref document number: 2016571463

Country of ref document: JP

Kind code of ref document: A

Ref document number: 20157036628

Country of ref document: KR

Kind code of ref document: A

WWE Wipo information: entry into national phase

Ref document number: MX/A/2016/001548

Country of ref document: MX

ENP Entry into the national phase

Ref document number: 2016110980

Country of ref document: RU

Kind code of ref document: A

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15879692

Country of ref document: EP

Kind code of ref document: A1

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112016006211

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 112016006211

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20160322

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15879692

Country of ref document: EP

Kind code of ref document: A1