CN102622398A - City tunnel monitoring data storage method and system based on XML (Extensive Makeup Language) - Google Patents

City tunnel monitoring data storage method and system based on XML (Extensive Makeup Language) Download PDF

Info

Publication number
CN102622398A
CN102622398A CN2011104589952A CN201110458995A CN102622398A CN 102622398 A CN102622398 A CN 102622398A CN 2011104589952 A CN2011104589952 A CN 2011104589952A CN 201110458995 A CN201110458995 A CN 201110458995A CN 102622398 A CN102622398 A CN 102622398A
Authority
CN
China
Prior art keywords
data
xml
information
city tunnel
data 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
CN2011104589952A
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.)
Wuhan University of Technology WUT
Original Assignee
Wuhan University of Technology WUT
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 Wuhan University of Technology WUT filed Critical Wuhan University of Technology WUT
Priority to CN2011104589952A priority Critical patent/CN102622398A/en
Publication of CN102622398A publication Critical patent/CN102622398A/en
Pending legal-status Critical Current

Links

Images

Abstract

The invention discloses a city tunnel monitoring data storage method and a city tunnel monitoring data storage system based on an XML (Extensive Makeup Language). The city tunnel monitoring data storage method comprises the steps as follows: firstly, carrying out data information acquisition on analog quantity information and switching value information of a city tunnel field environment; secondly, classifying the acquired data information to obtain analog quantity data and switching value data, periodically storing the analog quantity data in one XML document and storing the switching value data in another XML document in a triggered way; and lastly, transmitting the two XML documents to a superior monitoring system in real time. According to the invention, low redundancy, high definition and tractability in storage of data information of the tunnel monitoring system are guaranteed, and an analytical basis is provided for long-term tunnel monitoring data mining, tunnel decision support, data dump and data sharing.

Description

City tunnel supervising data storage method and system based on XML
Technical field
The present invention relates to the storage means and the system of city tunnel monitor data, be specially a kind of city tunnel supervising data storage method and system based on XML.
Background technology
In the city tunnel supervisory system, need to handle data miscellaneous, the oneself state information that environmental data information that each sensor collects and controllable device contained etc. that derives from is wherein arranged.Through these tunnel monitoring datas of longer-term storage, and on its basis, carry out Knowledge Discovery and data mining, can provide support, thereby realize the tunnel intelligent monitoring for the intelligent decision support.So the storage means of each related data of tunnel is most important.Therefore in to the tunnel, after the various data acquisitions, how to store these data, not only influence data processing efficiency, and influence is to the analysis of various data in the tunnel and to the judgement of environment in the tunnel.
Summary of the invention
The purpose of this invention is to provide a kind of city tunnel supervising data storage method based on XML; Can carry out classification and storage to tunneling data information, for the excavation of the long-term monitor data in tunnel, support, data dump and the data sharing of tunnel decision-making provide the basis of analysis.
Realize that the technical scheme that the object of the invention adopts is: a kind of city tunnel supervising data storage method based on XML comprises the steps:
(1) analog quantity information and the switching value information of city tunnel site environment are carried out data information acquisition;
(2) with the data information memory that collects in data center's module;
(3) storage data center module is carried out classification processing to the data message that collects; Obtain analog data and switching value data; And analog data is carried out periodic store in the XML document, the switch amount data are carried out trigger-type and are stored in another XML document;
(4) in real time two above-mentioned XML documents are sent to higher level's supervisory system.
In addition, the present invention also provides a kind of city tunnel supervising data storage system based on XML, comprising:
The data information acquisition unit is used for the analog quantity information and the switching value information of city tunnel site environment are carried out data information acquisition;
The city tunnel monitoring system platform is used for the data information memory that collects to data center's module;
The data analysis storage unit; Be used for the data message of storage data center module is carried out classification processing; Obtain analog data and switching value data; And analog data is carried out periodic store in the XML document, the switch amount data are carried out trigger-type and are stored in another XML document;
Data transmission unit is used for above-mentioned two XML documents are sent to higher level's supervisory system.
In technique scheme, said analog quantity information comprises: CO data message, VI data message, wind speed/wind direction data message, light intensity data information and humiture data message.
In technique scheme; Said switching value information comprises: blower fan just/inverted status data message, blower fan just/inverted command data message, the manual data message of blower fan, light switch status data information, light switch order data information, the red/green status data information of throw light on manual data message, lamp for vehicle lane, the red/green order data information of lamp for vehicle lane, the manual data message of lamp for vehicle lane, and equipment failure data message.
In technique scheme, said is when information changes by the trigger-type storage, just the data that change is stored.
In technique scheme, said XML document structure comprises: storage class explanation, storage time, implementor name and relevant device data.
The used XML of the present invention (eXtensible Markup Language extend markup language) is a kind of meta-language, adopts mark to come data of description.It has characteristics such as high readability, ease for use and portability, so adopt the memory module of XML as the supervisory system data.But adopt single XML file storage tunnel full detail can expose a lot of shortcomings; Have too high redundance, extremely low legibility etc. like the canned data data; Then directly have influence on the efficient of XML data dump in the back-end data server, be not easy to data qualification and excavation.
Be compared to single XML memory module, the present invention carries out the XML classification and storage to the city tunnel monitor data, and the data that are about in the tunnel are divided into two types: analog quantity and switching value.The ad hoc fashion of having unified two kinds of XML storages is about to analog quantity and switching value respectively with periodic storage and the storage of trigger-type storage carrying out XML document, has confirmed the concrete manifestation form of these two kinds of XML storages.Storage means of the present invention more can be guaranteed low redundancy, the high-resolution property of tunnel monitoring system data information memory and be prone to the property handled.
Description of drawings
Fig. 1 is a city tunnel monitor data XML storage means process flow diagram of the present invention.
Fig. 2 is a city tunnel supervisory system frame diagram of the present invention.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is further described.
As shown in Figure 1, the city tunnel supervising data storage method based on XML may further comprise the steps:
Step S1 utilizes PLC and configuration software to obtain data message from the bottom data collecting device, and with global data information (comprising analog quantity information and switching value information).The bottom data pick-up transducers is gathered tunnel site environment data, and wherein, the analog quantity information of collection comprises: CO data, VI data, wind speed/wind direction data, light intensity data and humiture data.The switching value information of gathering comprises: blower fan just/inverted status, blower fan just/inverted command, blower fan is manual; The light switch state, the light switch order, it is manual to throw light on; Red/green the state of lamp for vehicle lane, the red/green order of lamp for vehicle lane, lamp for vehicle lane is manual; And information such as equipment failure.
Step S2 utilizes the city tunnel monitoring system platform, with the data center module of the data information memory that collects to system.
Step S3 according to the attribute of institute's access data information, carries out carrying out the XML classification and storage after the analysis and judgement to data center module data in data center's module, and its concrete steps are:
If analog data then changes step S3-1; If switching value is then changeed step S3-2.
Step S3-1 carries out the periodic storage to analog quantity, it is deposited in the XML document, such as whenever storing once at a distance from 10 seconds.This XML document storage: data type specification; Current time in system; Implementor name and corresponding data; Equipment is concrete to be represented as follows:
< analog quantity >
During T-11 4 minutes and 30 seconds
<ZCO_1_CO_X>60</ZCO_1_CO_X>
<ZVI_1_VI_X>10</ZVI_1_VI_X>
<4 minutes 30 Miao > during/>T-11;
During T-11 4 minutes and 40 seconds
<ZCO_1_CO_X>30</ZCO_1_CO_X>
<ZVI_1_VI_X>50</ZVI_1_VI_X>
<4 minutes 40 Miao > during/>T-11;
</Mo Niliang>
Step S3-2, switch amount is carried out trigger-type storage, it is deposited in another XML document, and the amount that has only changed just can store.This XML document storage: data type specification; Current time in system; Implementor name and corresponding data; Equipment is concrete to be represented as follows:
< switching value >
During T-11 4 minutes and 30 seconds
<ZFJ_1_FZ_T>1</ZFJ_1_FZ_T>
<ZZM_1_FZ_T>10</ZZM_1_FZ_T>
<4 minutes 30 Miao > during/>T-11;
During T-11 4 minutes and 31 seconds
<ZFJ_1_FZ_T>0</ZFJ_1_FZ_T>
<4 minutes 31 Miao > during/>T-11;
</Kai Guanliang>
The storage means of present embodiment city tunnel monitor data is based on that the storage system of city tunnel monitor data realizes; Wherein the storage system of city tunnel monitor data comprises upper strata city tunnel monitor system software platform and data information acquisition unit; As shown in Figure 2, data information acquisition unit 301 comprises bottom sensor hardware device and switching value information monitoring device, and the sensor hardware device will be gathered the data of tunnel site environment; As: gather the CO data; The VI data, wind speed/wind direction data, light intensity data and humiture data.Switching value information is then gathered through himself monitoring device of equipment.
Behind the analog data and switching value data of 301 transmission of city tunnel monitoring system platform 302 receiving data information collecting units; Transmit it to data analysis storage unit 303; The attributive analysis of 303 pairs of data messages of data analysis storage unit carries out the XML document classification and storage in data center's module after judging; The concrete steps of its classification and storage such as above-mentioned step repeat no more here.At last, data transmission unit 304 is sent to higher level's supervisory system 305 with above-mentioned two XML documents.
Carry out the analysis of city rail environmental aspect through 305 pairs of data that collect of higher level's supervisory system,, environmental aspect is judged, and provided control strategy according to above-mentioned environmental aspect.Thereby controllable device is sent control information, can interfere, constantly change the real-time status in the tunnel with this to the tunnel current environment.

Claims (10)

1. the city tunnel supervising data storage method based on XML is characterized in that, comprises the steps:
(1) analog quantity information and the switching value information of city tunnel site environment are carried out data information acquisition;
(2) with the data information memory that collects in data center's module;
(3) storage data center module is carried out classification processing to the data message that collects; Obtain analog data and switching value data; And analog data is carried out periodic store in the XML document, the switch amount data are carried out trigger-type and are stored in another XML document;
(4) in real time two above-mentioned XML documents are sent to higher level's supervisory system.
2. according to the said city tunnel supervising data storage method of claim 1, it is characterized in that said analog quantity information comprises: CO data message, VI data message, wind speed/wind direction data message, light intensity data information and humiture data message based on XML.
3. according to the said city tunnel supervising data storage method of claim 1 based on XML; It is characterized in that; Said switching value information comprises: blower fan just/inverted status data message, blower fan just/inverted command data message, the manual data message of blower fan, light switch status data information, light switch order data information, the red/green status data information of throw light on manual data message, lamp for vehicle lane, the red/green order data information of lamp for vehicle lane, the manual data message of lamp for vehicle lane, and equipment failure data message.
4. according to the said city tunnel supervising data storage method based on XML of claim 1, it is characterized in that: said is when information changes by the trigger-type storage, and the data that change are stored.
5. according to the said city tunnel supervising data storage method of claim 1, it is characterized in that said XML document structure comprises: storage class explanation, storage time, implementor name and relevant device data based on XML.
6. the city tunnel supervising data storage system based on XML is characterized in that, comprising:
The data information acquisition unit is used for the analog quantity information and the switching value information of city tunnel site environment are carried out data information acquisition;
The city tunnel monitoring system platform is used for the data information memory that collects to data center's module;
The data analysis storage unit; Be used for the data message of storage data center module is carried out classification processing; Obtain analog data and switching value data; And analog data is carried out periodic store in the XML document, the switch amount data are carried out trigger-type and are stored in another XML document;
Data transmission unit is used for above-mentioned two XML documents are sent to higher level's supervisory system.
7. according to the said city tunnel supervising data storage method of claim 1, it is characterized in that said analog quantity information comprises: CO data message, VI data message, wind speed/wind direction data message, light intensity data information and humiture data message based on XML.
8. according to the said city tunnel supervising data storage system of claim 1 based on XML; It is characterized in that; Said switching value information comprises: blower fan just/inverted status data message, blower fan just/inverted command data message, the manual data message of blower fan, light switch status data information, light switch order data information, the red/green status data information of throw light on manual data message, lamp for vehicle lane, the red/green order data information of lamp for vehicle lane, the manual data message of lamp for vehicle lane, and equipment failure data message.
9. according to the said city tunnel supervising data storage system based on XML of claim 1, it is characterized in that: said is when information changes by the trigger-type storage, just the data that change is stored.
10. according to the said city tunnel supervising data storage system of claim 1, it is characterized in that said XML document structure comprises: storage class explanation, storage time, implementor name and relevant device data based on XML.
CN2011104589952A 2011-12-31 2011-12-31 City tunnel monitoring data storage method and system based on XML (Extensive Makeup Language) Pending CN102622398A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011104589952A CN102622398A (en) 2011-12-31 2011-12-31 City tunnel monitoring data storage method and system based on XML (Extensive Makeup Language)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011104589952A CN102622398A (en) 2011-12-31 2011-12-31 City tunnel monitoring data storage method and system based on XML (Extensive Makeup Language)

