CN106998293B - Intelligent protocol conversion gateway host - Google Patents

Intelligent protocol conversion gateway host Download PDF

Info

Publication number
CN106998293B
CN106998293B CN201710326551.0A CN201710326551A CN106998293B CN 106998293 B CN106998293 B CN 106998293B CN 201710326551 A CN201710326551 A CN 201710326551A CN 106998293 B CN106998293 B CN 106998293B
Authority
CN
China
Prior art keywords
data
unit
interface
real
time
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
CN201710326551.0A
Other languages
Chinese (zh)
Other versions
CN106998293A (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.)
Nanjing Souxin Intelligent Technology Co ltd
Original Assignee
Nanjing Souxin Intelligent Technology 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 Nanjing Souxin Intelligent Technology Co ltd filed Critical Nanjing Souxin Intelligent Technology Co ltd
Priority to CN201710326551.0A priority Critical patent/CN106998293B/en
Publication of CN106998293A publication Critical patent/CN106998293A/en
Application granted granted Critical
Publication of CN106998293B publication Critical patent/CN106998293B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/08Protocols for interworking; Protocol conversion
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total 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)
  • Computer Security & Cryptography (AREA)
  • Communication Control (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention discloses an intelligent protocol conversion gateway host, which has the technical scheme that the intelligent protocol conversion gateway host is characterized by comprising an interface unit, a central processing unit and a memory, wherein the central processing unit comprises a protocol type judging and binding unit and a data conversion unit, and the central processing unit receives real-time state data from a third party terminal and stores the real-time state data in a temporary cache area so as to facilitate real-time inquiry of an upper control terminal; and the central processing unit can store the real-time state data of the third party terminal in the memory according to the preset time node timing to form historical state data, and when the upper control terminal sends a historical inquiry command to the central processing unit, the central processing unit can retrieve the historical state data in the memory and feed the historical state data back to the upper control terminal.

Description

Intelligent protocol conversion gateway host
Technical Field
The invention relates to the technical field of communication, in particular to an intelligent protocol conversion gateway host.
Background
In the existing intelligent home, such as central air conditioner, floor heating, automatic curtain, dimming lamp, lamp strip, lamplight, sound equipment, fresh air machine and other household appliances, the manufacturers, production time and application occasions of the above equipment are different, so that the communication protocols adopted by the equipment are also quite different.
At present, chinese patent with bulletin number CN201887792U discloses a multi-protocol conversion gateway, and the binding unit and the data conversion unit can convert source communication protocol data from the data transmission device into target communication protocol data identifiable by the data receiving device according to communication protocol types of the data transmission device and the data receiving device by judging protocol types, so that types of the source communication protocol and the target communication protocol are not limited, and conversion can be performed on various existing standard protocols and manufacturer custom protocol data.
The multi-protocol conversion gateway solves the problems that the existing gateway can only convert a specific protocol, has single function and has poor reusability.
However, when the multi-protocol conversion gateway protocol is applied to the intelligent home, as the intelligent home has more home devices, the upper computer sends the query instruction sent by the upper computer to the central processing unit through the interface unit when carrying out fault information query and/or state information query on each home device, the central processing unit converts the query instruction and respectively sends the query instruction to the corresponding home devices, and fault information or state information fed back by the home devices is converted again through the central processing unit and fed back to the upper computer through the interface unit, so that the process of fault information and state information query is longer, the reaction speed is slower, and certain improvement exists.
Disclosure of Invention
Aiming at the defects existing in the prior art, the invention aims to provide an intelligent protocol conversion gateway host which has the characteristics of direct inquiry and high response speed.
The technical aim of the invention is realized by the following technical scheme:
the utility model provides an intelligent protocol conversion gateway host computer, includes interface unit, central processing unit and memory, and interface unit is used for establishing the connection with host control terminal and a plurality of third party terminal, and central processing unit includes that the protocol type judges and binds the unit, and connects respectively in the data conversion unit of protocol type judgement binding unit and interface unit, and central processing unit still includes:
the data query unit is connected with the data conversion unit and used for sending a real-time state query instruction to the third party terminal at regular time according to a preset time node;
the data receiving and transmitting unit is connected with the data conversion unit and used for receiving real-time state data fed back by the third-party terminal;
the temporary cache area is connected with the data receiving and transmitting unit and used for storing real-time state data fed back by the third party terminal;
the data calling unit is respectively connected with the data receiving and transmitting unit and the temporary cache area, and is used for receiving a real-time query command sent by the upper control terminal so as to call real-time state data of the third party terminal in the temporary cache area and sending the real-time state data into the upper control terminal through the data receiving and transmitting unit.
Preferably, the temporary buffer area is connected with a data storage unit, the data storage unit is connected with a memory, and the data storage unit is used for storing the real-time state data of the third party terminal in the temporary buffer area in the memory according to the preset time node timing so as to form the historical state data of the third party terminal.
Preferably, the data retrieving unit is further configured to receive a history query command sent by the upper control terminal, so as to retrieve history state data of the third party terminal in the memory, and send the history state data to the upper control terminal through the data transceiver unit.
Preferably, the time node can be set by an upper control terminal.
Preferably, the interval of the time nodes is between 0.5s and 5 s.
Preferably, the real-time status data is normal real-time status data or fault real-time status data.
Preferably, the interface unit comprises a plurality of serial interfaces and/or a plurality of ethernet interfaces and/or a plurality of CAN interfaces and/or a plurality of wireless communication interfaces.
Preferably, the serial interface is an RS232 interface, an RS485 interface or a USB interface.
Preferably, the wireless communication interface is a Zigbee wireless communication interface, and the data conversion unit is connected with the Zigbee wireless communication interface in a bidirectional communication manner through a UART interface.
Preferably, the wireless communication interface is a bluetooth interface or a Wifi interface or a GPRS module interface.
In summary, compared with the prior art, the invention has the following beneficial effects:
the data receiving and transmitting unit receives real-time state data from the third party terminal and stores the real-time state data in the temporary buffer area so as to facilitate real-time inquiry of the upper control terminal; and the data storage unit can store the real-time state data of the third party terminal in the memory according to the preset time node timing to form historical state data, and when the upper control terminal sends a historical query command to the central processing unit, the data retrieving unit can retrieve the historical state data in the memory and feed the historical state data back to the upper control terminal.
Drawings
FIG. 1 is a system block diagram of an intelligent protocol conversion gateway host;
fig. 2 is a system block diagram of a central processing unit.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
Referring to fig. 1 and 2, an intelligent protocol conversion gateway host includes an interface unit, a central processing unit, a memory, and a power supply unit for supplying power. The interface unit is used for establishing connection with the upper control terminal and the plurality of third party terminals, the central processing unit comprises a protocol type judging and binding unit and a data conversion unit respectively connected with the protocol type judging and binding unit and the interface unit, the protocol type judging and binding unit is used for judging the source communication protocol type of the upper control terminal and the target communication protocol type of the third party terminal and converting and binding, and the data conversion unit is used for converting the source communication protocol data into the target communication protocol data according to the processing result of the protocol type judging and binding unit.
The interface unit comprises a plurality of serial interfaces and/or a plurality of ethernet interfaces and/or a plurality of CAN interfaces and/or a plurality of wireless communication interfaces. In this embodiment, the serial interface is an RS232 interface, an RS485 interface, or a USB interface.
In one embodiment, the wireless communication interface is a Zigbee wireless communication interface, where the data conversion unit is connected with the Zigbee wireless communication interface through a UART interface in a bidirectional communication manner. In another embodiment, the wireless communication interface is a bluetooth interface, a Wifi interface, a GPRS module interface, a 3G module interface, or a 4G module interface.
It should be noted that, the upper control terminal is a terminal device such as a PC computer, a tablet computer, a notebook computer, etc., and the upper control terminal may be connected to any one of a serial interface, an ethernet interface, a CAN interface, or a wireless communication interface in the interface unit according to its own interface type to perform data interaction.
The third party terminals are household appliances in the intelligent home respectively, wherein the household appliances comprise, but are not limited to, a central air conditioner, a floor heater, an automatic curtain, a dimming lamp, a lamp strip, light, sound equipment and a fresh air machine. The third party terminals CAN be connected with any one of a serial interface, an Ethernet interface, a CAN interface or a wireless communication interface in the interface unit according to the interface type of the third party terminals so as to perform data interaction.
As shown in fig. 2, the central processing unit further includes a data query unit, a data transceiver unit, a temporary buffer area, and a data retrieval unit. The data query unit is connected with the data conversion unit, and the data receiving and transmitting unit is respectively and bidirectionally electrically connected with the data conversion unit, the data calling unit and the temporary cache area. The data storage unit is provided with an input end and an output end, the input end of the data storage unit is connected with the temporary cache area, the output end of the data storage unit is connected with the memory, and the memory is further connected with the data calling unit.
The data query unit is used for regularly sending a real-time state query instruction to the third party terminal according to a preset time node; the real-time state query instruction is converted into a communication protocol through the data conversion unit so as to be acquired by each third party terminal through the interface unit, and the third party terminal feeds back the real-time state data of the real-time state query instruction to the interface unit after acquiring the real-time state query instruction and converts the real-time state data into the communication protocol type recognized by the central processing unit through the data conversion unit.
It should be noted that, the preset time node may be set by the upper control terminal. In this embodiment, the preset time node interval is between 0.5s and 5 s.
The real-time status data is normal real-time status data or faulty real-time status data. Specifically, if the home device is normal, normal real-time status data is fed back, wherein the normal real-time status data includes, but is not limited to, voltage and current values of the home device and time and date when the real-time status data is generated. If the household electrical appliance is in fault, the real-time state data of the fault is fed back, wherein the real-time state data of the fault comprises, but is not limited to, the voltage and current values of the household electrical appliance, the reason of the fault and the time and date of the fault.
The data receiving and transmitting unit is used for receiving the real-time state data fed back by the third-party terminal, and storing the real-time state data of the third-party terminal in the temporary buffer area after receiving the real-time state data fed back by the third-party terminal.
When the upper control terminal wants to inquire the state data of the third party terminal, a real-time inquiry command is sent out from the upper control terminal, and the data acquisition unit receives the real-time inquiry command sent out from the upper control terminal to acquire the real-time state data of the third party terminal in the temporary cache area and sends the real-time state data to the upper control terminal through the data receiving and sending unit.
The data storage unit is used for storing the real-time state data of the third party terminal in the temporary buffer area in the memory according to the preset time node timing so as to form the historical state data of the third party terminal.
Specifically, after a preset time node passes, the data query unit sends a real-time state query instruction to the third party terminal again to obtain real-time state data of the third party terminal, and at this time, the state data of the third party terminal located in the temporary cache area is stored in the memory through the data storage unit to form historical state data of the third party terminal.
And when the upper control terminal wants to inquire the historical state data of the third party terminal, a historical inquiry command is sent out from the upper control terminal, and the data calling unit receives the historical inquiry command sent out from the upper control terminal so as to call the historical state data of the third party terminal in the memory and sends the historical state data to the upper control terminal through the data receiving and sending unit, so that the inquiry of the historical state data of the third party terminal is completed.
The foregoing is merely exemplary embodiments of the present invention and is not intended to limit the scope of the invention, which is defined by the appended claims.

Claims (8)

1. The utility model provides an intelligent protocol conversion gateway host computer, includes interface unit, central processing unit and memory, and interface unit is used for establishing the connection with host control terminal and a plurality of third party terminal, and central processing unit includes that the protocol type judges and binds the unit, and connects in the data conversion unit of protocol type judgement binding unit and interface unit respectively, its characterized in that, central processing unit still includes: the data query unit is connected with the data conversion unit and used for sending a real-time state query instruction to the third party terminal at regular time according to a preset time node;
the data receiving and transmitting unit is connected with the data conversion unit and used for receiving real-time state data fed back by the third-party terminal;
the temporary cache area is connected with the data receiving and transmitting unit and used for storing real-time state data fed back by the third party terminal; the temporary cache area is connected with a data storage unit, the data storage unit is connected with a memory, and the data storage unit is used for storing real-time state data of the third party terminal in the temporary cache area in the memory according to preset time node timing so as to form historical state data of the third party terminal;
the data calling unit is respectively connected with the data receiving and transmitting unit and the temporary cache area, and is used for receiving a real-time query command sent by the upper control terminal so as to call real-time state data of the third party terminal in the temporary cache area and sending the real-time state data into the upper control terminal through the data receiving and transmitting unit; the data calling unit is also used for receiving a history inquiry command sent by the upper control terminal so as to call the history state data of the third party terminal in the memory and send the history state data to the upper control terminal through the data receiving and sending unit.
2. The intelligent protocol conversion gateway host of claim 1, wherein the time node is settable by an upper control terminal.
3. An intelligent protocol conversion gateway host according to claim 2, wherein the time nodes are spaced between 0.5s and 5s apart.
4. The intelligent protocol conversion gateway host according to claim 1, wherein the real-time status data is normal real-time status data or failed real-time status data.
5. An intelligent protocol conversion gateway host according to claim 1, wherein the interface unit comprises a plurality of serial interfaces and/or a plurality of ethernet interfaces and/or a plurality of CAN interfaces and/or a plurality of wireless communication interfaces.
6. The intelligent protocol conversion gateway host according to claim 5, wherein the serial interface is an RS232 interface, an RS485 interface or a USB interface.
7. The intelligent protocol conversion gateway host according to claim 5, wherein the wireless communication interface is a Zigbee wireless communication interface, and the data conversion unit is in bidirectional communication connection with the Zigbee wireless communication interface through a UART interface.
8. The intelligent protocol conversion gateway host according to claim 5, wherein the wireless communication interface is a bluetooth interface, a Wifi interface, or a GPRS module interface.
CN201710326551.0A 2017-05-10 2017-05-10 Intelligent protocol conversion gateway host Active CN106998293B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710326551.0A CN106998293B (en) 2017-05-10 2017-05-10 Intelligent protocol conversion gateway host

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710326551.0A CN106998293B (en) 2017-05-10 2017-05-10 Intelligent protocol conversion gateway host

Publications (2)

Publication Number Publication Date
CN106998293A CN106998293A (en) 2017-08-01
CN106998293B true CN106998293B (en) 2023-06-20

Family

ID=59435325

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710326551.0A Active CN106998293B (en) 2017-05-10 2017-05-10 Intelligent protocol conversion gateway host

Country Status (1)

Country Link
CN (1) CN106998293B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724170A (en) * 2011-06-03 2012-10-10 北京天地互连信息技术有限公司 IPv6lowpan-based internet of things gateway supporting UGCCNet
CN104852845A (en) * 2015-03-11 2015-08-19 佛山职业技术学院 Internet of Things intelligent gateway

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201887792U (en) * 2010-09-27 2011-06-29 北京泰豪智能工程有限公司 Multi-protocol conversion gateway
CN104111634A (en) * 2013-04-17 2014-10-22 珠海格力电器股份有限公司 Smart home system and control method
CN104038414A (en) * 2013-08-21 2014-09-10 江南大学 Multiprotocol intelligent household gateway apparatus and system thereof
CN105577534A (en) * 2014-10-15 2016-05-11 珠海格力电器股份有限公司 Household intelligence gateway and intelligent household system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724170A (en) * 2011-06-03 2012-10-10 北京天地互连信息技术有限公司 IPv6lowpan-based internet of things gateway supporting UGCCNet
CN104852845A (en) * 2015-03-11 2015-08-19 佛山职业技术学院 Internet of Things intelligent gateway

Also Published As

Publication number Publication date
CN106998293A (en) 2017-08-01

Similar Documents

Publication Publication Date Title
EP2399364B1 (en) Lighting control network
JP2018500747A (en) LED lighting device, wireless network, and control method thereof
CN103326907A (en) Intelligent home network system and household appliance registration method thereof
EP3310133A1 (en) Led driver, lighting device and led based lighting application
TW201316640A (en) Intellectual power controlling system
CN106707786A (en) Smart home system
CN106998293B (en) Intelligent protocol conversion gateway host
CN106152386A (en) A kind of processing method and processing device of AIR COND SIG Air Conditioner Singnal
CN104749960A (en) Intelligent household system
JP2015119389A (en) Communication adapter
CN106851788B (en) Wireless communication system based on CC2530 chip
CN103002625A (en) Multi-protocol power switch control system
CN209158405U (en) A kind of wireless teaching system of robot
CN203120168U (en) WiFi control application system and improved client thereof
CN202261954U (en) Multi-protocol power switch control system
CN204904015U (en) Through wireless control system who removes equipment operation
CN221225379U (en) Remote control device for household appliances
CN205051911U (en) Bluetooth intelligence lamp
CN204288511U (en) A kind of learning-oriented infrared transponder based on 433M radio communication
CN212213300U (en) Double electric blanket
CN110366299A (en) A kind of lighting system and lighting system is closed with central control network and its control method
CN109379803A (en) A kind of intelligent light control system and its control method based on WIFI
CN103391279A (en) Communication protocol adapter for home automation systems
CN214205491U (en) Intelligent switch
CN113382054B (en) Internet of things-based small household appliance data communication 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