CN109698838A - A kind of terminal access unit - Google Patents

A kind of terminal access unit Download PDF

Info

Publication number
CN109698838A
CN109698838A CN201910103543.9A CN201910103543A CN109698838A CN 109698838 A CN109698838 A CN 109698838A CN 201910103543 A CN201910103543 A CN 201910103543A CN 109698838 A CN109698838 A CN 109698838A
Authority
CN
China
Prior art keywords
terminal access
access unit
data
agreement
message
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.)
Pending
Application number
CN201910103543.9A
Other languages
Chinese (zh)
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.)
Yeston Wisdom (beijing) Industrial Technology Co Ltd
Original Assignee
Yeston Wisdom (beijing) Industrial 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 Yeston Wisdom (beijing) Industrial Technology Co Ltd filed Critical Yeston Wisdom (beijing) Industrial Technology Co Ltd
Priority to CN201910103543.9A priority Critical patent/CN109698838A/en
Publication of CN109698838A publication Critical patent/CN109698838A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C19/00Electric signal transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • 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

Abstract

This application discloses a kind of terminal access units, the terminal access unit and at least one enviromental monitoring equipment and server pass through network connection, the terminal access unit includes: cache module, the instruction of the data and/or host computer that send for cache environment monitoring device;Messaging interface, for receiving message from server or sending message to server.According to the technical solution of the application, the construction cost of the data collection and transfering system of enviromental monitoring equipment can reduce;Terminal access unit can be safeguarded online by server, it is simple and convenient, maintenance workload and cost can be saved.

Description

