CN104653026A - Method and device for controlling doors and windows - Google Patents

Method and device for controlling doors and windows Download PDF

Info

Publication number
CN104653026A
CN104653026A CN201510021500.8A CN201510021500A CN104653026A CN 104653026 A CN104653026 A CN 104653026A CN 201510021500 A CN201510021500 A CN 201510021500A CN 104653026 A CN104653026 A CN 104653026A
Authority
CN
China
Prior art keywords
door
window
set space
conditioned
weather information
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
CN201510021500.8A
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 CN201510021500.8A priority Critical patent/CN104653026A/en
Publication of CN104653026A publication Critical patent/CN104653026A/en
Pending legal-status Critical Current

Links

Classifications

    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05YINDEXING SCHEME RELATING TO HINGES OR OTHER SUSPENSION DEVICES FOR DOORS, WINDOWS OR WINGS AND DEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION, CHECKS FOR WINGS AND WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05Y2400/00Electronic control; Power supply; Power or signal transmission; User interfaces
    • E05Y2400/80User interfaces
    • E05Y2400/81User displays
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05YINDEXING SCHEME RELATING TO HINGES OR OTHER SUSPENSION DEVICES FOR DOORS, WINDOWS OR WINGS AND DEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION, CHECKS FOR WINGS AND WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05Y2400/00Electronic control; Power supply; Power or signal transmission; User interfaces
    • E05Y2400/80User interfaces
    • E05Y2400/85User input means
    • E05Y2400/852Sensors
    • EFIXED CONSTRUCTIONS
    • E05LOCKS; KEYS; WINDOW OR DOOR FITTINGS; SAFES
    • E05YINDEXING SCHEME RELATING TO HINGES OR OTHER SUSPENSION DEVICES FOR DOORS, WINDOWS OR WINGS AND DEVICES FOR MOVING WINGS INTO OPEN OR CLOSED POSITION, CHECKS FOR WINGS AND WING FITTINGS NOT OTHERWISE PROVIDED FOR, CONCERNED WITH THE FUNCTIONING OF THE WING
    • E05Y2900/00Application of doors, windows, wings or fittings thereof
    • E05Y2900/10Application of doors, windows, wings or fittings thereof for buildings or parts thereof
    • E05Y2900/13Application of doors, windows, wings or fittings thereof for buildings or parts thereof characterised by the type of wing
    • E05Y2900/148Windows

Abstract

The invention discloses a method and a device for controlling doors and windows, used for effectively promoting a user to close the doors and the windows. The method comprises the following steps of detecting whether a target object meets preset conditions; when determining that the preset conditions are met, obtaining status information of the doors and the windows in a preset space; when the obtained status information is open status information, outputting a prompting message that the doors and the windows are in open states.

Description