Publications (1)

Publication Number Publication Date
CN102622398A true CN102622398A (en) 2012-08-01

Family

ID=46562320

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011104589952A Pending CN102622398A (en) 2011-12-31 2011-12-31 City tunnel monitoring data storage method and system based on XML (Extensive Makeup Language)

Country Status (1)

Country Link
CN (1) CN102622398A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678402A (en) * 2012-09-21 2014-03-26 厦门雅迅网络股份有限公司 Real-time data statistics method of mass data

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105690A (en) * 2007-07-26 2008-01-16 武汉理工大学 Multiple sensor integrated method for city long tunnel monitoring system
CN101763103A (en) * 2009-12-18 2010-06-30 武汉理工大学 L-DNA simulate monitoring method and system of long city tunnel
US20110208857A1 (en) * 2010-02-03 2011-08-25 Odyssey Software, Inc. Method, system, and computer readable medium for gathering usage statistics

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101105690A (en) * 2007-07-26 2008-01-16 武汉理工大学 Multiple sensor integrated method for city long tunnel monitoring system
CN101763103A (en) * 2009-12-18 2010-06-30 武汉理工大学 L-DNA simulate monitoring method and system of long city tunnel
US20110208857A1 (en) * 2010-02-03 2011-08-25 Odyssey Software, Inc. Method, system, and computer readable medium for gathering usage statistics

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
《ICCC'11 Proceedings of the 2011 International Conference on Innovative Computing and Cloud Computing》 20110814 Li Lin et al. Multi-source data management on internet of city tunnels Pages 92-95 1-10 , *
LI LIN ET AL.: "Multi-source data management on internet of city tunnels", 《ICCC’11 PROCEEDINGS OF THE 2011 INTERNATIONAL CONFERENCE ON INNOVATIVE COMPUTING AND CLOUD COMPUTING》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103678402A (en) * 2012-09-21 2014-03-26 厦门雅迅网络股份有限公司 Real-time data statistics method of mass data
CN103678402B (en) * 2012-09-21 2018-10-16 厦门雅迅网络股份有限公司 A kind of method of data real-time statistics under mass data

Similar Documents

Publication Publication Date Title
CN107426539B (en) Drainage pipe network monitoring system and method based on narrow-band Internet of things
KR102242176B1 (en) Controlling electrically-powered trash compactors and receptacles
CN105049814B (en) A kind of method and system of monitoring analysis personnel motion trail
Nandury et al. Smart WSN-based ubiquitous architecture for smart cities
CN103247186B (en) Scene-based driver assistant system realizing method
CN106115104A (en) Categorized consumer waste collecting and transferring system based on Internet of Things, devices and methods therefor
CN205508164U (en) Charging station intelligence parking stall control system
Muyunda et al. Arduino-based smart garbage monitoring system: Analysis requirement and implementation
CN203039730U (en) Wisdom oil field ground internet of things system
Bačić et al. Integrated sensor systems for smart cities
Ming et al. Real-time carbon dioxide monitoring based on IoT & cloud technologies
CN204480338U (en) A kind of power station cruising inspection system
CN105629957A (en) Cold-chain transport vehicle refrigerating unit fault analysis cloud service system and control method
CN103402217A (en) Base station antenna parameter processing system
CN104932487A (en) Subway vehicle remote diagnosis system
CN201671130U (en) Vehicle-mounted intelligent information terminal system
Wittmann et al. A holistic framework for acquisition, processing and evaluation of vehicle fleet test data
CN107844603A (en) Electric automobile charging pile inquiry guiding system based on cloud computing
CN203053480U (en) Bridge safety monitoring and pre-warning system based on wireless sensor network
CN109245305A (en) A kind of photovoltaic plant automatic early-warning cloud platform and system
CN102867235A (en) Geographic information system (GIS)-based monitoring method for electric vehicle charging station
CN203689098U (en) Tube cleaner positioning device and remote monitoring system
CN108732477A (en) A kind of system and method for the power distribution network main equipment live detection based on electric power wireless communication
CN201887974U (en) Remote management system of LED (light emitting diode) road lamp
CN109683546A (en) Chain type rubbish storage equipment operational system and O&amp;M method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C12 Rejection of a patent application after its publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20120801