CN111585941B - Method and system compatible with various automatic control protocols - Google Patents
Method and system compatible with various automatic control protocols Download PDFInfo
- Publication number
- CN111585941B CN111585941B CN201910128375.9A CN201910128375A CN111585941B CN 111585941 B CN111585941 B CN 111585941B CN 201910128375 A CN201910128375 A CN 201910128375A CN 111585941 B CN111585941 B CN 111585941B
- Authority
- CN
- China
- Prior art keywords
- control
- information
- equipment
- identification information
- acquiring
- 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
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/08—Protocols for interworking; Protocol conversion
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2803—Home automation networks
- H04L12/2816—Controlling appliance services of a home automation network by calling their functionalities
-
- 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
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Automation & Control Theory (AREA)
- Computer Security & Cryptography (AREA)
- Communication Control (AREA)
Abstract
The invention provides a method and a system compatible with various automatic control protocols, comprising the steps of obtaining equipment connection information, wherein the equipment connection information comprises equipment layer information, service layer information and attribute layer information, obtaining identification information of control equipment according to the equipment layer information, marking the identification information as control equipment identification information, obtaining a control instruction set of the control equipment according to the service layer information, marking the control instruction set as a matching instruction set, obtaining control instructions of the control equipment according to the attribute layer information and the matching instruction set, marking the control instructions as first control instructions, and controlling the receiving equipment to operate according to the first control instructions; according to the method, the control information sent by the multiple communication protocols is uniformly converted into the MLP protocol and then the data is transmitted in a layered manner, so that the connection among intelligent home accessories of different protocols is realized, and the aim of compatibility of multiple protocols is fulfilled.
Description
Technical Field
The present invention relates to the field of information communication, and in particular, to a method and system compatible with multiple automation control protocols.
Background
At present, various wireless communication protocols exist in the field of intelligent home, mainly including Zigbee, Z-Wave, wi-Fi, bluetooth, red and the like, but due to the fact that data structures among different protocols are different, data interaction among intelligent home devices using different communication protocols cannot be performed, linkage among all intelligent home devices cannot be caused, the range of intelligent home accessories selected by a user is limited to a great extent, and user experience is reduced.
Disclosure of Invention
In order to solve the technical problems, the invention provides a method and a system compatible with various automatic control protocols, which can simultaneously support various communication protocols and realize the connection between intelligent home accessories of different protocols, thereby achieving the purpose of compatibility with multiple protocols, enabling a user to select one of the intelligent home accessories of the four protocols with high cost performance and saving cost.
In a first aspect, the invention comprises a method of adapting to a plurality of automation control protocols, comprising;
acquiring equipment connection information, wherein the equipment connection information comprises equipment layer information, service layer information and attribute layer information;
acquiring identification information of control equipment according to the equipment layer information, and marking the identification information as control equipment identification information;
acquiring a control instruction set of the control equipment according to the service layer information, and marking the control instruction set as a matching instruction set;
acquiring a control instruction of the control equipment according to the attribute layer information and the matching instruction set, and recording the control instruction as a first control instruction;
and controlling the receiving equipment to operate according to the first control instruction.
Further, the obtaining the type information of the control device according to the device layer information is recorded as the type information of the control device, and specifically includes:
acquiring a preset control equipment type set;
acquiring the identification information of the control equipment contained in the equipment layer information, and marking the identification information as matching identification information;
judging that when the preset control equipment type set is successfully matched with the matching identification information;
and recording the matching identification information as control equipment identification information.
Further, the obtaining the control instruction set of the control device according to the service layer information and the control device identification information specifically includes:
acquiring a preset control information set contained in the service layer information;
and acquiring control instructions of at least one control device from the preset control information set according to the control device identification information, and recording the control instructions as a matching instruction set.
Further, the control instruction of the control device is obtained according to the attribute layer information and the matching instruction set and is recorded as a first control instruction, which specifically includes:
acquiring a device control instruction contained in the attribute layer information;
judging when the matching instruction set contains the equipment control instruction;
the device control instruction is noted as a first control instruction.
In a second aspect, the invention also comprises a system compatible with various automatic control protocols, which comprises an information receiving module, an information obtaining module and a control module, wherein the modules are mutually connected;
the information receiving module is used for obtaining equipment connection information, wherein the equipment connection information comprises equipment layer information, service layer information and attribute layer information;
the information acquisition module is used for acquiring the identification information of the control equipment according to the equipment layer information and marking the identification information as the control equipment identification information;
the information acquisition module is also used for acquiring a control instruction set of the control equipment according to the service layer information and recording the control instruction set as a matching instruction set;
the information acquisition module is also used for acquiring a control instruction of the control equipment according to the attribute layer information and the matching instruction set, and recording the control instruction as a first control instruction;
the control module is used for controlling the receiving equipment to operate according to the first control instruction.
Further, the system compatible with the plurality of automation control protocols further comprises a judging module, wherein the judging module is connected with the other modules;
the information acquisition module is used for acquiring the identification information of the control equipment according to the equipment layer information and recording the identification information as the control equipment identification information, and specifically comprises;
the information acquisition module is also used for acquiring a preset control equipment type set;
the information acquisition module is also used for acquiring the identification information of the control equipment contained in the equipment layer information and marking the identification information as matching identification information;
the judging module is used for judging that when the preset control equipment type set is successfully matched with the matching identification information;
the control module is also used for marking the matching identification information as control equipment identification information.
Further, the information obtaining module is further configured to obtain, according to the service layer information, a manipulation instruction set of the control device, and record the manipulation instruction set as a matching instruction set, and specifically includes:
the information acquisition module is also used for acquiring a preset control information set contained in the service layer information;
the information acquisition module is also used for acquiring control instructions of at least one control device from the preset control information set according to the control device identification information and recording the control instructions as a matching instruction set.
Further, the information obtaining module is further configured to obtain a control instruction of the control device according to the attribute layer information and the matching instruction set, and record the control instruction as a first control instruction, and specifically includes:
the information acquisition module is also used for acquiring equipment control instructions contained in the attribute layer information;
the judging module is further used for judging when the matching instruction set contains the equipment control instruction;
the control module is also configured to record the device control instruction as a first control instruction.
By adopting the technical scheme, the connection among intelligent home accessories of different protocols is realized by uniformly converting the control information sent by other communication protocols into the MLP protocol and then carrying out layered retransmission, so that the aim of compatibility with multiple protocols is fulfilled, a user can select one with high cost performance from the intelligent home accessories of the four protocols, and the cost is saved.
Drawings
FIG. 1 is a flow chart of a method compatible with multiple automatic control protocols according to one embodiment of the present invention;
FIG. 2 is a flow chart of a method in accordance with a further embodiment of the present invention compatible with multiple automation control protocols;
FIG. 3 is a flow chart of a method compatible with multiple automatic control protocols according to another embodiment of the present invention;
FIG. 4 is a flow chart of a method compatible with multiple automation control protocols according to another embodiment of the present invention;
FIG. 5 is a system architecture diagram of one embodiment of a system compatible with multiple automation control protocols in accordance with the present invention;
the reference numerals in the figures are: 10-information receiving module, 20-information obtaining module, 30-control module, 40-judging module.
Detailed Description
The following describes the embodiments of the present invention further with reference to the drawings. The description of these embodiments is provided to assist understanding of the present invention, but is not intended to limit the present invention. In addition, the technical features of the embodiments of the present invention described below may be combined with each other as long as they do not collide with each other.
In a first aspect, the invention comprises a method for compatibility with a plurality of automation control protocols, as shown in FIG. 1, comprising;
s100, acquiring equipment connection information, wherein the equipment connection information comprises equipment layer information, service layer information and attribute layer information;
s200, acquiring identification information of control equipment according to the equipment layer information, and marking the identification information as the control equipment identification information;
s300, acquiring a control instruction set of the control equipment according to the service layer information, and recording the control instruction set as a matching instruction set;
s400, acquiring a control instruction of the control equipment according to the attribute layer information and the matching instruction set, and recording the control instruction as a first control instruction;
s500, controlling the receiving equipment to operate according to the first control instruction.
Further, as shown in fig. 2, the step S200 specifically includes:
s201, acquiring a preset control equipment type set;
s202, acquiring the identification information of the control equipment contained in the equipment layer information, and marking the identification information as matching identification information;
s203, judging that when the preset control equipment type set is successfully matched with the matching identification information;
s204, marking the matching identification information as control equipment identification information.
Further, as shown in fig. 3, the step S300 specifically includes:
s301, acquiring a preset control information set contained in the service layer information;
s302, acquiring control instructions of at least one control device from the preset control information set according to the control device identification information, and recording the control instructions as a matching instruction set.
Further, as shown in fig. 4, the step S400 specifically includes:
s401, acquiring a device control instruction contained in the attribute layer information;
s402, judging when the matching instruction set contains the equipment control instruction;
s403, recording the equipment control instruction as a first control instruction.
In a second aspect, the present invention further includes a system compatible with multiple automation control protocols, as shown in fig. 5, including an information receiving module 10, an information obtaining module 20, and a control module 30, where the modules are connected to each other;
the information receiving module 10 is configured to obtain device connection information, where the device connection information includes device layer information, service layer information, and attribute layer information;
the information acquisition module 20 is configured to acquire identification information of the control device according to the device layer information, and record the identification information as control device identification information;
the information acquisition module 20 is further configured to acquire a manipulation instruction set of the control device according to the service layer information, and record the manipulation instruction set as a matching instruction set;
the information obtaining module 20 is further configured to obtain a control instruction of the control device according to the attribute layer information and the matching instruction set, and record the control instruction as a first control instruction;
the control module 30 is configured to control the receiving device to operate according to the first control instruction.
Further, as shown in fig. 5, the system compatible with multiple automation control protocols further includes a judging module 40, where the judging module 40 is connected with the other modules;
the information obtaining module 20 is configured to obtain, according to the device layer information, identification information of the control device, and record the identification information as control device identification information, and specifically includes;
the information acquisition module 20 is further configured to acquire a preset control device type set;
the information obtaining module 20 is further configured to obtain identification information of the control device included in the device layer information, and record the identification information as matching identification information;
the judging module 40 is configured to judge that when the preset control device type set is successfully matched with the matching identifier information;
the control module 30 is further configured to record the matching identification information as control device identification information.
Further, the information obtaining module 20 is further configured to obtain, according to the service layer information, a manipulation instruction set of the control device, denoted as a matching instruction set, and specifically includes:
the information obtaining module 20 is further configured to obtain a preset control information set included in the service layer information;
the information obtaining module 20 is further configured to obtain, according to the control device identification information, a control instruction of at least one control device from the preset control information set, and record the control instruction as a matching instruction set.
Further, the information obtaining module 20 is further configured to obtain a control instruction of the control device according to the attribute layer information and the matching instruction set, and record the control instruction as a first control instruction, and specifically includes:
the information obtaining module 20 is further configured to obtain an equipment control instruction contained in the attribute layer information;
the judging module 40 is further configured to judge when the matching instruction set includes the device control instruction;
the control module 30 is further configured to record the device control command as a first control command.
In another specific application scenario of the present invention, each module is integrated in a background server;
when a door and window sensor using a Zigbee frequency band needs to interact with a Zigbee frequency band air conditioner, after a door is opened, the door and window sensor sends a piece of equipment connection information to a background server, and at the moment, the background server acquires equipment layer information, service layer information and attribute layer information from the equipment connection information; firstly, the background server firstly acquires a preset control equipment type set, acquires the identification information of the control equipment from the equipment layer information to be a frequency band air conditioner, searches whether the control equipment type of a frequency band air conditioner identification exists from the control equipment type set at the moment, and acquires a preset control information set and a control instruction set of the frequency band air conditioner from the preset control information set after judging that the type exists; and finally, the background controller acquires the equipment control instruction of the frequency band air conditioner from the attribute layer information, and judges that when the equipment control instruction of the frequency band air conditioner exists in the control instruction set of the frequency band air conditioner, the background server controls the frequency band air conditioner to be started according to the control instruction of the frequency band air conditioner.
The embodiments of the present invention have been described in detail above with reference to the accompanying drawings, but the present invention is not limited to the described embodiments. It will be apparent to those skilled in the art that various changes, modifications, substitutions and alterations can be made to these embodiments without departing from the principles and spirit of the invention, and yet fall within the scope of the invention.
Claims (7)
1. A method for compatibility with a plurality of automation control protocols, comprising;
the communication protocol of the transmitted control information is converted into an MLP protocol,
acquiring equipment connection information after a communication protocol is converted into an MLP protocol, wherein the equipment connection information comprises equipment layer information, service layer information and attribute layer information;
acquiring identification information of control equipment according to the equipment layer information, and marking the identification information as control equipment identification information; the method specifically comprises the following steps:
acquiring a preset control equipment type set;
acquiring the identification information of the control equipment contained in the equipment layer information, and marking the identification information as matching identification information;
judging that when the preset control equipment type set is successfully matched with the matching identification information;
marking the matching identification information as control equipment identification information;
acquiring a control instruction set of the control equipment according to the service layer information, and marking the control instruction set as a matching instruction set;
acquiring a control instruction of the control equipment according to the attribute layer information and the matching instruction set, and recording the control instruction as a first control instruction;
and controlling the receiving equipment to operate according to the first control instruction.
2. The method for implementing multiple automation control protocols according to claim 1, wherein said obtaining a manipulation instruction set of said control device according to said service layer information and said control device identification information specifically comprises:
acquiring a preset control information set contained in the service layer information;
and acquiring control instructions of at least one control device from the preset control information set according to the control device identification information, and recording the control instructions as a matching instruction set.
3. The method of claim 1, wherein the obtaining the control command of the control device according to the attribute layer information and the matching command set is denoted as a first control command, and specifically comprises:
acquiring a device control instruction contained in the attribute layer information;
judging when the matching instruction set contains the equipment control instruction;
the device control instruction is noted as a first control instruction.
4. A system compatible with various automatic control protocols is characterized by comprising an information receiving module, an information acquisition module, a control module and a judging module, wherein the modules are mutually connected;
the communication protocol of the transmitted control information is converted into an MLP protocol,
the information receiving module is used for obtaining equipment connection information after the communication protocol is converted into the MLP protocol, and the equipment connection information comprises equipment layer information, service layer information and attribute layer information;
the information acquisition module is used for acquiring the identification information of the control equipment according to the equipment layer information and marking the identification information as the control equipment identification information; the method specifically comprises the following steps of;
the information acquisition module is also used for acquiring a preset control equipment type set;
the information acquisition module is also used for acquiring the identification information of the control equipment contained in the equipment layer information and marking the identification information as matching identification information;
the judging module is used for judging that when the preset control equipment type set is successfully matched with the matching identification information;
the control module is also used for marking the matching identification information as control equipment identification information;
the information acquisition module is also used for acquiring a control instruction set of the control equipment according to the service layer information and recording the control instruction set as a matching instruction set;
the information acquisition module is also used for acquiring a control instruction of the control equipment according to the attribute layer information and the matching instruction set, and recording the control instruction as a first control instruction;
the control module is used for controlling the operation of the receiving equipment according to the first control instruction.
5. The system of claim 4, wherein the determination module is coupled to other modules.
6. The system compatible with multiple automation control protocols according to claim 4, wherein said information obtaining module is further configured to obtain a manipulation instruction set of said control device according to said service layer information, denoted as a matching instruction set, specifically comprising:
the information acquisition module is also used for acquiring a preset control information set contained in the service layer information;
the information acquisition module is also used for acquiring control instructions of at least one control device from the preset control information set according to the control device identification information and recording the control instructions as a matching instruction set.
7. The system compatible with multiple automation control protocols according to claim 4, wherein said information obtaining module is further configured to obtain a control instruction of said control device according to said attribute layer information and said matching instruction set, denoted as a first control instruction, specifically comprising:
the information acquisition module is also used for acquiring equipment control instructions contained in the attribute layer information;
the judging module is further used for judging when the matching instruction set contains the equipment control instruction;
the control module is also configured to record the device control instruction as a first control instruction.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910128375.9A CN111585941B (en) | 2019-02-18 | 2019-02-18 | Method and system compatible with various automatic control protocols |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910128375.9A CN111585941B (en) | 2019-02-18 | 2019-02-18 | Method and system compatible with various automatic control protocols |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111585941A CN111585941A (en) | 2020-08-25 |
CN111585941B true CN111585941B (en) | 2023-06-02 |
Family
ID=72124289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910128375.9A Active CN111585941B (en) | 2019-02-18 | 2019-02-18 | Method and system compatible with various automatic control protocols |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111585941B (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105513326A (en) * | 2015-09-30 | 2016-04-20 | 北京清川科技有限公司 | Intelligent household appliance control system, server and method |
CN105577493A (en) * | 2016-01-04 | 2016-05-11 | 青岛海信电器股份有限公司 | Control method and device of smart home devices and system |
CN107608225A (en) * | 2017-09-29 | 2018-01-19 | 深圳市艾特智能科技有限公司 | Control method, system, storage medium and the computer equipment of intelligent home device |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR20170060598A (en) * | 2015-11-24 | 2017-06-01 | 삼성전자주식회사 | Smart home service server, and control method for the same |
CN106911949A (en) * | 2015-12-23 | 2017-06-30 | 北京奇虎科技有限公司 | A kind of method and mobile terminal based on mobile terminal control apparatus equipment |
CN108111379A (en) * | 2018-01-11 | 2018-06-01 | 新华三技术有限公司 | A kind of method and apparatus for controlling smart home device |
CN108537300B (en) * | 2018-03-07 | 2021-07-16 | 青岛海尔科技有限公司 | Equipment control method, device, medium and computer equipment |
-
2019
- 2019-02-18 CN CN201910128375.9A patent/CN111585941B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105513326A (en) * | 2015-09-30 | 2016-04-20 | 北京清川科技有限公司 | Intelligent household appliance control system, server and method |
CN105577493A (en) * | 2016-01-04 | 2016-05-11 | 青岛海信电器股份有限公司 | Control method and device of smart home devices and system |
CN107608225A (en) * | 2017-09-29 | 2018-01-19 | 深圳市艾特智能科技有限公司 | Control method, system, storage medium and the computer equipment of intelligent home device |
Also Published As
Publication number | Publication date |
---|---|
CN111585941A (en) | 2020-08-25 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10261530B2 (en) | Control device, components, and mobile service device for an HVAC system | |
US9332559B2 (en) | Method and channel selector for selecting an operation channel, and wireless network connecting apparatus including the channel selector | |
CN102076119B (en) | Radiation imaging system and method for radiation imaging system | |
US7826395B2 (en) | Communication system using zigbee and method of controlling the same | |
US9106475B2 (en) | Protocol conversion device and protocol conversion method | |
WO2019174504A1 (en) | Method and device for establishing a logical channel, and vehicle communication interface (vci) | |
EP2879332A1 (en) | Communication apparatus, communication relay apparatus and communication system | |
US20060106912A1 (en) | Outdoor-unit software upgrade system and method | |
US8503319B2 (en) | Data processor and communication system | |
EP3534257A1 (en) | System for updating software in moving body using vehicle-mounted gateway | |
JP5598505B2 (en) | Gateway device, communication system, and communication method | |
CN101567823B (en) | Communication system using ZigBee and method for controlling same | |
US10326659B2 (en) | Device and method for automatic switching of communication protocol of network devices based on user action | |
CN102547850A (en) | Method for realizing CAPWAP (Control and Provisioning of Wireless Access Points) tunnel | |
CN111585941B (en) | Method and system compatible with various automatic control protocols | |
CN103428725A (en) | Method and system for controlling data traffic on mobile device | |
US10348390B2 (en) | Backhaul device and backhaul device control method | |
CN112104591B (en) | Communication device of controller and communication method thereof | |
JP6779324B2 (en) | Communication methods and communication systems that adjust channels based on scan results | |
CN102246469A (en) | Data transfer device | |
CN214959616U (en) | Elevator connecting system | |
CN106297225A (en) | The remote control thereof of a kind of home controller and system | |
CN117242801A (en) | Method, device and system for configuring side link DRX | |
CN2729567Y (en) | Remote monitoring air conditioner with blue tooth technology | |
JP2004301430A (en) | Network air conditioning system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |