CN106375164A - Method and device for transmitting control command - Google Patents

Method and device for transmitting control command Download PDF

Info

Publication number
CN106375164A
CN106375164A CN201610757697.6A CN201610757697A CN106375164A CN 106375164 A CN106375164 A CN 106375164A CN 201610757697 A CN201610757697 A CN 201610757697A CN 106375164 A CN106375164 A CN 106375164A
Authority
CN
China
Prior art keywords
trigger message
state
default
control command
sleep
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
CN201610757697.6A
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 Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN201610757697.6A priority Critical patent/CN106375164A/en
Publication of CN106375164A publication Critical patent/CN106375164A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/2803Home automation networks
    • H04L12/2823Reporting information sensed by appliance or service execution status of appliance services in a home automation network
    • H04L12/2827Reporting to a device within the home network; wherein the reception of the information reported automatically triggers the execution of a home appliance functionality

Landscapes

  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The invention relates to a method and a device for transmitting a control command, and aims to realize smart control of equipment at night and bring convenience to the life of people. The method comprises the following steps: receiving first state triggering information in a sleep state; and sending a starting command to preset equipment when the first state triggering information belongs to preset triggering information which is relevant to wake-up.

Description

The method and device of transmission control command
Technical field
It relates to communication and computer disposal field, more particularly, to transmit the method and device of control command.
Background technology
With the development of electronic technology, the function that the equipment such as mobile phone, TV, air-conditioning provides is increasingly abundanter to be seen, also more next More intelligent.Even toilet can also provide a lot of functions, such as toilet seat heating, illumination etc..Make the life of people more and more square Just.
Content of the invention
For overcoming problem present in correlation technique, the disclosure provides a kind of method and device of transmission control command.
According to the embodiment of the present disclosure in a first aspect, provide a kind of transmission control command method, comprising:
In a sleep state, receive first state trigger message;
Described first state trigger message belong to default with wake up relevant trigger message when, send out to default equipment Send open command.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect: the present embodiment can be waken up in user Send open command from the default equipment of trend when coming, provide the user as early as possible conveniently, reduce user operation.
In one embodiment, methods described also includes:
Obtain the current time that sleep behavior occurs;
When current time belonged in the default time period, determine and be in sleep state.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect: it is permissible that the present embodiment passes through the time More accurately determine sleep state so that follow-up equipment control is also more accurate.
In one embodiment, methods described also includes:
Described first state trigger message belong to default with wake up relevant trigger message when, by described sleep state It is updated to wake state.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect: the present embodiment upgrades in time shape State, so that state is more accurate, contributes to subsequent treatment.
In one embodiment, methods described also includes:
Under wake state, receive the second state trigger message;
When described second state trigger message belongs to default relevant with sleep trigger message, send out to default equipment Send shutdown command.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect: the present embodiment can also be controlled automatically Control equipment is closed, and reduces user operation, is that user brings and more facilitates.
In one embodiment, described first state trigger message includes: behavior state trigger message and sensing triggering letter At least one in breath.
The technical scheme that embodiment of the disclosure provides can include following beneficial effect: the present embodiment can pass through multiple Information determines that state triggers, and makes determination mode more flexible various, also more accurate.
According to the second aspect of the embodiment of the present disclosure, provide a kind of device of transmission control command, comprising:
First receiver module, in a sleep state, receiving first state trigger message;
First sending module, for belonging to default and relevant trigger message of waking up in described first state trigger message When, send open command to default equipment.
In one embodiment, described device also includes:
Acquisition module, for obtaining the current time that sleep behavior occurs;
Determining module, for when current time belonged in the default time period, determining and being in sleep state.
In one embodiment, described device also includes:
Update module, for described first state trigger message belong to default with wake up relevant trigger message when, Described sleep state is updated to wake state.
In one embodiment, described device also includes:
Second receiver module, for, under wake state, receiving the second state trigger message;
Second sending module, for belonging to the default trigger message relevant with sleep in described second state trigger message When, send shutdown command to default equipment.
In one embodiment, described first state trigger message includes: behavior state trigger message and sensing triggering letter At least one in breath.
According to the third aspect of the embodiment of the present disclosure, provide a kind of device of transmission control command, comprising:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
In a sleep state, receive first state trigger message;
Described first state trigger message belong to default with wake up relevant trigger message when, send out to default equipment Send open command.
It should be appreciated that above general description and detailed description hereinafter are only exemplary and explanatory, not The disclosure can be limited.
Brief description
Accompanying drawing herein is merged in description and constitutes the part of this specification, shows the enforcement meeting the disclosure Example, and be used for explaining the principle of the disclosure together with description.
Fig. 1 is the flow chart of a kind of method of transmission control command according to an exemplary embodiment.
Fig. 2 is the flow chart of a kind of method of transmission control command according to an exemplary embodiment.
Fig. 3 is the flow chart of a kind of method of transmission control command according to an exemplary embodiment.
Fig. 4 is the flow chart of a kind of method of transmission control command according to an exemplary embodiment.
Fig. 5 is a kind of block diagram of the device of transmission control command according to an exemplary embodiment.
Fig. 6 is a kind of block diagram of the device of transmission control command according to an exemplary embodiment.
Fig. 7 is a kind of block diagram of the device of transmission control command according to an exemplary embodiment.
Fig. 8 is a kind of block diagram of the device of transmission control command according to an exemplary embodiment.
Fig. 9 is a kind of block diagram of the device according to an exemplary embodiment.
Figure 10 is a kind of block diagram of the device according to an exemplary embodiment.
Specific embodiment
Here will in detail exemplary embodiment be illustrated, its example is illustrated in the accompanying drawings.Explained below is related to During accompanying drawing, unless otherwise indicated, the same numbers in different accompanying drawings represent same or analogous key element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with such as appended The example of the consistent apparatus and method of some aspects being described in detail in claims, the disclosure.
In correlation technique, user is possible to midnight and gets up to think toilet.Some distances between bedroom and toilet, this On road, environment is all black.User looks for the switch meeting of lamp inconvenient under dark surrounds.In addition, the toilet seat of some toilets has adding Hot merit energy.User goes to and is now heated by switch by toilet, may have little time.If persistently keeping a whole night heating, lead again The consuming sent a telegraph.
For solving the above problems, the present embodiment can detect whether user wakes up from sleep state, detect wake up when, From the equipment transmitting control commands such as trend toilet, lamp so as to open.Provide the user the service such as illumination or heating as early as possible, be use Family provides convenient, and reduce user operation.
Fig. 1 is the flow chart of a kind of method of transmission control command according to an exemplary embodiment, as Fig. 1 institute Show, the method can be realized by equipment such as wearable device or sensors, comprises the following steps:
In a step 101, in a sleep state, receive first state trigger message.
In a step 102, described first state trigger message belong to default with wake up relevant trigger message when, to Default equipment sends open command.
Described first state trigger message be not belonging to default with wake up relevant trigger message when, can be terminated this Flow process, can wait execution step 101.
For example, wearable device is bracelet.Bracelet can detect whether user enters sleep state, such as detect and use the head of a household Time is motionless it is determined that user enters sleep state.If user is detected there is continuous big-movement it is determined that user wakes up. Nighttime users are waken up from sleep, and majority is because thinking toilet, so the equipment in toilet is set to default setting Standby, such as toilet, lamp of toilet etc..Of course, it is possible to voluntarily arrange according to actual needs.Now, user is upon getting up, just can be to The toilet of toilet and lamp send open command.Point bright light, can provide the user illumination, prevent user from falling down in time.In time Heating toilet circle, can provide the user more comfortable experience.
Wherein, wearable device can carry out radio communication with default equipment, such as wifi, bluetooth etc..Default equipment Can directly arrange it is also possible to be configured by the application of wearable device on mobile terminal on wearable device.
Wearable device can be set up with default equipment by communication and communicate before step 102, obtains The current state of equipment.If the current state of equipment is closed mode, send open command to equipment.If equipment work as Front state is opening, then do not send open command to equipment, terminate this flow process.
And for example, installation infrared sensor near bed, can be through infrared sensor when user leaves the bed.Infrared sensor After receiving induced signal, open command can be sent to the equipment of toilet.Infrared sensor is closed with the connection of default equipment System and processing mode can refer to wearable device.
The present embodiment can send open command, the side of providing the user as early as possible when user wakes up from the default equipment of trend Just, reduce user operation.
In one embodiment, most users general only at night sleep one long however not excluded that some users are on daytime Sleep an afternoon nap.Afternoon nap is comparatively short, so can wake up toilet in the centre taken a nap in rarely useful family.So, in order to reduce Maloperation, the present embodiment goes for night.Then, methods described also includes: step a1- step a2.
In step a1, obtain the current time that sleep behavior occurs.
In step a2, when current time belonged in the default time period, determine and be in sleep state.
Wherein, the default time period such as 22. -6 points.This default time period can by user according to own situation Lai clever Live and configure.
The present embodiment determines sleep state according to the time, afternoon nap is not defined as sleep state.So, subsequently can be direct Processed according to sleep state.
Or, occur sleep behavior to determine and be in sleep state, afternoon nap and nighttime sleep all can be at sleep state, so Determine whether to carry out subsequent treatment according to the time afterwards.Two schemes substantially identical.
Embodiment adds this condition of time period, can more accurately control device, reduce opening by mistake of equipment and open, section Save the energy.
In one embodiment, methods described also includes: step b1.
In step b1, described first state trigger message belong to default with wake up relevant trigger message when, will Described sleep state is updated to wake state.
The present embodiment upgrades state in time so that state is more accurate, contributes to subsequent treatment.
In one embodiment, methods described also includes: step c1- step c2.
In step c1, under wake state, receive the second state trigger message.
In step c2, when described second state trigger message belongs to default relevant with sleep trigger message, to Default equipment sends shutdown command.
For example, after user went toilet, if leaving the lamp closing toilet.This section so from toilet to bedroom Become black apart from environment, user easily falls down again.So needing to be automatically switched off the lamp of toilet after user goes to bed.And for example, User's majority that gets up at midnight is unalive it is likely that forgetting the heating function of manual-lock toilet seat after having gone toilet. Do not close heating function and can cause the wasting of resources, so needing to be automatically switched off the heating function of toilet seat.
For solving the above problems, the present embodiment, when user is again introduced into sleep state, can send from trend equipment and close Close order, with save energy.
, under wake state taking bracelet as a example, detect user motionless for a long time it is determined that user enter sleep state, Send shutdown command to the toilet of toilet and lamp.
, determine user after being received again by induced signal and enter sleep state, to the toilet of toilet taking infrared sensor as a example Send shutdown command with lamp.
In one embodiment, described first state trigger message and the second state trigger message may each comprise: behavior At least one in state trigger message and sensing trigger message.
Behavior state trigger message includes motor behavior and static behavior etc..Bracelet can be by the gravity sensor carrying Etc. identifying behavior state trigger message.In a sleep state, bracelet may detect that motor behavior, judges this motor behavior Duration, whether frequency, amplitude etc. meet the mark waken up, that is, whether belong to triggering letter that is default and waking up relevant Breath.If belong to default with relevant trigger message of waking up it is determined that user wakes up.
Sensing trigger message includes the sensing trigger message of the multiple sensors such as infrared induction signal.In a sleep state, Infrared inductor receives induced signal, that is, determine that user wakes up.That is, first state trigger message with default with wake up Relevant trigger message is identical.Infrared inductor can record to the number of times receiving induced signal, according to number of times judgement is First state trigger message or the second state trigger message.
Realize process is discussed in detail below by several embodiments.
Fig. 2 is the flow chart of a kind of method of transmission control command according to an exemplary embodiment, as Fig. 2 institute Show, the method can be realized by equipment such as wearable device or sensors, comprises the following steps:
In step 201, obtain the current time that sleep behavior occurs.
In step 202., when current time belonged in the default time period, determine and be in sleep state.
When current time was not belonging in the default time period, determines and be in wake state, terminate this flow process.
In step 203, in a sleep state, receive first state trigger message.
In step 204, described first state trigger message belong to default with wake up relevant trigger message when, to Default equipment sends open command.
Fig. 3 is the flow chart of a kind of method of transmission control command according to an exemplary embodiment, as Fig. 3 institute Show, the method can be realized by equipment such as wearable device or sensors, comprises the following steps:
In step 301, obtain the current time that sleep behavior occurs.
In step 302, when current time belonged in the default time period, determine and be in sleep state.
In step 303, in a sleep state, receive first state trigger message.
In step 304, described first state trigger message belong to default with wake up relevant trigger message when, to Default equipment sends open command.
In step 305, described first state trigger message belong to default with wake up relevant trigger message when, will Described sleep state is updated to wake state.
Fig. 4 is the flow chart of a kind of method of transmission control command according to an exemplary embodiment, as Fig. 4 institute Show, the method can be realized by equipment such as wearable device or sensors, comprises the following steps:
In step 401, obtain the current time that sleep behavior occurs.
In step 402, when current time belonged in the default time period, determine and be in sleep state.
In step 403, in a sleep state, receive first state trigger message.
In step 404, described first state trigger message belong to default with wake up relevant trigger message when, to Default equipment sends open command.
In step 405, described first state trigger message belong to default with wake up relevant trigger message when, will Described sleep state is updated to wake state.
In a step 406, under wake state, receive the second state trigger message.
In step 407, when described second state trigger message belongs to default relevant with sleep trigger message, to Default equipment sends shutdown command.
When described second state trigger message is not belonging to default relevant with sleep trigger message, terminate this stream Journey, can continue waiting for execution step 406.
By described above understood transmission control command realize process, this process is realized by equipment, below for setting Standby internal structure and function are introduced.
Fig. 5 is a kind of schematic device of the transmission control command according to an exemplary embodiment.With reference to Fig. 5, should Device includes: the first receiver module 501 and the first sending module 502.
First receiver module 501, in a sleep state, receiving first state trigger message.
First sending module 502, for belonging to default and relevant triggering of waking up in described first state trigger message During information, send open command to default equipment.
In one embodiment, as shown in fig. 6, described device also includes: acquisition module 503 and determining module 504.
Acquisition module 503, for obtaining the current time that sleep behavior occurs.
Determining module 504, for when current time belonged in the default time period, determining and being in sleep state.
In one embodiment, as shown in fig. 7, described device also includes: update module 505.
Update module 505, for belonging to default and relevant trigger message of waking up in described first state trigger message When, described sleep state is updated to wake state.
In one embodiment, as shown in figure 8, described device also includes: the second receiver module 506 and the second sending module 507.
Second receiver module 506, for, under wake state, receiving the second state trigger message.
Second sending module 507, for belonging to the default triggering relevant with sleep in described second state trigger message During information, send shutdown command to default equipment.
In one embodiment, described first state trigger message includes: behavior state trigger message and sensing triggering letter At least one in breath.
With regard to the device in above-described embodiment, wherein the concrete mode of modules execution operation is in relevant the method Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 9 is a kind of block diagram of the device 900 for transmitting control command according to an exemplary embodiment.Example As device 900 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, and flat board sets Standby, armarium, body-building equipment, personal digital assistant etc..
With reference to Fig. 9, device 900 can include following one or more assemblies: process assembly 902, memorizer 904, power supply Assembly 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of input/output (i/o), sensor cluster 914, and Communication component 916.
The integrated operation of the usual control device 900 of process assembly 902, such as with display, call, data communication, phase Machine operation and record operate associated operation.Process assembly 902 can include one or more processors 920 and refer to execute Order, to complete all or part of step of above-mentioned method.Additionally, process assembly 902 can include one or more modules, just Interaction between process assembly 902 and other assemblies.For example, process assembly 902 can include multi-media module, many to facilitate Interaction between media component 908 and process assembly 902.
Memorizer 904 is configured to store various types of data to support the operation in device 900.The showing of these data Example includes the instruction for any application program of operation or method on device 900, contact data, telephone book data, disappears Breath, picture, video etc..Memorizer 904 can be by any kind of volatibility or non-volatile memory device or their group Close and realize, such as static RAM (sram), Electrically Erasable Read Only Memory (eeprom), erasable compile Journey read only memory (eprom), programmable read only memory (prom), read only memory (rom), magnetic memory, flash Device, disk or CD.
Power supply module 906 provides power supply for the various assemblies of device 900.Power supply module 906 can include power management system System, one or more power supplys, and other generate, manage and distribute, with for device 900, the assembly that power supply is associated.
Multimedia groupware 908 includes the screen of one output interface of offer between described device 900 and user.One In a little embodiments, screen can include liquid crystal display (lcd) and touch panel (tp).If screen includes touch panel, screen Curtain may be implemented as touch screen, to receive the input signal from user.Touch panel includes one or more touch sensings Device is with the gesture on sensing touch, slip and touch panel.Described touch sensor can not only sensing touch or sliding action Border, but also detection and described touch or slide related persistent period and pressure.In certain embodiments, many matchmakers Body assembly 908 includes a front-facing camera and/or post-positioned pick-up head.When device 900 is in operator scheme, such as screening-mode or During 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 the optical lens system of a fixation or have focusing and optical zoom capabilities.
Audio-frequency assembly 910 is configured to output and/or input audio signal.For example, audio-frequency assembly 910 includes a Mike Wind (mic), when device 900 is in operator scheme, during as call model, logging mode and speech recognition mode, mike is joined It is set to reception external audio signal.The audio signal being received can be further stored in memorizer 904 or via communication set Part 916 sends.In certain embodiments, audio-frequency assembly 910 also includes a speaker, for exports audio signal.
, for providing interface between process assembly 902 and peripheral interface module, above-mentioned peripheral interface module can for i/o interface 912 To be keyboard, click wheel, button etc..These buttons may include but be not limited to: home button, volume button, start button and lock Determine button.
Sensor cluster 914 includes one or more sensors, for providing the state of various aspects to comment for device 900 Estimate.For example, sensor cluster 914 can detect/the closed mode of opening of device 900, and the relative localization of assembly is for example described Assembly is display and the keypad of device 900, and sensor cluster 914 can be with a group of detection means 900 or device 900 The position change of part, user is presence or absence of with what device 900 contacted, device 900 orientation or acceleration/deceleration and device 900 Temperature change.Sensor cluster 914 can include proximity transducer, is configured to the inspection when not having any physical contact Survey the presence of object nearby.Sensor cluster 914 can also include optical sensor, such as cmos or ccd imageing sensor, for Use in imaging applications.In certain embodiments, this sensor cluster 914 can also include acceleration transducer, and gyroscope passes Sensor, Magnetic Sensor, pressure transducer or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device 900 can access the wireless network based on communication standard, such as wifi, 2g or 3g, or combinations thereof.In an exemplary enforcement In example, communication component 916 receives broadcast singal or the broadcast related information from external broadcasting management system via broadcast channel. In one exemplary embodiment, described communication component 916 also includes near-field communication (nfc) module, to promote junction service.Example As, RF identification (rfid) technology can be based in nfc module, Infrared Data Association (irda) technology, ultra broadband (uwb) technology, Bluetooth (bt) technology and other technologies are realizing.
In the exemplary embodiment, device 900 can be by one or more application specific integrated circuits (asic), numeral letter Number processor (dsp), digital signal processing appts (dspd), PLD (pld), field programmable gate array (fpga), controller, microcontroller, microprocessor or other electronic components are realized, for executing said method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instruction, example are additionally provided As included the memorizer 904 instructing, above-mentioned instruction can be executed by the processor 920 of device 900 to complete said method.For example, Described non-transitorycomputer readable storage medium can be rom, random access memory (ram), cd-rom, tape, floppy disk With optical data storage devices etc..
A kind of device of transmission control command, comprising:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
In a sleep state, receive first state trigger message;
Described first state trigger message belong to default with wake up relevant trigger message when, send out to default equipment Send open command.
Described processor can be additionally configured to:
Methods described also includes:
Obtain the current time that sleep behavior occurs;
When current time belonged in the default time period, determine and be in sleep state.
Described processor can be additionally configured to:
Methods described also includes:
Described first state trigger message belong to default with wake up relevant trigger message when, by described sleep state It is updated to wake state.
Described processor can be additionally configured to:
Methods described also includes:
Under wake state, receive the second state trigger message;
When described second state trigger message belongs to default relevant with sleep trigger message, send out to default equipment Send shutdown command.
Described processor can be additionally configured to:
Described first state trigger message includes: at least one in behavior state trigger message and sensing trigger message.
A kind of non-transitorycomputer readable storage medium, when the instruction in described storage medium is by the process of mobile terminal So that mobile terminal is able to carry out a kind of method of transmission control command during device execution, methods described includes:
In a sleep state, receive first state trigger message;
Described first state trigger message belong to default with wake up relevant trigger message when, send out to default equipment Send open command.
Instruction in described storage medium can also include:
Methods described also includes:
Obtain the current time that sleep behavior occurs;
When current time belonged in the default time period, determine and be in sleep state.
Instruction in described storage medium can also include:
Methods described also includes:
Described first state trigger message belong to default with wake up relevant trigger message when, by described sleep state It is updated to wake state.
Instruction in described storage medium can also include:
Methods described also includes:
Under wake state, receive the second state trigger message;
When described second state trigger message belongs to default relevant with sleep trigger message, send out to default equipment Send shutdown command.
Instruction in described storage medium can also include:
Described first state trigger message includes: at least one in behavior state trigger message and sensing trigger message.
Figure 10 is a kind of block diagram of the device 1000 for transmitting control command according to an exemplary embodiment.Example As device 1000 may be provided in a computer.With reference to Figure 10, device 1000 includes process assembly 1022, and it wraps further Include one or more processors, and the memory resource representated by memorizer 1032, can be by process assembly for storage The instruction of 1022 execution, such as application program.In memorizer 1032 storage application program can include one or one with On each correspond to one group instruction module.Additionally, process assembly 1022 is configured to execute instruction, to execute above-mentioned side Method transmits control command.
Device 1000 can also include the power management that a power supply module 1026 is configured to performs device 1000, one Wired or wireless network interface 1050 is configured to for device 1000 to be connected to network, and input and output (i/o) interface 1058.Device 1000 can operate based on the operating system being stored in memorizer 1032, such as windows servertm, mac Os xtm, unixtm, linuxtm, freebsdtm or similar.
Those skilled in the art, after considering description and putting into practice invention disclosed herein, will readily occur to its of the disclosure Its embodiment.The application is intended to any modification, purposes or the adaptations of the disclosure, these modifications, purposes or Person's adaptations are followed the general principle of the disclosure and are included the undocumented common knowledge in the art of the disclosure Or conventional techniques.Description and embodiments be considered only as exemplary, the true scope of the disclosure and spirit by following Claim is pointed out.
It should be appreciated that the disclosure is not limited to be described above and precision architecture illustrated in the accompanying drawings, and And various modifications and changes can carried out without departing from the scope.The scope of the present disclosure only to be limited by appended claim.

Claims (11)

1. a kind of method of transmission control command is it is characterised in that include:
In a sleep state, receive first state trigger message;
Described first state trigger message belong to default with wake up relevant trigger message when, to default equipment send open Open order.
2. the method for transmission control command according to claim 1 is it is characterised in that methods described also includes:
Obtain the current time that sleep behavior occurs;
When current time belonged in the default time period, determine and be in sleep state.
3. the method for transmission control command according to claim 1 is it is characterised in that methods described also includes:
Described first state trigger message belong to default with wake up relevant trigger message when, by described sleep state update For wake state.
4. the method for transmission control command according to claim 3 is it is characterised in that methods described also includes:
Under wake state, receive the second state trigger message;
When described second state trigger message belongs to default relevant with sleep trigger message, send to default equipment and close Close order.
5. the method for transmission control command according to claim 1 is it is characterised in that described first state trigger message bag Include: at least one in behavior state trigger message and sensing trigger message.
6. a kind of device of transmission control command is it is characterised in that include:
First receiver module, in a sleep state, receiving first state trigger message;
First sending module, for described first state trigger message belong to default with wake up relevant trigger message when, Send open command to default equipment.
7. the device of transmission control command according to claim 6 is it is characterised in that described device also includes:
Acquisition module, for obtaining the current time that sleep behavior occurs;
Determining module, for when current time belonged in the default time period, determining and being in sleep state.
8. the device of transmission control command according to claim 6 is it is characterised in that described device also includes:
Update module, for described first state trigger message belong to default with wake up relevant trigger message when, by institute State sleep state and be updated to wake state.
9. the device of transmission control command according to claim 8 is it is characterised in that described device also includes:
Second receiver module, for, under wake state, receiving the second state trigger message;
Second sending module, for when described second state trigger message belongs to default relevant with sleep trigger message, Send shutdown command to default equipment.
10. the device of transmission control command according to claim 6 is it is characterised in that described first state trigger message Including: at least one in behavior state trigger message and sensing trigger message.
A kind of 11. devices of transmission control command are it is characterised in that include:
Processor;
For storing the memorizer of processor executable;
Wherein, described processor is configured to:
In a sleep state, receive first state trigger message;
Described first state trigger message belong to default with wake up relevant trigger message when, to default equipment send open Open order.
CN201610757697.6A 2016-08-29 2016-08-29 Method and device for transmitting control command Pending CN106375164A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610757697.6A CN106375164A (en) 2016-08-29 2016-08-29 Method and device for transmitting control command

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610757697.6A CN106375164A (en) 2016-08-29 2016-08-29 Method and device for transmitting control command

