CN108107746A - A kind of condition control method, device, equipment and medium - Google Patents

A kind of condition control method, device, equipment and medium Download PDF

Info

Publication number
CN108107746A
CN108107746A CN201711434985.9A CN201711434985A CN108107746A CN 108107746 A CN108107746 A CN 108107746A CN 201711434985 A CN201711434985 A CN 201711434985A CN 108107746 A CN108107746 A CN 108107746A
Authority
CN
China
Prior art keywords
controlled
access point
wireless access
electric appliance
mobile terminal
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
CN201711434985.9A
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.)
Baidu Online Network Technology Beijing Co Ltd
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201711434985.9A priority Critical patent/CN108107746A/en
Publication of CN108107746A publication Critical patent/CN108107746A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS] or computer integrated manufacturing [CIM]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Manufacturing & Machinery (AREA)
  • Quality & Reliability (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The embodiment of the invention discloses a kind of condition control method, device, equipment and medium, this method includes:If wireless access point is connected with mobile terminal, using the distance between the wireless access point and the mobile terminal as detection range, wherein the distance between the position of the wireless access point and the position of electric appliance to be controlled are less than the first distance threshold;According to the detection range, the working condition of the control electric appliance to be controlled.The embodiment of the present invention provides a kind of condition control method, device, equipment and medium, is being vulnerable to the application scenarios of noise jamming to realize, realizes that working condition accurately controls to electric appliance.

Description

A kind of condition control method, device, equipment and medium
Technical field
The present embodiments relate to field of intelligent control technology more particularly to a kind of condition control method, device, equipment and Medium.
Background technology
At present, general household electrical appliance control switch for manual switch, it is necessary to which control family expenses are manually operated in user indoors The working condition of electric appliance.And with the development of smart home, also occur the sound for being applied to household electrical appliance in control room on the market Control switch.This audio-switch controls the working condition of household electrical appliance by identifying the sound of user.
Inventor has found that there are following defects for the prior art in the implementation of the present invention:
It is vulnerable to the interference of noise in practical application scene, the accuracy judged so as to cause audio-switch not high is asked Topic.
The content of the invention
The embodiment of the present invention provides a kind of condition control method, device, equipment and medium, is done with realizing being vulnerable to noise The application scenarios disturbed realize that working condition accurately controls to electric appliance.
In a first aspect, an embodiment of the present invention provides a kind of condition control method, this method includes:
If wireless access point is connected with mobile terminal, by the distance between the wireless access point and the mobile terminal As detection range, wherein the distance between the position of the wireless access point and the position of electric appliance to be controlled are less than the first distance Threshold value;
According to the detection range, the working condition of the control electric appliance to be controlled.
Further, if wireless access point is connected with mobile terminal, by the wireless access point and the mobile terminal The distance between as detection range, including:
If wireless access point is connected with mobile terminal, according to the mobile terminal connect wireless signal intensity, really Fixed the distance between the wireless access point and the mobile terminal, wherein the wireless signal is carried by the wireless access point For;
Using definite distance as detection range.
Further, according to the detection range, controlling the working condition of the electric appliance to be controlled includes:
If the detection range is less than second distance threshold value, the switch of the electric appliance to be controlled is controlled to open.
Further, according to the detection range, controlling the working condition of the electric appliance to be controlled includes:
According at least two detection ranges continuously detected at least twice, the work of the electric appliance to be controlled is controlled State.
Further, according at least two detection ranges continuously detected at least twice, control described to be controlled The working condition of electric appliance, including:
If the detection range that current time is detected be not less than the second distance threshold value, and current time it Before, being consecutively detected needs the number turned off the switch to be more than setting frequency threshold value, then the switch of the electric appliance to be controlled is controlled to close It closes, wherein, the number that the needs turn off the switch is number and/or the institute that the wireless access point does not connect mobile terminal State the number that detection range is not less than the second distance threshold value.
Further, the condition control method further includes:
If the wireless access point does not connect mobile terminal, and is consecutively detected and the number that turns off the switch is needed to be more than set Determine frequency threshold value, then the switch of the electric appliance to be controlled is controlled to close.
Second aspect, the embodiment of the present invention additionally provide a kind of behavior control device, which includes:
Apart from determining module, if being connected with mobile terminal for wireless access point, by the wireless access point with it is described The distance between mobile terminal is used as detection range, wherein between the position of the wireless access point and the position of electric appliance to be controlled Distance be less than the first distance threshold;
Status control module, for according to the detection range, the working condition of the control electric appliance to be controlled.
Further, apart from determining module, including:
Distance determining unit if being connected with mobile terminal for wireless access point, is connected according to the mobile terminal The intensity of wireless signal determines the distance between the wireless access point and the mobile terminal, wherein the wireless signal by The wireless access point provides;
Detection range unit, for using the distance determined as detection range.
The third aspect, the embodiment of the present invention additionally provide a kind of equipment, and the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are performed by one or more of processors so that one or more of processing Device realizes the condition control method as described in any in the embodiment of the present invention.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer readable storage medium, are stored thereon with computer Program realizes the condition control method as described in any in the embodiment of the present invention when program is executed by processor.
The embodiment of the present invention controls the working condition of electric appliance to be controlled from the angle of detection range.Because detection Distance is the distance between wireless access point and mobile terminal, actually reflects the personnel for carrying mobile terminal and electric appliance to be controlled The distance between.So it can be realized to the working condition of electric appliance to be controlled by the distance between personnel and electric appliance to be controlled It accurately controls.So as to solve the problems, such as that the working condition of electric appliance cannot be accurately controlled in the prior art.The present invention is implemented simultaneously Example overcomes in the prior art can only be from the angle for the information (such as voice) that personnel directly provide, the work to electric appliance to be controlled The technology prejudice that state is controlled.
Description of the drawings
Fig. 1 is a kind of flow chart for condition control method that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow chart of condition control method provided by Embodiment 2 of the present invention;
Fig. 3 is the flow chart of another condition control method provided by Embodiment 2 of the present invention;
Fig. 4 is a kind of structure diagram for behavior control device that the embodiment of the present invention three provides;
Fig. 5 is a kind of structure diagram for equipment that the embodiment of the present invention four provides.
Specific embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched The specific embodiment stated is used only for explaining the present invention rather than limitation of the invention.It also should be noted that in order to just Part related to the present invention rather than entire infrastructure are illustrated only in description, attached drawing.
Embodiment one
Fig. 1 is a kind of flow chart for condition control method that the embodiment of the present invention one provides.The present embodiment is applicable to pair The situation that the working condition of electric appliance to be controlled is controlled.This method can be performed by a kind of behavior control device, the device It can be realized by the mode of software and/or hardware.Referring to Fig. 1, a kind of condition control method provided in this embodiment includes:
It, will be between the wireless access point and the mobile terminal if S110, wireless access point are connected with mobile terminal Distance as detection range, wherein the distance between the position of the wireless access point and position of electric appliance to be controlled are less than the One distance threshold.
Specifically, wireless access point is the access point of a wireless network, be mainly used for broadband home, inside buildings and Inside garden, the connection of wireless stations and wired local area network can be specifically wireless router.
Mobile terminal is transportable arbitrary terminal.Typically, which can be mobile phone, tablet computer and pen Remember this computer etc..
Electric appliance to be controlled can be the arbitrary electric appliance that working condition can control, typically, the electric appliance can be headlamp, At least one of air-conditioning and air purifier etc..
First distance threshold can be set according to actual needs.It is to be controlled if necessary to which wireless access point is arranged on The a little position of electric appliance relative proximity can be then that the setting of the first distance threshold is smaller, otherwise can set the first distance threshold It puts larger.
Specifically, the method for determination of detection range can be, wireless access point provided by shifting from network to connection Dynamic terminal sends request, and receives response of the mobile terminal based on the request.It determines to send a request to and receives above-mentioned response Time, as transmission time.According to transmission time and default mapping relations, wireless access point mobile terminal connected to it is determined The distance between, and as detection range, wherein the mapping that default mapping relations are default transmission time and detection range is closed System.
Optionally, the method for determination of detection range can also include:
If wireless access point is connected with mobile terminal, according to the mobile terminal connect wireless signal intensity, really Fixed the distance between the wireless access point and the mobile terminal, wherein the wireless signal is carried by the wireless access point For;
Using definite distance as detection range.
Specifically, can be according to the intensity of wireless signal, the mapping with default wireless signal strength and detection range is closed System, determines the distance between the wireless access point and the mobile terminal.
Based on above-mentioned technical teaching, it is to be appreciated that:The position of the wireless access point and the position of electric appliance to be controlled The distance between be less than near the first distance threshold namely each electric appliance to be controlled and be both provided with wireless access point.Because of people The carrying of member results in the movement of mobile terminal, and because wireless access point is arranged near electric appliance to be controlled, detects Distance actually reflects, carries the distance between the personnel of mobile terminal and electric appliance to be controlled.
S120, according to the detection range, control the working condition of the electric appliance to be controlled.
Wherein, working condition includes other shapes presented when the on off state of electric appliance to be controlled and electrical work to be controlled State.
Illustratively, electric appliance to be controlled is headlamp, if the detection range is 1 meter, adjusts the irradiation model of headlamp It encloses for 1.5 meters;If the detection range is 5 meters, the range of exposures of headlamp is adjusted as 5.5 meters so as to reaching energy saving effect Fruit.Electric appliance to be controlled is air-conditioning, if the detection range is less than 10 meters, the switch of air-conditioning is controlled to open.
Specifically, according to the detection range, controlling the working condition of the electric appliance to be controlled includes:
If the detection range is less than second distance threshold value, the switch of the electric appliance to be controlled is controlled to open.
Wherein, second distance threshold value can be determined according to electric appliance to be controlled using effective distance.Illustratively, it is if to be controlled Electric appliance processed is headlamp, then second distance threshold value can be 10 meters.
To improve the precise control rate to the working condition of electric appliance to be controlled, according to the detection range, treated described in control The working condition of control electric appliance can include:
According at least two detection ranges continuously detected at least twice, the work of the electric appliance to be controlled is controlled State.
Wherein it is possible to the average of the multiple detection ranges obtained according to detection, the work shape of the control electric appliance to be controlled State.According to multiple detection ranges multiple comparative results with given threshold respectively, the work of the to be controlled electric appliance can also be controlled Make state.
The technical solution of the embodiment of the present invention from the angle of detection range, is controlled the working condition of electric appliance to be controlled System.Because detection range is the distance between wireless access point and mobile terminal, the personnel for carrying mobile terminal are actually reflected The distance between electric appliance to be controlled.So it can be realized to electric appliance to be controlled by the distance between personnel and electric appliance to be controlled Working condition accurately control.So as to solve the problems, such as that the working condition of electric appliance cannot be accurately controlled in the prior art.Together When the embodiment of the present invention overcome in the prior art can only be from the angle for the information (such as voice) that personnel directly provide, to be controlled The technology prejudice that the working condition of electric appliance processed is controlled.
To avoid to the closing of the mistake of electric appliance to be controlled, according at least two detections continuously detected at least twice away from From the working condition of the control electric appliance to be controlled can include:
If the detection range that current time is detected be not less than the second distance threshold value, and current time it Before, being consecutively detected needs the number turned off the switch to be more than setting frequency threshold value, then the switch of the electric appliance to be controlled is controlled to close It closes.
Wherein, it is described need the number that turns off the switch be the wireless access point do not connect mobile terminal number and/ Or the detection range is not less than the number of the second distance threshold value.
Illustratively, if current time was the 5th moment, the detection range detected is more than the second distance Threshold value, and set frequency threshold value as 3, then whether the testing result for judging the second moment, the 3rd moment and the 4th moment is described Wireless access point does not connect mobile terminal or the detection range is not less than the second distance threshold value.If so, control institute The switch for stating electric appliance to be controlled is closed.
To avoid the mistake closing to electric appliance to be controlled, the condition control method further includes:
If the wireless access point does not connect mobile terminal, and is consecutively detected and the number that turns off the switch is needed to be more than set Determine frequency threshold value, then the switch of the electric appliance to be controlled is controlled to close.
Wherein, it is necessary to which the number turned off the switch is same as above.
Illustratively, if current time was the 5th moment, the wireless access point detected does not connect mobile whole End, and set frequency threshold value as 3, then whether the testing result for judging the second moment, the 3rd moment and the 4th moment is the nothing Line access point does not connect mobile terminal or the detection range is not less than the second distance threshold value.If so, described in control The switch of electric appliance to be controlled is closed.
Embodiment two
Fig. 2 is a kind of flow chart of condition control method provided by Embodiment 2 of the present invention.The present embodiment is in above-mentioned reality Apply a kind of alternative proposed on the basis of example.Referring to Fig. 2, condition control method provided in this embodiment includes:
Judge whether wireless access point is connected with mobile terminal.
Wherein, the distance between the position of the wireless access point and the position of electric appliance to be controlled are less than first apart from threshold Value.
If wireless access point is connected with mobile terminal, according to the mobile terminal connect wireless signal intensity, really Fixed the distance between the wireless access point and the mobile terminal.
Wherein, the wireless signal is provided by the wireless access point.
Using definite distance as detection range.
If the detection range is less than second distance threshold value, the switch of the electric appliance to be controlled is controlled to open.
If the detection range that current time is detected be not less than the second distance threshold value, and current time it Before, being consecutively detected needs the number turned off the switch to be more than setting frequency threshold value, then the switch of the electric appliance to be controlled is controlled to close It closes.
Wherein, it is described need the number that turns off the switch be the wireless access point do not connect mobile terminal number and/ Or the detection range is not less than the number of the second distance threshold value.
If the wireless access point does not connect mobile terminal, and it is big to be consecutively detected the number for needing to turn off the switch In setting frequency threshold value, then the switch of the electric appliance to be controlled is controlled to close.
Referring to Fig. 3, above-mentioned condition control method can be described as in practical applications:Relevant parameter, wherein parameter are set Including at least the first distance threshold, using between effective distance (namely second distance threshold value), setting frequency threshold value and detection time Every;If reach the on off state for when time setting Scanning Detction time, judging electric appliance to be controlled;If the switch shape of electric appliance to be controlled State then controls the closing of electric appliance to be controlled to open according to scanning detecting result;If the on off state of electric appliance to be controlled is closing, The unlatching of electric appliance to be controlled is then controlled according to scanning detecting result.
Specifically, the closing for controlling electric appliance to be controlled according to scanning detecting result includes:Judgement is arranged on electric appliance to be controlled Nearby (electric appliance i.e. to be controlled and the distance of above-mentioned wireless access point are less than the first distance threshold), and associated with the electric appliance to be controlled Wireless access point whether be connected with mobile terminal;If being connected with mobile terminal, judge that above-mentioned wireless access point is connected thereto The distance between mobile terminal whether using within effective distance;If using within effective distance, wait next time Scanning Detction;
If not using within effective distance, it is to need the scanning turned off the switch time to judge current continuous scanning result Number, if more than setting frequency threshold value, wherein the time interval continuously scanned is detection time interval, can be typically 1 point Clock;If more than setting frequency threshold value, then electric appliance to be controlled is closed, wait Scanning Detction next time;If no more than setting number threshold Value, then wait Scanning Detction next time;
If not being connected with mobile terminal, it is to need the scanning turned off the switch time to judge current continuous scanning result Number, if more than setting frequency threshold value;The on off state of electric appliance to be controlled is controlled according to judging result.
Similarly, the unlatching of electric appliance to be controlled is controlled according to scanning detecting result.
The embodiment of the present invention can be applied to that megastore and office building that wireless access point provides wireless network is distributed with In.Exemplified by office building, staff carries had the mobile terminal being connected to enter office with office wireless access point, Mobile terminal connects wireless access point automatically.If detecting, wireless access point is connected with mobile terminal, and is using effective distance Within, then automatically turn in office with the associated electric appliance to be controlled of the wireless access point.Can be typically air-conditioning, headlamp At least one of with air purifier.
Staff carries had the mobile terminal being connected to leave office with office wireless access point, mobile terminal oneself It is dynamic to be disconnected with wireless access point.If detecting, wireless access point is disconnected with mobile terminal, and continuous several times are detected as needing to close Switch is then automatically closed in office and the associated electric appliance to be controlled of the wireless access point.Hereby, it is achieved that when there is personnel activity It waits and automatically turns on electric appliance to be controlled, electric appliance to be controlled is automatically closed in when no personnel activity, to realize energy saving purpose.
The technical solution of the embodiment of the present invention, by the distance between wireless access point mobile terminal connected to it, really Surely the distance between the personnel of the mobile terminal and electric appliance to be controlled are carried, wherein electric appliance to be controlled is closed with above-mentioned wireless access point Connection.According to the distance between personnel and electric appliance to be controlled, the on off state of electric appliance to be controlled is controlled, so as to fulfill there is personnel's work Automatically turn on electric appliance to be controlled when dynamic, electric appliance to be controlled is automatically closed in when no personnel activity, to realize energy saving purpose.
It should be noted that by the technical teaching of the present embodiment, those skilled in the art have motivation by above-described embodiment Described in any embodiment carry out the combination of scheme, to realize the control to the working condition of electric appliance to be controlled.
Embodiment three
Fig. 4 is a kind of structure diagram for behavior control device that the embodiment of the present invention three provides.Referring to Fig. 4, this implementation The behavior control device that example provides includes:Apart from determining module 10 and status control module 20.
Wherein, apart from determining module 10, if being connected with mobile terminal for wireless access point, by the wireless access point The distance between described mobile terminal is used as detection range, wherein the position of the wireless access point and the position of electric appliance to be controlled It the distance between puts and to be less than the first distance threshold;
Status control module 20, for according to the detection range, the working condition of the control electric appliance to be controlled.
The technical solution of the embodiment of the present invention from the angle of detection range, is controlled the working condition of electric appliance to be controlled System.Because detection range is the distance between wireless access point and mobile terminal, the personnel for carrying mobile terminal are actually reflected The distance between electric appliance to be controlled.So it can be realized to electric appliance to be controlled by the distance between personnel and electric appliance to be controlled Working condition accurately control.So as to solve the problems, such as that the working condition of electric appliance cannot be accurately controlled in the prior art.Together When the embodiment of the present invention overcome in the prior art can only be from the angle for the information (such as voice) that personnel directly provide, to be controlled The technology prejudice that the working condition of electric appliance processed is controlled.
Further, apart from determining module 10, including:Distance determining unit and detection range unit.
Wherein, distance determining unit if being connected with mobile terminal for wireless access point, connects according to the mobile terminal The intensity of the wireless signal connect determines the distance between the wireless access point and the mobile terminal, wherein the wireless communication It number is provided by the wireless access point;
Detection range unit, for using the distance determined as detection range.
Further, status control module 20 includes:Opening unit.
Wherein, opening unit if being less than second distance threshold value for the detection range, controls the electric appliance to be controlled Switch open.
Further, status control module 20 includes:Status control unit.
Wherein, status control unit, for according at least two detection ranges continuously detected at least twice, control Make the working condition of the electric appliance to be controlled.
Further, status control unit is specifically used for:
If the detection range that current time is detected be not less than the second distance threshold value, and current time it Before, being consecutively detected needs the number turned off the switch to be more than setting frequency threshold value, then the switch of the electric appliance to be controlled is controlled to close It closes, wherein, the number that the needs turn off the switch is number and/or the institute that the wireless access point does not connect mobile terminal State the number that detection range is not less than the second distance threshold value.
Further the behavior control device further includes:Closedown module.
Wherein closedown module if not connecting mobile terminal for the wireless access point, and is consecutively detected and needs to close The number that make and break is closed is more than setting frequency threshold value, then the switch of the electric appliance to be controlled is controlled to close.
Example IV
Fig. 5 is a kind of structure diagram for equipment that the embodiment of the present invention four provides.Fig. 5 shows to be used for realizing this The block diagram of the example devices 12 of invention embodiment.The equipment 12 that Fig. 5 is shown is only an example, should not be to of the invention real The function and use scope for applying example bring any restrictions.
As shown in figure 5, equipment 12 is showed in the form of universal computing device.The component of equipment 12 can include but unlimited In:One or more processor or processing unit 16, system storage 28, connection different system component (are deposited including system Reservoir 28 and processing unit 16) bus 18.
Bus 18 represents the one or more in a few class bus structures, including memory bus or Memory Controller, Peripheral bus, graphics acceleration port, processor or the local bus using the arbitrary bus structures in a variety of bus structures.It lifts For example, these architectures include but not limited to industry standard architecture (ISA) bus, microchannel architecture (MAC) Bus, enhanced isa bus, Video Electronics Standards Association (VESA) local bus and peripheral component interconnection (PCI) bus.
Equipment 12 typically comprises various computing systems readable medium.These media can be it is any can be by equipment 12 The usable medium of access, including volatile and non-volatile medium, moveable and immovable medium.
System storage 28 can include the computer system readable media of form of volatile memory, such as arbitrary access Memory (RAM) 30 and/or cache memory 32.Equipment 12 may further include it is other it is removable/nonremovable, Volatile/non-volatile computer system storage medium.Only as an example, storage system 34 can be used for reading and writing irremovable , non-volatile magnetic media (Fig. 5 do not show, commonly referred to as " hard disk drive ").Although not shown in Fig. 5, use can be provided In to moving the disc driver of non-volatile magnetic disk (such as " floppy disk ") read-write and to moving anonvolatile optical disk The CD drive of (such as CD-ROM, DVD-ROM or other optical mediums) read-write.In these cases, each driver can To be connected by one or more data media interfaces with bus 18.Memory 28 can include at least one program product, The program product has one group of (for example, at least one) program module, these program modules are configured to perform each implementation of the invention The function of example.
Program/utility 40 with one group of (at least one) program module 42 can be stored in such as memory 28 In, such program module 42 include but not limited to operating system, one or more application program, other program modules and Program data may include the realization of network environment in each or certain combination in these examples.Program module 42 is usual Perform the function and/or method in embodiment described in the invention.
Equipment 12 can also communicate with one or more external equipments 14 (such as keyboard, sensing equipment, display 24 etc.), Can also be enabled a user to one or more equipment interacted with the equipment 12 communication and/or with enable the equipment 12 with Any equipment (such as network interface card, modem etc.) communication that one or more of the other computing device communicates.It is this logical Letter can be carried out by input/output (I/O) interface 22.Also, equipment 12 can also by network adapter 20 and one or The multiple networks of person (such as LAN (LAN), wide area network (WAN) and/or public network, such as internet) communication.As shown in the figure, Network adapter 20 is communicated by bus 18 with other modules of equipment 12.It should be understood that it although not shown in the drawings, can combine Equipment 12 uses other hardware and/or software module, includes but not limited to:Microcode, device driver, redundant processing unit, External disk drive array, RAID system, tape drive and data backup storage system etc..
Processing unit 16 is stored in program in system storage 28 by operation, so as to perform various functions application and Data processing, such as realize the condition control method that the embodiment of the present invention is provided.
Embodiment five
The embodiment of the present invention five additionally provides a kind of condition control method, and this method includes:
If wireless access point is connected with mobile terminal, by the distance between the wireless access point and the mobile terminal As detection range, wherein the distance between the position of the wireless access point and the position of electric appliance to be controlled are less than the first distance Threshold value;
According to the detection range, the working condition of the control electric appliance to be controlled.
The arbitrary of one or more computer-readable media may be employed in the computer storage media of the embodiment of the present invention Combination.Computer-readable medium can be computer-readable signal media or computer readable storage medium.It is computer-readable Storage medium for example may be-but not limited to-the system of electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor, device or Device or arbitrary above combination.The more specific example (non exhaustive list) of computer readable storage medium includes:Tool There are one or the electrical connections of multiple conducting wires, portable computer diskette, hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD- ROM), light storage device, magnetic memory device or above-mentioned any appropriate combination.In this document, computer-readable storage Medium can be any tangible medium for including or storing program, which can be commanded execution system, device or device Using or it is in connection.
Computer-readable signal media can include in a base band or as carrier wave a part propagation data-signal, Wherein carry computer-readable program code.Diversified forms may be employed in the data-signal of this propagation, including but it is unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium beyond storage medium is read, which can send, propagates or transmit and be used for By instruction execution system, device either device use or program in connection.
The program code included on computer-readable medium can be transmitted with any appropriate medium, including --- but it is unlimited In wireless, electric wire, optical cable, RF etc. or above-mentioned any appropriate combination.
It can write to perform the computer that operates of the present invention with one or more programming languages or its combination Program code, described program design language include object oriented program language-such as Java, Smalltalk, C++, Further include conventional procedural programming language-such as " C " language or similar programming language.Program code can be with It fully performs, partly perform on the user computer on the user computer, the software package independent as one performs, portion Divide and partly perform or perform on a remote computer or server completely on the remote computer on the user computer. Be related in the situation of remote computer, remote computer can pass through the network of any kind --- including LAN (LAN) or Wide area network (WAN)-be connected to subscriber computer or, it may be connected to outer computer (such as is carried using Internet service Pass through Internet connection for business).
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various apparent variations, It readjusts and substitutes without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.

Claims (10)

1. a kind of condition control method, which is characterized in that including:
If wireless access point is connected with mobile terminal, using the distance between the wireless access point and the mobile terminal as Detection range, wherein the distance between the position of the wireless access point and the position of electric appliance to be controlled are less than first apart from threshold Value;
According to the detection range, the working condition of the control electric appliance to be controlled.
2. condition control method according to claim 1, which is characterized in that if wireless access point is connected with mobile terminal, Then using the distance between the wireless access point and the mobile terminal as detection range, including:
If wireless access point is connected with mobile terminal, according to the intensity for the wireless signal that the mobile terminal connects, institute is determined The distance between wireless access point and the mobile terminal are stated, wherein the wireless signal is provided by the wireless access point;
Using definite distance as detection range.
3. condition control method according to claim 1, which is characterized in that according to the detection range, treated described in control The working condition of control electric appliance includes:
If the detection range is less than second distance threshold value, the switch of the electric appliance to be controlled is controlled to open.
4. condition control method according to claim 1, which is characterized in that according to the detection range, treated described in control The working condition of control electric appliance includes:
According at least two detection ranges continuously detected at least twice, the work shape of the control electric appliance to be controlled State.
5. condition control method according to claim 4, which is characterized in that obtained according to continuously detection at least twice At least two detection ranges control the working condition of the electric appliance to be controlled, including:
If the detection range that current time is detected is not less than the second distance threshold value, and before current time, Being consecutively detected needs the number turned off the switch to be more than setting frequency threshold value, then the switch of the electric appliance to be controlled is controlled to close, Wherein, the number for needing to turn off the switch is that the wireless access point does not connect the number of mobile terminal and/or the spy Ranging is from the number not less than the second distance threshold value.
6. condition control method according to claim 1, which is characterized in that further include:
If the wireless access point does not connect mobile terminal, and is consecutively detected and described the number that turns off the switch is needed to be more than set Determine frequency threshold value, then the switch of the electric appliance to be controlled is controlled to close.
7. a kind of behavior control device, which is characterized in that including:
Apart from determining module, if being connected with mobile terminal for wireless access point, by the wireless access point and the movement The distance between terminal be used as detection range, wherein between the position of the wireless access point and the position of electric appliance to be controlled away from From less than the first distance threshold;
Status control module, for according to the detection range, the working condition of the control electric appliance to be controlled.
8. behavior control device according to claim 7, which is characterized in that apart from determining module, including:
Distance determining unit if being connected with mobile terminal for wireless access point, connects wireless according to the mobile terminal The intensity of signal determines the distance between the wireless access point and the mobile terminal, wherein the wireless signal is by described Wireless access point provides;
Detection range unit, for using the distance determined as detection range.
9. a kind of equipment, which is characterized in that the equipment includes:
One or more processors;
Storage device, for storing one or more programs;
When one or more of programs are performed by one or more of processors so that one or more of processors are real The now condition control method as described in any in claim 1-6.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The condition control method as described in any in claim 1-6 is realized during execution.
CN201711434985.9A 2017-12-26 2017-12-26 A kind of condition control method, device, equipment and medium Pending CN108107746A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711434985.9A CN108107746A (en) 2017-12-26 2017-12-26 A kind of condition control method, device, equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711434985.9A CN108107746A (en) 2017-12-26 2017-12-26 A kind of condition control method, device, equipment and medium

Publications (1)

Publication Number Publication Date
CN108107746A true CN108107746A (en) 2018-06-01

Family

ID=62213250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711434985.9A Pending CN108107746A (en) 2017-12-26 2017-12-26 A kind of condition control method, device, equipment and medium

Country Status (1)

Country Link
CN (1) CN108107746A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990232A (en) * 2018-07-27 2018-12-11 上海与德科技有限公司 Intelligent lamp controls method, apparatus, terminal and storage medium
CN109917663A (en) * 2019-03-25 2019-06-21 北京小米移动软件有限公司 The method and apparatus of equipment control
CN111343774A (en) * 2020-03-06 2020-06-26 杭州涂鸦信息技术有限公司 Method and system for automatically sensing lamp turning on and off
CN112925212A (en) * 2019-12-05 2021-06-08 华为技术有限公司 Equipment control method and device
CN113472616A (en) * 2021-06-22 2021-10-01 上海美仁半导体有限公司 Household appliance and shutdown method and device thereof, storage medium and Wi-Fi device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686963A (en) * 2013-12-06 2014-03-26 小米科技有限责任公司 Method, device, equipment and system for controlling wireless network to be switched on/off
CN104574899A (en) * 2014-12-15 2015-04-29 惠州Tcl移动通信有限公司 Intelligent control method and terminal therefor
CN104582176A (en) * 2014-12-30 2015-04-29 欧普照明股份有限公司 Wireless lighting control system and wireless lighting control method thereof
CN104834250A (en) * 2015-04-01 2015-08-12 惠州Tcl移动通信有限公司 Method for controlling intelligent pedestal pan based on WIFI signal intensity and communication system
CN105577487A (en) * 2014-09-15 2016-05-11 丰唐物联技术(深圳)有限公司 Control method of intelligent household equipment and information processing device
CN107450390A (en) * 2017-07-31 2017-12-08 绵阳美菱软件技术有限公司 A kind of intelligent electrical appliance control device, control method and control system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103686963A (en) * 2013-12-06 2014-03-26 小米科技有限责任公司 Method, device, equipment and system for controlling wireless network to be switched on/off
CN105577487A (en) * 2014-09-15 2016-05-11 丰唐物联技术(深圳)有限公司 Control method of intelligent household equipment and information processing device
CN104574899A (en) * 2014-12-15 2015-04-29 惠州Tcl移动通信有限公司 Intelligent control method and terminal therefor
CN104582176A (en) * 2014-12-30 2015-04-29 欧普照明股份有限公司 Wireless lighting control system and wireless lighting control method thereof
CN104834250A (en) * 2015-04-01 2015-08-12 惠州Tcl移动通信有限公司 Method for controlling intelligent pedestal pan based on WIFI signal intensity and communication system
CN107450390A (en) * 2017-07-31 2017-12-08 绵阳美菱软件技术有限公司 A kind of intelligent electrical appliance control device, control method and control system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108990232A (en) * 2018-07-27 2018-12-11 上海与德科技有限公司 Intelligent lamp controls method, apparatus, terminal and storage medium
CN109917663A (en) * 2019-03-25 2019-06-21 北京小米移动软件有限公司 The method and apparatus of equipment control
CN109917663B (en) * 2019-03-25 2022-02-15 北京小米移动软件有限公司 Method and device for controlling equipment
CN112925212A (en) * 2019-12-05 2021-06-08 华为技术有限公司 Equipment control method and device
CN111343774A (en) * 2020-03-06 2020-06-26 杭州涂鸦信息技术有限公司 Method and system for automatically sensing lamp turning on and off
CN113472616A (en) * 2021-06-22 2021-10-01 上海美仁半导体有限公司 Household appliance and shutdown method and device thereof, storage medium and Wi-Fi device

Similar Documents

Publication Publication Date Title
CN108107746A (en) A kind of condition control method, device, equipment and medium
US11120636B2 (en) Smart-home device placement and installation using augmented-reality visualizations
US10979617B2 (en) Mobile device and control method
CN107026943B (en) Voice interaction method and system
CN105471705A (en) Intelligent control method, device and system based on instant messaging
CN109240100A (en) Intelligent home furnishing control method, equipment, system and storage medium
CN108990232A (en) Intelligent lamp controls method, apparatus, terminal and storage medium
CN109388924A (en) A kind of auth method, device, server and storage medium
CN112486105B (en) Equipment control method and device
CN107817962A (en) A kind of long-range control method, device, control server and storage medium
CN109584499A (en) A kind of smog warning system, smog alarm method and storage medium
CN108494895B (en) Interactive intelligent panel, network domain conflict control method, device and medium
CN108761473A (en) Room-size detection method, air conditioner and the computer storage media of air conditioner
CN110493719A (en) Indoor orientation method, device, computer equipment and storage medium based on BLE
CN109324727A (en) A kind of interface control method, device, equipment and storage medium
CN107247593A (en) User interface switching method, device, electronic equipment and storage medium
CN106131840A (en) A kind of internet-of-things terminal that controls accesses the method and system of wireless network
CN111611605A (en) Control method, device and equipment of augmented reality equipment and storage medium
CN108966447A (en) One kind is turned off the light method, apparatus, server and storage medium
CN109637071A (en) A kind of smog warning system, smog alarm method and storage medium
CN109255229A (en) Control method, system and the intelligent interaction plate of intelligent interaction plate
CN114205450B (en) Collective terminal working mode setting method and device, collective terminal and storage medium
CN216456917U (en) Stage effect system capable of realizing simultaneous editing operation of multiple parties
CN106162643A (en) Method, orientation equipment and the access points equipment of internet-of-things terminal authentication
CN206711314U (en) A kind of intelligent building management device

Legal Events

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

Application publication date: 20180601

RJ01 Rejection of invention patent application after publication