Method for acquiring network quality information in CIR data unit dialing mode
By setting the serial port multiplexing mode in the CIR device, real-time network quality information is obtained under the data unit dialing mode, the problem of excessive dependence on voice units in the prior art is solved, and the reliability and stability of the route prediction information is improved.
Patent Information
- Application Number
- CN202411983776.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-31
- Publication Date
- 2025-05-16
AI Technical Summary
When the existing CIR equipment acquires the location area ID and cell ID, it depends on the voice unit, which leads to the system's dependence on the voice unit too high, and the information cannot be obtained through the data unit in the event of a failure, affecting the reception quality of the route prediction.
By setting the serial port mode in the main control unit of the CIR as the serial port multiplexing method, it is divided into logical serial ports I and II. Logical serial port I is responsible for dialing, and logical serial port II is responsible for obtaining network quality information, so as to obtain real-time network quality information under the data unit dialing method.
It realizes the acquisition of real-time network quality information through data units in CIR equipment, reduces dependence on voice units, improves the reliability and stability of route prediction information, and ensures the safe and efficient operation of railway transportation.
Smart Images

Figure CN120018079A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of railway communications, and in particular to a method for acquiring network quality information in a CIR data unit dialing mode. Background Art
[0002] In the field of railway communication technology, the rapid development of railways, especially the rapid development of high-speed railways, has put forward extremely stringent and high-standard requirements for dispatching and command. In this case, the importance of railway route forecasting application business has become increasingly prominent, which is related to the orderliness, safety and efficiency of railway transportation.
[0003] At present, based on the macro background that the National Railway Group and various railway bureau groups have strong expectations and attach great importance to the improvement of the application effect of railway route advance notice business, all systems and equipment are required to achieve all-round optimization and improvement through continuous practice under solid theoretical guidance. Among them, the reliability of route advance notice reception of relevant data business on the CIR (locomotive integrated wireless communication equipment) on-board equipment side has become a key area focused on by relevant technical departments of the railway bureau. All parties actively cooperate with equipment manufacturers to discuss in depth the countermeasures, aiming to launch an effective solution that can effectively improve reliability and stability.
[0004] At present, in terms of the entire road, a considerable proportion of CIR equipment data services, such as route announcements, train number verification information, data monitoring and other business operations, in the key link of obtaining location area ID and cell ID, once the CIR data unit and the main control unit complete the dial-up connection process, the serial port between the CIR data unit and the main control unit is fully occupied by the operating system, and the received signal strength, location area ID, cell ID and other information can no longer be obtained through the serial port in the form of AT commands. Therefore, the general method is to complete the acquisition of this information through the CIR voice unit instead of obtaining it from the data unit. The main disadvantage of this method is that the task of obtaining the location area ID and cell ID is completely entrusted to the CIR voice unit, making the entire system too dependent on the CIR voice unit. Once the CIR voice unit fails, such as hardware damage, software crash or communication link interruption, the entire process of obtaining the location area ID and cell ID will be interrupted immediately, and there is a lack of effective backup acquisition methods. When the CIR voice unit fails, the location area ID and cell ID cannot be obtained from the data unit, which directly leads to serious impact on the reception of route announcements. Route advance notice is one of the important bases for train operation and dispatching in railway transportation. Poor reception of route advance notice will make it impossible for train drivers to obtain relevant information about the route ahead in a timely and accurate manner, such as route opening status, route change, etc. This will not only bring great inconvenience to the normal operation of the train and increase the operating difficulty of the train driver, but also in extreme cases, the driver may mistakenly enter the prohibited area due to unclear route conditions, causing serious railway safety accidents. Summary of the invention
[0005] In order to solve the problem of how the prior art CIR equipment can obtain real-time network quality through data units at any time during use, the present invention provides a method for obtaining network quality information in a CIR data unit dialing mode to solve the problem of cross-office route notification in a dialing mode.
[0006] The technical solution adopted by the present invention is: a method for obtaining network quality information in a CIR data unit dialing mode, which is implemented based on CIR, and the steps are as follows: Step 1: Power on the CIR; Step 2: The CIR main control unit sets the serial port mode to serial port multiplexing mode. The main control unit divides a group of physical serial ports into two logical serial ports. One group of logical serial ports I is responsible for dialing, and the other group of logical serial ports II is responsible for obtaining network quality information in real time. Step 3: The main control unit of CIR sends a dial command to the data unit. The dial command sent by the main control unit is sent to the data unit of CIR through the logic serial port I via the A subrack motherboard. After receiving the dial command, the data unit dials. If the dialing is successful, execute step 4; otherwise, continue dialing until it is successful. Step 4: The main control unit of CIR sends an AT command to obtain network quality information. The AT command is sent to the data unit through the A sub-rack motherboard through the logical serial port II. The data unit obtains the network quality information through the antenna. Then the data unit returns the network quality information and sends it to the main control unit through the A sub-rack motherboard through the logical serial port II. If the main control unit receives the network quality information, the data unit completes the acquisition of the network quality information in the dial-up mode. Otherwise, the main control unit sends the AT command to the data unit again to obtain the network quality information. Repeat step 4 until success. Through the above steps, it is possible to obtain real-time network quality information in the data unit dialing mode.
[0007] The serial port multiplexing implementation method described in step 2 implements serial port multiplexing of CIR data units through the GSM0710 protocol in CIR, including enabling the main control unit to support the GSM0710 protocol and the CIR data unit to support the GSM0710 protocol. Through the common support of the main control unit and the data unit for the GSM0710 protocol, the function of converting one set of physical serial ports into two sets of logical serial ports is realized.
[0008] The method for obtaining network quality information described in step 4 is to modify the driver to add the GSM0710 protocol serial port multiplexing function, and on the basis of keeping the CIR data unit service function consistent with the original, after the CIR data unit establishes a dial-up connection with the main control unit, it controls and obtains real-time network quality information through the logical serial port II channel, including signal strength, location area ID, and cell ID information, and then feeds back the real-time network quality information to the main control unit. After receiving the real-time network quality information, the main control unit determines that the real-time network quality information is successfully obtained, otherwise, the main control unit will send an AT command to the data unit again to obtain the network quality information.
[0009] The beneficial effect of the present invention is that compared with the previous method, the method of obtaining network quality information by dialing the CIR data unit of the present invention can obtain real-time network quality information through the data unit. The network quality information of the prior art is obtained through the voice unit, but the failure rate of the voice unit is higher than that of the data unit. Once the language unit fails, it will affect the acquisition of real-time network quality information. By improving the control method of the CIR main control unit, a solution is achieved that meets the application requirements of the railway route announcement service at a lower cost after partial improvement of the product, and the purpose of CIR being more reliable and stable for receiving the railway route announcement service is achieved. By obtaining real-time network quality information through this improved method, it can be ensured that during the development of the railway route announcement service, the route announcement information can be transmitted based on a stable and reliable network quality environment. Whether in normal operation or in the face of some emergencies, it can be guaranteed that the route announcement information is delivered to the train driver in a timely and accurate manner, thereby achieving the purpose of CIR being more reliable and stable for receiving the railway route announcement information, and effectively ensuring the safety and efficient operation of railway transportation. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 A circuit diagram for implementing the present invention; Figure 2 It is a schematic diagram of the serial port multiplexing principle of the present invention; Figure 3 A flow chart of obtaining network quality information according to the present invention; Figure 4 It is a circuit diagram of a CIR device in the prior art. DETAILED DESCRIPTION
[0011] In order to more clearly demonstrate the technical solutions and implementation examples of the present invention, the present invention is further described in detail below with reference to the accompanying drawings.
[0012] Figure 4 This is a circuit diagram of a CIR device in the prior art. The CIR device includes a main control unit, a data unit, a voice unit, a recording unit, a satellite positioning unit, an A sub-rack motherboard and a reserved position. Units can communicate with each other through the A sub-rack motherboard, and the reserved position can be expanded according to actual needs.
[0013] Figure 1The circuit diagram for realizing the present invention includes a CIR main control unit, an A sub-frame motherboard, a CIR data unit and an antenna. The main control unit is connected to the data unit network unit through the A sub-frame motherboard circuit; the main control unit and the data unit network unit communicate via the A sub-frame motherboard; and the main control unit supports the GSM0710 protocol, and can be improved in hardware and software to realize the serial port multiplexing function; the CIR data unit supports the GSM0710 protocol, and can still read the control and status information through a group of logical serial port channels after establishing a dial-up connection with the main control unit. The serial port communication mode adopts the serial port multiplexing mode, and the CIR data unit has a built-in Internet of Things card to provide traffic for the data unit to dial up and obtain network quality information.
[0014] Serial port multiplexing technology is used to implement the GSM0710 serial port multiplexing technology specified by the 3GPP standard. Logical multiplexing determines the usage allocation of the serial port based on pre-set logical judgment conditions. When the data meets the logical conditions, the data is allowed to be transmitted through the serial port, thereby realizing the multiplexing of a set of physical serial ports into two sets of logical serial ports. Logical serial port I is for dial-up services; logical serial port II is for AT command interaction. The CIR main control unit sends a dialing command to the data unit; the CIR main control unit and the CIR data unit communicate with each other through the A subrack motherboard via the serial port, the CIR main control unit sends an AT command, and after receiving the AT command, the CIR data unit returns network quality information to the CIR main control unit; a method for obtaining network quality information in the dialing mode of the CIR data unit is implemented.
[0015] Figure 2 The schematic diagram of the serial port multiplexing principle of the present invention is that the data transmission is realized between the main control unit and the data unit through this physical serial port; in order to meet different functional requirements, the serial port multiplexing technology is adopted, which can logically divide the existing physical serial ports without increasing the number of physical serial ports. The serial port multiplexing implementation method realizes CIR data unit serial port multiplexing through the GSM0710 protocol in CIR, including making the main control unit support the GSM0710 protocol and the CIR data unit support the GSM0710 protocol, and making the multiplexer mode available by sending AT commands. Specifically, the physical serial port between the main control unit and the data unit is converted into two logical serial ports, namely, logical serial port I and logical serial port II.
[0016] Logical serial port I is assigned a specific function and is responsible for the transmission of dial-up commands. When the system needs to perform a network connection operation, the main control unit will generate the corresponding dial-up commands, which will be accurately transmitted to the data unit through the logical serial port I. After the data unit receives the dial-up command from the logical serial port I, it will perform the corresponding dial-up operation according to the command requirements, and then try to establish a connection with the target network.
[0017] Logical serial port II is responsible for the interaction of AT commands; AT commands are a standard communication control command widely used in the field of mobile communications. The main control unit uses logical serial port II to send AT commands. The main purpose is to obtain network quality information and other related data. After receiving these AT commands, the data unit begins to obtain real-time network quality information, and then feeds this information back to the main control unit through logical serial port II.
[0018] The two logical serial ports do not interfere with each other. When logical serial port I is transmitting dial-up commands, it will not affect the AT command interaction of logical serial port II. This non-interference feature ensures the efficiency and reliability of communication between the main control unit and the data unit, and guarantees the normal operation of the entire system in terms of network connection and network quality monitoring.
[0019] Embodiment 1, as Figure 3 As shown, a method for obtaining network quality information in a CIR data unit dialing mode includes the following steps: Step 1, CIR is powered on; after starting, the CIR (locomotive integrated wireless communication equipment) is powered on first. When the CIR is powered on, the power supply will provide power support for the main control unit and the data unit; the main control unit is the core control part of the entire CIR device, responsible for coordinating the work of each unit; the data unit is mainly responsible for data acquisition and command execution.
[0020] Step 2, the main control unit sets the serial port multiplexing mode; in the CIR, the GSM0710 protocol is used to implement serial port multiplexing of the CIR data unit, including enabling the main control unit to support the GSM0710 protocol and the CIR data unit to support the GSM0710 protocol. Through the common support of the main control unit and the data unit for the GSM0710 protocol, a set of physical serial ports is transformed into two sets of logical serial ports. After the CIR is powered on, the serial port multiplexing mode is set: the main control unit sets the serial port mode connected to the data unit to the serial port multiplexing mode. This serial port multiplexing mode is configured by software to logically divide a set of physical serial ports into two logical serial ports with different functions. Specifically, logical serial port I is designated to be responsible for the transmission of dial-up commands, and logical serial port II is responsible for the interaction of AT commands, such as Figure 2 shown.
[0021] Step 3, the main control unit sends a dial-up command; after setting the serial port multiplexing mode, start sending the dial-up command: the CIR main control unit sends a dial-up command to the data unit. After receiving the dial-up command, the data unit starts to execute the dial-up command. The dial-up module inside the data unit will parse the received dial-up command, perform the dial-up operation according to the parameter configuration in the command, try to establish a connection with the target network, and then determine whether the dial-up is successful. If the result is yes, execute step 4. If the result is no, continue to send the dial-up command.
[0022] Step 4, the main control unit sends an AT command; after the main control unit receives the network quality information, the communication is completed; if not received, continue to send the AT command; after dialing successfully, send the AT command: the CIR main control unit sends the AT command to obtain the network quality information, and the AT command is sent to the data unit through the serial port. Since the serial port multiplexing mode is set, the CIR data unit can still be controlled and obtain real-time network quality information through the logical serial port II channel after establishing a dial-up connection with the main control unit. The AT command is sent to the data unit through the previously set logical serial port II. When sending the AT command, the main control unit will encapsulate it according to the specified format and protocol to ensure that the data unit can correctly parse and execute the command. After the CIR main control unit sends the AT command, the data unit will receive the command and process it. After receiving the AT command, the network module inside the data unit will detect the current network status and obtain signal strength, location area ID, and cell ID information; Then, the CIR data unit will return the acquired network quality information. This network quality information will pass through the A subframe motherboard and then be sent to the CIR main control unit through the logical serial port II; 5 seconds after sending the AT command, the CIR main control unit determines whether the network quality information is received. If the result is yes, it proves that the CIR main control unit has successfully received the network quality information such as signal strength, location area ID, and cell ID, and this communication is completed and the process ends; if the result is no, it proves that the CIR main control unit has not received the network quality information, which means that there may be problems such as network failure and data transmission errors. In this case, resend the AT command until the signal strength, location area ID, and cell ID information are successfully obtained.
Claims
1. A method for obtaining network quality information in a CIR data unit dialing mode, characterized in that: Based on CIR implementation, the steps are as follows: Step 1: Power on the CIR; Step 2: The CIR main control unit sets the serial port mode to serial port multiplexing mode. The main control unit divides a group of physical serial ports into two logical serial ports. One group of logical serial ports I is responsible for dialing, and the other group of logical serial ports II is responsible for obtaining network quality information in real time. Step 3: The main control unit of CIR sends a dial command to the data unit. The dial command sent by the main control unit is sent to the data unit of CIR through the logic serial port I via the A subrack motherboard. After receiving the dial command, the data unit dials. If the dialing is successful, execute step 4; otherwise, continue dialing until it is successful. Step 4: The main control unit of CIR sends an AT command to obtain network quality information. The AT command is sent to the data unit through the A sub-rack motherboard through the logical serial port II. The data unit obtains the network quality information through the antenna. Then the data unit returns the network quality information and sends it to the main control unit through the A sub-rack motherboard through the logical serial port II. If the main control unit receives the network quality information, the data unit completes the acquisition of the network quality information in the dial-up mode. Otherwise, the main control unit sends the AT command to the data unit again to obtain the network quality information. Repeat step 4 until success. Through the above steps, it is possible to obtain real-time network quality information in the data unit dialing mode.
2. The method for obtaining network quality information in a CIR data unit dialing mode according to claim 1, characterized in that: The serial port multiplexing implementation method described in step 2 implements serial port multiplexing of CIR data units through the GSM0710 protocol in CIR, including enabling the main control unit to support the GSM0710 protocol and the CIR data unit to support the GSM0710 protocol. Through the common support of the main control unit and the data unit for the GSM0710 protocol, the function of converting one set of physical serial ports into two sets of logical serial ports is realized.
3. The method for obtaining network quality information in a CIR data unit dialing mode according to claim 1, characterized in that: The method for obtaining network quality information described in step 4 is to modify the driver to add the GSM0710 protocol serial port multiplexing function, and on the basis of keeping the CIR data unit service function consistent with the original, after the CIR data unit establishes a dial-up connection with the main control unit, it controls and obtains real-time network quality information through the logical serial port II channel, including signal strength, location area ID, and cell ID information, and then feeds back the real-time network quality information to the main control unit. After receiving the real-time network quality information, the main control unit determines that the real-time network quality information is successfully obtained, otherwise, the main control unit will send an AT command to the data unit again to obtain the network quality information.