CN-116192632-B - AP management method and device
Abstract
The application provides an AP management method and device. The method is applied to the AC, and comprises the steps of issuing association instructions to the trackside APs which are connected with the Mesh of each vehicle-mounted AP in the vehicle-mounted AP group when the association instructions input by an administrator are received, enabling each trackside AP to forward the association instructions to the corresponding vehicle-mounted AP, enabling the corresponding vehicle-mounted AP to initiate an association process to the AC, and for each vehicle-mounted AP, if the version number of the acquired version of the vehicle-mounted AP is judged to be inconsistent with the version number of the target version after the vehicle-mounted AP is associated with the AC, issuing the target version to the vehicle-mounted AP, carrying out version upgrading on the basis of the target version by the vehicle-mounted AP, and after the vehicle-mounted AP is re-associated with the AC, if configuration information corresponding to the vehicle-mounted AP group is locally stored, issuing the configuration information to the vehicle-mounted AP, and updating the local configuration information by the vehicle-mounted AP based on the configuration information. The application can save labor cost.
Inventors
- HOU TAO
Assignees
- 新华三技术有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20230218
Claims (12)
- 1. An AP management method, wherein the method is applied to an AC, the method comprising: when an association instruction which is input by an administrator and used for representing that the vehicle-mounted AP is allowed to be associated with the AC is received, the association instruction is issued to a trackside AP which is connected with each vehicle-mounted AP in a locally configured vehicle-mounted AP group by means of Mesh, so that each trackside AP forwards the association instruction to a corresponding vehicle-mounted AP, and an association process is initiated to the AC by the corresponding vehicle-mounted AP, wherein the working mode of each vehicle-mounted AP is a fat AP mode, and the working mode of the trackside AP which is connected with each vehicle-mounted AP by means of Mesh is a thin AP mode; For each vehicle-mounted AP, after the vehicle-mounted AP is associated to the AC through a track-side AP which is connected with the vehicle-mounted AP in a Mesh way, if the version number of the acquired version of the vehicle-mounted AP is judged to be inconsistent with the version number of a target version, the target version is issued to the vehicle-mounted AP through the track-side AP, so that the vehicle-mounted AP carries out version upgrading based on the target version; After the version of the vehicle-mounted AP is updated and then re-associated to the AC through the trackside AP, if the configuration information corresponding to the vehicle-mounted AP group is locally stored, the configuration information is issued to the vehicle-mounted AP through the trackside AP so that the vehicle-mounted AP updates the local configuration information based on the configuration information.
- 2. The method of claim 1, wherein the version number of the version of the vehicle-mounted AP is obtained by: After the vehicle-mounted AP is associated to the AC through a trackside AP which establishes Mesh connection with the vehicle-mounted AP, a query request for querying a version number of the vehicle-mounted AP is sent to the vehicle-mounted AP through the trackside AP; And receiving a query response which is sent by the vehicle-mounted AP through the trackside AP and carries the version number of the version of the vehicle-mounted AP, and acquiring the version number of the version of the vehicle-mounted AP from the query response.
- 3. The method according to claim 1, wherein the method further comprises: After the vehicle-mounted AP is associated to the AC through a trackside AP which is connected with the vehicle-mounted AP through Mesh, if the version number of the acquired version of the vehicle-mounted AP is consistent with the version number of the target version and the configuration information is locally stored, the configuration information is issued to the vehicle-mounted AP through the trackside AP so that the vehicle-mounted AP updates the local configuration information based on the configuration information.
- 4. The method according to claim 1, wherein the method further comprises: after the vehicle-mounted AP is successfully associated to the AC through the trackside AP which is connected with the vehicle-mounted AP through Mesh, a working mode changing instruction for instructing the vehicle-mounted AP to change the working mode of the vehicle-mounted AP into a thin AP mode is sent to the vehicle-mounted AP through the trackside AP, so that the vehicle-mounted AP changes the working mode of the vehicle-mounted AP into the thin AP mode according to the working mode changing instruction.
- 5. The method according to claim 1, wherein the method further comprises: After the vehicle-mounted AP is successfully associated to the AC through the trackside AP which establishes Mesh connection with the vehicle-mounted AP, if the association instruction is detected to be deleted by the administrator, the disassociation operation is carried out on the vehicle-mounted AP through the trackside AP.
- 6. An AP management device, wherein the device is applied to an AC, the device comprising: The first management module is used for issuing an association instruction to each onboard AP in the onboard AP group configured locally to establish a Mesh-connected trackside AP when receiving the association instruction which is input by an administrator and used for representing the association of the onboard AP to the AC, so that each trackside AP forwards the association instruction to the corresponding onboard AP, and an association process is initiated to the AC by the corresponding onboard AP, wherein the working mode of each onboard AP is a fat AP mode, and the working mode of the trackside AP which is established with each onboard AP and is connected with the Mesh is a thin AP mode; The second management module, for each vehicle-mounted AP, after the vehicle-mounted AP is related to the AC through a track side AP which is connected with the vehicle-mounted AP by Mesh, if the version number of the acquired version of the vehicle-mounted AP is not consistent with the version number of the target version, the target version is issued to the vehicle-mounted AP through the track side AP so as to upgrade the version of the vehicle-mounted AP based on the target version, and After the version of the vehicle-mounted AP is updated and then re-associated to the AC through the trackside AP, if the configuration information corresponding to the vehicle-mounted AP group is locally stored, the configuration information is issued to the vehicle-mounted AP through the trackside AP so that the vehicle-mounted AP updates the local configuration information based on the configuration information.
- 7. The apparatus of claim 6, wherein the apparatus further comprises: The acquisition module is used for acquiring the version number of the version of the vehicle-mounted AP in the following manner: After the vehicle-mounted AP is associated to the AC through a trackside AP which establishes Mesh connection with the vehicle-mounted AP, a query request for querying a version number of the vehicle-mounted AP is sent to the vehicle-mounted AP through the trackside AP; And receiving a query response which is sent by the vehicle-mounted AP through the trackside AP and carries the version number of the version of the vehicle-mounted AP, and acquiring the version number of the version of the vehicle-mounted AP from the query response.
- 8. The apparatus of claim 6, wherein the second management module is further configured to: After the vehicle-mounted AP is associated to the AC through a trackside AP which is connected with the vehicle-mounted AP through Mesh, if the version number of the acquired version of the vehicle-mounted AP is consistent with the version number of the target version and the configuration information is locally stored, the configuration information is issued to the vehicle-mounted AP through the trackside AP so that the vehicle-mounted AP updates the local configuration information based on the configuration information.
- 9. The apparatus of claim 6, wherein the apparatus further comprises: and the third management module is used for sending a working mode changing instruction for indicating the vehicle-mounted AP to change the working mode of the vehicle-mounted AP into a thin AP mode to the vehicle-mounted AP through the trackside AP after the vehicle-mounted AP is successfully associated with the AC through the trackside AP which is connected with the vehicle-mounted AP through the Mesh connection, so that the vehicle-mounted AP changes the working mode of the vehicle-mounted AP into the thin AP mode according to the working mode changing instruction.
- 10. The apparatus of claim 6, wherein the apparatus further comprises: And the fourth management module is used for executing a disassociation operation on the vehicle-mounted AP through the trackside AP if the association instruction is detected to be deleted by the administrator after the vehicle-mounted AP is successfully associated to the AC through the trackside AP which is connected with the vehicle-mounted AP through Mesh.
- 11. An electronic device comprising a processor and a machine-readable storage medium storing machine-executable instructions executable by the processor to cause the processor to perform the method steps recited in any one of claims 1-5.
- 12. A computer-readable storage medium, characterized in that the computer-readable storage medium has stored therein a computer program which, when executed by a processor, implements the method steps of any of claims 1-5.
Description
AP management method and device Technical Field The present application relates to the field of communications technologies, and in particular, to an AP management method and apparatus. Background The metro vehicle section is one of important units of a metro driving system, and is a place for carrying out operation management, parking and maintenance on vehicles in an urban rail transit system (such as a metro system and the like). The number of parked vehicles can be about 50 vehicles according to the size of the vehicle section, more than 80 vehicles can be parked daily in recent years along with the extension of the vehicle section, which brings great workload to the maintenance of the wireless of the vehicle, for example, when the version of the vehicle-mounted AP working in a Fat (Fat) Access Point (AP) mode on the vehicle needs to be upgraded, or when the configuration information of the vehicle-mounted AP needs to be changed, an administrator is usually required to manually complete the upgrading operation or the changing of the configuration information of the relevant version, thus consuming more labor cost . Disclosure of Invention In order to overcome the problems in the related art, the application provides an AP management method and an AP management device. According to a first aspect of embodiments of the present application, there is provided an AP management method applied to an access controller (Access Controller, AC), the method comprising: When an association instruction which is input by an administrator and used for representing that the vehicle-mounted AP is allowed to be associated with the AC is received, the association instruction is issued to a trackside AP which is connected with each vehicle-mounted AP in a locally configured vehicle-mounted AP group in a Mesh (Mesh) mode, so that each trackside AP forwards the association instruction to a corresponding vehicle-mounted AP, and an association process is initiated to the AC by the corresponding vehicle-mounted AP, wherein the working mode of each vehicle-mounted AP is a fat AP mode, and the working mode of the trackside AP which is connected with each vehicle-mounted AP in a Mesh mode is a thin AP mode; For each vehicle-mounted AP, after the vehicle-mounted AP is associated to the AC through a track-side AP which is connected with the vehicle-mounted AP in a Mesh way, if the version number of the acquired version of the vehicle-mounted AP is judged to be inconsistent with the version number of a target version, the target version is issued to the vehicle-mounted AP through the track-side AP, so that the vehicle-mounted AP carries out version upgrading based on the target version; After the version of the vehicle-mounted AP is updated and then re-associated to the AC through the trackside AP, if the configuration information corresponding to the vehicle-mounted AP group is locally stored, the configuration information is issued to the vehicle-mounted AP through the trackside AP so that the vehicle-mounted AP updates the local configuration information based on the configuration information. According to a second aspect of an embodiment of the present application, there is provided an AP management device, the device being applied to an AC, the device including: The first management module is used for issuing an association instruction to each onboard AP in the onboard AP group configured locally to establish a Mesh-connected trackside AP when receiving the association instruction which is input by an administrator and used for representing the association of the onboard AP to the AC, so that each trackside AP forwards the association instruction to the corresponding onboard AP, and an association process is initiated to the AC by the corresponding onboard AP, wherein the working mode of each onboard AP is a fat AP mode, and the working mode of the trackside AP which is established with each onboard AP and is connected with the Mesh is a thin AP mode; The second management module, for each vehicle-mounted AP, after the vehicle-mounted AP is related to the AC through a track side AP which is connected with the vehicle-mounted AP by Mesh, if the version number of the acquired version of the vehicle-mounted AP is not consistent with the version number of the target version, the target version is issued to the vehicle-mounted AP through the track side AP so as to upgrade the version of the vehicle-mounted AP based on the target version, and After the version of the vehicle-mounted AP is updated and then re-associated to the AC through the trackside AP, if the configuration information corresponding to the vehicle-mounted AP group is locally stored, the configuration information is issued to the vehicle-mounted AP through the trackside AP so that the vehicle-mounted AP updates the local configuration information based on the configuration information. According to a third aspect of embodiments of the present application there is provi