CN101826997A - Communication method of newly accessed intelligent equipment, device and monitoring system - Google Patents
Communication method of newly accessed intelligent equipment, device and monitoring system Download PDFInfo
- Publication number
- CN101826997A CN101826997A CN 201010154748 CN201010154748A CN101826997A CN 101826997 A CN101826997 A CN 101826997A CN 201010154748 CN201010154748 CN 201010154748 CN 201010154748 A CN201010154748 A CN 201010154748A CN 101826997 A CN101826997 A CN 101826997A
- Authority
- CN
- China
- Prior art keywords
- public
- descriptive language
- smart machine
- intelligent equipment
- agreement configuration
- 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.)
- Granted
Links
Images
Abstract
The invention applies to the field of monitoring of machine rooms, and discloses a communication method of newly accessed intelligent equipment, a device and a monitoring system. The method comprises the following steps: obtaining protocol information for the accessed intelligent equipment; according to public description languages pre-stored in the system, extracting characteristic data of the protocol information; according to the public description languages, modeling the characteristic data and packaging into a protocol configuration format, wherein the packaged protocol configuration is matched with the public description languages; and according to the assembled protocol configuration, realizing the communication with the intelligent equipment. Through the pre-stored public description languages, the protocol adaptation of the newly accessed intelligent equipment is carried out according to the public description languages, and the communication is carried out according to the adapted protocol; and a protocol code program does not need to be rewritten for the newly accessed intelligent equipment, thereby, the maintenance cost of the monitoring system is greatly reduced, and the maintenance efficiency of the monitoring system is improved.
Description
Technical field
The invention belongs to the center monitoring field, relate in particular to a kind of communication means, device and supervisory control system of newly accessed intelligent equipment.
Background technology
Along with the continuous development of computer room safety monitoring technique, the user is also more and more higher to the performance requirement of computer room safety monitoring.
The supervisory control system of prior art generally all can comprise several monitored devices that communication connects, these monitored devices may be different in different system, for example in center monitoring, camera is arranged, uninterrupted power supply (Uninterruptible Power System, UPS), air-conditioning and electric weight instrument or the like, these monitored devices generally are connected with server by network interface or serial ports, service data is provided, so that by the server process warning information, and send prompting to the related personnel and call out or information.
In actual application, the concrete condition of each machine room is different, therefore the monitored smart machine that is equipped with is also different, especially when machine room situation more complicated, need a plurality of smart machines of configuration, when new smart machine inserts, need reconfigure communication protocol for the equipment of these new accesses, this has increased the cost of system undoubtedly, and the maintenance of the system of giving brings great inconvenience.How the smart machine to new access communicates the adaptive of agreement, reduce because the cost problem of the system that new access device brings improves the efficient of system maintenance, and be one of direction of center monitoring area research.
Summary of the invention
The object of the present invention is to provide a kind of communication means, device and supervisory control system of newly accessed intelligent equipment, be intended to reduce because the cost problem of the system that newly accessed intelligent equipment brings improves the efficient of system maintenance.
Technical solution of the present invention is achieved in that a kind of communication means of newly accessed intelligent equipment, said method comprising the steps of:
Obtain the protocol information of the smart machine of access;
According to the public descriptive language that system stores in advance, extract the characteristic of described protocol information;
According to described public descriptive language described characteristic is carried out modeling, be encapsulated as the form of agreement configuration, wherein, described agreement configuration that is packaged into and described public descriptive language are suitable;
Realize and the communicating by letter of described smart machine according to the agreement configuration after the assembling.
The present invention also provides a kind of access device of smart machine, and described device comprises:
The protocol information acquisition module is used to obtain the protocol information of the smart machine of access;
The characteristic extraction module is used for the public descriptive language stored in advance according to system, extracts the characteristic of described protocol information;
Agreement configuration package module is used for according to described public descriptive language described characteristic being carried out modeling, is encapsulated as the form of agreement configuration, and wherein, described agreement configuration that is packaged into and described public descriptive language are suitable;
Communication module is used for realizing and the communicating by letter of described smart machine according to the agreement configuration after the assembling.
The present invention also provides a kind of supervisory control system, comprise smart machine and alarm receiving terminal, also comprise access device provided by the invention, described device is stored public descriptive language in advance, when having new smart machine to be linked into this supervisory control system, encapsulate according to the protocol information of described public descriptive language described newly accessed intelligent equipment, be packaged into the form of agreement configuration, and realize communicating by letter between alarm receiving terminal and the newly accessed intelligent equipment according to packaged agreement configuration, wherein, described agreement configuration and described public descriptive language are suitable.
The embodiment of the invention is by storing public descriptive language in advance, according to described public descriptive language the smart machine of new access is carried out the adaptive of agreement, do not need the smart machine of new access is recompilated protocol procedure, greatly reduce the maintenance cost of supervisory control system, improve the maintenance efficiency of supervisory control system, be beneficial to the popularization of supervisory control system.
Description of drawings
Fig. 1 is the communication means flow chart of the newly accessed intelligent equipment of supervisory control system preferred embodiment of the present invention;
Fig. 2 is the schematic diagram of the agreement configuration that encapsulates in the supervisory control system of the present invention;
Fig. 3 is the access device structure chart of the smart machine of supervisory control system preferred embodiment of the present invention;
Fig. 4 is the structure chart of supervisory control system preferred embodiment of the present invention.
Embodiment
In order to make purpose of the present invention, technical scheme and advantage clearer,, the present invention is further elaborated below in conjunction with drawings and Examples.Should be understood that specific embodiment described herein shall not be applied to the scope of asking for protection of the present invention that limits only in order to explain protection scope of the present invention.
Fig. 1 shows the flow process of the communication means of the newly accessed intelligent equipment that the embodiment of the invention provides.
Step S101, store public descriptive language in advance.
In specific implementation process, platform is at first stored a kind of public descriptive language, and this public descriptive language is used to describe the structure and the Data Matching rule of variety of protocol.Wherein, described public descriptive language summarizes the common protocols standard that extracts for the base communications protocol with several smart machines.
For example, Chang Yong public descriptive language can be described as: packet header+address+version+function code+sign+length+data+verification, wherein, this kind describing method can be described all protocol architectures and Data Matching rule.
Step S102, when having new smart machine to insert, obtain the protocol information of this smart machine.
Step S103, according to the public descriptive language that system provides in advance, extract the characteristic of the protocol information of described access smart machine.
Wherein, described characteristic comprises that the algorithm of judging check code belongs to any, and at difference between the concrete data or the like.
For example, checking algorithm may be wherein a kind of such as CRC16, LRC16, BCC, CSUM.Again for example, the form and the length of the packet header that protocol information provided, function code and the data volume of different intelligent equipment all are not quite similar, and the data that have represent that with ASCII character the data that have are represented with HEX.The data length that has is a byte, and the data length that has is a nybble.The data that have be low level preceding, the data that have are high-order preceding.
Step S104, according to described public descriptive language the characteristic of extracting is carried out modeling, be encapsulated as the form of agreement configuration, wherein, described agreement configuration and described public descriptive language are suitable;
For example, see also Fig. 2, Fig. 2 includes function code, checking algorithm, protocol data and sign of comprising in agreement packet header, device address, the agreement or the like for a kind of form of the agreement configuration of encapsulation.
In specific implementation process, the content of modeling comprises: send message, receive message, Data Matching algorithm.
For example, the model of transmission message comprises message structure (as address, version, function code, sign, length, data, verification, end mark etc.), data format (HEX, ASCII) etc.;
The model that receives message comprises and finishes receiving sign, type of message, data format etc.For example: certain intelligent temperature module finish receiving the sign model for { A:9}, wherein, A represents to receive by length, stops session after receiving 9 bytes.
The model of Data Matching algorithm comprises expression formula, subexpression, arithmetic expression, value etc.For example, the Data Matching algorithm model of certain intelligent temperature module is { HEX, N:3:10:0.1}.Wherein, HEX represents to mate by 16 system modes, and 3 expressions begin to obtain data from the 3rd byte that receives; 10 is a kind of of data rule, the expression data forms by 2 bytes, a high position preceding, low level after.0.1 the proportionality coefficient of expression image data and True Data.
Step S105, the described packaged agreement configuration of storage.
Step S106, realize and the communicating by letter of described smart machine according to the agreement configuration after the encapsulation.
In specific implementation process, after receiving the service data of smart machine, the service data of smart machine is resolved according to above-mentioned steps, and the data display after will resolving monitors to the user, or send to other module and handle.
Fig. 3 shows the structure of the access device of the smart machine that the embodiment of the invention provides.
Described device comprises public descriptive language memory module 31, protocol information acquisition module 32, characteristic extraction module 33, agreement configuration package module 34, agreement configuration memory module 35 and communication module 36.
Wherein, the public descriptive language of public descriptive language memory module 31 storages, wherein, described public descriptive language summarizes for the base communications protocol with several smart machines, the common protocols standard that extracts, concrete is above stating, repeats no more herein.
When new smart machine connecting system was arranged, protocol information acquisition module 32 obtained the protocol information of this smart machine.
Characteristic extraction module 33 extracts the characteristic of described access information according to the public descriptive language that system stores in advance.
Agreement configuration package module 34 carries out modeling according to described public descriptive language with the characteristic of extracting, and is encapsulated as the form of agreement configuration, and wherein, described agreement configuration and described public descriptive language are suitable.Concrete modeling process is above being stated, repeats no more herein.
The described agreement configuration that assembles of agreement configuration memory module 35 storages.
The agreement configuration of communication module 36 after according to assembling realizes and the communicating by letter of described smart machine.
In specific implementation process, described communication module 36 comprises agreement sending module 361, command reception module 362 and command analysis module 363:
Wherein, agreement sending module 361 is sent to corresponding recipient with the warning information of described smart machine;
Command reception module 362 receives the instruction that described recipient returns, and wherein, described instruction is and the mutual adaptive form of described public descriptive language;
The public descriptive language that command analysis module 363 is stored in advance according to system, the instruction that described recipient is returned resolves to and the suitable form of described smart machine.
Fig. 4 shows the structure of the supervisory control system that the embodiment of the invention provides.Described supervisory control system includes some smart machines, the access device of smart machine and a plurality of alarm receiving terminal.
Wherein, the access device of described smart machine is stored public descriptive language in advance, when having new smart machine to be linked into this supervisory control system, obtain the characteristic of the protocol information of newly accessed intelligent equipment according to described public descriptive language, and according to described public descriptive language described characteristic is packaged into the form of agreement configuration, according to described agreement configuration realize with described newly accessed intelligent equipment between communicate by letter.
Certainly, described agreement configuration and described public descriptive language are suitable.
The embodiment of the invention is by storing public descriptive language in advance, according to described public descriptive language the smart machine of new access is carried out the adaptive of agreement, do not need the smart machine of new access is recompilated protocol procedure, greatly reduce the maintenance cost of supervisory control system, improve the maintenance efficiency of supervisory control system, be beneficial to the popularization of supervisory control system.
The above only is preferred embodiment of the present invention, not in order to restriction the present invention, all any modifications of being done within the spirit and principles in the present invention, is equal to and replaces and improvement etc., all should be included within protection scope of the present invention.
Claims (9)
1. the communication means of a newly accessed intelligent equipment is characterized in that, said method comprising the steps of:
Obtain the protocol information of the smart machine of access;
According to the public descriptive language that system stores in advance, extract the characteristic of described protocol information;
According to described public descriptive language described characteristic is carried out modeling, be encapsulated as the form of agreement configuration, wherein, described agreement configuration that is packaged into and described public descriptive language are suitable;
Realize and the communicating by letter of described smart machine according to the agreement configuration after the assembling.
2. the communication means of newly accessed intelligent equipment as claimed in claim 1 is characterized in that, according to described public descriptive language described characteristic is being carried out modeling, is encapsulated as after the step of form of agreement configuration, and described method also comprises:
Store the described agreement configuration that assembles.
3. the communication means of newly accessed intelligent equipment as claimed in claim 1 is characterized in that, before the step of the protocol information of the smart machine that obtains access, described method also comprises:
Store public descriptive language, wherein, described public descriptive language summarizes the common protocols standard that extracts for the base communications protocol with several smart machines.
4. the communication means of newly accessed intelligent equipment as claimed in claim 1 is characterized in that, describedly realizes specifically comprising with the step of communicating by letter of described smart machine according to the agreement configuration after the assembling:
The warning information of described smart machine is sent to corresponding recipient;
Described recipient returns an instruction, and wherein, described instruction is and the mutual adaptive form of described public descriptive language;
According to the public descriptive language that system stores in advance, the instruction that described recipient is returned resolves to and the suitable form of described smart machine.
5. the access device of a smart machine is characterized in that, described device comprises:
The protocol information acquisition module is used to obtain the protocol information of the smart machine of access;
The characteristic extraction module is used for the public descriptive language stored in advance according to system, extracts the characteristic of described protocol information;
Agreement configuration package module is used for according to described public descriptive language described characteristic being carried out modeling, is encapsulated as the form of agreement configuration, and wherein, described agreement configuration that is packaged into and described public descriptive language are suitable;
Communication module is used for realizing and the communicating by letter of described smart machine according to the agreement configuration after the assembling.
6. the access device of smart machine as claimed in claim 5 is characterized in that, described device also comprises:
Agreement configuration memory module is used for the agreement configuration that storage sets installs.
7. the access device of smart machine as claimed in claim 5 is characterized in that, described device also comprises:
Public descriptive language memory module is used to store public descriptive language, and wherein, described public descriptive language summarizes the common protocols standard that extracts for the base communications protocol with several smart machines.
8. the access device of smart machine as claimed in claim 5 is characterized in that, described communication module specifically comprises:
The agreement sending module is used for the warning information of described smart machine is sent to corresponding recipient;
The command reception module is used to receive the instruction that described recipient returns, and wherein, described instruction is and the mutual adaptive form of described public descriptive language;
Command analysis module is used for the public descriptive language stored in advance according to system, and the instruction that described recipient is returned resolves to and the suitable form of described smart machine.
9. supervisory control system, comprise smart machine and alarm receiving terminal, it is characterized in that, the access device that also comprises each described smart machine of claim 5 to 8, described device is stored public descriptive language in advance, when having new smart machine to be linked into this supervisory control system, encapsulate according to the protocol information of described public descriptive language described newly accessed intelligent equipment, be packaged into the form of agreement configuration, and realize communicating by letter between alarm receiving terminal and the newly accessed intelligent equipment according to packaged agreement configuration, wherein, described agreement configuration and described public descriptive language are suitable.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101547489A CN101826997B (en) | 2010-04-16 | 2010-04-16 | Communication method of newly accessed intelligent equipment, device and monitoring system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2010101547489A CN101826997B (en) | 2010-04-16 | 2010-04-16 | Communication method of newly accessed intelligent equipment, device and monitoring system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101826997A true CN101826997A (en) | 2010-09-08 |
CN101826997B CN101826997B (en) | 2012-07-04 |
Family
ID=42690715
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2010101547489A Active CN101826997B (en) | 2010-04-16 | 2010-04-16 | Communication method of newly accessed intelligent equipment, device and monitoring system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101826997B (en) |
Cited By (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102045354A (en) * | 2010-12-20 | 2011-05-04 | 深圳市计通智能技术有限公司 | Extensible protocol analyzing system and method |
CN102480462A (en) * | 2010-11-23 | 2012-05-30 | 中国电信股份有限公司 | Universal protocol adapting method and device |
CN102624685A (en) * | 2011-11-24 | 2012-08-01 | 广东高新兴通信股份有限公司 | Encodable protocol processing method for intelligent equipment |
CN103139025A (en) * | 2011-12-05 | 2013-06-05 | 艾默生网络能源系统北美公司 | Access method and access system of Modbus equipment |
CN105207827A (en) * | 2015-10-27 | 2015-12-30 | 珠海智城信息技术有限公司 | Communication gateway adding method and device as well as data communication method, system and device |
CN105491038A (en) * | 2015-12-07 | 2016-04-13 | 高新兴科技集团股份有限公司 | Intelligent device protocol analysis method |
CN103139025B (en) * | 2011-12-05 | 2016-12-14 | 艾默生网络能源系统北美公司 | The cut-in method of Modbus equipment and system |
CN108063695A (en) * | 2017-12-14 | 2018-05-22 | 福建龙净环保股份有限公司 | Communication instruction configuration method, configuration equipment and collecting method, harvester |
CN110417783A (en) * | 2019-07-30 | 2019-11-05 | 北京国信华源科技有限公司 | A kind of data transmission method based on Internet of Things, device, storage medium and terminal |
CN113422718A (en) * | 2021-06-18 | 2021-09-21 | 河南力安测控科技有限公司 | Configuration protocol-based internet of things gateway and method for docking equipment |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060007945A1 (en) * | 2002-03-11 | 2006-01-12 | Roland Schoettle | Medium to disparate medium hopping mesh network |
CN101262472A (en) * | 2007-03-07 | 2008-09-10 | 力博特公司 | A multi-function protocol parser and its realization method |
CN101562600A (en) * | 2008-04-18 | 2009-10-21 | 东莞市腾华电子技术有限公司 | Electric power automation communication protocol self-adaptive method based on condition code |
CN101567845A (en) * | 2009-04-27 | 2009-10-28 | 成都科来软件有限公司 | Real-time processing system and method of universal network data packet |
-
2010
- 2010-04-16 CN CN2010101547489A patent/CN101826997B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060007945A1 (en) * | 2002-03-11 | 2006-01-12 | Roland Schoettle | Medium to disparate medium hopping mesh network |
CN101262472A (en) * | 2007-03-07 | 2008-09-10 | 力博特公司 | A multi-function protocol parser and its realization method |
CN101562600A (en) * | 2008-04-18 | 2009-10-21 | 东莞市腾华电子技术有限公司 | Electric power automation communication protocol self-adaptive method based on condition code |
CN101567845A (en) * | 2009-04-27 | 2009-10-28 | 成都科来软件有限公司 | Real-time processing system and method of universal network data packet |
Cited By (15)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102480462A (en) * | 2010-11-23 | 2012-05-30 | 中国电信股份有限公司 | Universal protocol adapting method and device |
CN102480462B (en) * | 2010-11-23 | 2015-04-01 | 中国电信股份有限公司 | Universal protocol adapting method and device |
CN102045354A (en) * | 2010-12-20 | 2011-05-04 | 深圳市计通智能技术有限公司 | Extensible protocol analyzing system and method |
CN102624685A (en) * | 2011-11-24 | 2012-08-01 | 广东高新兴通信股份有限公司 | Encodable protocol processing method for intelligent equipment |
CN102624685B (en) * | 2011-11-24 | 2015-05-20 | 高新兴科技集团股份有限公司 | Encodable protocol processing method for intelligent equipment |
CN103139025B (en) * | 2011-12-05 | 2016-12-14 | 艾默生网络能源系统北美公司 | The cut-in method of Modbus equipment and system |
CN103139025A (en) * | 2011-12-05 | 2013-06-05 | 艾默生网络能源系统北美公司 | Access method and access system of Modbus equipment |
CN105207827A (en) * | 2015-10-27 | 2015-12-30 | 珠海智城信息技术有限公司 | Communication gateway adding method and device as well as data communication method, system and device |
CN105207827B (en) * | 2015-10-27 | 2018-08-14 | 珠海智城信息技术有限公司 | Data communication method, system and device |
CN105491038A (en) * | 2015-12-07 | 2016-04-13 | 高新兴科技集团股份有限公司 | Intelligent device protocol analysis method |
CN105491038B (en) * | 2015-12-07 | 2019-01-08 | 高新兴科技集团股份有限公司 | A kind of intelligent equipment protocol analytic method |
CN108063695A (en) * | 2017-12-14 | 2018-05-22 | 福建龙净环保股份有限公司 | Communication instruction configuration method, configuration equipment and collecting method, harvester |
CN110417783A (en) * | 2019-07-30 | 2019-11-05 | 北京国信华源科技有限公司 | A kind of data transmission method based on Internet of Things, device, storage medium and terminal |
CN110417783B (en) * | 2019-07-30 | 2020-06-19 | 北京国信华源科技有限公司 | Data transmission method and device based on Internet of things, storage medium and terminal |
CN113422718A (en) * | 2021-06-18 | 2021-09-21 | 河南力安测控科技有限公司 | Configuration protocol-based internet of things gateway and method for docking equipment |
Also Published As
Publication number | Publication date |
---|---|
CN101826997B (en) | 2012-07-04 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101826997B (en) | Communication method of newly accessed intelligent equipment, device and monitoring system | |
CN108062230B (en) | Serial ports transparent transmission and program updating system and its method in a kind of Internet wide | |
US9286249B2 (en) | USB device communication method, device and system wherein a human interface device (HID) descriptor and report are added to a driver of USB device | |
EP2571224B1 (en) | Method for processing messages on m2m platform and m2m platform system | |
CN102790776B (en) | Heartbeat connection normalizing processing method, terminal, server and communication system | |
CN111294235B (en) | Data processing method, device, gateway and readable storage medium | |
US9503380B2 (en) | Communication apparatus, communication method, and computer readable medium | |
CN102571732A (en) | Method, device and system for processing sensor protocol information | |
CN107483592A (en) | A kind of transaction processing method based on General Front End Processor and a kind of General Front End Processor | |
CN104125204B (en) | Communication means and its equipment are realized based on MBIM interfaces | |
CN103647706A (en) | Self-adaptation protocol communication gateway and communication platform | |
CN104580187B (en) | A method of realizing that the external device of different MODULEBUS agreements is interacted with server | |
CN110213756A (en) | A kind of data transmission method, device and its relevant device | |
CN115568012A (en) | Positioning data transmission method, device and system, electronic equipment and storage medium | |
CN1848973B (en) | Short message group transmitting method, terminal and short message center | |
CN113163028B (en) | Service data transmission method, device and system | |
CN103826195B (en) | Equipment is set to perform method, device, terminal device and the system of corresponding operating automatically | |
CN110247926A (en) | A kind of exchange method and system | |
CN107277011B (en) | Data classification method and device for terminal equipment | |
CN112399446A (en) | Edge gateway communication method, device, computer equipment and storage medium | |
CN107995297A (en) | A kind of internet of things data transmission method and internet-of-things terminal | |
CN111987802A (en) | Distribution network district data communication processing system | |
CN113518087A (en) | IOT protocol reverse docking method and device | |
CN103685552A (en) | Software upgrading method for small memory device | |
CN112988211A (en) | Equipment upgrading method and control device based on Zigbee |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C56 | Change in the name or address of the patentee | ||
CP01 | Change in the name or title of a patent holder |
Address after: 518057 Nanshan District, Shenzhen Province, high tech, No. 3, No. 2 Shenzhen Software Park, building 7, building 4, building Patentee after: Shenzhen Polytron Technologies Inc Address before: 518057 Nanshan District, Shenzhen Province, high tech, No. 3, No. 2 Shenzhen Software Park, building 7, building 4, building Patentee before: Shenzhen Xbrother Technology Co., Ltd. |