A kind of terminal access unit
Technical field
The present invention relates to environment monitoring field more particularly to a kind of terminal access units.
Background technique
In environment monitoring field, according to Environmental Protection in China professional standard, " (monitoring) system is monitored online in 212 pollutant of HJ/T Data transmission standard " and " pollution sources automatic monitoring on line (monitoring) data acquisition transmission instrument technical requirements ", current environmental protection exists The data transmission acquisition scheme of line monitoring device is as shown in Figure 1, monitor the operation data of environmental protection equipment.It is real according to the sector standard The technical solution applied needs to acquire transmission instrument in each monitoring point installation data, and every number of units is expensive according to acquisition transmission instrument, And since monitoring station is more, the quantity of required data acquisition transmission instrument also can be bigger, and cost is very high.
In traditional technology, in order to solve the problems, such as that technical solution shown in Fig. 1 is with high costs, mainly by being passed to acquisition data Defeated instrument improves, make it have more channels and and use more transport protocols so that an acquisition data Transmission instrument can dock the monitoring device of multiple same or different models, reduce the total of environment protection digital monitoring to a certain extent Cost.
Above-mentioned scheme still needs by acquisition data transmission instrument, and the scalability of entire scheme is limited to acquisition number According to the limitation of the transport protocol in the channel and its support of transmission instrument, and the higher cost of manual maintenance, thus can not be from basic The cost of upper drop monitoring environment protection digital.
Summary of the invention
In view of this, present applicant proposes a kind of terminal access units, with the cost of economical environment-protective data monitoring.
According to the one aspect of the application, propose a kind of terminal access unit, the terminal access unit and at least one By network connection, the terminal access unit includes: for enviromental monitoring equipment and server
Cache module, the instruction of the data and/or host computer that are sent for cache environment monitoring device;
Messaging interface, for receiving message from server or sending message to server.
Preferably, the terminal access unit further includes protocol process module, for realizing institute according to agreement mapped file State the conversion between agreement used in agreement used in enviromental monitoring equipment and the terminal access unit.
Preferably, the terminal access unit is connect by serial ports with enviromental monitoring equipment.
Preferably, the serial ports is RS232 interface or RS485 interface.
Preferably, the messaging interface, the finger of the data and/or host computer that are sent for transparent transmission enviromental monitoring equipment It enables.
Preferably, protocol process module, according to agreement used in the agreement mapped file realization enviromental monitoring equipment With the conversion between agreement used in the terminal access unit, by different agreement transmitted by each enviromental monitoring equipment Under data be unified for the data under agreement used in terminal access unit.
Preferably, the messaging interface is also used to disappear with message subscribing manner from message queue module acquisition Breath.
Preferably, the messaging interface is also used to send data to the message queue module according to message subject Message.
According to the technical solution of the application, can reduce the construction of the data collection and transfering system of enviromental monitoring equipment at This;Terminal access unit structure used by this programme is simple, low in cost, and can by server with online mode to end End access unit is safeguarded, simple and convenient, can save maintenance workload and cost;The technical solution of the application is easy to expand Exhibition, for new Data Transport Protocol, it is only necessary in terminal access unit configuration protocol mapped file, be not necessarily to programing work, just It can access new monitoring device.
Other features and advantage are by the following detailed description will be given in the detailed implementation section.
Detailed description of the invention
The attached drawing constituted part of this application is used to provide further understanding of the present application, the schematic reality of the application Mode and its explanation are applied for explaining the application.In the accompanying drawings:
Fig. 1 is the schematic diagram of environment monitoring data acquisition transmission in traditional technology;
Fig. 2 is the schematic diagram of environment monitoring data acquisition provided by the present application transmission;
Fig. 3 is server architecture schematic diagram provided by the present application;
Fig. 4 is terminal access unit schematic diagram provided by the present application.
Specific embodiment
It should be noted that in the absence of conflict, the spy in embodiment and each embodiment in the application Sign can be combined with each other.
The application is described in detail below with reference to the accompanying drawings and in conjunction with embodiment.
In order to overcome the defect of traditional technology, the embodiment of the present application provides environment monitoring data acquisition as shown in Figure 2 Expensive acquisition data transmission instrument is omitted in Transmission system, and acquisition number is realized by the system architecture of server/customer end According to transmission.As shown in Fig. 2, environment monitoring data acquisition Transmission system provided by the embodiments of the present application includes terminal access unit And server.Terminal access unit can be communicated by serial ports with monitoring device, such as RS232 or RS485, can be by data It is sent to server, host computer can operate data from server, or directly be transmitted data to by server Host computer.
Terminal access unit connects at least one on-line monitoring equipment, such as enviromental monitoring equipment, and connection type is RS232 Or RS485.RS232 or RS485 signal is converted into network signal, is sent to server through network.Terminal access unit can be with With two kinds of operating modes of transparent transmission mode and protocol conversion mode.
It, can be in protocol package on the server in the case where the data format of terminal access unit transmitting-receiving has determined Realize the conversion between monitoring device data format and transmitted data on network format.If the huge number of monitoring device, and Server does not realize the protocol analysis function of all monitoring device types, can realize that agreement turns in terminal access unit It changes, is transmitted data on network format by monitoring device Data Format Transform.Terminal access unit uses chip microcontroller.Carry out When protocol conversion, upstream data and downlink data can have different formats, can be by agreement mapping definition file come real Data transmission between existing terminal access unit and server.Agreement mapping definition file on terminal access unit can be by engineering Teacher is write direct by the interface of terminal access unit, is either downloaded from server or monitoring device provider website, such as Agreement maps dynamic base.In general, server can configure terminal access unit.
Transparent transmission mode is fairly simple, does not do any protocol processes, directly the data of forwarding monitoring device are to server.It can Selection of land, if terminal access unit also can have dry passage, so as to be connect with several monitoring devices by serial ports.
Terminal access unit may include cache module, protocol process module and messaging interface, and cache module is used In data cached, for preventing data transmission fails, can be deleted after transmission success data cached;Protocol process module is used In realizing protocol conversion, the data under different agreement transmitted by each enviromental monitoring equipment are unified for terminal access unit Data under used agreement;Messaging interface, for being communicated by the mode of messaging with server, such as The message of server transmission is received by way of subscription, and data-message is sent to server according to message subject.
Server may include that message queue module, data processing module, memory module, data summarization module, data are defeated Module and system setup module out.
Message queue module, for providing the messaging service and Message Queuing Services of theme subscribing manner.Terminal access is single Specific subject of the member into message queue module sends data-message, and data-message is buffered in message queue after reaching.Message Queue module has caching, message to be received and dispatched is provided to interim store function, again by transmission after data are sent successfully Data are deleted, and prevent data transmission from unsuccessfully losing data.
Data processing unit is handled for taking out message from message queue, such as takes out data packet from message queue, The terminal data transmission protocol number for reading packet header parses data according to the protocol realization program in this number invocation protocol packet Packet, and store data into data storage cell;Protocol package, Data Transport Protocol and data center for realizing terminal device Data Transport Protocol, for data processing unit after receiving message, according to the packet header parameter of terminal access unit data packet, really Surely data packet is parsed using the Data Transport Protocol of which kind of terminal access unit.It is real for the Data Transport Protocol of data center Existing national sector standard Data Transport Protocol " (monitoring) system data transmission standard is monitored online in pollution sources " (HJ/T212) regulation Data Transport Protocol.The agreement in protocol development interface exploitation extension protocol packet can be used;If terminal access unit is sent out The data brought are the data of transparent transmission, and the Data Transport Protocol of use is customized agreement, and protocol development can be used and connect Mouth carries out custom protocol exploitation;If the Data Transport Protocol that data center's host computer uses is customized agreement, can also To use protocol development interface to carry out custom protocol exploitation;The logic that data processing unit handles data comes from protocol package.Number According to processing unit using the agreement in protocol package, parsing is formatted to the message received, decomposes the logic word in outbound message Section, can also do the conversion and processing operation of some data later, and finally saves to enter by the data that dissection process is completed and deposit Store up module.
Memory module, for storing data;Database technology can be used in memory module, completes to data processing module processing Data carry out persistent storage, data processing module after data are parsed according to specific protocol, be stored in memory module in Database.Memory module can require the data for storing nearest a period of time (to can be some months, 1 year or two according to host computer Year or longer time).
System setup module, with the parameter and data summarization parameter of patterned interface setting equipment.Device parameter includes The information of device numbering and online website;Data summarization parameter is used to unified standard or summarizes the data of all kinds of storages.These Parameter includes but is not limited to: sum time interval (per how long a real time data is shown), collecting index (may include but not Be limited to flow, COD, ammonia nitrogen etc.), summarize data class (may include but be not limited to minute data, hour data, day data etc.), Statistical value type (may include but be not limited to maximum value, minimum value, average value etc.), exceeded threshold value (the exceeded threshold value of each index, When data exceed threshold value, it is believed that measurement data is exceeded, will trigger exceeded alarm) etc..
Data summarization module, for the data received to be summarized according to the parameter execution that summarizes of setting, data summarization algorithm In accordance with concerned countries or professional standard, including " (monitoring) system data transmission standard is monitored online in pollution sources " (HJ/T212), Personalized Data Transport Protocol can be defined by protocol development interface, carried out at data according to requirement of the host computer to data Reason and collect statistics are simultaneously sent to host computer.
Data summarization algorithm is as follows:
When sum time interval reaches, the latest data of each collecting index in data storage cell is inquired, generating should The real time data at moment;
It in real time data, according to the value of each collecting index, is compared with the exceeded threshold value of this index, beyond super The data of mark threshold value are marked as exceeded, and exceeded alarm of setting out;
It is arranged according to the time for summarizing data class (minute data, hour data, day data etc.), when reaching these settings Time point when, summarize the data of the data class.Summarize real time data in the specified minutes section of minute data statistics, It counts to obtain maximum value, minimum value, average value etc. according to the statistical value type of setting;Hour data statistics specified time hour Summarize real time data in section, executes statistics according to the statistical value type of setting and obtain maximum value, minimum value, average value etc.;It Summarize real time data in a data statistics specified period, executes statistics according to the statistical value type of setting and obtain maximum Value, minimum value, average value etc.;Data summarization module generates data and is stored in memory module, when summarizing data and being stored in for the first time, data note Record is marked as " not sent " state, after the data record summarized is sent to host computer by data outputting module, to the data Record does " transmission " label.When the network connection of data outputting module and host computer is disconnected because of accident, data processing mould Block and memory module continue to and store the data of terminal access unit transmission, will be automatic after network connection restores again It is not sent for sending label in data storage cell " data host computer is recorded, can be avoided loss of data and again in this way It is multiple.It should be noted that the host computer in the embodiment of the present application includes the equipment in data center.
Correspondingly, this application provides terminal access units, as shown in figure 4, the terminal access unit includes: caching mould Block, protocol process module and messaging interface.Cache module, for the data that cache environment monitoring device is sent, and/or By the instruction of host computer.Cache module for preventing data transmission fails, can be deleted after transmission success for data cached Except data cached.Protocol process module, protocol process module are realized for realizing protocol conversion, such as according to agreement mapped file Conversion between agreement used in agreement used in the enviromental monitoring equipment and the terminal access unit;Agreement mapping It may include upstream message mapping definition and downstream message mapping definition in file, so as to realize uplink and downlink message Protocol conversion;User oneself can write agreement mapped file, be then copied in terminal access unit;It can also be by online The mode of update downloads to agreement mapped file in terminal access unit, such as writes agreement by the interface that server provides Mapped file and download terminal access unit;The terminal access unit is sent by messaging service for agreement mapped file to correspond to Theme on;Terminal access unit obtains agreement mapped file by way of subscribing to messaging service theme.Information receiving and transmitting mould Block is led to for receiving message from server or sending message to server by the mode and server of messaging Believe, such as receive the message of server transmission by way of subscription, and data are sent to server according to message subject and are disappeared Breath;Messaging interface, can be with the instruction for the data and/or host computer that transparent transmission enviromental monitoring equipment is sent, or sends and carry out Data or instruction after agreement mapping.Terminal access unit can be with transparent data and/or instruction, after can also carrying out protocol conversion Data and/or instruction are transmitted again.Preferably, messaging interface with message subscribing manner from the server obtain message, and/ Or data-message is sent to the server according to message subject.
In the embodiment of the present application, network can be cable network or wireless network, and cable network can be Ethernet, nothing Gauze can be WLAN, RoLA network, blueteeth network, 3G/4G/5G network and NBIoT internet of things.
The foregoing is merely the better embodiments of the application, all the application's not to limit the application Within spirit and principle, any modification, equivalent replacement, improvement and so on be should be included within the scope of protection of this application.

Claims (8)

1. a kind of terminal access unit, which is characterized in that the terminal access unit and at least one enviromental monitoring equipment and service By being connected to the network, the terminal access unit includes: device
Cache module, the instruction of the data and/or host computer that are sent for cache environment monitoring device;
Messaging interface, for receiving message from server or sending message to server.
2. terminal access unit according to claim 1, which is characterized in that the terminal access unit further includes at agreement Module is managed, for agreement and the terminal access unit according to used in the agreement mapped file realization enviromental monitoring equipment Conversion between used agreement.
3. terminal access unit according to claim 1, which is characterized in that the terminal access unit passes through serial ports and ring The connection of border monitoring device.
4. terminal access unit according to claim 3, which is characterized in that the serial ports is RS232 interface or RS485 Interface.
5. terminal access unit according to claim 1, which is characterized in that the messaging interface is used for transparent transmission ring The instruction of data and/or host computer that border monitoring device is sent.
6. terminal access unit according to claim 2, which is characterized in that protocol process module maps text according to agreement Part realizes the conversion between agreement used in agreement used in the enviromental monitoring equipment and the terminal access unit, with Data under different agreement transmitted by each enviromental monitoring equipment are unified under agreement used in terminal access unit Data.
7. terminal access unit according to claim 1, which is characterized in that the messaging interface is also used to disappear It ceases subscribing manner and obtains message from the message queue module.
8. terminal access unit according to claim 1, which is characterized in that the messaging interface, be also used to according to Message subject sends data-message to the message queue module.
CN201910103543.9A 2019-02-01 2019-02-01 A kind of terminal access unit Pending CN109698838A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910103543.9A CN109698838A (en) 2019-02-01 2019-02-01 A kind of terminal access unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910103543.9A CN109698838A (en) 2019-02-01 2019-02-01 A kind of terminal access unit

