CN104615020A - Intelligent socket control method and device - Google Patents

Intelligent socket control method and device Download PDF

Info

Publication number
CN104615020A
CN104615020A CN201410838283.7A CN201410838283A CN104615020A CN 104615020 A CN104615020 A CN 104615020A CN 201410838283 A CN201410838283 A CN 201410838283A CN 104615020 A CN104615020 A CN 104615020A
Authority
CN
China
Prior art keywords
network connection
connection state
smart jack
duration
default 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.)
Pending
Application number
CN201410838283.7A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Technology Co Ltd
Xiaomi Inc
Original Assignee
Xiaomi Inc
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 Xiaomi Inc filed Critical Xiaomi Inc
Priority to CN201410838283.7A priority Critical patent/CN104615020A/en
Publication of CN104615020A publication Critical patent/CN104615020A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • G05B19/0423Input/output

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Telephone Function (AREA)

Abstract

The invention discloses an intelligent socket control method and device, and belongs to the field of intelligent homes. The method includes the steps: detecting a network connecting state of a home terminal; starting timing when the network connecting state of the home terminal is offline; switching the electrifying state of the home terminal into an off state when timing duration reaches preset de-energizing duration. The device comprises a detecting module, a timing module and a switching module. The method can detect whether the home terminal is online or not in real time through an intelligent socket, so that the communication state between the home terminal and a control device is timely learned, the intelligent socket cannot receive any instructions of the control device once the home terminal is offline, the electrifying state is automatically switched into the off state by the intelligent socket after timing reaches the preset de-energizing duration, so that an electrical apparatus connected with the intelligent socket can be de-energized, and potential safety hazards caused by the constant electrifying state of the electrical apparatus are eliminated.

Description

Smart jack control method and device
Technical field
The disclosure relates to Smart Home field, particularly relates to a kind of smart jack control method and device.
Background technology
Along with the development of Smart Home, multiple electric equipment all can access of radio network, and is controlled its switching on and shutting down by opertaing device.Control to carry out switching on and shutting down more accurately to multiple electric equipment, smart jack arises at the historic moment as a kind of simple and practical intelligent home device.Smart jack refers to the socket with certain communication and processing power, when smart jack access of radio network, user can by opertaing devices such as mobile phones, the energising of Long-distance Control smart jack and power-off, thus controls the running status of the electric equipment be connected with smart jack.As, the electric equipment be connected with smart jack is water heater, and the switch of water heater is in open state, when user controls smart jack energising by mobile phone remote, water heater just brings into operation, and when user controls smart jack power-off by mobile phone remote, namely water heater can be in off-position.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of smart jack control method and device.
According to the first aspect of disclosure embodiment, provide a kind of smart jack control method, described method comprises:
Detect the network connection state of local terminal;
When network connection state local terminal being detected is off-line, start timing;
When timing duration reaches default power-off duration, the "on" position of local terminal is switched to closed condition.
In conjunction with first aspect, in the first possibility implementation of first aspect, when timing duration reaches default power-off duration, after the "on" position of local terminal is switched to closed condition, described method also comprises:
When detecting that the network connection state of local terminal switches to online from off-line, sending network connection state to opertaing device and changing message, knowing that to make described opertaing device the network connection state of smart jack switches to from off-line online.
In conjunction with first aspect, in the second possibility implementation of first aspect, before detecting the network connection state of local terminal, described method also comprises:
When receiving the default power-off duration that opertaing device is arranged, described default power-off duration is stored.
In conjunction with first aspect, in the third possibility implementation of first aspect, when network connection state local terminal being detected is off-line, after starting timing, described method also comprises:
When detecting that the network connection state of local terminal switches to online from off-line within the scope of default power-off duration, stop timing.
According to the second aspect of disclosure embodiment, a kind of smart jack control method is provided, comprises:
Detect the network connection state between smart jack;
When the network connection state described smart jack being detected is off-line, user is reminded.
In conjunction with second aspect, in the first possibility implementation of second aspect, before detecting the network connection state between smart jack, described method also comprises:
Show the first interface, described first interface is used to indicate user and arranges default power-off duration;
Obtain the default power-off duration that user is arranged;
Described default power-off duration is sent to smart jack, to make smart jack according to described default power-off duration, controls its "on" position.
In conjunction with second aspect, in the second possibility implementation of second aspect, when the network connection state described smart jack being detected is off-line, after reminding user, described method also comprises:
Receive the network connection state change message that smart jack sends;
When receiving described network connection state and changing message, change message based on described network connection state, user is reminded.
According to the third aspect of disclosure embodiment, a kind of control device of smart jack is provided, comprises:
Detection module, for detecting the network connection state of local terminal;
Timing module, during for detecting that when described detection module the network connection state of local terminal is off-line, starts timing;
Handover module, for when described timing module timing duration reaches default power-off duration, switches to closed condition by the "on" position of local terminal.
In conjunction with the third aspect, in the first possibility implementation of the third aspect, described device also comprises: sending module, for when described detection module detects that the network connection state of local terminal switches to online from off-line, send network connection state to opertaing device and change message, know that to make described opertaing device the network connection state of smart jack switches to from off-line online.
In conjunction with the third aspect, in the second possibility implementation of the third aspect, described device also comprises: receiver module, for the default power-off duration that receiving control apparatus is arranged;
Memory module, for receive when receiver module opertaing device arrange default power-off duration time, described default power-off duration is stored.
In conjunction with the third aspect, in the third possibility implementation of the third aspect, described timing module, also for when described detection module detects that the network connection state of local terminal switches to online from off-line within the scope of default power-off duration, stops timing.
According to the fourth aspect of disclosure embodiment, a kind of control device of smart jack is provided, comprises:
Detection module, for detecting the network connection state between smart jack;
Prompting module, during for detecting that when described detection module the network connection state of described smart jack is off-line, reminds user.
In conjunction with fourth aspect, in the first possibility implementation of fourth aspect, described device also comprises:
Display module, for showing the first interface, described first interface is used to indicate user and arranges default power-off duration;
Acquisition module, for obtaining the default power-off duration that user is arranged;
Sending module, for described default power-off duration is sent to smart jack, to make smart jack according to described default power-off duration, controls its "on" position.
In conjunction with fourth aspect, in the second possibility implementation of fourth aspect, described device also comprises:
Receiver module, the network connection state sent for receiving smart jack changes message;
Described prompting module, time also for receiving described network connection state change message when described receiver module, changes message based on described network connection state, reminds user.
According to the 5th aspect of disclosure embodiment, a kind of control device of smart jack is provided, comprises:
Processor;
For the executable instruction of storage of processor;
Wherein, described processor is configured to:
Detect the network connection state of local terminal;
When network connection state local terminal being detected is off-line, start timing;
When timing duration reaches default power-off duration, the "on" position of local terminal is switched to closed condition.
According to the 6th aspect of disclosure embodiment, a kind of control device of smart jack is provided, comprises:
Processor;
For the executable instruction of storage of processor;
Wherein, described processor is configured to:
Detect the network connection state between smart jack;
When the network connection state described smart jack being detected is off-line, user is reminded.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect:
The smart jack control method that disclosure embodiment provides and device, the network connection state of local terminal is detected by smart jack, when network connection state local terminal being detected is off-line, start timing, when timing duration reaches default power-off duration, the "on" position of local terminal is switched to closed condition.The technical scheme that disclosure embodiment provides, whether smart jack can detect local terminal in real time online, thus know the communications status between local terminal and opertaing device in time, once find that local terminal is in off-line state, then can determine that smart jack now can not receive any instruction of opertaing device, therefore, smart jack is after timing reaches default power-off duration, automatically "on" position is switched to closed condition, thus power down process can be carried out to the electric equipment be connected with smart jack, and then eliminate electric equipment and be in the potential safety hazard that "on" position causes always.
Should be understood that, it is only exemplary and explanatory that above general description and details hereinafter describe, and can not limit the disclosure.
Accompanying drawing explanation
Accompanying drawing to be herein merged in instructions and to form the part of this instructions, shows and meets embodiment of the present disclosure, and is used from instructions one and explains principle of the present disclosure.
Fig. 1 is the process flow diagram of a kind of smart jack control method according to an exemplary embodiment.
Fig. 2 is the process flow diagram of the another kind of smart jack control method according to an exemplary embodiment.
Fig. 3 is the process flow diagram of another the smart jack control method according to an exemplary embodiment.
Fig. 4 is a kind of smart jack control device block diagram according to an exemplary embodiment.
Fig. 5 is a kind of smart jack control device block diagram according to an exemplary embodiment.
Fig. 6 is a kind of smart jack control device block diagram according to an exemplary embodiment.
Fig. 7 is a kind of smart jack control device block diagram according to an exemplary embodiment.
Fig. 8 is a kind of smart jack control device block diagram according to an exemplary embodiment.
Fig. 9 is a kind of smart jack control device block diagram according to an exemplary embodiment.
Embodiment
For making object of the present disclosure, technical scheme and advantage clearly, below in conjunction with accompanying drawing, disclosure embodiment is described in further detail.
Here will be described exemplary embodiment in detail, its sample table shows in the accompanying drawings.When description below relates to accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawing represents same or analogous key element.Embodiment described in following exemplary embodiment does not represent all embodiments consistent with the disclosure.On the contrary, they only with as in appended claims describe in detail, the example of apparatus and method that aspects more of the present disclosure are consistent.
Fig. 1 is the process flow diagram of a kind of smart jack control method according to an exemplary embodiment, and as shown in Figure 1, the method is used for, in smart jack, comprising the following steps.
In step S101, detect the network connection state of local terminal.
In step s 102, when network connection state local terminal being detected is off-line, start timing.
In step s 103, when timing duration reaches default power-off duration, the "on" position of local terminal is switched to closed condition.
The method that disclosure embodiment provides, detected the network connection state of local terminal by smart jack, when network connection state local terminal being detected is off-line, start timing, when timing duration reaches default power-off duration, the "on" position of local terminal is switched to closed condition.The technical scheme that disclosure embodiment provides, whether smart jack can detect local terminal in real time online, thus know the communications status between local terminal and opertaing device in time, once find that local terminal is in off-line state, then can determine that smart jack now can not receive any instruction of opertaing device, therefore, smart jack is after timing reaches default power-off duration, automatically "on" position is switched to closed condition, thus power down process can be carried out to the electric equipment be connected with smart jack, and then eliminate electric equipment and be in the potential safety hazard that "on" position causes always.
In another embodiment that the disclosure provides, when timing duration reaches default power-off duration, after the "on" position of local terminal is switched to closed condition, the method also comprises: when detecting that the network connection state of local terminal switches to online from off-line, send network connection state to opertaing device and change message, know that to make opertaing device the network connection state of smart jack switches to from off-line online.
In another embodiment that the disclosure provides, before detecting the network connection state of local terminal, the method also comprises: when receiving the default power-off duration that opertaing device is arranged, store default power-off duration.
In another embodiment that the disclosure provides, when network connection state local terminal being detected is off-line, after starting timing, the method also comprises: when detecting that the network connection state of local terminal switches to online from off-line within the scope of default power-off duration, stops timing.
Above-mentioned all technical schemes, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
Fig. 2 is the process flow diagram of the another kind of smart jack control method according to an exemplary embodiment, and as shown in Figure 2, the method is used for, in opertaing device, comprising the following steps.
In step s 201, the network connection state between smart jack is detected.
In step S202, when network connection state smart jack being detected is off-line, user is reminded.
The method that disclosure embodiment provides, the network connection state between smart jack is detected by opertaing device, when network connection state smart jack being detected is off-line, user is reminded, thus make user can grasp the network connection state of smart jack in time.
In another embodiment that the disclosure provides, before detecting the network connection state between smart jack, the method also comprises:
Show the first interface, the first interface is used to indicate user and arranges default power-off duration.
Obtain the default power-off duration that user is arranged.
Default power-off duration is sent to smart jack, to make smart jack according to default power-off duration, controls its "on" position.
In another embodiment that the disclosure provides, when network connection state smart jack being detected is off-line, after reminding user, the method also comprises:
Receive the network connection state change message that smart jack sends.
When receiving network connection state and changing message, connection status Network Based changes message, reminds user.
Above-mentioned all technical schemes, can adopt and combine arbitrarily formation optional embodiment of the present invention, this is no longer going to repeat them.
In order to the process of disclosure embodiment is described in further detail, Fig. 3 is the process flow diagram of another the smart jack control method according to an exemplary embodiment, as shown in Figure 3, the method is applied in the system of smart jack and opertaing device composition, comprises the following steps.
In step S301, opertaing device shows the first interface, and the first interface is used to indicate user and arranges default power-off duration.
Wherein, the mobile device that opertaing device can be able to manipulate for mobile phone, panel computer etc., disclosure embodiment is in this no limit.First interface is a display interface on opertaing device, first interface can comprise the input frame for inputting default power-off duration, and the default power-off duration for user being inputted carries out the storage button that stores and is used for the cancellation button etc. that carried out by the default power-off duration that user inputs cancelling, disclosure embodiment does not do concrete restriction to the function at the first interface.
Wherein, user arranges default power-off duration on the first interface and can comprise following several mode:
First kind of way: the first interface can provide User Defined to preset power-off duration.Under this kind of mode, user can select manually input to preset power-off duration on the first interface, when opertaing device detects that user selects manually to input the operation presetting power-off duration, the input frame of power-off duration is preset in display manually input, user can input default power-off duration at this input frame, and the default power-off duration that subsequent control equipment inputs according to user is arranged.As, user can input 10 minutes as this default power-off duration.
The second way: the first interface can provide the default power-off duration of multiple systemic presupposition.Under this kind of mode, user can any one default power-off duration of providing of selective system on the first interface, when opertaing device detects that user operates the selection of default power-off duration, obtain this default power-off duration, subsequent control equipment is arranged according to chosen default power-off duration.As, the default power-off duration that opertaing device display system is arranged is 5 minutes, 10 minutes and 15 minutes, and user by choosing 10 minutes, thus can arrange default power-off duration.Compared to first kind of way, this kind of mode provides multiple default power-off duration for you to choose by server, can reduce user cost, and some are arranged the reference that the user that electrical equipment is not very understood also can provide based on server.
Above-mentionedly only list the mode that two kinds of users arrange default power-off duration, but in force, opertaing device can also provide other to arrange the mode of default power-off duration, and disclosure embodiment is not construed as limiting this.
In step s 302, opertaing device obtains the default power-off duration that user is arranged.
When opertaing device detects the setting operation of user on the first interface to default power-off duration, opertaing device can obtain the default power-off duration that user is arranged, and when receiving the holding instruction of this default power-off duration, the default power-off duration obtained is preserved, so that the follow-up transmission to this default power-off duration.
In step S303, default power-off duration is sent to smart jack by opertaing device.
Wherein, before default power-off duration is sent to smart jack by opertaing device, opertaing device needs to connect with smart jack.Opertaing device and smart jack connect the form that can comprise following two kinds:
The first form, opertaing device and smart jack directly connect, and directly carry out data communication in this kind of situation between opertaing device and smart jack.After connecting between opertaing device and smart jack, the connection that opertaing device can have been set up by this, sends to smart jack by default power-off duration.
The second form, opertaing device and smart jack are connected by router, the data transmitted between opertaing device and smart jack in this kind of situation, need be forwarded by router.After being connected by router between opertaing device and smart jack, this default power-off duration can be sent to router by opertaing device, makes router that this default power-off duration is forwarded to this smart jack.
In step s 304, when smart jack receives the default power-off duration of opertaing device transmission, default power-off duration is stored.
In this step, the default power-off duration of smart jack is that opertaing device arranges and sends, and in force, and smart jack also can be its built-in default power-off duration by production firm before it dispatches from the factory.
For this step S301-S304, can be the step of smart jack performed by before obtaining default power-off duration, after performing this step, smart jack according to the follow-up timing duration obtained and this default power-off duration, can be arranged its "on" position.This step S301-S304 can be regarded as one and obtains the step presetting power-off duration, therefore, only need perform before follow-up smart jack timing, without the need to repeating in each timing course.Certainly, if there is renewal opertaing device side to default power-off duration, also again the default power-off duration after upgrading can be sent to smart jack.
In step S305, smart jack detects the network connection state of local terminal.
Wherein, network connection state comprises online and off-line two states.Under normal circumstances, the situation such as jitter or suspension sent when router all may cause smart jack off-line.
When the network connection state of smart jack is online, data communication can be carried out between smart jack and opertaing device, when the network connection state of smart jack is off-line, data communication cannot be carried out between smart jack and opertaing device, in this kind of situation, smart jack cannot receive opertaing device and send control command.
In step S306, when the network connection state that smart jack detects local terminal is off-line, start timing.
When the network connection state that smart jack detects local terminal is off-line, smart jack cannot obtain opertaing device and send control command, and namely smart jack has departed from the control of opertaing device.Because the electric equipment be connected with smart jack is often in open state, when smart jack depart from opertaing device control and when being in "on" position always, coupled electric equipment is just in running status always, and then result in serious security hidden trouble, therefore, in order to avoid smart jack is when departing from opertaing device and controlling, be in "on" position always, when smart jack in disclosure embodiment can be off-line in network connection state local terminal being detected, start timing, so that follow-up after timing duration arrives default power-off duration, automatically "on" position is switched to closed condition, thus make coupled electric equipment be in off-position, and then eliminate potential safety hazard.
Due to when the network connection state of smart jack is online, data communication can be carried out between smart jack and opertaing device, smart jack can control its energising and power-off by opertaing device, and due to situations such as network fluctuations, temporary transient the going offline of this smart jack may be caused, now, also a kind of situation may be there is, namely within the scope of default power-off duration, smart jack switches to online from off-line, make the data communication between the recovery of this smart jack with opertaing device, therefore, user can control energising and the power-off of smart jack by opertaing device, in this case, in order to control more accurately smart jack, avoid because of short duration goes offline and the electric equipment power-off caused, and improve the dirigibility that smart jack is controlled further, smart jack in disclosure embodiment can also after timing, if when detecting that the network connection state of local terminal switches to online from off-line within the scope of default power-off duration, stop timing.
In step S307, when smart jack timing duration reaches default power-off duration, the "on" position of local terminal is switched to closed condition.
In this step by smart jack when reaching default power-off duration when timing duration, the "on" position of local terminal is switched to closed condition, the electric equipment be connected with smart jack can be made to enter off-position, and then avoid the security hidden trouble brought because electric equipment is in running status always.
In step S308, when smart jack detects that the network connection state of local terminal switches to online from off-line, send network connection state to opertaing device and change message.
In above-mentioned steps S307, when smart jack timing duration reaches default power-off duration, after the "on" position of local terminal is switched to closed condition, the all right Sampling network in real time of smart jack, during the network connected before detecting, then re-start network to connect, after reconnecting network success, the network connection state of local terminal is switched to by off-line online.
In order to ensure that opertaing device can grasp the network connection state of smart jack in time, when smart jack detects that the network connection state of local terminal switches to online from off-line, network connection state can be sent to opertaing device and change message, switch to online from off-line with the network connection state enabling opertaing device grasp smart jack in time according to this network state change message, and then can control smart jack.
In step S309, when opertaing device receives network connection state change message, connection status Network Based changes message, reminds user.
Can control smart jack in time for the ease of user, when opertaing device receives network state change message, message can be changed based on this network state, user is reminded, as, opertaing device can when receiving network state and changing message, play one section of voice document, as, play the voice document of a section " smart jack has been reached the standard grade " that user records voluntarily, or, opertaing device also can when receiving network state and changing message, eject corresponding prompting message window, also or, opertaing device also can when receiving network state and changing message, breath light is constantly glimmered etc. and carry out reminding user, disclosure embodiment is not construed as limiting this.
In addition, the current network connection state of smart jack is obtained in time in order to make user, opertaing device can also detect the network connection state between smart jack in real time, when the network connection state that opertaing device detects smart jack is off-line, user is reminded, knows that to make user the network connection state of smart jack is for off-line in time.The above-mentioned existing introduction of mode that opertaing device is reminded user, does not repeat at this.
The method that disclosure embodiment provides, whether smart jack can detect local terminal in real time online, thus know the communications status between local terminal and opertaing device in time, once find that local terminal is in off-line state, then can determine that smart jack now can not receive any instruction of opertaing device, therefore, smart jack is after timing reaches default power-off duration, automatically "on" position is switched to closed condition, thus power down process can be carried out to the electric equipment be connected with smart jack, and then eliminate electric equipment and be in the potential safety hazard that "on" position causes always, simultaneously, by smart jack when detecting that the network connection state of local terminal switches to online from off-line, send network state to opertaing device and change message, opertaing device can also be enable to grasp the network connection state of smart jack in time, and then in time smart jack is controlled.
Fig. 4 is a kind of smart jack control device block diagram according to an exemplary embodiment, and with reference to Fig. 4, this device 400 comprises: detection module 401, timing module 402, handover module 403.
Detection module 401 is configured to the network connection state detecting local terminal.
Timing module 402 is configured to when the network connection state that detection module 401 detects local terminal is off-line, starts timing.
Handover module 403 is configured to, when timing module 402 timing duration reaches default power-off duration, the "on" position of local terminal be switched to closed condition.
Fig. 5 is a kind of smart jack control device block diagram according to an exemplary embodiment, and with reference to Fig. 5, this device 400 also comprises: sending module 404, receiver module 405, memory module 406.
Sending module 404 is configured to when detection module 401 detects that the network connection state of local terminal switches to online from off-line, send network connection state to opertaing device and change message, know that to make opertaing device the network connection state of smart jack switches to from off-line online.
In another embodiment that the disclosure provides, receiver module 405 is configured to the default power-off duration that receiving control apparatus is arranged.
Memory module 406 is configured to, when receiver module receives the default power-off duration of opertaing device setting, store default power-off duration.
In another embodiment that the disclosure provides, timing module 402 is configured to when detection module 401 detects that the network connection state of local terminal switches to online from off-line within the scope of default power-off duration, stops timing.
The device that disclosure embodiment provides, detected the network connection state of local terminal by smart jack, when network connection state local terminal being detected is off-line, start timing, when timing duration reaches default power-off duration, the "on" position of local terminal is switched to closed condition.The technical scheme that disclosure embodiment provides, whether smart jack can detect local terminal in real time online, thus know the communications status between local terminal and opertaing device in time, once find that local terminal is in off-line state, then can determine that smart jack now can not receive any instruction of opertaing device, therefore, smart jack is after timing reaches default power-off duration, automatically "on" position is switched to closed condition, thus power down process can be carried out to the electric equipment be connected with smart jack, and then eliminate electric equipment and be in the potential safety hazard that "on" position causes always, simultaneously, by smart jack when detecting that the network connection state of local terminal switches to online from off-line, send network state to opertaing device and change message, opertaing device can also be enable to grasp the network connection state of smart jack in time, and then in time smart jack is controlled.
Fig. 6 is a kind of smart jack control device block diagram according to an exemplary embodiment, and with reference to Fig. 6, this device 600 comprises: detection module 601, prompting module 602.
Detection module 601 is configured to detect the network connection state between smart jack.
Prompting module 602 is configured to, when the network connection state that detection module 601 detects smart jack is off-line, remind user.
Fig. 7 is a kind of smart jack control device block diagram according to an exemplary embodiment, and with reference to Fig. 7, this device 600 also comprises: display module 603, acquisition module 604, sending module 605, receiver module 606.
Display module 603 is configured to display first interface, and the first interface is used to indicate user and arranges default power-off duration.
Acquisition module 604 is configured to the default power-off duration obtaining user's setting.
Sending module 605 is configured to default power-off duration to send to smart jack, to make smart jack according to default power-off duration, controls its "on" position.
In another embodiment that the disclosure provides, the network connection state that receiver module 606 is configured to receive smart jack transmission changes message.
Prompting module 602 is configured to when receiver module 606 receives network connection state change message, and connection status Network Based changes message, reminds user.
The device that disclosure embodiment provides, the network connection state between smart jack is detected by opertaing device, when network connection state smart jack being detected is off-line, user is reminded, thus make user can grasp the network connection state of smart jack in time.
About the device in above-described embodiment, wherein the concrete mode of modules executable operations has been described in detail in about the embodiment of the method, will not elaborate explanation herein.
Fig. 8 is a kind of smart jack control device block diagram according to an exemplary embodiment.With reference to Fig. 8, device 800 can comprise following one or more assembly: processing components 801, storer 802, power supply module 803, the interface 804 of I/O (I/O), communications component 805.
The integrated operation of the usual control device 800 of processing components 801.Processing components 801 can comprise one or more processor to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 801 can comprise one or more module, and what be convenient between processing components 801 and other assemblies is mutual.
Storer 802 is configured to store various types of data to be supported in the operation of equipment 800.The example of these data comprises for any application program of operation on device 800 or the instruction of method.Storer 802 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
I/O interface 804 is for providing interface between processing components 801 and peripheral interface module.
Communications component 805 is configured to the communication being convenient to wired or wireless mode between device 800 and other equipment.Device 800 can access the wireless network based on communication standard, as WiFi.In one exemplary embodiment, communications component 805 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 800 can be realized, for performing above-mentioned smart jack control method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 802 of instruction, above-mentioned instruction can perform said method by the processing components 801 of device 800.Such as, non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium, when the instruction in storage medium is performed by the processor of mobile terminal, make mobile terminal can perform smart jack control method, the method comprises:
Detect the network connection state of local terminal.
When network connection state local terminal being detected is off-line, start timing.
When timing duration reaches default power-off duration, the "on" position of local terminal is switched to closed condition.
Suppose that above-mentioned is the first possible embodiment, then, in the embodiment that the second provided based on the embodiment that the first is possible is possible, in the storer of mobile terminal, also comprise the instruction for performing following operation:
When timing duration reaches default power-off duration, after the "on" position of local terminal is switched to closed condition, the method also comprises:
When detecting that the network connection state of local terminal switches to online from off-line, sending network connection state to opertaing device and changing message, knowing that to make opertaing device the network connection state of smart jack switches to from off-line online.
In the third the possible implementation provided based on the implementation that the first is possible, before detecting the network connection state of local terminal, the method also comprises:
When receiving the default power-off duration that opertaing device is arranged, default power-off duration is stored.
In the 4th kind of possible implementation provided based on the implementation that the first is possible, when network connection state local terminal being detected is off-line, after starting timing, the method also comprises:
When detecting that the network connection state of local terminal switches to online from off-line within the scope of default power-off duration, stop timing.
The non-transitory computer-readable recording medium that disclosure embodiment provides, whether smart jack can detect local terminal in real time online, thus know the communications status between local terminal and opertaing device in time, once find that local terminal is in off-line state, then can determine that smart jack now can not receive any instruction of opertaing device, therefore, smart jack is after timing reaches default power-off duration, automatically "on" position is switched to closed condition, thus power down process can be carried out to the electric equipment be connected with smart jack, and then eliminate electric equipment and be in the potential safety hazard that "on" position causes always, simultaneously, by smart jack when detecting that the network connection state of local terminal switches to online from off-line, send network state to opertaing device and change message, opertaing device can also be enable to grasp the network connection state of smart jack in time, and then in time smart jack is controlled.
Fig. 9 is the block diagram of a kind of smart jack control device 900 according to an exemplary embodiment.Such as, device 900 can be mobile phone, computing machine, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, body-building equipment, personal digital assistant etc.
With reference to Fig. 9, device 900 can comprise following one or more assembly: processing components 902, storer 904, power supply module 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of I/O (I/O), sensor module 914, and communications component 916.
The integrated operation of the usual control device 900 of processing components 902, such as with display, call, data communication, camera operation and record operate the operation be associated.Treatment element 902 can comprise one or more processor 920 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 902 can comprise one or more module, and what be convenient between processing components 902 and other assemblies is mutual.Such as, processing element 902 can comprise multi-media module, mutual with what facilitate between multimedia groupware 908 and processing components 902.
Storer 904 is configured to store various types of data to be supported in the operation of equipment 900.The example of these data comprises for any application program of operation on device 900 or the instruction of method, contact data, telephone book data, message, picture, video etc.Storer 904 can be realized by the volatibility of any type or non-volatile memory device or their combination, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM), Erasable Programmable Read Only Memory EPROM (EPROM), programmable read only memory (PROM), ROM (read-only memory) (ROM), magnetic store, flash memory, disk or CD.
The various assemblies that electric power assembly 906 is device 900 provide electric power.Electric power assembly 906 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 900 and be associated.
Multimedia groupware 908 is included in the screen providing an output interface between described device 900 and user.In certain embodiments, screen can comprise liquid crystal display (LCD) and touch panel (TP).If screen comprises touch panel, screen may be implemented as touch-screen, to receive the input signal from user.Touch panel comprises one or more touch sensor with the gesture on sensing touch, slip and touch panel.Described touch sensor can the border of not only sensing touch or sliding action, but also detects the duration relevant to described touch or slide and pressure.In certain embodiments, multimedia groupware 908 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 900 is in operator scheme, during as screening-mode or video mode, front-facing camera and/or post-positioned pick-up head can receive outside multi-medium data.Each front-facing camera and post-positioned pick-up head can be fixing optical lens systems or have focal length and optical zoom ability.
Audio-frequency assembly 910 is configured to export and/or input audio signal.Such as, audio-frequency assembly 910 comprises a microphone (MIC), and when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The sound signal received can be stored in storer 904 further or be sent via communications component 916.In certain embodiments, audio-frequency assembly 910 also comprises a loudspeaker, for output audio signal.
I/O interface 912 is for providing interface between processing components 902 and peripheral interface module, and above-mentioned peripheral interface module can be keyboard, some striking wheel, button etc.These buttons can include but not limited to: home button, volume button, start button and locking press button.
Sensor module 914 comprises one or more sensor, for providing the state estimation of various aspects for device 900.Such as, sensor module 914 can detect the opening/closing state of equipment 900, the relative positioning of assembly, such as described assembly is display and the keypad of device 900, the position of all right pick-up unit 900 of sensor module 914 or device 900 1 assemblies changes, the presence or absence that user contacts with device 900, the temperature variation of device 900 orientation or acceleration/deceleration and device 900.Sensor module 914 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor module 914 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor module 914 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communications component 916 is configured to the communication being convenient to wired or wireless mode between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 916 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 916 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio-frequency (RF) identification (RFID) technology in NFC module, Infrared Data Association (IrDA) technology, ultra broadband (UWB) technology, bluetooth (BT) technology and other technologies realize.
In the exemplary embodiment, device 900 can be realized, for performing above-mentioned smart jack control method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), programmable logic device (PLD) (PLD), field programmable gate array (FPGA), controller, microcontroller, microprocessor or other electronic components.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium comprising instruction, such as, comprise the storer 904 of instruction, above-mentioned instruction can perform said method by the processor 920 of device 900.Such as, described non-transitory computer-readable recording medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk and optical data storage devices etc.
In the exemplary embodiment, additionally provide a kind of non-transitory computer-readable recording medium, when the instruction in described storage medium is performed by the processor of mobile terminal, make mobile terminal can perform smart jack control method, the method comprises:
Detect the network connection state between smart jack.
When network connection state smart jack being detected is off-line, user is reminded.
Suppose that above-mentioned is the first possible embodiment, then, in the embodiment that the second provided based on the embodiment that the first is possible is possible, in the storer of mobile terminal, also comprise the instruction for performing following operation:
Before detecting the network connection state between smart jack, method also comprises:
Show the first interface, the first interface is used to indicate user and arranges default power-off duration.
Obtain the default power-off duration that user is arranged.
Default power-off duration is sent to smart jack, to make smart jack according to default power-off duration, controls its "on" position.
In the third the possible implementation provided based on the implementation that the first is possible, when network connection state smart jack being detected is off-line, after reminding user, method also comprises:
Receive the network connection state change message that smart jack sends.
When receiving network connection state and changing message, connection status Network Based changes message, reminds user.
The non-transitory computer-readable recording medium that disclosure embodiment provides, the network connection state between smart jack is detected by opertaing device, when network connection state smart jack being detected is off-line, user is reminded, thus makes user can grasp the network connection state of smart jack in time.
Those skilled in the art, at consideration instructions and after putting into practice invention disclosed herein, will easily expect other embodiment of the present disclosure.The application is intended to contain any modification of the present disclosure, purposes or adaptations, and these modification, purposes or adaptations are followed general principle of the present disclosure and comprised the undocumented common practise in the art of the disclosure or conventional techniques means.Instructions and embodiment are only regarded as exemplary, and true scope of the present disclosure and spirit are pointed out by claim below.
Should be understood that, the disclosure is not limited to precision architecture described above and illustrated in the accompanying drawings, and can carry out various amendment and change not departing from its scope.The scope of the present disclosure is only limited by appended claim.

Claims (16)

1. a smart jack control method, is characterized in that, described method comprises:
Detect the network connection state of local terminal;
When network connection state local terminal being detected is off-line, start timing;
When timing duration reaches default power-off duration, the "on" position of local terminal is switched to closed condition.
2. method according to claim 1, is characterized in that, when timing duration reaches default power-off duration, after the "on" position of local terminal is switched to closed condition, described method also comprises:
When detecting that the network connection state of local terminal switches to online from off-line, sending network connection state to opertaing device and changing message, knowing that to make described opertaing device the network connection state of smart jack switches to from off-line online.
3. method according to claim 1, is characterized in that, before detecting the network connection state of local terminal, described method also comprises:
When receiving the default power-off duration that opertaing device is arranged, described default power-off duration is stored.
4. method according to claim 1, is characterized in that, when network connection state local terminal being detected is off-line, after starting timing, described method also comprises:
When detecting that the network connection state of local terminal switches to online from off-line within the scope of default power-off duration, stop timing.
5. a smart jack control method, is characterized in that, described method comprises:
Detect the network connection state between smart jack;
When the network connection state described smart jack being detected is off-line, user is reminded.
6. method according to claim 5, is characterized in that, before detecting the network connection state between smart jack, described method also comprises:
Show the first interface, described first interface is used to indicate user and arranges default power-off duration;
Obtain the default power-off duration that user is arranged;
Described default power-off duration is sent to smart jack, to make smart jack according to described default power-off duration, controls its "on" position.
7. method according to claim 5, is characterized in that, when the network connection state described smart jack being detected is off-line, after reminding user, described method also comprises:
Receive the network connection state change message that smart jack sends;
When receiving described network connection state and changing message, change message based on described network connection state, user is reminded.
8. a smart jack control device, is characterized in that, described device comprises:
Detection module, for detecting the network connection state of local terminal;
Timing module, during for detecting that when described detection module the network connection state of local terminal is off-line, starts timing;
Handover module, for when described timing module timing duration reaches default power-off duration, switches to closed condition by the "on" position of local terminal.
9. device according to claim 8, is characterized in that, described device also comprises:
Sending module, for when described detection module detects that the network connection state of local terminal switches to online from off-line, send network connection state to opertaing device and change message, know that to make described opertaing device the network connection state of smart jack switches to from off-line online.
10. device according to claim 8, is characterized in that, described device also comprises:
Receiver module, for the default power-off duration that receiving control apparatus is arranged;
Memory module, for receive when described receiver module opertaing device arrange default power-off duration time, described default power-off duration is stored.
11. devices according to claim 8, is characterized in that,
Described timing module, also for when described detection module detects that the network connection state of local terminal switches to online from off-line within the scope of default power-off duration, stops timing.
12. 1 kinds of smart jack control device, is characterized in that, described device comprises:
Detection module, for detecting the network connection state between smart jack;
Prompting module, during for detecting that when described detection module the network connection state of described smart jack is off-line, reminds user.
13. devices according to claim 12, is characterized in that, described device also comprises:
Display module, for showing the first interface, described first interface is used to indicate user and arranges default power-off duration;
Acquisition module, for obtaining the default power-off duration that user is arranged;
Sending module, for described default power-off duration is sent to smart jack, to make smart jack according to described default power-off duration, controls its "on" position.
14. devices according to claim 12, is characterized in that, described device also comprises:
Receiver module, the network connection state sent for receiving smart jack changes message;
Described prompting module, time also for receiving described network connection state change message when described receiver module, changes message based on described network connection state, reminds user.
15. 1 kinds of smart jack control device, is characterized in that, comprising:
Processor;
For the executable instruction of storage of processor;
Wherein, described processor is configured to:
Detect the network connection state of local terminal;
When network connection state local terminal being detected is off-line, start timing;
When timing duration reaches default power-off duration, the "on" position of local terminal is switched to closed condition.
16. 1 kinds of smart jack control device, is characterized in that, comprising:
Processor;
For the executable instruction of storage of processor;
Wherein, described processor is configured to:
Detect the network connection state between smart jack;
When the network connection state described smart jack being detected is off-line, user is reminded.
CN201410838283.7A 2014-12-29 2014-12-29 Intelligent socket control method and device Pending CN104615020A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410838283.7A CN104615020A (en) 2014-12-29 2014-12-29 Intelligent socket control method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410838283.7A CN104615020A (en) 2014-12-29 2014-12-29 Intelligent socket control method and device

