CN101795513B - Wireless urban lighting monitoring technique supporting multiple channels and multiple protocols - Google Patents

Wireless urban lighting monitoring technique supporting multiple channels and multiple protocols Download PDF

Info

Publication number
CN101795513B
CN101795513B CN 200910264110 CN200910264110A CN101795513B CN 101795513 B CN101795513 B CN 101795513B CN 200910264110 CN200910264110 CN 200910264110 CN 200910264110 A CN200910264110 A CN 200910264110A CN 101795513 B CN101795513 B CN 101795513B
Authority
CN
Grant status
Grant
Patent type
Prior art keywords
multiple
channels
lighting
protocol
monitoring
Prior art date
Application number
CN 200910264110
Other languages
Chinese (zh)
Other versions
CN101795513A (en )
Inventor
张俞
李宁华
黎晓明
Original Assignee
南京理工科技系统有限公司
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
Grant date

Links

Abstract

The invention discloses a wireless urban lighting monitoring technique supporting multiple channels and multiple protocols, which comprises; setting different channels for different communication modes such as RS232, networks and other communication interfaces, packaging each communication protocol as a protocol library, starting data of the protocol library for corresponding analysis when the central wireless lighting monitoring software controls a lighting monitoring terminal supporting the protocol, and transmitting data out through a corresponding channel or receiving data from a corresponding channel. The mode supporting multiple channels and multiple protocols can effectively save the cost and improve the management efficiency. Moreover, the invention is very convenient for the updating maintenance of the whole system.

Description

支持多信道、多协议的城市照明无线监控技术方法 It supports multi-channel, multi-protocol wireless monitoring technology and methods of urban lighting

技术领域 FIELD

[0001] 本发明适用于城市灯光照明、亮化集中控制,属于电子监控技术领域。 [0001] The present invention is applicable to urban lighting, lighting centralized control, electronic monitoring technical field belongs.

背景技术 Background technique

[0002] 目前,很多城市照明监控采用遥控、遥测、遥信三遥系统,实现了计算机远程监控和管理。 [0002] Currently, many urban lighting control using remote control, telemetry, remote three remote system, the remote monitoring and management. 城市照明无线监控终端一般采用专网(数传电台)或公网(GPRS)进行通信。 Urban lighting generally used wireless private network monitoring terminal (digital radio) or public network (GPRS) communication.

[0003] 目前城市照明无线监控系统大都采用专网(电台)或公网(GPRS/CDMA/3G)的方式进行组网通信,一般采用单通道、单协议的方式对其系统进行组网通信,即采用ー种通信组网方式加ー种通信协议进行照明监控管理,这种方式的弊端在于日后的升级换代过程中会造成资源上的浪费以及信息整合上的问题。 [0003] Currently, most urban lighting wireless monitoring system uses special network (radio) or public network (GPRS / CDMA / 3G) network communication groups manner, generally single-channel, one-way protocol to its networking communication system, that kind of communication using ー ー plus networking communication protocols for lighting monitoring and management, the drawbacks of this approach is that future upgrading process will cause problems in the waste of resources and information integration.

[0004] 资源浪费:如果客户需要扩容、而系统厂商的原有产品已经不再生产,客户要么需要将原有老的产品(包括中心站部分)全部更新换代,要么就必须在添置新终端产品的基础上,再在中心站添置新的监控主机及新的照明监控中心站软件。 [0004] waste of resources: If customers need to expand, and the system vendor's original product is no longer produced, the customer will need either the original old products (including part of the central station) all replacement, or to have to purchase a new terminal products basis, and then purchase a new host and a new lighting monitoring central station monitoring software at the central station.

[0005] 信息整合问题:不同协议版本的监控终端如果必须在不同版本的中心站软件上运行,这样对于ー个城市的照明监控管理来说,就存在控制分散、信息散乱的问题,不能做到对整个城市的所有路段进行及时、有效地集中控制和管理。 [0005] Information Integration: Different versions of the protocol monitoring terminal If you must run on different versions of the central station software, so for ー lighting management for cities, there is decentralized control, information scattered problems, can not do All sections of the city to make timely and effective centralized control and management.

