CN106657081A - Method, vehicular module and system for remotely accessing vehicular high-density data of locomotive - Google Patents
Method, vehicular module and system for remotely accessing vehicular high-density data of locomotive Download PDFInfo
- Publication number
- CN106657081A CN106657081A CN201611229374.6A CN201611229374A CN106657081A CN 106657081 A CN106657081 A CN 106657081A CN 201611229374 A CN201611229374 A CN 201611229374A CN 106657081 A CN106657081 A CN 106657081A
- Authority
- CN
- China
- Prior art keywords
- data
- record
- vehicle
- access
- module
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0602—Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
- G06F3/062—Securing storage systems
- G06F3/0622—Securing storage systems in relation to access
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0638—Organizing or formatting or addressing of data
- G06F3/0643—Management of files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/06—Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
- G06F3/0601—Interfaces specially adapted for storage systems
- G06F3/0628—Interfaces specially adapted for storage systems making use of a particular technique
- G06F3/0646—Horizontal data movement in storage systems, i.e. moving data in between storage devices or systems
- G06F3/0652—Erasing, e.g. deleting, data cleaning, moving of data to a wastebasket
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C5/00—Registering or indicating the working of vehicles
- G07C5/08—Registering or indicating performance data other than driving, working, idle, or waiting time, with or without registering driving, working, idle or waiting time
- G07C5/0841—Registering performance data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Computer Networks & Wireless Communication (AREA)
- Computing Systems (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention discloses a method, vehicular module and system for remotely accessing vehicular high-density data of a locomotive. The method comprises the following steps of: (1), configuring a vehicular module for data access in a target locomotive; (2), acquiring and recording vehicular data in the target locomotive in an appointed period by the vehicular module; and, when the vehicular high-density data in the target locomotive needs to be accessed, turning to the step (3); and (3), establishing remote communication connection between the vehicular module and an access end, receiving a data on-demand command including required access data information and sent by the access end, screening target data from recorded data according to the required access data information, and sending the target data to the access end. The vehicular module comprises an access control module and a data acquiring and recording module; and the system comprises an access end module and the vehicular module. By means of the method, the vehicular module and the system disclosed by the invention, remote access to the vehicular high-density data in the locomotive can be realized; and furthermore, the method, the vehicular module and the system disclosed by the invention have the advantages of being simple in implementation method, less in required flow, high in data access efficiency, high in flexibility and the like.
Description
Technical field
The present invention relates to communication of locomotive technical field, more particularly to one kind realizes that locomotive vehicle-mounted far denser data is remote access
Method, vehicle module and system.
Background technology
Locomotive operation is safely a highly important problem in railway operation, is to ensure locomotive operation safety, then need
Effective fault analysis and handling etc. is carried out to locomotive.In failure data analysis is processed, the information right and wrong such as locomotive running state
An often important part, or even the direction that decide locomotive operation, management, safeguard, thus generally need to carry out remotely locomotive
Monitor to obtain locomotive on-line operation state.
The data messages such as locomotive on-line operation state are obtained for long-range, is all generally at present periodically to gather Vehicular data
According to, vehicle-mounted data is sent to into ground access end by wireless transfer channels such as GPRS, 3G, 4G, ground access end is again by receiving
To cycle vehicle-mounted data carry out accident analysis etc..Wireless transfer channel transmission vehicle-mounted data can produce data traffic, be control
Flow cost, it is above-mentioned that the data cycle is sent into into the mode of ground access end the cycle of transmission often very greatly, it is far longer than data
Collection period, i.e., the vehicle-mounted data density accessed by the access end of ground is low, and low-density vehicle-mounted data cannot meet various
Accident analysis demand, such as failure need to carry out fail-safe analysis to certain concrete failure when occurring, and are e insufficient to by low-density data
Support is effectively analyzed failure.
Vehicle-mounted high density data in order to obtain locomotive, at present then typically by the side of download online data file
Formula is realized, i.e., when needing to obtain certain time period vehicle-mounted data, directly download in vehicle-mounted recording data to should the time period
Whole data file, record has the vehicle-mounted data in fixed time period (such as 1 hour) in a data file.Such is with data
The mode of file download obtains vehicle-mounted high density data, and the data volume of download is very big, can cause a large amount of wastes of data traffic,
And remote online is downloaded and needs to consume the plenty of time, while being only capable of obtaining data in fixed time period, data acquisition lacks flexibly
Property.
The content of the invention
The technical problem to be solved in the present invention is that:For the technical problem that prior art is present, the present invention provides one
Kind of implementation method is simple, necessary flow is few, data access efficiency high and flexibility it is big realize locomotive vehicle-mounted far denser data
Remote access method, vehicle module and system.
To solve above-mentioned technical problem, technical scheme proposed by the present invention is:
One kind realizes the remote access method of locomotive vehicle-mounted far denser data, and step includes:
1) vehicle module of data access is configured in target locomotive;
2) vehicle module is with vehicle-mounted data in specified cycle collection target locomotive and is recorded;When need access mesh
In mark locomotive during vehicle-mounted data, execution step 3 is proceeded to);
3) vehicle module is set up telecommunication and is connected with access end, and receive access end transmission comprising required access
The data-on-demand order of data message, after parsing the data-on-demand order, according to the required access data message that parsing is obtained
Target data is filtered out from the data of record to send to access end.
As the further improvement of the inventive method:The step 2) in collection vehicle-mounted data and when being recorded, specifically
Set up document data record, by the vehicle-mounted data for collecting according to specified journal to the document data record in, and build
The index file of each record data in the vertical corresponding document data record;The step 3) in especially by it is described index text
Part, from the document data record target data is navigated to.
As the further improvement of the inventive method:The index file record has each in the correspondence document data record
The temporal information of record data.
As the further improvement of the inventive method:The step 3) in data-on-demand order include required access data
Time starting point, duration;During the vehicle module garbled data, after parsing the data-on-demand order, obtained by parsing
The time starting point of required access data, the duration determine that required point broadcasts the time period, and travel through the index file, from institute
State and the target index record that the time period is broadcast comprising required point is searched in index file, by target index record from the data record
Target data is navigated in file.
As the further improvement of the inventive method:The index file has also been recorded respectively to be remembered in the correspondence log file
The start offset address of record data, according to the start offset address of target index record target data is navigated to, described
Beginning offset address is, when every time vehicle-mounted data being recorded to the document data record, to calculate presently described data record text
The size of part is obtained.
As the further improvement of the inventive method:Every time when the vehicle module starts, also include according to the rope
Quotation part carries out deletion repair process to not writing record in the document data record.
As the further improvement of the inventive method:The index file is configured to fixed length, and according to capable sequential storage
Each bar index record, it is described to carry out deleting concretely comprising the following steps for repair process:The line number of the index file is judged, if line number
Then the index file and document data record are deleted less than minimum row numerical value;Otherwise take out the index file most
Afterwards a line is recorded, and judges whether to write according to the length for taking out record, if it is decided that not write, by the index file
In last nominated bank's record deleted, and the last item record in the document data record is deleted;If sentenced
It is set to and writes, then the last item data in the document data record are navigated to according to the last item index record, and judges fixed
Position to the last item data whether write, if write, do not perform operation, if do not write, delete the data record
The last item index record in the last item data record and the index file, completes repair process in file.
As the further improvement of the inventive method:The step 3) in vehicle module when receiving data-on-demand order,
Transmission whether there is the response message of required access data to access end, if wherein access data needed for existing, are sending
After response message, filter out target data and be sent to access end according to preset format;Access end is sending data-on-demand order
Specify afterwards in the time period, if not receiving the response message of vehicle module, retransmission data program request order.
The further open vehicle module for being used for the above-mentioned method for realizing the access of locomotive far denser data of the invention, including it is mutual
The access control module of connection, and for specify, the cycle to gather in target locomotive vehicle-mounted data and the data that recorded are adopted
Collection logging modle, the access control module include be sequentially connected receiving unit, command resolution unit, data screening unit with
And transmitting element, the receiving unit receives the data-on-demand order that access end sends, and command resolution unit described in Jing is solved
After analysis, data message is accessed needed for obtaining;The data screening unit is according to required access data message from the data of record
Target data is filtered out, is sent to access end by the transmitting element.
As the further improvement of vehicle module of the present invention:The data acquiring and recording module include data acquisition unit with
And data record unit, the data record unit sets up document data record, and the vehicle-mounted data for collecting is suitable according to specifying
Sequence is recorded into the document data record, and sets up the index file of each record data in the correspondence document data record;
The data screening unit navigates to target data by the index file from the document data record.
The present invention further provides the system that locomotive far denser data is accessed is realized, including the access end mould for being configured at access end
Block and the above-mentioned vehicle module being configured in target locomotive, it is described when vehicle-mounted far denser data in needing access target locomotive
Vehicle module is set up telecommunication and is connected with the access end module, and the access end module sends described to the vehicle module
Data-on-demand order, the vehicle module is received and responded after the data-on-demand order, according to required access data letter
Breath filters out target data and sends to access end from the data of record.
Compared with prior art, it is an advantage of the current invention that:
1) present invention by configuring vehicle module, by vehicle module with specify the cycle gather target locomotive in vehicle-mounted data simultaneously
Recorded, when needing to access vehicle-mounted data, vehicle module is set up telecommunication and is connected with access end, and received access end and sent out
The data-on-demand order sent, goes out desired data and sends to access end, i.e., based on data-on-demand side according to data-on-demand order filtering
Formula realizes that vehicle-mounted data is accessed, and implementation method is simple, can flexibly obtain vehicle-mounted data in special time period such that it is able to real
The long-range of vehicle-mounted high density data flexibly, quickly accesses in existing locomotive, fault data fixed point reliable analysis demand is met, while visiting
Ask that data transfer is quick, can effectively reduce unnecessary data traffic, obtain highly dense with traditional use file download mode
Data are compared, and are avoided that a large amount of flows are wasted, and reduce data traffic cost;
2) further when vehicle-mounted data is recorded, corresponding foundation is corresponding with vehicle-mounted recording data to index text to the present invention
Part so that can quickly be indexed by index file and navigate to each data in document data record, with reference to index file and number
The efficient access of vehicle-mounted high density data is realized according to log file, while convenient repair to log file;
3) present invention further records temporal information, the start offset address of vehicle-mounted data by index file, parses number
Strong point is broadcast order and is got after required point broadcasts the time period, and data are accessed needed for can navigating to rapidly using Displacement mapping mode,
It is used in combination time index file and realizes the quick indexing of order program data, implementation with the mode of document data record mapping
Simple and reliable property is high;
4) present invention is further each when vehicle module starts, according to index file to not writing in document data record
Record carries out deletion repair process, and because file does not write, caused data are wrong with index file can to avoid document data record
Disorderly, it is ensured that the reliability of data access.
Description of the drawings
Fig. 1 be the present embodiment realize the remote access method of locomotive vehicle-mounted far denser data realize schematic flow sheet.
Fig. 2 is the result schematic diagram of document data record and index file in the specific embodiment of the invention.
Fig. 3 is to delete repair process in the present embodiment to implement schematic flow sheet.
Fig. 4 is that the flow process that implements that the remote access method of locomotive vehicle-mounted far denser data is realized in the present embodiment is illustrated
Figure.
Fig. 5 is that the present embodiment is used to realize the structural representation of the remote access vehicle module of locomotive vehicle-mounted far denser data.
Fig. 6 is the principle schematic diagram. that the present embodiment realizes locomotive vehicle-mounted far denser data remote access system.
Specific embodiment
Below in conjunction with Figure of description and concrete preferred embodiment, the invention will be further described, but not therefore and
Limit the scope of the invention.
As shown in figure 1, the present embodiment realizes the remote access method of locomotive vehicle-mounted far denser data, step includes:
1) vehicle module of data access is configured in target locomotive;
2) vehicle module is with vehicle-mounted data in specified cycle collection target locomotive and is recorded;When needing access target machine
In car during vehicle-mounted data, execution step 3 is proceeded to);
3) vehicle module is set up telecommunication and is connected with access end, and receive access end transmission comprising required access data
The data-on-demand order of information, after parsing data-on-demand order, according to the required access data message that obtains of parsing from record
Filter out target data in data to send to access end.
The present embodiment realizes that vehicle-mounted data is accessed based on access end to the data-on-demand mode of car, without the need for changing former locomotive knot
Structure, without additional hardware cost is increased, can flexibly obtain vehicle-mounted data in special time period such that it is able to realize locomotive
In vehicle-mounted high density data it is long-range flexibly, it is quick access, while it is quick to access data transfer, can effectively reduce unnecessary
Data traffic, compared with traditional use file download mode obtains far denser data, is avoided that a large amount of flows are wasted, and reduces data
Flow cost.
In the present embodiment, step 2) in collection vehicle-mounted data and when being recorded, specifically set up document data record, will adopt
During the vehicle-mounted data for collecting is according to specified journal to document data record, and sets up in corresponding data log file and respectively record
The index file of data;Step 3) in especially by index file, target data is navigated to from document data record.Vehicle-mounted
It is corresponding to set up index file corresponding with vehicle-mounted recording data so that can be quick by index file during data record
Index navigates to each data in document data record, i.e., realize vehicle-mounted high density data with reference to index file and document data record
Efficient access.Document data record can be distinguished when storing with index file according to " .bin " and " .idx ".
In the present embodiment, index file record has the temporal information of each record data in corresponding data log file, that is, count
When recording vehicle-mounted data according to log file, by the time of each record data of index file corresponding record.Data are set up based on the time
The index file of log file, then when needing to access vehicle-mounted data in special time period, temporal information in search index file
Record can quickly navigate to target data, realize the flexible access of vehicle-mounted far denser data, and the index side based on temporal information
Formula is convenient, reliable.Certainly index file can also record number using each bar in the mark pattern flag data log files such as sequence number
According to, different temporal informations set in advance of each mark correspondence, when needing to access special time period vehicle-mounted data, then by sequence number with
The corresponding relation of time navigates to target data.
In the present embodiment, index file also records the start offset address of each record data in corresponding record file, root
Target data is navigated to according to the start offset address of target index record, start offset address is every time to record vehicle-mounted data
During to document data record, the size for calculating current data log file is obtained.The present embodiment is specifically every time by Vehicular data
During according to record to document data record, the size of current data log file, and the rising when previous record as correspondence are calculated
Beginning offset address, by start offset address with when in previous recording time information write index file, obtains correspondence when previous note
One index record of record.By the start offset address recorded in index file, then can quick rope using Displacement mapping mode
Guide to target data in document data record.
As shown in Fig. 2 index file sets up generation with behavior unit in the specific embodiment of the invention, in document data record
When recording the first data, the record time (9 of the first data of correspondence is recorded in corresponding indexed file:00:00), and
Its start offset (0) in document data record;When recording the second data, the second data is have recorded in indexed file
The record time (9:00:00), and its start offset (185) in document data record, wherein the first data is 185
Individual byte, by that analogy, foundation obtains one-to-one document data record and index file.Only needed to by index file
Fixed row of reading just can rapidly navigate to the initial time of data, simultaneously because the record time of index file and data start offset
Correspond, therefore, it is possible to navigate to the start offset address of data rapidly, so as to successfully read data.
In the present embodiment, step 3) in data-on-demand order include time starting point, the duration of required access data;
During vehicle module garbled data, after parsing data-on-demand order, the time starting of data is accessed by needed for data-on-demand order
Point, duration determine that required point broadcasts the time period;Traversal index file, searches from index file and broadcasts the time period comprising required point
Target index record, and target data is navigated to from document data record by start offset address in target index record.
In the present embodiment, every time when vehicle module starts, also include according to index file in document data record not
Writing record carries out deletion repair process.Device power-off, such the last item data certainty are possible to when data record
Failure can be recorded, then deletion repair process is carried out to not writing record in document data record based on index file, can be avoided
Document data record and index file caused data entanglement because file does not write, it is ensured that the reliability of data access.
The further index file of the present embodiment is configured to fixed length, according to the capable each bar index record of sequential storage, Ke Yifang
Just realization carries out reliable reparation to file.As shown in figure 3, the present embodiment carries out deleting concretely comprising the following steps for repair process:Read
Take index file and judge the line number of index file, by index file and data record if line number is less than minimum row numerical value
File is deleted;Last column record of index file is otherwise taken out, and judges whether to write according to the length for taking out record,
If length is equal with write fixed-length value, it is judged to write, is otherwise judged to not write;If it is determined that wherein not writing
It is complete, last nominated bank's (the present embodiment is specially last two rows) record in index file is deleted, and by data record
The last item record is deleted in file;If it is determined that writing, then data note is navigated to according to the last item index record
The last item data in record file, read out the last item data content, and judge whether the last item data write, if write
It is complete, show that index file is complete with document data record, operation is not performed, if do not write, delete document data record
The last item index record in middle the last item data record and index file, completes repair process.Judge data record text
When whether data write in part, specifically can be realized according to data record rule, such as data record size.
The present embodiment deletes delete processing of the repair process predominantly to last record data in document data record, it is considered to
If do not write to the last item index, the last item data of correspondence second from the bottom index are likely to not write, therefore this
The setting value of embodiment minimum row is 3 rows, i.e., when being read out to index file, directly will if line number is determined less than 3 rows
Index is deleted with data file, if being more than 3 rows, is taken out last column record and is further deleted repair process.
In the present embodiment, step 3) in vehicle module when receiving data-on-demand order, send and whether there is required access
The response message of data is to access end, if wherein access data needed for existing, after response message has been sent, filter out target
Access end is sent to after data according to preset format;Access end is specified in the time period, if not connecing after data-on-demand order is sent
The response message of vehicle module is received, then retransmission data program request order.
The present embodiment vehicle module is specifically configurable in former locomotive to be used in the vehicle-mounted monitoring system of monitor in real time, vehicle-mounted
Monitoring system is stored to local according to vehicle-mounted data in fixed cycle collection locomotive, and by vehicle module the data point of access end is received
Order is broadcast, and data-on-demand order is parsed, data message is accessed needed for obtaining, according to the required access number that parsing is obtained
It is believed that breath filters out target data from the data of record sending to access end.
Access end UDP specifically used with vehicle module communicates with setting up order and data exchange channels in the present embodiment,
Vehicle-mounted data is stored in local with fixed cycle collection;When vehicle-mounted data in access end needs special time period, access end to
Vehicle module send data-on-demand order, in data-on-demand order comprising it is required access data time starting point with it is lasting when
Between;Vehicle module is received after the data-on-demand order of access end transmission, and by index file Displacement mapping mode quick indexing is used
To target data, and access end is sent it to, the program request for realizing high density data sends.
As shown in figure 4, when ground access end needs to remotely access locomotive vehicle-mounted far denser data in the specific embodiment of the invention,
Ground access end is set up by UDP with vehicle module and is communicated to connect, and concrete steps include:
1. ground access end to vehicle module send data-on-demand order, data-on-demand order comprising data initial time with
And the duration;
2. ground access end waits the response message of vehicle module, if specify confiscated in the time period (specially 10s)
Response message, then retransmission data program request order, if data-on-demand order all confiscates response message after retransmitting three times, then it is assumed that point
Broadcast failure;
3. vehicle module is received after data-on-demand order, is parsed and access needed for data-on-demand order data message
Initial time and duration, obtain required point and broadcast the time period;Whether search local data records file includes required point sowing time
Between section, determine whether data according to Search Results, and using Search Results " having data " or " no data " as response message
Issue access end;Response message specifically may be configured as fixed repeating transmission three times, and duplicate removal is done again to identical response message in access end
Process;
If 4. vehicle module has searched data, after response message is distributed, reflected using offset address by index file
Penetrate mode and target data is navigated to from document data record, screening obtains target data, and is sent to ground according to predetermined format
Face access end;
5. ground access end receives the data of vehicle module transmission and is parsed, if response message is without data,
Then terminate access process after vehicle module distributes response command;If response message is received to start letter to there is data
Breath message, then show program request success, starts receiving data, and the required access data to receiving are parsed according to agreement;Such as
Fruit is received as ending message message, then terminate current accessed process.
As shown in figure 5, the present embodiment is used to realize the remote access vehicle module of locomotive vehicle-mounted far denser data, including it is mutual
The access control module of connection, and for specify, the cycle to gather in target locomotive vehicle-mounted data and the data that recorded are adopted
Collection logging modle, access control module includes the receiving unit being sequentially connected, command resolution unit, data screening unit and sends out
Unit is sent, receiving unit receives the data-on-demand order that access end sends, Jing after command resolution unit is parsed, needed for obtaining
Access data message;Data screening unit filters out target data according to required access data message from the data of record, leads to
Cross transmitting element to send to access end.
In the present embodiment, data record unit sets up document data record, and the vehicle-mounted data for collecting is suitable according to specifying
Sequence is recorded into document data record, and sets up the index file of each record data in corresponding data log file;Data screening
Unit navigates to target data by index file from document data record.Document data record specifically can be by machine in former locomotive
Car monitoring system is acquired record and obtains.
As shown in fig. 6, the present embodiment realizes the system that locomotive far denser data is accessed, including the access end for being configured at access end
Module and the above-mentioned vehicle module being configured in target locomotive, when vehicle-mounted far denser data in needing access target locomotive, car
Load module is set up telecommunication and is connected with access end module, accesses end module and sends data-on-demand order to the vehicle module,
Vehicle module is received and responded after data-on-demand order, is filtered out from the data of record according to required access data message
Target data is sent to access end.Vehicle module specifically sends data according to preset format, and access end receives vehicle module and sends out
After the data sent, parsed according to preset protocol, the vehicle-mounted data of access needed for obtaining.The present embodiment vehicle module and access
The specifically used UDP of end module communicates with setting up order and data exchange channels.
Above-mentioned simply presently preferred embodiments of the present invention, not makees any pro forma restriction to the present invention.Although of the invention
It is disclosed above with preferred embodiment, but it is not limited to the present invention.Therefore, it is every without departing from technical solution of the present invention
Content, according to the technology of the present invention essence to any simple modification made for any of the above embodiments, equivalent variations and modification, all should fall
In the range of technical solution of the present invention protection.
Claims (11)
1. one kind realizes the remote access method of locomotive vehicle-mounted far denser data, it is characterised in that step includes:
1) vehicle module of data access is configured in target locomotive;
2) vehicle module is with vehicle-mounted data in specified cycle collection target locomotive and is recorded;When needing access target machine
In car during vehicle-mounted data, execution step 3 is proceeded to);
3) vehicle module is set up telecommunication and is connected with access end, and receive access end transmission comprising required access data
The data-on-demand order of information, after parsing the data-on-demand order, the required access data message obtained according to parsing is from note
Target data is filtered out in the data of record to send to access end.
2. it is according to claim 1 to realize the remote access method of locomotive vehicle-mounted far denser data, it is characterised in that the step
It is rapid 2) in collection vehicle-mounted data and when being recorded, document data record is specifically set up, by the vehicle-mounted data for collecting according to finger
Journal is determined into the document data record, and set up the index text of each record data in the correspondence document data record
Part;The step 3) in especially by the index file, navigate to target data from the document data record.
3. it is according to claim 2 to realize the remote access method of locomotive vehicle-mounted far denser data, it is characterised in that the rope
Drawing file record has the temporal information of each record data in the correspondence document data record.
4. it is according to claim 3 to realize the remote access method of locomotive vehicle-mounted far denser data, it is characterised in that the step
It is rapid 3) in data-on-demand order include it is required access data time starting point, duration;The vehicle module garbled data
When, after parsing the data-on-demand order, the time starting point of the required access data obtained by parsing, duration determine institute
The program request time period is needed, and travels through the index file, the target that the time period is broadcast comprising required point is searched from the index file
Index record, target data is navigated to by target index record from the document data record.
5. it is according to claim 4 to realize the remote access method of locomotive vehicle-mounted far denser data, it is characterised in that the rope
Quotation part also records the start offset address of each record data in the correspondence log file, according to the institute of target index record
State start offset address and navigate to target data, the start offset address is every time vehicle-mounted data to be recorded to the data
During log file, the size for calculating presently described document data record is obtained.
6. the remote access method of locomotive vehicle-mounted far denser data is realized according to any one in claim 2~5, it is special
Levy and be, every time when the vehicle module starts, also include according to the index file in the document data record not
Writing record carries out deletion repair process.
7. it is according to claim 6 to realize the remote access method of locomotive vehicle-mounted far denser data, it is characterised in that the rope
Quotation part is configured to fixed length, and according to the capable each bar index record of sequential storage, the concrete step for carrying out deleting repair process
Suddenly it is:Judge the line number of the index file, remember the index file and data if line number is less than minimum row numerical value
Record file is deleted;Last column record of the index file is otherwise taken out, and is according to the length judgement for taking out record
It is no to write, if it is decided that not write, last nominated bank record in the index file is deleted, and by the data
The last item record is deleted in log file;If it is determined that writing, then institute is navigated to according to the last item index record
The last item data in document data record are stated, and judges whether the last item data for navigating to write, if write, do not held
Row operation, if do not write, in deleting in the document data record the last item data record and the index file
The last item index record, completes repair process.
8. the remote access method of locomotive vehicle-mounted far denser data is realized according to any one in Claims 1 to 5, it is special
Levy and be:The step 3) in vehicle module when receiving data-on-demand order, send the sound with the presence or absence of required access data
Information is answered to access end, if wherein exist needed for access data, after response message has been sent, filter out target data and by
Access end is sent to according to preset format;Access end is specified in the time period, if not receiving vehicle-mounted after data-on-demand order is sent
The response message of module, then retransmission data program request order.
9. it is used in claim 1~8 realize the vehicle module of the method that locomotive far denser data is accessed described in any one, it is special
It is the access control module for including being connected with each other to levy, and for being gone forward side by side with specifying the cycle to gather vehicle-mounted data in target locomotive
Row record data acquiring and recording module, the access control module include be sequentially connected receiving unit, command resolution unit,
Data screening unit and transmitting element, the receiving unit receives the data-on-demand order that access end sends, order described in Jing
After resolution unit is parsed, data message is accessed needed for obtaining;The data screening unit is according to required access data message
Target data is filtered out from the data of record, is sent to access end by the transmitting element.
10. vehicle module according to claim 9, it is characterised in that:The data acquiring and recording module is adopted including data
Collection unit and data record unit, the data record unit sets up document data record, by the vehicle-mounted data for collecting by
According to specified journal to the document data record, and set up the rope of each record data in the correspondence document data record
Quotation part;The data screening unit navigates to target data by the index file from the document data record.
11. a kind of systems for realizing the access of locomotive far denser data, it is characterised in that including the access end module for being configured at access end
And the vehicle module as described in claim 9 or 10 being configured in target locomotive, it is vehicle-mounted in access target locomotive is needed
During far denser data, the vehicle module is set up telecommunication and be connected with the access end module, and the end module that accesses is to described
Vehicle module sends the data-on-demand order, and the vehicle module is received and responded after the data-on-demand order, presses
Target data is filtered out according to required access data message from the data of record to send to access end.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611229374.6A CN106657081A (en) | 2016-12-27 | 2016-12-27 | Method, vehicular module and system for remotely accessing vehicular high-density data of locomotive |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201611229374.6A CN106657081A (en) | 2016-12-27 | 2016-12-27 | Method, vehicular module and system for remotely accessing vehicular high-density data of locomotive |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106657081A true CN106657081A (en) | 2017-05-10 |
Family
ID=58831643
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201611229374.6A Pending CN106657081A (en) | 2016-12-27 | 2016-12-27 | Method, vehicular module and system for remotely accessing vehicular high-density data of locomotive |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106657081A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110389570A (en) * | 2018-04-19 | 2019-10-29 | 株洲中车时代电气股份有限公司 | A kind of locomotive traction system trouble-shooter and method |
CN110535892A (en) * | 2018-05-24 | 2019-12-03 | 株洲中车时代电气股份有限公司 | Rail transportation vehicle-mounted data high speed dump system, method and state monitoring method |
CN113032413A (en) * | 2021-03-10 | 2021-06-25 | 北京嘀嘀无限科技发展有限公司 | Data sampling method, device, electronic equipment, storage medium and program product |
CN114633781A (en) * | 2022-03-07 | 2022-06-17 | 湖南中车时代通信信号有限公司 | Method for controlling vehicle-mounted data of high-speed maglev train and related components |
CN115334090A (en) * | 2021-05-10 | 2022-11-11 | 株洲中车时代电气股份有限公司 | Data transmission method and device, electronic equipment and storage medium |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101334667A (en) * | 2007-06-26 | 2008-12-31 | 株洲南车时代电气股份有限公司 | Locomotive status messages checking and diagnosis recording method and device |
CN102117508A (en) * | 2010-01-05 | 2011-07-06 | 株洲南车时代电气股份有限公司 | Locomotive running energy consumption statistical system and method |
CN104869357A (en) * | 2015-05-14 | 2015-08-26 | 株洲南车时代电气股份有限公司 | Method and system for transmitting vehicle-mounted video data |
-
2016
- 2016-12-27 CN CN201611229374.6A patent/CN106657081A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101334667A (en) * | 2007-06-26 | 2008-12-31 | 株洲南车时代电气股份有限公司 | Locomotive status messages checking and diagnosis recording method and device |
CN102117508A (en) * | 2010-01-05 | 2011-07-06 | 株洲南车时代电气股份有限公司 | Locomotive running energy consumption statistical system and method |
CN104869357A (en) * | 2015-05-14 | 2015-08-26 | 株洲南车时代电气股份有限公司 | Method and system for transmitting vehicle-mounted video data |
Non-Patent Citations (1)
Title |
---|
郭柳柳等: "基于非操作系统车载记录仪数据管理系统的设计", 《计算机测量与控制(2014)》 * |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110389570A (en) * | 2018-04-19 | 2019-10-29 | 株洲中车时代电气股份有限公司 | A kind of locomotive traction system trouble-shooter and method |
CN110535892A (en) * | 2018-05-24 | 2019-12-03 | 株洲中车时代电气股份有限公司 | Rail transportation vehicle-mounted data high speed dump system, method and state monitoring method |
CN113032413A (en) * | 2021-03-10 | 2021-06-25 | 北京嘀嘀无限科技发展有限公司 | Data sampling method, device, electronic equipment, storage medium and program product |
CN115334090A (en) * | 2021-05-10 | 2022-11-11 | 株洲中车时代电气股份有限公司 | Data transmission method and device, electronic equipment and storage medium |
CN114633781A (en) * | 2022-03-07 | 2022-06-17 | 湖南中车时代通信信号有限公司 | Method for controlling vehicle-mounted data of high-speed maglev train and related components |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106657081A (en) | Method, vehicular module and system for remotely accessing vehicular high-density data of locomotive | |
DE102011003444B4 (en) | diagnostic information gathering device | |
DE102004019232B4 (en) | Method and apparatus for conveying a plurality of physical objects | |
CN103973791B (en) | The quick unified storage system of Internet of Things | |
DE19846256B4 (en) | Data recovery system and corresponding method as well as computer-readable data carriers | |
CN108093016A (en) | A kind of picture storage method, device and video monitoring system | |
CN103559274A (en) | Vehicle condition information query method and device | |
CN103529761A (en) | New energy vehicle fault data acquisition method and device | |
CN113704830B (en) | Intelligent website data tamper-proof system and method | |
DE112013005752T5 (en) | Method and device for uploading data | |
CN105187556B (en) | A kind of method, apparatus and Edge Server of data Hui Yuan | |
CN110381128A (en) | A kind of method for uploading and cloud storage model suitable for files in stream media | |
CN110535892A (en) | Rail transportation vehicle-mounted data high speed dump system, method and state monitoring method | |
CN103619040A (en) | LTE automatic drive test method | |
CN114489477A (en) | Decentralized distributed storage method based on block chain | |
CN104104568A (en) | Method, device and system for acquiring data from communication bus | |
CN101673465A (en) | Method for acquiring road condition and system therefor | |
CN103781056A (en) | Terminal peripheral data management method and M2M gateway | |
CN102142161B (en) | Method and device for processing recorded data of automatic protection system of train | |
CN104639880A (en) | Method and system for video monitoring and centralized recording in GPRS network environment | |
CN102291434A (en) | Automatic ambulance data uploading method and system | |
CN104331948B (en) | Tachographs upgrade information sending method, method of reseptance, apparatus and system | |
CN105610921A (en) | Erasure code filing method based on data cache in cluster | |
CN110362548A (en) | Log extracting method and relevant device | |
EP1712880B1 (en) | Device for relaying heat or water consumption data |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170510 |