CN105843046B - Intelligent household electrical appliance master control communication method and system - Google Patents

Intelligent household electrical appliance master control communication method and system Download PDF

Info

Publication number
CN105843046B
CN105843046B CN201610154295.7A CN201610154295A CN105843046B CN 105843046 B CN105843046 B CN 105843046B CN 201610154295 A CN201610154295 A CN 201610154295A CN 105843046 B CN105843046 B CN 105843046B
Authority
CN
China
Prior art keywords
chip
intelligent
instruction
traditional
traditional chip
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.)
Active
Application number
CN201610154295.7A
Other languages
Chinese (zh)
Other versions
CN105843046A (en
Inventor
周永健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sichuan Changhong Electric Co Ltd
Original Assignee
Sichuan Changhong Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sichuan Changhong Electric Co Ltd filed Critical Sichuan Changhong Electric Co Ltd
Priority to CN201610154295.7A priority Critical patent/CN105843046B/en
Publication of CN105843046A publication Critical patent/CN105843046A/en
Application granted granted Critical
Publication of CN105843046B publication Critical patent/CN105843046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Landscapes

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

Abstract

The invention discloses an intelligent household electrical appliance master control communication method and a system, comprising the following steps: the intelligent chip sends a device judgment instruction to a traditional chip, the traditional chip returns parameter data of the traditional chip to the intelligent chip according to the judgment instruction, and the intelligent chip determines to adopt a corresponding serial port protocol according to the data returned by the traditional chip; the intelligent chip sends an inquiry instruction to the traditional chip at regular time to inquire the running state of the equipment; the traditional chip sends the current equipment running state to the intelligent chip after receiving the query instruction; and the intelligent chip sends information for processing the intelligent instruction into a basic control instruction to the traditional chip according to the running state of the equipment and then the information is executed by the traditional chip. The invention solves the technical problem of larger communication difference between the traditional chip and the intelligent chip, enables the master control communication of the intelligent household electrical appliance equipment of each manufacturer to be compatible, and is beneficial to the development of intelligent technology.

Description

Intelligent household electrical appliance master control communication method and system
Technical Field
The invention relates to the technical field of serial port communication, in particular to a method and a system for master control communication in intelligent household electrical appliance equipment.
Background
More and more products of the internet of things are going into our lives, and intelligent household appliances and the like become a part of our lives.
Air conditioners, refrigerators and various small household appliances are added to large intelligent household appliances at a time, but at present, master control communication among household appliances of various manufacturers, namely communication between a traditional chip and an intelligent chip is greatly different and incompatible, so that development of intelligent products is hindered.
The country also proposes a related national standard draft to standardize the way of master control communication and promote the development of intelligent household appliance technology, but as the national standard, a compatible parallel package is needed, and in actual conditions, a compatible but non-redundant communication protocol conforming to the national standard needs to be formulated.
Disclosure of Invention
The invention overcomes the defects of the prior art, provides an intelligent household appliance master control communication method and system, and is used for solving the technical problems that the communication difference between the traditional chip and the intelligent chip is large and the traditional chip and the intelligent chip are incompatible.
In view of the above problems of the prior art, according to one aspect of the present disclosure, the following technical solutions are adopted in the present invention:
an intelligent household electrical appliance master control communication method comprises the following steps:
the intelligent chip sends a device judgment instruction to a traditional chip, the traditional chip returns parameter data of the traditional chip to the intelligent chip according to the judgment instruction, and the intelligent chip determines to adopt a corresponding serial port protocol according to the data returned by the traditional chip;
the intelligent chip sends an inquiry instruction to the traditional chip at regular time to inquire the running state of the equipment;
the traditional chip sends the current equipment running state to the intelligent chip after receiving the query instruction;
and the intelligent chip sends information for processing the intelligent instruction into a basic control instruction to the traditional chip according to the running state of the equipment and then the information is executed by the traditional chip.
In order to better realize the invention, the further technical scheme is as follows:
according to one embodiment of the invention, the intelligent chip and the traditional chip judge whether the running state and the communication of the other side are normal or not through a timed query instruction.
According to another embodiment of the invention, the intelligent chip sends the query instruction to the traditional chip at a timing of 0.5 s.
The invention can also be:
the utility model provides an intelligence household electrical appliances master control communication system which characterized in that it includes intelligent chip and traditional chip, the instruction that is used for the operation between intelligent chip and the traditional chip contains master control communication protocol, master control communication protocol includes:
the device judgment protocol module is used for controlling the intelligent chip to send a judgment instruction to the traditional chip in the main control communication initialization process, and the traditional chip returns the type and the model of the device to the intelligent chip according to the received judgment instruction;
the control protocol module is used for packaging a control instruction into a communication packet according to the national standard protocol standard under the condition that the intelligent chip needs to change the state of the household appliance, and sending the communication packet to the traditional chip through a serial port, and the state of the household appliance is changed after the traditional chip is analyzed;
the query protocol module is used for packaging the query instruction into a communication packet according to the national standard protocol standard and sending the communication packet to the traditional chip through a serial port;
and the reporting protocol module is used for packaging the running state of the household appliance into a communication packet by the traditional chip according to the national standard protocol standard, sending the communication packet to the intelligent chip through the serial port, and storing the state of the household appliance after the intelligent chip analyzes the communication packet.
Compared with the prior art, the invention has the following beneficial effects:
the intelligent household appliance master control communication method and system are suitable for intelligent products such as air conditioners, refrigerators, smoke stoves and various small household appliances, solve the technical problem of large communication difference between the traditional chip and the intelligent chip, enable the master control communication of the intelligent household appliance equipment of various manufacturers to be compatible and are beneficial to the development of intelligent technology.
Drawings
For a clearer explanation of the embodiments or technical solutions in the prior art of the present application, the drawings used in the description of the embodiments or prior art will be briefly described below, it is obvious that the drawings in the following description are only references to some embodiments in the present application, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram illustrating a master communication workflow according to an embodiment of the present invention.
Fig. 2 is a schematic diagram illustrating a master communication command protocol according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to examples, but the embodiments of the present invention are not limited thereto.
Example 1
As shown in fig. 1, a method for intelligent home appliance master control communication includes:
initializing a serial port, and automatically selecting serial port configuration corresponding to a traditional chip by an intelligent chip;
secondly, the intelligent chip sends a device judgment instruction to the traditional chip, and the configuration and instruction protocol of the corresponding product are determined according to the data returned by the traditional chip;
step three, the intelligent chip processes the intelligent instruction into a basic control instruction to be sent to a traditional chip for execution;
step four, the intelligent chip sends an inquiry instruction to the traditional chip at regular time (0.5s) to inquire the running state of the equipment;
step five, the traditional chip sends the current equipment running state to the intelligent chip after receiving the query instruction;
and step six, the intelligent chip and the traditional chip judge whether the running state and the communication of the opposite side are normal or not through the timing query instruction, and if the fault is monitored, the fault processing operation such as restarting or reconnection is carried out.
Example 2
The intelligent household appliance master control communication protocol conforming to the national standard is a serial communication protocol between an intelligent control chip and a traditional control chip, and comprises an equipment judgment protocol, a control protocol, an inquiry protocol and a reporting protocol.
The intelligent control Chip, namely a System On Chip (SOC), is mainly used for storing and processing the running state, control logic and intelligent logic of the household electrical appliance.
The conventional control chip, i.e. a Micro Controller Unit (MCU), is mainly used for processing the basic control of the home appliance and the running state of the home appliance.
Device determination protocol: the SOC sends a specific format instruction to the MCU in the process of main control communication initialization, and the MCU returns the type and model of equipment to the SOC so as to facilitate the next communication to adopt a corresponding protocol.
The control protocol comprises the following steps: the SOC encapsulates the state of the household appliance needing to be changed into a communication packet according to the national standard protocol standard, the communication packet is sent to the MCU through the serial port, and the MCU changes the state of the household appliance after analysis.
And (3) query protocol: the SOC encapsulates a specific instruction state into a communication packet according to the national standard protocol standard, and sends the communication packet to the MCU through the serial port.
Reporting protocol: after the behaviors, the MCU encapsulates all the running states of the household appliance into communication packets according to the national standard protocol standard, and sends the communication packets to the SOC through the serial port, and the SOC stores the states of the household appliance after analysis.
Serial port communication: serial communication technology established according to the requirements of national standard hardware and software.
Example 3
As shown in fig. 2, the specific communication protocol content of the technical solution of the present invention is further elaborated:
frame head: byte1+ Byte2 indicates the start of a frame with content 0xF 40 xF5 and a header length of 2 bytes.
Frame type: a frame indicating the type of the frame, and the query instruction is used for querying the current operation state of the equipment; setting instructions for controlling command sending and state returning; the device determination is used to determine the current device type and model.
Frame length: the number of bytes of the length of the whole frame, the query instruction is 7 bytes, the device judges that the instruction is 5 bytes, and the setting instruction is determined according to the situation.
Equipment type, specific model: and after the SOC terminal sends the query instruction, the type and the specific model of the current equipment are obtained from the MCU terminal.
The instruction type: setting the type of the instruction, and setting the type of the instruction into a single state, a multi-state and a full state.
Number of instructions: and setting the number of basic control commands in the command.
The content is as follows: and setting the content of the basic control command in the instruction. The single-state instruction comprises a command unit, namely a command serial number (1 byte), a byte n (1 byte) occupied by a command code and the command code (n byte); the multi-state instruction includes a plurality of command units; the full state instruction contains all command units.
Checking: all previous bytes are added and no overflow is calculated.
The embodiments are described in a progressive manner in the specification, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other.
Reference throughout this specification to "one embodiment," "another embodiment," "an embodiment," etc., means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment described generally in this application. The appearances of the same phrase in various places in the specification are not necessarily all referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with any embodiment, it is submitted that it is within the scope of the invention to effect such feature, structure, or characteristic in connection with other embodiments.
Although the invention has been described herein with reference to a number of illustrative embodiments thereof, it should be understood that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this disclosure. More specifically, various variations and modifications are possible in the component parts and/or arrangements of the subject combination arrangement within the scope of the disclosure and claims of this application. In addition to variations and modifications in the component parts and/or arrangements, other uses will also be apparent to those skilled in the art.

Claims (3)

1. An intelligent household electrical appliance master control communication method is characterized by comprising the following steps:
the intelligent chip sends a device judgment instruction to a traditional chip, the traditional chip returns parameter data of the traditional chip to the intelligent chip according to the judgment instruction, and the intelligent chip determines to adopt a corresponding serial port protocol according to the data returned by the traditional chip;
the intelligent chip sends an inquiry instruction to the traditional chip at regular time to inquire the running state of the equipment;
the traditional chip sends the current equipment running state to the intelligent chip after receiving the query instruction;
the intelligent chip sends information for processing the intelligent instruction into a basic control instruction to the traditional chip according to the running state of the equipment and then the information is executed by the traditional chip;
the intelligent chip and the traditional chip judge whether the running state and the communication of the other side are normal or not through a timed query instruction;
the main control communication protocol content between the intelligent chip and the traditional chip specifically comprises the following steps: frame head, frame type, frame length, equipment type, specific model, instruction type, instruction number, control command content in the instruction and verification.
2. The intelligent household appliance master control communication method according to claim 1, wherein the intelligent chip sends the query instruction to the traditional chip at a timing of 0.5 s.
3. The utility model provides an intelligence household electrical appliances master control communication system which characterized in that it includes intelligent chip and traditional chip, the instruction that is used for the operation between intelligent chip and the traditional chip contains master control communication protocol, master control communication protocol includes:
the device judgment protocol module is used for controlling the intelligent chip to send a judgment instruction to the traditional chip in the main control communication initialization process, and the traditional chip returns the type and the model of the device to the intelligent chip according to the received judgment instruction;
the control protocol module is used for packaging a control instruction into a communication packet according to the national standard protocol standard under the condition that the intelligent chip needs to change the state of the household appliance, and sending the communication packet to the traditional chip through a serial port, and the state of the household appliance is changed after the traditional chip is analyzed;
the query protocol module is used for packaging the query instruction into a communication packet according to the national standard protocol standard and sending the communication packet to the traditional chip through a serial port;
the reporting protocol module is used for packaging the running state of the household appliance into a communication packet according to the national standard protocol standard by the traditional chip, sending the communication packet to the intelligent chip through a serial port, and storing the state of the household appliance after the intelligent chip analyzes the communication packet;
the main control communication protocol content between the intelligent chip and the traditional chip specifically comprises the following steps: frame head, frame type, frame length, equipment type, specific model, instruction type, instruction number, control command content in the instruction and verification.
CN201610154295.7A 2016-03-17 2016-03-17 Intelligent household electrical appliance master control communication method and system Active CN105843046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610154295.7A CN105843046B (en) 2016-03-17 2016-03-17 Intelligent household electrical appliance master control communication method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610154295.7A CN105843046B (en) 2016-03-17 2016-03-17 Intelligent household electrical appliance master control communication method and system

Publications (2)

Publication Number Publication Date
CN105843046A CN105843046A (en) 2016-08-10
CN105843046B true CN105843046B (en) 2020-03-17

Family

ID=56587358

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610154295.7A Active CN105843046B (en) 2016-03-17 2016-03-17 Intelligent household electrical appliance master control communication method and system

Country Status (1)

Country Link
CN (1) CN105843046B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106338974B (en) * 2016-08-31 2018-11-23 杭州古北电子科技有限公司 A method of so that WiFi module is adapted to plurality of devices communications protocol
CN109782615A (en) * 2018-12-28 2019-05-21 宁波智轩物联网科技有限公司 A kind of home theater control system
CN112261605A (en) * 2020-10-27 2021-01-22 合肥美菱物联科技有限公司 Communication method of Internet of things tea bar machine

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119180A (en) * 2007-09-12 2008-02-06 当代天启技术(北京)有限公司 Data transmission method of intelligent domestic system
CN103217963A (en) * 2013-04-25 2013-07-24 四川长虹电器股份有限公司 General intelligent housing system
CN103268089A (en) * 2013-04-27 2013-08-28 四川长虹电器股份有限公司 Smart home control method based on WiFi communication
CN103796071A (en) * 2013-11-06 2014-05-14 四川长虹电器股份有限公司 Interaction method of smart phone and intelligent household electrical appliance

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826979A (en) * 2010-02-26 2010-09-08 中山大学 Intelligent home appliance system
DE102011118565A1 (en) * 2011-11-15 2013-05-16 Giesecke & Devrient Gmbh Smart home device, smart home control unit, smart home system and method for integrating a smart home device into a smart home system
CN103595717B (en) * 2013-11-13 2017-02-08 海信集团有限公司 Household appliance control protocol conversion method and control terminal
CN104079626A (en) * 2014-05-21 2014-10-01 四川长虹电器股份有限公司 Communication method for multiple indoor units and multiple outdoor units of air conditioners
CN104796688B (en) * 2015-03-20 2017-06-23 四川长虹电器股份有限公司 By the method for CEC communication detection equipment active states
CN105045109A (en) * 2015-05-26 2015-11-11 海信集团有限公司 Control method for terminal equipment, and network node equipment

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119180A (en) * 2007-09-12 2008-02-06 当代天启技术(北京)有限公司 Data transmission method of intelligent domestic system
CN103217963A (en) * 2013-04-25 2013-07-24 四川长虹电器股份有限公司 General intelligent housing system
CN103268089A (en) * 2013-04-27 2013-08-28 四川长虹电器股份有限公司 Smart home control method based on WiFi communication
CN103796071A (en) * 2013-11-06 2014-05-14 四川长虹电器股份有限公司 Interaction method of smart phone and intelligent household electrical appliance

Also Published As

Publication number Publication date
CN105843046A (en) 2016-08-10

Similar Documents

Publication Publication Date Title
CN112671638B (en) Gateway structure for multi-protocol conversion
WO2019091171A1 (en) Voice control method, device, system, and electronic apparatus for smart home appliance
EP3185482A1 (en) Intelligent home controller and communication method thereof
KR100615806B1 (en) Data receiving method for data link layer
CN105843046B (en) Intelligent household electrical appliance master control communication method and system
CN109067734B (en) Dynamic configuration method of communication protocol, wireless communication device and household appliance
US20130325994A1 (en) Ethernet communication system and method based on mmc/sd interface
CN112596406A (en) Control method and device of intelligent equipment, control panel and storage medium
CN102033540B (en) System for testing automobile instrument with a controller area network (CAN) bus and testing method thereof
CN105739464B (en) Master Communications method in intelligent appliance equipment
CN114222009A (en) Industrial communication multi-protocol conversion system
CN105703988A (en) WEB-based multiprotocol intelligent household gateway
CN110045705B (en) Intelligent home control method, device and system adopting heterogeneous wireless network
CN106909128B (en) A kind of motion control method for supporting motion-control module online upgrading
CN204376932U (en) A kind of intelligent domestic system
CN114915515B (en) CAN communication method and system based on SOC
CN107493394B (en) System and method for controlling Bluetooth equipment by mobile phone through Wi-Fi
CN114422288B (en) Communication system based on Modbus protocol
CN112637370B (en) Data processing method, device, equipment and storage medium
CN112152885B (en) Equipment control method and device, household appliance and remote control equipment
CN107171921B (en) Real-time communication method based on RS485 network
CN109634203B (en) Control system for controlling IO terminal based on numerical control controller and corresponding method
CN102833139A (en) Communication protocol of bus control system
CN112423280A (en) Wireless communication method, system and medium based on Bluetooth private protocol
CN112134771B (en) Half-duplex communication method for refrigerator and refrigerator

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant