CN109032048A - A kind of intelligent switch control system and intelligent switch control method - Google Patents
A kind of intelligent switch control system and intelligent switch control method Download PDFInfo
- Publication number
- CN109032048A CN109032048A CN201811195981.4A CN201811195981A CN109032048A CN 109032048 A CN109032048 A CN 109032048A CN 201811195981 A CN201811195981 A CN 201811195981A CN 109032048 A CN109032048 A CN 109032048A
- Authority
- CN
- China
- Prior art keywords
- processor
- state
- controlled device
- control
- register
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000004891 communication Methods 0.000 claims description 28
- 238000010295 mobile communication Methods 0.000 claims description 6
- 238000011084 recovery Methods 0.000 claims description 3
- 230000005540 biological transmission Effects 0.000 abstract description 7
- 230000008859 change Effects 0.000 description 18
- 238000010586 diagram Methods 0.000 description 12
- 230000006870 function Effects 0.000 description 9
- 230000005611 electricity Effects 0.000 description 5
- 230000008569 process Effects 0.000 description 5
- 238000004378 air conditioning Methods 0.000 description 1
- 230000006399 behavior Effects 0.000 description 1
- 230000015572 biosynthetic process Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 239000002131 composite material Substances 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000005286 illumination Methods 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000002184 metal Substances 0.000 description 1
- 238000000465 moulding Methods 0.000 description 1
- 230000008439 repair process Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/50—Control or safety arrangements characterised by user interfaces or communication
- F24F11/56—Remote control
- F24F11/58—Remote control using Internet communication
-
- F—MECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
- F24—HEATING; RANGES; VENTILATING
- F24F—AIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
- F24F11/00—Control or safety arrangements
- F24F11/88—Electrical aspects, e.g. circuits
-
- H—ELECTRICITY
- H05—ELECTRIC TECHNIQUES NOT OTHERWISE PROVIDED FOR
- H05B—ELECTRIC HEATING; ELECTRIC LIGHT SOURCES NOT OTHERWISE PROVIDED FOR; CIRCUIT ARRANGEMENTS FOR ELECTRIC LIGHT SOURCES, IN GENERAL
- H05B47/00—Circuit arrangements for operating light sources in general, i.e. where the type of light source is not relevant
- H05B47/10—Controlling the light source
- H05B47/175—Controlling the light source by remote control
- H05B47/19—Controlling the light source by remote control via wireless transmission
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25257—Microcontroller
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02B—CLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
- Y02B20/00—Energy efficient lighting technologies, e.g. halogen lamps or gas discharge lamps
- Y02B20/40—Control techniques providing energy savings, e.g. smart controller or presence detection
Landscapes
- Engineering & Computer Science (AREA)
- Chemical & Material Sciences (AREA)
- Combustion & Propulsion (AREA)
- Mechanical Engineering (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Power Sources (AREA)
Abstract
The embodiment of the present invention provides a kind of intelligent switch control system and intelligent switch control method, and the system comprises processor, register, controlled device and physical switch, processor is connect with controlled device, the register and the physical switch respectively.Wherein, physical switch is used to send control instruction to processor.Register is used to receive and store the status information of the controlled device of processor transmission.Processor controls the state of the controlled device according to institute's status information for obtaining status information from register.Control instruction is issued by physical switch, after control module receives control instruction, then this mode of the state of controlled device is controlled, physical switch is made not directly control the state of controlled device.By control module come the state to control controlled device, external power supply is unaffected, and the state of controlled device can be more stable.
Description
Technical field
The present invention relates to control system fields, in particular to a kind of intelligent switch control system and intelligent switch
Control method.
Background technique
In original lighting control system, the state of lamp is switched by lower switch using traditional manual wall switch.Because
Traditional manual wall switch also changes the on state of power supply circuit in switching state, leads to the state labile of lamp.
Summary of the invention
In view of this, the embodiment of the present invention is designed to provide a kind of intelligent switch control system and intelligent switch control
Method processed, to solve the above technical problems.
The embodiment of the present invention is achieved in that
In a first aspect, the embodiment of the invention provides a kind of intelligent switch control systems, comprising:
Control module, controlled device and physical switch;The control module includes processor and register;The processor
It is connect respectively with the controlled device, the register and the physical switch.
One end of the physical switch is connect with external power supply power supply, the other end of the physical switch and the processor
Connection, the physical switch are used to send control instruction to the processor.
The register is used to receive and store the status information for the controlled device that the processor is sent.
The processor controls institute for obtaining the status information from the register according to the state information
State the state of controlled device.
Further, the system also includes wireless communication module and terminal, the wireless communication module and the control
Processor connection, the wireless communication module are used to receive the control instruction that the terminal is sent and send the control instruction
To the processor.
Further, the wireless communication module includes WiFi mould group, bluetooth mould group, data radio station mould group and mobile communication
Any one of mould group or its any multinomial combination.
Further, the physical switch is touch-switch, and the touch-switch is used to supply outside holding when not pressing
Electricity disconnects external power supply when pressing, and automatic recovery within a preset time.
Further, the control module includes any one of 51 series monolithics or reduced instruction set computer microprocessor
Or its any multinomial combination.
Further, the controlled device is lighting device.
Second aspect, the embodiment of the present invention also provide a kind of intelligent switch control method, which comprises
Obtain control instruction.
The first state information corresponding with controlled device current state of register storage is obtained, and to the first state
Information is handled, and the second status information is obtained.
It is controlled accordingly according to state of second status information to the controlled device, and by second shape
State information is stored into the register.
Further, described that the first state information is handled, comprising: first state information is carried out to negate behaviour
Make.
Further, the acquisition control instruction, comprising: obtain the control instruction issued from terminal.
Further, the acquisition control instruction, comprising: obtain the control instruction issued from physical switch.
The embodiment of the present invention provide a kind of intelligent switch control system and intelligent switch control method, system include
Processor, register, controlled device and physical switch, processor are opened with controlled device, the register and the physics respectively
Connection connects.Wherein, physical switch is used to send control instruction to processor.Register is used to receive and store processor transmission
The status information of controlled device.Processor is used to obtain status information from register, and according to the control of institute's status information
The state of controlled device.Control instruction is issued by physical switch, after control module receives control instruction, then controls controlled device
State this mode, so that physical switch is not directly controlled the state of controlled device.By control module come to control quilt
The state of device is controlled, external power supply is unaffected, and the state of controlled device can be more stable.
Other features and advantages of the present invention will be illustrated in subsequent specification, also, partly be become from specification
It is clear that by implementing understanding of the embodiment of the present invention.The objectives and other advantages of the invention can be by written theory
Specifically noted structure is achieved and obtained in bright book, claims and attached drawing.
Detailed description of the invention
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed in the embodiment attached
Figure is briefly described, it should be understood that the following drawings illustrates only certain embodiments of the present invention, therefore is not construed as pair
The restriction of range for those of ordinary skill in the art without creative efforts, can also be according to this
A little attached drawings obtain other relevant attached drawings.
Fig. 1 is a kind of structural schematic diagram of intelligent switch control system provided in an embodiment of the present invention;
Fig. 2 is that a kind of structure of the intelligent switch control system with wireless communication module provided in an embodiment of the present invention is shown
It is intended to;
Fig. 3 is a kind of flow diagram of intelligent switch control method provided in an embodiment of the present invention;
Fig. 4 is a kind of intelligent switch control system structural schematic diagram provided in an embodiment of the present invention.
Figure number:
10- intelligent switch control system;110- control module;111- processor;112- register;120- controlled device;
130- physical switch;140- wireless communication module;141- terminal;20- external power supply.
Specific embodiment
Below in conjunction with attached drawing in the embodiment of the present invention, technical solution in the embodiment of the present invention carries out clear, complete
Ground description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.Usually exist
The component of the embodiment of the present invention described and illustrated in attached drawing can be arranged and be designed with a variety of different configurations herein.Cause
This, is not intended to limit claimed invention to the detailed description of the embodiment of the present invention provided in the accompanying drawings below
Range, but it is merely representative of selected embodiment of the invention.Based on the embodiment of the present invention, those skilled in the art are not doing
Every other embodiment obtained under the premise of creative work out, shall fall within the protection scope of the present invention.
It should also be noted that similar label and letter indicate similar terms in following attached drawing, therefore, once a certain Xiang Yi
It is defined in a attached drawing, does not then need that it is further defined and explained in subsequent attached drawing.Meanwhile of the invention
In description, term " first ", " second " etc. are only used for distinguishing description, are not understood to indicate or imply relative importance.
Fig. 1 is a kind of structural schematic diagram of intelligent switch control system provided in an embodiment of the present invention, as shown in Figure 1, packet
It includes:
Control module 110, controlled device 120 and physical switch 130;The control module 110 includes processor 111 and posts
Storage 112;The processor 111 connects with the controlled device 120, the register 112 and the physical switch 130 respectively
It connects.
One end of the physical switch 130 is connect with external power supply power supply, the other end of the physical switch 130 with it is described
Processor 111 connects, and the physical switch 130 is used to send control instruction to the processor 111.
The register 112 is used to receive and store the state letter for the controlled device 120 that the processor 111 is sent
Breath.
The processor 111 is used to obtain the status information from the register 112, and according to the state information
Control the state of the controlled device 120.
Specifically, it is logical can also to issue control instruction for connection when pressing physical switch 130 both and can keep external power supply
Cross the state that control module 110 changes controlled device 120.Wherein, physical switch 130 is normally closed switch, i.e., in the feelings being failure to actuate
Holding circuit is connected under condition.After pressing physical switch 130, physical switch 130 is in disconnected in intelligent switch control system 10
Open state, external power supply 20 can not supply electricity to intelligent switch control system 10, and then physical switch 130 in a short time can be certainly
Dynamic rebound, physical switch 130 are connected, and external power supply 20 continues as the power supply of intelligent switch control system 10, and this by physics
It powers caused by switch 130 to the moment of intelligent switch control system 10, as physical switch 130 issues control instruction.And it controls
After processor 111 in molding block 110 receives the control instruction of the sending of physical switch 130, stored in reading register 112
The current corresponding status information of controlled device 120.Processor 111 is again handled current corresponding status information, is changed
Status information after change.Later, processor 111 controls the state of controlled device 120 according to the status information after change.And place
Status information after change is input to register 112 by reason device 111, and original using the status information replacement register after changing
The status information of storage.
Physical switch 130 can not directly control the state of controlled device 120 as a result,.It is issued and is controlled by physical switch 130
System instruction, control module 110 control the state of controlled device 120, and external power supply is unaffected, the state of controlled device 120
It can be more stable.
It is worth being explanatorily that physical switch 130 can issue control instruction to control module 110, or control mould
Block 110 is in real time monitored physical switch 130, after control module 110 monitors that physical switch 130 is pressed, that is, is considered as
Physical switch 130 issues control instruction.Control instruction therein can be binary number and be also possible to hexadecimal number or electricity
Instruction types, the specific instruction types such as stream signal can be preset, and the embodiment of the present invention is not specifically limited in this embodiment.State
Information can be, but not limited to as the status informations type such as binary number, hexadecimal number, and specific status information type can be pre-
It first sets, the embodiment of the present invention is not specifically limited in this embodiment.Register 112 can be, but not limited in external power supply 20 for electrically disconnected
Afterwards, the status information that register 112 is deposited will not lose.112 type of specific register can be according to practical control module 110
Carry out select.Processor 111 can be a kind of IC chip, the processing capacity with signal.Above-mentioned processing
Device 111 can be general processor, including central processing unit Central Processing Unit, abbreviation CPU), network processes
Device (Network Processor, abbreviation NP) etc.;It can also be digital signal processor (DSP), specific integrated circuit
(ASIC), ready-made programmable gate array (FPGA) either other programmable logic device, discrete gate or transistor logic,
Discrete hardware components.It may be implemented or execute disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general
Processor can be microprocessor or the processor is also possible to any conventional processor etc..
For example, after physical switch 130 is pressed, physical switch 130 is in outer intelligent switch control system 10
Off-state, external power supply 20 cannot continue to power to intelligent switch control system 10.In a short time, physical switch 130 from
Dynamic rebound, physical switch 130 is in the conductive state in outer intelligent switch control system 10, and external power supply 20 continues to open intelligence
It closes control system 10 to power, and physical switch 130 is powered to send to the processor 111 of control module 110 by moment and be controlled
Signal.
By taking controlled device is headlamp as an example, if the current state of headlamp is bright, the shape stored in register 111
State information is 1, if the current state of headlamp is to go out, the status information stored in register 111 is 0.If processor 111
After receiving control signal, the corresponding status information of 120 current state of controlled device stored in reading register 112, for example 1,
Then illustrate headlamp current state be it is bright, control information at this time is to extinguish headlamp, and processor 111 is corresponding current state
Status signal processing be changed after status information, for example 0.Then processor 111 again transmits the status information after change
It is stored to register 112, and covers the corresponding status information of current state, i.e., the state stored in register 112 is believed
Breath is changed to 0 from 1.For processor 111 simultaneously according to the status information after change, it is corresponding with 0 for changing the state of controlled device 120
State is extinguished headlamp.
Fig. 2 is that a kind of structure of the intelligent switch control system with wireless communication module provided in an embodiment of the present invention is shown
It is intended to, as shown in Fig. 2, the system also includes wireless communication module 140 and terminal 141, the wireless communication module 140 and institute
The connection of control processor 111 is stated, the wireless communication module 140 is used to receive the control instruction that the terminal 141 is sent and will
The control instruction is sent to the processor 111.
Specifically, wireless communication module 140 is added in intelligent switch control system 10, because physical switch 130 is not
When movement in provide external power supply 20 power supply state, user can by terminal 141 remotely to controlled device into
Row control.Terminal 141 issues control instruction, after wireless communication module 140 gets the control instruction of the sending of terminal 141, then
This control instruction is transmitted to the processor 111 of control module 110, and processor 111 again handles this status information, obtains
Status information to after wanting control instruction to need to change.Later, the status information after change is input to register by processor 111
112, the status information after change is covered the status information deposited before register 112, to the status information after change into
Row storage, and processor 111 changes the state of controlled device 120.Since traditional change physical switch 130 is by control electricity
The on-off on road controls controlled device 120, and the physical switch 130 in the embodiment of the present invention is normally closed switch, pass through control
Module 110 controls the state of controlled device 120, therefore the embodiment of the present invention can be by remotely giving control module 110 to send
Signal is controlled, corresponding state control is carried out to controlled device 120, makes the state for controlling controlled device 120 in practical operation can
With more convenient.
It is worth noting that terminal 141 can be PC (personal computer, PC), tablet computer, intelligence
The terminals such as energy mobile phone, personal digital assistant (personal digital assistant, PDA), wearable device.The control of sending
System instruction can be but be not limited to binary number and be also possible to hexadecimal number or current signal, and specific instruction type can be with
It can receive according to wireless communication module 140 and instruction type that terminal 141 can issue be adjusted.
On the basis of the above embodiments, the wireless communication module 140 conducts electricity including WiFi mould group, bluetooth mould group, number
Any one of platform mould group and mobile communication mould group or its any multinomial combination.
Specifically, wireless communication module 140 can be single WiFi mould group, establish wireless network by WiFi mould group.It is logical
Cross the wireless network that terminal 141 connects upper WiFi mould group, the WiFi mould group of transmission control instruction to intelligent switch control system 10
The state of controlled device 120 can be controlled.
Wherein, wireless communication module 140 or single bluetooth mould group, are paired into terminal 141 and bluetooth mould group
Bluetooth communication can be carried out after function, terminal 141 sends control instruction, can receive control positioned at the bluetooth mould group of control system and refer to
It enables.
Wherein, wireless communication module 140 or data radio station mould group, terminal 141 and data radio station mould group pass through super
HF Wireless Communication road carries out remote data transmission, and after terminal 141 sends control instruction, wireless communication module 140 be can receive
To control instruction.
Wherein, wireless communication module 140 can also be mobile communication mould group, and terminal 141 is also needed with mobile communication mould group
Server carries out the transfer of control instruction, and after terminal 141 sends control instruction, server gets control instruction, retransmits
Mobile communication mould group into intelligent switch control system 10.
It is worth noting that the wireless communication module 140 in intelligent switch control system 10 can be except above-mentioned mould group
Other data transmit mould group, be also possible to the combination of a variety of remote data transmission mould groups, specific mould group selection and composite class
Type can be adjusted according to actual control instruction transmission requirement.
On the basis of the above embodiments, the physical switch 130 is touch-switch, and the touch-switch is not for pressing
External power supply will be kept when lower, disconnects external power supply when pressing, and automatic recovery within a preset time.
Specifically, physical switch 130 can be touch-switch, be called and make key switch, to meet operating force when use
Condition is connected to switch operation pressuring direction switching function closure, is switched and is disconnected when cancelling pressure, internal structure is to lean on
Metal clips stress changes to realize on-off.That is power supply shape of the touch-switch in the power supply of external power supply 20 before not operating
State.It issues the control instruction of control 120 state of controlled device again after by lower switch in routine use, and switches to and be in
The off-position that external power supply 20 disconnects, but can restore to external power supply 20 to power within short period such as substantially 0.5s~1s
Power supply state provides external power supply 20 for intelligent switch control system 10.
It is worth noting that physical switch 130 is not limited to touch-switch, or soft-touch control, i.e. soft-touch control
Control instruction is only issued, power supply state is not changed.The type of specific physical switch 130 can be according to the controlled dress of actual control
The demand of 120 states is set to be selected.
On the basis of the above embodiments, the control module 110 includes that 51 series monolithics or reduced instruction set computer are micro-
Any one of processor or its any multinomial combination.
Specifically, control module 110 should include the processor 111 and register 112 to play a major role, control module
110 can be but be not limited to 51 series monolithics or reduced instruction set computer microprocessor in actual operation, and the present invention is implemented
A kind of optimum embodiment scheme that example selects 51 series monolithics or reduced instruction set computer microprocessor to be only to provide.Specifically
The state of control instruction and control controlled device 120 that control module 110 can receive according to actual needs carries out type selecting.
On the basis of the above embodiments, the controlled device 120 is lighting device.
Specifically, the controlled device 120 in the intelligent switch control system 10 of present invention implementation embodiment offer can be
Lighting device, intelligent switch control system 10 can control the change that lighting device carries out illumination condition.It should be noted that intelligence
Can the controlled device 120 of on-off control system 10 be also possible to other devices for example, television set, air-conditioning etc. in household electrical appliance.
Specific controlled device 120, the device that can carry out state change according to the actual needs are selected.
Fig. 3 is a kind of flow diagram of intelligent switch control method provided in an embodiment of the present invention, as shown in figure 3, this
Inventive embodiments also provide a kind of intelligent switch control method, which comprises
Step 210: obtaining control instruction.
Specifically, it is obtained, is got by physical switch either end by the processor in intelligent switch control system
Hold the control instruction of the desired control controlled device state sent.
Step 220: obtaining the first state information corresponding with controlled device current state of register storage, and to described
First state information is handled, and the second status information is obtained.
Specifically, the desired control that physical switch either terminal is sent is got in the processor of intelligent switch control system
The control instruction of controlled device state processed and then by processor obtain register storage it is corresponding with controlled device current state
First state information, then by processor to first state information carry out simple process, obtain controlled device and need to change
Corresponding second status information of state.
Step 230: being controlled accordingly according to state of second status information to the controlled device, and by institute
The second status information is stated to store into the register.
Specifically, the processor in intelligent switch control system obtains controlled device and needs the state that changes corresponding the
After two-state information.Processor in intelligent switch control system can obtain the corresponding change quilt of the second status information according to processing
The state of device is controlled, and processor can send the second status information into corresponding register simultaneously, before register
The first state information of deposit is covered, and is controlled again the state of controlled device so as to subsequent.
A kind of intelligent switch control method provided in an embodiment of the present invention, the above method include: first obtain control instruction, then
The first state information for obtaining the correspondence controlled device of register storage obtains the second state letter to first state information processing
Breath carries out state control to controlled device according to the second status information, also transmits the second status information to register, facilitate subsequent
It is controlled again.By status information being stored to register again after processing to register read status information, allows and control quilt
The state for controlling device is no longer the change of state to be carried out by opening or disconnecting external power supply, but initiated by control instruction
The purpose remotely controlled is realized in order to the control of controlled device state, and operator is facilitated to carry out state to controlled device
Change.
On the basis of the above embodiments, the first state information is handled, comprising: to first state information into
Row inversion operation.
Specifically, first state information ordinary circumstance is binary number, and in a register, processor is obtaining for storage
After first state information, inversion operation just is carried out to first state information, obtains the second status information, such as: if first state is believed
Breath is 1, is 0 in the second status information that processor obtain after inversion operation;If first state information is 0, handling
The second status information that device obtain after inversion operation is 1.
It is worth noting that first state information can be not limited to binary number, can be the registers such as hexadecimal can
With the data type stored.
Fig. 4 is a kind of intelligent switch control system structural schematic diagram schematic diagram provided in an embodiment of the present invention, such as Fig. 4 institute
Show, the acquisition control instruction, comprising: obtain the control instruction issued from terminal.
Specifically, after terminal issues control instruction, the control instruction of terminal transmission is got by wireless communication module, then
By wireless communication module forwarding control instruction into the processor of intelligent switch control system, as processor is obtained sends out from terminal
The control instruction out.
On the basis of the above embodiments, the acquisition control instruction, comprising: obtain the control issued from physical switch
System instruction.
Specifically, after physical switch issues control instruction, the processor of intelligent switch control system is obtained by physical switch
The control instruction of sending, processor obtain the first state information that register is deposited further according to control instruction.
In conclusion the embodiment of the present invention provides a kind of intelligent switch control system and intelligent switching control side
Method, system include processor, register, controlled device and physical switch, processor respectively with controlled device, the register and
The physical switch connection.Wherein, physical switch is used to send control instruction to processor.Register is for receiving and storing place
Manage the status information for the controlled device that device is sent.Processor is believed for obtaining status information from register, and according to institute's state
Breath controls the state of the controlled device.Control instruction is issued by physical switch, after control module receives control instruction, then is controlled
This mode of the state of controlled device processed, makes physical switch not directly control the state of controlled device.Pass through control module
Carry out the state to control controlled device, external power supply is unaffected, and the state of controlled device can be more stable.
It is apparent to those skilled in the art that in several embodiments provided herein, it should
It is understood that disclosed device and method, also may be implemented in other ways.Installation practice described above is only
Schematical, for example, the flow chart and block diagram in the drawings show the device of multiple embodiments according to the present invention, method and
The architecture, function and operation in the cards of computer program product.In this regard, each side in flowchart or block diagram
Frame can represent a part of a module, section or code, and a part of the module, section or code includes one
Or multiple executable instructions for implementing the specified logical function.It should also be noted that in some implementations as replacement
In, function marked in the box can also occur in a different order than that indicated in the drawings.For example, two continuous boxes
It can actually be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.
It is also noted that the combination of each box in block diagram and or flow chart and the box in block diagram and or flow chart, it can
To be realized with the dedicated hardware based system for executing defined function or movement, or with specialized hardware and can calculate
The combination of machine instruction is realized.
In addition, each functional module in each embodiment of the present invention can integrate one independent portion of formation together
Point, it is also possible to modules individualism, an independent part can also be integrated to form with two or more modules.
It, can be with if the function is realized and when sold or used as an independent product in the form of software function module
It is stored in a computer readable storage medium.Based on this understanding, technical solution of the present invention is substantially in other words
The part of the part that contributes to existing technology or the technical solution can be embodied in the form of software products, the meter
Calculation machine software product is stored in a storage medium, including some instructions are used so that a computer equipment (can be a
People's computer, server or network equipment etc.) it performs all or part of the steps of the method described in the various embodiments of the present invention.
And storage medium above-mentioned includes: that USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), arbitrary access are deposited
The various media that can store program code such as reservoir (RAM, Random Access Memory), magnetic or disk.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.It should also be noted that similar label and letter exist
Similar terms are indicated in following attached drawing, therefore, once being defined in a certain Xiang Yi attached drawing, are then not required in subsequent attached drawing
It is further defined and explained.
The above description is merely a specific embodiment, but scope of protection of the present invention is not limited thereto, any
Those familiar with the art in the technical scope disclosed by the present invention, can easily think of the change or the replacement, and should all contain
Lid is within protection scope of the present invention.Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
It should be noted that, in this document, relational terms such as first and second and the like are used merely to a reality
Body or operation are distinguished with another entity or operation, are deposited without necessarily requiring or implying between these entities or operation
In any actual relationship or order or sequence.Moreover, the terms "include", "comprise" or its any other variant are intended to
Non-exclusive inclusion, so that the process, method, article or equipment including a series of elements is not only wanted including those
Element, but also including other elements that are not explicitly listed, or further include for this process, method, article or equipment
Intrinsic element.In the absence of more restrictions, the element limited by sentence "including a ...", it is not excluded that
There is also other identical elements in process, method, article or equipment including the element.
Claims (10)
1. a kind of intelligent switch control system characterized by comprising
Control module, controlled device and physical switch;The control module includes processor and register;The processor difference
It is connect with the controlled device, the register and the physical switch;
One end of the physical switch is connect with external power supply power supply, and the other end of the physical switch and the processor connect
It connects, the physical switch is used to send control instruction to the processor;
The register is used to receive and store the status information for the controlled device that the processor is sent;
The processor controls the quilt for obtaining the status information from the register according to the state information
Control the state of device.
2. intelligent switch control system according to claim 1, which is characterized in that the system also includes radio communication molds
Block and terminal, the wireless communication module are connect with the control processor, and the wireless communication module is for receiving the end
It holds the control instruction sent and the control instruction is sent to the processor.
3. intelligent switch control system according to claim 2, which is characterized in that the wireless communication module includes WiFi
Any one of mould group, bluetooth mould group, data radio station mould group and mobile communication mould group or its any multinomial combination.
4. intelligent switch control system according to claim 1, which is characterized in that the physical switch is touch-switch,
The touch-switch disconnects external power supply when pressing, and in preset time for keeping external power supply when not pressing
Interior automatic recovery.
5. intelligent switch control system according to claim 1, which is characterized in that the control module includes that 51 series are single
Any one of piece machine or reduced instruction set computer microprocessor or its any multinomial combination.
6. intelligent switch control system according to claim 1, which is characterized in that the controlled device is lighting device.
7. a kind of intelligent switch control method, which is characterized in that the described method includes:
Obtain control instruction;
The first state information corresponding with controlled device current state of register storage is obtained, and to the first state information
It is handled, obtains the second status information;
It is controlled accordingly according to state of second status information to the controlled device, and second state is believed
Breath is stored into the register.
8. intelligent switch control method according to claim 7, which is characterized in that it is described to the first state information into
Row processing, comprising: inversion operation is carried out to first state information.
9. intelligent switch control method according to claim 7, which is characterized in that the acquisition control instruction, comprising: obtain
Take the control instruction issued from terminal.
10. intelligent switch control method according to claim 7, which is characterized in that the acquisition control instruction, comprising:
Obtain the control instruction issued from physical switch.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811195981.4A CN109032048A (en) | 2018-10-12 | 2018-10-12 | A kind of intelligent switch control system and intelligent switch control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811195981.4A CN109032048A (en) | 2018-10-12 | 2018-10-12 | A kind of intelligent switch control system and intelligent switch control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109032048A true CN109032048A (en) | 2018-12-18 |
Family
ID=64612935
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811195981.4A Pending CN109032048A (en) | 2018-10-12 | 2018-10-12 | A kind of intelligent switch control system and intelligent switch control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109032048A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112673374A (en) * | 2020-04-22 | 2021-04-16 | 南京阿凡达机器人科技有限公司 | Intelligent terminal and function module control device thereof |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203883789U (en) * | 2014-06-12 | 2014-10-15 | 南京化工职业技术学院 | Safe energy-saving switch circuit |
CN105093988A (en) * | 2015-07-24 | 2015-11-25 | 慧锐通智能科技股份有限公司 | Intelligent single live wire switch |
CN105182802A (en) * | 2014-06-23 | 2015-12-23 | 武汉市酷享科技有限公司 | Switch system based on manual and wireless double-control and control method therefor |
-
2018
- 2018-10-12 CN CN201811195981.4A patent/CN109032048A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN203883789U (en) * | 2014-06-12 | 2014-10-15 | 南京化工职业技术学院 | Safe energy-saving switch circuit |
CN105182802A (en) * | 2014-06-23 | 2015-12-23 | 武汉市酷享科技有限公司 | Switch system based on manual and wireless double-control and control method therefor |
CN105093988A (en) * | 2015-07-24 | 2015-11-25 | 慧锐通智能科技股份有限公司 | Intelligent single live wire switch |
Non-Patent Citations (1)
Title |
---|
樊育等: "《电工电子技术实践教程》", 31 August 2005, 山东大学出版社 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112673374A (en) * | 2020-04-22 | 2021-04-16 | 南京阿凡达机器人科技有限公司 | Intelligent terminal and function module control device thereof |
CN112673374B (en) * | 2020-04-22 | 2022-08-09 | 太原阿凡达机器人科技有限公司 | Intelligent terminal and function module control device thereof |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108702313A (en) | Intelligent home voice control method, device, equipment and system | |
CN104749996B (en) | A kind of ZigBee remote controlers long-range control method | |
CN108431701B (en) | Control method, control panel and control system of intelligent household equipment | |
CN103346971A (en) | Data forwarding method, controller, forwarding device and system | |
CN106094558A (en) | Intelligent home furnishing control method and intelligent domestic system | |
CN109067963A (en) | The method and mobile terminal of automatic replacement wallpaper for mobile terminal | |
CN110109403A (en) | A kind of double control switch | |
CN105278384B (en) | Household electric appliance control method and system, intelligent exchange | |
CN105101471B (en) | Data transmission method, device and smart machine | |
CN103442151A (en) | Remote controller and remote control method based on smart mobile terminal | |
CN109240108A (en) | A kind of control method, control device, controller and control system | |
CN102291284A (en) | Intelligent terminal device of wireless network digital home | |
CN103236153A (en) | Infrared switch system, switch control method and infrared repeater | |
CN106292312B (en) | The control method and equipment of ZigBee pairing grouping | |
CN108427317A (en) | Home equipment control method and device | |
CN109032048A (en) | A kind of intelligent switch control system and intelligent switch control method | |
CN109661080B (en) | One-key networking control method and control system | |
CN105243830A (en) | Intelligent infrared remote controller and intelligent infrared remote control system | |
CN110609534A (en) | Intelligent household control method and system | |
CN108397861A (en) | Air-conditioner controller, air-conditioning | |
CN105931453B (en) | Intelligent infrared equipment adding method and its system | |
CN105959190A (en) | Scenario control method of intelligent infrared device, and system thereof | |
CN106094938A (en) | A kind of intelligent home control system based on Zigbee | |
CN107493394B (en) | System and method for controlling Bluetooth equipment by mobile phone through Wi-Fi | |
CN109462528A (en) | A kind of control system and method for variable connector controller pattern of double controlling |
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 | ||
CB02 | Change of applicant information |
Address after: B4, 10 / F, block B, Qingdao International Innovation Park, No.1, Keyuan Weiyi Road, Laoshan District, Qingdao, Shandong Province Applicant after: Qingdao Yilai Intelligent Technology Co.,Ltd. Address before: B4, 10 / F, block B, Qingdao International Innovation Park, No.1, Keyuan Weiyi Road, Laoshan District, Qingdao, Shandong Province Applicant before: QINGDAO YEELINK INFORMATION TECHNOLOGY Co.,Ltd. |
|
CB02 | Change of applicant information | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20181218 |