Control method and the device of door and window
Technical field
The disclosure relates to communication and computer disposal field, particularly relates to the method and device that control door and window.
Background technology
Along with the development of electronic technology, mobile terminal is generally applied, and updates quickly.The call function of mobile terminal from, to function of surfing the Net, then controls to more advanced various sensors, makes the control that mobile terminal can realize various Smart Home.
Summary of the invention
For overcoming Problems existing in correlation technique, the disclosure provides a kind of method and the device that control door and window.
According to the first aspect of disclosure embodiment, a kind of method controlling door and window is provided, comprises:
It is pre-conditioned whether detected target object meets;
When determining to meet pre-conditioned, obtain the status information of the door and window in described pre-set space;
When the described status information obtained is open state information, export the prompting message that door and window is in open mode.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: when the present embodiment determines that door and window is opened on a preset condition based, can export prompting message to user, and reminding user door and window is in open mode, so that user closes the doors and windows when needed.To close the doors and windows in time the safety that can improve in user family.
In one embodiment, described destination object is nearly body equipment;
It is pre-conditioned whether described detected target object meets, and comprising:
Detect described nearly body equipment whether to disconnect with the Wireless Communication Equipment in described pre-set space;
When Wireless Communication Equipment in described nearly body equipment and described pre-set space disconnects, determine to meet pre-conditioned.
Whether the technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: detect user by wireless signal in the present embodiment and be away from home, because nearly body equipment (as mobile terminal) itself has wireless signal measuring ability, the present embodiment only increases deterministic process, be simple and easy in like fashion realize, and testing result is more accurate.And then the accuracy exporting prompting message can be improved.
In one embodiment, described destination object is smart machine relevant with air in pre-set space;
It is pre-conditioned whether described detected target object meets, and comprising:
Detect the smart machine relevant with air in described pre-set space and whether be in opening;
When detecting that smart machine relevant with air in described pre-set space is in opening, determine to meet pre-conditioned.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: if smart machine relevant with air in the present embodiment is in opening, so door and window opens the effect that can affect the smart machine relevant with air, also may increase the power consumption of smart machine.So now reminding user door and window is in the effect of open mode better, so that user closes the doors and windows in time.
In one embodiment, described destination object is Weather information;
It is pre-conditioned whether described detected target object meets, and comprising:
Obtain the Weather information of described pre-set space;
Detect the described Weather information obtained and whether belong to default bad weather information;
When the bad weather information that the described Weather information of acquisition belongs to default being detected, determine to meet pre-conditioned.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: in the present embodiment, when weather condition is more severe, reminding user door and window is in open mode, effectively can close the doors and windows in time by reminding user, reduce bad weather to the impact in user family.
In one embodiment, described method also comprises:
Receive the instruction of closing the doors and windows of input;
According to instruction of closing the doors and windows described in receiving, control described door and window and close.
The technical scheme that embodiment of the present disclosure provides can comprise following beneficial effect: can also control door and window according to the instruction of user in the present embodiment and close, realize the automatic control of door and window and automatically close, Long-distance Control is carried out to door and window, can close the doors and windows in time, reduce the harmful effect in user family.
According to the second aspect of disclosure embodiment, a kind of device controlling door and window is provided, comprises:
Whether first detection module, meet pre-conditioned for detected target object;
Door and window state acquisition module, for when determining to meet pre-conditioned, obtains the status information of the door and window in described pre-set space;
Output module, for when the described status information obtained is open state information, exports the prompting message that door and window is in open mode.
In one embodiment, described destination object is nearly body equipment;
Described first detection module comprises:
Whether the first detection sub-module, disconnect with the Wireless Communication Equipment in described pre-set space for detecting described nearly body equipment;
Determine submodule, when disconnecting for the Wireless Communication Equipment in described nearly body equipment and described pre-set space, determine to meet pre-conditioned.
In one embodiment, described destination object is smart machine relevant with air in pre-set space;
Described first detection module comprises:
Whether the second detection sub-module, be in opening for detecting smart machine relevant with air in described pre-set space; When detecting that smart machine relevant with air in described pre-set space is in opening, determine to meet pre-conditioned.
In one embodiment, described destination object is Weather information;
Described first detection module comprises:
Obtain submodule, for obtaining the Weather information of described pre-set space;
3rd detection sub-module, whether the described Weather information for detecting acquisition belongs to default bad weather information; When the bad weather information that the described Weather information of acquisition belongs to default being detected, determine to meet pre-conditioned.
In one embodiment, described device also comprises:
Receiver module, for receiving the instruction of closing the doors and windows of input;
Control module, instruction of closing the doors and windows described in receiving for basis, controls described door and window and closes.
According to the third aspect of disclosure embodiment, a kind of device controlling door and window is provided, comprises:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
It is pre-conditioned whether detected target object meets;
When determining to meet pre-conditioned, obtain the status information of the door and window in described pre-set space;
When the described status information obtained is open state information, export the prompting message that door and window is in open mode.
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 manual and to form the part of this manual, shows and meets embodiment of the present disclosure, and is used from manual one and explains principle of the present disclosure.
Fig. 1 is a kind of flow chart controlling the method for door and window according to an exemplary embodiment.
Fig. 2 is a kind of flow chart controlling the method for door and window according to an exemplary embodiment.
Fig. 3 is a kind of flow chart controlling the method for door and window according to an exemplary embodiment.
Fig. 4 is a kind of flow chart controlling the method for door and window according to an exemplary embodiment.
Fig. 5 is a kind of block diagram controlling the device of door and window according to an exemplary embodiment.
Fig. 6 is the block diagram of a kind of first detection module according to an exemplary embodiment.
Fig. 7 is a kind of block diagram controlling the device of door and window according to an exemplary embodiment.
Fig. 8 is a kind of block diagram controlling the device of door and window according to an exemplary embodiment.
Fig. 9 is a kind of block diagram controlling the device of door and window according to an exemplary embodiment.
Figure 10 is the block diagram of a kind of device according to an exemplary embodiment.
Detailed description of the invention
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.
In correlation technique, may forget after user gos out and close the doors and windows.If door and window is in open mode when staying at home unmanned always, will cause in family dangerous.A kind of possible solution is that user returns in home and checks whether door and window closes.But user may forget inspection of going home, even if go home to check, the time of user also can be delayed.
For solving this problem, the present embodiment can near door and window sensor installation, detect door and window whether be in open mode.Mobile terminal can obtain the status information that sensor is sent, and knows whether door and window is in open mode.In addition, according to modes such as the position of self or radio signal status, mobile terminal can also know that user is away from home.When determining that user has been away from home and door and window is in open mode, exportable prompting message, reminding user door and window is in open mode, contributes to user and closes the doors and windows in time.
Fig. 1 is a kind of flow chart controlling the method for door and window according to an exemplary embodiment, and as shown in Figure 1, the method can be realized by mobile terminal or router, comprises the following steps:
In a step 101, whether detected target object meets pre-conditioned; When determining to meet pre-conditioned, continue step 102; When determining not meet pre-conditioned, this flow process can be terminated, or continue step 101.
In a step 102, the status information of the door and window in described pre-set space is obtained.
In step 103, when the described status information obtained is open state information, export the prompting message that door and window is in open mode.When the described status information obtained is closed condition information, terminate this flow process.
When the present embodiment determines that door and window is opened on a preset condition based, can export prompting message to user, reminding user door and window is in open mode, so that user closes the doors and windows when needed.To close the doors and windows in time the safety that can improve in user family.
For mobile terminal, whether detected target object meets pre-conditioned can be detect self whether to exceed pre-set space, and this pre-set space can be the pre-set space at user place, as the pre-set space at the family place of user.
That in the present embodiment, mobile terminal can be real-time or periodic (as every 5 minutes) detects the pre-set space self whether exceeding user place.Or mobile terminal detects when receiving certain and triggering the pre-set space self whether exceeding user place.User generally can carry with mobile terminal, so mobile terminal exceeds pre-set space, means that user exceeds the pre-set space at place.This pre-set space can be the space at the family place of user, or the space at office place, can be pre-configured by user.
Sensor installation near door and window in advance, to obtain the status information of the door and window in described pre-set space, comprises open state information and closed condition information.Sensor periodically initiatively can send the status information of door and window to mobile terminal.Or mobile terminal sends the request obtaining door and window status information to sensor, sensor contains the response of status information after receiving the request to mobile terminal feedback packet.Mobile terminal when determining to meet pre-conditioned, can send the request obtaining door and window status information to sensor.Can by the mutual various message of mode of wireless telecommunications before mobile terminal and sensor.Such as, sensor can connect the wireless router in user family, is connected to internet by wireless router, and then is connected with mobile terminal.
By self-position, mobile terminal can determine that user is away from home, can know that door and window is in open mode by the door and window status information obtained.When unmanned at home, door and window is still in open mode, and this may cause in family dangerous, and now reminding user door and window is in open mode, contributes to user and closes the doors and windows in time, reduces the dangerous loss brought.
For router, this router is positioned at pre-set space.Router can with door and window near sensor carry out wireless telecommunications, know whether door and window is in open mode.And router can carry out wireless telecommunications with mobile terminal (or Intelligent bracelet etc.), determines mobile terminal and the distance of self, whether exceed pre-set space by this Distance Judgment mobile terminal by the power of wireless signal.When door and window is in open mode and mobile terminal exceeds pre-set space, router exports prompting message by mobile terminal to user.
The prompting message exported in the present embodiment can be word, sound, vibration and default animated image etc.All can be applicable to the present embodiment by the reminding user door and window various prompting messages that are in open mode.Can also should close the doors and windows by reminding user further.
In one embodiment, step 101 can have multiple implementation, as mode A and mode B.
Mode A: the coordinate range being provided with the pre-set space at a place in advance.Mobile terminal obtains the positional information of self by GPS (global positioning system), judges whether the positional information of self exceeds the coordinate range of the pre-set space at a place.When exceeding coordinate range, determine that user is away from home.When not exceeding coordinate range, determine that user is not away from home.
Mode B:
Described destination object is nearly body equipment.Nearly body equipment can be mobile terminal etc.
It is pre-conditioned whether described detected target object meets, and comprising:
In step bl is determined., detect described nearly body equipment whether to disconnect with the Wireless Communication Equipment in described pre-set space;
In step B2, when the Wireless Communication Equipment in described nearly body equipment and described pre-set space disconnects, determine to meet pre-conditioned.
Wherein, Wireless Communication Equipment can be router etc.For router, whether router detection self disconnects with nearly body equipment, if disconnected, then can determine that nearly body equipment exceeds pre-set space, meet pre-conditioned.For mobile terminal, whether mobile terminal detects and self disconnects with Wireless Communication Equipment (as router), if disconnected, then can determine self to exceed pre-set space, meet pre-conditioned.
Detect the process whether described nearly body equipment disconnect with the Wireless Communication Equipment in described pre-set space as follows:
For router, router is positioned at pre-set space.Router obtains the mark set of terminal device.Whether the mark set of sense terminals equipment comprises the mark of default nearly body equipment.When the mark set of terminal device does not comprise the mark of default nearly body equipment, determine to meet pre-conditioned.
For mobile terminal, mobile terminal obtains the mark set of Wireless Communication Equipment.Whether the mark set detecting described Wireless Communication Equipment comprises the mark of the Wireless Communication Equipment in described pre-set space.When the mark set of described Wireless Communication Equipment does not comprise the mark of the Wireless Communication Equipment in described pre-set space, determine to meet pre-conditioned.When the mark set of described Wireless Communication Equipment comprises the mark of the Wireless Communication Equipment in described pre-set space, determine the pre-set space not exceeding a place.
If mobile terminal is in pre-set space in the present embodiment, then can be connected with the Wireless Communication Equipment (as router) in pre-set space to wirelessly.This wireless connections generally belong to short distance and connect, as about 10 meters.If mobile terminal exceeds pre-set space, then possibly cannot be connected with the Wireless Communication Equipment in pre-set space.That is mobile scanning terminal to the mark set of Wireless Communication Equipment do not comprise the mark of the Wireless Communication Equipment in pre-set space.Therefore, mobile terminal can detect self whether to exceed pre-set space by the mark set of Wireless Communication Equipment.
In one embodiment, described destination object is smart machine relevant with air in pre-set space;
Step 101 can comprise step C1 and step C2.
In step C1, detect the smart machine relevant with air in described pre-set space and whether be in opening;
In step C2, when detecting that smart machine relevant with air in described pre-set space is in opening, determine to meet pre-conditioned.
That is, in step 103, detecting that smart machine relevant with air in described pre-set space is in opening, and when the described status information obtained is open state information, the prompting message that door and window is in open mode is exported.
When detecting that smart machine relevant with air in described pre-set space is in closed condition, prompting message can not be exported.
Smart machine relevant with air in the present embodiment has air-conditioning, air purifier, humidifier, dehumidifier etc.If these smart machines relevant with air are in opening, now open door and window again, then these smart machines are not only in running order all the time, and the effect of work is bad, do not play the effect of expection, waste a large amount of electric energy on the contrary.If now can close the doors and windows, then these smart machines can effectively play a role, and save power consumption.So detecting that smart machine relevant with air in described pre-set space is in opening, and when the described status information obtained is open state information, export prompting message, the effect that reminding user is closed the doors and windows in time is better.
In one embodiment, described destination object is Weather information.
Step 101 can comprise step D1 and step D2.
In step D1, obtain the Weather information of described pre-set space;
In step d 2, detect the described Weather information obtained and whether belong to default bad weather information; When the bad weather information that the described Weather information of acquisition belongs to default being detected, determine to meet pre-conditioned.
Namely in step 103, the bad weather information that the described Weather information of acquisition belongs to default detected, and when the described status information obtained is open state information, export the prompting message that door and window is in open mode.
When the fair weather information that the described Weather information of acquisition belongs to default being detected, prompting message can not be exported.
The bad weather information such as rainy, snow, haze, mist, the PM2.5 that preset in the present embodiment are greater than 100, PM10 is greater than 50, wind-force is greater than 3 grades, temperature is less than 0 DEG C etc.User can according to the pre-configured bad weather information of the needs of oneself.Mobile terminal can obtain the Weather information of pre-set space by modes such as local detection or Network Captures, then judge the bad weather the information whether Weather information of pre-set space belongs to default.If belong to bad weather information, so illustrate that the weather condition of pre-set space is not so good, if open door and window, harmful effect can be produced in pre-set space, as family enters rainwater or a large amount of dusts etc.So, the bad weather information that the described Weather information of acquisition belongs to default detected, and when the described status information obtained is open state information, exporting prompting message, the better effects if that reminding user is closed the doors and windows in time, contribute to the loss reducing user.
In one embodiment, described method also comprises: step e 1 and step e 2.
In step e 1, receive the instruction of closing the doors and windows of input.
In step e 2, according to instruction of closing the doors and windows described in receiving, control described door and window and close.
The present embodiment not only can be closed the doors and windows by reminding user, can also according to the instruction self-closing doors window of user.Realize the Long-distance Control to door and window.On door and window, install the device controlling door and window and open or close in the present embodiment in advance, mobile terminal can be connected by wireless network with this device.Mobile terminal, after receiving the instruction of closing the doors and windows, sends shutdown command to this device.This device performs shutdown command and closes the doors and windows.Wherein, shutdown command can comprise the mark of door and window, to control the door and window represented by this mark.Do not need user to run home to close the doors and windows, more convenient user controls the closedown of door and window.
The implementation procedure controlling door and window is introduced in detail below by several embodiment.
Fig. 2 is a kind of flow chart controlling the method for door and window according to an exemplary embodiment, and as shown in Figure 2, the method can be realized by mobile terminal, comprises the following steps:
In step 201, the connection status with Wireless Communication Equipment is obtained.
In step 202., according to the connection status obtained, detect described nearly body equipment and whether disconnect with the Wireless Communication Equipment in described pre-set space.When Wireless Communication Equipment in described nearly body equipment and described pre-set space disconnects, determine to meet pre-conditioned, continue step 203.When Wireless Communication Equipment in described nearly body equipment and described pre-set space does not disconnect, determine the pre-set space not exceeding a place, terminate this flow process, or continue step 201.
In step 203, the status information of the door and window in described pre-set space is obtained.When the described status information obtained is open state information, continue step 204.When the described status information obtained is closed condition information, terminate this flow process.
In step 204, the prompting message that door and window is in open mode is exported.
Fig. 3 is a kind of flow chart controlling the method for door and window according to an exemplary embodiment, and as shown in Figure 3, the method can be realized by mobile terminal, comprises the following steps:
In step 301, the mark set of Wireless Communication Equipment is obtained.
In step 302, whether the mark set detecting described Wireless Communication Equipment comprises the mark of the Wireless Communication Equipment in described pre-set space.When the mark set of described Wireless Communication Equipment does not comprise the mark of the Wireless Communication Equipment in described pre-set space, determine to meet pre-conditioned, continue step 303.When the mark set of described Wireless Communication Equipment comprises the mark of the Wireless Communication Equipment in described pre-set space, determine the pre-set space not exceeding a place, terminate this flow process, or continue step 301.
In step 303, the status information of the door and window in described pre-set space is obtained.When the described status information obtained is open state information, continue step 304.When the described status information obtained is closed condition information, terminate this flow process.
In step 304, detect the smart machine relevant with air in described pre-set space and whether be in opening.When detecting that smart machine relevant with air in described pre-set space is in opening, continue step 305.When detecting that smart machine relevant with air in described pre-set space is in closed condition, terminate this flow process.
In step 305, the prompting message that door and window is in open mode is exported.
Fig. 4 is a kind of flow chart controlling the method for door and window according to an exemplary embodiment, and as shown in Figure 4, the method can be realized by mobile terminal, comprises the following steps:
In step 401, the mark set of Wireless Communication Equipment is obtained.
In step 402, whether the mark set detecting described Wireless Communication Equipment comprises the mark of the Wireless Communication Equipment in described pre-set space.When the mark set of described Wireless Communication Equipment does not comprise the mark of the Wireless Communication Equipment in described pre-set space, determine to meet pre-conditioned, continue step 403.When the mark set of described Wireless Communication Equipment comprises the mark of the Wireless Communication Equipment in described pre-set space, determine the pre-set space not exceeding a place, terminate this flow process, or continue step 401.
In step 403, the status information of the door and window in described pre-set space is obtained.When the described status information obtained is open state information, continue step 404.When the described status information obtained is closed condition information, terminate this flow process.
In step 404, detect the smart machine relevant with air in described pre-set space and whether be in opening.When detecting that smart machine relevant with air in described pre-set space is in opening, continue step 407.When detecting that smart machine relevant with air in described pre-set space is in closed condition, continue step 405.
In step 405, the Weather information of described pre-set space is obtained.
In a step 406, detect the described Weather information obtained and whether belong to default bad weather information.When the bad weather information that the described Weather information of acquisition belongs to default being detected, continue step 407.When the bad weather information that the described Weather information of acquisition does not belong to default being detected, terminate this flow process.
In step 407, the prompting message that door and window is in open mode is exported.
In a step 408, the instruction of closing the doors and windows of input is received.
In step 409, according to instruction of closing the doors and windows described in receiving, control described door and window and close.
Wherein, step 404 detects smart machine state and step 405 and step 406, and to detect Weather information be two relatively independent processes, performs priority without strict.
Control the implementation procedure of door and window by being described above to have separated, this process is realized by mobile terminal, is introduced below for the internal construction of equipment and function.
Fig. 5 is a kind of device schematic diagram controlling door and window according to an exemplary embodiment.With reference to Fig. 5, this device comprises: first detection module 501, door and window state acquisition module 502 and output module 503.
Whether first detection module 501, meet pre-conditioned for detected target object.
Door and window state acquisition module 502, for when determining to meet pre-conditioned, obtains the status information of the door and window in described pre-set space.
Output module 503, for when the described status information obtained is open state information, exports the prompting message that door and window is in open mode.
In one embodiment, described destination object is nearly body equipment.
As shown in Figure 6, described first detection module 501 comprises: detection sub-module 5011 and determine submodule 5012.
Whether the first detection sub-module 5011, disconnect with the Wireless Communication Equipment in described pre-set space for detecting described nearly body equipment.
Determine submodule 5012, when disconnecting for the Wireless Communication Equipment in described nearly body equipment and described pre-set space, determine to meet pre-conditioned.
Detection sub-module 5011, for obtaining the mark set of Wireless Communication Equipment.Whether the mark set detecting described Wireless Communication Equipment comprises the mark of the Wireless Communication Equipment in described pre-set space.
Determine submodule 5012, for when the mark set of described Wireless Communication Equipment does not comprise the mark of the Wireless Communication Equipment in described pre-set space, determine to meet pre-conditioned.
In one embodiment, described destination object is smart machine relevant with air in pre-set space.
As shown in Figure 7, described first detection module 501 comprises: the second detection sub-module 5013.
Whether the second detection sub-module 5013, be in opening for detecting smart machine relevant with air in described pre-set space; When detecting that smart machine relevant with air in described pre-set space is in opening, determine to meet pre-conditioned.
Described output module 503 detecting that smart machine relevant with air in described pre-set space is in opening, and when the described status information obtained is open state information, exports the prompting message that door and window is in open mode.
In one embodiment, described destination object is Weather information.
As shown in Figure 8, described first detection module 501 comprises: obtain submodule 5014 and the 3rd detection sub-module 5015.
Obtain submodule 5014, for obtaining the Weather information of described pre-set space;
3rd detection sub-module 5015, whether the described Weather information for detecting acquisition belongs to default bad weather information; When the bad weather information that the described Weather information of acquisition belongs to default being detected, determine to meet pre-conditioned.
Described output module 503 is detecting the bad weather information that the described Weather information of acquisition belongs to default, and when the described status information obtained is open state information, exports the prompting message that door and window is in open mode.
In one embodiment, as shown in Figure 9, described device also comprises: receiver module 504 and control module 505.
Receiver module 504, for receiving the instruction of closing the doors and windows of input.
Control module 505, instruction of closing the doors and windows described in receiving for basis, controls described door and window and closes.
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.
Figure 10 is the block diagram of a kind of device 1000 for controlling door and window according to an exemplary embodiment.Such as, device 1000 can be mobile phone, computer, digital broadcast terminal, messaging devices, game console, tablet device, Medical Devices, fitness equipment, personal digital assistant etc.
With reference to Figure 10, device 1000 can comprise following one or more assembly: processing components 1002, memory 1004, power supply module 1006, multimedia groupware 1008, audio-frequency assembly 1010, the interface 1012 of I/O (I/O), sensor cluster 1014, and communications component 1016.
The integrated operation of the usual control device 1000 of processing components 1002, such as with display, call, data communication, camera operation and record operate the operation be associated.Processing components 1002 can comprise one or more processor 1020 to perform instruction, to complete all or part of step of above-mentioned method.In addition, processing components 1002 can comprise one or more module, and what be convenient between processing components 1002 and other assemblies is mutual.Such as, processing unit 1002 can comprise multi-media module, mutual with what facilitate between multimedia groupware 1008 and processing components 1002.
Memory 1004 is configured to store various types of data to be supported in the operation of equipment 1000.The example of these data comprises for any application program of operation on device 1000 or the instruction of method, contact data, telephone book data, message, picture, video etc.Memory 1004 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), read-only storage (ROM), magnetic memory, flash memory, disk or CD.
The various assemblies that electric power assembly 1006 is device 1000 provide electric power.Electric power assembly 1006 can comprise power-supply management system, one or more power supply, and other and the assembly generating, manage and distribute electric power for device 1000 and be associated.
Multimedia groupware 1008 is included in the screen providing an output interface between described device 1000 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 1008 comprises a front-facing camera and/or post-positioned pick-up head.When equipment 1000 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 1010 is configured to export and/or input audio signal.Such as, audio-frequency assembly 1010 comprises a microphone (MIC), and when device 1000 is in operator scheme, during as call model, logging mode and speech recognition mode, microphone is configured to receive external audio signal.The audio signal received can be stored in memory 1004 further or be sent via communications component 1016.In certain embodiments, audio-frequency assembly 1010 also comprises a loudspeaker, for output audio signal.
I/O interface 1012 is for providing interface between processing components 1002 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 cluster 1014 comprises one or more sensor, for providing the state estimation of various aspects for device 1000.Such as, sensor cluster 1014 can detect the opening/closing state of equipment 1000, the relative positioning of assembly, such as described assembly is display and the keypad of device 1000, the position of an assembly of all right checkout gear 1000 of sensor cluster 1014 or device 1000 changes, the presence or absence that user contacts with device 1000, the variations in temperature of device 1000 orientation or acceleration/deceleration and device 1000.Sensor cluster 1014 can comprise proximity transducer, be configured to without any physical contact time detect near the existence of object.Sensor cluster 1014 can also comprise optical sensor, as CMOS or ccd image sensor, for using in imaging applications.In certain embodiments, this sensor cluster 1014 can also comprise acceleration transducer, gyro sensor, Magnetic Sensor, pressure sensor or temperature pick up.
Communications component 1016 is configured to the communication being convenient to wired or wireless mode between device 1000 and other equipment.Device 1000 can access the wireless network based on communication standard, as WiFi, 2G or 3G, or their combination.In one exemplary embodiment, communication component 1016 receives from the broadcast singal of external broadcasting management system or broadcast related information via broadcast channel.In one exemplary embodiment, described communication component 1016 also comprises near-field communication (NFC) module, to promote junction service.Such as, can based on radio frequency 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 1000 can be realized, for performing said method by one or more application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing appts (DSPD), 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 memory 1004 of instruction, above-mentioned instruction can perform said method by the processor 1020 of device 1000.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.
Control a device for door and window, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
It is pre-conditioned whether detected target object meets;
When determining to meet pre-conditioned, obtain the status information of the door and window in described pre-set space;
When the described status information obtained is open state information, export the prompting message that door and window is in open mode.
Described processor can also be configured to:
Described destination object is nearly body equipment;
It is pre-conditioned whether described detected target object meets, and comprising:
Detect described nearly body equipment whether to disconnect with the Wireless Communication Equipment in described pre-set space;
When Wireless Communication Equipment in described nearly body equipment and described pre-set space disconnects, determine to meet pre-conditioned.
Described processor can also be configured to:
Described destination object is smart machine relevant with air in pre-set space;
It is pre-conditioned whether described detected target object meets, and comprising:
Detect the smart machine relevant with air in described pre-set space and whether be in opening;
When detecting that smart machine relevant with air in described pre-set space is in opening, determine to meet pre-conditioned.
Described processor can also be configured to:
Described destination object is Weather information;
It is pre-conditioned whether described detected target object meets, and comprising:
Obtain the Weather information of described pre-set space;
Detect the described Weather information obtained and whether belong to default bad weather information;
When the bad weather information that the described Weather information of acquisition belongs to default being detected, determine to meet pre-conditioned.
Described processor can also be configured to:
Described method also comprises:
Receive the instruction of closing the doors and windows of input;
According to instruction of closing the doors and windows described in receiving, control described door and window and close.
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 a kind of method controlling door and window, described method comprises:
It is pre-conditioned whether detected target object meets;
When determining to meet pre-conditioned, obtain the status information of the door and window in described pre-set space;
When the described status information obtained is open state information, export the prompting message that door and window is in open mode.
Instruction in described storage medium can also comprise:
Described destination object is nearly body equipment;
It is pre-conditioned whether described detected target object meets, and comprising:
Detect described nearly body equipment whether to disconnect with the Wireless Communication Equipment in described pre-set space;
When Wireless Communication Equipment in described nearly body equipment and described pre-set space disconnects, determine to meet pre-conditioned.
Instruction in described storage medium can also comprise:
Described destination object is smart machine relevant with air in pre-set space;
It is pre-conditioned whether described detected target object meets, and comprising:
Detect the smart machine relevant with air in described pre-set space and whether be in opening;
When detecting that smart machine relevant with air in described pre-set space is in opening, determine to meet pre-conditioned.
Instruction in described storage medium can also comprise:
Described destination object is Weather information;
It is pre-conditioned whether described detected target object meets, and comprising:
Obtain the Weather information of described pre-set space;
Detect the described Weather information obtained and whether belong to default bad weather information;
When the bad weather information that the described Weather information of acquisition belongs to default being detected, determine to meet pre-conditioned.
Instruction in described storage medium can also comprise:
Described method also comprises:
Receive the instruction of closing the doors and windows of input;
According to instruction of closing the doors and windows described in receiving, control described door and window and close.
Those skilled in the art, at consideration manual 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.Manual 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 (11)