Publications (1)

Publication Number Publication Date
CN106375164A true CN106375164A (en) 2017-02-01

Family

ID=57902260

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610757697.6A Pending CN106375164A (en) 2016-08-29 2016-08-29 Method and device for transmitting control command

Country Status (1)

Country Link
CN (1) CN106375164A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109164711A (en) * 2018-08-31 2019-01-08 北京小米移动软件有限公司 Control the method and device of smart home device
CN110941191A (en) * 2019-10-22 2020-03-31 青岛海尔科技有限公司 Equipment control method and device based on Internet of things operating system and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105093919A (en) * 2015-08-13 2015-11-25 小米科技有限责任公司 Alarm clock management method and device and electronic equipment
CN105142304A (en) * 2015-09-30 2015-12-09 小米科技有限责任公司 Method and apparatus for controlling work of intelligent lamp
CN105257140A (en) * 2015-09-24 2016-01-20 小米科技有限责任公司 Method and device for controlling intelligent door and window
CN105373697A (en) * 2015-10-12 2016-03-02 小米科技有限责任公司 Sleep mode opening method and device
CN105516469A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 Clock control method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105093919A (en) * 2015-08-13 2015-11-25 小米科技有限责任公司 Alarm clock management method and device and electronic equipment
CN105257140A (en) * 2015-09-24 2016-01-20 小米科技有限责任公司 Method and device for controlling intelligent door and window
CN105142304A (en) * 2015-09-30 2015-12-09 小米科技有限责任公司 Method and apparatus for controlling work of intelligent lamp
CN105373697A (en) * 2015-10-12 2016-03-02 小米科技有限责任公司 Sleep mode opening method and device
CN105516469A (en) * 2015-11-27 2016-04-20 小米科技有限责任公司 Clock control method and device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何明,黄庆国,刘羽等: "《物联网与数字营区》", 31 January 2014 *
张福生: "《物联网 开启全新生活的智能时代》", 30 April 2010 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109164711A (en) * 2018-08-31 2019-01-08 北京小米移动软件有限公司 Control the method and device of smart home device
CN110941191A (en) * 2019-10-22 2020-03-31 青岛海尔科技有限公司 Equipment control method and device based on Internet of things operating system and storage medium
CN110941191B (en) * 2019-10-22 2023-08-18 青岛海尔科技有限公司 Equipment control method and device based on Internet of things operating system and storage medium

