The present disclosure relates to the communications field, and in particular, to a wireless local area network (also referred to as WLAN) channel management method in rail transport and a related device.
To meet a passenger's requirement for accessing the Internet in a rail transport vehicle, a wireless local area network technology may be used to dispose a vehicle-ground communications system. An in-vehicle access point (also referred to as AP) is disposed in a vehicle, and multiple trackside access points are disposed along a track. A wireless communication link is established between an in-vehicle access point and a trackside access point (for example, a mesh link or a wireless distribution system (WDS) link). The wireless communication link may support wireless communication between the in-vehicle access point and the trackside access point. A device of a passenger in the vehicle may access a network using the in-vehicle access point and further using the trackside access point. The in-vehicle access point and all the trackside access points use a same channel. When the vehicle is running, the in-vehicle access point is handed over between the multiple trackside access points. In a process of vehicle running, the in-vehicle access point listens to a signal of the trackside access point. If the in-vehicle access point finds that signal strength of a trackside access point meets a preset threshold, the in-vehicle access point may establish a wireless communication link to the trackside access point. In a process of continuous vehicle running, the in-vehicle access point finds that the signal strength of the trackside access point to which the wireless communication link was originally established becomes weaker, and a signal of another trackside access point becomes stronger. When signal strength of the other trackside access point meets the preset threshold, the in-vehicle access point may disconnect the original wireless communication link and establish a new wireless communication link to the other trackside access point.
A trackside access point may be interfered with by a radar signal or another signal, and interference may be avoided if the trackside access point is switched to another channel. However, a channel that is used by the trackside access point after channel switching and a channel that is used by another trackside access point and the in-vehicle access point are different. Therefore, establishment of a wireless communication link is affected. If the trackside access point does not switch an operating channel of the trackside access point, interference affects establishment of a wireless communication link. Further, some local regulations stipulate that when an access point uses some channels as operating channels, if detecting a radar signal, the access point needs to switch the operating channel of the access point. Therefore, interference from the radar signal or the other signal affects in-vehicle access point handover between the multiple trackside access points.
A wireless local area network channel management method in rail transport, a device, and a system are provided in order to ensure that channels between trackside access points are the same.
A first aspect provides a wireless local area network channel management method in rail transport, and the method includes that if a wireless communication link has been established between a first trackside access point and an in-vehicle access point, and a first channel and a second channel are different, changing, by the first trackside access point, an operating channel of the first trackside access point to the second channel, and instructing the in-vehicle access point to change an operating channel of the in-vehicle access point to the second channel, where the first channel is an operating channel of the first trackside access point before the operating channel of the first trackside access point is changed, and the second channel is an operating channel of a second trackside access point.
When the first channel and the second channel are different, the operating channel of the first trackside access point and an operating channel of a trackside access point are changed to the second channel. This can ensure that channels between trackside access points are the same such that handover efficiency can be improved when the in-vehicle access point is handed over between the trackside access points.
With reference to the first aspect, in a first implementation of the first aspect, the method further includes changing, by the first trackside access point, the operating channel of the first trackside access point to the first channel after the wireless communication link between the first trackside access point and the in-vehicle access point is disconnected.
When the wireless communication link between the first trackside access point and the in-vehicle access point is disconnected, the first trackside access point changes the operating channel of the first trackside access point to the first channel, that is, restores the operating channel to the original channel to prevent another trackside access point from changing the operating channel accordingly.
With reference to the first aspect or the first implementation of the first aspect, in a second implementation of the first aspect, before changing, by the first trackside access point, an operating channel of the first trackside access point to the second channel, the method further includes obtaining, by the first trackside access point, a driving direction of a vehicle that carries the in-vehicle access point, and querying, by the first trackside access point from a neighboring access point list, an identifier of the second trackside access point that is adjacent to the first trackside access point and that is associated with the driving direction of the vehicle, and the operating channel of the second trackside access point.
A second aspect provides a wireless local area network channel management method in rail transport, and the method includes determining, by a controller, that a first channel and a second channel are different, where the first channel is an operating channel of a first trackside access point, and the second channel is an operating channel of a second trackside access point, and instructing, by the controller, the first trackside access point to change the operating channel to the second channel, and instructing the first trackside access point to send an instruction message in order to instruct an in-vehicle access point to change an operating channel of the in-vehicle access point to the second channel.
When determining that the first channel and the second channel are different, the controller instructs to change the operating channels of the first trackside access point and the in-vehicle access point to the second channel. This can ensure that channels between trackside access points are the same such that handover efficiency can be improved when the in-vehicle access point is handed over between the trackside access points.
With reference to the second aspect, in a first implementation of the second aspect, the method further includes instructing, by the controller, the first trackside access point to change the operating channel of the first trackside access point to the first channel after a wireless communication link between the first trackside access point and the in-vehicle access point is disconnected.
After the wireless communication link between the first trackside access point and the in-vehicle access point is disconnected, the controller instructs the first trackside access point to restore the operating channel to the original first channel to prevent another trackside access point from changing an operating channel accordingly.
With reference to the second aspect or the first possible implementation of the second aspect, in a second possible implementation of the second aspect, before instructing, by the controller, the first trackside access point to change the operating channel to the second channel, the method further includes determining, by the controller, a trackside access point whose operating channel is different from a preset channel as the second trackside access point, and determining, by the controller, the first trackside access point according to a preset condition and a driving direction of a vehicle, where the preset condition includes any one of the first trackside access point is adjacent to the second trackside access point, a logical distance between the first trackside access point and the second trackside access point meets a preset threshold, or a physical distance between the first trackside access point and the second trackside access point meets a preset threshold.
With reference to the second aspect or the second possible implementation of the second aspect, in a third possible implementation of the second aspect, instructing, by the controller, the first trackside access point to change the operating channel to the second channel includes instructing, by the controller, the first trackside access point to change the operating channel to the second channel when the wireless communication link is established between the first trackside access point and the in-vehicle access point.
A third aspect provides a trackside access point, including a channel change unit configured to change an operating channel of the trackside access point to the second channel if a wireless communication link has been established between a trackside access point and an in-vehicle access point, and a first channel and a second channel are different, where the first channel is an operating channel of a first trackside access point before the operating channel of the first trackside access point is changed, and the second channel is an operating channel of another trackside access point, and an instruction unit configured to instruct the in-vehicle access point to change an operating channel of the in-vehicle access point to the second channel.
A fourth aspect provides a controller, including a determining unit configured to determine that a first channel and a second channel are different, where the first channel is an operating channel of a first trackside access point, and the second channel is an operating channel of a second trackside access point, and an instruction unit configured to instruct the first trackside access point to change the operating channel to the second channel, and instruct the first trackside access point to send an instruction message in order to instruct an in-vehicle access point to change an operating channel of the in-vehicle access point to the second channel.
A fifth aspect provides a trackside access point, where the trackside access point includes a processor and a communications interface, the communications interface is configured to establish a wireless communication link to an in-vehicle access point, and the processor is configured to, if a wireless communication link has been established between a first trackside access point and the in-vehicle access point, and a first channel and a second channel are different, change an operating channel of the first trackside access point to the second channel, and instruct, using the communications interface, the in-vehicle access point to change an operating channel of the in-vehicle access point to the second channel, where the first channel is an operating channel of the first trackside access point before the operating channel of the first trackside access point is changed, and the second channel is an operating channel of a second trackside access point.
A sixth aspect provides a controller, where the controller includes a processor and a communications interface, the communications interface is configured to connect to multiple trackside access points and perform signaling interaction, the processor is configured to determine that a first channel and a second channel are different, where the first channel is an operating channel of a first trackside access point, and the second channel is an operating channel of a second trackside access point, and the processor is configured to, using the communications interface, instruct the first trackside access point to change the operating channel to the second channel, and instruct the first trackside access point to send an instruction message in order to instruct an in-vehicle access point to change an operating channel of the in-vehicle access point to the second channel.
To describe the technical solutions in the embodiments of the present disclosure more clearly, the following briefly describes the accompanying drawings required for describing the embodiments. The accompanying drawings in the following description show merely some embodiments of the present disclosure, and a person of ordinary skill in the art may still derive other drawings from these accompanying drawings without creative efforts.
Referring to
As shown in
To improve handover efficiency of the in-vehicle access point M 1 between trackside access points, this application provides a wireless local area network channel management method in rail transport. For details, refer to a subsequent embodiment.
Referring to
Step 101. If a wireless communication link has been established between a first trackside access point and an in-vehicle access point, and a first channel and a second channel are different, the first trackside access point changes an operating channel of the first trackside access point to the second channel, where the first channel is an operating channel of the first trackside access point before the operating channel of the first trackside access point is changed, and the second channel is an operating channel of a second trackside access point.
Step 102. The first trackside access point instructs the in-vehicle access point to change an operating channel of the in-vehicle access point to the second channel.
In a process of vehicle driving, an in-vehicle access point may establish a wireless communication link to a trackside access point that is disposed along a track such that a device of a passenger in a vehicle may access a network using the in-vehicle access point and the trackside access point. The foregoing wireless communication link may be a wireless mesh link, or may be a WDS link. Originally, operating channels of all trackside access points are a same channel. Due to interference from a radar or another factor, some trackside access points perform channel switching. If a trackside access point that is interfered with by the radar or the other factor is instructed by a controller to switch a channel, the controller may also instruct another appropriate trackside access point to switch a channel. If a trackside access point that is interfered with by the radar or the other factor autonomously determines to switch a channel, a trackside access point that has performed channel switching may send a switched operating channel to a neighboring trackside access point, or send a switched operating channel to a controller, and the controller instructs another appropriate trackside access point to switch a channel.
The in-vehicle access point is handed over from the first trackside access point to the second trackside access point. When the first trackside access point and the second trackside access point have a same operating channel, the in-vehicle access point may directly perform handover. When the first trackside access point and the second trackside access point have different operating channels, the in-vehicle access point does not know the operating channel of the second trackside access point. Therefore, during handover, the in-vehicle access point needs to perform scanning to obtain the operating channel of the second trackside access point, and then can change a channel and be handed over from the first trackside access point to the second trackside access point. To improve handover efficiency between trackside access points, a channel of the first trackside access point and a channel of the second trackside access point may first be uniform, and then handover is performed. Because the first trackside access point has learned the operating channel of the second trackside access point, that is, the second channel, the first trackside access point may send a channel switch announcement (CSA) to the in-vehicle access point, and the in-vehicle access point may change the operating channel to the second channel according to the CSA.
If the trackside access point autonomously determines to switch the channel, optionally, the first trackside access point receives a channel change message sent by the second trackside access point or the controller, and changes the operating channel of the second trackside access point in the neighboring access point list according to the channel change message.
For example, the first trackside access point is a trackside access point AP 2 in
Optionally, the first trackside access point obtains a driving direction of a vehicle that carries the in-vehicle access point.
The first trackside access point queries, from the neighboring access point list, an identifier of the second trackside access point that is adjacent to the first trackside access point and that is associated with the driving direction of the vehicle, and the operating channel of the second trackside access point.
The first trackside access point may obtain the driving direction of the vehicle that carries the in-vehicle access point in any one of the following manners. In a first manner, when the wireless communication link is established between the first trackside access point and the in-vehicle access point, the in-vehicle access point actively sends driving direction information of the vehicle to the first trackside access point. In a second manner, when or after the wireless communication link is established between the first trackside access point and the in-vehicle access point, the first trackside access point sends a direction obtaining request to the in-vehicle access point, the in-vehicle access point sends, to the first trackside access point according to the request, a direction response message that carries direction information, and the first trackside access point may obtain the driving direction of the vehicle using the response message. This embodiment of the present disclosure is not limited to the two above-described manners of obtaining the driving direction of the vehicle, or may be another manner, for example, the trackside access point obtains the driving direction of the vehicle by means of technical measurement.
The neighboring access point list may include a driving direction of a vehicle, an identifier of a neighboring trackside access point corresponding to the driving direction, for example, a Media Access Control (MAC) address, and an operating channel of the neighboring trackside access point. For example, the first trackside access point is the trackside access point AP 2, and a driving direction of a vehicle obtained by the trackside access point AP 2 is from the trackside access point AP 1 to a trackside access point AP n. The trackside access point AP 2 queries the neighboring access point list and learns that an identifier of a neighboring trackside access point corresponding to a direction from the trackside access point AP 1 to the trackside access point AP n is a MAC address of the trackside access point AP 3, and may further learn that an operating channel of the trackside access point AP 3 is the channel 40.
The first trackside access point AP 2 compares an operating channel of the first trackside access point AP 2, that is, the first channel, with an operating channel of the second neighboring trackside access point AP 3, that is, the second channel, to determine whether the first channel and the second channel are the same. If the first channel is the channel 36 and the second channel is the channel 40, the first trackside access point AP 2 learns that the first channel and the second channel are different.
If the trackside access point is instructed by the controller to switch a channel, the trackside access point does not need to record information about a neighboring trackside access point. After determining that an operating channel of the first trackside access point and an operating channel of the second neighboring trackside access point are different, the controller instructs the first trackside access point to switch to the second channel at an appropriate moment.
An operating channel of the first trackside access point and an operating channel of the in-vehicle access point may be synchronously switched to a channel that is the same as an operating channel of the second trackside access point.
To enable the in-vehicle access point to be quickly handed over from the first trackside access point to the second trackside access point, the channel switching manner needs to be used to ensure that the in-vehicle access point and the second trackside access point have a same channel before a connection is established. Because the wireless communication link has been established between the in-vehicle access point and the first trackside access point, if the operating channel of the in-vehicle access point is directly switched to the channel that is the same as the operating channel of the second trackside access point, the original wireless communication link between the in-vehicle access point and the first trackside access point may be directly disconnected. However, currently, the in-vehicle access point still cannot establish a new wireless communication link to the second trackside access point. This may cause signal interruption. Therefore, to ensure smooth handover when the first channel and the second channel are different, the operating channel of the first trackside access point and the operating channel of the in-vehicle access point may be synchronously switched to the channel that is the same as the operating channel of the second trackside access point in order to effectively reduce a packet loss probability.
If the trackside access point autonomously determines to switch a channel, there may be two manners of changing an operating channel. In a first manner, the first trackside access point performs channel changing. The first trackside access point may directly change an operating channel of the first trackside access point to the second channel, and send a channel change instruction such as a CSA message to the second trackside access point using a wireless communication link such that the in-vehicle access point changes an operating channel of the in-vehicle access point to the second channel. If the CSA message carries a switching time, when the switching time is reached, the first trackside access point and the in-vehicle access point may perform channel changing. In a second manner, the controller provides an instruction. The first trackside access point may send a channel change request to the controller, and the controller receives the channel change request and determines whether channel change is needed. If the channel change is needed, the controller may send a channel change instruction to the first trackside access point to instruct the first trackside access point to change an operating channel of the first trackside access point to the second channel, and instruct the in-vehicle access point to change an operating channel of the in-vehicle access point to the second channel.
The foregoing process ensures that the first trackside access point, the second trackside access point, and the in-vehicle access point are located in a same channel. In this embodiment of the present disclosure, the in-vehicle access point may be handed over from the first trackside access point to the second trackside access point in a process of vehicle driving using the following steps. Specific steps are as follows.
Step 1. In a process of vehicle driving, the in-vehicle access point finds the second trackside access point, and detects that a signal of the second trackside access point is available. The in-vehicle access point establishes a new unactivated backup wireless communication link to the second trackside access point, simultaneously maintains an original wireless communication link to the first trackside access point, and may use the wireless communication link to receive and send data.
Step 2. When detecting that the signal of the second trackside access point is better than a signal of the first trackside access point, the in-vehicle access point may activate the backup wireless communication link to receive and send data, and still maintain the original wireless communication link at this moment. The original wireless communication link is used by the in-vehicle access point only to receive a cache packet sent by the first trackside access point, and cannot be used by the in-vehicle access point to send data to the first trackside access point.
Step 3. When the in-vehicle access point detects that the signal of the first trackside access point has been weakened to a particular threshold and is difficult to use, the in-vehicle access point entirely disconnects the original wireless communication link from the first trackside access point. In this case, the in-vehicle access point has entirely established a wireless communication link to the second trackside access point.
A process in which the in-vehicle access point is handed over from the first trackside access point to the second trackside access point may be not limited to the above-described process, or may be a process in which after establishing a new wireless communication link to the second trackside access point, the in-vehicle access point immediately disconnects the original wireless communication link from the first trackside access point.
Optionally, after the wireless communication link between the first trackside access point and the in-vehicle access point is disconnected, the first trackside access point changes the operating channel of the first trackside access point to the first channel.
After the in-vehicle access point establishes the new wireless communication link and disconnects the original wireless communication link, the operating channel of the first trackside access point is still the second channel. If the operating channel of the first trackside access point is not restored to the original first channel, some other trackside access points may change operating channels accordingly. For example, an operating channel of the first trackside access point AP 2 is the channel 36, and an operating channel of the second trackside access point AP 3 is the channel 40. If the first trackside access point AP 2 switches the operating channel to the channel 40, if the operating channel of the first trackside access point AP 2 is not restored after the new wireless communication link is established and the original wireless communication link is disconnected, when a channel of a trackside access point AP 1 that is accessed by a next vehicle is the channel 36, the operating channel of the trackside access point AP 1 needs to be changed to the channel 40 according to the operating channel of the first trackside access point AP 2. As a result, operating channels of multiple trackside access points may be changed to the channel 40. Consequently, a change made by one trackside access point causes changes made by the multiple trackside access points. After disconnecting from the in-vehicle access point, the first trackside access point restores the operating channel of the first trackside access point. This may reduce total times of channel switching in an entire system. A restoration process may be performed after disconnecting the original wireless communication link, and the first trackside access point immediately restores the operating channel of the first trackside access point. Alternatively, after a preset threshold time is reached, the first trackside access point then restores the operating channel of the first trackside access point.
In the foregoing embodiment of the present disclosure, when the wireless communication link is established between the first trackside access point and the in-vehicle access point, and the first channel and the second channel are different, a status may be determined, which is not limited to the first trackside access point, or may be monitored and determined by the controller.
In this embodiment of the present disclosure, when the wireless communication link has been established between the first trackside access point and the in-vehicle access point, and the operating channel of the first trackside access point and the operating channel of the second trackside access point are different, the first trackside access point changes the operating channel of the first trackside access point and the operating channel of the in-vehicle access point to the operating channel of the second trackside access point. Changing the channel ensures that the first trackside access point, the in-vehicle access point, and the second trackside access point have a same channel. In this way, when the in-vehicle access point needs to be handed over from the first trackside access point to the second trackside access point, there is no need to scan the operating channel of the second trackside access point. This reduces a time to obtain the operating channel of the second trackside access point, also simultaneously avoids a packet loss problem that is caused by the channel change in a handover process, and may improve handover efficiency between trackside access points.
Referring to
Step 201. A controller determines that a first channel and a second channel are different, where the first channel is an operating channel of a first trackside access point, and the second channel is an operating channel of a second trackside access point.
In a process of vehicle driving, an in-vehicle access point may establish a wireless communication link to a trackside access point that is disposed along a track such that a device of a passenger in a vehicle may access a network using the in-vehicle access point and the trackside access point. The foregoing wireless communication link may be a mesh link, or may be a WDS link. The controller may establish a communication connection to multiple trackside access points in a wired, a wireless or a combination of wired and wireless manners. The controller may monitor link establishment statuses between the multiple trackside access points and the in-vehicle access point in real time, and may further learn operating channels of the multiple trackside access points. It is assumed that originally, current channels of all trackside access points are a same channel. Due to interference from a radar or another factor, operating channels of some trackside access points are switched to another channel. These trackside access points may notify the controller that the trackside access points are interfered with by the radar or the other factor, and the controller instructs these trackside access points to switch the operating channels. When multiple consecutively disposed trackside access points are interfered with by a same interfering source (for example, the radar), the controller may instruct these trackside access points to switch to a new same operating channel in order to reduce times of channel switching that needs to be performed when the in-vehicle access point is handed over between these consecutively disposed trackside access points. The trackside access point may also autonomously determine to switch a channel. In this case, the trackside access point may send channel switching information to the controller. The controller modifies, according to the received channel switching information, channel information stored by the controller. The controller may also detect each trackside access point. If finding a trackside access point that performs channel changing, the controller may modify channel information corresponding to the trackside access point.
In this embodiment of the present disclosure, the controller determines a trackside access point whose operating channel is different from a preset channel as the second trackside access point. The second trackside access point may be one trackside access point, or may be multiple trackside access points. This embodiment of the present disclosure uses one trackside access point as an example, and the same rule applies to a case in which another trackside access point that performs the channel changing is used as the second trackside access point.
Optionally, the controller determines the first trackside access point according to a preset condition and a driving direction of a vehicle, where the preset condition includes any one of the first trackside access point is adjacent to the second trackside access point, a logical distance between the first trackside access point and the second trackside access point meets a preset threshold, or a physical distance between the first trackside access point and the second trackside access point meets a preset threshold.
The controller may obtain, in multiple manners, the driving direction of the vehicle that carries the in-vehicle access point, for example, the trackside access point that establishes the wireless communication link to the in-vehicle access point sends a direction obtaining request to the in-vehicle access point to obtain the driving direction of the vehicle, and notifies the controller. For another example, when establishing a wireless communication link to any trackside access point, the in-vehicle access point notifies the trackside access point of the driving direction of the vehicle. The controller obtains the driving direction of the vehicle using the trackside access point. This embodiment of the present disclosure is not limited to the above-described manners of obtaining the driving direction of the vehicle, or may be another manner, for example, the trackside access point or the controller obtains the driving direction of the vehicle by means of technical measurement.
The controller selects the first trackside access point according to the second trackside access point, the preset selection condition, and the driving direction of the vehicle, and the preset selection condition may be set and adjusted according to a reference factor such as a physical distance, a logical distance, a vehicle driving speed, and a terrain. When detecting that the vehicle driving speed is excessively high, the controller may adjust the preset selection condition, for example, increase the physical distance to provide a longer time for the in-vehicle access point to perform channel switching.
If the foregoing preset condition for determining the first trackside access point is a first type of condition, that is, the first trackside access point is adjacent to the second trackside access point, two or more trackside access points that are adjacent to the second trackside access point may be selected according to the foregoing condition, and further one trackside access point is selected as the first trackside access point from the two or more trackside access points according to the driving direction of the vehicle. For example, as shown in
If the foregoing preset condition for determining the first trackside access point is a second type of condition, that is, a logical distance between the first trackside access point and the second trackside access point meets a preset threshold, or a third type of condition, that is, a physical distance between the first trackside access point and the second trackside access point meets a preset threshold, the first trackside access point may not be adjacent to the second trackside access point. If the first trackside access point is not a trackside access point that is adjacent to the second trackside access point, all trackside access points between the first trackside access point and the second trackside access point also need to switch to the second channel together with the first trackside access point. All the trackside access points between the first trackside access point and the second trackside access point may be referred to as transition trackside access points. For example, the second trackside access point is the trackside access point AP 3, the first trackside access point is determined as a trackside access point AP 1 according to the second type of condition and the driving direction of the vehicle, and then, a transition trackside access point is the trackside access point AP 2.
Step 202. The controller instructs the first trackside access point to change the operating channel to the second channel, and instructs the first trackside access point to send an instruction message in order to instruct the in-vehicle access point to change an operating channel of the in-vehicle access point to the second channel.
The first type of condition is used to determine the first trackside access point. When the wireless communication link is established between the in-vehicle access point and the first trackside access point, the controller may instruct the first trackside access point to switch the operating channel. For example, the second trackside access point is the trackside access point AP 3, and the first trackside access point is the trackside access point AP 2. When the controller finds that the wireless communication link has been established between the first trackside access point AP 2 and the in-vehicle access point, the controller may send a channel change instruction message to the first trackside access point AP 2. The channel change instruction message may instruct the first trackside access point AP 2 to change the operating channel to the second channel. Further, the channel change instruction sent by the controller may further instruct the first trackside access point AP 2 to send a CSA. The foregoing manner is also applicable to a first trackside access point that is determined by the second type of condition or the third type of condition.
The second type of condition or the third type of condition is used to determine the first trackside access point. When the in-vehicle access point is far away from the second trackside access point, the controller may instruct multiple trackside access points in front of the second trackside access point to switch operating channels together. Because the vehicle driving speed is high, when these trackside access points switch the operating channels, the in-vehicle access point may have left the first trackside access point. During operating channel switching, regardless of a trackside access point that is located between the first trackside access point and the second trackside access point and with which the in-vehicle access point communicates the trackside access point may instruct the in-vehicle access point and these trackside access points to switch operating channels together.
For example, the second trackside access point is the trackside access point AP 3, and the first trackside access point is the trackside access point AP 1. When the controller finds that the wireless communication link has been established between the first trackside access point AP 1 and the in-vehicle access point, the controller may send a channel change instruction message to the first trackside access point AP 1 and a transition trackside access point AP 2. The channel change instruction message instructs the first trackside access point AP 1 and the transition trackside access point AP 2 to change operating channels to the second channel. Further, the channel change instruction sent by the controller may further instruct the first trackside access point AP 1 and the transition trackside access point AP 2 to send CSAs, and the CSAs instruct the in-vehicle access point to change an operating channel to the second channel.
The channel change instruction sent by the controller may carry a switching time, and the first trackside access point and the transition trackside access point may determine, according to the switching time, a specific moment for channel switching in order to ensure that the first trackside access point, the transition trackside access point, and the in-vehicle access point synchronously perform operating channel switching.
Optionally, after the wireless communication link between the first trackside access point and the in-vehicle access point is disconnected, the controller instructs the first trackside access point to change the operating channel of the first trackside access point to the first channel.
If there is a transition trackside access point, the controller may instruct the first trackside access point and the transition trackside access point to restore operating channels to the original operating channel. A channel restoration process may be performed simultaneously or separately. For example, the first trackside access point and the transition trackside access point may separately perform operating channel restoration within a preset time range after a wireless communication link to the in-vehicle access point is disconnected, or after a wireless communication link between the in-vehicle access point and a last transition trackside access point is disconnected, the controller instructs the first trackside access point and the transition trackside access point to simultaneously perform operating channel restoration within a preset time range.
Optionally, the controller may also instruct a prepared trackside access point to switch an operating channel to the second channel. The prepared trackside access point is one or more trackside access points that are directed by a driving direction after a vehicle leaves the second trackside access point. If multiple consecutive trackside access points are interfered with by a same interfering source, and therefore are instructed to switch a new same operating channel, the prepared trackside access point is one or more trackside access points that are directed by the driving direction of the vehicle after the vehicle leaves a last trackside access point in these consecutive trackside access points. The controller may instruct the first trackside access point to switch the operating channel, and simultaneously instruct the prepared trackside access point to switch the operating channel. The controller may also instruct the prepared trackside access point to switch the operating channel when the in-vehicle access point arrives at a trackside access point whose operating channel is different from a preset channel. After instructing the first trackside access point to switch the operating channel, the controller may instruct the prepared trackside access point to switch the operating channel at any moment before the in-vehicle access point leaves the trackside access point whose operating channel is different from the preset channel. When a wireless communication link is established between the in-vehicle access point and the prepared trackside access point, or after a wireless communication link is established between the in-vehicle access point and the prepared trackside access point and before the wireless communication link is disconnected between the in-vehicle access point and the prepared trackside access point, the controller instructs the prepared trackside access point to change the operating channel to the first channel, and instructs the prepared trackside access point to send an instruction message in order to instruct the in-vehicle access point to change the operating channel of the in-vehicle access point to the first channel.
In this embodiment of the present disclosure, when determining that the first channel and the second channel are different, the controller instructs to change the operating channel of the first trackside access point and the operating channel of the in-vehicle access point to the second channel. This can ensure that the first trackside access point, the in-vehicle access point, and the second trackside access point have a same channel. In this way, when the in-vehicle access point needs to be handed over from the first trackside access point to the second trackside access point, the in-vehicle access point does not need to scan the operating channel of the second trackside access point, or obtain the operating channel of the second trackside access point using the controller. This reduces a time to obtain the operating channel of the second trackside access point, simultaneously avoids a packet loss problem that is caused by the channel change in a switching process, and may improve handover efficiency between trackside access points.
Referring to
The channel change unit 11 is configured to change an operating channel of the trackside access point to the second channel if a wireless communication link has been established between a trackside access point and an in-vehicle access point, and a first channel and a second channel are different, where the first channel is an operating channel of the trackside access point before the operating channel of the trackside access point is changed, and the second channel is an operating channel of another trackside access point.
The instruction unit 12 is configured to instruct the in-vehicle access point to change an operating channel of the in-vehicle access point to the second channel.
Optionally, the channel change unit 11 is further configured to change the operating channel of the trackside access point to the first channel after the wireless communication link between the trackside access point and the in-vehicle access point is disconnected.
Optionally, the trackside access point further includes an obtaining unit 13 and a query unit 14.
The obtaining unit 13 is configured to obtain a driving direction of a vehicle that carries the in-vehicle access point.
The query unit 14 is configured to query, from a neighboring access point list, an identifier of the other trackside access point that is adjacent to the trackside access point and that is associated with the driving direction of the vehicle, and the operating channel of the other trackside access point.
For detailed description of each unit in this embodiment of the present disclosure, refer to the foregoing method embodiments, and details are not described herein again.
Referring to
The determining unit 21 is configured to determine that a first channel and a second channel are different, where the first channel is an operating channel of a first trackside access point, and the second channel is an operating channel of a second trackside access point.
The instruction unit 22 is configured to instruct the first trackside access point to change the operating channel to the second channel, and instruct the first trackside access point to send an instruction message in order to instruct the in-vehicle access point to change an operating channel of the in-vehicle access point to the second channel.
Optionally, the instruction unit 22 is further configured to instruct the first trackside access point to change the operating channel of the first trackside access point to the first channel after a wireless communication link between the first trackside access point and the in-vehicle access point is disconnected.
Optionally, the determining unit 21 is further configured to determine a trackside access point whose operating channel is different from a preset channel as the second trackside access point, and determine the first trackside access point according to a preset condition and a driving direction of a vehicle, where the preset condition includes any one of the first trackside access point is adjacent to the second trackside access point, a logical distance between the first trackside access point and the second trackside access point meets a preset threshold, or a physical distance between the first trackside access point and the second trackside access point meets a preset threshold.
Optionally, the instruction unit 22 is further configured to instruct the first trackside access point to change the operating channel to the second channel when the wireless communication link is established between the first trackside access point and the in-vehicle access point.
For detailed description of each unit in this embodiment of the present disclosure, refer to the foregoing method embodiments, and details are not described herein again.
Referring to
The trackside access point may further include a memory 1004. The memory 1004 may include a volatile memory, such as a random-access memory (RAM), or the memory may include a non-volatile memory, such as a read-only memory (ROM), a flash memory, a hard disk drive (HDD), or a solid state drive (SSD), or the memory 1004 may include a combination of the foregoing types of memories. The memory 1004 may be configured to store a neighboring access point list, and may further store a temporarily obtained related parameter (for example, a driving direction of a vehicle, and a speed). If the processor 1001 includes a CPU, the memory 1004 may further store program code, and transmit the program code to the CPU such that the CPU implements this embodiment of the present disclosure according to an instruction of the program code.
The processor 1001 is configured to, if a wireless communication link has been established between a trackside access point and an in-vehicle access point, and a first channel and a second channel are different, change an operating channel of the trackside access point to the second channel, where the first channel is an operating channel of the trackside access point before the operating channel of the trackside access point is changed, and the second channel is an operating channel of another trackside access point.
The processor 1001 is further configured to instruct the in-vehicle access point to change the operating channel of the in-vehicle access point to the second channel.
Optionally, the processor 1001 is further configured to change the operating channel of the trackside access point to the first channel after the wireless communication link between the trackside access point and the in-vehicle access point is disconnected.
Optionally, before performing a step of changing the operating channel of the trackside access point to the second channel, the processor 1001 is further configured to obtain a driving direction of a vehicle that carries the in-vehicle access point, and query, from a neighboring access point list, an identifier of the other trackside access point that is adjacent to the trackside access point and that is associated with the driving direction of the vehicle, and the operating channel of the other trackside access point.
For specific description of steps performed in the foregoing embodiment of the present disclosure, refer to descriptions of the foregoing method embodiments, and details are not described herein again.
Referring to
The controller may further include a memory 2004. The memory 2004 may include a volatile memory, such as a RAM, or the memory 2004 may include a non-volatile memory, such as a ROM, a flash memory, an HDD or an SSD, or the memory 2004 may include a combination of the foregoing types of memories. The memory 2004 may be configured to store an access point list, and may further store related data that is temporarily obtained by the controller, for example, a driving direction of a vehicle. If the processor 2001 includes a CPU, the memory 2004 may further store program code, and transmit the program code to the CPU such that the CPU implements this embodiment of the present disclosure according to an instruction of the program code.
The processor 2001 is configured to determine that a first channel and a second channel are different, where the first channel is an operating channel of a first trackside access point, and the second channel is an operating channel of a second trackside access point.
The processor 2001 is further configured to instruct the first trackside access point to change the operating channel to the second channel, and instruct, using the communications interface, the first trackside access point to send an instruction message in order to instruct the in-vehicle access point to change an operating channel of the in-vehicle access point to the second channel.
Optionally, the processor 2001 is further configured to instruct, using the communications interface 2002, the first trackside access point to change the operating channel of the first trackside access point to the first channel after a wireless communication link between the first trackside access point and the in-vehicle access point is disconnected.
Optionally, before performing a step of instructing the first trackside access point to change the operating channel to the second channel, the processor 2001 is further configured to determine a trackside access point whose operating channel is different from a preset channel as the second trackside access point, and determine the first trackside access point according to a preset condition and a driving direction of a vehicle, where the preset condition includes any one of the first trackside access point is adjacent to the second trackside access point, a logical distance between the first trackside access point and the second trackside access point meets a preset threshold, or a physical distance between the first trackside access point and the second trackside access point meets a preset threshold.
Optionally, that the processor 2001 instructs the first trackside access point to change the operating channel to the second channel includes that when the wireless communication link is established between the first trackside access point and the in-vehicle access point, the controller instructs the first trackside access point to change the operating channel to the second channel.
For specific description of steps performed in the foregoing embodiment of the present disclosure, refer to descriptions of the foregoing method embodiments, and details are not described herein again.
A person of ordinary skill in the art may understand that all or some of the steps of the method embodiments may be completed by a program instructing a processor. The program may be stored in a computer readable storage medium. The storage medium may include a RAM, a ROM, a flash memory, an HDD, an SSD, a magnetic tape, a FLOPPY DISK, an optical disc, or any combination thereof.
The foregoing descriptions are merely example implementations of the present disclosure, but are not intended to limit the protection scope of the present disclosure. Any variation or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present disclosure shall fall within the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure shall be subject to the protection scope of the claims.
Number | Date | Country | Kind |
---|---|---|---|
201610370134.1 | May 2016 | CN | national |
This application is a continuation of International Patent Application No. PCT/CN2017/085538 filed on May 23, 2017, which claims priority to Chinese Patent Application No. 201610370134.1 filed on May 27, 2016. The disclosures of the aforementioned applications are hereby incorporated by reference in their entireties.
Number | Date | Country | |
---|---|---|---|
Parent | PCT/CN2017/085538 | May 2017 | US |
Child | 16201039 | US |