发明内容 SUMMARY

[0006] 为了解决现有技术中存在的不足,本发明采用如下技术方案: [0006] In order to solve the problem present in the prior art, the present invention employs the following technical solutions:

[0007] —种城市照明无线监控技术方法,支持多信道、多协议通信,其特征在于:将不同的通信方法设置不同的信道,并且将每种通信协议封装成ー个协议库,照明无线监控中心站软件对支持该协议的照明监控终端进行控制吋,启用该协议库的数据,进行相应的解析,将数据通过对应的信道发送出去或从相应的信道接收数据。 [0007] - Species urban lighting wireless monitoring technology and methods to support multi-channel, multi-protocol communications, characterized by: setting different communication methods different channels, each communication protocol and encapsulated into a protocol library ー, lighting wireless monitoring the central station software that support the protocol control illumination inch monitor terminal, data of the protocol library is enabled, the corresponding analysis, the data sent or received data from a corresponding channel through the corresponding channel.

[0008]其中, [0008] wherein,

[0009] 所述多信道的实现:应用层数据的收发只和通信信道相关联;将信道中的通信设备抽象成ー个抽象类,各种不同的通信设备从该抽象类继承并实现其统ー的接ロ;通信信道中的相关内置对象,通信设备和通信协议和具体某一实际对象脱离耦合; [0009] The multichannel implementation: a transceiver and only the application-layer data associated with the communication channel; the communication device into a channel abstraction ー abstract class, variety of different communication devices that inherit from abstract class and implements its EC ro ー access; built-in objects associated communication channels, the communication device and a particular communication protocol and decoupled from the actual object;

[0010] 所述多协议的实现:采用数据字典的方式管理所有參数和数据项,能够兼容进来的协议中的核心数据项必须在数据字典中有定义;对应用层来说,其数据的收发只关心一组抽象数据,而有效屏蔽协议的细节,忽略协议中的具体定义及表现。 [0010] The multi-protocol implementation: data dictionary using all parameters and manage data items, the data items can be compatible with the core incoming protocol must be defined in the data dictionary; application layer, its data transceiver only concern a set of abstract data, effectively shield details of the protocol, showed negligible specific definition and protocol.

[0011] 系统同时引入ー个通信管理器模块,该模块负责管理通信信道对象以及各个信道和应用层的数据交换协调工作:当程序需要发送数据时,由应用层将ー组在数据字典中定义的抽象数据、任务编号以及相关配置參数传递通信管理器模块,通信管理器模块根据应用层传递的參数选择ー个对应的通信信道,然后信道将这组数据传递给其内部的协议对象,由协议对象负责将这组数据封装成指定协议的ニ进制数据流,之后再由通信设备对象负责将ニ进制数据流发往指定的接收者;当程序需要接收数据时,通信设备对象负责将ニ进制数据流从指定的发送者接收,由协议对象负责将这组数据封装成指定协议的ニ进制数据流,然后信道将这组数据由其内部的协议对象予以接收,通信管理器模块选择ー个对应的通信信道,将在数据字典中定义的抽象数据、任务编 [0011] system while introducing ー communication manager module that manages communications channel of the object, and a data exchange individual channels and the application layer coordination: When a program needs to send data, by the application layer ー group definition data dictionary abstract data, the task number and configuration parameters passed communication Manager module, the communication manager module based on the parameters passed to the application layer selected ー a corresponding communication channel, and the set of channel data transmitted to its internal protocol object, encapsulated by the protocol object is responsible for that data set into binary data flow designation ni protocol, then the communication device after the object is responsible for Ni binary data stream sent to the intended recipient; when the program needs to receive data, the communication device object is responsible for the Ni binary data stream received from the sender specified by the protocol object is responsible for that data set Ni binary data stream encapsulated in the specified protocol, and a channel to be received by the set of data objects inside the protocol, communication managerー module selects a corresponding communication channel, abstract data defined in the data dictionary, coding task 号以及相关配置參数予以接收并发送给应用层。 Number and configuration parameters to be sent to the receiving application layer.

