CN103559230B - A kind of processing method of engineering truck record information - Google Patents

A kind of processing method of engineering truck record information Download PDF

Info

Publication number
CN103559230B
CN103559230B CN201310499468.5A CN201310499468A CN103559230B CN 103559230 B CN103559230 B CN 103559230B CN 201310499468 A CN201310499468 A CN 201310499468A CN 103559230 B CN103559230 B CN 103559230B
Authority
CN
China
Prior art keywords
record information
text
engineering truck
memory space
digital code
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.)
Active
Application number
CN201310499468.5A
Other languages
Chinese (zh)
Other versions
CN103559230A (en
Inventor
宋杰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRRC Zhuzhou Locomotive Co Ltd
Original Assignee
CSR Zhuzhou Electric Locomotive Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by CSR Zhuzhou Electric Locomotive Co Ltd filed Critical CSR Zhuzhou Electric Locomotive Co Ltd
Priority to CN201310499468.5A priority Critical patent/CN103559230B/en
Publication of CN103559230A publication Critical patent/CN103559230A/en
Application granted granted Critical
Publication of CN103559230B publication Critical patent/CN103559230B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/30Information retrieval; Database structures therefor; File system structures therefor of unstructured textual data

Abstract

The invention discloses a kind of processing method of engineering truck record information, including:Obtain the text of engineering truck whole record information sample;The each text of record information sample is identified using mutually different digital code;To be stored in the first memory space by the text of the engineering truck whole record information sample after mark;Obtain the text of the record information that engineering truck is generated in real time;The text with the text identical record information sample of the record information for generating in real time is searched in the first memory space;Extract the digital code of the text of the record information sample for finding;The digital code that will be extracted is stored in the second memory space.The present invention can realize reducing the memory space of record information and improve the search efficiency of record information.

Description

A kind of processing method of engineering truck record information
Technical field
The present invention relates to technical field of rail traffic, more specifically to a kind for the treatment of side of engineering truck record information Method.
Background technology
Engineering truck can produce a plurality of record information during operation.At present, the storage mode to record information is used Be to store one by one, i.e., each record information that engineering truck is generated in the process of running is carried out using identical memory space Storage.A plurality of identical record information may be generated during operation due to engineering truck, existing this storage mode can Multiple storage can be carried out to identical record information so that memory space increases.Simultaneously as every record information is big Small to have differences, existing this storage mode is deposited to different record informations using identical memory space Storage, the memory space of maximum can be also occupied when record information is smaller so that memory space can not be reasonably utilized.
The content of the invention
In view of this, the present invention provides a kind of processing method of engineering truck record information, can reduce depositing for record information Storage space, improves the search efficiency of record information.
In order to solve the above technical problems, the technical solution adopted by the present invention is:A kind for the treatment of side of engineering truck record information Method, including:
Obtain the text of engineering truck whole record information sample;
The each text of record information sample is identified using mutually different digital code;
To be stored in the first memory space by the text of the engineering truck whole record information sample after mark;
Obtain the text of the record information that engineering truck is generated in real time;
Search the digital generation of identical text in the text of record information and the text of record information sample of generation in real time Code;
The digital code that will be found is stored in the second memory space.
Preferably, also include after the second memory space in the digital code storage that will be found:
Extract the digital code in the second memory space;
The text with the digital code identical record information sample for extracting is found out in the first memory space.
Preferably, the digital code is the digital code for describing in digital form.
Preferably, the mutually different note of whole that the text of the engineering truck whole record information sample is produced for engineering truck The text of record information.
It can be seen from above-mentioned technical scheme that, a kind of processing method of engineering truck record information disclosed by the invention is first First the text of engineering truck whole record information sample is identified using mutually different digital code so that each record Text one digital code of correspondence of message sample, then by by the text of the engineering truck whole record information sample after mark Then storage obtains the text of the record information that engineering truck is generated in real time in the first memory space, and in the first memory space The text with the text identical record information sample of the record information of real-time generation is searched, the record information for finding is extracted The digital code of the text of sample, the digital code that will finally extract is stored in the second memory space.Due to the mistake in storage Cheng Zhong, only to the text of record information sample and in real time, the digital code of the text of the record information of generation is stored, therefore Greatly save memory space.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of flow chart of the processing method of engineering truck record information disclosed in the embodiment of the present invention;
Fig. 2 is a kind of flow chart of the processing method of engineering truck record information disclosed in another embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole embodiments.Base Embodiment in the present invention, those of ordinary skill in the art obtained under the premise of creative work is not made it is all its His embodiment, belongs to the scope of protection of the invention.
The embodiment of the invention discloses a kind of processing method of engineering truck record information, the storage of record information can be reduced Space, improves the search efficiency of record information.
As shown in figure 1, a kind of processing method of engineering truck record information, including:
S101, the text for obtaining engineering truck whole record information sample;
S102, each text of record information sample is identified using mutually different digital code;
S103, will be stored in the first memory space by the text of the engineering truck whole record information samples after mark;
S104, the text for obtaining the record information that engineering truck is generated in real time;
S105, search in the first memory space text identical record information sample with the record information for generating in real time Text;
S106, extract the record information sample for finding text digital code;
S107, the digital code that will be extracted storage are in the second memory space.
In the above-described embodiments, the text of engineering truck whole record information sample is obtained first, i.e. engineering truck may go out The text of existing mutually different all record informations, then to the text of record information sample in each record information sample This text is identified using mutually different digital code, i.e., the text correspondence one of each record information sample is specific Digital code, wherein, digital code is the digital code for describing in digital form.Then will be complete by the engineering truck after mark The text of portion's record information sample is stored in the first memory space.Then in the running of engineering truck, engineering truck reality is obtained The text of the record information of Shi Shengcheng, then searches identical with the text of the record information for generating in real time in the first memory space Record information sample text, then extract the numeral of the text of record information sample in the first memory space for finding Code, the digital code that will finally extract is stored in the second memory space.Due to only storing the text of record information sample This digital code with the text of the record information of generation in real time, therefore greatly save memory space.For example:It is assumed that all remembering The text for recording message sample has 2000, and every record needs the byte of memory space 200, every text of record information sample Digital code is 2 bytes, and engineering truck one-minute average produces 12 records or fault message, and is run 3 days daily 8 with engineering truck As a example by hour.In the prior art, it is necessary to memory space be about:3*8*60*12*200=3456000 bytes.With of the invention public The method opened, it is necessary to memory space be about:2000*200+3*8*60*12*2=434560 bytes.It follows that using we After method, the space of record information storage is only the 12.6% of prior art.In the case of bigger recorded amounts, can save more The memory space of record information.Under limiting case, after this method, the memory space of record information is about prior art 1%。
On the basis of above-described embodiment, the present invention also provides a kind of processing method of engineering truck record information, Ke Yigai Enter the querying method of record information, it is specific as shown in Figure 2.
A kind of processing method of engineering truck record information, including:
S201, the text for obtaining engineering truck whole record information sample;
S202, each text of record information sample is identified using mutually different digital code;
S203, will be stored in the first memory space by the text of the engineering truck whole record information samples after mark;
S204, the text for obtaining the record information that engineering truck is generated in real time;
S205, search in the first memory space text identical record information sample with the record information for generating in real time Text;
S206, extract the record information sample for finding text digital code;
S207, the digital code that will be extracted storage are in the second memory space;
S208, the digital code extracted in the second memory space;
S209, find out in the first memory space text with the digital code identical record information sample for extracting.
In the above-described embodiments, comprising the storage to record information and content of both inquiry.Specifically, to record In the storing process of information, the text of engineering truck whole record information samples, i.e. engineering truck are obtained first it is possible that it is mutual The text of all record informations for differing, then to the text of record information sample in each text of record information sample This is identified using mutually different digital code, i.e., each specific numeral of text correspondence one of record information sample Code, wherein, digital code is the digital code for describing in digital form.Then will all be recorded by the engineering truck after mark The text of message sample is stored in the first memory space.Then in the running of engineering truck, obtain engineering truck and generate in real time Record information text, then searched in the first memory space and recorded with the text identical of the record information for generating in real time The text of message sample, then extracts the digital code of the text of record information sample in the first memory space for finding, The digital code that will finally extract is stored in the second memory space.Due to only being stored in the storing process to record information The text of record information sample and the in real time digital code of the text of the record information of generation, therefore it is empty to greatly save storage Between.For example:It is assumed that the text of whole record information samples has 2000, every record needs the byte of memory space 200, every note The digital code for recording the text of message sample is 2 bytes, and engineering truck one-minute average produces 12 to record or fault message, and with As a example by engineering truck runs daily 8 hours 3 days.In the prior art, it is necessary to memory space be about:3*8*60*12*200= 3456000 bytes.With method disclosed by the invention, it is necessary to memory space be about:2000*200+3*8*60*12*2= 434560 bytes.It follows that after using this method, the space of record information storage is only the 12.6% of prior art.Bigger In the case of recorded amounts, the memory space of more record informations can be saved.Under limiting case, after this method, record letter The memory space of breath is about the 1% of prior art.
In the query process to record information, storage in the second memory space is extracted in the second memory space first Digital code, then found out in the first memory space with extract digital code identical record information sample text The text of the record information that sheet, as engineering truck are generated in real time.Due to using method disclosed by the invention, the storage of record information Space is smaller, when in the case of larger data storage, querying method disclosed in this method is relative to prior art larger Record information is inquired about in memory space, the time of inquiry can be shortened, the efficiency of inquiry is improve to a certain extent.
Each embodiment is described by the way of progressive in this specification, and what each embodiment was stressed is and other The difference of embodiment, between each embodiment identical similar portion mutually referring to.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or uses the present invention. Various modifications to these embodiments will be apparent for those skilled in the art, as defined herein General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, the present invention The embodiments shown herein is not intended to be limited to, and is to fit to and principles disclosed herein and features of novelty phase one The scope most wide for causing.

Claims (2)

1. a kind of processing method of engineering truck record information, it is characterised in that including:
The text of engineering truck whole record information sample is obtained, the text of the engineering truck whole record information sample is engineering truck The text of the mutually different all record informations for occurring;
The each text of record information sample is identified using mutually different digital code;
To be stored in the first memory space by the text of the engineering truck whole record information sample after mark;
Obtain the text of the record information that engineering truck is generated in real time;
The text with the text identical record information sample of the record information for generating in real time is searched in the first memory space;
Extract the digital code of the text of the record information sample for finding;
The digital code that will be extracted is stored in the second memory space;
Extract the digital code in the second memory space;
The text with the digital code identical record information sample for extracting is found out in the first memory space.
2. method according to claim 1, it is characterised in that the digital code is the digital generation for describing in digital form Code.
CN201310499468.5A 2013-10-22 2013-10-22 A kind of processing method of engineering truck record information Active CN103559230B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310499468.5A CN103559230B (en) 2013-10-22 2013-10-22 A kind of processing method of engineering truck record information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310499468.5A CN103559230B (en) 2013-10-22 2013-10-22 A kind of processing method of engineering truck record information

Publications (2)

Publication Number Publication Date
CN103559230A CN103559230A (en) 2014-02-05
CN103559230B true CN103559230B (en) 2017-06-30

Family

ID=50013477

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310499468.5A Active CN103559230B (en) 2013-10-22 2013-10-22 A kind of processing method of engineering truck record information

Country Status (1)

Country Link
CN (1) CN103559230B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106919626B (en) * 2015-12-28 2020-05-08 北京国双科技有限公司 Data processing method and device and data query method and device

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980325A (en) * 2010-09-20 2011-02-23 北京腾瑞万里科技有限公司 Map sheet reading method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070180470A1 (en) * 2006-01-13 2007-08-02 Gogo Mobile, Inc. Method and system for metadata normalization, association and registration for digital content
US8429715B2 (en) * 2008-08-08 2013-04-23 Microsoft Corporation Secure resource name resolution using a cache

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101980325A (en) * 2010-09-20 2011-02-23 北京腾瑞万里科技有限公司 Map sheet reading method and device

Also Published As

Publication number Publication date
CN103559230A (en) 2014-02-05

Similar Documents

Publication Publication Date Title
CN100426300C (en) Method and system for managing journal
CN105718218B (en) Compressed storage method and system applicable for load records of electric energy meter or concentrator
CN104462141A (en) Data storage and query method and system and storage engine device
CN103685589B (en) Binary coding-based domain name system (DNS) data compression and decompression methods and systems
WO2009064996A3 (en) Geocoding based on neighborhoods and other uniquely defined informal spaces or geographical regions
MY174951A (en) A data updating method based on data block comparison
CN102867071A (en) Management method for massive network management historical data
CN104572781B (en) A kind of transaction log production method and device
CN103309977B (en) Heterogeneous data resource integration method
CN103390045A (en) Time sequence storage method and time sequence storage device for monitoring system
CN108984744A (en) A kind of non-master chain block self-propagation method
CN106326377A (en) Serialization method and device, deserialization method and device, and system
CN102937994A (en) Similar document query method based on stop words
CN105787090A (en) Index building method and system of OLAP system of electric data
CN101158955A (en) Construct method of Chinese word stock
CN103559230B (en) A kind of processing method of engineering truck record information
CN101963993B (en) Method for fast searching database sheet table record
CN102486775B (en) Method and device for querying business data
CN109388635A (en) A kind of data storage method of the multi-value data based on binary system and dictionary table
CN101477530A (en) Method for history version management of organization structure
CN109446167A (en) A kind of storage of daily record data, extracting method and device
CN103853772B (en) High-efficiency reverse index organizing method
CN103955519A (en) Account inquiring and recording system and inquiring and recording method thereof
CN106980519A (en) A kind of data processing method and electronic equipment
CN101777077B (en) Method for implementing file system of embedded device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant