Summary of the invention
It is a primary object of the present invention to propose a kind of household electric appliance control method, wearable device and computer-readable storage mediumMatter, it is intended to solve the problems, such as existing Intelligent household electrical appliance control platform build it is complicated, spend it is high.
To achieve the above object, the present invention provides a kind of household electric appliance control method, is applied to wearable device, and the family is automatically controlledMethod processed includes:
By the wearable device obtain user location information and/or the network information, based on the location information and/Or the network information judges whether user is within the scope of home location;
If it is determined that user is within the scope of the home location, then by wearable device acquisition user information and outsideBoundary's information, and detect the user information and whether the external information meets default home wiring control condition;
If the user information and the external information meet default home wiring control condition, corresponding home wiring control is generatedInstruction, and the household appliance control instruction is sent to corresponding household appliance, corresponding behaviour is executed to control the household applianceMake.
Optionally, the location information and/or the network information that user is obtained by the wearable device, based on describedThe step that location information and/or the network information judge whether user is within the scope of home location includes:
The location information and/or the network information of user are obtained by the wearable device;
Judge that the location information currently connects whether within the scope of predeterminated position, and/or according to network information judgementEnter whether network is default network, to judge whether user is within the scope of home location.
Optionally, the location information and/or the network information that user is obtained by the wearable device, based on describedLocation information and/or the network information judge before the step whether user is within the scope of home location, further includes:
The unpaired message of each household appliance is obtained, and pairing and binding is sent to each household appliance based on the unpaired message and is askedIt asks;
When receiving the binding acknowledgement message that each household appliance is returned based on pairing and binding request, tied up according to describedDetermine the pairing and binding relationship that confirmation message is established between the wearable device and each household appliance;
It is described to generate corresponding household appliance control instruction, and the household appliance control instruction is sent to corresponding household appliance,Include: to control the step of household appliance executes corresponding operation
Corresponding household appliance control instruction is generated, and is sent to the household appliance control instruction based on the pairing and binding relationshipCorresponding household appliance executes corresponding operation to control the household appliance.
Optionally, described to generate corresponding household appliance control instruction, and the household appliance control instruction is sent to corresponding familyElectric equipment, after controlling the step of household appliance executes corresponding operation, further includes:
When receiving the operation completion information that the household appliance is fed back based on the household appliance control instruction, described in judgementWhether household appliance closes in list in time default;
If it is determined that the household appliance then generates out code, and be sent to institute in the default list of closing in timeHousehold appliance is stated, to close the household appliance in time.
Optionally, described to generate corresponding household appliance control instruction, and the household appliance control instruction is sent to corresponding familyElectric equipment, before controlling the step of household appliance executes corresponding operation, further includes:
The current operating conditions for obtaining each household appliance, detect whether the current operating conditions have met and the userThe corresponding home wiring control demand of default home wiring control condition that information and the external information are met;
If the current operating conditions do not meet the home wiring control demand, then follow the steps: it is automatically controlled to generate corresponding familySystem instruction, and the household appliance control instruction is sent to corresponding household appliance, it is corresponding to control the household appliance executionOperation;
If the current operating conditions have met the home wiring control demand, any operation is not executed.
Optionally, the household electric appliance control method further include:
When receiving phonetic control command, target household appliance and target control are obtained according to the phonetic control commandOperation;
It generates control instruction corresponding with target control operation and is sent to the target household appliance, to controlIt states target household appliance and executes the target control operation.
Optionally, the household electric appliance control method further include:
When detecting that user leaves within the scope of the home location, the working condition of each household appliance is obtained;
Working condition based on each household appliance judges whether there is the household appliance being not turned off;
The household appliance being not turned off if it exists then generates corresponding inquiry message, to ask the user whether that closing is described notThe household appliance of closing.
Optionally, the user information includes body temperature, heart rate, moves one of step number and degree of fatigue or a variety of, outsideBoundary's information includes one of current time, light intensity, room temperature and indoor humidity or a variety of.
In addition, to achieve the above object, the present invention also provides a kind of wearable device, the wearable device includes storageDevice, processor and it is stored in the home wiring control program that can be run on the memory and on the processor, the family is automatically controlledThe step of processing procedure sequence realizes household electric appliance control method as described above when being executed by the processor.
In addition, to achieve the above object, it is described computer-readable the present invention also provides a kind of computer readable storage mediumHome wiring control program is stored on storage medium, the home wiring control program realizes household electrical appliances as described above when being executed by processorThe step of control method.
The present invention provides a kind of household electric appliance control method, wearable device and computer readable storage medium, the home wiring controlMethod is applied to wearable device, first passes through location information and/or the network information that wearable device obtains user, is then based onThe location information and/or the network information judge whether user is within the scope of home location;If it is determined that user is in home locationIn range, then user information and external information are acquired by wearable device, and detects user information and whether external information accords withClose default home wiring control condition;If user information and external information meet default home wiring control condition, corresponding household electrical appliances are generatedControl instruction, and the household appliance control instruction is sent to corresponding household appliance, corresponding behaviour is executed to control the household applianceMake.Intelligent appliance equipment, and the core as Intelligent household electrical appliance control platform are effectively integrated by wearable device in the present inventionIt realizes the intelligent control to each household appliance, can avoid installation additional sensing system and control centre, taken so as to reduceBuild up this.Meanwhile the present invention by conjunction with the collected user information of wearable device and external information come intelligent control of household electrical applianceEquipment can reach preferable interactive experience, so as to promote the usage experience of user.
Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
In subsequent description, it is only using the suffix for indicating such as " module ", " component " or " unit " of elementBe conducive to explanation of the invention, itself there is no a specific meaning.Therefore, " module ", " component " or " unit " can mixGround uses.
The wearable device provided in the embodiment of the present invention includes that Intelligent bracelet, smartwatch and smart phone etc. moveDynamic terminal.With the continuous development of Screen Technology, the appearance of the screens form such as flexible screen, Folding screen, smart phone etc. is mobile eventuallyEnd can also be used as wearable device.The wearable device provided in the embodiment of the present invention may include: RF (RadioFrequency, radio frequency) unit, WiFi module, audio output unit, A/V (audio/video) input unit, sensor, displayThe components such as unit, user input unit, interface unit, memory, processor and power supply.
It will be illustrated by taking wearable device as an example in subsequent descriptions, referring to Fig. 1, its each implementation to realize the present inventionA kind of hardware structural diagram of wearable device of example, which may include: RF (RadioFrequency, radio frequency) unit 101, WiFi module 102, audio output unit 103, A/V (audio/video) input unit 104,Sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, processor 110, Yi Ji electricityThe components such as source 111.It will be understood by those skilled in the art that wearable device structure shown in Fig. 1 is not constituted to wearableThe restriction of equipment, wearable device may include perhaps combining certain components or difference than illustrating more or fewer componentsComponent layout.
It is specifically introduced below with reference to all parts of the Fig. 1 to wearable device:
Radio frequency unit 101 can be used for receiving and sending messages or communication process in, signal sends and receivees, specifically, radio frequency listUplink information can be sent to base station by member 101, and after the downlink information that in addition can also be sent base station receives, being sent to can be wornThe processor 110 for wearing equipment is handled, and base station can be to the downlink information that radio frequency unit 101 is sent and be sent out according to radio frequency unit 101What the uplink information sent generated, it is also possible to actively push away to radio frequency unit 101 after the information update for detecting wearable deviceIt send, for example, base station can penetrating to wearable device after detecting that geographical location locating for wearable device changesFrequency unit 101 sends the message informing of geographical location variation, and radio frequency unit 101, can should after receiving the message informingThe processor 110 that message informing is sent to wearable device is handled, and it is logical that the processor 110 of wearable device can control the messageKnow on the display panel 1061 for being shown in wearable device;In general, radio frequency unit 101 include but is not limited to antenna, at least oneAmplifier, transceiver, coupler, low-noise amplifier, duplexer etc..In addition, radio frequency unit 101 can also pass through channel radioLetter communicated with network and other equipment, specifically may include: by wireless communication with the server communication in network system, exampleSuch as, wearable device can download file resource from server by wireless communication, for example can download and answer from serverWith program, after wearable device completes the downloading of a certain application program, if the corresponding file of the application program in serverResource updates, then the server can be by wireless communication to the message informing of wearable device push resource updates, to remindUser is updated the application program.Any communication standard or agreement can be used in above-mentioned wireless communication, including but not limited toGSM (Global System of Mobile communication, global system for mobile communications), GPRS (GeneralPacket Radio Service, general packet radio service), CDMA2000 (Code Division MultipleAccess2000, CDMA 2000), WCDMA (Wideband Code Division Multiple Access, broadband codePoint multiple access), TD-SCDMA (Time Division-Synchronous Code Division Multiple Access, the time-divisionS-CDMA-Synchronous Code Division Multiple Access), (Frequency Division Duplexing-Long Term Evolution, frequency division are double by FDD-LTEWork long term evolution) and TDD-LTE (Time Division Duplexing-Long Term Evolution, time division duplex are long-termEvolution) etc..
In one embodiment, wearable device 100 can access existing communication network by insertion SIM card.
In another embodiment, wearable device 100 can be come real by the way that esim card (Embedded-SIM) is arrangedExisting communication network is now accessed, by the way of esim card, the inner space of wearable device can be saved, reduce thickness.
It is understood that although Fig. 1 shows radio frequency unit 101, but it is understood that, radio frequency unit 101 itsAnd it is not belonging to must be configured into for wearable device, it can according to need within the scope of not changing the essence of the invention and save completelySlightly., wearable device 100 can realize the communication connection with other equipment or communication network separately through wifi module 102,The embodiment of the present invention is not limited thereto.
WiFi belongs to short range wireless transmission technology, and wearable device can help user to receive and dispatch by WiFi module 102Email, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 1WiFi module 102 is shown, but it is understood that, and it is not belonging to must be configured into for wearable device, it completely can rootIt is omitted within the scope of not changing the essence of the invention according to needs.
Audio output unit 103 can be in call signal reception pattern, call mode, record in wearable device 100When under the isotypes such as mode, speech recognition mode, broadcast reception mode, by radio frequency unit 101 or WiFi module 102 it is received orThe audio data that person stores in memory 109 is converted into audio signal and exports to be sound.Moreover, audio output unit103 can also provide audio output relevant to the specific function that wearable device 100 executes (for example, call signal reception soundSound, message sink sound etc.).Audio output unit 103 may include loudspeaker, buzzer etc..
A/V input unit 104 is for receiving audio or video signal.A/V input unit 104 may include graphics processor(Graphics Processing Unit, GPU) 1041 and microphone 1042, graphics processor 1041 is in video acquisition modeOr the image data of the static images or video obtained in image capture mode by image capture apparatus (such as camera) carries outReason.Treated, and picture frame may be displayed on display unit 106.Through graphics processor 1041, treated that picture frame can be depositedStorage is sent in memory 109 (or other storage mediums) or via radio frequency unit 101 or WiFi module 102.MikeWind 1042 can connect in telephone calling model, logging mode, speech recognition mode etc. operational mode via microphone 1042Quiet down sound (audio data), and can be audio data by such acoustic processing.Audio that treated (voice) data canTo be converted to the format output that can be sent to mobile communication base station via radio frequency unit 101 in the case where telephone calling model.Microphone 1042 can be implemented various types of noises elimination (or inhibition) algorithms and send and receive sound to eliminate (or inhibition)The noise generated during frequency signal or interference.
In one embodiment, wearable device 100 includes one or more cameras, by opening camera,It can be realized the capture to image, realize the functions such as take pictures, record a video, the position of camera, which can according to need, to be configured.
Wearable device 100 further includes at least one sensor 105, for example, optical sensor, motion sensor and otherSensor.Specifically, optical sensor includes ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ringThe light and shade of border light adjusts the brightness of display panel 1061, proximity sensor can when wearable device 100 is moved in one's ear,Close display panel 1061 and/or backlight.As a kind of motion sensor, accelerometer sensor can detect in all directionsThe size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify mobile phone posture when staticIt (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation functionHit) etc..
In one embodiment, wearable device 100 further includes proximity sensor, can by using proximity sensorWearable device can be realized non-contact manipulation, provide more modes of operation.
In one embodiment, wearable device 100 further includes heart rate sensor, when wearing, by close to usingPerson can be realized the detecting of heart rate.
In one embodiment, wearable device 100 can also include that fingerprint sensor can by reading fingerprintRealize the functions such as safety verification.
Display unit 106 is for showing information input by user or being supplied to the information of user.Display unit 106 can wrapDisplay panel 1061 is included, liquid crystal display (Liquid Crystal Display, LCD), Organic Light Emitting Diode can be usedForms such as (Organic Light-Emitting Diode, OLED) configure display panel 1061.
In one embodiment, display panel 1061 uses flexible display screen, and wearable using flexible display screen setsFor when wearing, screen is able to carry out bending, to more be bonded.Optionally, the flexible display screen can use OLED screenBody and graphene screen body, in other embodiments, the flexible display screen is also possible to other display materials, the present embodimentIt is not limited thereto.
In one embodiment, the display panel 1061 of wearable device can take rectangle, ring when convenient for wearingAround.In other embodiments, other modes can also be taken.
User input unit 107 can be used for receiving the number or character information of input, and generate and wearable deviceUser setting and the related key signals input of function control.Specifically, user input unit 107 may include touch panel 1071And other input equipments 1072.Touch panel 1071, also referred to as touch screen collect the touch behaviour of user on it or nearbyMake (for example user uses any suitable objects or attachment such as finger, stylus on touch panel 1071 or in touch panelOperation near 1071), and corresponding attachment device is driven according to preset formula.Touch panel 1071 may include touchingTwo parts of detection device and touch controller.Wherein, the touch orientation of touch detecting apparatus detection user, and detect touch behaviourMake bring signal, transmits a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, andIt is converted into contact coordinate, then gives processor 110, and order that processor 110 is sent can be received and executed.ThisOutside, touch panel 1071 can be realized using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves.In addition to touchingPanel 1071 is controlled, user input unit 107 can also include other input equipments 1072.Specifically, other input equipments 1072It can include but is not limited to physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, operationOne of bar etc. is a variety of, specifically herein without limitation.
In one embodiment, one or more buttons have can be set in the side of wearable device 100.Button can be withThe various ways such as short-press, long-pressing, rotation are realized, to realize a variety of operating effects.The quantity of button can be different to be multipleIt can be applied in combination between button, realize a variety of operating functions.
Further, touch panel 1071 can cover display panel 1061, when touch panel 1071 detect on it orAfter neighbouring touch operation, processor 110 is sent to determine the type of touch event, is followed by subsequent processing device 110 according to touch thingThe type of part provides corresponding visual output on display panel 1061.Although in Fig. 1, touch panel 1071 and display panel1061 be the function that outputs and inputs of realizing wearable device as two independent components, but in certain embodiments,Touch panel 1071 and display panel 1061 can be integrated and be realized the function that outputs and inputs of wearable device, specifically hereinWithout limitation.For example, processor 110 can be controlled when receiving the message informing of a certain application program by radio frequency unit 101The message informing show in a certain predeterminable area of display panel 1061 by system, the predeterminable area and touch panel 1071 certainOne region is corresponding, can be to corresponding to area on display panel 1061 by carrying out touch control operation to a certain region of touch panel 1071The message informing shown in domain is controlled.
Interface unit 108 be used as at least one external device (ED) connect with wearable device 100 can by interface.ExampleSuch as, external device (ED) may include wired or wireless headphone port, external power supply (or battery charger) port, You XianhuoWireless data communications port, memory card port, the port for connecting the device with identification module, audio input/output (I/O) endMouth, video i/o port, ear port etc..Interface unit 108 can be used for receiving the input from external device (ED) (for example, numberIt is believed that breath, electric power etc.) and the input received is transferred to one or more elements in wearable device 100 or canFor transmitting data between wearable device 100 and external device (ED).
In one embodiment, wearable device 100 interface unit 108 using contact structure, by contact withCorresponding other equipment connection, realizes the functions such as charging, connection.Use contact can be with waterproof.
Memory 109 can be used for storing software program and various data.Memory 109 can mainly include storing program areaThe storage data area and, wherein storing program area can (such as the sound of application program needed for storage program area, at least one functionSound playing function, image player function etc.) etc.;Storage data area can store according to mobile phone use created data (such asAudio data, phone directory etc.) etc..In addition, memory 109 may include high-speed random access memory, it can also include non-easyThe property lost memory, a for example, at least disk memory, flush memory device or other volatile solid-state parts.
Processor 110 is the control centre of wearable device, utilizes various interfaces and the entire wearable device of connectionVarious pieces, by running or execute the software program and/or module that are stored in memory 109, and call and be stored inData in memory 109 execute the various functions and processing data of wearable device, to carry out to wearable device wholeMonitoring.Processor 110 may include one or more processing units;Preferably, processor 110 can integrate application processor and modulationDemodulation processor, wherein the main processing operation system of application processor, user interface and application program etc., modulation /demodulation processingDevice mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 110.
Wearable device 100 can also include the power supply 111 (such as battery) powered to all parts, it is preferred that power supply111 can be logically contiguous by power-supply management system and processor 110, thus charged by power-supply management system realization management,The functions such as electric discharge and power managed.
Although Fig. 1 is not shown, wearable device 100 can also be including bluetooth module etc., and details are not described herein.It is wearable to setStandby 100, by bluetooth, can connect with other terminal devices, realize communication and the interaction of information.
As shown in Figure 1, as may include operating system, net in a kind of memory 109 of computer readable storage mediumNetwork communication module, Subscriber Interface Module SIM and home wiring control program, processor 110 can be used for calling to be stored in memory 109Home wiring control program, and execute each step of following household electric appliance control method.
Further, Fig. 2-Fig. 4 is please referred to, is a kind of a kind of embodiment of wearable device provided in an embodiment of the present inventionUnder structural schematic diagram.Wearable device in the embodiment of the present invention, including flexible screen.It is soft in wearable device expansionProperty screen is elongated;When wearable device is in wearing state, flexible screen bending is annular in shape.Fig. 2 and Fig. 3 is shown canStructural schematic diagram when wearable device screen is unfolded, Fig. 4 show structural schematic diagram when wearable device screen-bending.
Based on above-mentioned hardware configuration, each embodiment of present inventor's electric control method is proposed.
The present invention provides a kind of household electric appliance control method.
Referring to Fig. 5, Fig. 5 is the flow diagram of present inventor's electric control method first embodiment.
In the present embodiment, which is applied to wearable device, which includes:
Step S10 obtains the location information and/or the network information of user by the wearable device, is based on institute's rhemeConfidence breath and/or the network information judge whether user is within the scope of home location;
In the present embodiment, before above-mentioned steps S10, the household electric appliance control method further include:
Step A is obtained the unpaired message of each household appliance, and is sent and matched to each household appliance based on the unpaired messageBind request;
Step B, when receiving the binding acknowledgement message that each household appliance is returned based on pairing and binding request, according toThe binding acknowledgement message establishes the pairing and binding relationship between the wearable device and each household appliance.
In the present embodiment, which is applied to wearable device, which can be intelligent handRing, smartwatch or other wearable devices with display screen.It is controlled in the present invention using wearable device as intelligent applianceThe core of platform can effectively integrate intelligent appliance equipment by wearable device, and then according to the sensing in wearable deviceThe collected data of device carry out each household appliance of intelligent control, can avoid installation additional sensing system and control centre, thusIt can reduce and build cost.
To guarantee the uniqueness that controls target household appliance of wearable device, avoid controlling wrong, can first establish canPairing and binding relationship between wearable device and each household appliance.Specifically, obtaining the unpaired message of each household appliance, whereinThe unpaired message can be the Bluetooth address of household appliance or other addresses, title etc., and can be user can directly wearIt wears and is inputted in equipment, be also possible to user and inputted by the mobile terminal (such as smart phone) being connected with wearable device's.Then, pairing and binding request is sent to each household appliance based on the unpaired message.Matched receiving each household appliance based on thisTo bind request return binding acknowledgement message when, wearable device and each household appliance are established according to the binding acknowledgement messageBetween pairing and binding relationship.To after pairing and binding, once subsequent household appliance starts, wearable device can automatically withThe household appliance of pairing and binding is attached and controls.By pairing and binding, avoidable mistake controls non-targeted household appliance(being such as possibly connected to the household appliance of other user family).
In the present embodiment, location information and/or the network information that wearable device obtains user are first passed through, is then based onThe location information and/or the network information judge whether user is within the scope of home location.Specifically, step S10 includes:
Step a1 obtains the location information and/or the network information of user by the wearable device;
Step a2 judges that the location information judges whether within the scope of predeterminated position, and/or according to the network informationWhether present access network is default network, to judge whether user is within the scope of home location.
First pass through location information and/or the network information that wearable device obtains user, wherein location information can be by canLocator (such as GPS (Global Positioning System, global positioning system) sensor) positioning in wearable device obtainsIt gets, the network that the network information can currently be accessed by wearable device.Judging whether user is in home location rangeIt is inside that can individually be judged according to location information or the network information or combining position information and the network information are judged.
Specifically, when individually being judged according to location information or the network information, can be by whether judging location informationJudge whether present access network is default network within the scope of predeterminated position, or according to the network information, whether to judge userWithin the scope of home location.At this point, if it is determined that location information determines currently within the scope of predeterminated position, or according to the network informationAccessing network is default network, then determines that user is within the scope of home location;If it is determined that location information is not in predeterminated position modelIn enclosing, or determining present access network not according to the network information is default network, then determines that user is not at home location rangeIt is interior.
It, can be by judging location information whether in predeterminated position model when combining position information and the network information are judgedIn enclosing, and judge whether present access network is default network according to the network information, to judge whether user is in home locationIn range.At this point, if it is determined that location information determines that present access network is pre- within the scope of predeterminated position, and according to the network informationIf network, then determine that user is within the scope of home location;If it is determined that location information is within the scope of predeterminated position, or according to netIt is default network that network information, which judges present access network not, then determines that user is not within the scope of home location.
If it is determined that user is within the scope of the home location, thens follow the steps S20: being acquired by the wearable deviceUser information and external information, and detect the user information and whether the external information meets default home wiring control condition;
If it is determined that user is within the scope of home location, then user information and external information are acquired by wearable device,And detect user information and whether external information meets default home wiring control condition.Wherein, user information include body temperature, heart rate,One of step number and degree of fatigue or a variety of are moved, external information includes current time, light intensity, room temperature and interiorOne of humidity is a variety of.
If the user information and the external information meet default home wiring control condition, S30 is thened follow the steps: generation pairThe household appliance control instruction answered, and the household appliance control instruction is sent to corresponding household appliance, to control the household applianceExecute corresponding operation.
If user information and external information meet default home wiring control condition, corresponding household appliance control instruction is generated, andThe household appliance control instruction is sent to corresponding household appliance, executes corresponding operation to control the household appliance.Wherein, it presetsHome wiring control condition and its operation of corresponding home wiring control, it is preset according to their needs to can be user, it is possible to understand that, default home wiring control condition may include it is one or more, when default home wiring control condition only includes a kind of, if the useFamily information and external information meet the default home wiring control condition, then generate and preset the corresponding household electrical appliances of home wiring control condition with thisControl instruction executes corresponding operation to control corresponding household appliance.When default home wiring control condition only includes a variety of, ifThe user information and external information meet one of default home wiring control condition or a variety of, then the default family for generating and being metThe corresponding household appliance control instruction of electric control condition executes corresponding operation to control corresponding household appliance.For example, if settingWhen body temperature is greater than the first preset value, room temperature is greater than the second preset value and current time is in a preset range, setting is corresponded toHome wiring control operation for open air-conditioning to 25 degree.When detecting the body temperature in user information, the current time in external conditionWhen meeting above-mentioned condition with room temperature, then airconditioning control instruction is generated, and airconditioning control instruction is sent to air-conditioning, with controlAir-conditioning processed is opened, and adjusting cryogenic temperature is 25 degree.For another example presetting light intensity if setting light intensity and being less than, and currentTime when (such as 18:00-6:00), sets corresponding home wiring control operation in a preset range to open headlamp.Work as detectionWhen current time and light intensity into external condition meet above-mentioned condition, then headlamp open instructions is generated, and by the photographBright lamp open instructions is sent to headlamp, to control headlamp opening.
It should be noted that when having pre-established the pairing and binding relationship between wearable device and each household appliance,At this point, step S30 includes: to generate corresponding household appliance control instruction, and be based on the pairing and binding relationship for the home wiring controlInstruction is sent to corresponding household appliance, executes corresponding operation to control the household appliance.That is, if user information and the external worldInformation meets default home wiring control condition, then generates corresponding household appliance control instruction, then passes through the pairing and binding relationship for familyElectric control instruction is sent to corresponding household appliance, executes corresponding operation to control the household appliance.
The present invention provides a kind of household electric appliance control method, is applied to wearable device, first passes through wearable device and obtains userLocation information and/or the network information, be then based on the location information and/or the network information judge whether user is in house positionIt sets in range;If it is determined that user is within the scope of home location, then user information and external information are acquired by wearable device,And detect user information and whether external information meets default home wiring control condition;If user information and external information meet defaultHome wiring control condition then generates corresponding household appliance control instruction, and the household appliance control instruction is sent to corresponding household appliance,Corresponding operation is executed to control the household appliance.Intelligent appliance equipment is effectively integrated by wearable device in the present invention,And the intelligent control to each household appliance is realized as the core of Intelligent household electrical appliance control platform, it can avoid the additional sensor of installationCost is built so as to reduce by system and control centre.Meanwhile the present invention is by combining the collected user of wearable device to believeBreath and external information carry out intelligent control of household electrical appliance equipment, can reach preferable interactive experience, so as to promote the usage experience of user.
It further, is the flow diagram of present inventor's electric control method second embodiment referring to Fig. 6, Fig. 6.
Based on above-mentioned first embodiment shown in fig. 5, after step S30, which can also include:
Step S40, when receiving the operation completion information that the household appliance is fed back based on the household appliance control instruction,Judge whether the household appliance closes in list in time default;
If it is determined that the household appliance thens follow the steps S50: generating closing and refers in the default list of closing in timeIt enables, and is sent to the household appliance, to close the household appliance in time.
In the present embodiment, it to reduce energy waste, and the safety of raising electricity consumption, is held controlling corresponding household applianceAfter the corresponding operation of row, it can receive the household appliance based on the operation that household appliance control instruction is fed back and complete information, to be set in household electrical appliancesAfter completing corresponding operation, closing processing is carried out to associated appliance equipment in time.
Specifically, judging the family when receiving the operation completion information that household appliance is fed back based on household appliance control instructionWhether electric equipment closes in list in time default, wherein and it is default to close list in time, it can be set by user is customized as neededIt is fixed, it is preset to be also possible to system.If it is determined that the household appliance is closed in list in time default, then generates closing and refer toIt enables, and the out code is sent to the household appliance, to close the household appliance in time.If it is determined that the household appliance is defaultIt closes in list in time, does not then execute any operation.
Further, the various embodiments described above are based on, propose the 3rd embodiment of present inventor's electric control method.
In the present embodiment, before step S30, which can also include:
Whether step C obtains the current operating conditions of each household appliance, detect the current operating conditions and met and instituteState user information and the corresponding home wiring control demand of default home wiring control condition that the external information is met;
If the current operating conditions do not meet the home wiring control demand, S30 is thened follow the steps: generating corresponding household electrical appliancesControl instruction, and the household appliance control instruction is sent to corresponding household appliance, correspondence is executed to control the household applianceOperation;
If the current operating conditions have met the home wiring control demand, any operation is not executed.
In the present embodiment, when detecting that user information and external information meet default home wiring control condition, Ke YixianThe current operating conditions of each household appliance are obtained, whether detection current operating conditions have met and the user information and external informationThe corresponding home wiring control demand of default home wiring control condition met.If current operating conditions do not meet the home wiring control and needIt asks, then generates corresponding household appliance control instruction, and household appliance control instruction is sent to corresponding household appliance, set with controlling household electrical appliancesIt is standby to execute corresponding operation.If current operating conditions have met home wiring control demand, illustrate that someone is in, has controlled to adjustAssociated appliance equipment, at this point, any operation is not executed then, to can avoid repeating to issue control instruction.
Further, the various embodiments described above are based on, propose the fourth embodiment of present inventor's electric control method.
In the present embodiment, which can also include:
Step D obtains target household appliance and mesh according to the phonetic control command when receiving phonetic control commandMark control operation;
Step E generates control instruction corresponding with target control operation and is sent to the target household appliance, withIt controls the target household appliance and executes the target control operation.
In the present embodiment, wearable device is removed and can intelligently be set according to collected user information and external information to household electrical appliancesIt is standby to carry out outside intelligent control, it can also be when receiving phonetic control command, according to phonetic control command to target household applianceCarry out corresponding control.Specifically, when receiving phonetic control command, by speech recognition technology to the phonetic control commandIt is identified, obtains target household appliance and target control operation.Then, control corresponding with target control operation is generated to refer toIt enables, and the control instruction is sent to target household appliance, execute target control operation to control target household appliance.
Further, the various embodiments described above are based on, propose the 5th embodiment of present inventor's electric control method.
In the present embodiment, which can also include:
Step F obtains the working condition of each household appliance when detecting that user leaves within the scope of the home location;
In the present embodiment, the current location information of user can be obtained in real time or every preset time by wearable deviceAnd/or current network information, then according to the current location information of user and/or current network information judge user whether fromHome location range is opened, specific judgment method is similar to the above-mentioned method for judging whether user is within the scope of home location,It can refer to above-mentioned first embodiment, do not repeat herein.
When detecting that user leaves within the scope of home location, the working condition of each household appliance is obtained, wherein work shapeState includes open state and closed state.
Step G, the working condition based on each household appliance judge whether there is the household appliance being not turned off;
The household appliance being not turned off if it exists, thens follow the steps H: corresponding inquiry message is generated, to ask the user whetherThe household appliance being not turned off described in closing.
Then, the working condition based on each household appliance judges whether there is the household appliance being not turned off, that is, detects whetherThere are the household appliances that working condition is open state.The household appliance being not turned off if it exists then generates corresponding inquiry message,To ask the user whether to close the household appliance being not turned off detected.Wherein, it in the inquiry message, can open up in the form of a listShow the household appliance being not turned off, user can select the household appliance that need to be closed based on the inquiry message, to trigger corresponding closingThe out code is forwarded to corresponding household appliance at this point, may be worn on when receiving the out code by instruction, with controlClose the household appliance.
In the present embodiment, when detecting that user leaves within the scope of home location, by reminding whether user closes in timeThe household appliance being not turned off, and then household appliance can be closed in time when receiving out code, so as to reduce energy waste,The safety of electricity consumption can be improved to a certain extent simultaneously.
The present invention also provides a kind of computer readable storage mediums.
Home wiring control program is stored on computer readable storage medium of the present invention, the home wiring control program is by processorThe step of household electric appliance control method as described in any of the above item embodiment is realized when execution.
The specific embodiment of computer readable storage medium of the present invention and the basic phase of each embodiment of above-mentioned household electric appliance control methodTogether, therefore not to repeat here.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-rowHis property includes, so that the process, method, article or the device that include a series of elements not only include those elements, andAnd further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsicElement.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to doThere is also other identical elements in the process, method of element, article or device.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment sideMethod can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many casesThe former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior artThe part contributed out can be embodied in the form of software products, which is stored in a storage mediumIn (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal (can be mobile phone, computer, serviceDevice or the network equipment etc.) execute method described in each embodiment of the present invention.
The embodiment of the present invention is described with above attached drawing, but the invention is not limited to above-mentioned specificEmbodiment, the above mentioned embodiment is only schematical, rather than restrictive, those skilled in the artUnder the inspiration of the present invention, without breaking away from the scope protected by the purposes and claims of the present invention, it can also make very muchForm, all of these belong to the protection of the present invention.