[0012] 本发明创造的有益效果: [0012] The advantageous effects of the present inventions:

[0013] 如果采用多信道、多协议的方式,可以有效避免上述的问题,节省开支,提高管理效率,而且对于以后整个系统的升级维护来说也方便了很多。 [0013] If the multi-channel, multi-protocol mode using, can effectively avoid the above problems, save money, improve management efficiency, but also for the future upgrade and maintenance of the entire system is also a lot of convenience.

[0014] 就其实现来说,主要需要解决以下几个内容: [0014] for its implementation, the need to address the following main elements:

[0015] I)多信道:多信道的目的在于能够实现能够同时从多个通信设备上实现数据的收发功能,多个通信设备既可以是相同类型的硬件设备(如:电台+电台)也可以是不同类型的外部硬件设备(如:电台+GPRS),每ー个具体的硬件设备对应ー个信道,软件需要管理并协调好各个信道数据的收发工作; [0015] I) multichannel: a multichannel transceiver function object can be achieved simultaneously for data from a plurality of communication devices, the communication device may be a plurality of the same type of hardware devices (eg: + Radio stations) may be different types of external hardware devices (eg: radio + GPRS), each ー corresponding to a particular hardware device ー channels, software to manage and coordinate the respective sending and receiving channel data;

[0016] 2)多协议:软件需要能够将具体的业务数据需求采用不同的协议进行收发,并且程序的复杂度不应随着协议的増加而呈线形或指数增长;协议帧必须能够在不同的通信信道上进行传输,并且协议帧的收发不应该和具体的硬件设备特性相关联。 [0016] 2) Multi-protocol: The software needs to be able to service specific data needs to transmit and receive using different protocols, and the complexity of the program should not be in agreement as to increase in a linear or exponential growth; different protocol frame must be capable of a communication channel for transmission, and send and receive protocol frame should not specific characteristics associated hardware.

附图说明 BRIEF DESCRIPTION

[0017] 图I是本发明实施例的多协议的实现的示意图。 [0017] FIG. I is a schematic diagram of multi-protocol implemented embodiment of the present invention.

[0018] 图2是本发明实施例的多信道的实现的示意图。 [0018] FIG. 2 is a schematic diagram of a multi-channel implementation of the embodiment of the present invention.

[0019] 图3是本发明实施例的数据收发过程示意图。 [0019] FIG. 3 is a schematic diagram of an embodiment of data transmission and reception process of the present invention.

具体实施方式 detailed description

[0020] 以下通过具体实施例对本发明技术方案做进ー步的说明。 [0020] The following description made into ー further aspect of the present invention to specific embodiments.

[0021] 本发明创造,支持多信道、多协议的城市照明无线监控技术方法,将不同的通信方式,如RS232、网络等通信接ロ设置不同的信道,并且将每种通信协议封装成ー个协议库,照明无线监控中心站软件对支持该协议的照明监控终端进行控制吋,启用该协议库的数据,进行相应的解析,将数据通过对应的信道发送出去或从相应的信道接收数据。 [0021] The present invention is created to support multi-channel, multi-protocol wireless monitoring urban lighting art methods, the different communication modes, such as RS232, the communication networks of different access channels is provided ro, and the encapsulation of each protocol to a ーprotocol library, lighting wireless monitoring center software to support the protocol illumination monitoring terminal control inches, the data of the protocol library is enabled, the corresponding analysis, the data sent or received data from a corresponding channel through the corresponding channel.

[0022] 多协议的实现:采用数据字典的方式管理所有參数和数据项,能够兼容进来的协议中的核心数据项必须在数据字典中有定义,简单来说,数据字典就是ー个全集,各协议都是其子集。 Realization [0022] Multi-Protocol: Using data dictionary management of all parameters and data items, core data items can come in compatible protocol must be defined in the data dictionary, in simple terms, a data dictionary is ー The Complete Works, each protocol is a subset. 对应用层来说,其数据的收发只关心ー组抽象数据(其实体内容在数据字典中必须有定义),而不关心其在某一协议中的具体定义及表现,从而对应用层有效地屏蔽了协议的细节,使应用层不必频繁为协议的增加而不断修改。 For the application layer, which send and receive data only concern ー abstract data set (in fact, the contents thereof must be defined in the data dictionary), without regard to its performance in a specific and defined protocol, application layer to effectively shielding the details of the agreement, the application layer protocol does not have to frequently increase and continue to modify.