1. control a method for door and window, it is characterized in that, comprising:
It is pre-conditioned whether detected target object meets;
When determining to meet pre-conditioned, obtain the status information of the door and window in described pre-set space;
When the described status information obtained is open state information, export the prompting message that door and window is in open mode.
2. the method for control door and window according to claim 1, is characterized in that, described destination object is nearly body equipment;
It is pre-conditioned whether described detected target object meets, and comprising:
Detect described nearly body equipment whether to disconnect with the Wireless Communication Equipment in described pre-set space;
When Wireless Communication Equipment in described nearly body equipment and described pre-set space disconnects, determine to meet pre-conditioned.
3. the method for control door and window according to claim 1, is characterized in that, described destination object is smart machine relevant with air in pre-set space;
It is pre-conditioned whether described detected target object meets, and comprising:
Detect the smart machine relevant with air in described pre-set space and whether be in opening;
When detecting that smart machine relevant with air in described pre-set space is in opening, determine to meet pre-conditioned.
4. the method for control door and window according to claim 1, is characterized in that, described destination object is Weather information;
It is pre-conditioned whether described detected target object meets, and comprising:
Obtain the Weather information of described pre-set space;
Detect the described Weather information obtained and whether belong to default bad weather information;
When the bad weather information that the described Weather information of acquisition belongs to default being detected, determine to meet pre-conditioned.
5. the method for control door and window according to claim 1, is characterized in that, described method also comprises:
Receive the instruction of closing the doors and windows of input;
According to instruction of closing the doors and windows described in receiving, control described door and window and close.
6. control a device for door and window, it is characterized in that, comprising:
Whether first detection module, meet pre-conditioned for detected target object;
Door and window state acquisition module, for when determining to meet pre-conditioned, obtains the status information of the door and window in described pre-set space;
Output module, for when the described status information obtained is open state information, exports the prompting message that door and window is in open mode.
7. the device of control door and window according to claim 6, is characterized in that, described destination object is nearly body equipment;
Described first detection module comprises:
Whether the first detection sub-module, disconnect with the Wireless Communication Equipment in described pre-set space for detecting described nearly body equipment;
Determine submodule, when disconnecting for the Wireless Communication Equipment in described nearly body equipment and described pre-set space, determine to meet pre-conditioned.
8. the device of control door and window according to claim 6, is characterized in that, described destination object is smart machine relevant with air in pre-set space;
Described first detection module comprises:
Whether the second detection sub-module, be in opening for detecting smart machine relevant with air in described pre-set space; When detecting that smart machine relevant with air in described pre-set space is in opening, determine to meet pre-conditioned.
9. the device of control door and window according to claim 6, is characterized in that, described destination object is Weather information;
Described first detection module comprises:
Obtain submodule, for obtaining the Weather information of described pre-set space;
3rd detection sub-module, whether the described Weather information for detecting acquisition belongs to default bad weather information; When the bad weather information that the described Weather information of acquisition belongs to default being detected, determine to meet pre-conditioned.
10. the device of control door and window according to claim 6, is characterized in that, described device also comprises:
Receiver module, for receiving the instruction of closing the doors and windows of input;
Control module, instruction of closing the doors and windows described in receiving for basis, controls described door and window and closes.
11. 1 kinds of devices controlling door and window, is characterized in that, comprising:
Processor;
For the memory of storage of processor executable instruction;
Wherein, described processor is configured to:
It is pre-conditioned whether detected target object meets;
When determining to meet pre-conditioned, obtain the status information of the door and window in described pre-set space;
When the described status information obtained is open state information, export the prompting message that door and window is in open mode.
CN201510021500.8A 2015-01-15 2015-01-15 Method and device for controlling doors and windows Pending CN104653026A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510021500.8A CN104653026A (en) 2015-01-15 2015-01-15 Method and device for controlling doors and windows

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510021500.8A CN104653026A (en) 2015-01-15 2015-01-15 Method and device for controlling doors and windows

Publications (1)

Publication Number Publication Date
CN104653026A true CN104653026A (en) 2015-05-27

Family

ID=53244603

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510021500.8A Pending CN104653026A (en) 2015-01-15 2015-01-15 Method and device for controlling doors and windows

Country Status (1)

Country Link
CN (1) CN104653026A (en)

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105246045A (en) * 2015-10-29 2016-01-13 小米科技有限责任公司 Method and device for determining user position change
CN105357634A (en) * 2015-09-29 2016-02-24 小米科技有限责任公司 User position change determination method and device
CN105700362A (en) * 2016-01-13 2016-06-22 北京小米移动软件有限公司 Equipment control method and apparatus thereof
CN106121437A (en) * 2016-06-25 2016-11-16 李玉婷 One is remotely closed the door method and device
CN106869674A (en) * 2017-04-12 2017-06-20 广东松山职业技术学院 A kind of door and window long-range control method
CN107087333A (en) * 2017-04-25 2017-08-22 北京小米移动软件有限公司 Lighting apparatus control method and equipment
CN107851046A (en) * 2015-07-31 2018-03-27 苹果公司 The commission that trigger performs in automated environment
CN111596557A (en) * 2020-04-02 2020-08-28 北京声智科技有限公司 Device control method, device, electronic device and computer-readable storage medium
US10985937B2 (en) 2015-02-05 2021-04-20 Apple Inc. Delegation or revocation of trigger execution in an automated environment
CN114382343A (en) * 2021-12-27 2022-04-22 中国电信股份有限公司 Intelligent door lock, door locking control method and device and electronic equipment
CN116996542A (en) * 2023-09-27 2023-11-03 深圳市爱普特微电子有限公司 Door and window opening and closing state management method, device, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188042A (en) * 2007-11-29 2008-05-28 上海龙鲁自动化科技有限公司 Intelligent home control and remote alarming device
CN101614102A (en) * 2008-06-27 2009-12-30 上海市闵行第二中学 Door control system
CN203022503U (en) * 2012-11-28 2013-06-26 方祖宝 Instrumented intelligent safety health door and window
CN203552012U (en) * 2013-09-04 2014-04-16 罕王微电子(辽宁)有限公司 Indoor air quality monitoring and regulating system
CN104076781A (en) * 2014-06-27 2014-10-01 苏阳 Household intelligent control system based on position sensor
CN104133459A (en) * 2014-08-13 2014-11-05 英华达(南京)科技有限公司 Method and system for controlling intelligent household device
CN203965415U (en) * 2014-06-26 2014-11-26 钟宣 Air detection start stop apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188042A (en) * 2007-11-29 2008-05-28 上海龙鲁自动化科技有限公司 Intelligent home control and remote alarming device
CN101614102A (en) * 2008-06-27 2009-12-30 上海市闵行第二中学 Door control system
CN203022503U (en) * 2012-11-28 2013-06-26 方祖宝 Instrumented intelligent safety health door and window
CN203552012U (en) * 2013-09-04 2014-04-16 罕王微电子(辽宁)有限公司 Indoor air quality monitoring and regulating system
CN203965415U (en) * 2014-06-26 2014-11-26 钟宣 Air detection start stop apparatus
CN104076781A (en) * 2014-06-27 2014-10-01 苏阳 Household intelligent control system based on position sensor
CN104133459A (en) * 2014-08-13 2014-11-05 英华达(南京)科技有限公司 Method and system for controlling intelligent household device

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10985937B2 (en) 2015-02-05 2021-04-20 Apple Inc. Delegation or revocation of trigger execution in an automated environment
CN107851046A (en) * 2015-07-31 2018-03-27 苹果公司 The commission that trigger performs in automated environment
CN105357634A (en) * 2015-09-29 2016-02-24 小米科技有限责任公司 User position change determination method and device
CN105246045A (en) * 2015-10-29 2016-01-13 小米科技有限责任公司 Method and device for determining user position change
CN105700362A (en) * 2016-01-13 2016-06-22 北京小米移动软件有限公司 Equipment control method and apparatus thereof
CN106121437A (en) * 2016-06-25 2016-11-16 李玉婷 One is remotely closed the door method and device
CN106869674A (en) * 2017-04-12 2017-06-20 广东松山职业技术学院 A kind of door and window long-range control method
CN107087333A (en) * 2017-04-25 2017-08-22 北京小米移动软件有限公司 Lighting apparatus control method and equipment
CN111596557A (en) * 2020-04-02 2020-08-28 北京声智科技有限公司 Device control method, device, electronic device and computer-readable storage medium
CN114382343A (en) * 2021-12-27 2022-04-22 中国电信股份有限公司 Intelligent door lock, door locking control method and device and electronic equipment
CN116996542A (en) * 2023-09-27 2023-11-03 深圳市爱普特微电子有限公司 Door and window opening and closing state management method, device, equipment and storage medium
CN116996542B (en) * 2023-09-27 2024-01-02 深圳市爱普特微电子有限公司 Door and window opening and closing state management method, device, equipment and storage medium