Publications (1)

Publication Number Publication Date
CN104615020A true CN104615020A (en) 2015-05-13

Family

ID=53149522

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410838283.7A Pending CN104615020A (en) 2014-12-29 2014-12-29 Intelligent socket control method and device

Country Status (1)

Country Link
CN (1) CN104615020A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107513972A (en) * 2017-07-04 2017-12-26 长沙福田汽车科技有限公司 A kind of cleaning vehicle water circuit system control method, controller, system and cleaning vehicle
CN108566232A (en) * 2018-08-02 2018-09-21 南京大石电子科技有限公司 A kind of carrier communication system and method based on DC power line
CN111571643A (en) * 2020-05-27 2020-08-25 淮安信息职业技术学院 Robot off-line programming working time control and safety protection device
CN113311763A (en) * 2021-05-28 2021-08-27 宁波奥克斯电气股份有限公司 Intelligent equipment control method and device, computer device and intelligent equipment control system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7415310B2 (en) * 2005-09-15 2008-08-19 Intermatic Incorporated System for home automation
CN101414180A (en) * 2008-11-07 2009-04-22 深圳创维-Rgb电子有限公司 Remote control method, system and remote control equipment
CN102438077A (en) * 2011-12-31 2012-05-02 深圳天珑无线科技有限公司 Method and device for switching working state of mobile phone
CN104009898A (en) * 2014-06-10 2014-08-27 珠海格力电器股份有限公司 Household appliance and control method and device thereof
CN104023129A (en) * 2014-05-22 2014-09-03 小米科技有限责任公司 Power saving method and device thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7415310B2 (en) * 2005-09-15 2008-08-19 Intermatic Incorporated System for home automation
CN101414180A (en) * 2008-11-07 2009-04-22 深圳创维-Rgb电子有限公司 Remote control method, system and remote control equipment
CN102438077A (en) * 2011-12-31 2012-05-02 深圳天珑无线科技有限公司 Method and device for switching working state of mobile phone
CN104023129A (en) * 2014-05-22 2014-09-03 小米科技有限责任公司 Power saving method and device thereof
CN104009898A (en) * 2014-06-10 2014-08-27 珠海格力电器股份有限公司 Household appliance and control method and device thereof

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107513972A (en) * 2017-07-04 2017-12-26 长沙福田汽车科技有限公司 A kind of cleaning vehicle water circuit system control method, controller, system and cleaning vehicle
CN108566232A (en) * 2018-08-02 2018-09-21 南京大石电子科技有限公司 A kind of carrier communication system and method based on DC power line
CN111571643A (en) * 2020-05-27 2020-08-25 淮安信息职业技术学院 Robot off-line programming working time control and safety protection device
CN113311763A (en) * 2021-05-28 2021-08-27 宁波奥克斯电气股份有限公司 Intelligent equipment control method and device, computer device and intelligent equipment control system

