Method and device for adjusting directional antenna on railway train, equipment and medium

Through image acquisition and track angle recognition technology, the directional antenna on the railway train is dynamically adjusted, which solves the communication quality problem caused by the fixedness of the directional antenna and realizes efficient communication in complex environments.

CN120184589APending Publication Date: 2025-06-20CHINA SHENHUA ENERGY CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510321469.3
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-18
Publication Date
2025-06-20

AI Technical Summary

Technical Problem

Due to its fixedness in the railway communication system, directional antennas cannot be flexibly adjusted according to actual needs or environmental changes, resulting in the possibility of ensuring the optimal signal reception and transmission effect in a complex and changeable communication environment.

Method used

The track image is collected through the image acquisition device, the track angle change information is identified, and the adjustment angle of the directional antenna is determined based on the initial alignment angle and the track angle change information, and the angle adjustment is performed using a servo motor to realize dynamic alignment of the directional antenna.

Benefits of technology

At the bend of the train track, by accurately adjusting the directional antenna, the communication quality between trains on the same track is improved, and the flexibility and adaptability of the communication system is enhanced.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120184589A_ABST
    Figure CN120184589A_ABST
Patent Text Reader

Abstract

The invention discloses a method, a device and equipment for adjusting a directional antenna on a railway train and a medium. The method comprises the following steps: determining an initial alignment angle of a target directional antenna on a target train; acquiring a current driving track image acquired by an image acquisition device on the target train, and determining track angle change information according to the current driving track image; determining an adjustment angle of the target directional antenna according to the track angle change information and the initial alignment angle; and generating a direction adjustment information control instruction according to the adjustment angle, and sending the direction adjustment information control instruction to a servo motor corresponding to the target directional antenna, so that the servo motor adjusts the angle of the target directional antenna according to the direction adjustment information control instruction and recovers to the initial alignment angle. According to the method, the track angle change information is obtained through the running track image, the directional antenna adjustment angle is determined according to the track angle change information, and the communication quality between trains on the same track is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of wireless communication technologies, and in particular, to a method, device, equipment, and medium for adjusting a directional antenna on a railway train. Background Art

[0002] Antennas play a key role in communication systems. Currently, most railway communication antennas are installed with a fixed direction. Although directional antennas have better communication quality, their greatest limitation lies in their immobility after installation. Once the antenna is fixed at a specific position, it cannot be flexibly adjusted according to actual needs or environmental changes, which to a certain extent limits the flexibility and adaptability of the communication system. Especially in complex and changeable communication environments, fixed antennas may not always ensure the best signal reception and transmission effects. In addition, fixed antennas may face signal interference problems in specific application scenarios. For example, in densely populated urban areas, due to the obstruction of buildings, wires, and other obstacles, fixed antennas may not be able to receive stable signals, resulting in a decline in communication quality. In some remote areas or complex terrains, fixed antennas may not be able to provide sufficient signal coverage. For example, at the curved sections of the train tracks, the application range of the communication system is limited.

[0003] To avoid collision events between different trains traveling on the same track, communication needs to be carried out between the front and rear trains on the same track to inform each other of train information. Since this type of communication is between fixed targets, a directional antenna communication method is adopted to improve communication quality. However, at the curved sections of the train tracks, the fixed angle of the directional antenna limits the communication quality between trains. Summary of the Invention

[0004] The present invention provides a method, device, equipment, and medium for adjusting a directional antenna on a railway train to solve the problem of poor communication quality of the directional antenna between the front and rear trains traveling on the same track.

[0005] According to an aspect of the present invention, there is provided a method for adjusting a directional antenna on a railway train, including:

[0006] Determining an initial alignment angle of a target directional antenna on a target train; wherein, the initial alignment angle is determined according to a reference angle of a matching directional antenna on a reference train on the same track;

[0007] Obtaining a current driving track image collected by an image acquisition device on the target train, and determining track angle change information according to the current driving track image;

[0008] Determining an adjustment angle of the target directional antenna according to the track angle change information and the initial alignment angle;

[0009] Generate a direction adjustment information control instruction according to the adjusted angle, and send the direction adjustment information control instruction to the servo motor corresponding to the target directional antenna, so that the servo motor adjusts the angle of the target directional antenna according to the direction adjustment information control instruction and restores it to the initial alignment angle.

[0010] According to another aspect of the present invention, there is provided an adjustment device for a directional antenna on a railway train, including:

[0011] An initial alignment angle determination module, configured to determine the initial alignment angle of a target directional antenna on a target train; wherein, the initial alignment angle is determined according to the reference angle of a matching directional antenna on a reference train on the same track;

[0012] A track angle change information determination module, configured to obtain a current driving track image collected by an image acquisition device on the target train, and determine track angle change information according to the current driving track image;

[0013] An adjustment angle determination module, configured to determine the adjustment angle of the target directional antenna according to the track angle change information and the initial alignment angle;

[0014] An angle adjustment module, configured to generate a direction adjustment information control instruction according to the adjustment angle, and send the direction adjustment information control instruction to the servo motor corresponding to the target directional antenna, so that the servo motor adjusts the angle of the target directional antenna according to the direction adjustment information control instruction and restores it to the initial alignment angle.

[0015] According to another aspect of the present invention, there is provided an electronic device, the electronic device includes:

[0016] At least one processor; and

[0017] A memory communicatively connected to the at least one processor; wherein,

[0018] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the method for adjusting a directional antenna on a railway train according to any embodiment of the present invention.

[0019] According to another aspect of the present invention, there is provided a computer-readable storage medium, the computer-readable storage medium stores computer instructions, and the computer instructions are used to cause a processor to implement the method for adjusting a directional antenna on a railway train according to any embodiment of the present invention when executed.

[0020] The technical solution of the embodiment of the present invention obtains the track angle change information by recognizing the collected driving track image, and then determines the adjustment angle of the directional antenna on the train according to the track angle change information, so as to ensure that even when the train is running at a track bend, the precise alignment between the directional antennas can still be achieved, improving the communication quality between the trains on the same track through the directional antennas, and the adjustment method determined by the image recognition result is simple and the adjustment accuracy is relatively high.

[0021] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present invention, nor is it used to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present invention. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.

[0023] Figure 1 is a flowchart of a method for adjusting a directional antenna on a railway train according to an embodiment of the present invention;

[0024] Figure 2 is a schematic diagram of trains running on the same track provided by an embodiment of the present invention;

[0025] Figure 3 is a flowchart of another method for adjusting a directional antenna on a railway train according to an embodiment of the present invention;

[0026] Figure 4 is a schematic structural diagram of a device for adjusting a directional antenna on a railway train according to an embodiment of the present invention;

[0027] Figure 5 is a schematic structural diagram of an electronic device for implementing the method for adjusting a directional antenna on a railway train according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0028] In order to enable those skilled in the art to better understand the solution of the present invention, the following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all of the embodiments. All other embodiments obtained by those of ordinary skill in the art without creative efforts based on the embodiments of the present invention shall fall within the protection scope of the present invention.

[0029] It should be noted that the terms "candidate", "target", etc. in the specification, claims and above-mentioned drawings of the present invention are used to distinguish similar objects, and do not necessarily need to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances, so that the embodiments of the present invention described here can be implemented in an order other than those illustrated or described here. In addition, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but may include other steps or units not clearly listed or inherent to these processes, methods, products or devices.

[0030] Figure 1 The embodiment of the present invention provides a flowchart of a method for adjusting a directional antenna on a railway train. This embodiment is applicable to the situation of adjusting the angle of the directional antenna used for communication between trains running on the same track. This method can be executed by a device for adjusting the directional antenna on a railway train. The device for adjusting the directional antenna on a railway train can be implemented in the form of hardware and / or software, and the device for adjusting the directional antenna on a railway train can be configured in a target train. As Figure 1 shown, the method includes:

[0031] S110. Determine the initial alignment angle of the target directional antenna on the target train.

[0032] Among them, the initial alignment angle is determined according to the reference angle of the matching directional antenna on the reference train on the same track.

[0033] The target train and the reference train are the front and rear trains running on the same track. For example, the target train runs in front of the reference train, or the target train runs behind the reference train. In order to avoid collision events between different trains running on the same track, the front and rear trains on the same track need to communicate with each other to inform each other of train information. Since this kind of communication belongs to the communication between fixed targets, the communication method using directional antennas is adopted to improve the communication quality.

[0034] Specifically, a communication connection is established between the target directional antenna on the target train and the matching directional antenna on the reference train. When the target train departs, the initial alignment angle of the target directional antenna on the target train is determined according to the reference angle of the corresponding matching top-line antenna on the reference train, so as to ensure that the communication quality between the target directional antenna and the corresponding matching directional antenna is the best at the initial alignment angle.

[0035] Exemplarily, the target train is the train that departs at an earlier time, and the reference train is the train that departs at a later time. When the target train departs, it determines the initial alignment angle of the target directional antenna according to the track direction. Similarly, the reference train also determines the reference angle of the matching directional antenna according to the track direction, so as to achieve the angle alignment between the target directional antenna on the target train and the corresponding matching directional antenna, and achieve the best communication.

[0036] In a feasible embodiment, the target train includes a first target directional antenna and a second target directional antenna; the first target directional antenna is located at the front end of the target train and communicates with the directional antenna located at the rear end of the front reference train on the same track in a matching manner; the second target directional antenna is located at the rear end of the target train and communicates with the directional antenna located at the front end of the rear reference train on the same track in a matching manner.

[0037] As Figure 2 Shown is a schematic diagram of trains running on the same track. Each train includes two directional antennas. The first directional antenna is located at the front of the train, and the second directional antenna is located at the rear of the train; the first target directional antenna located at the front of the target train communicates with the second directional antenna located at the rear of the front reference train in a matching manner, that is, the initial alignment angle of the first target directional antenna located at the front of the target train is determined according to the initial angle of the second directional antenna located at the rear of the front reference train; the second target directional antenna located at the rear of the target train communicates with the first directional antenna located at the front of the rear reference train in a matching manner, that is, the initial alignment angle of the second target directional antenna located at the rear of the target train is determined according to the initial angle of the first directional antenna located at the front of the rear reference train.

[0038] By matching and communicating the two directional antennas on each train with the corresponding directional antennas on the front and rear trains respectively, efficient and accurate communication between trains on the same track is achieved.

[0039] S120. Obtain the current running track image collected by the image acquisition device on the target train, and determine the track angle change information according to the current running track image.

[0040] Among them, the track angle change information is used for the change information of the track direction of the target train's current running and the initial track direction. Exemplarily, since the initial alignment angle is determined when the target train departs, the initial track direction of the target train at the departure time is determined at the same time. The current track direction is determined according to the current running track image during the running of the target train, and the track angle change information is determined according to the current track direction and the initial track direction. For example, the initial track direction and the current track direction are direction information in the world coordinate system, thereby ensuring the benchmark consistency of the track angle change information and improving the accuracy of the determination result.

[0041] At least one image acquisition device is provided on the target train for acquiring the track image of the current travel of the target train. Specifically, a camera device is provided at the front end and / or the rear end of the target train for photographing and acquiring the travel track during the travel of the target train. Exemplarily, the current travel track image of the target train is acquired at a preset time interval.

[0042] Determine the track angle change information between the track angle of the target train and the historical track angle according to the track information in the current travel track image. Exemplarily, identify the track boundary in the current travel track image, and determine the track angle change information according to the angle information of the track boundary. The image acquisition field of view of the image acquisition device is determined according to the adjustment range of the track angle.

[0043] Exemplarily, after determining the track angle change information, the angle of the image acquisition device is also adjusted accordingly to achieve complete coverage acquisition of the travel track by the image acquisition device, and avoid missing track information in the acquired travel track image.

[0044] In a feasible embodiment, determining the track angle change information according to the current travel track image includes:

[0045] Identify the current travel track image to obtain track boundary information and track center information;

[0046] Determine the track angle change information according to the change information of the track boundary information and the track center information.

[0047] Perform track boundary recognition on the current travel track image to obtain track boundary information, determine track center information according to the track boundary information, and determine the track angle change information according to the change information of the track boundary information and the track center information in the current travel track image and the track boundary information and the track center information in the historical travel track image.

[0048] Exemplarily, according to the track boundary information and the track center information of the current travel track image, convert to the world coordinate system to determine the current track travel direction; according to the track boundary information and the track center information in the initial travel track image, convert to the world coordinate system to determine the initial track travel direction, and determine the track angle variability information according to the current track travel direction and the initial track travel direction.

[0049] Exemplarily, computer vision technology is used to analyze the current running track image, identify the track targets of the target train, and output the bounding boxes of each detected track target. Calculate the center point coordinates of the target track according to the coordinates of the bounding box. If the upper left corner coordinates of the bounding box are (Xmin, Ymin) and the lower right corner coordinates are (Xmax, Ymax), the center point can be calculated as: centerX = (Xmin + Xmax) / 2; centery = (Ymin + Ymax) / 2. Set the internal parameters of the camera (such as focal length, principal point position, distortion coefficient, etc.), and convert the image coordinates into coordinates in the world coordinate system through these parameters. Calculate the relative position with the target: If the relative position between the camera and the antenna is known, the position of the target track in three-dimensional space can be calculated through triangulation. Assume that the camera is at a certain fixed position (such as the origin), and then convert the image coordinates of the target track into coordinates in the internal image coordinate system of the camera. Calculate the relative angle of the target track: After determining the coordinates of the target in the internal coordinate system of the camera, further calculate the angle of the target track relative to the antenna. Assume that the direction of the antenna is a certain fixed direction (such as the X-axis), and the relative position of the target track is (dx, dy), where dx and dy are the coordinate differences of the target track relative to the position of the antenna. Use the arctangent function (arctan) to calculate the angle; θ = atan2(dy, dx), where θ is the angle from the antenna to the target track, usually in radians and can be converted to degrees. Determine the track angle change information according to the angle from the antenna to the target track.

[0050] S130. Determine the adjustment angle of the target directional antenna according to the track angle change information and the initial alignment angle.

[0051] The track angle change information is the angle change information between the current running track of the target train and the initial running track. Convert both the track change information and the initial alignment angle to the same coordinate system, and then determine the adjustment angle according to the track change information.

[0052] Exemplarily, since the initial alignment angle is determined according to the direction of the initial running track at the initial moment, the reverse angle of the track angle change information is the adjustment angle of the target directional antenna. For example, if the track angle change information is a change from the due north direction to 30 degrees west of due west in the world coordinate system, the adjustment angle of the target directional antenna is an angle adjustment of 30 degrees towards the due north direction.

[0053] S140. Generate a direction adjustment information control command according to the adjustment angle, and send the direction adjustment information control command to the servo motor corresponding to the target directional antenna, so that the servo motor adjusts the angle of the target directional antenna according to the direction adjustment information control command to restore to the initial alignment angle.

[0054] According to the calculated adjustment angle, the antenna adjustment mechanism is controlled by a servo motor to direct the antenna towards the target direction, i.e., the initial alignment angle. Exemplarily, if the antenna needs to rotate on multiple axes (such as horizontally and vertically), the angles in the horizontal and vertical directions need to be calculated separately.

[0055] Among them, the antenna adjustment mechanism can be an antenna rotating shaft, a mechanical device connecting the antenna and the support structure, allowing the antenna to adjust its angle within a certain range. This adjustment can be horizontal (azimuth angle adjustment) or vertical (elevation angle adjustment) so that the antenna can be optimally positioned for a specific signal source or coverage area.

[0056] The technical solution of the embodiment of the present invention obtains the track angle change information through the recognition of the acquired driving track image, and then determines the adjustment angle of the directional antenna on the train according to the track angle change information, so as to ensure that even when the train is running on a track curve, the precise alignment between the directional antennas can still be achieved, improving the communication quality between trains on the same track through the directional antennas, and the adjustment method determined through the image recognition result is simple and the adjustment accuracy is relatively high.

[0057] Figure 3 It is a flowchart of another adjustment method for the directional antenna on a railway train provided by the embodiment of the present invention. This embodiment further refines the steps after the servo motor adjusts the angle of the target directional antenna according to the direction adjustment information control instruction in the above embodiment.

[0058] Based on determining the preliminary adjustment angle according to the track angle change information in the above embodiment and preliminarily adjusting the angle of the target directional antenna according to the preliminary adjustment angle, the adjustment method of the embodiment of the present invention is adopted for further adjustment to improve the communication quality between the directional antennas.

[0059] As Figure 3 shown, the method includes:

[0060] S210. Generate a plurality of candidate direction adjustment information control instructions based on a preset angle adjustment range and a single adjustment step size.

[0061] Among them, each candidate direction adjustment information control instruction corresponds to a candidate adjustment angle.

[0062] Among them, the preset angle adjustment range is determined according to the current angle. For example, with the current angle as the center, a certain angle range is adjusted in multiple preset directions around it. Among them, the preset direction and the angle range can be adjusted according to the actual situation and are not limited here. The single adjustment step size refers to the adjustment angle of the target directional antenna each time. For example, it can be determined according to the minimum adjustment angle of the servo motor.

[0063] S220. Send multiple candidate direction adjustment information control instructions to the servo motor corresponding to the target directional antenna, so that the servo motor continuously adjusts the angle of the target directional antenna according to the multiple candidate direction adjustment information control instructions, and determines the candidate communication quality parameters corresponding to each candidate adjustment angle during the continuous adjustment process.