Similar Documents

Publication Publication Date Title
CN104653026A (en) Method and device for controlling doors and windows
CN104158946B (en) A kind of method and device controlling terminal
CN104159218B (en) Internetwork connection establishing method and device
CN104298547A (en) Terminal setting method and device
CN104008635A (en) Equipment control method and device
CN105100222A (en) Method and device for providing object retrieving information
CN105338399A (en) Image acquisition method and device
CN104315662A (en) Method and device for controlling work of air purifier
CN105246138A (en) Control method and device of Internet-of-things device
CN104683248A (en) Method and device for switching working mode
CN104219038A (en) Method and device for synchronizing data
CN104615240A (en) Terminal unlocking method and device
CN105406828A (en) Sound equipment adjustment method and device
CN105119958A (en) Method and device of controlling intelligent device
CN104837154A (en) Wireless access point control method and device
CN105094968A (en) Method and device for rousing MCU
CN105472676A (en) Network connection method and device
CN105093980A (en) Method and apparatus for controlling start-stop of smart apparatus
CN107241770A (en) Method for connecting network and device
CN105511307A (en) Control method and apparatus of electronic device
CN105301183A (en) Air quality detecting method and device
CN106507282A (en) The control method of wireless connection and device
CN105515923A (en) Equipment control method and device
CN105549572A (en) Control method and device for intelligent home equipment and equipment
CN105389225A (en) Touch screen reporting point processing method and apparatus

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: 20150527