CN110161990A - The control method and its device and readable storage medium storing program for executing of Intelligent switch controller - Google Patents

The control method and its device and readable storage medium storing program for executing of Intelligent switch controller Download PDF

Info

Publication number
CN110161990A
CN110161990A CN201910352669.XA CN201910352669A CN110161990A CN 110161990 A CN110161990 A CN 110161990A CN 201910352669 A CN201910352669 A CN 201910352669A CN 110161990 A CN110161990 A CN 110161990A
Authority
CN
China
Prior art keywords
electrical appliances
household electrical
intelligent switch
household
type
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
CN201910352669.XA
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.)
Safety Science And Technology (shenzhen) Co Ltd Unda
Original Assignee
Safety Science And Technology (shenzhen) Co Ltd Unda
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 Safety Science And Technology (shenzhen) Co Ltd Unda filed Critical Safety Science And Technology (shenzhen) Co Ltd Unda
Priority to CN201910352669.XA priority Critical patent/CN110161990A/en
Publication of CN110161990A publication Critical patent/CN110161990A/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]
    • G05B19/4185Total 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] characterised by the network communication
    • 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

Landscapes

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

Abstract

The invention discloses a kind of control methods of Intelligent switch controller, the control method of the Intelligent switch controller is the following steps are included: when detecting that family is electrically accessed network, using the household electrical appliances of access as current household electrical appliances, and obtain device identification and the household electrical appliances mailing address of the current household electrical appliances, wherein, the current household electrical appliances and the intelligent switch are in consolidated network, and the current household electrical appliances are not associated with the intelligent switch;The household electrical appliances type of the current household electrical appliances is determined according to the device identification, and is that the current household electrical appliances distribute household appliance number according to the household electrical appliances type;The association of the household electrical appliances type, the household appliance number and the household electrical appliances mailing address is saved to the target memory.Invention additionally discloses a kind of Intelligent switch controller and readable storage medium storing program for executing.This invention ensures that controlling the speed of service of chip in intelligent switch, avoid the problem that delay response occur in household electrical appliances.

Description

The control method and its device and readable storage medium storing program for executing of Intelligent switch controller
Technical field
The present invention relates to the control method of home wiring control technical field more particularly to a kind of Intelligent switch controller and its Device and readable storage medium storing program for executing.
Background technique
Intelligent switch refers to that the modern a variety of emerging technologies of comprehensive utilization are combined and program, to realize that various ways control house The switch control of electricity.Switch control is also known as BANG-BANG control, since this control mode is simple and is easily achieved, It is used in the control of many household electrical appliance and illuminator.
Intelligent switch is compared with mechanical switch on wall, and function characteristics are more, using safe and attractive in fashion, is broken The single effect of the Push And Release of conventional wall switch.Intelligent switch also imparts switch cosmetic decoration in addition to innovation functionally Effect.Intelligent switch is widely used in home intelligence transformation, office's intellectualized reconstruction, industrial intelligent transformation, agriculture The multiple fields such as intellectualized reconstruction are herded in woods fishing, have greatly saved the energy, are improved production efficiency and are reduced operation cost, really Accomplished intelligent row all over the world.
In the prior art, intelligent switch and coordinator communicate to connect in family, and intelligent switch controls household electrical appliances by coordinator Equipment.When intelligent switch is associated with household appliance, the information of household appliance can be stored in the memory chained list of coordinator, When the associated household appliance of intelligent switch increases, the speed of service for the coordinator that can make is slack-off, so that household appliance is prolonged When respond intelligent switch control instruction.
Summary of the invention
The main purpose of the present invention is to provide a kind of intelligent switch, the control method of Intelligent switch controller and its dresses It sets and readable storage medium storing program for executing, it is intended to solve the problems, such as the control instruction of household appliance delay response intelligent switch.
To achieve the above object, a kind of control method of Intelligent switch controller provided by the invention, the intelligence are opened Close control device control method the following steps are included:
When detecting that family is electrically accessed network, using the household electrical appliances of access as current household electrical appliances, and the current family is obtained The device identification of electricity and household electrical appliances mailing address, wherein the current household electrical appliances and the intelligent switch are in consolidated network, and institute Current household electrical appliances are stated not to be associated with the intelligent switch;
The household electrical appliances type of the current household electrical appliances is determined according to the device identification, and is described work as according to the household electrical appliances type Preceding household electrical appliances distribute household appliance number;
The association of the household electrical appliances type, the household appliance number and the household electrical appliances mailing address is saved to the target and is deposited Reservoir.
In one embodiment, described to close the household electrical appliances type, the household appliance number and the household electrical appliances mailing address UNPROFOR was deposited to the step of target memory
Target key is distributed for the household electrical appliances type, and the key for distributing the target key to the household appliance number is joined Number, wherein the target key is the key on the intelligent switch, and described by bond parameter includes key duration or key pressure At least one in power;
Press bond parameter, the household electrical appliances type, the household appliance number of the target key, the target key are associated with It saves to the target memory, and the household electrical appliances type, the household appliance number and the household electrical appliances mailing address is associated with It saves to the target memory.
In one embodiment, described to close the household electrical appliances type, the household appliance number and the household electrical appliances mailing address After the step of UNPROFOR is deposited to the target memory, further includes:
When detecting button operation, determine the corresponding target key of the button operation and the target key by Bond parameter,
Household electrical appliances type is determined according to the target key, and determines household appliance number by bond parameter according to described;
Household electrical appliances mailing address is determined according to the household electrical appliances type and the household appliance number;
Control instruction is generated according to the target key, and sends institute to the corresponding target household electrical appliances of the household electrical appliances mailing address State control instruction.
In one embodiment, described the step of determining household appliance by bond parameter according to, includes:
Determine the parameter section as where bond parameter;
The household appliance number is determined according to the parameter section.
In one embodiment, described to close the household electrical appliances type, the household appliance number and the household electrical appliances mailing address UNPROFOR was deposited to the step of target memory
Determine the position where the current household electrical appliances and title;
The position, the title, the household electrical appliances type are associated with preservation to the target with the household appliance number to deposit Reservoir, and the association of the household electrical appliances type, the household appliance number and the household electrical appliances mailing address is saved to the target and is deposited Reservoir.
In one embodiment, described to close the household electrical appliances type, the household appliance number and the household electrical appliances mailing address After the step of UNPROFOR is deposited to the target memory, further includes:
When receiving target voice information, position keyword and household electrical appliances title are extracted in the target voice information Keyword, wherein the target voice information contains position and household electrical appliances title where household electrical appliances;
According to the position keyword and the household electrical appliances name keyword, household electrical appliances type and household appliance number are determined;
Household electrical appliances mailing address is determined according to the household electrical appliances type and the household appliance number;
Control instruction is generated according to the target voice information, and is sent out to the corresponding target household electrical appliances of the household electrical appliances mailing address Send the control instruction.
In one embodiment, described the step of distributing household appliance according to the household electrical appliances type for the current household electrical appliances, wraps It includes:
Determine the quantity for having distributed the household electrical appliances of household appliance number, wherein the family of each household electrical appliances for having distributed household appliance number Electric type is identical as the household electrical appliances type of the current household electrical appliances;
It determines the Allotment Serial Number of the current household electrical appliances according to the quantity, and is determined according to the Allotment Serial Number described current The corresponding household appliance number of household electrical appliances.
In one embodiment, Intelligent switch controller is by least one of bluetooth, WIFI and zigbee to family Electricity is controlled.
To achieve the above object, the present invention also provides a kind of Intelligent switch controller, the Intelligent switch controllers Including processor, memory and it is stored in the Intelligent switch controller that can be run on the memory and on the processor Control program, the control program of the Intelligent switch controller realizes household electrical appliances as described above when being executed by the processor With each step of the correlating method of intelligent switch.
To achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing is stored with house It is realized when the associated program of the associated program of electricity and intelligent switch, the household electrical appliances and intelligent switch is executed by the processor as above Each step of the control method of the Intelligent switch controller.
The control method and its device and readable storage medium storing program for executing of Intelligent switch controller provided by the invention, intelligent switch When detecting that family is electrically accessed network, if the household electrical appliances are not associated with intelligent switch, device identification and the household electrical appliances of household electrical appliances are obtained Mailing address determines the household electrical appliances type of household electrical appliances further according to device identification, and is that household electrical appliances distribute household appliance number according to household electrical appliances type, Finally the association of household electrical appliances type, household appliance number and household electrical appliances mailing address is saved to the target memory in intelligent switch;By The household electrical appliances type, household appliance number and household electrical appliances mailing address of household electrical appliances are stored in target memory in intelligent switch, and not It stores it in the interior chained list of control chip, ensure that the speed of service of control chip, avoid household appliance from delay occur and ring The problem of answering.
Detailed description of the invention
Fig. 1 be the present embodiments relate to Intelligent switch controller hardware structural diagram;
Fig. 2 is the flow diagram of the control method first embodiment of Intelligent switch controller of the present invention;
Fig. 3 is the refinement flow diagram of step S20 in Fig. 2;
Fig. 4 is the flow diagram of the control method second embodiment of Intelligent switch controller of the present invention;
Fig. 5 is the flow diagram of the control method 3rd embodiment of Intelligent switch controller of the present invention;
Fig. 6 is the structural schematic diagram of intelligent switch of the present invention, cell phone application and WIFI router.
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific embodiment
It should be appreciated that described herein, specific examples are only used to explain the present invention, is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: when detecting that family is electrically accessed network, by the household electrical appliances of access As current household electrical appliances, and obtain device identification and the household electrical appliances mailing address of the current household electrical appliances, wherein the current household electrical appliances with The intelligent switch system is in consolidated network, and the current household electrical appliances are not associated with the intelligent switch;According to the equipment Mark determines the household electrical appliances type of the current household electrical appliances, and is that the current household electrical appliances distribute household appliance according to the household electrical appliances type Number;The association of the household electrical appliances type, the household appliance number and the household electrical appliances mailing address is saved to the target memory.
Since the household electrical appliances type, household appliance number and household electrical appliances mailing address of household electrical appliances are stored in target storage by intelligent switch It in device, and does not store it in the interior chained list of control chip, ensure that the speed of service of control chip, household appliance is avoided to go out The problem of now delay response.
As a kind of implementation, Intelligent switch controller can be as shown in Figure 1.
For the embodiment of the present invention what is involved is Intelligent switch controller, Intelligent switch controller includes: processor 101, for example, CPU, memory 102, communication bus 103,.Wherein, communication bus 103 is for realizing the connection between these components Communication.
Memory 102 can be high speed RAM memory, be also possible to stable memory (non- ), such as magnetic disk storage volatilememory.As shown in Figure 1, as in a kind of memory 102 of computer storage medium It may include the associated program of household electrical appliances and intelligent switch;And processor 101 can be used for calling the household electrical appliances stored in memory 102 With the associated program of intelligent switch, and following operation is executed:
When detecting that family is electrically accessed network, using the household electrical appliances of access as current household electrical appliances, and the current family is obtained The device identification of electricity and household electrical appliances mailing address, wherein the current household electrical appliances and the intelligent switch are in consolidated network, and institute Current household electrical appliances are stated not to be associated with the intelligent switch;
The household electrical appliances type of the current household electrical appliances is determined according to the device identification, and is described work as according to the household electrical appliances type Preceding household electrical appliances distribute household appliance number;
The association of the household electrical appliances type, the household appliance number and the household electrical appliances mailing address is saved to the target and is deposited Reservoir.
In one embodiment, processor 101 can be used for calling the pass of the household electrical appliances and intelligent switch that store in memory 102 Join program, and execute following operation:
Target key is distributed for the household electrical appliances type, and the key for distributing the target key to the household appliance number is joined Number, wherein the target key is the key on the intelligent switch, and described by bond parameter includes key duration or key pressure At least one in power;
Press bond parameter, the household electrical appliances type, the household appliance number of the target key, the target key are associated with It saves to the target memory, and the household electrical appliances type, the household appliance number and the household electrical appliances mailing address is associated with It saves to the target memory.
In one embodiment, processor 101 can be used for calling the pass of the household electrical appliances and intelligent switch that store in memory 102 Join program, and execute following operation:
When detecting button operation, determine the corresponding target key of the button operation and the target key by Bond parameter,
Household electrical appliances type is determined according to the target key, and determines household appliance number by bond parameter according to described;
Household electrical appliances mailing address is determined according to the household electrical appliances type and the household appliance number;
Control instruction is generated according to the target key, and sends institute to the corresponding target household electrical appliances of the household electrical appliances mailing address State control instruction.
In one embodiment, processor 101 can be used for calling the pass of the household electrical appliances and intelligent switch that store in memory 102 Join program, and execute following operation:
Determine the parameter section as where bond parameter;
The household appliance number is determined according to the parameter section.
In one embodiment, processor 101 can be used for calling the pass of the household electrical appliances and intelligent switch that store in memory 102 Join program, and execute following operation:
Determine the position where the current household electrical appliances and title;
The position, the title, the household electrical appliances type are associated with preservation to the target with the household appliance number to deposit Reservoir, and the association of the household electrical appliances type, the household appliance number and the household electrical appliances mailing address is saved to the target and is deposited Reservoir.
In one embodiment, processor 101 can be used for calling the pass of the household electrical appliances and intelligent switch that store in memory 102 Join program, and execute following operation:
When receiving target voice information, position keyword and household electrical appliances title are extracted in the target voice information Keyword, wherein the target voice information contains position and household electrical appliances title where household electrical appliances;
According to the position keyword and the household electrical appliances name keyword, household electrical appliances type and household appliance number are determined;
Household electrical appliances mailing address is determined according to the household electrical appliances type and the household appliance number;
Control instruction is generated according to the target voice information, and is sent out to the corresponding target household electrical appliances of the household electrical appliances mailing address Send the control instruction.
In one embodiment, processor 101 can be used for calling the pass of the household electrical appliances and intelligent switch that store in memory 102 Join program, and execute following operation:
Determine the quantity for having distributed the household electrical appliances of household appliance number, wherein the family of each household electrical appliances for having distributed household appliance number Electric type is identical as the household electrical appliances type of the current household electrical appliances;
It determines the Allotment Serial Number of the current household electrical appliances according to the quantity, and is determined according to the Allotment Serial Number described current The corresponding household appliance number of household electrical appliances.
In one embodiment, processor 101 can be used for calling the Intelligent switch controller stored in memory 102 Program is controlled, and executes following operation:
Intelligent switch controller controls household electrical appliances by least one of bluetooth, WIFI and zigbee.
The present embodiment according to above scheme, intelligent switch when detecting that family is electrically accessed network, if the household electrical appliances not with intelligence Switch association, then obtain device identification and the household electrical appliances mailing address of household electrical appliances, the household appliances of household electrical appliances determined further according to device identification Type, and be that household electrical appliances distribute household appliance number according to household electrical appliances type, communicatedly by household electrical appliances type, household appliance number and household electrical appliances finally Location association is saved to the target memory in intelligent switch;Due to intelligent switch by the household electrical appliances type of household electrical appliances, household appliance number with And household electrical appliances mailing address is stored in target memory, and do not store it in the interior chained list of control chip, it ensure that control The speed of service of chip avoids the problem that delay response occurs in household appliance.
Based on the hardware architecture of above-mentioned intelligent switch, the implementation of the control method of Intelligent switch controller of the present invention is proposed Example.
Referring to Fig. 2, Fig. 2 is the first embodiment of the control method of Intelligent switch controller of the present invention, and the intelligence is opened Close control device control method the following steps are included:
Step S10 using the household electrical appliances of access as current household electrical appliances, and obtains institute when detecting that family is electrically accessed network State device identification and the household electrical appliances mailing address of current household electrical appliances, wherein the current household electrical appliances are in same with the intelligent switch Network, and the current household electrical appliances are not associated with the intelligent switch;
In the present invention, executing subject is intelligent switch, and intelligent switch can be by network-control household appliance, network Zigebee or wifi, when network is zigebee network, intelligent switch is equipped with coordinator, and coordinator is equivalent to intelligence The control chip of switch;In addition, intelligent switch can also transmit control instruction to each household appliance by bluetooth.
When detecting that family is electrically accessed the network connecting with intelligent switch, router (wifi network) or coordinator (zigebee network) notifies intelligent switch, and intelligent switch then passes through router or coordinator obtains the device identification of household electrical appliances, from And judge whether the device identification is stored in intelligent switch, if the device identification is not stored in intelligent switch, then determine The household electrical appliances are not associated with binding with intelligent switch;In addition, household electrical appliances when accessing network, actively can send association to intelligent switch and ask It asks, the device identification of household electrical appliances is contained in association request.
It should be noted that be in when being electrically connected into zigebee network when network is zigebee network, coordinator meeting Generate a random address, household electrical appliances can also generate a random address, the random address and coordinator that household electrical appliances generate generate with Machine address is consistent, and other household electrical appliances cannot be connected into the zigebee network because of no identical address, and the household electrical appliances will not connect Enter other zigebee networks, so that the household appliance that an intelligent switching control is fixed, avoids the occurrence of A intelligent switch The case where controlling B intelligent switch corresponding household appliance.
In the present embodiment, network will be accessed and not with the associated household electrical appliances of intelligent switch as current household electrical appliances, intelligent switch After obtaining the corresponding device identification of current household electrical appliances, then obtain the household electrical appliances mailing address of current household electrical appliances.
Step S20 determines the household electrical appliances type of the current household electrical appliances according to the device identification, and according to the household electrical appliances type Household appliance number is distributed for the current household electrical appliances;
Device identification characterizes the unique identities of current household electrical appliances, there is the household electrical appliances type of current household electrical appliances in device identification;Household electrical appliances can To be lamp, curtain, air-conditioning, television set, washing machine etc..It can be current household electrical appliances according to household electrical appliances type after determining household electrical appliances type Household appliance number is distributed, specifically, referring to figure 3., i.e. distributing household appliance according to household electrical appliances type in step S20 for current household electrical appliances Number the step of include:
Step S21 determines the quantity for having distributed the household electrical appliances of household appliance number, wherein each household appliance number of having distributed The household electrical appliances type of household electrical appliances is identical as the household electrical appliances type of the current household electrical appliances;
Step S22 determines the Allotment Serial Number of the current household electrical appliances according to the quantity, and is determined according to the Allotment Serial Number The corresponding household appliance number of the current household electrical appliances.
After the household electrical appliances type of the current household electrical appliances of determination, each in the case where determining the household electrical appliances type of intelligent switch has distributed household electrical appliances The quantity of the household electrical appliances of device number determines the Allotment Serial Number of current household electrical appliances further according to quantity, finally according to Allotment Serial Number to current Household electrical appliances carry out the distribution of household appliance number, for example, household electrical appliances type is lamp, and have been assigned with the corresponding household appliance number of 5 lamps, that , the Allotment Serial Number of the lamp of present access network is 6, then the household appliance number that the lamp of present access network distributes is 6.
Step S30 saves the association of the household electrical appliances type, the household appliance number and the household electrical appliances mailing address to institute State target memory.
Intelligent switch to current household electrical appliances distribute household appliance number after, by the household electrical appliances type of current household electrical appliances, household appliance number, The association of household electrical appliances mailing address is saved to target memory, and target memory is household electrical appliances information storage area in intelligent switch.In addition, Household electrical appliances type available digital or letter indicate namely intelligent switch is defined identity to household electrical appliances type, which represents house Electric type, for example, lamp number-letter relation table A is indicated, curtain number-letter relation table B is indicated.
User can send control instruction to intelligent switch by the home wiring control APP on mobile phone, and intelligent switch is receiving When to control instruction, control instruction is parsed, household electrical appliances type and the family of the corresponding household electrical appliances to be controlled of control instruction are obtained Electric equipment number, intelligent switch determines household electrical appliances mailing address corresponding with household appliance number and household electrical appliances type again, finally to household electrical appliances The corresponding household electrical appliances of mailing address send control instruction, to realize the long-range control to household electrical appliances.
In technical solution provided in this embodiment, intelligent switch is when detecting that family is electrically accessed network, if the household electrical appliances are not It is associated with intelligent switch, then obtains device identification and the household electrical appliances mailing address of household electrical appliances, determine household electrical appliances further according to device identification Household electrical appliances type, and be that household electrical appliances distribute household appliance number according to household electrical appliances type, finally by household electrical appliances type, household appliance number and household electrical appliances Mailing address association is saved to the target memory in intelligent switch;Since intelligent switch sets the household electrical appliances type of household electrical appliances, household electrical appliances Standby number and household electrical appliances mailing address are stored in target memory, and are not stored it in the interior chained list of control chip, are guaranteed The speed of service of control chip avoids the problem that delay response occurs in household appliance.
It is the second embodiment of the control method of Intelligent switch controller of the present invention referring to Fig. 4, Fig. 4, it is real based on first Example is applied, the step S30 includes:
Step S31 distributes target key to the household electrical appliances type, and distributes the target key to the household appliance number Press bond parameter, wherein the target key be the intelligent switch on key, it is described by bond parameter include key duration or At least one in person's key press;
Step S32 is set by bond parameter, the household electrical appliances type, the household electrical appliances target key, the target key Standby number association is saved to the target memory, and by the household electrical appliances type, the household appliance number and described telecommunication Address information is saved to the target memory.
In the present embodiment, intelligent switch is equipped with multiple keys, and key can be virtual key, be also possible to entity by Key.Some keys are used to control the function of intelligent switch, for example, intelligent switch is equipped with network insertion key, network insertion is pressed Key is provided with corresponding indicator light, and in user's long-pressing network insertion key, indicator light can be lighted, and be flashed, if stopping Flashing then shows intelligent switch network insertion success;For some keys for controlling household appliance, user is pressing these keys When, the operating parameter of household electrical appliances is adjusted.
In the prior art, one household appliance of the corresponding control of each key on intelligent switch, if household appliance is more When, need to arrange multiple keys on intelligent switch, this meeting so that the key circuit of intelligent switch is more, and because key circuit compared with It is more, so that wiring is difficult, so that the control higher cost of intelligent switch.Based on this, in the present embodiment, one is pressed The controllable household electrical appliances for adhering to same type separately of key, therefore, in the present embodiment, by household electrical appliances type and key associated (household electrical appliances type pair The identity answered corresponding with key identity association), and by the key parameter association of household appliance number and key, key Parameter includes at least one of key duration and key press, so that intelligent switch is corresponding according to key and key Can determine target household electrical appliances by bond parameter, and then target household electrical appliances are controlled.It is understood that intelligent switch can be by mesh Mark key (the corresponding identity of target key), target key press bond parameter, household electrical appliances type (the corresponding identity of household electrical appliances type Mark) and household appliance number association save to target memory, and simultaneously by household electrical appliances type (the corresponding identity mark of household electrical appliances type Know), household appliance number and the association of household electrical appliances mailing address save in target memory.
User is described in detail by the process by key control household electrical appliances on intelligent switch below:
1, intelligent switch determines the corresponding target key of button operation, if target key when detecting button operation For control household electrical appliances key when namely target key be not intelligent switch state instruction key, then further obtain the target Key is corresponding to press bond parameter.
2, target key characterizes a kind of household electrical appliances type, for example, button operation is the operation to A key, then user is to need Control lamp;Intelligent switch can be by further by determining household appliance number by bond parameter, specifically, determining key ginseng Parameter section where number, determines household appliance number by parameter section, for example, a certain household electrical appliances type is arranged with 6 household electrical appliances Device number will be then divided into six parameter sections by bond parameter, for being key duration by bond parameter, if user is to target key Key duration be located at second parameter section, then showing that user wants to control the corresponding household appliance number in second parameter section Household electrical appliances, it should be noted that user when carrying out button operation, intelligent switch show it is current by bond parameter, for example, user When persistently carrying out pushing operation to target key, intelligent switch display button duration, and the parameter where display button duration Section, while the corresponding household electrical appliances in display parameters section, e.g., when current key a length of 3s, intelligent switch then display button when strong point In the second parameter section, the corresponding household electrical appliances in the second parameter section be hall lamp, at this point, intelligent switch further display it is to be controlled Household electrical appliances are the lamp in hall, if when current key when a length of 5s, display button duration is in third parameter section, third parameter The corresponding household electrical appliances in section are the lamp of master bedroom, and intelligent appliance is shown based on household electrical appliances to be controlled in display button when a length of 5s Sleeping lamp.Lead to such display mode, which household electrical appliances enable to that user learns its control is.
3, intelligent switch can determine corresponding target household electrical appliances when determining household electrical appliances type and household appliance, for example, Household electrical appliances type is A, and household appliance number is 2, and target household electrical appliances are the lamp in hall.And household electrical appliances type, household appliance number and household electrical appliances Mailing address is that association saves, therefore intelligent switch can determine family's telecommunication shop according to household electrical appliances type and household appliance number Location.
4, after determining household electrical appliances mailing address, that is, control instruction being produced, control instruction is generated according to target key, For example, A key is the start button of lamp, then control instruction is then enabled instruction;Enabled instruction is then sent to by intelligent switch Household electrical appliances mailing address corresponds to household electrical appliances, so that lamp is opened.In addition, control instruction can also pressing according to target key and target key Bond parameter generates control instruction, and by taking air-conditioning as an example, target key is regulating key, if target key is in first by bond parameter Parameter section shows to open first grade of air conditioner wind speed, shows to open air conditioner wind speed if being in the second parameter section by bond parameter Second gear, certainly, in user when long-time carries out pushing operation to persistent goal key, the ginseng locating for display button parameter It, can also the corresponding control instruction in display parameters section while number interval.
It should be noted that the quantity of the corresponding household appliance number in parameter section can be one, or it is multiple, In the case where multiple, show intelligent switch while controlling multiple household electrical appliances.
In technical solution provided in this embodiment, intelligent switch is by distributing target key to household electrical appliances type, then to family Electric equipment number distribution target key presses bond parameter, so that intelligent switch presses the family of the multiple same types of key control by one Electricity reduces the control cost of intelligent switch.
It is the 3rd embodiment of household electrical appliances of the present invention and intelligent switch referring to Fig. 5, Fig. 5, is based on first embodiment, the step S30 includes:
Step S33 determines the position where the current household electrical appliances and title;
The position, the title, the household electrical appliances type are associated with preservation to institute with the household appliance number by step S34 Target memory is stated, and the association of the household electrical appliances type, the household appliance number and the household electrical appliances mailing address is saved to institute State target memory.
In the present embodiment, intelligent switch is equipped with speech recognition module, and intelligent switch is identified by speech recognition module The phonetic order of user, to control household electrical appliances.In this regard, intelligent switch needs to be configured phonetic order, so that intelligence Switch can accurately determine the household electrical appliances that user needs to control according to phonetic order.Specifically, intelligent switch obtains current household electrical appliances Device identification, the title of current household electrical appliances can be determined according to device identification, further, intelligence is obtained again where current household electrical appliances Position, the acquisition of position can input by user, and the mode of wireless probe or positioning obtains, position, title, household electrical appliances After type is associated with preservation with household appliance number, then household appliance number, household electrical appliances type and household electrical appliances mailing address are associated with and saved.
User is described in detail by the process of voice command control household electrical appliances below:
1, predetermined keyword is stored on intelligent switch, predetermined keyword is that position keyword and household electrical appliances title are crucial Word, for example, position keyword is hall, master bedroom, secondary room lamp, and household electrical appliances name keyword is lamp, curtain, air-conditioning, television set, washes Clothing machine etc. when intelligent switch detects voice messaging, is judging whether contain position keyword and family in the voice messaging Electric name keyword;If contain household electrical appliances name keyword and position keyword in voice messaging, which is Target voice information, at this point, target voice information is converted to text, then then extract from text household electrical appliances name keyword and Position keyword;
2, since position, title, household electrical appliances type and household appliance number are associated preservation, position keyword is being extracted And after household electrical appliances name keyword, can be obtained according to position keyword and household electrical appliances name keyword household appliance number and Electric type;
3, household appliance number, household electrical appliances type and the association of household electrical appliances mailing address save, and therefore, intelligent switch is determining household electrical appliances After device number and household electrical appliances type, household electrical appliances mailing address can be determined according to household appliance number and household electrical appliances type;
4, intelligent switch generates control instruction by target voice information, for example, target voice information is to open hall Lamp, then, control instruction is then enabled instruction;Intelligent switch again sends out control instruction to the corresponding household electrical appliances of household electrical appliances mailing address It send, so that the family electrically activates.
In technical solution provided in this embodiment, intelligent switch by by the position of household electrical appliances, title, household electrical appliances type and Household appliance number association saves, and intelligent switch is enabled accurately to control household electrical appliances, intelligent switch according to the phonetic order of user Intelligence degree it is high.
The present invention also provides a kind of Intelligent switch controller, the Intelligent switch controller includes processor, storage Device and the control program for being stored in the Intelligent switch controller that can be run on the memory and on the processor, it is described The control program of Intelligent switch controller realizes that household electrical appliances described in embodiment as above are opened with intelligence when being executed by the processor Each step of the correlating method of pass.
It include speech recognition module, zigebee coordinator, IP visual intercommunicating indoor set end on intelligent switch referring to Fig. 6 End, bluetooth module and WIFI module, WIFI module access the corresponding network of WIFI router, and (APP is that family is automatically controlled to cell phone application APP processed) pass through the corresponding network of WIFI router to intelligent switch transmission control instruction, so that intelligent switch sends out control instruction It send to household electrical appliances, so that household electrical appliances are run according to control instruction.
Data interaction can be carried out in intelligent switch between all parts, it can also be with independent operating.Intelligent switch, which relies on, to be occupied Family's common IP visual intercommunicating indoor set terminal realizes the forwarding analysis of multiple data as a point of penetration, by modules, The function of system is enriched in the expansion of realization system, and intelligent switch is made to have multiple access controllable dots, wireless WiFi, short distance indigo plant Tooth, wireless zigbee agreement, while also having accessed the functional characteristics of intelligent sound identification robot.
Zigebee coordinator receives and transmits data, so that the control of household electrical appliances and the feedback of household electrical appliances;In addition, Zigebee coordinator is also loaded the forwarding of wireless data, for example, zigebee coordinator receives IP visual intercommunicating indoor set terminal The data of transmission, and by the data forwarding to voice server.
In the case where no outer net, mobile phone app can be connected into IP visual intercommunicating indoor set terminal WiFi, pass through mobile phone The control of app realization intelligent switch.Avoid the occurrence of the phenomenon that no outer net cannot use intelligent switch.
Voice data is uploaded to phonetic algorithm Cloud Server by intelligent switch, realizes speech recognition, and the voice of identification is believed Breath is back to data collector (zigebe coordinator), and the voice that data collector plays response plays, while being sent to control Device (controller of intelligent switch).
Mobile phone terminal Bluetooth function is opened, the bluetooth connection of mobile phone Yu IP visual intercommunicating indoor set may be implemented, and pass through indigo plant Tooth connection transmission data.By customized, realization mobile phone to indoor unit terminal, indoor terminal to zigbee coordinator is (wireless ZIGBEE controlling terminal) connection controller (controller is for controlling household electrical appliances).
The parameter of wireless ZIGBEE controlling terminal are as follows:
(1), CC2530 low-power scm, 8051 kernel of microcontroller;
(2), the In-System Programmable FLASH of 256KB;
(3), 8KB SRAM has the data holding ability under various power supply modes.
The parameter of controller are as follows:
(1), AC100-220V powers, Live line Zero line interface.
(2), loading range: 5-500W.
(3), capacitance touching control, sound answer the time≤300mS.
(4), transmission range 50m (under spacious environment).
(5), key bi-colour LED is orange when normally opened, is blue when normally closed.
The present invention also provides a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing is stored with Intelligent switch controller Program is controlled, the control program of the Intelligent switch controller is realized when being executed by the processor described in embodiment as above Each step of the control method of Intelligent switch controller.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "include", "comprise" or its any other variant are intended to non-row His property includes, so that the process, method, article or the device that include a series of elements not only include those elements, and And further include other elements that are not explicitly listed, or further include for this process, method, article or device institute it is intrinsic Element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that including being somebody's turn to do There is also other identical elements in the process, method of element, article or device.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side Method can be realized by means of software and necessary general hardware platform, naturally it is also possible to by hardware, but in many cases The former is more preferably embodiment.Based on this understanding, technical solution of the present invention substantially in other words does the prior art The part contributed out can be embodied in the form of software products, which is stored in one as described above In computer readable storage medium (such as ROM/RAM, magnetic disk, CD), including some instructions are used so that a terminal device (can To be mobile phone, computer, server, air conditioner or the network equipment etc.) execute method described in each embodiment of the present invention.
The above is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all to utilize this hair Equivalent structure or equivalent flow shift made by bright specification and accompanying drawing content is applied directly or indirectly in other relevant skills Art field, is included within the scope of the present invention.