[0023] 本方案采用面向对象语言中的继承和多态特性进行设计实现,将所有协议抽象为ー个抽象的描述TRLPrtl,各具体协议都从该抽象类继承(T204Prtl,T205Prtl…),其上层对协议对象的引用只需提供对TRLPrtl对象的引用声明,供上层统ー处理不同协议对象,从而避免了对具体协议的直接关联。 [0023] The present embodiment uses inheritance and polymorphism characteristics of object-oriented languages ​​are designed to achieve, all protocols abstract ー abstract description TRLPrtl, each particular protocol inherits (T204Prtl, T205Prtl ...) from the abstract class, an upper layer a reference to the object of the agreement simply provides a reference to the statement of TRLPrtl object, the system for the upper ー objects to handle different protocols, thus avoiding direct link to specific protocols. 如图I所示,是本发明实施例的多协议的实现的示意图。 As shown in FIG. I is a schematic diagram of multi-protocol implemented according to an embodiment of the present invention.

[0024] 多信道的实现:一个信道包含三方面的内容:通信设备+通信协议+通信參数,应用层数据的收发只和通信信道相关联,不合具体的通信设备以及通信协议直接关联。 [0024] The implementation of multi-channel: a channel comprising three aspects: the communication device communication parameters + + communications protocol, the transceiver, and only the application-layer data associated with the communication channel, directly related to the specific sub-communication device and a communication protocol. [0025] 信道中的通信设备对象的设计也采用和协议设计相似的方法,即将通信设备抽象成ー个抽象类,各种不同的通信设备从该抽象类继承并实现其统ー的接ロ。 [0025] The channel communication device design object and protocol design also uses a similar method, i.e. ー communication device abstracted into an abstract class, variety of different communication devices that inherit from abstract class and implements its access system ー ro. 如图2所示,是本发明实施例的多信道的实现的示意图。 2 is a schematic view of a multi-channel implementation of an embodiment of the present invention.

[0026] 这样设计之后,通信信道中的相关内置对象(通信设备和协议)就和具体某ー实际对象脱离耦合了,即使以后有新的设备或协议增加,也不需要对通信信道类进行修改。 [0026] After such design, built-in objects associated communication channel (a communication device and protocol), and particularly to an actual object ー uncoupled, even after there is a new device to increase or protocol, no need to modify the type of communication channel .

[0027] 因为整个应用涉及到多个通信通道的数据收发任务,为此还要引入ー个通信管理器,该模块负责管理通信信道对象以及各个信道和应用层的数据交换协调工作。 [0027] Since the entire data transmission and reception tasks application related to a plurality of communication channels, for which also incorporated ー communication manager module manages the communication channel and the data objects of each channel and the coordination of the application layer switching. 当程序需要发送数据时,由应用层将ー组在数据字典中定义的抽象数据(以下简称数据)、任务编号以及相关配置參数传递通信管理器,通信管理器根据应用层传递的參数选择ー个对应的通 When a program needs to send data, by the application layer ー set of abstract data (hereinafter referred to as data) defined in the data dictionary, the job number and configuration parameters passed communication manager, the communications manager transmission parameter selection according to the application layer a corresponding through ー

信信道,然后信道将这组数据传递给其内部的协议对象,由协议对象负责将这组数据封装成指定协议的ニ进制数据流,之后再由通信设备对象负责将ニ进制数据流发往指定的接收者;接收数据的原理和发送过程正好相反。 Communication channel and the channel to which the set of data transfer protocol inside the object, the object is responsible for that data set by the protocol specified protocol encapsulated ni binary data stream, and then after the target communication device responsible Ni binary datastream to the designated recipient; principles and receiving data transmission process is reversed. 如图3所示,是本发明实施例的数据收发过程示意图。 3, a data transmission and reception process schematic of an embodiment of the present invention.

