CN106127169A - Train running information analyzes system and method - Google Patents
Train running information analyzes system and method Download PDFInfo
- Publication number
- CN106127169A CN106127169A CN201610503320.8A CN201610503320A CN106127169A CN 106127169 A CN106127169 A CN 106127169A CN 201610503320 A CN201610503320 A CN 201610503320A CN 106127169 A CN106127169 A CN 106127169A
- Authority
- CN
- China
- Prior art keywords
- basic element
- module
- image
- data video
- information
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/41—Higher-level, semantic clustering, classification or understanding of video scenes, e.g. detection, labelling or Markovian modelling of sport events or news items
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B61—RAILWAYS
- B61L—GUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
- B61L27/00—Central railway traffic control systems; Trackside control; Communication systems specially adapted therefor
- B61L27/40—Handling position reports or trackside vehicle data
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T7/00—Image analysis
- G06T7/0002—Inspection of images, e.g. flaw detection
- G06T7/0004—Industrial image inspection
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V10/00—Arrangements for image or video recognition or understanding
- G06V10/40—Extraction of image or video features
- G06V10/56—Extraction of image or video features relating to colour
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06V—IMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
- G06V20/00—Scenes; Scene-specific elements
- G06V20/40—Scenes; Scene-specific elements in video content
- G06V20/46—Extracting features or characteristics from the video content, e.g. video fingerprints, representative shots or key frames
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06T—IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- G06T2207/00—Indexing scheme for image analysis or image enhancement
- G06T2207/10—Image acquisition modality
- G06T2207/10016—Video; Image sequence
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Multimedia (AREA)
- Computational Linguistics (AREA)
- Software Systems (AREA)
- Mechanical Engineering (AREA)
- Quality & Reliability (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Train Traffic Observation, Control, And Security (AREA)
Abstract
The invention discloses a kind of train running information and analyze system, it is characterised in that including: DVI shunt, for single channel DVI data video signal is converted to multichannel DVI data video signal;Image acquisition device, is used for gathering each circuit-switched data video image;Graphical analysis server, for the data video image gathered is analyzed process, information shows and transmits;Wherein, described graphical analysis server also includes extraction module, detection module, identification module, analysis module, display and transport module.The invention also discloses a kind of method that train running information is analyzed.Use the present invention, there is to make full use of original track and run system, improves the most systematic level of IT application, reduce improvement cost, it is achieved gauze command centre is to all operation vehicle monitorings in subway all fronts, the function coordinating, command, dispatch and manage.
Description
Technical field
The invention belongs to art of image analysis, be specifically related to a kind of image that train running information obtains in track traffic
Analyze system and method.
Background technology
At present, China's each urban track traffic present situation progressively moves towards multi-line and to construction from uniline construction, and just
Step forms gauze track traffic general layout, has possessed the basic condition of information interoperability between gauze.Signaling system is as control car
Key equipment, along with communication, computer, network and the development of row control technology, communication-based train control system obtains
To commonly used.Due to urban rail transit construction historical reasons, the train control system letter that the signal supplier of different circuits provides
Breath can not Real-Time Sharing.
Along with big city city rail circuit gradually becomes net, under the double stimuli of network effects and Huimin admission fee, city
The passenger flow record of track constantly refreshes.Under huge passenger flow demand pressure, Guangzhou City track circuit every day is all at high load capacity
Operating, at traditional " (i.e. one track under OCC (the Operating Control Center) control model of line one " center "
Traffic route is controlled by a Dispatch and Command Center, and the dispatch control between circuit is independent of each other), metro operation problem is the most sudden and the most violent
Expose, mainly have and be embodied in: use the tradition " OCC of line one " center ", it is impossible to whole gauze is carried out scheduling of overall importance and refers to
Wave.Gauze command centre thus arises.Gauze command centre is the emerging system grown up in recent years, is positioned at operation pipe
Reason system top, has the wired network monitoring of urban track traffic institute and multi-line operation coordination, emergency command, information common
Enjoy, the function such as maintenance guidance.
Gauze command centre, is based on computer technology, modern communications and information technology, with subway dispatch control is
Core, relate to transporting, monitor, communicate, engineering, the comprehensive platform scheduling of operation system, management, the control system such as safety check.Its primary mesh
Mark is to ensure that transport production is safe efficient and reliable.Domestic city subway gauze command centre mainly uses the system in west, line
Net command centre typically uses control centre and station two-level management system.Ordinary circumstance, by Dispatch and Command Center to whole line
Road carries out concentrating leader and unified command.All departments relevant with transport and work, all unification in transport movement control center refer to
Wave down and be operated.Normally run and automatically monitored by component computer in command scheduling center set.When command scheduling center
When going wrong, making station control mechanism can control the signal in its compass of competency, track switch according to underground map and command ground
Railway transportation row.When train occurs late or other situations, by dispatcher's Artificial Control.Specifically, gauze command centre conduct
Gauze daily operation driving coordination center, be responsible for traffic-operating period daily to gauze exercise supervision, across the operation coordination of operation centre,
Cross-line scheduling, the train on cross-line road, engineering truck, railcar mistake when scheduling when not mating including transport power, transfer stop burst large passenger flow
Line allotment etc..It is responsible for circuit train operation situation each to gauze and travelling facility facility quality exercises supervision, each circuit is not set
Standby and daily operation directly controls.It is responsible for gauze running quality trend is tracked.Gauze command centre is as gauze
Driving Police Command Center, is responsible for failure condition and coordinates across the emergency cooperative of the transfer stop of centre management, depot, and assign gauze
The resource allocation of instruction, MTR inside and outside in emergency circumstances is organized and coordinated in organization of driving, repairing.
The realization of gauze command centre above-mentioned functions to be completed, the acquisition of driving states information data and transmission are wherein to weigh
The link wanted.The interface message provided due to the line signal systems provider that is open to traffic is limited, and transformation difficulty is big, is unfavorable for
Gauze command centre grasps for the concentration of all fronts net driving states data, it is therefore desirable to by the track service chart carrying out transmission
As carrying out graphical analysis, the train operation state necessary by video procession technical limit spacing and equipment state etc., thus
Realize gauze command centre to subway all operation vehicle monitorings completely, the function coordinating, command, dispatch and manage.At present, state
Inside and outside little unit has this analysis system equipment.
Summary of the invention
In order to solve the problems referred to above, the first object of the present invention provides a kind of train running information to analyze system, have with
Make full use of original track and run system, improve the most systematic level of IT application, reduce improvement cost, it is achieved gauze is commanded
Center is to subway all operation vehicle monitorings completely, the function coordinating, command, dispatch and manage.
For achieving the above object, the present invention is achieved by techniques below scheme:
Train running information of the present invention analyzes system, it is characterised in that including:
DVI shunt, for being converted to multichannel DVI data video signal by single channel DVI data video signal;
Image acquisition device, is used for gathering each circuit-switched data video image;
Graphical analysis server, for the data video image gathered is analyzed process, information shows and transmits;
Wherein, described graphical analysis server also includes:
Extraction module, for extracting the feature of each basic element of character in data video image, the vector of the definition basic element of character
Drawing practice, and to standard operation image vector quantization;
Detection module, for detecting the region of variation of operation image, and carries out binary conversion treatment to region of variation;
Identification module, is used for according to elemental characteristic template recognition detection element, if a region and elemental characteristic template
Correct matching ratio more than threshold value, then this element is detected;
Analyze module, for the detection according to module, the state (train and equipment state) of element is analyzed;
Display and transport module, redraw for carrying out vectogram according to attribute of an element information, and can be according to terminal
Request, is transferred to request end by corresponding status information and vector image information, and terminal is according to these vector quantization element information weights
Paint service chart.
Further, described detection module according to the region of variation M of detection operation image calculated below (x, y, t):
Wherein, (x, y, t) be t frame original image to I, x and y is the transverse and longitudinal coordinate of pixel respectively.
Further, (x, y t) count described C according to the absolute value sum of tri-color component changes of RGB of pixel
Calculate, as long as their absolute value sum exceedes threshold value, then C (x, y, t) be just set to 1, according to following formula calculate:
Wherein TMFor detection threshold value, ImBeing the m-th color component value of original image, | x | represents x absolute value.
Further, described detection module according to following formula calculate binaryzation operation image region of variation M (x, y, t):
Wherein TBFor threshold value, Y is the brightness of original image.
Further, described identification module, according to elemental characteristic template recognition detection element, calculates according to below equation:
N-th basic element Dn(xn,yn, t) calculate according to the following formula
Wherein, basic element (xn,yn)Dn(xn,yn, position coordinates (upper left corner) t) is (xn,yn),SniAnd SnjIt is respectively
The size of nth elements feature templates, R is coupling correct proportions threshold value.
Further, described identification module when carrying out elemental characteristic template recognition detection element, if region with
The correct matching ratio of elemental characteristic template is more than threshold value, then this basic element is detected.
Further, described analysis module uses the state of the basic element being detected to be analyzed, specifically basis
The position of basic element and shifting property detect the color of its daughter element, the color of its daughter element corresponding pass in state table
System, thus judge the state of basic element;
Wherein, the color extraction of the daughter element of described basic element is from the color of the central point of this daughter element, daughter element
Central point calculate according to the following formula:
Wherein (xs,ys) it is the daughter element central point position in the picture of basic element, (xe,ye) it is basic element
Central point position in the picture, (dxs,dys) it is that the central point of daughter element of basic element is relative to the central point of basic element
Skew.
Further, when described display and transport module carry out redrawing vectogram, according to terminal request, by corresponding state
Information and vector image information are transferred to terminal, and terminal redraws service chart according to these vector quantization element informations.
In order to solve the problems referred to above, the second object of the present invention provides a kind of train running information to analyze method, and it is right to have
The feature that gauze train information effectively, is accurately analyzed.
Train running information of the present invention analyzes method, specifically includes following steps:
Single channel DVI data video signal is converted to multichannel DVI data video signal;
Gather each circuit-switched data video image;
The data video image stimulated is analyzed process, information shows and transmits, particularly as follows:
Extract the feature of each basic element of character in data video image, the vector plotting method of the definition basic element of character, and right
Standard operation image vector quantization;
The region of variation of detection operation image, and region of variation is carried out binary conversion treatment;
According to elemental characteristic template recognition detection element;
According to the detection of basic element identification module, the state of element is analyzed;
Carry out vectogram according to attribute of an element information to redraw.
Further, at the region of variation of described detection operation image, and region of variation is carried out binary conversion treatment step
In, utilization equation below:
Wherein, (x, y, t) be t frame original image to I, x and y is the transverse and longitudinal coordinate of pixel respectively, and (x, y, t) for becoming for M
Change region;
Wherein TMFor detection threshold value, ImBeing the m-th color component value of original image, | x | represents x absolute value.
Compared with prior art, the invention has the beneficial effects as follows:
Train running information of the present invention is analyzed system and is first passed through DVI video interface shunt by the DVI of single channel
Data video signal transfers the DVI data video signal for multichannel to, is then gathered by image acquisition device, and transmission is to graphical analysis
Server is made a concrete analysis of, and during analyzing, uses extraction module extract the feature of the basic element of character and determine the basic element of character
Justice vector plotting method, simultaneously to standard operation image vector quantization, then by checking the variation zone of module detection operation image
Territory, and this region of variation carries out binary conversion treatment, is then identified by elemental characteristic template carrying out.
Therefore, by using operation information of the present invention to analyze system, it is possible to the most accurately to running letter
Breath is analyzed, and reduces transmitted data amount with transmitting vector quantization information maximum.
Accompanying drawing explanation
Below in conjunction with the accompanying drawings the detailed description of the invention of the present invention is described in further detail, wherein:
Fig. 1 is that a kind of train running information of the present invention is analyzed system and carried out the structural representation of graphical analysis;
Fig. 2 is the instantiation figure in real process of a kind of train running information analysis system of the present invention;
Fig. 3 be the present invention a kind of train running information analysis system in process chart between each module;
Fig. 4 be the present invention a kind of Train Transportation Simulation System analysis system in the feature templates schematic diagram of the basic element of character;
Fig. 5's is that a kind of Train Transportation Simulation System analysis system of the present invention is for character recognition correction schematic diagram;
Fig. 6 is that a kind of Train Transportation Simulation System of the present invention analyzes system character pre-processing signal in character recognition corrects
Figure;
Fig. 7 be the present invention a kind of Train Transportation Simulation System analysis system in the state definition figure of semaphore;
Fig. 8 is the state definition figure of a kind of Train Transportation Simulation System analysis system middle orbit section of the present invention;
Fig. 9 and Figure 10 be the present invention a kind of Train Transportation Simulation System analysis system in the state definition figure of track switch.
In figure:
1:DVI shunt 2: image acquisition device
3: graphical analysis server
31: extraction module 32: detection module 33: identification module 34: analyze module 35: show and transport module
Detailed description of the invention
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are illustrated, it will be appreciated that preferred reality described herein
Execute example be merely to illustrate and explain the present invention, be not intended to limit the present invention.
As it is shown in figure 1, train running information system of the present invention, including three parts, DVI shunt 1, image are adopted
Storage 2 and graphical analysis server 3.
Wherein, described DVI shunt 1, wherein DVI is the abbreviation of Digital Visual Interface, and Chinese is number
Word video interface, the DVI signal that described DVI shunt 1 is used for route map of train is converted to two-way DVI signal and (adopts in this enforcement
Be two-way), in this two paths of signals, wherein the image acquisition device 2 of a route the present embodiment uses, and an other road is for native system
Outer device or equipment use.
The DVI signal that DVI shunt 1 is transmitted by described image acquisition device 2 is acquired and is transferred to graphical analysis service
Device.Owing to service chart change is relatively slow, thus sampling frame per second can be set to 10 frames per second.In order to accurately identify the literary composition on service chart
Word information, sampling resolution is typically set to 1024*768.Certainly mode of choosing is not limited to this, also includes other derivative class mode.
Described graphical analysis server 3, carries out image procossing to the route map of train gathered, analyzes and identify, extracts row
The information such as car running status and equipment state, and locally or remotely showing that there is network transport interface, carry for miscellaneous equipment
For corresponding information.
Described image acquisition device 2 is carried out data transmission with graphical analysis server 3 by PCIe interface, is not limited to this, also
The image acquisition device 2 with network interface can be used, gather data and be transferred to graphical analysis server 3 by network.
As in figure 2 it is shown, described graphical analysis server 3 includes processor and image input interface, further comprises processor
Addressable storage device.These storage devices can be random memory unit RAM, it is also possible to is program storage etc., such as
Hard disk.Processor is from program storage loading procedure and runs such that it is able to inputs and processes image.Additionally, processor also may be used
To be connected to display device, and some input and output human-computer interaction device, such as mouse, keyboard etc..Some other interface equipments
Can also be connected with processor, it is achieved some process function.Interface can realize the output of some images or video,
And power supply provides power supply for apparatus system.
Fig. 3 gives the service flow diagram of graphical analysis, and it performs according to the processor of Fig. 2.
Specifically, described graphical analysis server 3 includes extraction module 31, detection module 32, identification module 33, analyzes mould
Block 34, display and transport module 35.
Described extraction module 31 is for extracting the feature of each basic element of character in data video image, defining the basic element of character
Vector plotting method, and to standard operation image vector quantization.The feature of the basic element of character that described extraction module extracts is binaryzation
Template.It carries out basic element Component Analysis to standard picture, extracts the feature of each basic element of character, is stored in feature database,
Definition simultaneously realizes the vector plotting method of the basic element of character, and is stored in vector element picture library.Wherein, in order to improve process speed
Degree, the characterizing definition of each basic element of character is the binaryzation template of this basic element of character.And basic element parts are carried out in right amount
Change, vector quantization attribute information include position, color, shape, size, hide etc. attribute information.Fig. 4 gives some basic elements of character
Feature templates.
Described detection module 32 is for detecting the region of variation of operation image, and region of variation is carried out binary conversion treatment.
The region of variation of its detection service chart, and region of variation is carried out binaryzation.One is kept due to basic before and after the brightness of service chart
Cause, use fixed threshold to carry out detection and the binaryzation of moving region the most here, region of variation M (x, y, detection t) according to
Following formula calculates:
Wherein, (x, y, t) be t frame original image to I, x and y is the transverse and longitudinal coordinate of pixel respectively.C (x, y, t) basis
The absolute value sum of tri-color component changes of the RGB of pixel calculates, as long as their absolute value sum exceedes threshold value, then
C (x, y, t) be just set to 1, calculates according to following formula:
Wherein TMFor detecting threshold value, generally 20.ImIt it is the m-th color component value of original image.| x | represents that x is absolute
Value.
After obtaining region of variation, this region is carried out binaryzation, thus obtains binary image.Binary image according to
Following formula calculates,
Wherein TBFor threshold value, generally 15.Y is the brightness of original image.
Described identification module 33 is for according to elemental characteristic template recognition detection element, specifically: if a region
Be more than threshold value with the correct matching ratio of elemental characteristic template, then this element is detected, and referred to as basic element.
The service chart identified is needed to be made up of basic list of elements element.These component element have similar attribute.
In order to define and facilitate these element attribute of use, these attributes are unified.These attributes specifically include:
Sequence number: element numbers.Global sequence number
Type: the type of element.
Numbering: the numbering of same type of component element
Position: position in the picture, the element upper left corner
Display: whether this element shows or hide
Direction: the direction of this element.Some element is identical, but in opposite direction
Length: the length of element
Width: the width of element
Frame: whether element has rectangular shaped rim.Hide or display
Border color: if there being frame, border color
Fill Color: whether fill formulation color in frame
Text importing: if there being word, shows or hides
Word: the word of element
Text color: the text color of element
Daughter element quantity: the quantity of the daughter element that these parts comprise, if 0, does not then have daughter element.
The attribute of daughter element: the attribute of daughter element is similar with element property.There is several daughter element, just have several daughter element
Table is described.
The description table of daughter element:
Sequence number: daughter element sequence number.If there being multiple daughter element, then start to define daughter element therein from 0.
Type: the type of daughter element.E.g. rectangle or round etc.
Position: position relatively.Element center point is relative to father's element upper left position
Display: whether this daughter element shows or hide
Direction: the direction of this daughter element.Some element is identical, but in opposite direction
Length: the length of daughter element
Width: the width of daughter element
Frame: whether daughter element has rectangular shaped rim.Hide or display
Border color: if there being frame, border color
Fill Color: whether fill formulation color in frame
It is by scanning binary image B, by the feature templates of feature database Plays parts and the mesh in binary image B
Mark region is mated, if coupling exceedes certain threshold value, then this basic element is detected.The n-th base in image
This element Dn(xn,yn, t) calculate according to the following formula
Wherein, basic element (xn,yn)Dn(xn,yn, position coordinates (upper left corner) t) is (xn,yn),SniAnd SnjIt is respectively
The size of nth elements feature templates, R is coupling correct proportions threshold value.If a region and nth elements character modules
The correct matching ratio of plate is more than threshold value R, then this element is detected, i.e. this basic element shows in the picture.Due to
Element position in the picture has been off analyzing mark, shows at present frame as long as therefore detecting this element or hides i.e.
Can.So need not full figure is scanned, thus improve processing speed and improve monitoring accuracy.Threshold value R is typically set to
0.95, but it is not limited to this, can change according to the change of application scenarios.
Owing to the character set in route map of train is usually fixing, accordingly can to analyze identify in be likely to occur
Mistake is corrected.Character recognition school precisely in order to the character that may make mistakes is tested in character recognition process, thus
Obtain higher correct recognition rata.Here two technology are used to improve discrimination, i.e. pretreatment and rear verification.Pretreatment is at word
Symbol is carried out before identifying, the picture identified is carried out binaryzation and segmentation.Rear verification is, after character recognition, recognition result is entered one
Step processes, and utilizes some prioris to process identification, thus improves correct recognition rata further.
As it is shown in figure 5, pretreatment: use adaptive threshold to remove the fuzzy of character edge, improve the clear of character main body
Degree, is beneficial to follow-up identification.
As shown in Figure 6, verification afterwards: utilize known priori to be corrected.If first character is letter, and follow-up
Character be numeral, then 5 are identified as letter S, then can be corrected to S, and S is identified as numeral 5, then can school
It is being just 5.Similarly for numeral 0, it is easily recognizable as letter " o " or " O ", verifies after utilization, 0 can be corrected to.
Described analysis module 35, for the detection according to identification module, (includes train and equipment to the state of basic element
State) it is analyzed.The state of element, according to the detection of basic element identification module, is analyzed by it, mainly include color,
Hide or the attribute such as display, text, by the mutation analysis to element these attributes of module, thus obtain the state of element.This
A little states specifically include that the state of semaphore, the state of track section and the state of track switch.
The state table of table one semaphore
The state of semaphore, including numbering, basis, column and lamp holder, Fig. 7 is shown in the state definition of semaphore.Its state is shown in
Table one.
The state of track section
Track section is a section of rail, actual correspond to Digital Track Circuit.Track section includes that track section is numbered
With track regions segment body, see Fig. 8.The state table of track section is shown in Table two.The numbering of track section is not shown at present on large-size screen monitors,
Employing manually enters.
The state table of table two track section
The state of track switch
Track switch is one section of special track section, by track section numbering, track switch numbering, track switch root and extend (I,
II), the left position of track switch and extension (III, IV), the right position of track switch and extension (V, VI) form, as shown in Figure 9.The state of track switch is shown in Table
Three.
The state table of table three track switch
Described identify basic element after, calculate basic element central point, then off-line extract basic element son unit
The central point of element is relative to the skew of the central point of basic element, and these positions and skew are saved in attribute of an element.Described shape
State analysis module 34, according to the color of these its daughter elements of detection of attribute of basic element, then exists according to the color of its daughter element
Corresponding relation in state table, thus judge the state of basic element.The color extraction of the daughter element of basic element is from this son
The color of the central point of element, the central point of daughter element calculates according to the following formula
Wherein (xs,ys) it is the daughter element central point position in the picture of basic element, (xe,ye) it is basic element
Central point position in the picture, (dxs,dys) it is that the central point of daughter element of basic element is relative to the central point of basic element
Skew.
Described display and transport module 35 can carry out vectogram according to the attribute information of pictorial element and redraw, thus generates more
For the vector image that clearly can scale, supply locally displayed supervision, and can be according to remote request or terminal request, by phase
The information such as the state answered are transferred to request end.If terminal needs to show service chart, then the IP address of this terminal is added to and send out
Send in object listing.Router starts to send the vector quantization element information of service chart in real time to these destination addresses, terminal
Driving service chart is redrawn according to these vector quantization element informations.Due to the vectored transmission used, then the size wrapped can be the least.
In order to reduce data volume further, only transmit the vector part changed, the band shared by these Vector Messages
Width is the least.Here use connection-oriented ICP/IP protocol, be mainly in view of vector quantization data volume less, use this agreement
The reliability of transmission can be improved, affect real-time without the biggest.Transmit to realize the information of server and terminal, this
Bright carry out information transmission according to following agreement.
Graphical analysis server 3 and terminal are fitted interface and the agreement of view data transmission, and detailed process is as follows:
Detailed process is as follows:
1, first terminal to server request sends all images data, sets up basic complete fitted figure picture.This mistake
Journey is that terminal is connected realization with server foundation.
The request port of terminal: 7100
The listening port of server: 7000
If graphical analysis server 3 is not ready for complete matching view data, then request is not responded, terminal
Request in the most every 2 seconds is once.After successful connection, terminal sends request bag, and request sends data.
The request bag form of terminal:
Request bag form:
Totally 14 byte
T: request bag mark
Terminal serial number: each terminal has a unique serial number.
Request type: the type of terminal request bag.Here request all images request of data Packet type: 0x01
Data length: terminal request does not attach other data, and therefore data length is 0x00000000
Data: additional data.
Graphical analysis server 3 responds the request of terminal, then can transmit whole element datas of fitted figure picture to terminal, this
In transmit all of element in image.Concrete form is as follows:
G: server respond packet mark
Number of elements: the quantity of element in fitted figure picture.Each element has identical data form.
Data length: the length of all of element data.
Element: the element data in image.
2, the element data of transmission change.After transferring whole view data, server will be put into this terminal more
New terminal list, the only element data of more new change.In this case, terminal need not send request bag, unless terminal needs
Want whole view data.
The form of the element data bag updated is similar with the form of entire packet, the mark except for the difference that wrapped
3, when not having data to update, server still can send once empty bag as heartbeat packet every 500ms.As follows:
Graphical analysis server 3 and terminal carry out alarm and the interface of running status transmission and agreement, and detailed process is as follows:
(1) first terminal is connected realization with server (192.168.1.2) foundation.Server is sentenced according to request port
Fixed
The request port of terminal: 7101
The listening port of server: 7000
If server is not ready for, then not responding request, terminal then every 2s asks once, reconnects.
(2), after connecting, server will send alarm and running state information to terminal.The form sent is as follows:
Equipment state code: by these predefined conditional codes, terminal can be by the four mistake letters met with a response of tabling look-up
Breath.
The conditional code of table four equipment
Graphical analysis server 3 and terminal carry out interface and the agreement of data query, and detailed process is as follows:
A () terminal to server sends requesting query data, the request bag form of terminal:
Q: request bag mark
Terminal serial number: each terminal has a unique serial number, and character string, including end mark.Notification server is from which
The request of individual terminal, it is simple to server returns.
Random sequence: terminal randomly generates, character string, including end mark.After server completes inquiry, random sequence is returned
Return terminal, for terminal time-out operations.
Data type: data 3 type, train, system, alarm, concrete meaning sees that ats_db header file defines.Determine and need
Inquire about any class data.
String length: the length of inquiry string, including end mark.
Inquiry string: the inquiry string that terminal produces, including end mark.Server directly uses this character string to carry out
Data base querying.
B () server sends successful query data to terminal, the request bag form of server:
S: request bag mark
Terminal serial number: identical with 1.
Random sequence: identical with 1.
Data type: identical with 1.
Data length: the byte number of Query Result.
Element: according to different types of data, has 3 kinds of data structures, and concrete meaning sees that ats_db header file defines.
C () server sends to terminal inquires about unsuccessfully, the request bag form of server:
F: request bag mark
Terminal serial number: identical with 1.
Random sequence: identical with 1.
Data type: identical with 1.
String length: identical with 1.
Failure content: inquire about the character string that unsuccessfully can return failure cause, returns this character string to client.
For analyzing the specific descriptions of system above for train running information of the present invention, its method is then had
Body is as follows:
A kind of train running information analyzes method, specifically includes following steps:
(1) single channel DVI data video signal is converted to multichannel DVI data video signal;
(2) each circuit-switched data video image is gathered;
(3) the data video image gathered is analyzed process, information shows and transmits, particularly as follows:
Extract the feature of each basic element of character in data video image, the vector plotting method of the definition basic element of character, and right
Standard operation image vector quantization;
(4) detect the region of variation of operation image, and region of variation is carried out binary conversion treatment;
Wherein, equation below is used:
Wherein, (x, y, t) be t frame original image to I, x and y is the transverse and longitudinal coordinate of pixel respectively, and (x, y, t) for becoming for M
Change region;
Wherein TMFor detection threshold value, ImBeing the m-th color component value of original image, | x | represents x absolute value.
(5) according to elemental characteristic template recognition detection element;
(6) according to the detection of basic element identification module, the state of element is analyzed;
(7) carry out vectogram according to attribute of an element information to redraw.
The above, be only presently preferred embodiments of the present invention, and the present invention not makees any pro forma restriction, therefore
Every without departing from technical solution of the present invention content, any amendment of above example being made according to the technical spirit of the present invention,
Equivalent variations and modification, all still fall within the range of technical solution of the present invention.
Claims (10)
1. a train running information analyzes system, it is characterised in that including:
DVI shunt, for being converted to multichannel DVI data video signal by single channel DVI data video signal;
Image acquisition device, is used for gathering each circuit-switched data video image;
Graphical analysis server, for the data video image gathered is analyzed process, information shows and transmits;
Wherein, described graphical analysis server also includes:
Extraction module, for extracting the feature of each basic element of character in data video image, the vector plotting of the definition basic element of character
Method, and to standard operation image vector quantization;
Detection module, for detecting the region of variation of operation image, and carries out binary conversion treatment to region of variation;
Identification module, for according to elemental characteristic template recognition detection element;
Analyze module, for the detection according to identification module, the state of basic element is analyzed;
Display and transport module, redraw for carrying out vectogram according to attribute of an element information.
Train running information the most according to claim 1 analyzes system, it is characterised in that:
Described detection module according to the region of variation M of detection operation image calculated below (x, y, t):
Wherein, (x, y, t) be t frame original image to I, x and y is the transverse and longitudinal coordinate of pixel respectively.
Train running information the most according to claim 2 analyzes system, it is characterised in that:
(x, y t) calculate, according to following formula meter described C according to the absolute value sum of tri-color component changes of RGB of pixel
Calculate:
Wherein TMFor detection threshold value, ImBeing the m-th color component value of original image, | x | represents x absolute value.
Train running information the most according to claim 2 analyzes system, it is characterised in that:
Described detection module according to following formula calculate binaryzation operation image region of variation M (x, y, t):
Wherein TBFor threshold value, Y is the brightness of original image.
Train running information the most according to claim 1 analyzes system, it is characterised in that:
Described identification module, according to elemental characteristic template recognition detection element, calculates according to below equation:
N-th basic element Dn(xn,yn, t) calculate according to the following formula
Wherein, basic element (xn,yn)Dn(xn,yn, position coordinates upper left corner t) is (xn,yn),SniAnd SnjIt is n-th respectively
The size of elemental characteristic template, R is coupling correct proportions threshold value.
Train running information the most according to claim 1 analyzes system, it is characterised in that:
Described identification module is when carrying out elemental characteristic template recognition detection element, if a region and elemental characteristic template
Correct matching ratio is more than threshold value, then this element is detected.
Train running information the most according to claim 1 analyzes system, it is characterised in that:
Described analysis module uses the state of the basic element being detected to be analyzed, specifically according to the position of basic element
With the color that shifting property detects its daughter element, the color of its daughter element corresponding relation in state table, thus judge base
The state of this element;
Wherein, the color extraction of the daughter element of described basic element is from the color of the central point of this daughter element, in daughter element
Heart point calculates according to the following formula:
Wherein (xs,ys) it is the daughter element central point position in the picture of basic element, (xe,ye) it is the central point of basic element
Position in the picture, (dxs,dys) it is inclined relative to the central point of basic element of the central point of daughter element of basic element
Move.
Train running information the most according to claim 1 analyzes system, it is characterised in that:
When described display and transport module carry out redrawing vectogram, according to terminal request, by corresponding status information and vectogram
As information is transferred to terminal, terminal redraws service chart according to these vector quantization element informations.
9. a train running information analyzes method, it is characterised in that specifically include following steps:
Single channel DVI data video signal is converted to multichannel DVI data video signal;
Gather each circuit-switched data video image;
The data video image stimulated is analyzed process, information shows and transmits, particularly as follows:
Extract the feature of each basic element of character in data video image, the vector plotting method of the definition basic element of character, and to standard
Operation image vector quantization;
The region of variation of detection operation image, and region of variation is carried out binary conversion treatment;
According to elemental characteristic template recognition detection element;
According to the detection of basic element identification module, the state of element is analyzed;
Carry out vectogram according to attribute of an element information to redraw.
Train running information the most according to claim 9 analyzes method, it is characterised in that:
At the region of variation of described detection operation image, and region of variation is carried out in binary conversion treatment step, use following public
Formula:
Wherein, (x, y, t) be t frame original image to I, x and y is the transverse and longitudinal coordinate of pixel respectively, and (x, y t) are variation zone to M
Territory;
Wherein TMFor detection threshold value, ImBeing the m-th color component value of original image, | x | represents x absolute value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610503320.8A CN106127169A (en) | 2016-06-28 | 2016-06-28 | Train running information analyzes system and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610503320.8A CN106127169A (en) | 2016-06-28 | 2016-06-28 | Train running information analyzes system and method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106127169A true CN106127169A (en) | 2016-11-16 |
Family
ID=57285976
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610503320.8A Pending CN106127169A (en) | 2016-06-28 | 2016-06-28 | Train running information analyzes system and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106127169A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111985479A (en) * | 2020-06-18 | 2020-11-24 | 上海工程技术大学 | Intelligent recognition system for train comprehensive circuit diagram |
CN112644559A (en) * | 2021-01-04 | 2021-04-13 | 北京全路通信信号研究设计院集团有限公司 | Method, apparatus, device and medium for determining display state of track section |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101513886A (en) * | 2008-12-29 | 2009-08-26 | 卡斯柯信号有限公司 | Subway train running monitoring system based on a vector electronic map |
CN201338639Y (en) * | 2008-12-29 | 2009-11-04 | 卡斯柯信号有限公司 | Subway train running supervision device |
CN104766086A (en) * | 2015-04-15 | 2015-07-08 | 湖南师范大学 | Supervising method and system of way mark |
-
2016
- 2016-06-28 CN CN201610503320.8A patent/CN106127169A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101513886A (en) * | 2008-12-29 | 2009-08-26 | 卡斯柯信号有限公司 | Subway train running monitoring system based on a vector electronic map |
CN201338639Y (en) * | 2008-12-29 | 2009-11-04 | 卡斯柯信号有限公司 | Subway train running supervision device |
CN104766086A (en) * | 2015-04-15 | 2015-07-08 | 湖南师范大学 | Supervising method and system of way mark |
Non-Patent Citations (7)
Title |
---|
SAN-TONG ZHANG 等: "Simulation for influence of train failure on railway traffic flow and research on train operation adjusting strategies using cellular automata", 《PHYSICA A: STATISTICAL MECHANICS AND ITS APPLICATIONS》 * |
刘靖: "实时列车图像拼接和信息分析***", 《自动化与仪器仪表》 * |
吴俊亮: "列车运行状态信息***及其查询***的设计实现", 《机动车传动》 * |
庄巍 等: "上海地铁列车运行图自动编制***", 《计算机工程》 * |
张劭: "一种实时分析的列车信息传输与重建***", 《自动化与仪器仪表》 * |
王运敏: "《现代采矿手册 下》", 30 June 2012, 《冶金工业出版社》 * |
邹东: "一种应用于列车信息画面实时重建的快速绘图方法", 《图学学报》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111985479A (en) * | 2020-06-18 | 2020-11-24 | 上海工程技术大学 | Intelligent recognition system for train comprehensive circuit diagram |
CN111985479B (en) * | 2020-06-18 | 2022-09-30 | 上海工程技术大学 | Intelligent recognition system for train comprehensive circuit diagram |
CN112644559A (en) * | 2021-01-04 | 2021-04-13 | 北京全路通信信号研究设计院集团有限公司 | Method, apparatus, device and medium for determining display state of track section |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108288408B (en) | Port safety ship piloting system and method based on PPU | |
CN108648495A (en) | A kind of method and system of the intelligence real-time display bus degree of crowding | |
CN105957145A (en) | Road barrier identification method and device | |
CN102490769A (en) | Track traffic driving state diagram realization method based on GIS (Geographic Information System) | |
CN205665896U (en) | Intersection signal lamp state recognition device | |
CN104933867B (en) | Road condition real-time acquisition method based on traffic monitoring video | |
CN106484757A (en) | Train event on positioning railway network | |
CN111190982B (en) | Big data-based shared bicycle management method and system | |
CN110266999A (en) | A kind of system and method for garden place security control | |
US9576505B2 (en) | Reorganizing display of a railway timetable diagram | |
CN110298619A (en) | Monitoring method, device, terminal, system and the storage medium of transport truck | |
CN105118287A (en) | General investigation system of road traffic sign information | |
CN111309845B (en) | Rail transit road network macroscopic situation data display method and system | |
CN106127169A (en) | Train running information analyzes system and method | |
CN106408963A (en) | Special vehicle control system and control method thereof | |
CN206863971U (en) | Virtually guard against mark system in a kind of construction ship operation area based on AIS/GPRS | |
CN102891991A (en) | Automatic and continuous cruising method for cradle head | |
CN111899565A (en) | Ship scheduling system and method based on informatization technology | |
CN105701730A (en) | Method for real-time data uploading of transformer station remote browsing through JSON technology | |
CN103886773A (en) | Method for monitoring taxi on GIS map in real time under B/S environment | |
CN102355629A (en) | Vehicle position monitoring method based on Google Earth and GPS (global position system) | |
CN107392827A (en) | School safety monitoring system | |
CN106709681A (en) | Medical apparatus logistics distribution system and method based on electronic information technology | |
CN116452925A (en) | Monitoring video identification system based on intelligent algorithm | |
CN109781135A (en) | One kind shows the way robot information screen information supplement methods of exhibiting and application |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20161116 |