CN107991945A - A kind of household appliance control method and device - Google Patents
A kind of household appliance control method and device Download PDFInfo
- Publication number
- CN107991945A CN107991945A CN201711478157.5A CN201711478157A CN107991945A CN 107991945 A CN107991945 A CN 107991945A CN 201711478157 A CN201711478157 A CN 201711478157A CN 107991945 A CN107991945 A CN 107991945A
- Authority
- CN
- China
- Prior art keywords
- control
- information
- objective function
- functional
- data
- 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
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
-
- 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
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Selective Calling Equipment (AREA)
Abstract
A kind of household appliance control method and device, are related to field of communication technology.The embodiment of the present invention can avoid redesigning whole control circuit after the function of household electrical appliance is adjusted, without adjusting the interface quantity of control device.This method includes:Control device generates the control information of objective function device;Control device sends control information at least one functional device, the device identification comprising objective function device and control data wherein in control information;The control information that at least one functional device receiving control device is sent;When objective function device at least one functional device determines to include the device identification of objective function device in control information, the control data in control information are obtained.The present invention is applied to the control circuit of household electrical appliance.
Description
Technical field
The present invention relates to field of communication technology, more particularly to a kind of household appliance control method and device.
Background technology
At present, control circuit is divided into three parts design in most household electrical appliance in the prior art:
Part I is operator, and operator is generally located on the panel of household electrical appliance, for showing family expenses to user
The working status of electric appliance and each function that household electrical appliance are controlled according to the operation of user.Operator includes microcontroller, single
The I/O interfaces of piece machine connection are connected with each functional unit in main controller, expander respectively by winding displacement, carry out information exchange.
Part II is main controller, is arranged on inside electric appliance, and the output signal for being sent according to operator controls household electrical appliance
System and the working status to operator feedback household electrical appliance.Part III is expander, for extending other work(newly increased
Can unit.
By taking electric heater as an example, as shown in Figure 1, operator is used for the work shape that household electrical appliance are shown by display unit
State, receive fever tube drive circuit transmission of the user by the control signal of key-press input and by microcontroller into main controller
Control signal;Main controller is responsible for detecting the water temperature in liner by temperature sensing circuit and sends feedback signal to operator, with
And heat-generating pipe is controlled to work by the tube drive circuit that generates heat;The line traffic control function expansion of integrated line traffic control module can be included by extending implement body
Open up device, the distant control function expander and integrated Wi-Fi (Wireless-Fidelity, Wireless Fidelity) mould of integrated remote control module
Wi-Fi Function Extension devices of block etc., each functional device are connected with operator to realize corresponding function respectively.
As can be seen that it is above-mentioned in the prior art, functional unit and each expander in main controller directly with operator phase
Connection, and uniformly each functional unit is driven by operator.
Based on the above-mentioned prior art, inventor has found, with advances in technology, the work(of present various household electrical appliance
Can be also more and more.If being still directly driven by operator to each functional unit, once product function is adjusted,
Then need the winding displacement quantity accordingly between the I/O interface quantities of adjustment operator and operator and each functional device, this base
Originally need to redesign whole control circuit, so as to influence production efficiency, add production cost.
The content of the invention
The present invention provides a kind of household appliance control method, device and control circuit, can household electrical appliance function into
After row adjustment, without adjusting the interface quantity of control device, avoid redesigning whole control circuit.
To reach above-mentioned purpose, the embodiment of the present invention adopts the following technical scheme that:
In a first aspect, the present invention provides a kind of household appliance control method, it is described applied to the control circuit of household electrical appliance
Control circuit includes control device and at least one functional device, and the control device and at least one functional device lead to
Bus connection is crossed, the described method includes:The control information of the control device generation objective function device;The control device to
At least one functional device sends the control information, wherein comprising the objective function device in the control information
Device identification and control data;At least one functional device receives the control information that the control device is sent;It is described
The objective function device at least one functional device determines the equipment that objective function device is included in the control information
During mark, the control data in the control information are obtained.
In the embodiment of the present invention, after control instruction input by user is received or there are other needs in control device
When control function device performs the situation of some operations, then control device is sent at least one functional device includes target work(
The control information of energy device identification, is so assured that the control after objective function device receives the control information
Information is sent to this functional device, and then objective function device performs corresponding operation according to the control information.This hair
In bright embodiment, when control device sends control information to each functional device, by increasing functional device in the control information
The mode of mark so that each functional device can determine the need for being performed according to the control information after control information is received
Corresponding operating, so that the interface of default fixed number (such as I O Interface) and all functions can be passed through on control device
Mutual communication is realized in device connection, and realizes that control device controls all functions device by above-mentioned method, and then can
When the function of household electrical appliance is adjusted, without adjusting the interface quantity of control device, avoid to whole control circuit again
Design.
Second aspect, the present invention provide a kind of control device, applied to the control circuit of household electrical appliance, the control circuit
Including control device and at least one functional device, the control device and at least one functional device are connected by bus
Connect, the control device includes:Processing unit, for generating the control information of objective function device;Interface unit, in institute
After the control information for stating processing unit generation objective function device, control information, institute are sent at least one functional device
The device identification comprising the objective function device and control data in control information are stated, to make at least one function
The objective function device in device is obtained when including the device identification of objective function device in determining the control information
Control data in the control information.
The third aspect, the present invention provide a kind of functional device, applied to the control circuit of household electrical appliance, the control circuit
Including control device and at least one functional device, the control device and at least one functional device are connected by bus
Connect;The functional device includes:Interface unit and processing unit, when the functional device is objective function device:The interface
Unit, the control information sent for receiving the control device, wherein being filled in the control information comprising the objective function
The device identification put and control data;The processing unit, sends for receiving the control device in the interface unit
Control information after, however, it is determined that in the control information include objective function device device identification when, obtain it is described control letter
Control data in breath.
Fourth aspect, the present invention provide a kind of control device, including:Communication interface, processor, memory, bus.Storage
Device is used to store computer executed instructions, and processor is connected with memory by bus, and when control device is run, processor is held
The computer executed instructions of line storage storage, so that control device performs the household electrical appliance control provided such as above-mentioned first aspect
Method.
5th aspect, the embodiment of the present invention provide a kind of computer-readable storage medium, including the calculating used in device in order to control
Machine software instruction, when run on a computer so that computer performs the household electrical appliance control provided such as above-mentioned first aspect
The function of control device in method processed.
6th aspect, the present invention provide a kind of functional device, including:Communication interface, processor, memory, bus.Storage
Device is used to store computer executed instructions, and processor is connected with memory by bus, and when functional device is run, processor is held
The computer executed instructions of line storage storage, so that functional device performs the household electrical appliance control provided such as above-mentioned first aspect
Method.
7th aspect, the embodiment of the present invention provide a kind of computer-readable storage medium, including are the calculating used in functional device
Machine software instruction, when run on a computer so that computer performs the household electrical appliance control provided such as above-mentioned first aspect
The function of functional device in method processed.
Eighth aspect, the embodiment of the present invention provide a kind of computer program product, can be loaded directly into the inside of computer
In memory, and contain software code, which is loaded into via computer and can realize as above-mentioned after performing
The function of control device in the household appliance control method that first aspect provides.
9th aspect, the present invention provide a kind of computer program product, can be loaded directly into the internal storage of computer
In, and contain software code, which is loaded into via computer and can realize such as above-mentioned first party after performing
The function of functional device in the household appliance control method that face provides.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described.
Fig. 1 is a kind of structure diagram of household electrical appliance control circuit of the prior art;
Fig. 2 is a kind of structure diagram for household electrical appliance control circuit that the embodiment of the present invention provides;
Fig. 3 is a kind of structure diagram for household electrical appliance control circuit that the embodiment of the present invention provides;
Fig. 4 is a kind of structure diagram for control device that the embodiment of the present invention provides;
Fig. 5 is a kind of structure diagram for control device that the embodiment of the present invention provides;
Fig. 6 is a kind of structure diagram for functional device that the embodiment of the present invention provides;
Fig. 7 is a kind of structure diagram for functional device that the embodiment of the present invention provides;
Fig. 8 is a kind of flow diagram for household appliance control method that the embodiment of the present invention provides;
Fig. 9 is a kind of flow diagram for household appliance control method that the embodiment of the present invention provides;
Figure 10 is a kind of structure diagram for control device that the embodiment of the present invention provides;
Figure 11 is a kind of structure diagram for control device that the embodiment of the present invention provides;
Figure 12 is a kind of structure diagram for functional device that the embodiment of the present invention provides;
Figure 13 is a kind of structure diagram for functional device that the embodiment of the present invention provides;
Figure 14 is a kind of structure diagram for functional device that the embodiment of the present invention provides.
Embodiment
Below in conjunction with the accompanying drawings, the embodiment of the present invention is described.
The present invention is specifically applied to the control circuit of household electrical appliance applied in the scene being controlled to household electrical appliance
In.
Specifically, the present invention provides a kind of control circuit using household appliance control method of the present invention.The control
Circuit includes control device and at least one functional device.Wherein, the control device in control circuit can set and be in
On the panel of electrical appliance, for showing the working status of household electrical appliance to user and controlling household electrical appliance according to the operation of user
Each function.The output that each functional device is responsible for being sent according to control device at least one functional device in control circuit is believed
Number household electrical appliance are controlled and the working status to control device feedback household electrical appliance.Wherein, control device and at least
One functional device is connected by bus.Specifically, control device carries out information exchange by bus and each functional device.
Specifically as shown in Fig. 2, control device can be operator, main controller can be included at least one functional device
And multiple expanders.Wherein, operator is connected by bus with main controller, expander.When operator sends data, master control
Device and expander can receive data at the same time;When main controller and expander send data, operator can receive data.
It is exemplary as shown in figure 3, operator can also carry out data sending by bus 1, pass through bus 2 and carry out data
Receiving, the transmission interface TXD ports of operator connect the receiving interface RXD ports of main controller, expander by bus 1 at this time,
The receiving interface RXD ports of operator connect the transmission interface TXD ports of main controller, expander by bus 2.Pass through above-mentioned control
Circuit structure processed, so as to make operator send information to functional devices such as main controller, expanders by bus, and operates
Device can receive main controller by bus, the information that expander is sent.In one embodiment, operator, main controller and expansion
The power interface VCC ports of exhibition device are connected to power supply, and the ground interface GND ports of operator, main controller and expander
Connect ground terminal.
It should be noted that the hardware structure of control circuit shown in above-mentioned Fig. 2-3 is only control electricity provided by the present invention
A kind of framework form on road.It can also adjust accordingly, such as increase according to control circuit provided by the present invention is actually needed
The quantity of coffret between control device and functional device;Can also be in order to save coffret and bus resource, such as Fig. 2 institutes
Show, one coffret in TXD ports and RXD multiplexed ports of each device, i.e., by a coffret on control device with
Coffret connection on each functional device, then control is realized by the method for the time sharing transmissions for sending data and reception data
Data between device and functional device processed are transmitted in a bus.
In addition, as shown in figure 4, the control device 20 in above-mentioned control circuit can use following hardware configuration:Including logical
Believe interface 203, processor 202, memory 201 and bus 204, communication interface 203, processor 202 pass through bus 204 and storage
Device 201 is connected.Wherein, communication interface 203 can be used for the function for the TXD ports and RXD ports for realizing above-mentioned control device,
TXD ports and RXD ports can be the communication interface or multiplexing set respectively in same communication interface.
Processor 202 can be a general central processor (Central Processing Unit, CPU), microprocessor
Device, application-specific integrated circuit (Application-Specific Integrated Circuit, ASIC), or one or more
A integrated circuit for being used to control the present invention program program to perform.
Memory 201 can be read-only storage (Read-Only Memory, ROM) or can store static information and instruction
Other kinds of static storage device, random access memory (Random Access Memory, RAM) or letter can be stored
Breath and the other kinds of dynamic memory or Electrically Erasable Programmable Read-Only Memory (Electrically of instruction
Erasable Programmable Read-only Memory, EEPROM), read-only optical disc (Compact Disc Read-
Only Memory, CD-ROM) or other optical disc storages, laser disc storage (including compression laser disc, laser disc, laser disc, digital universal
Laser disc, Blu-ray Disc etc.), magnetic disk storage medium or other magnetic storage apparatus or can be used in carrying or store with referring to
Order or data structure form desired program code simultaneously can by any other medium of computer access, but not limited to this.
Memory can be individually present, and be connected by bus with processor.Memory can also be integrated with processor.Its
In, memory 201 is used to store the application code for performing the present invention program, and is performed by processor 202 to control.Communication
Interface 203 is used for the content for receiving external equipment input, and processor 202 is used to perform the application program stored in memory 201
Code, so as to fulfill the household appliance control method described in the embodiment of the present invention.
Optionally, as shown in figure 5, control device can also include the display screen 205, buzzer 206, behaviour being connected with bus
Make one or more in button 207.Wherein, display screen 205 is used for the display of the working status of household electrical appliance, buzzer 206 is used
In send fault warning, operation button 207 be used for enter the operating instructions user.
In addition, as shown in Figure 6 and Figure 7, the functional device 30 in the above-mentioned control circuit of the present invention can use following hardware
Structure:Communication interface 303, processor 302, memory 301 and bus 304, communication interface 303, processor 302 pass through bus
304 are connected with memory 301.Wherein to the concrete structure of communication interface 303, processor 302, memory 301 and bus 304 with
And function description may be referred to Fig. 4 and above to communication interface in Fig. 4 203, processor 202, memory 201 and bus
204 correspondence description content, details are not described herein.
In addition, when applying functional device in the control circuit of electric heater, and when functional device be main controller, such as figure
In 6, the functional device can also include be connected with bus 304 fever tube drive circuit 305, temperature detection circuit 306 and
Any one of water flow detection circuit 307 is multinomial.Wherein, temperature detection circuit 306 is used to examine by temperature measuring probe
The water temperature surveyed in liner, the tube drive circuit 305 that generates heat are used to control heat-generating pipe to work and then control the temperature of water, current in liner
Amount detection circuit 307 is used for the water flow for detecting water heater.
When functional device is expander, as shown in fig. 7, expander can include:Wi-Fi module 308, line traffic control module
309th, any one of remote control module 310 or multinomial.Wherein, Wi-Fi module 308 is used to pass through the working status of electric heater
WLAN is sent to other-end equipment, or the control information of other-end equipment is received by WLAN, with
Just electric heater is controlled according to the control information;Line traffic control module 309, remote control module 310 are used to pass through line according to user
Device, the operation generation operational order of remote controler input are controlled, and is additionally operable to show electric hot water to user by line control machine, remote controler
The working status of device.It should be noted that can be with as shown in fig. 7, by Wi-Fi module, line traffic control module and being remotely controlled mould in the present invention
Block is integrated in an expander at the same time;Wi-Fi module, line traffic control module and remote control module can also be integrated in multiple expansions respectively
Open up in device, so as to set the Wi-Fi Function Extensions device of integrated Wi-Fi module, the line traffic control Function Extension of integrated line traffic control module respectively
The distant control function expander of device and integrated remote control module.The 26S Proteasome Structure and Function of each expander can be according to actual need in the present invention
It is adjusted, this present invention is not limited.
Based on control device in above-mentioned control circuit and hardware structure the embodiment of the present invention of functional device this hair
Bright embodiment provides a kind of household appliance control method, as shown in figure 8, including:
The control information of S101, control device generation objective function device.
S102, control device send control information at least one functional device, and target work(is included wherein in control information
The device identification of energy device and control data.
In one embodiment, control device is sent comprising at least at least one functional device successively every preset time
The control information of the device identification of each functional device in one functional device, to be controlled to functional device.For example, control
Device sends a control information at interval of 100ms at least one functional device, and the control information sent every time includes one
The device identification of a functional device.If including n functional device so in control circuit altogether, control device every n ×
The time of 100ms, can communicate once with all functions device.
The control information that S103, at least one functional device receiving control device are sent.
Specifically, need control function device when control device receives control instruction input by user or occurs other
When performing the situation of some operations, then control device is sent by least one functional device included to control circuit and included
There is the device identification of objective function device and control the control information of data.
By taking electric heater as an example, specifically control device can be operator in electric heater, at least one function dress
It can include main controller and expander in putting, operator is connected by bus with main controller, expander.When operator receives
After the operation input by user for adjusting water temperature, then operator can generate a control information for being used to control main controller, and to extremely
A few functional device sends the control information.
Objective function device in S104, at least one functional device determines to include objective function device in control information
During device identification, the control data in control information are obtained.
Specifically, since control information includes the device identification of objective function device, received in functional device
After control information, the device identification that can be included by control information judges the objective function device of the control information.Work as mesh
When the device identification that mark functional device determines to include in control information includes the device identification of itself, then obtain in control information
Data are controlled, and then corresponding function is performed according to control data.
By taking electric heater as an example, if the control information is used to control main controller to adjust water temperature, when operator is at least one
Main controller in a functional device transmission control information and at least one functional device then can after the control information is received
Enough judge whether to need to perform the control information by the device identification in control information.So as to which main controller is by determining that control is believed
Include the device identification of itself in breath, determine to need the content for performing the control information, and then obtain the control in control information
Data processed are simultaneously adjusted water temperature.
In one embodiment, control information includes fixed data frame structure in the present invention.And included in data frame
Byte for the byte of the device identification that represents objective function device and for representing control data.
Exemplary, it is as shown in table 1 below, to carry out data between control device and at least one functional device in the present invention
Used a kind of example of data frame structure during transmission.Wherein in control circuit, control device includes operator, functional device
Including main controller and expander, wherein expander can include the Wi-Fi Function Extensions device of integrated Wi-Fi module, integrated remote control
The line traffic control Function Extension device or other expanders of the distant control function expander of module, integrated line traffic control module:
Table 1
Wherein, the 0th byte " first code ", the 1st byte are " device identification for sending data ", " receive the equipment mark of data
Know ", the 2nd byte is " frame number that dispensing device is sent ", requires " frame number of reception device passback ", and the 3rd byte is " manufacturer
Coding ", " protocol version ", the 4th~9 byte are " the specific data of transmission ", the 10th, 11 bytes be " CRC16 check codes ".
Specifically, by the way that in control information, " device identification for receiving data " in the 1st byte, is objective function dress
The device identification put.Pass through the specific data of the transmission in 4-9 bytes, you can determine control data.Exemplary, if control
Only include a main controller in circuit, do not access Wi-Fi Function Extensions device, line traffic control Function Extension device and distant control function extension
The expanders such as device, then " device identification for receiving data " is " 1 " every time;If having accessed n expander, " data are received
Device identification " can be a value in " 1 " to " n+1 ".
Further, can also include in the data frame:" first code ", for identifying the beginning of communication, particularly communicates out
, it is necessary to receive next frame data again during existing failure, there is the beginning that first code could judge data.
It can also include " send data device identifications " in the data frame, when the data frame transmitted information in order to control
When, it is somebody's turn to do the device identification that " device identifications for sending data " are control device.
Further, " frame number that dispensing device is sent " is further included in the data frame and " it is required that what reception device returned
Frame number ", can be defined different contents according to being actually needed.Such as by taking water heater as an example, No. 0 frame definition can be used
In adjusting water temperature.When main controller so when from control device to functional device sends No. 0 frame, main controller would know that needs are logical
Cross the heating effect of heat-generating pipe control circuit control heat-generating pipe and then water temperature is adjusted.And then further according in 4-9 bytes
Specific data need the target temperature adjusted, by lower water temperature to target temperature.And then according to " it is required that receiving dress
Put back into the frame number of biography ", to the data of control device, that is, corresponding frame number of operator feedback, for example, being sent to main controller in operator
Data frame in the frame number of passback " it is required that reception device " be No. 3 frames, and No. 3 frames represent to require the current water of reception device passback
Temperature, then main controller to operator send current water temperature information.
Optionally, " the manufacturer's coding " of each functional device and " the agreement version of data frame are further included in the data frame
This number ".
In one embodiment, " effect code " is further included in the data frame employed in the present invention, is passed for detecting data
The mistake of defeated middle appearance.Specifically, CRC16 (Cyclic Redundancy Check, cyclic redundancy check code) can be used to imitate
Code is tested to be verified.With generator polynomial g (x)=x16+x12+x5Exemplified by+1 CRC16-CCITT standard codes, pass through the identifying code
It can detect burst error of all length less than or equal to 16 and all odd number mistakes.
In one embodiment, as shown in figure 9, the method for the invention further includes:
S105, objective function device perform predetermined function according to control data, and generate feedback data.
S106, objective function device send feedback information to control device, and feedback information includes setting for objective function device
Standby mark and feedback data.
Specifically, objective function device after control data are obtained, then the control data in control information perform pre-
Determine function, and feedback data is generated according to implementing result.Then feedback data and objective function appliance arrangement mark will be included
The feedback information of knowledge is sent to control device, so that control device determines according to feedback information the execution feelings of objective function device
Condition.In one embodiment, feedback information includes using identical data frame structure with above-mentioned control information.For example, feedback letter
Breath is also using the data frame structure shown in table 1, its particular content is identical with the above-mentioned description to table 1, and details are not described herein again.
In one embodiment, it is contemplated that also different in the function that different product includes, it is impossible to all products
All supporting identical functional device.Therefore, in order to enable control device to be controlled functional device in different control circuits,
The flow initialized to functional device can also be increased in the above method is controlled.Therefore the above-mentioned household electrical appliance control of the present invention
Method processed, before the control signal of control device generation objective function device, further includes:
Control device obtains the device identification of at least one functional device, so as in the equipment mark of at least one functional device
The device identification of objective function device is chosen in knowledge.
Exemplary, when powering on every time, control device first sends the control information for including distinct device mark successively, with
Exemplified by the control information of data frame structure shown in table 1,1-15 first is cycled through in " device identification for receiving data ", is continuously transmitted
3 circulations.If receive the data of functional device passback, then it is assumed that the functional device exists, and the equipment for determining the functional device
Mark.Otherwise it is assumed that the functional device is not present, the device identification of the functional device can be skipped in the data sent afterwards.
In addition, in one embodiment, in order to further improve the compatibility of main controller in functional device, and prevent from operating
Device is connected with incompatible main controller.Before control device is generated to the control signal of objective function device, the present invention is carried
The household appliance control method of confession, further includes:
Main controller sends detection information to control device, and detection information includes at least one function that main controller possesses;
Control device determines at least one function that main controller has according to detection information.
In the present invention, the detection for including various functions possessed by the main controller is sent to control device by main controller
Information, so that control device can judge whether the main controller possesses required all functions and be according to detection information
It is no to have unnecessary function.For example, still by taking electric heater as an example, if having 3 temp probes and no water flow in main controller
Sensor, and the control device that is configured in control circuit needs 1 temp probe, then can by it is unnecessary go out 2 temp probes
Mask.And control device needs 1 temp probe and 1 water flow sensor in control circuit.So pass through main controller
Sent to control device and have functional information comprising main controller, control device can know that the main controller lacks needs
Function.
Optionally, after at least one function that control device determines that according to detection information main controller has, the method
Further include:If control device determines that main controller lacks predetermined function, warning information is generated.
Specifically, the information output devices such as buzzer, display can be included in control device, it is defeated by these information
Warning information can be sent to staff by going out equipment, and then facilitate staff to find failure in time.
The method of the invention can be applied in the control circuit of household electrical appliance, including and is not limited to electric heater, fires
The household electrical appliance such as gas water heater, air-conditioning and central water supply installation.
In the embodiment of the present invention, after control instruction input by user is received or there are other needs in control device
When control function device performs the situation of some operations, then control device is sent at least one functional device includes target work(
The control information of energy device identification, is so assured that the control after objective function device receives the control information
Information is sent to oneself, and then objective function device can perform corresponding operation according to the control information.This hair
In bright embodiment, when control device sends control information to each functional device, by increasing functional device in the control information
The mode of mark so that each functional device can determine the need for being performed according to the control information after control information is received
Corresponding operating.So as to which the I/O Interface Controller all functions devices of default fixed number can be passed through on control device.And then
, without adjusting the interface quantity of control device, it can be avoided after the function of household electrical appliance is adjusted to whole control circuit
Redesign.
The embodiment of the present invention provides a kind of control device, for performing above-mentioned household appliance control method.The present invention is implemented
Example can carry out the division of function module according to above method example to it, for example, can correspond to each function divides each work(
Two or more functions, can also be integrated in a processing module by energy module.Above-mentioned integrated module both can be with
Realized, can also be realized in the form of software function module in the form of hardware.It should be noted that the embodiment of the present invention
In division to module be schematical, be only a kind of division of logic function, can there is other division side when actually realizing
Formula.In the case where dividing each function module using corresponding each function, the control as involved by Figure 10 is the embodiment of the present invention
A kind of possible structure diagram of device processed.Specifically, the control device 40 includes:Processing unit 401, interface unit 402.
Wherein:
Processing unit 401, for generating the control information of objective function device;
Interface unit 402, for after the control information that processing unit 401 generates objective function device, at least one
Functional device sends control information, device identification and the control data of objective function device is included in control information, to make
When objective function device at least one functional device includes the device identification of objective function device in definite control information,
Obtain the control data in control information.
In one embodiment, interface unit 402, are additionally operable to after control information is sent at least one functional device,
The feedback information that objective function device is sent is received, feedback information includes device identification and the feedback coefficient of objective function device
According to.
In one embodiment, processing unit 401, are additionally operable to generate the control of objective function device in processing unit 402
Before signal, the device identification of at least one functional device is obtained, to be selected in the device identification of at least one functional device
Take the device identification of objective function device.
In one embodiment, at least one functional device includes main controller;
Interface unit 402, is additionally operable to before the control signal that processing unit 401 generates objective function device, receives master
The detection information that device is sent is controlled, detection information includes at least one function that main controller possesses;
Processing unit 401, is additionally operable to after the detection information that interface unit receives that main controller is sent, according to detection information
Determine at least one function that main controller has.
Exemplary, as shown in figure 11, control device further includes:In display screen 403, buzzer 404, operation button 405
It is one or more, display for the working status of household electrical appliance, receive user operational order, warning information show etc. it is man-machine
Interactive interface.
It should be noted that other corresponding corresponding descriptions of each unit can in the control device provided in the embodiment of the present invention
With with reference to figure 8-9 and above to the correspondence description content of Fig. 8-9, details are not described herein.
In one embodiment, the processing unit in the above-mentioned control device of the present invention can be that processor, interface unit can
Think the communication interface in Fig. 4, control device is further included performs the application code of this programme and depositing for data for storing
Reservoir.When control device includes processor, communication interface and memory, its control device Each part and function can
With with reference to Fig. 4 and above to the description content of Fig. 4, details are not described herein.
The embodiment of the present invention provides a kind of functional device, for performing above-mentioned household appliance control method.The present invention is implemented
Example can carry out the division of function module according to above method example to it, for example, can correspond to each function divides each work(
Two or more functions, can also be integrated in a processing module by energy module.Above-mentioned integrated module both can be with
Realized, can also be realized in the form of software function module in the form of hardware.It should be noted that the embodiment of the present invention
In division to module be schematical, be only a kind of division of logic function, can there is other division side when actually realizing
Formula.In the case where dividing each function module using corresponding each function, the work(as involved by Figure 12 is the embodiment of the present invention
A kind of possible structure diagram of energy device.Specifically, the functional device 50 includes:Processing unit 501, interface unit 502.
Wherein, when functional device is objective function device:
Interface unit 502, the control information sent for receiving control device, includes objective function wherein in control information
The device identification of device and control data;
Processing unit 501, for after the control information that 502 receiving control device of interface unit is sent, however, it is determined that control
When the device identification of objective function device is included in information, the control data in control information are obtained.
In one embodiment, processing unit 501, are additionally operable to perform predetermined function according to control data, and generate feedback
Data;
Interface unit 502, is additionally operable to perform predetermined function according to control data in processing unit 501, and generates feedback coefficient
According to rear, feedback information is sent to control device, feedback information includes device identification and the feedback data of objective function device.
In one embodiment, when functional device is main controller:
Interface unit 502, is additionally operable to send detection information to control device, detection information possesses at least comprising main controller
A kind of function, to make control device determine according to detection information at least one function that main controller has.
Exemplary, when applying functional device in the control circuit of electric heater, if functional device is main controller
When, as shown in figure 13, which further includes:Tube drive circuit 503, temperature sensing circuit 504 and the water flow of generating heat are examined
Any one of slowdown monitoring circuit 505 is multinomial, exemplary:The tube drive circuit 503 that generates heat can be relay.If functional device is
Other expanders outside main controller, as shown in figure 14, which further includes:Wi-Fi module 506, line traffic control module 507,
Any one of remote control module 508 is multinomial.
In the functional device provided in the embodiment of the present invention other corresponding corresponding descriptions of each unit may be referred to Fig. 8-9 with
And above to the correspondence description content of Fig. 8-9, details are not described herein.
In one embodiment, the processing unit in the above-mentioned control device of the present invention can be processor, the interface in Fig. 6
Unit can be Fig. 6-7 in communication interface, control device further include for store perform this programme application code and
The memory of data.When control device includes processor, communication interface and memory, its Each part is referred to figure
6-7 and above to the description content of Fig. 6-7, details are not described herein.
In addition, a kind of computer-readable storage medium is also provided, including the computer software instructions used in device in order to control, when it
When running on computers so that computer performs the function of control device in the household appliance control method being provided above.
It in addition, also providing a kind of computer program product, can be loaded directly into the internal storage of computer, and contain software generation
Code, the computer program product are loaded into and can realize after performing the household appliance control method being provided above via computer
The function of middle control device.
A kind of computer-readable storage medium is also provided, including is the computer software instructions used in functional device, when it is being counted
When being run on calculation machine so that computer performs the function of functional device in the household appliance control method being provided above.In addition,
A kind of computer program product is also provided, can be loaded directly into the internal storage of computer, and contains software code, the meter
Calculation machine program product is loaded into via computer and can realize function in the household appliance control method being provided above after performing
The function of device.
The above description is merely a specific embodiment, but protection scope of the present invention is not limited thereto, any
Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained
Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be based on the protection scope of the described claims.
Claims (11)
1. a kind of household appliance control method, applied to the control circuit of household electrical appliance, the control circuit includes control device
And at least one functional device, it is characterised in that the control device and at least one functional device are connected by bus
Connect, the described method includes:
The control information of the control device generation objective function device;
The control device sends the control information at least one functional device, wherein being included in the control information
The device identification of the objective function device and control data;
At least one functional device receives the control information that the control device is sent;
The objective function device at least one functional device determines to fill comprising objective function in the control information
During the device identification put, the control data in the control information are obtained.
2. method according to claim 1, it is characterised in that the method further includes:
The objective function device performs predetermined function according to the control data, and generates feedback data;
The objective function device sends feedback information to the control device, and the feedback information is filled comprising the objective function
The device identification put and the feedback data.
3. method according to claim 1 or claim 2, it is characterised in that in the control of control device generation objective function device
Before signal processed, the method further includes:
The control device obtains the device identification of at least one functional device, so as at least one functional device
Device identification in choose the device identification of the objective function device.
4. method according to claim 1 or claim 2, it is characterised in that at least one functional device includes main controller;
Before the control device generation is to the control signal of objective function device, the method further includes:
The main controller sends detection information to the control device, and the detection information possesses at least comprising the main controller
A kind of function;
The control device determines at least one function that the main controller has according to the detection information.
5. a kind of control device, applied to the control circuit of household electrical appliance, the control circuit is including control device and at least
One functional device, it is characterised in that the control device is connected with least one functional device by bus, the control
Device processed includes:
Processing unit, for generating the control information of objective function device;
Interface unit, for the processing unit generation objective function device control information after, at least one work(
Energy device sends control information, and device identification and the control data of the objective function device are included in the control information,
To make the objective function device at least one functional device include target work(in the control information is determined
During the device identification of energy device, the control data in the control information are obtained.
6. control device according to claim 5, it is characterised in that
The interface unit, is additionally operable to after control information is sent at least one functional device, receives the target work(
The feedback information that energy device is sent, the feedback information include device identification and the feedback data of the objective function device.
7. according to the control device of claim 5 or 6, it is characterised in that including:
The processing unit, is additionally operable to before the control signal of processing unit generation objective function device, described in acquisition
The device identification of at least one functional device, to choose the target in the device identification of at least one functional device
The device identification of functional device.
8. according to the control device of claim 5 or 6, it is characterised in that at least one functional device includes master control
Device;
The interface unit, is additionally operable to before the control signal of processing unit generation objective function device, described in reception
The detection information that main controller is sent, the detection information include at least one function that the main controller possesses;
The processing unit, is additionally operable to after the detection information that the interface unit receives that the main controller is sent, according to institute
State detection information and determine at least one function that the main controller has.
9. a kind of functional device, applied to the control circuit of household electrical appliance, the control circuit is including control device and at least
One functional device, it is characterised in that the control device is connected with least one functional device by bus;The work(
Energy device includes:Interface unit and processing unit, when the functional device is objective function device:
The interface unit, the control information sent for receiving the control device, wherein including institute in the control information
State device identification and the control data of objective function device;
The processing unit, for after the control information that the interface unit receives that the control device is sent, however, it is determined that institute
When stating the device identification that objective function device is included in control information, the control data in the control information are obtained.
10. functional device according to claim 9, it is characterised in that
The processing unit, is additionally operable to perform predetermined function according to the control data, and generates feedback data;
The interface unit, is additionally operable to perform predetermined function according to the control data in the processing unit, and generates feedback
After data, feedback information is sent to the control device, the feedback information includes the device identification of the objective function device
And the feedback data.
11. according to the functional device of claim 9 or 10, it is characterised in that when the functional device is main controller:
The interface unit, is additionally operable to send detection information to the control device, the detection information includes the main controller
At least one function of possessing, to make the control device determine that the main controller has at least according to the detection information
A kind of function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711478157.5A CN107991945A (en) | 2017-12-29 | 2017-12-29 | A kind of household appliance control method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711478157.5A CN107991945A (en) | 2017-12-29 | 2017-12-29 | A kind of household appliance control method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107991945A true CN107991945A (en) | 2018-05-04 |
Family
ID=62043334
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711478157.5A Pending CN107991945A (en) | 2017-12-29 | 2017-12-29 | A kind of household appliance control method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107991945A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558350A (en) * | 2018-11-20 | 2019-04-02 | 海信(山东)空调有限公司 | A kind of program monitoring multiplexing port, control method and household electrical appliance |
CN110830962A (en) * | 2019-11-21 | 2020-02-21 | 苏州车萝卜汽车电子科技有限公司 | Data transmission method, device and storage medium for use in vehicle |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1153330A (en) * | 1994-12-02 | 1997-07-02 | 通用电气公司 | Serial bus control for appliances |
CN102461082A (en) * | 2009-05-19 | 2012-05-16 | 伊莱克斯家用产品公司 | Bus control for a domestic appliance |
CN103368015A (en) * | 2012-04-10 | 2013-10-23 | 泰科电子(上海)有限公司 | Intelligent connector and bus controller |
JP2015531110A (en) * | 2012-07-16 | 2015-10-29 | タイコ エレクトロニクス (シャンハイ) カンパニー リミテッド | Intelligent connector and bus controller |
WO2017091978A1 (en) * | 2015-12-01 | 2017-06-08 | 邢皓宇 | Smart remote control charged by external connection |
-
2017
- 2017-12-29 CN CN201711478157.5A patent/CN107991945A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1153330A (en) * | 1994-12-02 | 1997-07-02 | 通用电气公司 | Serial bus control for appliances |
CN102461082A (en) * | 2009-05-19 | 2012-05-16 | 伊莱克斯家用产品公司 | Bus control for a domestic appliance |
CN103368015A (en) * | 2012-04-10 | 2013-10-23 | 泰科电子(上海)有限公司 | Intelligent connector and bus controller |
CN103365259A (en) * | 2012-04-10 | 2013-10-23 | 泰科电子(上海)有限公司 | Control circuit module, electrical equipment and modulation and demodulation device |
JP2015531110A (en) * | 2012-07-16 | 2015-10-29 | タイコ エレクトロニクス (シャンハイ) カンパニー リミテッド | Intelligent connector and bus controller |
WO2017091978A1 (en) * | 2015-12-01 | 2017-06-08 | 邢皓宇 | Smart remote control charged by external connection |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109558350A (en) * | 2018-11-20 | 2019-04-02 | 海信(山东)空调有限公司 | A kind of program monitoring multiplexing port, control method and household electrical appliance |
CN110830962A (en) * | 2019-11-21 | 2020-02-21 | 苏州车萝卜汽车电子科技有限公司 | Data transmission method, device and storage medium for use in vehicle |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI298119B (en) | Programmable controller device and system | |
US9354271B2 (en) | Multi-node electrical power monitoring, analysis, and related services | |
CN104040568B (en) | EMS and managing device | |
CN108306753B (en) | Simulation device, test method and system for shutdown of I-zone data communication network | |
US20110202194A1 (en) | Sub-metering hardware for measuring energy data of an energy consuming device | |
CN107991945A (en) | A kind of household appliance control method and device | |
IE73281B1 (en) | Processor controlled circuit breaker trip system having reliable status display | |
CN108019881B (en) | Wire controller power supply control method and device of multi-connected air conditioning system and air conditioner | |
CN103543325A (en) | Power consumption management device, power consumption management system, power consumption management method, and power consumption management program | |
CN103201690B (en) | For many local control network network processor (LCNP) emulators for control system | |
CN110173849B (en) | Temperature compensation control method, computer device, and computer-readable storage medium | |
CN105122155B (en) | Drive device | |
CN114661542A (en) | Test method, device and system of liquid cooling system and computer equipment | |
AU2011205064B2 (en) | Diagnostics using sub-metering device | |
CN103314554B (en) | DynamicHost configuration file for option mod | |
CN112859637B (en) | Wind turbine generator system simulation system | |
US20120194351A1 (en) | Downhole Sensor MODBUS Data Emulator | |
CN102735978B (en) | Computer on-line debugging method for grid-connected inverter | |
CN110733037B (en) | Signal processing method and device, storage medium and processor | |
JP7228806B2 (en) | Power measurement system, information change method and program | |
JP3794210B2 (en) | Control information display input device and control method thereof | |
CN117353464B (en) | Time-sharing control method for optimal state of linkage of slave equipment of electric energy meter | |
KR101413829B1 (en) | Slave digital device with the function of providing power line data in power system | |
CN110753111B (en) | Information sharing system of reactor physical start test equipment | |
CN211824542U (en) | Sensor access device, household appliance and electronic equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180504 |
|
RJ01 | Rejection of invention patent application after publication |