[0028] 虽然本发明已以较佳实施例公开如上,但它们并不是用来限定本发明,任何熟悉此技艺者,在不脱离本发明之精神和范围内,自当可作各种变化或润饰,因此本发明的保护范围应当以本申请的权利要求保护范围所界定的为准。 [0028] While the present invention has been described by way of preferred embodiments of the present disclosure, but they are not intended to limit the present invention, those skilled in this art, without departing from the spirit and scope of the present invention, since various changes may be made or when retouch, and the scope of the present invention should apply to the scope of the claims and their equivalents.

Claims (3)

  1. 1. ー种城市照明无线监控技术方法,支持多信道、多协议通信,其特征在于:将不同的通信方式设置成不同的信道,并且将所有通信协议封装成ー个协议库,照明无线监控中心站软件对支持某一协议的照明监控终端进行控制时,启用协议库中对应的协议对象,对数据进行相应的封装和解析,将数据通过对应的信道发送出去或从相应的信道接收数据; 所述多信道的实现:将不同通信协议和对应传输设备组成多个通信信道,应用层数据的收发只和通信信道关联;将信道中的通信设备抽象成ー个抽象类,各种不同的通信设备从该抽象类继承并实现统ー的接ロ;通信信道对应用层提供统ー的操作接ロ,屏蔽具体的数据传输过程。 1. Species urban lighting wireless monitoring ー art methods, support multi-channel, multi-protocol communications, characterized by: set different communication modes into different channels, and the communication protocol to encapsulate all libraries ー protocols, wireless lighting control center when station software support a certain lighting monitoring terminal control protocol object to enable protocol library corresponding data corresponding package and parsing the data sent or received data from a corresponding channel through a channel corresponding to; the said multichannel implementation: corresponding to the different communication protocols and transmission equipment consisting of a plurality of communication channels, only the application-layer data transceiver and the associated communication channel; abstract communication device into a channel ー abstract class, variety of different communication devices Inheritance and achieve system access ー ro from the abstract class; communication channel operating system provides the application layer connection ー ro, block individual data transmission process.
  2. 2.根据权利要求I所述的城市照明无线监控技术方法,其特征在于: 所述多协议的实现:采用数据字典的方式管理所有參数和数据项,能够兼容进来的协议中的核心数据项必须在数据字典中有定义;对应用层来说,其数据的收发只关心ー组抽象数据,而有效屏蔽协议的细节,忽略协议中的具体定义及表现。 The urban lighting art wireless monitoring method according to claim I, wherein: said multi-protocol implemented: using a data dictionary and manage data items of all the parameters, core data items compatible with the incoming protocol must be defined in the data dictionary; for the application layer, which send and receive data only concern ー set of abstract data, effectively shield details of the protocol, showed negligible specific definition and protocol.
  3. 3.根据权利要求2所述的城市照明无线监控技术方法,其特征在于: 引入ー个通信管理模块,该模块负责管理通信信道对象以及各个信道和应用层的数据交换协调工作:当程序需要发送数据时,由应用层将ー组在数据字典中定义的抽象数据、任务编号以及相关配置參数传递通信管理模块,通信管理模块根据应用层传递的參数选择ー个对应的通信信道,然后信道将这组数据传递给其内部的协议对象,由协议对象负责将这组数据封装成指定协议的ニ进制数据流,之后再由通信设备对象负责将ニ进制数据流发往指定的接收者;当程序需要接收数据时,通信设备对象负责将ニ进制数据流从指定的发送者接收,由协议对象负责将这组数据封装成应用层所需的抽象数据,并交给通信管理模块转发给应用层。 The urban lighting wireless monitoring technology method according to claim 2, wherein: introducing ー communication manager module that manages communications channel objects and data exchange coordination of the individual channels and the application layer: When a program needs to be sent data, by the application layer ー set of abstract data defined in the data dictionary, the job number and configuration parameters transmitted communication management module, the communication management module selects ー a corresponding communication channel based on the parameters the application layer transmitted, then the channel this set of data transfer to its internal protocol objects, protocol objects responsible for that data set Ni binary data stream encapsulated in the specified protocol, and then from the communication device after the object is responsible for Ni binary data stream sent to the intended recipient ; when a program needs to receive data, the communication device is responsible for receiving the object Ni binary data stream from the sender designated responsible abstract data required for that data set by the application layer protocol encapsulated in the object, and forwarding to the communication management module to the application layer.