Similar Documents

Publication Publication Date Title
CN104302048A (en) Lamp control method and device
CN105246045A (en) Method and device for determining user position change
CN105160239A (en) Application program access restriction method and apparatus
CN105554567A (en) Television control method and device
CN104902527A (en) Communication network switching method and communication network switching device
CN105388779A (en) Control method and device for intelligent equipment
CN105433904A (en) Sleep state detection method, device and system
CN104915123A (en) Terminal display method and device
CN105159672A (en) Remote assistance method and client
CN105516754A (en) Picture display control method, device and terminal
CN104717554A (en) Smart television control method and device and electronic equipment
CN105260247A (en) Method and device for controlling terminal application
CN103973900B (en) The method of transmission information and device
CN105487857A (en) Method and apparatus for prompting image shooting part to be started
CN105472676A (en) Network connection method and device
CN105242942A (en) Application control method and apparatus
CN105068467A (en) Method and device for controlling intelligent equipment
CN105516587A (en) Method for switching cameras and mobile terminal
CN104837154A (en) Wireless access point control method and device
CN104967888A (en) Remote control method and device and remote control equipment
CN105511307A (en) Control method and apparatus of electronic device
CN105207994A (en) Account number binding method and device
CN105302412A (en) Method and apparatus for displaying state of smart device
CN104539871A (en) Multimedia call method and device
CN104485552A (en) Socket on-off control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20150513