CN112158229A - Method and device for configuring vehicle parameters of automatic train control system - Google Patents

Method and device for configuring vehicle parameters of automatic train control system Download PDF

Info

Publication number
CN112158229A
CN112158229A CN202010975905.6A CN202010975905A CN112158229A CN 112158229 A CN112158229 A CN 112158229A CN 202010975905 A CN202010975905 A CN 202010975905A CN 112158229 A CN112158229 A CN 112158229A
Authority
CN
China
Prior art keywords
vehicle
parameter
parameters
control system
host
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202010975905.6A
Other languages
Chinese (zh)
Inventor
秦亚芬
武永军
姚向明
曹学思
高泰
杨浩
杨迪飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
CRSC Urban Rail Transit Technology Co Ltd
Original Assignee
CRSC Urban Rail Transit Technology 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 CRSC Urban Rail Transit Technology Co Ltd filed Critical CRSC Urban Rail Transit Technology Co Ltd
Priority to CN202010975905.6A priority Critical patent/CN112158229A/en
Publication of CN112158229A publication Critical patent/CN112158229A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B61RAILWAYS
    • B61LGUIDING RAILWAY TRAFFIC; ENSURING THE SAFETY OF RAILWAY TRAFFIC
    • B61L15/00Indicators provided on the vehicle or train for signalling purposes
    • B61L15/0072On-board train data handling

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Electric Propulsion And Braking For Vehicles (AREA)

Abstract

The embodiment of the invention provides a method and a device for configuring vehicle parameters of an automatic train control system, wherein the method comprises the following steps: inquiring and displaying all vehicle parameters configured in a ferroelectric memory of a train automatic control system host through a serial port connected with the train automatic control system host; acquiring a number range of a vehicle parameter to be configured input by a user according to a displayed vehicle parameter, and reading the vehicle parameter to be configured and a backup of the vehicle parameter to be configured corresponding to the number range from a local file according to the number range; and if the parameters of the vehicle to be configured with the same number in the number range are consistent with the backup of the parameters of the vehicle to be configured, writing the parameters of the vehicle to be configured into the ferroelectric memory through the serial port. The embodiment of the invention realizes the automatic writing of the vehicle parameters into the ferroelectric memory in batch.

Description

Method and device for configuring vehicle parameters of automatic train control system
Technical Field
The invention relates to the technical field of automatic train control systems, in particular to a method and a device for configuring vehicle parameters of an automatic train control system.
Background
In the past vehicle-mounted signal system engineering implementation, the quantity of vehicle parameters is small, and debugging personnel or maintenance personnel can meet the working requirement by directly configuring the parameters one by one through a serial port, so that the aim of configuring the vehicle parameters is fulfilled.
However, with the development of urban rail transit technology, vehicle parameters are gradually increased, and if a method of manually configuring the vehicle parameters one by means of a serial port is continuously adopted, excessive manpower and time are consumed. The method has the advantages of complex operation and low efficiency, and can not ensure the accuracy of vehicle parameter configuration.
Disclosure of Invention
The embodiment of the invention provides a method and a device for configuring vehicle parameters of an automatic train control system, which are used for solving the defects that manual configuration of the vehicle parameters one by one wastes time and labor and is easy to make mistakes in the prior art and realizing batch writing of the vehicle parameters into a ferroelectric memory in the automatic train control system.
The embodiment of the invention provides a method for configuring vehicle parameters of an automatic train control system, which comprises the following steps:
inquiring and displaying all vehicle parameters configured in a ferroelectric memory of a train automatic control system host through a serial port connected with the train automatic control system host;
acquiring a number range of a vehicle parameter to be configured input by a user according to a displayed vehicle parameter, and reading the vehicle parameter to be configured and a backup of the vehicle parameter to be configured corresponding to the number range from a local file according to the number range;
and if the parameters of the vehicle to be configured with the same number in the number range are consistent with the backup of the parameters of the vehicle to be configured, writing the parameters of the vehicle to be configured into the ferroelectric memory through the serial port.
According to the vehicle parameter configuration method of the automatic train control system, disclosed by the invention, the vehicle parameters comprise parameter numbers, parameter names, parameter values, parameter maximum values, parameter minimum values and parameter annotations.
According to the method for configuring the vehicle parameters of the automatic train control system, after the step of inquiring and displaying all the vehicle parameters configured in the ferroelectric memory of the main machine of the automatic train control system, the method further comprises the following steps:
acquiring a parameter number and a parameter value of a vehicle parameter to be configured, which are input by a user according to the displayed vehicle parameter;
if the parameter value of the vehicle parameter to be configured is larger than or equal to the parameter minimum value of the vehicle parameter to be configured and is smaller than or equal to the parameter maximum value of the vehicle parameter to be configured, displaying prompt information for inputting the parameter value of the vehicle parameter to be configured again;
acquiring the parameter value of the vehicle parameter to be configured, which is input again by the user according to the prompt information, and if the parameter values of the vehicle parameter to be configured, which are input twice, are consistent, judging whether the vehicle parameter to be configured exists in the ferroelectric memory;
if the vehicle parameter does not exist, modifying the vehicle parameter to be configured in the ferroelectric memory according to the parameter value of the vehicle parameter to be configured input by the user;
and if so, writing the parameter value of the vehicle parameter to be configured, which is input by the user, into the ferroelectric memory.
According to the method for configuring the vehicle parameters of the automatic train control system in one embodiment of the present invention, the step of modifying the vehicle parameters to be configured in the ferroelectric memory according to the parameter values of the vehicle parameters to be configured input by the user or writing the parameter values of the vehicle parameters to be configured input by the user into the ferroelectric memory specifically includes:
acquiring a format of a parameter value of the vehicle parameter to be configured set by a user;
converting the parameter value of the vehicle parameter to be configured, which is input by the user, into a format set by the user;
and modifying the vehicle parameters to be configured in the ferroelectric memory according to the parameter values of the vehicle parameters to be configured after the format conversion or writing the parameter values of the vehicle parameters to be configured after the format conversion into the ferroelectric memory.
According to the vehicle parameter configuration method of the automatic train control system, the automatic train control system host comprises an ATP subsystem host and an ATO subsystem host;
correspondingly, the steps of inquiring and displaying all vehicle parameters configured in the ferroelectric memory of the train automatic control system host computer through the serial port connected with the train automatic control system host computer also comprise:
connecting the ATP subsystem host according to the configured port number, baud rate and parity check value connected with the ATP subsystem host;
and connecting the ATO subsystem host according to the configured port number, baud rate and parity check value connected with the ATO subsystem host.
The method for configuring the vehicle parameters of the automatic train control system further comprises the following steps of:
and reading and modifying the time of the automatic train control system host.
The method for configuring the vehicle parameters of the automatic train control system further comprises the following steps of:
reading and displaying the logs of the automatic train control system host according to the log reading number input by a user;
acquiring and displaying version information of software on a host of the automatic train control system;
acquiring and displaying version information of a hardware board card of the automatic train control system host;
acquiring and displaying version information of each module of software on a host of the train automatic control system;
and recording the communication process with the automatic train control system host and the operation flow of the user.
The embodiment of the invention also provides a vehicle parameter configuration device of the train automatic control system, which comprises the following steps:
the system comprises a query module, a control module and a display module, wherein the query module is used for querying and displaying all vehicle parameters configured in a ferroelectric memory of a train automatic control system host through a serial port connected with the train automatic control system host;
the reading module is used for acquiring the number range of the vehicle parameters to be configured, which is input by a user according to the displayed vehicle parameters, and reading the vehicle parameters to be configured and the backup of the vehicle parameters to be configured, which correspond to the number range, from a local file according to the number range;
and the writing module is used for writing the vehicle parameters to be configured into the ferroelectric memory through the serial port if the vehicle parameters to be configured with the same number in the number range are consistent with the backup of the vehicle parameters to be configured.
The embodiment of the invention also provides an electronic device, which comprises a memory, a processor and a computer program which is stored on the memory and can run on the processor, wherein when the processor executes the program, the steps of the method for configuring the vehicle parameters of the automatic train control system are realized.
Embodiments of the present invention further provide a non-transitory computer readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the steps of the method for configuring vehicle parameters of an automatic train control system according to any one of the above-mentioned embodiments.
The embodiment of the invention provides a method and a device for configuring vehicle parameters of an automatic train control system, which are simple to operate by inquiring and displaying all vehicle parameters configured in a ferroelectric memory of a host of the automatic train control system according to a serial port and inputting parameter numbers to check the corresponding vehicle parameters in real time; on the other hand, when the vehicle parameters to be configured are judged to be consistent with the backup of the vehicle parameters to be configured, the parameters to be configured are written into the ferroelectric memories in batches, so that the accuracy of the configuration of the vehicle parameters is ensured, the batch writing of the parameters to be configured into the ferroelectric memories can be realized, and the efficiency of the configuration of the vehicle parameters is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart of a method for configuring vehicle parameters of an automatic train control system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of software password verification in a method for configuring vehicle parameters of an automatic train control system according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of parameters read by software in a method for configuring vehicle parameters of an automatic train control system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of software parameter writing in a method for configuring vehicle parameters of an automatic train control system according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a software reading time in a method for configuring vehicle parameters of an automatic train control system according to an embodiment of the present invention;
FIG. 6 is a schematic structural diagram of software modification time in a method for configuring vehicle parameters of an automatic train control system according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of a read log in a method for configuring vehicle parameters of an automatic train control system according to an embodiment of the present invention;
fig. 8 is a schematic structural diagram of software version information obtained in a method for configuring vehicle parameters of an automatic train control system according to an embodiment of the present invention;
fig. 9 is a schematic structural diagram of obtaining hardware board information in a method for configuring vehicle parameters of an automatic train control system according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of obtaining detailed version information of each module in a method for configuring vehicle parameters of an automatic train control system according to an embodiment of the present invention;
fig. 11 is a schematic structural diagram of a vehicle parameter configuration device of an automatic train control system according to an embodiment of the present invention;
fig. 12 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The following describes a vehicle parameter configuration method of an automatic train control system according to an embodiment of the present invention with reference to fig. 1, including: s101, inquiring and displaying all vehicle parameters configured in a ferroelectric memory of a train automatic control system host through a serial port connected with the train automatic control system host;
among them, the ferroelectric memory is a random access memory that combines fast read and write access of a dynamic random access memory. The ATC (Automatic Train Control) system is a system that controls the Train running direction, running interval and running speed by technical means, ensures the Train to run safely and improves the running efficiency. The ferroelectric memory has reading and writing functions, and parameters configured in the ferroelectric memory can be inquired and displayed through the serial port, and vehicle parameters can also be written into the ferroelectric memory.
If the parameters configured in the ferroelectric memory need to be inquired and displayed, firstly, the ATC system software is connected with an ATC system host through a serial port. And after the connection is successful, sending a debugging state switching command and informing the ATC system host machine of entering a maintenance state. After the ATC system host receives the command, 32-bit random numbers are replied, and at the moment, the software combines the password confirmation frame according to the received random numbers and sends the password confirmation frame to the ATC system host. The ATC system host determines the correctness of the password confirmation frame according to the password protocol, and the process of software password verification is shown in fig. 2. The ATC system host may be an on-vehicle host, but is not limited thereto.
After the serial port connection is successful and the reply frame with correct password is received, the software reads the parameters configured in the ferroelectric memory through the serial port. Reading the parameters according to the assigned number sequence, and feeding back whether the reading of the parameters is successful, and stopping sending the reading parameter frame until receiving a reply frame that the ATC system host returns that the number of the reading parameter exceeds the range, wherein the parameter reading process is as shown in FIG. 3. By means of the mode of sequentially reading the parameters, all vehicle parameters configured in the ferroelectric memory can be rapidly inquired, and the inquired result is displayed in the parameter column.
S102, acquiring a number range of the vehicle parameters to be configured input by a user according to the displayed vehicle parameters, and reading the vehicle parameters to be configured and the backup of the vehicle parameters to be configured corresponding to the number range from a local file according to the number range;
the vehicle parameters to be configured may be obtained from a local file, or may be obtained according to user input, and this embodiment is not limited to this way of obtaining the vehicle parameters to be configured. Each vehicle parameter to be configured has a corresponding number, and the corresponding vehicle parameter to be configured can be read from the local file according to the input number range. The numbering range is determined by the serial number of the vehicle parameters which are determined by the user according to the displayed vehicle parameters and need to be configured, and the vehicle parameters corresponding to the numbering range can be written into the ferroelectric memory in batches according to the serial number sequence in the numbering range input by the user. The user can also input a single number, and the vehicle parameters are written into the ferroelectric memory at a time through the serial port.
Before vehicle parameters are written into the ferroelectric memory through a serial port, in order to avoid parameter input errors, the correctness of the input parameters needs to be ensured according to parameters to be configured which are input twice. And the parameters to be configured input for the second time are called as the backup of the parameters of the vehicle to be configured. And reading the vehicle parameters to be configured and the backup of the vehicle parameters to be configured corresponding to the number range from the local file once according to the input number range, and sending the vehicle parameters to the ATC system host twice. And the ATC system host performs writing or discarding operation on the vehicle parameters to be configured by judging whether the contents written twice into the vehicle parameters to be configured and the backups of the vehicle parameters to be configured are consistent or not, and feeds back the operation results to the ATC system software.
And S103, if the parameters of the vehicle to be configured with the same number in the number range are consistent with the backup of the parameters of the vehicle to be configured, writing the parameters of the vehicle to be configured into the ferroelectric memory through the serial port.
Specifically, after reading the vehicle parameters to be configured and the backup of the vehicle parameters to be configured corresponding to the input number range, the ATC system software sends the vehicle parameters to be configured to the ATC system host computer, and then sends the backup of the vehicle parameters to be configured to the ATC system host computer. Judging whether the vehicle parameters to be configured are consistent with the contents of the backup of the vehicle parameters to be configured one by one according to the serial numbers, and writing the vehicle parameters to be configured into the ferroelectric memory in batch or one time through the serial ports if the vehicle parameters to be configured are completely consistent with the contents of the backup of the vehicle parameters to be configured; if the parameters are not consistent, the input of the vehicle parameters to be configured is not accurate, and the operation of writing the vehicle parameters to be configured into the ferroelectric memory is abandoned, so that the correctness of the written parameters is ensured.
In the embodiment, on one hand, all vehicle parameters configured in the ferroelectric memory of the train automatic control system host are inquired and displayed according to the serial port, and the corresponding vehicle parameters can be checked in real time by inputting the parameter numbers, so that the operation is simple; on the other hand, when the vehicle parameters to be configured are judged to be consistent with the backup of the vehicle parameters to be configured, the parameters to be configured are written into the ferroelectric memories in batches, so that the accuracy of the configuration of the vehicle parameters is ensured, the batch writing of the parameters to be configured into the ferroelectric memories can be realized, and the efficiency of the configuration of the vehicle parameters is improved.
On the basis of the above embodiments, the vehicle parameters in this embodiment include parameter numbers, parameter names, parameter values, parameter maximum values, parameter minimum values, and parameter comments.
Wherein the parameter values include a decimal format and a hexadecimal format. The maximum and minimum values in the vehicle parameters provide reference ranges for the parameters. Before configuring the parameter to be configured, whether the parameter to be configured is in the range of the maximum value and the minimum value needs to be judged, and if the parameter to be configured is in the range of the maximum value and the minimum value, the parameter to be configured is configured to the ferroelectric memory. In addition, when the vehicle parameters arranged in the ferroelectric memory are inquired, the maximum value and the minimum value of the corresponding parameters are also displayed in the display column. The maximum value and the minimum value of the parameter are checked to provide reference for judging whether the parameter is correct or not, and the readability of the information is improved.
On the basis of the above embodiment, the step of querying and displaying all vehicle parameters configured in the ferroelectric memory of the train automatic control system host in this embodiment further includes: acquiring a parameter number and a parameter value of a vehicle parameter to be configured, which are input by a user according to the displayed vehicle parameter; if the parameter value of the vehicle parameter to be configured is larger than or equal to the parameter minimum value of the vehicle parameter to be configured and is smaller than or equal to the parameter maximum value of the vehicle parameter to be configured, displaying prompt information for inputting the parameter value of the vehicle parameter to be configured again;
specifically, when the vehicle parameters to be configured are written into the ferroelectric memory, the input vehicle parameters to be configured are firstly sent to the ATC system host computer, and the host computer judges whether the parameters to be configured are in the range of the maximum value and the minimum value according to the maximum value and the minimum value of the vehicle parameters to be configured; if the parameter value of the vehicle to be configured is larger than or equal to the minimum value and smaller than or equal to the maximum value, the input parameter of the vehicle to be configured is correct, then prompt information for inputting the parameter value of the vehicle to be configured again is displayed, and the consistency of the input parameter to be configured is ensured; if the parameter value of the vehicle to be configured is smaller than the minimum value or larger than the maximum value, the input vehicle parameter to be configured is wrong, the host sends a reply frame with the write-in parameter smaller than the minimum value or the write-in parameter larger than the maximum value to the system, and the software displays prompt information for inputting the correct parameter value until the correct parameter value of the vehicle parameter to be configured is obtained.
Acquiring the parameter value of the vehicle parameter to be configured, which is input again by the user according to the prompt information, and if the parameter values of the vehicle parameter to be configured, which are input twice, are consistent, judging whether the vehicle parameter to be configured exists in the ferroelectric memory; if the vehicle parameter does not exist, modifying the vehicle parameter to be configured in the ferroelectric memory according to the parameter value of the vehicle parameter to be configured input by the user; and if so, writing the parameter value of the vehicle parameter to be configured, which is input by the user, into the ferroelectric memory.
When the ATC system host receives parameter values of the vehicle parameters to be configured input twice and the parameter numbers are consistent, a reply frame for successfully writing the parameters is sent to the software, and the software can prompt a user to successfully write the parameters; if the host computer receives that the parameter values of the vehicle parameters to be configured input twice are inconsistent, the host computer sends a reply frame that the written parameter numbers are wrong or the parameter writing times are inconsistent to the software, the software can remind the user to input correct parameters again until the parameter values consistent with the vehicle parameters to be configured input for the first time are obtained, the input vehicle parameters to be configured are written into the ferroelectric memory, and the process of writing the software parameters is shown in fig. 4.
Before the vehicle parameters to be configured are written into the ferroelectric memory, the parameters may already exist in the ferroelectric memory, if the parameters exist in the ferroelectric memory, the parameters in the ferroelectric memory corresponding to the vehicle parameters to be configured are reconfigured, and the parameter values are modified into the values of the parameters to be configured; and if the parameter does not exist in the ferroelectric memory, writing the vehicle parameter to be configured and the corresponding number into the ferroelectric memory. The embodiment can not only realize the correct writing of the parameters to be configured, but also modify the parameters in the ferroelectric memory in a writing mode.
On the basis of the foregoing embodiment, in this embodiment, the step of modifying the vehicle parameter to be configured in the ferroelectric memory according to the parameter value of the vehicle parameter to be configured input by the user or modifying the parameter value of the vehicle parameter to be configured input by the user specifically includes: acquiring a format of a parameter value of the vehicle parameter to be configured set by a user; converting the parameter value of the vehicle parameter to be configured, which is input by the user, into a format set by the user; and modifying the vehicle parameters to be configured in the ferroelectric memory according to the parameter values of the vehicle parameters to be configured after the format conversion or writing the parameter values of the vehicle parameters to be configured after the format conversion into the ferroelectric memory.
The parameter values of the vehicle parameters to be configured which are input may be in decimal format or in hexadecimal format. Through the parameter modification bar, the parameter values can be set according to decimal or hexadecimal formats according to requirements, so that the time for carrying out binary conversion on the parameter values of the vehicle parameters to be configured is saved, the parameter modification efficiency is improved, and the operation is convenient.
On the basis of the above embodiments, the train automatic control system host in this embodiment includes an ATP subsystem host and an ATO subsystem host; correspondingly, the steps of inquiring and displaying all vehicle parameters configured in the ferroelectric memory of the train automatic control system host computer through the serial port connected with the train automatic control system host computer also comprise: connecting the ATP subsystem host according to the configured port number, baud rate and parity check value connected with the ATP subsystem host; and connecting the ATO subsystem host according to the configured port number, baud rate and parity check value connected with the ATO subsystem host.
Among them, an ATP (Automatic Train Protection) system is a safety control system that ensures that the Train operation speed does not exceed a target speed. An ATO (Automatic Train Operation) system is a Train Automatic control system which realizes the functions of Automatic Train running, accurate stop, Automatic platform Operation, unmanned return, Automatic Train running adjustment and the like. The baud rate refers to the rate at which the effective data signal modulates the carrier, i.e., the number of times the modulation state of the carrier changes per unit time. The configured port number, baud rate and parity check value are serial port attributes, and the serial port attributes can be obtained according to user input and can also be obtained according to default values set by a system. Before the host is connected with the serial port, the attribute of the serial port is configured, so that the configured serial port is connected with the corresponding ATP subsystem host and the ATO subsystem host.
For example, in a train of a communication-based automatic train control system, the parameter configuration software of the ATP and ATO subsystems is connected with a mainboard card through a serial port line; the ATP subsystem is characterized in that an ATP host board card is connected with a computer provided with vehicle-mounted ferroelectric parameter configuration software through a serial port line, the ferroelectric parameter configuration software is opened, after a user logs in, a port number, a baud rate and a parity check value which are connected with an ATP subsystem host are configured, the baud rate is set to be 115200, a data bit is 8, a stop bit is 1, a check bit is Even, and after the serial port attribute configuration is completed, the ATP subsystem software is connected with the ATP subsystem host through a configured serial port; and the ATO subsystem connects the host board card of the ATO subsystem with a computer provided with the vehicle-mounted ferroelectric parameter configuration software through a serial port line, the vehicle-mounted ferroelectric parameter configuration software is opened, after a user logs in, a port number, a baud rate and a parity check value which are connected with the host of the ATO subsystem are configured, the baud rate is set to be 230400, a data bit is 8, a stop bit is 1, a check bit is None, and after the configuration of the serial port attribute is completed, the ATO subsystem software is connected with the host of the ATO subsystem through the configured serial port. The serial port connection operation is realized according to the configured serial port attribute, and the parameter transmission rates in the ATP subsystem and the ATO subsystem can be respectively controlled by setting different baud rates.
On the basis of the above embodiments, the present embodiment further includes: and reading and modifying the time of the automatic train control system host.
Specifically, the software sends a command frame for reading the ATP or ATO system time, the host receives the command frame for reading the time, returns the current time of the host and feeds back whether the reading is successful, and the software displays the result after receiving the command frame. The software read time process is shown in fig. 5.
When the ATP or ATO system host time is found to be out of synchronization with the software time, the host time needs to be modified. The software sends a command frame written in the ATP or ATO system time, and the host modifies the host time according to the command frame time and feeds back whether the modification is successful. The process of modifying the time is shown in fig. 6.
On the basis of the above embodiments, the present embodiment further includes: reading and displaying the logs of the automatic train control system host according to the log reading number input by a user;
specifically, the software sends a log read frame to the host according to the input log read number, and the host returns the read result, and the log reading process is as shown in fig. 7. And after the log is successfully read, displaying the log content in a log display column, and storing the log content into a text file. The user can quickly check the logs of the printed ferroelectric memory by checking the display log bar and the text file.
Acquiring and displaying version information of software on a host of the automatic train control system; acquiring and displaying version information of a hardware board card of the automatic train control system host;
the displayed software version content comprises an ATP electronic map line, an ATP electronic map version, an ATO electronic map line and a main version, a sub-version and a sub-version of the ATO electronic map version. The process of sending the version query command to the host by the software, returning the query result of the software version by the host, and acquiring the software version information is shown in fig. 8.
The displayed hardware board card content comprises the address information of the board cards, the total number of the board cards and the version of the CPU. The process of sending the version query command to the host by the software, returning the query result of the hardware board version by the host, and acquiring the hardware version board information is shown in fig. 9.
The version information of the software and the hardware is displayed through the version information bar, so that the software and the hardware version used by the current host can be obtained. When the ATC system is maintained, the problem can be analyzed according to the currently displayed version information, and the problem analysis efficiency is improved.
Acquiring and displaying version information of each module of software on a host of the train automatic control system; and recording the communication process with the automatic train control system host and the operation flow of the user.
And acquiring and displaying the version information of each detailed module, wherein the display content comprises the ID and the version information of each detailed module. The process of sending version query command to the host by the software, returning query result of detailed version number of each module by the host, and acquiring detailed version information of each module is shown in fig. 10.
And displaying the user operation process in real time through the information window, and simultaneously recording the communication process with the host and the user operation process in a file form. The debugging personnel or the maintenance personnel can download the file at any time and check the communication process of the host and the operation flow of the user.
The implementation connects the ATC system software with the ATC system host through the serial port, so that the vehicle parameters stored in the ferroelectric memory can be inquired, and the vehicle parameters can be configured in a batch or single writing mode. Meanwhile, the functions of writing and modifying the time of the host, reading the ferroelectric log and version information, recording the communication process of the user operation and the host in real time and the like are provided, so that the problem analysis is facilitated, and the problem analysis efficiency is improved.
The following describes a vehicle parameter configuration device of an automatic train control system according to an embodiment of the present invention, and the vehicle parameter configuration device of the automatic train control system described below and the vehicle parameter configuration method of the automatic train control system described above may be referred to in correspondence with each other.
As shown in fig. 11, the present embodiment provides a vehicle parameter configuration device for an automatic train control system, including: an inquiry module 1101, a read module 1102 and a write module 1103;
the query module 1101 is configured to query and display all vehicle parameters configured in a ferroelectric memory of a train automatic control system host through a serial port connected to the train automatic control system host;
if the parameters configured in the ferroelectric memory need to be inquired and displayed, firstly, the ATC system software is connected with an ATC system host through a serial port. And after the connection is successful, sending a debugging state switching command and informing the ATC system host machine of entering a maintenance state. After the ATC system host receives the command, 32-bit random numbers are replied, and at the moment, the software combines the password confirmation frame according to the received random numbers and sends the password confirmation frame to the ATC system host. The ATC system host judges the correctness of the password confirmation frame according to the password protocol.
After the serial port connection is successful and the reply frame with correct password is received, the software reads the parameters configured in the ferroelectric memory through the serial port. Reading the parameters according to the appointed number sequence, and feeding back whether the parameter reading is successful, and stopping sending the reading parameter frame until receiving a return frame that the ATC system host returns that the reading parameter number exceeds the range. By means of the mode of sequentially reading the parameters, all vehicle parameters configured in the ferroelectric memory can be rapidly inquired, and the inquired result is displayed in the parameter column.
The reading module 1102 is configured to acquire a number range of a vehicle parameter to be configured, which is input by a user according to a displayed vehicle parameter, and read the vehicle parameter to be configured and a backup of the vehicle parameter to be configured, which correspond to the number range, from a local file according to the number range;
the vehicle parameters to be configured may be obtained from a local file, or may be obtained according to user input, and this embodiment is not limited to this way of obtaining the vehicle parameters to be configured. Each vehicle parameter to be configured has a corresponding number, and the corresponding vehicle parameter to be configured can be read from the local file according to the input number range. The numbering range is determined by the serial number of the vehicle parameters which are determined by the user according to the displayed vehicle parameters and need to be configured, and the vehicle parameters corresponding to the numbering range can be written into the ferroelectric memory in batches according to the serial number sequence in the numbering range input by the user. The user can also input a single number, and the vehicle parameters are written into the ferroelectric memory at a time through the serial port.
Before vehicle parameters are written into the ferroelectric memory through a serial port, in order to avoid parameter input errors, the correctness of the input parameters needs to be ensured according to parameters to be configured which are input twice. And the parameters to be configured input for the second time are called as the backup of the parameters of the vehicle to be configured. And reading the vehicle parameters to be configured and the backup of the vehicle parameters to be configured corresponding to the number range from the local file once according to the input number range, and sending the vehicle parameters to the ATC system host twice. And the ATC system host performs writing or discarding operation on the vehicle parameters to be configured by judging whether the contents written twice into the vehicle parameters to be configured and the backups of the vehicle parameters to be configured are consistent or not, and feeds back the operation results to the ATC system software.
The writing module 1103 is configured to write the vehicle parameters to be configured into the ferroelectric memory through the serial port if the vehicle parameters to be configured with the same number in the number range are consistent with the backup of the vehicle parameters to be configured.
Specifically, after reading the vehicle parameters to be configured and the backup of the vehicle parameters to be configured corresponding to the input number range, the ATC system software sends the vehicle parameters to be configured to the ATC system host computer, and then sends the backup of the vehicle parameters to be configured to the ATC system host computer. Judging whether the vehicle parameters to be configured are consistent with the contents of the backup of the vehicle parameters to be configured one by one according to the serial numbers, and writing the vehicle parameters to be configured into the ferroelectric memory in batch or one time through the serial ports if the vehicle parameters to be configured are completely consistent with the contents of the backup of the vehicle parameters to be configured; if the parameters are not consistent, the input of the vehicle parameters to be configured is not accurate, and the operation of writing the vehicle parameters to be configured into the ferroelectric memory is abandoned, so that the correctness of the written parameters is ensured.
In the embodiment, on one hand, all vehicle parameters configured in the ferroelectric memory of the train automatic control system host are inquired and displayed according to the serial port, and the corresponding vehicle parameters can be checked in real time by inputting the parameter numbers, so that the operation is simple; on the other hand, when the vehicle parameters to be configured are judged to be consistent with the backup of the vehicle parameters to be configured, the parameters to be configured are written into the ferroelectric memories in batches, so that the accuracy of the configuration of the vehicle parameters is ensured, the batch writing of the parameters to be configured into the ferroelectric memories can be realized, and the efficiency of the configuration of the vehicle parameters is improved.
On the basis of the above embodiment, the definition module in this embodiment is specifically configured to: the vehicle parameters comprise parameter numbers, parameter names, parameter values, parameter maximum values, parameter minimum values and parameter annotations.
On the basis of the foregoing embodiment, the write module in this embodiment is specifically configured to: acquiring a parameter number and a parameter value of a vehicle parameter to be configured, which are input by a user according to the displayed vehicle parameter; if the parameter value of the vehicle parameter to be configured is larger than or equal to the parameter minimum value of the vehicle parameter to be configured and is smaller than or equal to the parameter maximum value of the vehicle parameter to be configured, displaying prompt information for inputting the parameter value of the vehicle parameter to be configured again; acquiring the parameter value of the vehicle parameter to be configured, which is input again by the user according to the prompt information, and if the parameter values of the vehicle parameter to be configured, which are input twice, are consistent, judging whether the vehicle parameter to be configured exists in the ferroelectric memory; if the vehicle parameter does not exist, modifying the vehicle parameter to be configured in the ferroelectric memory according to the parameter value of the vehicle parameter to be configured input by the user; and if so, writing the parameter value of the vehicle parameter to be configured, which is input by the user, into the ferroelectric memory.
On the basis of the foregoing embodiment, the writing module in this embodiment is further configured to: acquiring a format of a parameter value of the vehicle parameter to be configured set by a user; converting the parameter value of the vehicle parameter to be configured, which is input by the user, into a format set by the user; and modifying the vehicle parameters to be configured in the ferroelectric memory according to the parameter values of the vehicle parameters to be configured after the format conversion or writing the parameter values of the vehicle parameters to be configured after the format conversion into the ferroelectric memory.
On the basis of the foregoing embodiments, the connection module in this embodiment is specifically configured to: the train automatic control system host comprises an ATP subsystem host and an ATO subsystem host; correspondingly, the steps of inquiring and displaying all vehicle parameters configured in the ferroelectric memory of the train automatic control system host computer through the serial port connected with the train automatic control system host computer also comprise: connecting the ATP subsystem host according to the configured port number, baud rate and parity check value connected with the ATP subsystem host; and connecting the ATO subsystem host according to the configured port number, baud rate and parity check value connected with the ATO subsystem host.
On the basis of the foregoing embodiments, the modification module in this embodiment is further configured to: and reading and modifying the time of the automatic train control system host.
On the basis of the foregoing embodiment, the display module in this embodiment is specifically configured to: reading and displaying the logs of the automatic train control system host according to the log reading number input by a user; acquiring and displaying version information of software on a host of the automatic train control system; acquiring and displaying version information of a hardware board card of the automatic train control system host; acquiring and displaying version information of each module of software on a host of the train automatic control system; and recording the communication process with the automatic train control system host and the operation flow of the user.
Fig. 12 illustrates a physical structure diagram of an electronic device, which may include, as shown in fig. 12: a processor (processor)1201, a communication Interface (Communications Interface)1202, a memory (memory)1203 and a communication bus 1204, wherein the processor 1201, the communication Interface 1202 and the memory 1203 communicate with each other through the communication bus 1204. The processor 1201 may invoke logic instructions in the memory 1203 to perform a train automatic control system vehicle parameter configuration method comprising: inquiring and displaying all vehicle parameters configured in a ferroelectric memory of a train automatic control system host through a serial port connected with the train automatic control system host; acquiring a number range of a vehicle parameter to be configured input by a user according to a displayed vehicle parameter, and reading the vehicle parameter to be configured and a backup of the vehicle parameter to be configured corresponding to the number range from a local file according to the number range; and if the parameters of the vehicle to be configured with the same number in the number range are consistent with the backup of the parameters of the vehicle to be configured, writing the parameters of the vehicle to be configured into the ferroelectric memory through the serial port.
In addition, the logic instructions in the memory 1203 may be implemented in the form of software functional units and stored in a computer readable storage medium when the logic instructions are sold or used as independent products. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In another aspect, an embodiment of the present invention further provides a computer program product, where the computer program product includes a computer program stored on a non-transitory computer-readable storage medium, the computer program includes program instructions, and when the program instructions are executed by a computer, the computer can execute the method for configuring vehicle parameters of an automatic train control system provided by the foregoing method embodiments, where the method includes: inquiring and displaying all vehicle parameters configured in a ferroelectric memory of a train automatic control system host through a serial port connected with the train automatic control system host; acquiring a number range of a vehicle parameter to be configured input by a user according to a displayed vehicle parameter, and reading the vehicle parameter to be configured and a backup of the vehicle parameter to be configured corresponding to the number range from a local file according to the number range; and if the parameters of the vehicle to be configured with the same number in the number range are consistent with the backup of the parameters of the vehicle to be configured, writing the parameters of the vehicle to be configured into the ferroelectric memory through the serial port.
In still another aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium, on which a computer program is stored, where the computer program is implemented by a processor to execute the method for configuring vehicle parameters of an automatic train control system provided in the foregoing embodiments, where the method includes: inquiring and displaying all vehicle parameters configured in a ferroelectric memory of a train automatic control system host through a serial port connected with the train automatic control system host; acquiring a number range of a vehicle parameter to be configured input by a user according to a displayed vehicle parameter, and reading the vehicle parameter to be configured and a backup of the vehicle parameter to be configured corresponding to the number range from a local file according to the number range; and if the parameters of the vehicle to be configured with the same number in the number range are consistent with the backup of the parameters of the vehicle to be configured, writing the parameters of the vehicle to be configured into the ferroelectric memory through the serial port.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
Finally, it should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A method for configuring vehicle parameters of an automatic train control system is characterized by comprising the following steps:
inquiring and displaying all vehicle parameters configured in a ferroelectric memory of a train automatic control system host through a serial port connected with the train automatic control system host;
acquiring a number range of a vehicle parameter to be configured input by a user according to a displayed vehicle parameter, and reading the vehicle parameter to be configured and a backup of the vehicle parameter to be configured corresponding to the number range from a local file according to the number range;
and if the parameters of the vehicle to be configured with the same number in the number range are consistent with the backup of the parameters of the vehicle to be configured, writing the parameters of the vehicle to be configured into the ferroelectric memory through the serial port.
2. The method of claim 1, wherein the vehicle parameters include a parameter number, a parameter name, a parameter value, a parameter maximum value, a parameter minimum value, and a parameter comment.
3. The method for configuring train parameters for an automatic train control system according to claim 1, wherein the step of querying and displaying all the train parameters configured in the ferroelectric memory of the train automatic control system host further comprises:
acquiring a parameter number and a parameter value of a vehicle parameter to be configured, which are input by a user according to the displayed vehicle parameter;
if the parameter value of the vehicle parameter to be configured is larger than or equal to the parameter minimum value of the vehicle parameter to be configured and is smaller than or equal to the parameter maximum value of the vehicle parameter to be configured, displaying prompt information for inputting the parameter value of the vehicle parameter to be configured again;
acquiring the parameter value of the vehicle parameter to be configured, which is input again by the user according to the prompt information, and if the parameter values of the vehicle parameter to be configured, which are input twice, are consistent, judging whether the vehicle parameter to be configured exists in the ferroelectric memory;
if the vehicle parameter does not exist, modifying the vehicle parameter to be configured in the ferroelectric memory according to the parameter value of the vehicle parameter to be configured input by the user;
and if so, writing the parameter value of the vehicle parameter to be configured, which is input by the user, into the ferroelectric memory.
4. The method for configuring the vehicle parameters of the automatic train control system according to claim 3, wherein the step of modifying the vehicle parameters to be configured in the ferroelectric memory according to the parameter values of the vehicle parameters to be configured input by the user or writing the parameter values of the vehicle parameters to be configured input by the user into the ferroelectric memory specifically comprises:
acquiring a format of a parameter value of the vehicle parameter to be configured set by a user;
converting the parameter value of the vehicle parameter to be configured, which is input by the user, into a format set by the user;
and modifying the vehicle parameters to be configured in the ferroelectric memory according to the parameter values of the vehicle parameters to be configured after the format conversion or writing the parameter values of the vehicle parameters to be configured after the format conversion into the ferroelectric memory.
5. The method for configuring train parameters of an automatic train control system according to any one of claims 1 to 4, wherein the automatic train control system host comprises an ATP subsystem host and an ATO subsystem host;
correspondingly, the steps of inquiring and displaying all vehicle parameters configured in the ferroelectric memory of the train automatic control system host computer through the serial port connected with the train automatic control system host computer also comprise:
connecting the ATP subsystem host according to the configured port number, baud rate and parity check value connected with the ATP subsystem host;
and connecting the ATO subsystem host according to the configured port number, baud rate and parity check value connected with the ATO subsystem host.
6. The method for configuring train parameters of an automatic train control system according to any one of claims 1 to 4, further comprising:
and reading and modifying the time of the automatic train control system host.
7. The method for configuring train parameters of an automatic train control system according to any one of claims 1 to 4, further comprising:
reading and displaying the logs of the automatic train control system host according to the log reading number input by a user;
acquiring and displaying version information of software on a host of the automatic train control system;
acquiring and displaying version information of a hardware board card of the automatic train control system host;
acquiring and displaying version information of each module of software on a host of the train automatic control system;
and recording the communication process with the automatic train control system host and the operation flow of the user.
8. A vehicle parameter configuration device of an automatic train control system is characterized by comprising:
the system comprises a query module, a control module and a display module, wherein the query module is used for querying and displaying all vehicle parameters configured in a ferroelectric memory of a train automatic control system host through a serial port connected with the train automatic control system host;
the reading module is used for acquiring the number range of the vehicle parameters to be configured, which is input by a user according to the displayed vehicle parameters, and reading the vehicle parameters to be configured and the backup of the vehicle parameters to be configured, which correspond to the number range, from a local file according to the number range;
and the writing module is used for writing the vehicle parameters to be configured into the ferroelectric memory through the serial port if the vehicle parameters to be configured with the same number in the number range are consistent with the backup of the vehicle parameters to be configured.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and operable on the processor, wherein the processor when executing the program performs the steps of the method of configuring vehicle parameters for an automatic train control system according to any one of claims 1 to 7.
10. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program when executed by a processor implements the steps of the method for configuring vehicle parameters for an automatic train control system according to any one of claims 1 to 7.
CN202010975905.6A 2020-09-16 2020-09-16 Method and device for configuring vehicle parameters of automatic train control system Pending CN112158229A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010975905.6A CN112158229A (en) 2020-09-16 2020-09-16 Method and device for configuring vehicle parameters of automatic train control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010975905.6A CN112158229A (en) 2020-09-16 2020-09-16 Method and device for configuring vehicle parameters of automatic train control system

Publications (1)

Publication Number Publication Date
CN112158229A true CN112158229A (en) 2021-01-01

Family

ID=73859024

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010975905.6A Pending CN112158229A (en) 2020-09-16 2020-09-16 Method and device for configuring vehicle parameters of automatic train control system

Country Status (1)

Country Link
CN (1) CN112158229A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101913343A (en) * 2010-07-12 2010-12-15 苏州大学 Configurable control module of control system of passenger car body and parameter configuring method thereof
CN105786578A (en) * 2016-03-24 2016-07-20 北京友信宏科电子科技有限公司 Parameter configuration system and method
US20170356780A1 (en) * 2016-06-13 2017-12-14 Relevant Solutions, LLC Human Machine Interface for a Remote Terminal Unit
CN109800023A (en) * 2017-11-10 2019-05-24 沈阳芯源微电子设备股份有限公司 A kind of automatic double surface gluer parameter configuring system and its design method
CN110427221A (en) * 2019-06-20 2019-11-08 北京全路通信信号研究设计院集团有限公司 A kind of method and system by ATO software and control vehicle parameters separated configuration

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101913343A (en) * 2010-07-12 2010-12-15 苏州大学 Configurable control module of control system of passenger car body and parameter configuring method thereof
CN105786578A (en) * 2016-03-24 2016-07-20 北京友信宏科电子科技有限公司 Parameter configuration system and method
US20170356780A1 (en) * 2016-06-13 2017-12-14 Relevant Solutions, LLC Human Machine Interface for a Remote Terminal Unit
CN109800023A (en) * 2017-11-10 2019-05-24 沈阳芯源微电子设备股份有限公司 A kind of automatic double surface gluer parameter configuring system and its design method
CN110427221A (en) * 2019-06-20 2019-11-08 北京全路通信信号研究设计院集团有限公司 A kind of method and system by ATO software and control vehicle parameters separated configuration

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
郑伟等: "CBTC系统车载人机界面的设计与实现", 《铁道通信信号》 *

Similar Documents

Publication Publication Date Title
CN111222070B (en) Data processing method, device, equipment and storage medium
CN107463348B (en) Method and system for realizing Web end custom format printing based on B/S architecture
CN108416657B (en) Order generation method and equipment based on consultation service
CN113505580A (en) Method and device for analyzing table file
CN111427602B (en) Method for upgrading firmware on line of intelligent platform management controller of VPX case
CN114489766A (en) Method, device, medium and equipment for checking version information of vehicle-mounted controller
CN111857774A (en) Method and system for upgrading software of vehicle-mounted equipment
CN108769241B (en) Operation method, device and system for remote control of heat pump unit
CN111291443B (en) Automatic generation method, device and equipment for I/O module model of vehicle control unit software
CN107294826A (en) A kind of TBOX parameter calibration methods and its device based on CAN network
CN112699695B (en) RFID reader-writer software verification device and method and electronic equipment
CN112158229A (en) Method and device for configuring vehicle parameters of automatic train control system
CN104484260B (en) Simulation monitoring circuit based on GJB289 bus interface SoC (system on a chip)
CN111049913B (en) Data file transmission method and device, storage medium and electronic equipment
CN116366391A (en) MODBUS communication method and device based on data list structure
CN110134423A (en) Update method, device and the computer readable storage medium of firmware
CN107944507B (en) Product boxing error reporting method and system
CN115923889A (en) Automatic driving system and method compatible with C2ATO and CBTC
CN113645088B (en) Automatic regulation method, system, device and medium for network card NCSI signal
CN110853327B (en) Ship cabin equipment data field debugging and collecting method and device based on single chip microcomputer
CN108509160A (en) Postal singles' impression method, electronic device and computer readable storage medium
CN114124750A (en) Test method, system, equipment and storage medium of communication module
CN114760322A (en) Vehicle information association method, Internet of vehicles terminal and Internet of vehicles platform
CN111311185A (en) Cross-platform automatic flow operation method and system
CN114756440B (en) Data writing method, device and equipment of smart card and storage medium

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

Application publication date: 20210101

RJ01 Rejection of invention patent application after publication