Similar Documents

Publication Publication Date Title
KR101837333B1 (en) Method and apparatus for awakening electronic device
CN104039040B (en) The control method and device of intelligent lamp
CN103926890B (en) Intelligent terminal control method and device
CN105517277B (en) Lighting apparatus control method and device
US9928725B2 (en) Method and device for reminding user
CN106055458B (en) A kind of charging reminding method, device and mobile device
CN104503691A (en) Equipment control method and device
CN105915401A (en) Firmware upgrading method and device of smart hardware, and equipment
CN106292320B (en) Control the method and device of controlled device operation
EP3099017A1 (en) A method and a device for controlling a smart home power supply
CN105093980B (en) Control the method and device of smart machine start and stop
CN105093919A (en) Alarm clock management method and device and electronic equipment
CN105892618A (en) Information display method and device and electronic device
CN106210336B (en) Control the method and device of mobile terminal state switching
CN105261191B (en) Operation control method and device
CN106357934A (en) Screen-locking control method and device
CN105068651A (en) Method, device, terminal and server for controlling alarm clock
CN107193439A (en) Illumination control method and device
CN105607818A (en) Application sorting method and apparatus
CN107529699A (en) Control method of electronic device and device
CN108712736A (en) Find the methods, devices and systems of equipment
CN108133180A (en) Fingerprint identification method, device and terminal
CN108185891A (en) The control method and device of intelligent closestool
CN104657172A (en) System upgrading method and device
CN105390120A (en) Bright screen control method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for 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: 20170201