Claims (10)

1. a kind of control method of Intelligent switch controller, which is characterized in that the controlling party of the Intelligent switch controller Method the following steps are included:
When detecting that family is electrically accessed network, using the household electrical appliances of access as current household electrical appliances, and the current household electrical appliances are obtained Device identification and household electrical appliances mailing address, wherein the current household electrical appliances and the intelligent switch are in consolidated network, and described work as Preceding household electrical appliances are not associated with the intelligent switch;
The household electrical appliances type of the current household electrical appliances is determined according to the device identification, and is the current family according to the household electrical appliances type Electricity distribution household appliance number;
The association of the household electrical appliances type, the household appliance number and the household electrical appliances mailing address is saved to the target and is stored Device.
2. the control method of Intelligent switch controller as described in claim 1, which is characterized in that described by the household appliances Type, the household appliance number and household electrical appliances mailing address association save to the step of target memory and include:
Target key is distributed for the household electrical appliances type, and bond parameter is pressed to the household appliance number distribution target key, Wherein, the target key is the key on the intelligent switch, and described by bond parameter includes key duration or key press In at least one;
Press bond parameter, the household electrical appliances type, the household appliance number of the target key, the target key are associated with preservation The extremely target memory, and the household electrical appliances type, the household appliance number and the household electrical appliances mailing address are associated with and saved To the target memory.
3. the control method of Intelligent switch controller as claimed in claim 2, which is characterized in that described by the household appliances After the step of type, the household appliance number and household electrical appliances mailing address association preservation to target memory, also wrap It includes:
When detecting button operation, the key ginseng of the corresponding target key of the button operation and the target key is determined Number,
Household electrical appliances type is determined according to the target key, and determines household appliance number by bond parameter according to described;
Household electrical appliances mailing address is determined according to the household electrical appliances type and the household appliance number;
Control instruction is generated according to the target key, and sends the control to the corresponding target household electrical appliances of the household electrical appliances mailing address System instruction.
4. the control method of Intelligent switch controller as claimed in claim 3, which is characterized in that described according to the key Parameter determines that the step of household appliance includes:
Determine the parameter section as where bond parameter;
The household appliance number is determined according to the parameter section.
5. the control method of Intelligent switch controller as described in claim 1, which is characterized in that described by the household appliances Type, the household appliance number and household electrical appliances mailing address association save to the step of target memory and include:
Determine the position where the current household electrical appliances and title;
The position, the title, the household electrical appliances type are associated with the household appliance number and saved to the target memory, And the association of the household electrical appliances type, the household appliance number and the household electrical appliances mailing address is saved to the target memory.
6. the control method of Intelligent switch controller as claimed in claim 5, which is characterized in that described by the household appliances After the step of type, the household appliance number and household electrical appliances mailing address association preservation to target memory, also wrap It includes:
When receiving target voice information, position keyword is extracted in the target voice information and household electrical appliances title is crucial Word, wherein the target voice information contains position and household electrical appliances title where household electrical appliances;
According to the position keyword and the household electrical appliances name keyword, household electrical appliances type and household appliance number are determined;
Household electrical appliances mailing address is determined according to the household electrical appliances type and the household appliance number;
Control instruction is generated according to the target voice information, and sends institute to the corresponding target household electrical appliances of the household electrical appliances mailing address State control instruction.
7. the control method of Intelligent switch controller as claimed in any one of claims 1 to 6, which is characterized in that the basis The household electrical appliances type is that the step of current household electrical appliances distribute household appliance includes:
Determine the quantity for having distributed the household electrical appliances of household appliance number, wherein the household appliances of each household electrical appliances for having distributed household appliance number Type is identical as the household electrical appliances type of the current household electrical appliances;
The Allotment Serial Number of the current household electrical appliances is determined according to the quantity, and the current household electrical appliances are determined according to the Allotment Serial Number Corresponding household appliance number.
8. the control method of Intelligent switch controller as claimed in any one of claims 1 to 6, which is characterized in that intelligent switch Control device controls household electrical appliances by least one of bluetooth, WIFI and zigbee.
9. a kind of Intelligent switch controller, which is characterized in that the Intelligent switch controller include processor, memory and Be stored in the associated program of the household electrical appliances and intelligent switch that can run on the memory and on the processor, the household electrical appliances with Such as claim 1-8 described in any item intelligent switching controls are realized when the associated program of intelligent switch is executed by the processor Each step of the control method of device.
10. a kind of readable storage medium storing program for executing, which is characterized in that the readable storage medium storing program for executing is stored with being associated with for household electrical appliances and intelligent switch It realizes when the associated program of program, the household electrical appliances and intelligent switch is executed by the processor such as any one of claim 1-8 institute Each step of the control method for the Intelligent switch controller stated.
CN201910352669.XA 2019-04-28 2019-04-28 The control method and its device and readable storage medium storing program for executing of Intelligent switch controller Pending CN110161990A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910352669.XA CN110161990A (en) 2019-04-28 2019-04-28 The control method and its device and readable storage medium storing program for executing of Intelligent switch controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910352669.XA CN110161990A (en) 2019-04-28 2019-04-28 The control method and its device and readable storage medium storing program for executing of Intelligent switch controller