Publications (1)

Publication Number Publication Date
CN109698838A true CN109698838A (en) 2019-04-30

Family

ID=66234743

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910103543.9A Pending CN109698838A (en) 2019-02-01 2019-02-01 A kind of terminal access unit

Country Status (1)

Country Link
CN (1) CN109698838A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888354A (en) * 2019-11-21 2020-03-17 深圳赛动生物自动化有限公司 Method and device for realizing automatic identification of access equipment, computer equipment and medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072147A (en) * 2007-06-20 2007-11-14 重庆邮电大学 Industrial Ethernet protocol analysisand field tester
US20110066297A1 (en) * 2008-05-20 2011-03-17 LiveMeters, Inc. Remote monitoring and control system comprising mesh and time synchronization technology
CN102547942A (en) * 2012-02-21 2012-07-04 南京农业大学 Wireless sensor network intelligent gateway applied to greenhouse environment monitoring
CN103684944A (en) * 2012-09-10 2014-03-26 西门子信号有限公司 Embedded gateway, railway monitoring system adopting gateway, and railway monitoring method
CN104468798A (en) * 2014-12-12 2015-03-25 广西科技大学 Environmental monitoring system used for city air
CN104615112A (en) * 2015-01-22 2015-05-13 成都朝越科技有限公司 Resource and environment monitoring and warning system under network environment
CN108228625A (en) * 2016-12-15 2018-06-29 腾讯科技(深圳)有限公司 A kind of PUSH message processing method and processing device
CN108650273A (en) * 2018-05-18 2018-10-12 深圳市元体科技有限公司 A kind of internet of things equipment communications protocol Adaptive Control Method and its control system
CN108683590A (en) * 2018-05-23 2018-10-19 上海明牛智能科技有限公司 The data transmission method of industrial Internet of Things and intelligent gateway therein, intelligent gateway
CN210490919U (en) * 2019-02-01 2020-05-08 智慧盈通(北京)工业技术有限公司 Terminal access unit

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101072147A (en) * 2007-06-20 2007-11-14 重庆邮电大学 Industrial Ethernet protocol analysisand field tester
US20110066297A1 (en) * 2008-05-20 2011-03-17 LiveMeters, Inc. Remote monitoring and control system comprising mesh and time synchronization technology
CN102547942A (en) * 2012-02-21 2012-07-04 南京农业大学 Wireless sensor network intelligent gateway applied to greenhouse environment monitoring
CN103684944A (en) * 2012-09-10 2014-03-26 西门子信号有限公司 Embedded gateway, railway monitoring system adopting gateway, and railway monitoring method
CN104468798A (en) * 2014-12-12 2015-03-25 广西科技大学 Environmental monitoring system used for city air
CN104615112A (en) * 2015-01-22 2015-05-13 成都朝越科技有限公司 Resource and environment monitoring and warning system under network environment
CN108228625A (en) * 2016-12-15 2018-06-29 腾讯科技(深圳)有限公司 A kind of PUSH message processing method and processing device
CN108650273A (en) * 2018-05-18 2018-10-12 深圳市元体科技有限公司 A kind of internet of things equipment communications protocol Adaptive Control Method and its control system
CN108683590A (en) * 2018-05-23 2018-10-19 上海明牛智能科技有限公司 The data transmission method of industrial Internet of Things and intelligent gateway therein, intelligent gateway
CN210490919U (en) * 2019-02-01 2020-05-08 智慧盈通(北京)工业技术有限公司 Terminal access unit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110888354A (en) * 2019-11-21 2020-03-17 深圳赛动生物自动化有限公司 Method and device for realizing automatic identification of access equipment, computer equipment and medium

Similar Documents

Publication Publication Date Title
CN111787066B (en) Internet of things data platform based on big data and AI
CN103064731A (en) Device and method for improving message queue system performance
CN103761848B (en) A kind of data concentrated collection copies control table system
CN111737329A (en) Unified data acquisition platform for rail transit
WO2019062343A1 (en) Environmental radiation monitoring station system
US8478714B2 (en) Integrated distribution management system channel adapter
CN107317802A (en) A kind of generating date dissemination system based on SOA and DDS
CN102064975A (en) Network equipment supervision method and system
CN106656534A (en) Data communication method and system
CN103646437A (en) Method and system for checking attendance of students on basis of IC (Integrated Circuit) card and GSM (Global System For Mobile) communication mode
CN104199625A (en) Method, device and system for converting and outputting print data
CN101286953A (en) Medical system information integration platform
CN206594319U (en) Portable Automatic Weather Station based on STM32
CN109698838A (en) A kind of terminal access unit
CN109712382A (en) A kind of environment monitoring data acquisition Transmission system
CN101976210A (en) Well site data remote transmission method based on message middleware
CN201766611U (en) Well-site data remote transmission system based on message oriented middleware
CN210490919U (en) Terminal access unit
CN209842861U (en) Environmental monitoring data acquisition and transmission system
CN106789299B (en) A kind of satellite remote station management system
CN114201659A (en) Message track transmission query method, device and system
CN114390033A (en) Loop state patrol instrument acquisition system and method based on extensible communication protocol
CN208924267U (en) A kind of energy gateway apparatus
CN208158633U (en) A kind of network monitoring early warning system of highway weight calculation equipment
CN110278234A (en) Mobile terminal SCADA real-time monitoring system based on cloud push

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