Summary of the invention
The main purpose of the present invention, it is to provide a kind of device combination and method thereof performing corresponding operating based on wireless switching, so, user can complete the operation to electrical function and use by host side, time-consuming with electric power while, also enhance the experience property of user, bring certain convenience to the life of user.
According to one of present invention embodiment, the invention discloses a kind of device combination performing corresponding operating based on wireless switching, including a host side and a client, wherein said host side includes: the first radio-cell is in order to send wireless signal;Switch unit is coupled to described first radio-cell, and described switch unit is in order to optionally to switch wireless title or the wireless MAC address of described first radio-cell;Setting module, including the first setup unit and the second setup unit, described first setup unit is in order to set a plurality of execution function, second setup unit is in order to set a plurality of described wireless title or described wireless MAC address, wherein, wireless title or described wireless MAC address described in each described execution function the most corresponding;Push-button unit, including a plurality of buttons, performs function described in each described button the most corresponding;And sensing unit is coupled to described switch unit, the first setting module and described push-button unit simultaneously, described sensing unit is in order to sense whether described push-button unit occurs start, described execution function corresponding to the described button that the most described sensing unit judges is pressed also transmits described execution function and gives described switch unit;Wherein said client includes: the second radio-cell is in order to receive the described wireless signal that described first radio-cell sends;Computing module is coupled to described second radio-cell, according to the described wireless signal that described second radio-cell receives, described computing module judges whether the described wireless title of described first radio-cell or described wireless MAC address change;Event elements is in order to perform described execution function;And control module is coupled to described computing module and described event elements, described control module is in order to control the unlatching of described event elements;It is characterised by: when according to the described wireless signal that described second radio-cell receives, described computing module judges that the described wireless title of described first radio-cell or described wireless MAC address change, described computing module then judges the described execution function corresponding to the described wireless title of variation or described wireless MAC address and transmits described execution function and give described control module, described control module controls described event elements and opens, and described event elements performs described execution function.
According to one of present invention embodiment, when described sensing unit senses to described push-button unit generation start, described sensing unit judges is pressed the described execution function corresponding to described button and transmits described execution function and give described switch unit, and described switch unit switches the described wireless title of described first radio-cell or described wireless MAC address is the described wireless title corresponding to described execution function or described wireless MAC address.
According to one of present invention embodiment, when described sensing unit senses to described push-button unit does not occurs start, described sensing unit not start.
According to one of present invention embodiment, described a plurality of execution functions include power-on, close power supply.
According to one of present invention embodiment, described a plurality of wireless titles include that A, B, described a plurality of wireless MAC addresses include C, D.
According to one of present invention embodiment, described wireless title A, B respectively corresponding described power-on, described closedown power supply, described wireless MAC address C, D corresponding described power-on, described closedown power supply respectively.
According to one of present invention embodiment, described a plurality of buttons include E, F, described button E, F corresponding described power-on, described closedown power supply respectively.
According to one of present invention embodiment, the present invention more discloses a kind of using method performing corresponding operating based on wireless switching, including a host side and a client, wherein said host side includes the first radio-cell, switch unit, setting module, push-button unit and sensing unit, wherein said client includes the second radio-cell, computing module, event elements and control module, it is characterized in that, the switching flow of wherein said host side includes step: S10: described first radio-cell sends wireless signal;First setup unit of S11: described setting module sets a plurality of execution functions, and the second setup unit sets a plurality of wireless titles or wireless MAC address, wireless title or described wireless MAC address described in each described execution function the most corresponding;S12: whether push-button unit described in described sensing unit senses occurs start;S13: the most described sensing unit judges is pressed the described execution function corresponding to described button and transmits described execution function and give described switch unit;Described wireless title or the described wireless MAC address of S14: described switch unit described first radio-cell of switching are the described wireless title corresponding to described execution function or described wireless MAC address;The execution flow process of wherein said client includes step: S16: described second radio-cell receives the described wireless signal that described first radio-cell sends;According to the described wireless signal that described second radio-cell receives, S17: described computing module judges whether the described wireless title of described first radio-cell or described wireless MAC address change;S18: the most described computing module then judges the described execution function corresponding to the described wireless title of variation or described wireless MAC address and transmits described execution function and give described control module;S19: described control module controls described event elements and opens, and described event elements performs described execution function.
According to one of present invention embodiment, sensing whether push-button unit described in unit senses makees disorder of internal organs described in switching flow step S12 of described host side, if push-button unit described in described sensing unit senses does not occurs start, then perform step S15, described sensing unit not start.
According to one of present invention embodiment, in computing module described in the execution process step S16 of described client judges the described wireless title of described first radio-cell according to the described wireless signal that described second radio-cell receives or whether described wireless MAC address changes, if described computing module judges that the described wireless title of described first radio-cell or described wireless MAC address do not change, then perform step S20, the not start of described computing module.
In sum, in practice, user can make control module control event elements unlatching to perform described execution function by button corresponding with performing function on pressing keys unit, so, user can complete the operation to electrical function and use by host side, the most time-consuming with electric power while, also enhance the experience property of user, bring certain convenience to the life of user.
Detailed description of the invention
This exposure book mainly provides a kind of device combination and method thereof performing corresponding operating based on wireless switching, by the present invention, user can make control module control event elements unlatching to perform described execution function by button corresponding with performing function on pressing keys unit, so, user can complete the operation to electrical function and use by host side, the most time-consuming with electric power while, also enhance the experience property of user, bring certain convenience to the life of user.
Hereinafter, preferred embodiment one of with reference to shown by graphic will be coordinated to describe feature and effect of the present invention in detail;Refer to Fig. 1, Fig. 1 is the system architecture diagram that the present invention performs the device combination of corresponding operating based on wireless switching.As it is shown in figure 1, the present invention provides a kind of device combination performing corresponding operating based on wireless switching, including a host side and a client, wherein said host side includes: the first radio-cell is in order to send wireless signal;Switch unit is coupled to described first radio-cell, and described switch unit is in order to optionally to switch wireless title or the wireless MAC address of described first radio-cell;Setting module, including the first setup unit and the second setup unit, described first setup unit is in order to set a plurality of execution function, second setup unit is in order to set a plurality of described wireless title or described wireless MAC address, wherein, wireless title or described wireless MAC address described in each described execution function the most corresponding;Push-button unit, including a plurality of buttons, performs function described in each described button the most corresponding;And sensing unit is coupled to described switch unit, the first setting module and described push-button unit simultaneously, described sensing unit is in order to sense whether described push-button unit occurs start, described execution function corresponding to the described button that the most described sensing unit judges is pressed also transmits described execution function and gives described switch unit;Wherein said client includes: the second radio-cell is in order to receive the described wireless signal that described first radio-cell sends;Computing module is coupled to described second radio-cell, according to the described wireless signal that described second radio-cell receives, described computing module judges whether the described wireless title of described first radio-cell or described wireless MAC address change;Event elements is in order to perform described execution function;And control module is coupled to described computing module and described event elements, described control module is in order to control the unlatching of described event elements;It is characterised by: when according to the described wireless signal that described second radio-cell receives, described computing module judges that the described wireless title of described first radio-cell or described wireless MAC address change, described computing module then judges the described execution function corresponding to the described wireless title of variation or described wireless MAC address and transmits described execution function and give described control module, described control module controls described event elements and opens, and described event elements performs described execution function.
Furthermore, described host side can be proficiency machine, and described mobile phone need to carry radio function, and described mobile phone can be that key mobile phone can also the invention is not restricted to this for touch-screen mobile phone.Described client then couples mutually with electrical equipment, and concrete coupling mode then needs to make corresponding change according to electrical equipment kind and the different of character.Described a plurality of described wireless title includes A, B, described a plurality of wireless MAC address includes C, D, the described wireless title of described wireless entitled described first radio-cell, equally, described wireless MAC address is the described wireless MAC address of described first radio-cell, the code name that described wireless title A, B and described wireless MAC address C, D are only in the present invention, described in actual application, wireless title and described wireless MAC address can be other form, a phrase can be thought, can also be a numeral combination, the invention is not restricted to this.Described a plurality of execution function includes power-on, closes power supply, described wireless title A, B corresponding described power-on, described closedown power supply respectively, described wireless MAC address C, D corresponding described power-on, described closedown power supply respectively, described a plurality of button includes E, F, described button E, F corresponding described power-on, described closedown power supply respectively.Described a plurality of execution function can include other described execution function in addition to described power-on, described closedown power supply, described a plurality of wireless title can include other described wireless title in addition to described wireless title A, B, equally, described a plurality of wireless MAC address can include other described MAC Address in addition to described wireless MAC address C, D, described a plurality of button can include other described button in addition to described button E, F, the present invention only as a example by it specifically to be described and being implemented, so, the invention is not restricted to this.
Refer to Fig. 2, Fig. 2 is the applicating flow chart that the present invention performs the device combination of corresponding operating based on wireless switching.As in figure 2 it is shown, for being embodied as, described device combination application can be set in a daylight lamp, described client is i.e. set and couples with described daylight lamp.For described host side, first, WLAN (the Wireless Local Area of described host side need to be made
Networks;WLAN) in opening, when described WLAN opens, described first radio-cell of described host side then can send described wireless signal, described second radio-cell being arranged in described client receives the described wireless signal that described first radio-cell sends, now, the described sensing unit being arranged in described host side starts to sense whether described push-button unit occurs start, described execution function corresponding to the described button that the most described sensing unit judges is pressed also transmits described execution function and gives described switch unit;If it is not, described sensing unit not start.Furthermore, when the described execution function corresponding to the described button that described sensing unit judges is pressed and transmit described execution function give described switch unit time, described switch unit switches the described wireless title corresponding to entitled described execution function of described first radio-cell or described wireless MAC address.Now, according to the described wireless signal that described second radio-cell receives, the described computing module being arranged in described client judges that the described wireless title of described first radio-cell or described wireless MAC address change, described computing module then judges the described execution function corresponding to the described wireless title of variation or described wireless MAC address and transmits described execution function and give described control module, described control module controls described event elements and opens, and described event elements performs described execution function.
Furthermore, if user need to make described daylight lamp open, then need the described button pressed corresponding to the described power-on of described execution function, i.e. need on the described push-button unit of described host side, press described button E, when user presses described E, described sensing unit senses is to described push-button unit generation start, the described execution function corresponding to described button E that described sensing unit judges is pressed is described power-on, and " power-on " gives described switch unit described in transmitting, described wireless title or the described wireless MAC address of described switch unit described first radio-cell of switching are described wireless title A corresponding to described power-on or described wireless MAC address C.Now, according to the described wireless signal that described second radio-cell receives, described computing module judges that the described wireless title of described first radio-cell or described wireless MAC address change, described computing module then judges that the described execution function corresponding to the described wireless title changed or described wireless MAC address is that described in power-on transmission, " power-on " gives described control module, described control module controls described event elements and opens, described event elements performs described execution function, and the most described event elements opens the power supply of described daylight lamp.
Furthermore, the combination of described device can also be applied to other electrical equipment and can realize other purposes, and the present invention is only illustrated by daylight lamp with described device combination application, so, the invention is not restricted to this.
Please also refer to Fig. 3 and Fig. 4, Fig. 3 is the switch step flow chart that the present invention performs the using method of corresponding operating based on wireless switching, and Fig. 4 is the execution flow chart of steps that the present invention performs the using method of corresponding operating based on wireless switching.As shown in Fig. 3 Fig. 4, the present invention more provides a kind of using method performing corresponding operating based on wireless switching, including a host side and a client, wherein said host side includes the first radio-cell, switch unit, setting module, push-button unit and sensing unit, wherein said client includes the second radio-cell, computing module, event elements and control module, it is characterized in that, the switching flow of wherein said host side includes step: S10: described first radio-cell sends wireless signal;First setup unit of S11: described setting module sets a plurality of execution functions, and the second setup unit sets a plurality of wireless titles or wireless MAC address, wireless title or described wireless MAC address described in each described execution function the most corresponding;S12: whether push-button unit described in described sensing unit senses occurs start;S13: the most described sensing unit judges is pressed the described execution function corresponding to described button and transmits described execution function and give described switch unit;Described wireless title or the described wireless MAC address of S14: described switch unit described first radio-cell of switching are the described wireless title corresponding to described execution function or described wireless MAC address;The execution flow process of wherein said client includes step: S16: described second radio-cell receives the described wireless signal that described first radio-cell sends;According to the described wireless signal that described second radio-cell receives, S17: described computing module judges whether the described wireless title of described first radio-cell or described wireless MAC address change;S18: the most described computing module then judges the described execution function corresponding to the described wireless title of variation or described wireless MAC address and transmits described execution function and give described control module;S19: described control module controls described event elements and opens, and described event elements performs described execution function.
You need to add is that, described in switching flow step S12 of described host side, sensing whether push-button unit described in unit senses makees disorder of internal organs, if push-button unit described in described sensing unit senses does not occurs start, then perform step S15, described sensing unit not start.In computing module described in the execution process step S16 of described client judges the described wireless title of described first radio-cell according to the described wireless signal that described second radio-cell receives or whether described wireless MAC address changes, if described computing module judges that the described wireless title of described first radio-cell or described wireless MAC address do not change, then perform step S20, the not start of described computing module.
The present invention can realize advantages below:
By the present invention, user can make control module control event elements unlatching to perform described execution function by button corresponding with performing function on pressing keys unit, so, user can complete the operation to electrical function and use by host side, the most time-consuming with electric power while, also enhance the experience property of user, bring certain convenience to the life of user.
Only the foregoing is only the preferred embodiments of the invention, be not intended to limit to the scope of patent protection of the present invention, therefore such as use description of the invention and the equivalence change for it of graphic content institute, in the range of being the most all contained in the rights protection of the present invention, close and give Chen Ming.