[0064] According to the calculated candidate direction adjustment information control instructions corresponding to multiple candidate adjustment angles, control the antenna adjustment mechanism to sequentially direct the antenna towards the corresponding candidate adjustment angles through the servo motor, and determine the candidate communication instruction parameters corresponding to the candidate adjustment angle when the adjustment at each candidate adjustment angle is completed. Exemplarily, use a wireless communication module (such as Wi-Fi, LTE, LoRa, etc.) and the antenna to measure the signal strength (usually in RSSI, i.e., Received Signal Strength Indication as the unit) to determine the values at different candidate adjustment angles as the candidate communication quality parameters. Record the signal strength data at each candidate adjustment angle, and an antenna rotation device can be used to measure at a preset angle step (for example, every 5 degrees).

[0065] In a feasible embodiment, determining the candidate communication quality parameters corresponding to each candidate adjustment angle during the continuous adjustment process includes:

[0066] After the servo motor adjusts the target directional antenna to each candidate adjustment angle, control the target directional antenna to send a signal to the matching directional antenna on the reference train, and receive the feedback signal of the matching directional antenna;

[0067] Determine the candidate communication quality parameters according to the sent signal and the feedback signal; wherein, the candidate communication quality parameters include at least one of the following: the RSCP signal strength of the wireless signal and the wireless communication network signal.

[0068] Evaluate the current signal quality according to the signal sent by the wireless communication module and the received feedback signal, and record the signal strength at different candidate adjustment angles as the candidate communication quality parameters corresponding to the candidate adjustment angle.

[0069] Exemplarily, judge the quality of the wireless communication according to the RSCP signal strength of the wireless signal received by the target train and wireless communication network signals such as SNR as the candidate communication quality parameters.

[0070] S230. Determine the target adjustment angle according to the candidate communication quality parameters corresponding to each candidate adjustment angle.

[0071] Establish the relationship between the signal quality and the antenna angle according to the candidate communication quality parameters corresponding to each candidate adjustment angle, and determine the target adjustment angle based on this relationship to achieve the best signal quality at the target adjustment angle.

[0072] In a feasible embodiment, S230 includes:

[0073] Establish a relationship model between the communication quality parameter and the adjustment angle according to the candidate communication quality parameter corresponding to each candidate adjustment angle.

[0074] Determine the target adjustment angle corresponding to the maximum communication quality parameter according to the relationship model.

[0075] Use regression analysis or interpolation method to establish a mathematical model between the communication quality parameter and the adjustment angle.

[0076] Exemplarily, use a chart tool (such as Matplotlib, Excel, etc.) to draw a relationship chart between the candidate adjustment angle and the candidate communication quality parameter, and determine the relationship type between the communication quality parameter and the adjustment angle according to the relationship chart, including linear relationship and non-linear relationship. Different relationship types adopt different models. If the communication quality parameter and the adjustment angle show a linear relationship, a linear regression model is adopted; if the communication quality parameter and the adjustment angle show a non-linear relationship, a polynomial regression model is adopted.

[0077] According to the obtained relationship model, calculate the communication quality parameters at different adjustment angles, and find the angle with the strongest communication quality parameter (such as signal strength RSSI), which is the target adjustment angle.

[0078] In a feasible embodiment, S230 includes:

[0079] Sort the candidate adjustment angles in descending order according to the candidate communication quality parameters.

[0080] Determine the candidate adjustment angle ranked first as the target adjustment angle.

[0081] Exemplarily, use a chart tool (such as Matplotlib, Excel, etc.) to draw a relationship chart between the candidate adjustment angle and the candidate communication quality parameter, such as drawing a polar coordinate chart or a scatter plot, so as to intuitively understand the change of the candidate communication quality parameter with the candidate adjustment angle, and then determine the target adjustment angle from the candidate adjustment angles.

[0082] Exemplarily, set a signal strength threshold. Only when the signal strength corresponding to the candidate adjustment angle exceeds this signal strength threshold, is this angle determined as the effective target adjustment angle; if the signal strength corresponding to the currently ranked first candidate adjustment angle is less than this signal strength threshold, then this candidate adjustment angle is determined as an invalid target adjustment angle, and the number of candidate adjustment angles is increased until an effective target adjustment angle is determined.

[0083] S240. Determine the final target direction adjustment information control instruction according to the target adjustment angle, and send the target direction adjustment information control instruction to the servo motor corresponding to the target directional antenna, so that the servo motor adjusts the angle of the target directional antenna to the target adjustment angle according to the target direction adjustment information control instruction.

[0084] In the embodiment of the present invention, the track image is collected by a camera to determine the orientation information of the target train; according to the orientation information of the train, calculate the current included angle between the current orientation of the directional antenna and the orientation of the train; and then determine the preliminary adjustment angle of the target directional antenna according to the current included angle; provide the direction information control instruction corresponding to the preliminary adjustment angle to the servo motor; the servo motor drives the antenna to be preliminarily adjusted to the specified angle according to the direction information control instruction.

[0085] Based on the real-time signal strength feedback, further dynamically adjust the antenna direction at the current angle. Specifically, according to the RSCP signal strength of the wireless signal received by the train and wireless communication network signals such as SNR, judge the quality of wireless communication at the current angle; after each measurement of the signal strength, adjust the antenna towards the optimal angle direction, for example, adjust 5 degrees each time until the optimal signal strength is found.

[0086] If the train does not receive any wireless communication signals, the orientation of the antenna is determined according to the preliminary adjustment angle.

[0087] In the embodiment of the present invention, on the basis of the preliminary adjustment of the directional antenna according to the track angle change information, further adjust the angle of the directional antenna according to the communication instruction, improve the angle adjustment accuracy of the directional antenna, and ensure the communication quality between trains on the same track.

[0088] Figure 4 It is a schematic structural diagram of an adjustment device for a directional antenna on a railway train provided by an embodiment of the present invention. As Figure 4 shown, the device includes:

[0089] An initial alignment angle determination module 310, configured to determine the initial alignment angle of the target directional antenna on the target train; wherein, the initial alignment angle is determined according to the reference angle of the matching directional antenna on the reference train on the same track;

[0090] A track angle change information determination module 320, configured to obtain the current running track image collected by the image acquisition device on the target train, and determine the track angle change information according to the current running track image;

[0091] An adjustment angle determination module 330, configured to determine the adjustment angle of the target directional antenna according to the track angle change information and the initial alignment angle;

[0092] An angle adjustment module 340, configured to generate a direction adjustment information control instruction according to an adjustment angle, and send the direction adjustment information control instruction to a servo motor corresponding to a target directional antenna, so that the servo motor adjusts the angle of the target directional antenna according to the direction adjustment information control instruction and restores it to the initial alignment angle.

[0093] Through the technical solution of the embodiment of the present invention, by recognizing the collected driving track image, the track angle change information is obtained, and then the adjustment angle of the directional antenna on the train is determined according to the track angle change information, so as to ensure that even when the train is driving at a track bend, the precise alignment between the directional antennas can still be achieved, and the communication quality between the trains on the same track through the directional antennas is improved.

[0094] Optionally, the device further includes an angle fine-tuning module, which is used after the servo motor adjusts the angle of the target directional antenna according to the direction adjustment information control instruction, and specifically includes:

[0095] A fine-tuning instruction generation unit, configured to generate a plurality of candidate direction adjustment information control instructions based on a preset angle adjustment range and a single adjustment step size; wherein each candidate direction adjustment information control instruction corresponds to a candidate adjustment angle;

[0096] A communication quality determination unit, configured to send the plurality of candidate direction adjustment information control instructions to the servo motor corresponding to the target directional antenna, so that the servo motor continuously adjusts the angle of the target directional antenna according to the plurality of candidate direction adjustment information control instructions, and determines the candidate communication quality parameter corresponding to each candidate adjustment angle during the continuous adjustment process;

[0097] A target adjustment angle determination unit, configured to determine a target adjustment angle according to the candidate communication quality parameter corresponding to each candidate adjustment angle;

[0098] A target adjustment angle adjustment unit, configured to determine a final target direction adjustment information control instruction according to the target adjustment angle, and send the target direction adjustment information control instruction to the servo motor corresponding to the target directional antenna, so that the servo motor adjusts the angle of the target directional antenna to the target adjustment angle according to the target direction adjustment information control instruction.

[0099] Optionally, the target adjustment angle determination unit is specifically configured to:

[0100] Establish a relationship model between the communication quality parameter and the adjustment angle according to the candidate communication quality parameter corresponding to each candidate adjustment angle;

[0101] Determine the target adjustment angle corresponding to the maximum communication quality parameter according to the relationship model.

[0102] Optionally, the target adjustment angle determination unit is specifically configured to:

[0103] Sort the candidate adjustment angles in descending order according to the candidate communication quality parameters;

[0104] Determine the candidate adjustment angle ranked first as the target adjustment angle.

[0105] Optionally, the communication quality determination unit is specifically configured to:

[0106] After the servo motor adjusts the target directional antenna to each candidate adjustment angle, control the target directional antenna to send a signal to the matching directional antenna on the reference train and receive the feedback signal of the matching directional antenna;

[0107] Determine the candidate communication quality parameters according to the transmitted signal and the feedback signal; wherein, the candidate communication quality parameters include at least one of the following: the RSCP signal strength of the wireless signal and the wireless communication network signal.

[0108] Optionally, the track angle change information determination module is specifically configured to:

[0109] Identify the current running track image to obtain the track boundary information and the track center information;

[0110] Determine the track angle change information according to the change information of the track boundary information and the track center information.

[0111] Optionally, the target train includes a first target directional antenna and a second target directional antenna; the first target directional antenna is located at the front end of the target train and communicates with the directional antenna located at the rear end on the previous reference train on the same track; the second target directional antenna is located at the rear end of the target train and communicates with the directional antenna located at the front end on the subsequent reference train on the same track.

[0112] The adjustment device for the directional antenna on the railway train provided by the embodiment of the present invention can execute the adjustment method for the directional antenna on the railway train provided by any embodiment of the present invention, and has the corresponding functional modules and beneficial effects for executing the method.

[0113] In the technical solution of the present application, the acquisition, storage, use, processing, etc. of data all comply with the relevant regulations of national laws and regulations and do not violate public order and good customs.

[0114] According to an embodiment of the present disclosure, the present disclosure also provides an electronic device, a readable storage medium, and a computer program product.

[0115] Figure 5The structural schematic diagram of the electronic device 10 that can be used to implement the embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or claimed herein.

[0116] As Figure 5 shown, the electronic device 10 includes at least one processor 11 and a memory communicatively connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc. The memory stores a computer program executable by the at least one processor. The processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 into the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. The input / output (I / O) interface 15 is also connected to the bus 14.

[0117] Multiple components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0118] The processor 11 can be various general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the method for adjusting the directional antenna on a railway train.

[0119] In some embodiments, the method for adjusting the directional antenna on a railway train can be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed onto the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for adjusting the directional antenna on a railway train described above can be executed. Alternatively, in other embodiments, the processor 11 can be configured to execute the method for adjusting the directional antenna on a railway train by any other suitable means (e.g., by means of firmware).

[0120] The various embodiments of the systems and techniques described above in this document can be implemented in digital electronic circuitry, integrated circuit systems, field-programmable gate arrays (FPGA), application-specific integrated circuits (ASIC), application-specific standard products (ASSP), systems-on-chip (SOC), complex programmable logic devices (CPLD), computer hardware, firmware, software, and / or combinations thereof. These various embodiments can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special-purpose or general-purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit the data and instructions to the storage system, the at least one input device, and the at least one output device.

[0121] The computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs can be provided to the processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when the computer programs are executed by the processor, the functions / operations specified in the flowchart and / or block diagram are implemented. The computer programs can be executed entirely on the machine, partially on the machine, as a stand-alone software package partially on the machine and partially on a remote machine, or entirely on a remote machine or server.

[0122] In the context of the present invention, a computer-readable storage medium can be a tangible medium that can contain or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. The computer-readable storage medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, the computer-readable storage medium can be a machine-readable signal medium. More specific examples of the machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or Flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0123] In order to provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device for displaying information to the user (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor); and a keyboard and a pointing device (e.g., a mouse or a trackball) by which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0124] The systems and techniques described herein can be implemented in a computing system including a back-end component (e.g., as a data server), or a computing system including a middleware component (e.g., an application server), or a computing system including a front-end component (e.g., a user computer having a graphical user interface or a web browser through which the user can interact with an implementation of the systems and techniques described herein), or a computing system including any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected to each other by any form or medium of digital data communication (e.g., a communication network). Examples of the communication network include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.

[0125] A computing system may include a client and a server. The client and the server are generally far from each other and usually interact via a communication network. The relationship between the client and the server is created by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or a cloud host, which is a host product in the cloud computing service system, solving the defects of difficult management and weak business scalability existing in traditional physical hosts and VPS services.

[0126] It should be understood that various forms of processes shown above can be used, with steps reordered, added or deleted. For example, the steps recited in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and no limitation is imposed herein.

[0127] The above specific embodiments do not constitute a limitation on the protection scope of the present invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principle of the present invention shall be included within the protection scope of the present invention.

Claims

1. A method for adjusting a directional antenna on a railway train, characterized in that: The method includes: Determining an initial alignment angle of a target directional antenna on a target train; wherein the initial alignment angle is determined based on a reference angle of a matching directional antenna on a reference train on the same track; Acquire a current running track image acquired by an image acquisition device on the target train, and determine track angle change information according to the current running track image; Determining an adjustment angle of the target directional antenna according to the orbit angle change information and the initial alignment angle; A direction adjustment information control instruction is generated according to the adjustment angle, and the direction adjustment information control instruction is sent to the servo motor corresponding to the target directional antenna, so that the servo motor adjusts the angle of the target directional antenna according to the direction adjustment information control instruction and restores it to the initial alignment angle.

2. The method according to claim 1, characterized in that After the servo motor adjusts the angle of the target directional antenna according to the direction adjustment information control instruction, the method further includes: Based on a preset angle adjustment range and a single adjustment step length, a plurality of candidate direction adjustment information control instructions are generated; wherein each of the candidate direction adjustment information control instructions corresponds to a candidate adjustment angle; Sending the multiple candidate direction adjustment information control instructions to the servo motor corresponding to the target directional antenna, so that the servo motor continuously adjusts the angle of the target directional antenna according to the multiple candidate direction adjustment information control instructions, and determining the candidate communication quality parameter corresponding to each candidate adjustment angle during the continuous adjustment process; Determine a target adjustment angle according to the candidate communication quality parameter corresponding to each candidate adjustment angle; The final target direction adjustment information control instruction is determined according to the target adjustment angle, and the target direction adjustment information control instruction is sent to the servo motor corresponding to the target directional antenna, so that the servo motor adjusts the angle of the target directional antenna to the target adjustment angle according to the target direction adjustment information control instruction.

3. The method according to claim 2, characterized in that Determining a target adjustment angle according to the candidate communication quality parameter corresponding to each candidate adjustment angle includes: Establishing a relationship model between the communication quality parameter and the adjustment angle according to the candidate communication quality parameter corresponding to each candidate adjustment angle; The target adjustment angle corresponding to the maximum communication quality parameter is determined according to the relationship model.

4. The method according to claim 2, characterized in that: Determining a target adjustment angle according to the candidate communication quality parameter corresponding to each candidate adjustment angle includes: Sorting the candidate adjustment angles in descending order according to the candidate communication quality parameters; The candidate adjustment angle ranked first is determined as the target adjustment angle.

5. The method according to any one of claims 2 to 4, characterized in that: Determining candidate communication quality parameters corresponding to each candidate adjustment angle during the continuous adjustment process includes: After the servo motor adjusts the target directional antenna to each candidate adjustment angle, controlling the target directional antenna to send a signal to the matching directional antenna on the reference train, and receiving a feedback signal from the matching directional antenna; The candidate communication quality parameter is determined according to the transmission signal and the feedback signal; wherein the candidate communication quality parameter includes at least one of the following: RSCP signal strength of the wireless signal and the wireless communication network signal.

6. The method according to claim 1, characterized in that Determining track angle change information according to the current running track image includes: Identify the current running track image to obtain track boundary information and track center information; The orbit angle change information is determined according to the change information of the orbit boundary information and the orbit center information.

7. The method according to claim 1, characterized in that in, The target train includes a first target directional antenna and a second target directional antenna; the first target directional antenna is located at the front end of the target train and matches and communicates with a directional antenna located at the rear end of a previous reference train on the same track; The second target directional antenna is located at the rear end of the target train and is matched and communicated with a directional antenna located at the front end of a rear reference train on the same track.

8. An adjustment device for a directional antenna on a railway train, characterized in that: The device includes: An initial alignment angle determination module is used to determine an initial alignment angle of a target directional antenna on a target train; wherein the initial alignment angle is determined based on a reference angle of a matching directional antenna on a reference train on the same track; A track angle change information determination module, used to obtain a current running track image acquired by an image acquisition device on the target train, and determine the track angle change information according to the current running track image; An adjustment angle determination module is used to determine the adjustment angle of the target directional antenna according to the orbit angle change information and the initial alignment angle; An angle adjustment module is used to generate a direction adjustment information control instruction according to the adjustment angle, and send the direction adjustment information control instruction to the servo motor corresponding to the target directional antenna, so that the servo motor adjusts the angle of the target directional antenna according to the direction adjustment information control instruction and restores it to the initial alignment angle.

9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the method for adjusting a directional antenna on a railway train according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the method for adjusting a directional antenna on a railway train according to any one of claims 1 to 7 when executed.