CN 200910264110 2009-12-30 2009-12-30 Wireless urban lighting monitoring technique supporting multiple channels and multiple protocols CN101795513B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200910264110 CN101795513B (en) 2009-12-30 2009-12-30 Wireless urban lighting monitoring technique supporting multiple channels and multiple protocols

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200910264110 CN101795513B (en) 2009-12-30 2009-12-30 Wireless urban lighting monitoring technique supporting multiple channels and multiple protocols

Publications (2)

Publication Number Publication Date
CN101795513A true CN101795513A (en) 2010-08-04
CN101795513B true CN101795513B (en) 2012-11-14

Family

ID=42587873

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200910264110 CN101795513B (en) 2009-12-30 2009-12-30 Wireless urban lighting monitoring technique supporting multiple channels and multiple protocols

Country Status (1)

Country Link
CN (1) CN101795513B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103457865B (en) * 2012-05-28 2017-08-29 北京山海经纬信息技术有限公司 A communication device and method for hierarchical multi-channel multi-protocol data transmission

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1618208A (en) 2001-11-27 2005-05-18 英特尔公司 Device and method for intelligent wireless communication selection
CN1655555A (en) 2004-02-13 2005-08-17 美国博通公司 Method, apparatus and system for multiple protocol wireless communications in a WLAN

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1618208A (en) 2001-11-27 2005-05-18 英特尔公司 Device and method for intelligent wireless communication selection
CN1655555A (en) 2004-02-13 2005-08-17 美国博通公司 Method, apparatus and system for multiple protocol wireless communications in a WLAN

Also Published As

Publication number Publication date Type
CN101795513A (en) 2010-08-04 application

Similar Documents

Publication Publication Date Title
Lin et al. Wireless network cloud: Architecture and system requirements
CN102025577A (en) Network system of Internet of things and data processing method thereof
CN101800652A (en) Mode switching method and system of serial port and Ethernet and industrial Ethernet switch
CN102255908A (en) Internet of things gateway protocol consistency realization method
CN102045896A (en) Virtual Internet-of-things gateway system capable of realizing multiprotocol and network self-adapting
CN1411214A (en) Network equipment management method based on ethernet technology
CN101964749A (en) Message retransmission method and system based on multi-core architecture
CN101340340A (en) Access point configuring management method and access controller
CN1987925A (en) Complex front platform of financial system and transfering method transaction data
CN103095565A (en) Software definition network operating system and implement method thereof
CN101047549A (en) Data synchronous system and its method
CN101056202A (en) A method for realizing the multi-task polling in the network management monitoring system
CN102571550A (en) General information interaction platform and method
CN101771572A (en) Method for batch configuration of service of passive optical network equipment
CN1588949A (en) Complex service open system for mobile communication and its realizing method
CN1703023A (en) CHINAMDN based wireless transparent D2D system transmission method
CN102761864A (en) Data transmission method, system and device
CN102567611A (en) Telemedicine system and telemedicine equipment
CN101986612A (en) Home automation network system and management system
WO2001059993A2 (en) Systems and methods for wireless communications
CN103049414A (en) Method for converting and transmitting data between FC (fiber channel) bus and CAN (controller area network) bus
CN101826979A (en) Intelligent home appliance system
CN102420827A (en) Web service push method facing intelligent mobile platform
CN103716908A (en) Indoor integration network system based on visible light communication and communication access method
CN101141731A (en) method and apparatus for implementing terminal network locking

Legal Events

Date Code Title Description
C06 Publication
C10 Request of examination as to substance
C14 Granted