Publications (1)

Publication Number Publication Date
CN110161990A true CN110161990A (en) 2019-08-23

Family

ID=67633000

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910352669.XA Pending CN110161990A (en) 2019-04-28 2019-04-28 The control method and its device and readable storage medium storing program for executing of Intelligent switch controller

Country Status (1)

Country Link
CN (1) CN110161990A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108885442A (en) * 2016-01-15 2018-11-23 株式会社大福 The control system of mechanical equipment
CN112015101A (en) * 2020-08-14 2020-12-01 深圳市欧瑞博科技股份有限公司 Control method and device of intelligent equipment, intelligent control switch and storage medium
CN113777366A (en) * 2021-08-18 2021-12-10 珠海市运泰利自动化设备有限公司 Method, device and equipment for positioning test probe and computer readable storage medium
CN113835354A (en) * 2021-10-14 2021-12-24 北京联盛德微电子有限责任公司 Internet of things household appliance control system
WO2022242520A1 (en) * 2021-05-16 2022-11-24 武汉领普科技有限公司 Smart switch and processing method and apparatus thereof, readable storage medium, and control system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808559A (en) * 2015-04-24 2015-07-29 深圳市彩易生活科技有限公司 Wireless switch control method, system and related equipment
CN105700396A (en) * 2016-01-22 2016-06-22 深圳市飞比电子科技有限公司 Intelligent switch module and control method therefor
CN105700376A (en) * 2016-04-20 2016-06-22 北京昊恒天科技有限公司 Pairing method and device for intelligent household system and intelligent household system
CN105867150A (en) * 2016-04-20 2016-08-17 北京昊恒天科技有限公司 Smart home system pairing method and equipment and system
CN106227077A (en) * 2016-05-16 2016-12-14 杭州鸿雁智能科技有限公司 A kind of single-button realizes equipment and the method that many branches independently control
CN106444543A (en) * 2016-11-21 2017-02-22 重庆帅星科技有限公司 Method for wirelessly controlling low-voltage switch
CN109413515A (en) * 2018-11-20 2019-03-01 深圳绿米联创科技有限公司 Apparatus control method, device, mobile terminal and server
CN109525621A (en) * 2017-09-20 2019-03-26 华为技术有限公司 A kind of method of data synchronization, equipment and system based on ZigBee binding

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104808559A (en) * 2015-04-24 2015-07-29 深圳市彩易生活科技有限公司 Wireless switch control method, system and related equipment
CN105700396A (en) * 2016-01-22 2016-06-22 深圳市飞比电子科技有限公司 Intelligent switch module and control method therefor
CN105700376A (en) * 2016-04-20 2016-06-22 北京昊恒天科技有限公司 Pairing method and device for intelligent household system and intelligent household system
CN105867150A (en) * 2016-04-20 2016-08-17 北京昊恒天科技有限公司 Smart home system pairing method and equipment and system
CN106227077A (en) * 2016-05-16 2016-12-14 杭州鸿雁智能科技有限公司 A kind of single-button realizes equipment and the method that many branches independently control
CN106444543A (en) * 2016-11-21 2017-02-22 重庆帅星科技有限公司 Method for wirelessly controlling low-voltage switch
CN109525621A (en) * 2017-09-20 2019-03-26 华为技术有限公司 A kind of method of data synchronization, equipment and system based on ZigBee binding
CN109413515A (en) * 2018-11-20 2019-03-01 深圳绿米联创科技有限公司 Apparatus control method, device, mobile terminal and server

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108885442A (en) * 2016-01-15 2018-11-23 株式会社大福 The control system of mechanical equipment
CN112015101A (en) * 2020-08-14 2020-12-01 深圳市欧瑞博科技股份有限公司 Control method and device of intelligent equipment, intelligent control switch and storage medium
CN112015101B (en) * 2020-08-14 2024-03-12 深圳市欧瑞博科技股份有限公司 Control method and device of intelligent equipment, intelligent control switch and storage medium
WO2022242520A1 (en) * 2021-05-16 2022-11-24 武汉领普科技有限公司 Smart switch and processing method and apparatus thereof, readable storage medium, and control system
CN113777366A (en) * 2021-08-18 2021-12-10 珠海市运泰利自动化设备有限公司 Method, device and equipment for positioning test probe and computer readable storage medium
CN113777366B (en) * 2021-08-18 2024-02-13 珠海市运泰利自动化设备有限公司 Positioning method, device and equipment of test probe and computer readable storage medium
CN113835354A (en) * 2021-10-14 2021-12-24 北京联盛德微电子有限责任公司 Internet of things household appliance control system
CN113835354B (en) * 2021-10-14 2022-05-27 北京联盛德微电子有限责任公司 Internet of things household appliance control system

Similar Documents

Publication Publication Date Title
CN110161990A (en) The control method and its device and readable storage medium storing program for executing of Intelligent switch controller
CN108089559B (en) Control the methods, devices and systems of equipment
CN108337139A (en) Home appliance voice control method, electronic equipment, storage medium and system
CN204241946U (en) A kind of control system using signal light control intelligent appliance based on high in the clouds Internet of Things
CN104852975B (en) Household equipment calling method and device
CN106647311B (en) Intelligent central control system, equipment, server and intelligent equipment control method
CN104994530B (en) More Wi-Fi internet of things equipment grouping collective's control system and method based on group MAC Address
CN106713082A (en) Virtual reality method for intelligent home management
CN104881013A (en) Intelligent household electrical appliance linkage control method based on user living habit mining
CN109347709A (en) A kind of smart machine control method, apparatus and system
CN208094766U (en) Intelligent sound box
CN104950716B (en) A kind of apparatus control method and device
CN103914039A (en) Control method and system for household appliances
CN108899027A (en) Speech analysis method and device
CN105469573A (en) Cloud smart controller APP and key value learning and assignment method
CN109445352A (en) Appliances equipment control method, household appliance and storage medium
CN107689903A (en) Intelligent home equipment control method, system, storage medium and computer equipment
CN109788621A (en) Intelligent lamp and its control method, electronic equipment, storage medium
CN105700376B (en) A kind of intelligent domestic system matching method, equipment and system
CN107347026A (en) A kind of wisdom steward system based on wechat public platform
CN107062325A (en) Kitchen Ventilator and Cooking Stove combined system and its control method
CN109059178A (en) Control method, device, air conditioner and the computer readable storage medium of air conditioner
CN104935631A (en) Wi-Fi network mapping remote control technology
CN110609534A (en) Intelligent household control method and system
CN113132191A (en) Voice control method of intelligent device, intelligent device and storage medium

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190823