CN113761546A - Method and system for automatically downloading train communication data recording file - Google Patents

Method and system for automatically downloading train communication data recording file Download PDF

Info

Publication number
CN113761546A
CN113761546A CN202010499232.1A CN202010499232A CN113761546A CN 113761546 A CN113761546 A CN 113761546A CN 202010499232 A CN202010499232 A CN 202010499232A CN 113761546 A CN113761546 A CN 113761546A
Authority
CN
China
Prior art keywords
file
downloading
download
configurable
recording
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.)
Granted
Application number
CN202010499232.1A
Other languages
Chinese (zh)
Other versions
CN113761546B (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 Institute Co Ltd
Original Assignee
CRRC Zhuzhou Institute 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 CRRC Zhuzhou Institute Co Ltd filed Critical CRRC Zhuzhou Institute Co Ltd
Priority to CN202010499232.1A priority Critical patent/CN113761546B/en
Publication of CN113761546A publication Critical patent/CN113761546A/en
Application granted granted Critical
Publication of CN113761546B publication Critical patent/CN113761546B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/62Protecting access to data via a platform, e.g. using keys or access control rules
    • G06F21/6218Protecting access to data via a platform, e.g. using keys or access control rules to a system of files or objects, e.g. local or distributed file system or database
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2107File encryption

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Software Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Bioethics (AREA)
  • Databases & Information Systems (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a method and a system for automatically downloading a train communication data record file, wherein the method comprises the steps of judging whether an encrypted configurable file containing a preset downloading rule exists in an accessed storage device, if so, decrypting and storing the encrypted configurable file, further acquiring the downloading rule contained in the encrypted configurable file and associated with a target record file through analysis processing, and finally automatically matching and acquiring the target record file to be downloaded in a record module according to the acquired downloading rule. By adopting the technical scheme of the invention, the required record file can be automatically matched and downloaded by adopting different downloading rules by adjusting the parameters in the encrypted configurable file containing the preset downloading rules, thereby overcoming the problems of complicated operation and high error probability in the prior downloading technology. Meanwhile, the configurable file is encrypted, so that the safety of train communication data is guaranteed to a great extent.

Description

Method and system for automatically downloading train communication data recording file
Technical Field
The invention relates to the technical field of rail transit data communication, in particular to a method and a system for automatically downloading a train communication data record file.
Background
The progress of traffic is an important embodiment of the development of human society, in the current society, due to the convenience and high efficiency of rail transit, the rail transit has more and more extensive applications in the society, different from conventional vehicles, the communication systems and subsystems on trains in the field of rail transit are various, the used communication technologies mainly comprise Ethernet, MVB (multifunctional vehicle bus) and the like, communication equipment is installed in a limited space, and in order to facilitate the analysis and positioning of communication faults, a recording module is designed on the trains to record the communication data information on the trains in real time. The recorded information is stored in the recording module in a file form, and because the number and the types of the recorded files are large, under the condition that the operation space and the resources of application personnel are limited, how to safely, quickly and conveniently find and download the target recorded file becomes a problem;
in the traditional method, a specially responsible application person traverses all record files stored in a record module according to identification information of the record files according to needs, searches for related files matched with the identification information, and selects the files from the related files and drags the files to a storage device, so that the operation is complex, the time consumption is long, and particularly under the condition that the record files required relate to multiple types and multiple files, the traditional method consumes great manpower and time resources, the probability of errors is high, and the reliability of downloaded data cannot be guaranteed.
Disclosure of Invention
To solve the above problems, the present invention provides a system for automatically downloading a train communication data record file, in one embodiment, the method includes:
step S1, judging whether an encrypted configurable file containing a preset downloading rule exists in the accessed storage equipment, if so, executing step S2;
step S2, decrypting and storing the encrypted configurable file by using a preset decryption algorithm, wherein the preset decryption algorithm corresponds to the encryption algorithm for encrypting the configurable download file;
step S3, the decrypted configurable file is analyzed, and the download rule of the target record file contained in the file is obtained;
and step S4, automatically matching the target record file to be downloaded in the recording module according to the acquired downloading rule, and transmitting the target record file to the accessed storage device.
In a preferred embodiment, before the step S1, the method further includes the following operations:
generating a configurable file containing preset downloading rules by combining storage format parameters of a recording module to which a target recording file to be downloaded belongs;
encrypting the generated configurable file by using a preset encryption algorithm;
and importing the encrypted configurable file into a storage device for storing the required target record file.
In one embodiment, the storage format parameters of the recording module include the following parameters:
recording the initial recording time of the file, the full storage time of the file and the corresponding sequence number of the file in the recording module; wherein, the full time of the recording file refers to the time when the file reaches the specified size in the recording process.
In one embodiment, the downloading rule of the target record file includes a downloading mode flag, and in step S4, the following operations are included:
when the download mode mark value is a first set mark, automatically matching a corresponding record file according to a first download parameter corresponding to the mark, wherein the first download parameter comprises: downloading starting sequence number, downloading sequence and target downloading quantity;
when the download mode mark value is a second set mark, automatically matching the corresponding record file according to a second download parameter corresponding to the mark, wherein the second download parameter comprises: a download start time and a target download duration.
In one embodiment, the method further comprises: and judging whether the decrypted configurable file is analyzed, and if so, deleting the stored decrypted configurable file.
In accordance with another aspect of any one or more of the above embodiments, the present invention provides a system for automatically downloading a train communication data record file, the system comprising:
the download configuration judging unit is used for judging whether an encrypted configurable file containing a preset download rule exists in the accessed storage equipment or not, and if so, starting the decryption unit;
the decryption unit is used for decrypting and storing the encrypted configurable file by using a preset decryption algorithm, wherein the preset decryption algorithm corresponds to the encryption algorithm for encrypting the configurable file;
the analysis unit is used for analyzing the decrypted configurable file and acquiring a downloading rule of the target record file contained in the decrypted configurable file;
and the automatic matching and downloading unit is used for automatically matching the target record file to be downloaded in the recording module according to the acquired downloading rule and transmitting the target record file to the accessed storage equipment.
In a preferred embodiment, the system further comprises: a download configuration generating unit that generates an encrypted configurable file by:
generating a configurable file containing preset downloading rules by combining storage format parameters of a recording module to which a target recording file to be downloaded belongs;
encrypting the generated configurable file by using a preset encryption algorithm;
and importing the encrypted configurable file into a storage device for storing the required target record file.
In one embodiment, the storage format parameters of the recording module include the following parameters:
recording the initial recording time of the file, the full storage time of the file and the corresponding sequence number of the file in the recording module; wherein, the full time of the recording file refers to the time when the file reaches the specified size in the recording process.
In one embodiment, the downloading rule of the target record file includes a downloading mode flag, and the automatic matching and downloading unit performs the following operations to automatically match the target record file to be downloaded:
when the download mode mark value is a first set mark, automatically matching a corresponding record file according to a first download parameter corresponding to the mark, wherein the first download parameter comprises: downloading starting sequence number, downloading sequence and target downloading quantity;
when the download mode mark value is a second set mark, automatically matching the corresponding record file according to a second download parameter corresponding to the mark, wherein the second download parameter comprises: a download start time and a target download duration.
In one embodiment, the system further comprises:
and the risk file deleting unit is used for judging whether the decrypted configurable file is analyzed completely, and if so, deleting the stored decrypted configurable file.
Compared with the closest prior art, the invention also has the following beneficial effects:
the method utilizes the encrypted configurable file containing the preset downloading rule accessed in the storage device to automatically match and obtain the target recording file to be downloaded in the recording module, and adjusts the parameters in the encrypted configurable file containing the preset downloading rule, so that the required recording file can be automatically matched and downloaded by adopting different downloading rules, thereby overcoming the problems of complex operation and high error probability in the prior art, and improving the flexibility and convenience of application personnel for downloading the event recording device file. Meanwhile, the configurable file is encrypted, so that the safety of train communication data is guaranteed to a great extent. On the basis, the downloaded train record file can be analyzed by a staff, and the stable operation and the optimized maintenance of the train are facilitated.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention may be realized and attained by the structure particularly pointed out in the written description and drawings.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this specification, illustrate embodiments of the invention and together with the description serve to explain the principles of the invention and not to limit the invention. In the drawings:
FIG. 1 is a schematic flow chart of a method for automatically downloading a train communication data record file in one embodiment of the present invention;
FIG. 2 is a schematic diagram of a process flow for encrypting a configurable file according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a system for automatically downloading a train communication data record file according to another embodiment of the present invention.
Detailed Description
The following detailed description will be provided for the embodiments of the present invention with reference to the accompanying drawings and examples, so that the practitioner of the present invention can fully understand how to apply the technical means to solve the technical problems, achieve the technical effects, and implement the present invention according to the implementation procedures. It should be noted that, unless otherwise conflicting, the embodiments and features of the embodiments of the present invention may be combined with each other, and the technical solutions formed are all within the scope of the present invention.
Due to the convenience and high efficiency of rail transit, the application of the rail transit system in the society is more and more extensive, different from conventional vehicles, the communication systems and subsystems on trains in the field of rail transit are various, the used communication technologies mainly comprise Ethernet, MVB (multifunctional vehicle bus) and the like, communication equipment is installed in a limited space, and in order to facilitate communication fault analysis and positioning, a recording module is designed on the trains to record communication data information on the trains in real time. The recorded information is stored in the recording module in a file form, and because the number and the types of the recorded files are large, under the condition that the operation space and the resources of application personnel are limited, how to safely, quickly and conveniently find and download the target recorded file becomes a problem;
in the traditional method, a specially responsible application person traverses all record files stored in a record module according to identification information of a required record file, searches for related files matched with the identification information, and selects a required target record file from the related files for downloading.
In order to solve the problems, the invention provides a method and a system for automatically downloading a train communication data recording file, which can safely, quickly and conveniently find out and download a target recording file from a plurality of recording files in a train recording module to a portable storage device. Various embodiments of the present invention will be described below with reference to the accompanying drawings.
Example one
Fig. 1 is a schematic flow chart illustrating a method for automatically downloading a train communication data record file according to an embodiment of the present invention, and as can be seen from fig. 1, the method includes the following steps.
And generating a configurable file containing preset downloading rules by combining the storage format parameters of the recording module to which the target recording file to be downloaded belongs.
Wherein, the storage format parameters of the recording module comprise the following parameters: recording the initial recording time of the file, the full storage time of the file and the corresponding sequence number of the file in the recording module; in practical applications, the full time of the recorded file may also be referred to as: the recording time when a file is full refers to the time when the file reaches a specified size during recording.
In practical application, the names of the record files in the track traffic field communication record module are generally named as follows: the sequence number of the recording time file of the initial recording time file full; for example: 201903131415_201903141718_1, this example shows that the recording start time of the file is: 14 hours and 15 minutes in 3, 13 and 13 of 2019, the time when the file record reaches the specified size is as follows: the file is ranked by 18 points in 2019, 3, 14 and 17 hours, and the ranking number of the file is 1.
Specifically, in an embodiment of the present invention, the downloading rule of the target recording file is embodied by a downloading mode flag in the configurable file, where the downloading mode flag includes two downloading mode flags, and when the downloading mode flag value is a first preset flag, a first downloading parameter corresponding to the flag includes: downloading starting sequence number, downloading sequence and target downloading quantity; when the download mode flag value is a second set flag, the second download parameter corresponding to the flag includes: a download start time and a target download duration.
In practical application, the download mode flag may be embodied by a "mode" flag in the configurable file, when the value of the "mode" is equal to 0, the download is performed according to the serial number of the file, and the corresponding first download parameter includes: the starting sequence number of the download, the download sequence and the target download number, when a failure occurs, several latest files are usually downloaded, so that the latest sequence number can be deduced from the latest sequence number in a reverse order.
Correspondingly, when the value of "mode" is equal to 1, a downloading rule is set according to the starting time set in the file and the time for downloading the long record, and then the name of the record file is matched according to the starting time parameter. When the occurrence time of the fault is known, the target downloading time length can be set according to the requirement based on the specific time of the fault occurrence or the set time before the fault as the starting time. By adopting the downloading rule, the workload can be greatly reduced on the basis of ensuring the reliability.
Further, after a configurable file (such as an xml-type configurable file) is generated, if data related to train communication is acquired through some illegal data acquisition channels, potential safety hazards are caused, and in order to prevent recorded data of a train from being illegally downloaded and utilized, the generated configurable file needs to be encrypted, specifically, the xml file serving as the configurable file can be encrypted by using an encryption algorithm, and then the encrypted configurable file is placed in a U disk, so that the method comprises the following operations:
and encrypting the generated configurable file by using a preset encryption algorithm. And importing the encrypted configurable file into a storage device for storing the required target record file.
Based on the above technical solution, the following embodiment of the present invention implements automatic downloading of a recording file by the following operations:
step S110, judging whether an encrypted configurable file containing a preset downloading rule exists in the accessed storage equipment, if so, executing step S120, otherwise, ending the operation, wherein the encrypted configurable file is used as a downloading configuration file for guiding the automatic matching and downloading of the record file.
And step S120, decrypting and storing the encrypted configurable file by using a preset decryption algorithm, wherein the preset decryption algorithm corresponds to the encryption algorithm for encrypting the configurable file.
Step S130, parsing the decrypted configurable file to obtain a download rule of the target record file contained therein.
When the device is used by a user, a portable storage device (such as a U disk) provided with an encrypted configurable file (such as an encrypted xml file) is inserted into the train recording module; the recording module can immediately detect that a USB flash disk is inserted, then judges whether an encrypted configurable file containing a preset downloading rule exists in the accessed storage equipment, if so, the encrypted xml file is decrypted according to a corresponding decryption algorithm, the decrypted xml file is stored in a drive symbol of the recording module, and a CPU of the recording module reads and analyzes the decrypted xml file from the drive symbol.
The xml file can obtain the download rules contained therein by parsing the decrypted xml file, and then the following steps are performed:
and step S140, automatically matching a target record file to be downloaded in the recording module according to the acquired downloading rule, and transmitting the target record file to the accessed storage device.
Specifically, in this step, the download rule of the target record file includes a download mode flag of the configurable file, including two download mode flags, where the download mode flag can embody the download rule in the corresponding configurable file, and specifically, in step S140, the target record file is matched based on the download mode flag by: when the download mode flag value is a first set flag, the first download parameter corresponding to the flag includes: downloading starting sequence number, downloading sequence and target downloading quantity; when the download mode flag value is a second set flag, the second download parameter corresponding to the flag includes: a download start time and a target download duration.
In practical application, the download mode flag may be embodied by a "mode" flag in the configurable file, when the value of the "mode" is equal to 0, the download is performed according to the serial number of the file, and the corresponding first download parameter includes: the starting sequence number of the download, the download sequence and the target download number, when a failure occurs, the latest several files are usually required to be downloaded, so that the latest sequence number can be deduced from the latest sequence number in a reverse order.
Correspondingly, when the value of "mode" is equal to 1, a downloading rule is set according to the starting time set in the file and the time for downloading the long record, and then the name of the record file is matched according to the starting time parameter. When the occurrence time of the fault is known, the target downloading time length can be set according to the requirement based on the specific time of the fault occurrence or the set time before the fault as the starting time.
Further, in order to ensure the safe transmission of the train communication data, in consideration that the decrypted configurable file stored in the recording module may also be illegally acquired or tampered, a policy is taken to delete the decrypted downloaded file after the downloading action is completed, and therefore, in one embodiment, the method further includes the following operations: and judging whether the decrypted configurable file is analyzed completely, if so, deleting the stored decrypted configurable file, otherwise, judging again after setting a time period until the decrypted configurable file is completely analyzed.
In practical application, the recording module will assign the relevant download rule parameter values to the parameters in the recording module after reading and analyzing the decrypted xml file, and then delete the decrypted xml file stored in the recording module. Specifically, the processing flow of the method of the present invention for encrypting the configurable file is shown in fig. 2. And then the recording module matches the files in the recording module according to the downloading mode and the number of the downloaded files configured in the xml file, the matching is successful, and finally the target recording file is written into the U disk. The decrypted configurable file deleting operation is started in time by adopting the operation, so that the automatic deletion of the risk file is realized, and the safety of the train communication data is ensured to the greatest extent.
The invention designs an encrypted configurable file as an intermediate downloading tool aiming at the file downloading of a recording module in the field of rail transit, and an application person only needs to modify relevant parameters of the configurable file, the xml file as the encrypted configurable file is stored in the U disk, and then the U disk is inserted into the recording module, so that the automatic matching downloading of the train recording file can be carried out, an application person does not need to select and drag the file to the U disk, the flexibility and the convenience of downloading the event recording device file by the application person are improved, particularly under the conditions that the operation space of the application person on the train is limited and the computer is inconvenient to carry with, the active downloading of the encrypted file configured by the U disk is particularly necessary, and in addition, the encrypted xml download file improves the safety of the data of the recording module, and can prevent illegal tampering and acquisition of the recorded data. The embodiment of the invention provides a configurable downloading mode in the step 2, and the selectivity of the data downloading mode is increased.
Based on this, safe quick convenient finding and downloading target record file to the USB flash disk when guaranteeing data security has promoted operating personnel's work efficiency, and in addition, the train record file after the download can supply with personnel's analysis, helps the steady operation and the optimization maintenance of train.
Example two
In accordance with still further aspects of any one or more of the above embodiments, the present invention provides a system for automatically downloading a train communication data record file. Specifically, fig. 3 shows a schematic structural diagram of a system for automatically downloading a train communication data record file according to an embodiment of the present invention, and as can be seen from information in fig. 3, the system includes:
and a download configuration determining unit 31, configured to determine whether an encrypted configurable file containing a preset download rule exists in the accessed storage device, and if so, start a decryption unit, where the encrypted configurable file is used as a download configuration file for guiding automatic matching and downloading of the record file.
And a decryption unit 33, configured to decrypt and store the encrypted configurable file by using a preset decryption algorithm, where the preset decryption algorithm corresponds to an encryption algorithm for encrypting the configurable file.
And the parsing unit 35 is configured to parse the decrypted configurable file to obtain a download rule of the target record file included in the decrypted configurable file.
And an automatic matching and downloading unit 37, configured to automatically match a target record file to be downloaded in the recording module according to the obtained downloading rule, and transmit the target record file to the accessed storage device.
When the device is used by a user, a portable storage device (such as a U disk) provided with an encrypted configurable file (such as an encrypted xml file) is inserted into the train recording module; the recording module can immediately detect that a USB flash disk is inserted, then judges whether an encrypted configurable file containing a preset downloading rule exists in the accessed storage equipment, if so, the encrypted xml file is decrypted according to a corresponding decryption algorithm, the decrypted xml file is stored in a drive symbol of the recording module, and a CPU of the recording module reads and analyzes the decrypted xml file from the drive symbol.
In one embodiment, the system further comprises: a download configuration generating unit 30 that generates an encrypted configurable file by:
generating a configurable file containing preset downloading rules by combining storage format parameters of a recording module to which a target recording file to be downloaded belongs;
encrypting the generated configurable file by using a preset encryption algorithm;
and importing the encrypted configurable file into a storage device for storing the required target record file.
In one embodiment, the storage format parameters of the recording module include the following parameters:
recording the initial recording time of the file, the full storage time of the file and the corresponding sequence number of the file in the recording module; wherein, the full time of the recording file refers to the time when the file reaches the specified size in the recording process.
In one embodiment, the download rule of the target record file includes a configurable file download mode flag, where the download mode flag can embody the download rule in the corresponding configurable file, and specifically, based on the download mode flag, the automatic matching and downloading unit performs the following operations to match the target record file:
when the download mode mark value is a first set mark, automatically matching a corresponding record file according to a first download parameter corresponding to the mark, wherein the first download parameter comprises: downloading starting sequence number, downloading sequence and target downloading quantity;
when the download mode mark value is a second set mark, automatically matching the corresponding record file according to a second download parameter corresponding to the mark, wherein the second download parameter comprises: a download start time and a target download duration.
In practical application, the names of the record files in the track traffic field communication record module are generally named as follows: the sequence number of the recording time file of the initial recording time file full; for example: 201903131415_201903141718_1, this example shows that the recording start time of the file is: 14 hours and 15 minutes in 3, 13 and 13 of 2019, the time when the file record reaches the specified size is as follows: the file is ranked by 18 points in 2019, 3, 14 and 17 hours, and the ranking number of the file is 1.
Specifically, in an embodiment of the present invention, the downloading rule of the target recording file is embodied by a downloading mode flag in the configurable file, where the downloading mode flag includes two downloading mode flags, and when the downloading mode flag value is a first preset flag, a first downloading parameter corresponding to the flag includes: downloading starting sequence number, downloading sequence and target downloading quantity; when the download mode flag value is a second set flag, the second download parameter corresponding to the flag includes: a download start time and a target download duration.
In practical application, the download mode flag may be embodied by a "mode" flag in the configurable file, when the value of the "mode" is equal to 0, the download is performed according to the serial number of the file, and the corresponding first download parameter includes: the starting sequence number of the download, the download sequence and the target download number, when a failure occurs, the latest several files are usually required to be downloaded, so that the latest sequence number can be deduced from the latest sequence number in a reverse order.
Correspondingly, when the value of "mode" is equal to 1, a downloading rule is set according to the starting time set in the file and the time for downloading the long record, and then the name of the record file is matched according to the starting time parameter. When the occurrence time of the fault is known, the target downloading time length can be set according to the requirement based on the specific time of the fault occurrence or the set time before the fault as the starting time. By adopting the downloading rule, the workload can be greatly reduced on the basis of ensuring the reliability.
In order to ensure the safe transmission of the train communication data, the strategy of deleting the decrypted download file after the download action is executed is adopted in consideration that the decrypted configurable file stored in the recording module can also be illegally obtained or tampered. Based on this, in one embodiment, the system further comprises:
and a risk file deleting unit 36, configured to determine whether the decrypted configurable file is analyzed completely, and if so, delete the saved decrypted configurable file.
In practical application, the recording module will assign the relevant download rule parameter values to the parameters in the recording module after reading and analyzing the decrypted xml file, and then delete the decrypted xml file stored in the recording module. Specifically, the processing flow of the method of the present invention for encrypting the configurable file is shown in fig. 2. And then the recording module matches the files in the recording module according to the downloading mode and the number of the downloaded files configured in the xml file, the matching is successful, and finally the target recording file is written into the U disk. The decrypted configurable file deleting operation is started in time by adopting the operation, the risk file deleting unit realizes the automatic deletion of the risk file, and the safety of the train communication data is ensured to the maximum extent.
In the system for automatically downloading the train communication data record file provided by the embodiment of the invention, each module or unit structure can independently operate or operate in a combined mode according to actual application requirements so as to realize corresponding technical effects.
It is to be understood that the disclosed embodiments of the invention are not limited to the particular structures, process steps, or materials disclosed herein but are extended to equivalents thereof as would be understood by those ordinarily skilled in the relevant arts. It is also to be understood that the terminology used herein is for the purpose of describing particular embodiments only, and is not intended to be limiting.
Reference in the specification to "one embodiment" or "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. Thus, appearances of the phrase "an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment.
Although the embodiments of the present invention have been described above, the above descriptions are only for the convenience of understanding the present invention, and are not intended to limit the present invention. It will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.

Claims (10)

1. A method for automatically downloading a train communication data record file, the method comprising the steps of:
step S1, judging whether an encrypted configurable file containing a preset downloading rule exists in the accessed storage equipment, if so, executing step S2;
step S2, decrypting and storing the encrypted configurable file by using a preset decryption algorithm, wherein the preset decryption algorithm corresponds to the encryption algorithm for encrypting the configurable download file;
step S3, the decrypted configurable file is analyzed, and the download rule of the target record file contained in the file is obtained;
and step S4, automatically matching the target record file to be downloaded in the recording module according to the acquired downloading rule, and transmitting the target record file to the accessed storage device.
2. The method of claim 1, wherein prior to the step S1, further comprising the operations of:
generating a configurable file containing preset downloading rules by combining storage format parameters of a recording module to which a target recording file to be downloaded belongs;
encrypting the generated configurable file by using a preset encryption algorithm;
and importing the encrypted configurable file into a storage device for storing the required target record file.
3. The method of claim 2, wherein the storage format parameters of the recording module include the following parameters:
recording the initial recording time of the file, the full storage time of the file and the corresponding sequence number of the file in the recording module; wherein, the full time of the recording file refers to the time when the file reaches the specified size in the recording process.
4. The method according to any one of claims 1 to 3, wherein the downloading rule of the target recording file includes a downloading mode flag, and in step S4, the method includes the following operations:
when the download mode mark value is a first set mark, automatically matching a corresponding record file according to a first download parameter corresponding to the mark, wherein the first download parameter comprises: downloading starting sequence number, downloading sequence and target downloading quantity;
when the download mode mark value is a second set mark, automatically matching the corresponding record file according to a second download parameter corresponding to the mark, wherein the second download parameter comprises: a download start time and a target download duration.
5. The method of any one of claims 1 to 4, further comprising: and judging whether the decrypted configurable file is analyzed, and if so, deleting the stored decrypted configurable file.
6. A system for automatically downloading a train communication data record file, the system comprising:
the download configuration judging unit is used for judging whether an encrypted configurable file containing a preset download rule exists in the accessed storage equipment or not, and if so, starting the decryption unit;
the decryption unit is used for decrypting and storing the encrypted configurable file by using a preset decryption algorithm, wherein the preset decryption algorithm corresponds to the encryption algorithm for encrypting the configurable file;
the analysis unit is used for analyzing the decrypted configurable file and acquiring a downloading rule of the target record file contained in the decrypted configurable file;
and the automatic matching and downloading unit is used for automatically matching the target record file to be downloaded in the recording module according to the acquired downloading rule and transmitting the target record file to the accessed storage equipment.
7. The system of claim 6, wherein the system further comprises: a download configuration generating unit that generates an encrypted configurable file by:
generating a configurable file containing preset downloading rules by combining storage format parameters of a recording module to which a target recording file to be downloaded belongs;
encrypting the generated configurable file by using a preset encryption algorithm;
and importing the encrypted configurable file into a storage device for storing the required target record file.
8. The system of claim 7, wherein the storage format parameters of the recording module include the following parameters:
recording the initial recording time of the file, the full storage time of the file and the corresponding sequence number of the file in the recording module; wherein, the full time of the recording file refers to the time when the file reaches the specified size in the recording process.
9. The system according to any one of claims 6 to 8, wherein the downloading rule of the target record file comprises a downloading mode flag, and the automatic matching and downloading unit performs the following operations to automatically match the target record file to be downloaded:
when the download mode mark value is a first set mark, automatically matching a corresponding record file according to a first download parameter corresponding to the mark, wherein the first download parameter comprises: downloading starting sequence number, downloading sequence and target downloading quantity;
when the download mode mark value is a second set mark, automatically matching the corresponding record file according to a second download parameter corresponding to the mark, wherein the second download parameter comprises: a download start time and a target download duration.
10. The system of any one of claims 6 to 9, further comprising:
and the risk file deleting unit is used for judging whether the decrypted configurable file is analyzed completely, and if so, deleting the stored decrypted configurable file.
CN202010499232.1A 2020-06-04 2020-06-04 Method and system for automatically downloading train communication data record file Active CN113761546B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010499232.1A CN113761546B (en) 2020-06-04 2020-06-04 Method and system for automatically downloading train communication data record file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010499232.1A CN113761546B (en) 2020-06-04 2020-06-04 Method and system for automatically downloading train communication data record file

Publications (2)

Publication Number Publication Date
CN113761546A true CN113761546A (en) 2021-12-07
CN113761546B CN113761546B (en) 2024-05-14

Family

ID=78783559

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010499232.1A Active CN113761546B (en) 2020-06-04 2020-06-04 Method and system for automatically downloading train communication data record file

Country Status (1)

Country Link
CN (1) CN113761546B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070250515A1 (en) * 2006-04-21 2007-10-25 Lea David H Method and system of securing content and destination of digital download via the internet
CN103198261A (en) * 2012-01-09 2013-07-10 鸿富锦精密工业(深圳)有限公司 Method and system for protecting file content security
WO2015184834A1 (en) * 2014-12-18 2015-12-10 中兴通讯股份有限公司 Encryption/decryption method and device for file of embedded type storage device, and terminal
CN105302606A (en) * 2015-11-03 2016-02-03 用友网络科技股份有限公司 Project permission based patch downloading method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070250515A1 (en) * 2006-04-21 2007-10-25 Lea David H Method and system of securing content and destination of digital download via the internet
CN103198261A (en) * 2012-01-09 2013-07-10 鸿富锦精密工业(深圳)有限公司 Method and system for protecting file content security
WO2015184834A1 (en) * 2014-12-18 2015-12-10 中兴通讯股份有限公司 Encryption/decryption method and device for file of embedded type storage device, and terminal
CN105302606A (en) * 2015-11-03 2016-02-03 用友网络科技股份有限公司 Project permission based patch downloading method and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
付欣;付帅;: "网银数据下载加密组件的工作原理", 电子商务, no. 07 *

Also Published As

Publication number Publication date
CN113761546B (en) 2024-05-14

Similar Documents

Publication Publication Date Title
US11662991B2 (en) Vehicle-mounted device upgrade method and related device
CN106658493B (en) Key management method, device and system
CN108900511B (en) File encryption and decryption method, device and equipment
US8307408B2 (en) System and method for file processing and file processing program
JP2003140835A (en) Data storage device
CN113761546A (en) Method and system for automatically downloading train communication data recording file
US20210107325A1 (en) Method and device for upgrading tpms diagnostic tool
CN115238320B (en) Power data storage management method
CN108876963A (en) A kind of storage method, device, microprocessor and the storage medium of automobile log
CN107026741A (en) Method and device is write with a brush dipped in Chinese ink in a kind of encryption based on network security
CN110727546A (en) Automobile data backup method and device
CN115859941A (en) Real-time analysis method and device for vehicle-mounted ATC log
CN113326526B (en) Data access method, device, equipment and storage medium
CN105631310A (en) Efficient trusted process authentication scheme
CN109284836A (en) Shared vehicle maintenance management method and device
KR100952484B1 (en) Security module of authentificating portable storages such as usb memory devices, portable hdd and method of operating the security module
CN110972109B (en) Processing method, device and system based on identity information of vehicle-mounted equipment unit
CN103034815A (en) Detection method and device for portable document format (PDF) file
CN117135621A (en) Vehicle control method and device
CN109190385A (en) A kind of file encrypting method of law-enforcing recorder
CN113382042B (en) Data transmission method and device
US11537640B2 (en) Map output device, map output system, and computer-readable storage medium including program
KR102313616B1 (en) System for providing vehicle driving record through mobile digital tachograph and method thereof
CN117896727B (en) Vehicle end log acquisition method, device and system, vehicle end and storage medium
CN118349526A (en) Device for generating aircraft serial number file based on aircraft type, number and aircraft number

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
GR01 Patent grant
GR01 Patent grant