Disclosure of Invention
In view of the prior art and the defects, the invention provides a plane shunting system with an air interface timing function and a timing method.
In order to achieve the above purpose, the technical scheme adopted by the invention is as follows: the plane shunting system with the air interface timing function is characterized by comprising a long area platform, n locomotive platforms and n flat-regulating handheld platforms, wherein the long area platform is in transmission connection with the n locomotive platforms and the n flat-regulating handheld platforms through a wireless air interface network; the remote software is installed in a PC, and the PC is connected with the regional long station through a TCP/IP network; the area long station comprises a first MCU, a first RTC chip, a network chip, a first display screen/key and a first channel machine, wherein the first MCU is connected with the first RTC chip through an I 2 The C port is connected with the first RTC chip; the SPI port is connected with the network chip; the first display screen/key is connected with the first display screen/key through a parallel port; and the first channel machine is connected with the first channel machine through a serial port.
The locomotive platform comprises a second MCU, a second RTC chip, a second display screen/key and a second channel machine, wherein the second MCU is connected with the first RTC chip through an I 2 A C port and a second RTC chip; the second display screen/key is connected with the second display screen/key through an SPI port; and the second channel machine is connected with the serial port.
The leveling handheld station comprises a control unit with an RTC circuit, a UHF channel unit, a power supply unit and a liquid crystal display unit, wherein the power supply unit is respectively connected with the control unit and the liquid crystal display unit; the UHF channel unit is connected with the control unit; the control unit is connected with the liquid crystal display unit through an SPI port.
The invention relates to a time correcting method of a plane shunting system with an air interface time correcting function, which is characterized in that the air interface time correcting is carried out by message interaction in a signaling form through an air interface network, and the time correcting signaling is divided into two types, namely a time correcting application and a time correcting time configuration; the timing method is divided into a timing flow of a long area station, a locomotive and a leveling handheld station, wherein the timing flow of the long area station executes the following operations:
(1) And starting the zone long station, starting a 15-second timer, sending a timing time configuration signaling to the first channel machine through the serial port after the timing time is up, analyzing the signaling received by the first channel machine, sending the signaling out through the air interface network, and enabling the locomotive and the dispatching handheld station in the air interface network to enter a normal working state.
(2) When the zone-length station is in a normal working state, the first channel machine receives an air interface message through an air interface network, after analysis processing, the air interface message is sent to the first MCU through a serial port, the first MCU firstly judges whether the signaling is a timing application signaling and whether the sender is a locomotive station, if so, the current system RTC time is read, if not, other message processing flows are entered, the timing time configuration signaling is sent to the first channel machine after the reading is successful, the first channel machine sends the locomotive station through the air interface network, if the reading is failed, the reading is repeated until the reading is successful, and the reading is stopped after the continuous three times of reading failures.
(3) When the long-range station is in a normal working state, the long-range station receives network information sent by remote software through a TCP/IP network, if the information is time configuration information, the first MCU modifies RTC clock time of the long-range station system, if the time configuration information is successful, a time correction time configuration signaling is sent to the first channel machine, and the first channel machine analyzes and processes the time correction time configuration signaling and then sends the time correction time configuration signaling to the locomotive station through an air interface network.
(4) When the long platform is in a normal working state, the first display screen/key of the long platform configures the system time through a menu, the key enters a time configuration interface to modify the current time, including year, month, day, time, minute and second, after modification, the first MCU clicks and stores the time of the RTC clock of the system, if modification is successful, the first MCU sends a time correction time configuration signaling to the first channel machine, and the first channel machine sends the time correction time configuration signaling to the locomotive platform through an air interface network.
The locomotive station timing flow of the invention executes the following operations:
(1) Starting the locomotive station, starting a 15-second timer, after the timing time is up, sending a timing application signaling to a second channel machine by a second MCU through a serial port, sending the timing application signaling to the zone long station through an air interface network after the second channel machine is analyzed, simultaneously starting a timer waiting for the timing time signaling, returning to the previous step to resend the timing application signaling if the timing response sent by the zone long station is not received in the timing time, and stopping applying if the retransmission is unsuccessful for three times; if the timing time configuration signaling is received in the timing time, firstly judging whether the sender is a zone-length station, if not, discarding the signaling, if the RTC time of the system is configured, firstly judging whether the received time is consistent with the current system time, and if so, skipping to modify the RTC flow; and if the time of the RTC clock of the system is inconsistent, the second MCU finally transmits a timing time configuration signaling to the second channel machine according to the received time, and the second channel machine transmits the timing time configuration signaling to the handheld station through the air interface network.
(2) When the locomotive station is in a normal working state, the second channel machine receives the timing application signaling through the air interface network and then forwards the timing application signaling to the second MCU, the second MCU firstly judges whether the signaling sender is a handheld station or not, if the signaling sender is the handheld station, the current system RTC time is read, after the timing time configuration signaling is successfully read, the timing time configuration signaling is sent to the second channel machine according to the current time, the second channel machine is sent to the handheld station through the air interface network, if the timing time configuration signaling is read fails, the second channel machine returns to the previous step to read again, and if the timing time configuration signaling is read after the continuous three times of reading fails, the second MCU stops reading.
(3) When the locomotive station is in a normal working state, the second channel machine receives the timing time configuration signaling through the air interface network and then forwards the timing time configuration signaling to the second MCU, the second MCU judges whether the signaling sender is a long-area station for transmission, if the signaling sender is the long-area station for transmission, the signaling information is read, the system RTC time is configured, whether the received time is consistent with the current system time is judged first, if the received time is consistent with the current system time, the RTC process is skipped, if the received time is inconsistent with the current system time, the system RTC clock time is modified, and finally the second MCU sends the timing time configuration signaling to the second channel machine according to the received time and then sends the timing time configuration signaling to the handheld station through the air interface network.
The leveling handheld station timing flow of the invention executes the following operations:
(1) Starting the flat-adjustment handheld station, starting a timer for 15 seconds after starting the flat-adjustment handheld station, sending a timing application signaling to the locomotive station through an air interface network after the timing time is up, entering a normal working state, simultaneously starting a timer waiting for the timing time signaling, returning to the previous step to resend the timing application signaling if the timing response sent by the locomotive station is not received in the timing time, and stopping applying after the resending is unsuccessful for three times; after receiving the timing time configuration signaling sent by the locomotive station in the timing time, judging whether the received time information is consistent with the current system time, if so, not operating, and exiting the process; if not, the system RTC clock time is modified.
(2) When the leveling handheld station is in a normal working state, after receiving a timing time configuration signaling through an air interface network, the leveling handheld station judges whether a signaling sender is a locomotive station for sending, if so, reads signaling information, judges whether the received time is consistent with the current system time, and if so, does not operate, and exits the process; if not, the system RTC clock time is modified.
The invention has the beneficial effects and characteristics that:
1. the plane shunting system with the air interface timing function is realized, the system is convenient and simple to realize, and the timing method in the system is diversified, and mainly comprises the following steps: interface menu configuration and air interface network timing are carried out through TCP/IP network configuration.
2. The plane shunting system with the air interface timing function can cover all devices in all air interface networks, omits complicated procedures of time configuration for each device, and is simple, convenient and quick.
3. The time consistency of equipment in the system is ensured by the time correction method, and the method adopts automatic time correction without human intervention, thereby greatly saving the manual time.
4. The system time consistency plays an important role in the analysis of the follow-up data of the plane shunting operation, so that the problem of the shunting operation and the shunting operation condition can be conveniently and subsequently found.
Detailed Description
For a clearer understanding of the present invention, reference is made to the following detailed description taken in conjunction with the accompanying drawings and examples:
as shown in FIG. 1, the plane shunting system with the air interface timing function comprises a long platform, a locomotive platform and a plane shunting handheld platform device, wherein the system comprises the long platform, a plurality of locomotive platforms and a plurality of handheld platforms. The remote software is installed in the PC, the PC is connected with the long-range stations through the TCP/IP network, the remote software is functional software which is matched with the long-range stations and is used for integrating information display, information storage, equipment control and the like, and the remote software can be connected with a plurality of the long-range stations and corresponds to a plurality of plane shunting systems. The system of the invention has the function of reading and configuring the current time of the long station.
Taking a shunting system as an example, the equipment of a long platform, a locomotive platform and a flat-shunting handheld platform are configured with the same working frequency. The main functions of each device are as follows:
1. the functions of the zone length station include:
1) An air interface network transmission function supports the frequency of the air interface network to 400-470MHz, and has the functions of voice communication, signaling sending and receiving and long data;
2) TCP/IP network transmission function;
3) A man-machine interaction interface, a zone long platform information display and menu function setting;
4) RTC system clock.
As shown in FIG. 2, the zone-length station comprises a first MCU, a first channel machine, a first RTC chip, a network chip and a first display screen/key, wherein the first MCU and the first RTC chip adopt I 2 And C, the data transmission mode, the serial port data transmission mode, the SPI data transmission mode, the parallel port of the first MCU and the network chip are connected with the first display screen/key, the first channel machine is responsible for receiving and transmitting air interface network data, and the first channel machine can particularly receive and transmit air interface timing signaling.
The first MCU model is LPC4357; the first RTC chip model is DS3231SN.
The control of the zone long MCU comprises a service function module, a display function module and a network function module according to the function division. The service function module is responsible for reading and configuring the time of the RTC clock chip, the service module is responsible for carrying out message interaction with the channel machine through the serial port, when the service needs to send air interface network data, the service module is sent to the first channel machine through the serial port, the first channel machine sends out the message through the air interface network after analysis processing, and when the first channel machine receives the air interface network data, the service module is transmitted to the MCU through the serial port. The display function module is responsible for displaying interface information of the zone long platform and menu configuration functions. The network function module is responsible for receiving and sending TCP/IP network messages and interacting with remote software.
2. The functions of the locomotive platform include:
1) An air interface network transmission function supports the frequency of the air interface network to 400-470MHz, and has the functions of voice communication, signaling sending and receiving and long data;
2) A man-machine interaction interface, locomotive platform information display and menu function setting;
3) RTC system clock.
As shown in fig. 3, the locomotive station includes a second MCU, a second channelizer, and a second RTC chip. The second MCU and the second RTC chip adopt I 2 And C, the data transmission mode is adopted by the second MCU and the second channel machine, the parallel port of the second MCU is connected with the display screen/keys, the second channel machine is responsible for receiving and transmitting the air interface network data, and the second channel machine can particularly receive and transmit the air interface timing signaling.
The second MCU model is LPC4357; the second RTC chip model is DS3231SN.
The locomotive platform MCU can be divided into service function modules and display function modules according to functions. The service function module is responsible for the service processing of the locomotive platform, reading and configuring the time of the RTC clock chip, and is responsible for carrying out message interaction with the second channel machine through the serial port, when the service needs to send air interface network data, the service module sends the air interface network data to the second channel machine through the serial port, and after the second channel machine is analyzed and processed, the service module sends out the message through the air interface network, and when the second channel machine receives the air interface network data, the service module is transmitted through the serial port. The display module is responsible for displaying interface information of the locomotive platform and menu configuration functions.
3. The functions of the leveling hand-held table include:
1) An air interface network transmission function supports the frequency of the air interface network to 400-470MHz, and has the functions of voice communication, signaling sending and receiving and long data;
2) The man-machine interaction interface is used for leveling information display of the handheld platform and setting menu functions;
3) RTC system clock.
As shown in fig. 4, the leveling handheld station includes a control unit, a UHF channel unit, a liquid crystal display unit, and a power supply unit, wherein the control unit adopts a built-in RTC circuit, the control unit and the liquid crystal display unit adopt SPI interfaces, and the power supply unit is used for providing stable power supply to the control unit and the liquid crystal display unit.
The UHT channel unit is responsible for receiving and sending air interface network data, the liquid crystal display unit is responsible for displaying interface information and menu configuration functions of the handheld station, the control unit is responsible for processing service functions of the handheld station, carrying out message interaction with the UHT channel unit, processing and analyzing the air interface network data received by the channel unit, and when the handheld station processes air interface timing service, the air interface timing service is sent to the UHT channel unit by the control unit and then sent out through the air interface network by the UHT channel unit.
The data types of air interface network data transmission comprise three types of voice call data, signaling data and long data, and the air interface timing data related by the invention belongs to the signaling data types and is divided into timing application signaling and time configuration signaling according to the types.
As shown in fig. 5, the zone-length station timing flow performs the following operations:
(1) And starting the zone long station, starting a 15-second timer, sending a timing time configuration signaling to the first channel machine through the serial port after the timing time is up, analyzing the signaling received by the first channel machine, sending the signaling out through the air interface network, and enabling the locomotive and the dispatching handheld station in the air interface network to enter a normal working state.
(2) When the zone-length station is in a normal working state, the first channel machine receives an air interface message through an air interface network, after analysis processing, the air interface message is sent to the first MCU through a serial port, the first MCU firstly judges whether the signaling is a timing application signaling and whether the sender is a locomotive station, if so, the current system RTC time is read, if not, other message processing flows are entered, the timing time configuration signaling is sent to the first channel machine after the reading is successful, the first channel machine sends the locomotive station through the air interface network, if the reading is failed, the reading is repeated until the reading is successful, and the reading is stopped after the continuous three times of reading failures.
(3) When the long-range station is in a normal working state, the long-range station receives network information sent by remote software through a TCP/IP network, if the information is time configuration information, the first MCU modifies RTC clock time of the long-range station system, if the time configuration information is successful, a time correction time configuration signaling is sent to the first channel machine, and the first channel machine analyzes and processes the time correction time configuration signaling and then sends the time correction time configuration signaling to the locomotive station through an air interface network.
(4) When the long platform is in a normal working state, the first display screen/key of the long platform configures the system time through a menu, the key enters a time configuration interface to modify the current time, including year, month, day, time, minute and second, after modification, the first MCU clicks and stores the time of the RTC clock of the system, if modification is successful, the first MCU sends a time correction time configuration signaling to the first channel machine, and the first channel machine sends the time correction time configuration signaling to the locomotive platform through an air interface network.
As shown in fig. 6, the locomotive stand timing flow performs the following operations:
(1) Starting the locomotive station, starting a 15-second timer, after the timing time is up, sending a timing application signaling to a second channel machine by a second MCU through a serial port, sending the timing application signaling to the zone long station through an air interface network after the second channel machine is analyzed, simultaneously starting a timer waiting for the timing time signaling, returning to the previous step to resend the timing application signaling if the timing response sent by the zone long station is not received in the timing time, and stopping applying if the retransmission is unsuccessful for three times; if the timing time configuration signaling is received in the timing time, firstly judging whether the sender is a zone-length station, if not, discarding the signaling, if the RTC time of the system is configured, firstly judging whether the received time is consistent with the current system time, and if so, skipping to modify the RTC flow; and if the time of the RTC clock of the system is inconsistent, the second MCU finally transmits a timing time configuration signaling to the second channel machine according to the received time, and the second channel machine transmits the timing time configuration signaling to the handheld station through the air interface network.
(2) When the locomotive station is in a normal working state, the second channel machine receives the timing application signaling through the air interface network and then forwards the timing application signaling to the second MCU, the second MCU firstly judges whether the signaling sender is a handheld station or not, if the signaling sender is the handheld station, the current system RTC time is read, after the timing time configuration signaling is successfully read, the timing time configuration signaling is sent to the second channel machine according to the current time, the second channel machine is sent to the handheld station through the air interface network, if the timing time configuration signaling is read fails, the second channel machine returns to the previous step to read again, and if the timing time configuration signaling is read after the continuous three times of reading fails, the second MCU stops reading.
(3) When the locomotive station is in a normal working state, the second channel machine receives the timing time configuration signaling through the air interface network and then forwards the timing time configuration signaling to the second MCU, the second MCU judges whether the signaling sender is a long-area station for transmission, if the signaling sender is the long-area station for transmission, the signaling information is read, the system RTC time is configured, whether the received time is consistent with the current system time is judged first, if the received time is consistent with the current system time, the RTC process is skipped, if the received time is inconsistent with the current system time, the system RTC clock time is modified, and finally the second MCU sends the timing time configuration signaling to the second channel machine according to the received time and then sends the timing time configuration signaling to the handheld station through the air interface network.
As shown in fig. 7, the leveling handset timing flow performs the following operations:
(1) Starting the flat-adjustment handheld station, starting a timer for 15 seconds after starting the flat-adjustment handheld station, sending a timing application signaling to the locomotive station through an air interface network after the timing time is up, entering a normal working state, simultaneously starting a timer waiting for the timing time signaling, returning to the previous step to resend the timing application signaling if the timing response sent by the locomotive station is not received in the timing time, and stopping applying after the resending is unsuccessful for three times; after receiving the timing time configuration signaling sent by the locomotive station in the timing time, judging whether the received time information is consistent with the current system time, if so, not operating, and exiting the process; if not, the system RTC clock time is modified.
(2) When the leveling handheld station is in a normal working state, after receiving a timing time configuration signaling through an air interface network, the leveling handheld station judges whether a signaling sender is a locomotive station for sending, if so, reads signaling information, judges whether the received time is consistent with the current system time, and if so, does not operate, and exits the process; if not, the system RTC clock time is modified.