Wireless network equipment software upgrade method, equipment, medium and program product
Through load normalization and batch upgrade methods of wireless access, the problems of AC equipment failure and software upgrade interruption in wireless networks are solved, and the continuity of wireless services and user experience are improved.
Patent Information
- Application Number
- CN202411830080.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-12-11
- Publication Date
- 2025-04-08
AI Technical Summary
In wireless networks, failure of AC equipment may cause the wireless network to be paralyzed, and the network service needs to be interrupted when the equipment software is upgraded, affecting the user experience.
Through load normalization and wireless access batch upgrade, the specific steps include controlling the wireless access device connected to the first access control device to migrate and connect to the second access control device, performing software upgrades, and migrating and connecting back to the first access control device after the upgrade is completed.
Ensure that wireless services are not interrupted or the interruption time is shortest during the upgrade process, and ensure the user's continuous use of wireless networks to the greatest extent.
Smart Images

Figure CN119789116A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and more specifically, to a method, device, medium and program product for upgrading software of a wireless network device. Background Art
[0002] With the popularization of wireless network technology, people's dependence on wireless networks has increased significantly. Wireless networks have become an indispensable part of people's daily life and work, covering various fields such as personal devices, commercial applications and industrial systems.
[0003] In order to prevent the wireless network from being paralyzed due to the failure of the access control (AC) device in the wireless network, two AC devices are generally set in the wireless network, and each AC device corresponds to multiple access point (AP) devices, so that the AP device provides wireless network services to the client. However, due to the repair of device software bugs or the addition of new device features, the administrator needs to upgrade the software versions of the AC and AP devices. This leads to long-term interruptions of the wireless network, which is gradually becoming unacceptable to users. Summary of the invention
[0004] Based on the above-mentioned technical defects, the present application proposes a wireless network equipment software upgrade method, equipment, medium and program product. Through load normalization and wireless access batch upgrade, it ensures that the wireless service is not interrupted or the interruption time is minimized during the upgrade process, thereby maximizing the user's experience of continuous use of the wireless network.
[0005] A first aspect of the present application provides a method for upgrading software of a wireless network device, which is applied to a first access control device, and the method includes:
[0006] Controlling all wireless access devices connected to the first access control device to migrate and connect to a second access control device, where the second access control device and the first access control device belong to the same wireless local area network;
[0007] Performing software upgrade on the first access control device;
[0008] Controlling each wireless access device connected to the second access control device to perform software upgrade, and controlling the upgraded wireless access device to migrate and connect to the first access control device;
[0009] Control the second access control device to perform software upgrade.
[0010] A second aspect of the present application provides a method for upgrading software of a wireless network device, the method comprising:
[0011] In response to first connection control information sent by a first access control device to which the wireless access device is currently connected, migrating the connection to a second access control device, wherein the first access control device and the second access control device belong to the same wireless local area network;
[0012] In response to first upgrade control information sent after the first access control device is upgraded, performing software upgrade on the wireless access device;
[0013] In response to the second connection control information sent by the first access control device, the connection is migrated to the first access control device.
[0014] A third aspect of the present application provides a wireless network device software upgrade device, applied to a first access control device, including:
[0015] a control module, configured to control all wireless access devices connected to the first access control device to migrate and connect to a second access control device, wherein the second access control device and the first access control device belong to the same wireless local area network;
[0016] An upgrading module, used for performing software upgrading on the first access control device;
[0017] The control module is further used to control each wireless access device connected to the second access control device to perform software upgrade, and control the upgraded wireless access device to migrate and connect to the first access control device;
[0018] The control module is further used to control the second access control device to perform software upgrade.
[0019] A fourth aspect of the present application provides a wireless network device software upgrade device, which is applied to a wireless access device, including:
[0020] a migration module, configured to migrate and connect to a second access control device in response to first connection control information sent by a first access control device to which the wireless access device is currently connected, wherein the first access control device and the second access control device belong to the same wireless local area network;
[0021] An upgrading module, configured to perform software upgrading on the wireless access device in response to first upgrading control information sent after the upgrading of the first access control device is completed;
[0022] The migration module is further configured to migrate the connection to the first access control device in response to the second connection control information sent by the first access control device.
[0023] In a fifth aspect, the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a method as described in any one of the first or second aspects above.
[0024] A sixth aspect of the present application provides an electronic device having a computer program stored thereon, wherein the program is executed by a processor to implement the method described in any one of the first aspect or the second aspect.
[0025] In a seventh aspect, the present application provides an electronic device, including a computer program, wherein when the computer program is executed by a processor, the method described in any one of the first aspect or the second aspect is implemented.
[0026] The beneficial effects of this application include at least:
[0027] In an embodiment of the present application, load normalization of access control devices is completed by controlling all wireless access devices connected to the first access control device to migrate and connect to the second access control device, and after the load normalization, the first access control device is software upgraded, and the software of each wireless access device connected to the second access control device is software upgraded to ensure that during the device software upgrade process, the wireless service is not interrupted or the interruption time is the shortest, thereby maximizing the user's experience of continuous use of the wireless network. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] The accompanying drawings, which constitute a part of the specification, illustrate embodiments of the present application and, together with the description, serve to explain the principles of the present application.
[0029] The present application can be more clearly understood from the following detailed description with reference to the accompanying drawings, in which:
[0030] Figure 1 A schematic diagram of a wireless network device software upgrade scenario provided by an exemplary embodiment of the present application is shown;
[0031] Figure 2 A flowchart of a method for upgrading software of a wireless network device provided by an exemplary embodiment of the present application is shown;
[0032] Figure 3 A schematic diagram of a process of generating a neighbor device chain provided by an exemplary embodiment of the present application is shown;
[0033] Figure 4 Another flowchart of a method for upgrading software of a wireless network device provided by an exemplary embodiment of the present application is shown;
[0034] Figure 5A schematic diagram of the structure of a wireless network device software upgrade device provided by an exemplary embodiment of the present application is shown;
[0035] Figure 6 Another structural schematic diagram of a wireless network device software upgrade device provided by an exemplary embodiment of the present application is shown;
[0036] Figure 7 A schematic diagram of the structure of an electronic device provided by an exemplary embodiment of the present application is shown;
[0037] Figure 8 A schematic diagram of a storage medium provided by an exemplary embodiment of the present application is shown. DETAILED DESCRIPTION
[0038] Hereinafter, embodiments of the present application will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present application. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present application. It is obvious to those skilled in the art that the present application can be implemented without one or more of these details. In other examples, in order to avoid confusion with the present application, some technical features known in the art are not described.
[0039] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should also be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of the features, wholes, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, wholes, steps, operations, elements, components and / or combinations thereof.
[0040] Now, exemplary embodiments according to the present application will be described in more detail with reference to the accompanying drawings. However, these exemplary embodiments may be implemented in a variety of different forms and should not be construed as being limited to the embodiments described herein. The accompanying drawings are not drawn to scale, and certain details may be magnified and certain details may be omitted for the purpose of clear expression. The shapes of the various regions and layers shown in the figures and the relative sizes and positional relationships therebetween are merely exemplary, and may deviate in practice due to manufacturing tolerances or technical limitations, and those skilled in the art may additionally design regions / layers with different shapes, sizes, and relative positions according to actual needs.
[0041] The following describes an exemplary embodiment according to the present application. It should be noted that the following embodiments are only shown to facilitate understanding of the spirit and principle of the present application, and the embodiments of the present application are not limited in this regard. On the contrary, the embodiments of the present application can be applied to any applicable scenario.
[0042] In order to prevent the problem of wireless network paralysis caused by access control device failure in the wireless network, two access control devices are generally set in the wireless network, and each access control device is connected to multiple wireless access devices, so that the wireless access devices provide wireless network services to the clients. However, due to device software bug repair or device new feature addition, the administrator needs to upgrade the software version of the access control device and the wireless access device.
[0043] Currently, the software of devices is generally upgraded during a period of low device usage, such as at night. However, even if the software of devices is upgraded at night, it will affect the usage of some clients.
[0044] In response to the above technical problems, the present application proposes a wireless network device software upgrade method, device, medium and program product, which are applied to a first access control device, and the method includes: controlling all wireless access devices connected to the first access control device to migrate and connect to a second access control device, and the second access control device and the first access control device belong to the same wireless local area network; performing software upgrade on the first access control device; controlling each wireless access device connected to the second access control device to perform software upgrade, and controlling the upgraded wireless access device to migrate and connect to the first access control device; controlling the second access control device to perform software upgrade. The embodiment of the present application ensures that wireless services are not interrupted or the interruption time is minimized during the upgrade process through load normalization and batch upgrade of wireless access, thereby maximizing the user's experience of continuous use of the wireless network.
[0045] Before introducing the wireless network device software upgrade method according to the embodiment of the present application, the wireless network device software upgrade scenario according to the embodiment of the present application is first introduced.
[0046] like Figure 1 As shown, the scenario includes a server, a core router, two access control devices, multiple wireless access devices, and multiple clients;
[0047] The server is connected to the core router to provide network services to the client.
[0048] The core router is connected to two access control devices and the server to process and forward large-scale data traffic in the network to ensure efficient and stable operation of the entire network.
[0049] The two access control devices are connected to the core routers respectively to ensure that the clients can obtain the corresponding network services.
[0050] In addition, the two access control devices are respectively connected to a plurality of wireless access devices to expand the coverage of the access control devices.
[0051] Each wireless access device is respectively connected to an access control device and multiple clients, so that network services are provided to the multiple clients through the access control device.
[0052] The embodiment of the present application first describes a method for upgrading software of a wireless network device by taking a management platform as a first access control device.
[0053] See also Figure 2 , the method comprises the following steps.
[0054] S201: Control all wireless access devices connected to a first access control device to migrate and connect to a second access control device.
[0055] The second access control device and the first access control device belong to the same wireless local area network.
[0056] Since two access control devices are set in the wireless network, if the software of the wireless network devices is to be upgraded, one of the access control devices can be upgraded first. Therefore, the wireless access devices connected to the first access control device can be controlled to migrate and connect to the second access control device to upgrade the software of the first access control device.
[0057] Among them, the first access control device can be an access control master device in a wireless network, and the second access control device can be an access control slave device in a wireless network. The access control master device can control the wireless access devices connected to it to migrate to other access control devices, and can also control the wireless access devices connected to other access control devices to migrate to the first access control device.
[0058] In some embodiments, in order to reduce the number of wireless access devices to be migrated, the first access control device in the embodiment of the present application may be an access control device with a smaller load.
[0059] In some embodiments, when a wireless access device accesses a wireless network, it can determine the priorities of two access control devices, determine the access control device with a higher priority as the access control master device of the wireless access device, and connect it to the corresponding access control master device. During the access control device migration process, the access control master device of the wireless access device can be set as the second access control device, so that the wireless access device is connected to the second access control device.
[0060] According to the above setting manner, the access control master device corresponding to the wireless access device connected to the first access control device is set as the second access control device, so that the wireless access device connected to the first access control device is migrated to the second access control device.
[0061] S202: Perform software upgrade on the first access control device.
[0062] It is understandable that the wireless access device connected to the first access control device is migrated to the second access control device. At this time, the first access control device is in an idle state. Upgrading the software of the first access control device can avoid interruption of the wireless service corresponding to the first access control device.
[0063] S203: Control each wireless access device connected to the second access control device to perform software upgrade, and control the upgraded wireless access device to migrate and connect to the first access control device.
[0064] S204: Control the second access control device to perform software upgrade.
[0065] After the software of each wireless access device connected to the second access control device is upgraded, each wireless access device may be migrated to the first access control device so that the second access control device is in an idle state and the software of the second access control device is upgraded.
[0066] The implementation process of migrating each wireless access device to the first access control device is the same as the implementation process of migrating all wireless access devices connected to the first access control device to the second access control device, which will not be described in detail.
[0067] The present application proposes a method for upgrading software of wireless network equipment, which is applied to a first access control device, and the method includes: controlling all wireless access devices connected to the first access control device to migrate and connect to a second access control device, and the second access control device and the first access control device belong to the same wireless local area network; upgrading the software of the first access control device; controlling each wireless access device connected to the second access control device to upgrade the software, and controlling the upgraded wireless access device to migrate and connect to the first access control device; and controlling the second access control device to upgrade the software. The embodiment of the present application ensures that the wireless service is not interrupted or the interruption time is minimized during the upgrade process by load normalization and wireless access upgrade in batches, thereby maximizing the user's experience of continuous use of the wireless network.
[0068] In some embodiments, controlling all wireless access devices connected to a first access control device to migrate and connect to a second access control device includes: dividing the wireless access devices connected to the first access control device into multiple migration groups; and migrating the wireless access devices in each migration group to the second access control device in groups.
[0069] It is understandable that each wireless access device is connected to multiple clients. Therefore, the wireless access devices connected to the first access control device are migrated in batches. Before each batch of wireless access devices is migrated, the multiple clients connected to the batch of wireless access devices need to be connected to other wireless access devices.
[0070] In some embodiments, each client is within the coverage of multiple wireless access devices, and each client can connect to multiple wireless access devices. Before a wireless access device performs software migration, the client connected to the wireless access device can be connected to other wireless access devices by reducing the signal strength of the wireless access device.
[0071] In some embodiments, dividing the wireless access devices connected to the first access control device into multiple migration groups includes: dividing the wireless access devices connected to the first access control device into multiple migration groups based on the signal strength between each wireless access device in the wireless local area network.
[0072] The signal strength between the two wireless access devices may be the signal strength of a signal radiated by one of the wireless access devices measured by the other wireless access device.
[0073] As can be seen from the above, before a certain wireless access device performs software migration, the signal strength of the wireless access device can be reduced so that the client connected to it can connect to other wireless access devices. Therefore, the migration groups of wireless access devices can be divided based on the signal strength between each wireless access device in the wireless local area network.
[0074] During the division process, two adjacent wireless access devices may not be divided into the same migration group, so that when one of the wireless access devices is migrated, the client connected to the wireless access device may be connected to the wireless access device adjacent to the wireless access device.
[0075] Generally, the signal strength between two adjacent wireless access devices is relatively high.
[0076] In some embodiments, based on the signal strength between each wireless access device in the wireless local area network, the wireless access devices connected to the first access control device are divided into a plurality of migration groups, including:
[0077] Based on the signal strength between each wireless access device in the wireless local area network, a neighbor device chain of the wireless local area network is determined; each wireless access device in the neighbor device chain is arranged in descending order according to the signal strength of the link formed with the base point device, and the base point device is any wireless access device in the wireless local area network; based on the neighbor device chain, the wireless access devices connected to the first access control device are divided into multiple migration groups.
[0078] The neighbor device chain includes multiple wireless access devices to be migrated. The neighbor device chain can be used to determine the signal strength relationship between the multiple wireless access devices to be migrated, so that the wireless access devices can be divided based on the signal strength relationship.
[0079] In some embodiments, based on the signal strength between each wireless access device in the wireless local area network, a neighbor device chain of the wireless local area network is determined, including: selecting any wireless access device in the wireless local area network as a base point device; adding the base point device as the starting point of the neighbor device chain to the neighbor device chain; adding the neighbor wireless access devices of the base point device to the neighbor device chain in order of signal strength from large to small with the base point device, wherein the signal strength between the neighbor wireless access devices of the base point device and the base point device is higher than a preset threshold; for each wireless access device in the neighbor device chain, determining the neighbor wireless access devices of each wireless access device respectively, and adding the neighbor wireless access devices corresponding to each wireless access device to the neighbor device chain in order of signal strength from large to small to form a link with the base point device; if there is an isolated wireless access device without a neighbor wireless access device, adding the isolated wireless access device to the end of the neighbor device chain in order of device identifiers from small to large.
[0080] The signal strength between neighboring devices is greater than a preset signal strength, and the preset signal strength can be flexibly set based on actual conditions.
[0081] In some embodiments, the process of generating a neighbor device chain may be implemented as follows:
[0082] The base point wireless access device is added to the starting point of the neighbor device chain, and the surrounding neighbor wireless access devices are discovered through the base point wireless access device.
[0083] The neighboring wireless access devices are added to the neighboring device chain in order according to the signal strength from the neighboring wireless access device to the base point wireless access device from large to small.
[0084] Traverse each wireless access device in the neighbor device chain from front to back, continue to discover new neighbor wireless access devices through these wireless access devices, and add neighbor wireless access devices that are not in the neighbor device chain to the chain in descending order of their signal strength to the base point.
[0085] If a wireless access device has multiple paths to reach the base point, the path with the strongest signal strength is selected for neighbor chain calculation.
[0086] In addition, after traversing all wireless access devices in the neighbor device chain, if there are isolated wireless access devices that are not discovered through neighbor relationships, the isolated wireless access devices can be added to the neighbor device chain in descending order of device identifiers.
[0087] When there are other wireless access devices between a wireless access device and a base point device, the signal strength of the link formed with the base point device is the sum of the signal strengths of the wireless access device and other wireless access devices and the signal strengths of other wireless access devices and the base point device.
[0088] For example, the base device is AP1, the signal strength between AP1 and AP2 is -30dBm, the signal strength between AP2 and AP3 is -35dBm, and the link formed by AP1 and AP3 is: AP1 to AP2 to AP3. Then the signal strength from AP1 to AP3 is the sum of the signal strength between AP1 and AP2 and the signal strength between AP2 and AP3, which is -65dBm.
[0089] The device identifier may be a device ID value, and the device ID value may be an ID value set by the AC device for the wireless access device when the wireless access device is connected to a wireless network.
[0090] Figure 3 A schematic diagram of a process for generating a neighbor device chain provided in an embodiment of the present application.
[0091] like Figure 3 As shown in Figure 1, the wireless access devices to be migrated are as follows: Figure 3 As shown, the embodiment of the present application uses AP1 as a base point to illustrate the above-mentioned neighbor device chain generation method.
[0092] The process is as follows:
[0093] Add AP 1 to the start of the neighbor data chain.
[0094] AP 1 discovers neighbor AP 2 and AP 3 through scanning. The signal strengths of neighbor AP 2 and AP 3 to AP 1 are -30dBm and -35dBm respectively. In descending order of signal strength, neighbor AP 2 and AP 3 are added to the neighbor data link.
[0095] AP 2 discovers neighbor AP 1, AP 4, and AP 5 through scanning. The strongest signal strengths from neighbor AP 1, AP 4, and AP 5 to AP 1 are 0dBm, -70dBm, and -60dBm, respectively. AP 1 is already in the neighbor data link, so it does not need to be added. In descending order of signal strength, add neighbor AP 5 and AP 4 to the neighbor data link.
[0096] AP 3 discovers neighbor AP 1, AP 4, and AP 6 through scanning. The strongest signal strengths from neighbor AP 1, AP 4, and AP 6 to AP 1 are 0 dBm, -70 dBm, and -75 dBm, respectively. AP 1 and AP 4 are already in the neighbor data link, so they do not need to be added. Add neighbor AP 6 to the neighbor data link in descending order of signal strength.
[0097] Traverse each AP in the neighbor data chain from front to back, continue to discover new neighbor APs through these APs, and add neighbor APs that are not in the neighbor data chain to the chain in descending order of their signal strength to the base point. This example only shows the traversal process of AP 1, AP 2, and AP 3. The traversal method for subsequent APs in the neighbor data chain is the same and will not be repeated.
[0098] In some embodiments, based on a neighbor device chain, wireless access devices connected to a first access control device are divided into multiple migration groups, including: determining the number of groups required to be divided based on the number of wireless access devices connected to the first access control device; and selecting a number of wireless access devices in a group from the wireless access devices connected to the first access control device according to the arrangement order of the wireless access devices in the neighbor device chain and dividing them into different migration groups until all wireless access devices connected to the first access control device are traversed to obtain a number of migration groups.
[0099] The number of groups to be divided may be related to the number of wireless access devices. The larger the number of wireless access devices, the larger the number of groups to be divided.
[0100] As can be seen from the above, in order to ensure that the clients connected to the wireless access device to be migrated can also obtain better network services during the migration of the wireless access device, it is necessary to migrate the clients connected to the migrated wireless access device to a wireless access device adjacent to the wireless access device, that is, to a wireless access device with the greatest signal strength with the wireless access device.
[0101] The signal strength between adjacent wireless access devices in the neighbor device chain is the largest. Therefore, according to the arrangement order of the wireless access devices in the neighbor device chain, a number of wireless access devices can be selected in sequence from the wireless access devices connected to the first access control device and divided into different migration groups until all wireless access devices connected to the first access control device are traversed to obtain a number of migration groups.
[0102] Such grouping can ensure that each migration group includes the wireless access device with the greatest signal strength with the wireless access devices in other migration groups.
[0103] To facilitate understanding, the above migration grouping process may be illustrated by way of example.
[0104] In some embodiments, according to Figure 3 The neighbor device chain obtained in the manner shown is shown in Table 1.
[0105] AP1 AP2 AP3 AP5 AP4 AP6
[0106] Table 1
[0107] Assume that the AP devices in Table 1 need to be divided into three batches. The process of dividing the AP devices in Table 1 into batches can be implemented as follows:
[0108] The APs in the generated neighbor data link are divided into batches from the front to the back. AP 1 is divided into the first batch, AP 2 is divided into the second batch, and AP 3 is divided into the third batch. Then AP 5, AP 4, and AP 6 are divided into three batches respectively. Finally, the AP batch table is generated as shown in Table 2-4.
[0109] AP1 AP5
[0110] Table 2
[0111] AP2 AP4
[0112] Table 3
[0113] AP3 AP6
[0114] Table 4
[0115] During the batch migration process: first migrate the first batch of APs: AP1 and AP5. AP2 has the strongest signal strength with AP1, and AP4 has the strongest signal strength with AP5. Migrate the client devices connected to AP1 to AP2, and migrate the client devices connected to AP5 to AP4. In this way, the client devices can obtain better network services during the AP device migration process.
[0116] In some embodiments, the wireless access devices in each migration group are migrated and connected to a second access control device in groups, including: determining a target migration group to be migrated from multiple migration groups; sending preset policy control information to each wireless access device belonging to the target migration group, the preset policy control information being used to instruct the wireless access devices in the target migration group to adjust device parameters so that the clients currently connected to the wireless access devices in the target migration group are migrated and connected to corresponding neighboring wireless access devices; and sending first connection control information to each wireless access device in the target migration group, the first connection control information being used to instruct the wireless access devices in the target migration group to connect to the second access control device.
[0117] The preset policy control information may include power adjustment, 802.11v BTM Request, stop Beacon message, etc.
[0118] Power adjustment can be to reduce the signal strength of the wireless access device so that the client connected to the wireless access device can connect to other wireless access devices. 802.11v BTM Request is a handover management function defined in the 802.11v standard, which allows wireless clients to roam seamlessly between different wireless access devices without re-establishing connections or interrupting network services. Stopping Beacon messages means that the wireless access device terminates the network service, and the client connected to it needs a new wireless access to connect.
[0119] The preset policy control information is used to instruct the wireless access devices in the target migration group to adjust device parameters so that the clients currently connected to the wireless access devices in the target migration group are migrated to the corresponding neighboring wireless access devices.
[0120] The first connection control information is used to set the access control master device of the wireless access device as the second access control device, so that the wireless access device is connected to the second access control device.
[0121] In some embodiments, controlling each wireless access device connected to the second access control device to perform a software upgrade, and controlling the upgraded wireless access device to migrate and connect to the first access control device, includes: dividing each wireless access device connected to the second access control device into multiple upgrade groups; determining a target upgrade group to be upgraded from the multiple upgrade groups; sending first upgrade control information to the wireless access devices in the target upgrade group respectively, the first upgrade control information being used to instruct the wireless access devices in the target upgrade group to upgrade and migrate and connect to the first access control device after the upgrade is completed; and sending the first upgrade control information to the wireless access devices in the next target upgrade group until the upgrade and migration are completed with multiple upgrade groups.
[0122] During the upgrade process of the wireless access device, it is also necessary to connect multiple clients connected to the wireless access device to other wireless access devices. Therefore, the wireless access device also needs to be upgraded in batches.
[0123] The process of determining the upgrade group is consistent with the process of determining the migration group described above, and will not be described in detail here.
[0124] It is understandable that in order to improve the efficiency of software upgrade of all devices in the wireless network, after each batch of wireless access devices is upgraded, the batch of wireless access devices can be migrated so that the upgrade process and the migration process can be performed synchronously.
[0125] In some embodiments, controlling the second access control device to perform software upgrade includes:
[0126] Send second upgrade control information to the second access control device, where the second upgrade control information is used to instruct the second access control device to perform an upgrade.
[0127] In some embodiments, after controlling the second access control device to perform software upgrade, the method further includes:
[0128] Determine the target wireless access device connected to the second access control device before the upgrade in the historical connection record table of the wireless access device currently connected to the first access control device; send third connection control information to the target wireless access device, and the third connection control information is used to instruct the target wireless access device to resume connection to the second access control device.
[0129] In some embodiments, before the upgrade is the time before all devices are upgraded. Generally, the AP device does store the history records of connected AC devices. According to the search results, the target wireless access device connected to the second access control device before the upgrade can be obtained. Therefore, the third connection control information can be sent to the target wireless access device, and the third connection control information is used to instruct the target wireless access device to resume connection to the second access control device. In this way, the load of each access control device is restored.
[0130] In some embodiments, after controlling the second access control device to perform a software upgrade, the method further includes: determining the access control device with the highest priority among the wireless access devices currently connected to the first access control device; determining the access control device with the highest priority as the target wireless access device of the second access control device; and sending fourth connection control information to the target wireless access device, the fourth connection control information being used to indicate that the target wireless access device is connected to the second access control device.
[0131] In some embodiments, after all devices are upgraded, the access control device to be connected by each wireless access device can be determined based on the priority of each wireless access device by two access control devices. Therefore, the access control device with the highest priority of the wireless access device currently connected to the first access control device is determined, and the target wireless access device with the highest priority of the second access control device is connected to the second access control device. The wireless access device with the highest priority of the first access control device is now connected to the first access control device, so the wireless access device is not controlled.
[0132] In some embodiments, the method also includes: obtaining and storing a first version upgrade file corresponding to the first access control device; obtaining a second version upgrade file corresponding to the second access control device and a third version upgrade file corresponding to each wireless access device; sending the second version upgrade file to the second access control device, and sending the third version upgrade files corresponding to the wireless access devices to the corresponding wireless access devices respectively.
[0133] Among them, the version upgrade file corresponding to each device is generally different. The access control main device can receive the version upgrade files of all devices in the wireless network and send the version upgrade files to the corresponding devices in advance so that the devices can load the version files in advance. After receiving the corresponding upgrade control information, the software can be upgraded by restarting.
[0134] In addition, the present application embodiment also provides a flowchart of a method for upgrading software of a wireless network device, such as Figure 4 As shown, the following steps are included. The embodiment of the present application takes the execution subject as a wireless access device as an example to illustrate the method for upgrading the software of a wireless network device.
[0135] S401: In response to first connection control information sent by a first access control device to which a wireless access device is currently connected, migrate the connection to a second access control device.
[0136] The first access control device and the second access control device belong to the same wireless local area network.
[0137] Since two access control devices are set in the wireless network, when the software of the wireless network devices is to be upgraded, one of the access control devices can be upgraded first. Therefore, the wireless access devices connected to the first access control device can be controlled to migrate to the second access control device.
[0138] S402: In response to first upgrade control information sent after the first access control device is upgraded, perform software upgrade on the wireless access device.
[0139] After a certain access control device completes software upgrade, the wireless access device may be upgraded in software. At this time, the first upgrade control information may be received to upgrade the software of the wireless access device.
[0140] The wireless access device may perform software upgrade in a manner of preloading a version upgrade file, and after receiving the first upgrade control information, restarting the wireless access device to complete the software upgrade.
[0141] S403: In response to the second connection control information sent by the first access control device, migrate the connection to the first access control device.
[0142] After the wireless access device performs software upgrade, the software upgrade of another access control device needs to be completed, so the access control device needs to be in an idle state so that it can receive the second connection control information sent in response to the first access control device and migrate the connection to the first access control device.
[0143] In some embodiments, in response to first upgrade control information sent after the first access control device is upgraded, before performing a software upgrade on the wireless access device, the method also includes: receiving preset policy information; adjusting device parameters according to the preset policy information so that the currently connected client migrates to the corresponding neighboring wireless access device.
[0144] It is understandable that each wireless access device is connected to multiple clients. Therefore, it is necessary to upgrade the wireless access devices connected to the second access control device in batches. Before upgrading each batch of wireless access devices, it is necessary to connect the multiple clients connected to the batch of wireless access devices to other wireless access devices.
[0145] The preset policy control information may include power adjustment, 802.11v BTM Request, stopping sending Beacon messages, etc.
[0146] Power adjustment can be to reduce the signal strength of the wireless access device so that the client connected to the wireless access device can connect to other wireless access devices. 802.11v BTM Request is a switching management function defined in the 802.11v standard, which allows wireless clients to roam seamlessly between different wireless access devices without re-establishing connections or interrupting network services. Stopping the sending of Beacon messages means that the wireless access device terminates the network service, and the client connected to it needs a new wireless access to connect.
[0147] The preset policy control information is used to instruct the wireless access devices in the target migration group to adjust device parameters so that the clients currently connected to the wireless access devices in the target migration group are migrated to the corresponding neighboring wireless access devices.
[0148] The embodiment of the present application also provides a wireless network device software upgrade device, which is applied to a first access control device and is used to perform the above Figure 2 The wireless network device software upgrade method in the embodiment is as follows: Figure 5 As shown, the device comprises:
[0149] A control module 501 is used to control all wireless access devices connected to the first access control device to migrate and connect to a second access control device, where the second access control device and the first access control device belong to the same wireless local area network;
[0150] An upgrading module 502, configured to perform software upgrading on the first access control device;
[0151] The control module 501 is further configured to control each wireless access device connected to the second access control device to perform software upgrade, and control the upgraded wireless access device to migrate and connect to the first access control device;
[0152] The control module 501 is further configured to control the second access control device to perform software upgrade.
[0153] The present application proposes a wireless network device software upgrade device, which is applied to a first access control device. The method includes: controlling all wireless access devices connected to the first access control device to migrate and connect to a second access control device, and the second access control device and the first access control device belong to the same wireless local area network; performing software upgrade on the first access control device; controlling each wireless access device connected to the second access control device to perform software upgrade, and controlling the upgraded wireless access device to migrate and connect to the first access control device; and controlling the second access control device to perform software upgrade. The embodiment of the present application ensures that wireless services are not interrupted or the interruption time is minimized during the upgrade process by load normalization and wireless access batch upgrade, thereby maximizing the user's experience of continuous use of the wireless network.
[0154] In some embodiments, the control module 501 is specifically configured to:
[0155] dividing the wireless access devices connected to the first access control device into a plurality of migration groups;
[0156] The wireless access devices in each migration group are migrated and connected to the second access control device in groups.
[0157] In some embodiments, the control module 501 is further specifically configured to:
[0158] Based on the signal strength between each wireless access device in the wireless local area network, the wireless access devices connected to the first access control device are divided into a plurality of migration groups.
[0159] In some embodiments, the control module 501 is further specifically configured to:
[0160] Based on the signal strength between each wireless access device in the wireless local area network, a neighbor device chain of the wireless local area network is determined; the wireless access devices in the neighbor device chain are arranged in descending order according to the signal strength of the link formed with the base point device, and the base point device is any wireless access device in the wireless local area network;
[0161] Based on the neighbor device chain, the wireless access devices connected to the first access control device are divided into a plurality of migration groups.
[0162] In some embodiments, the control module 501 is further specifically configured to:
[0163] Selecting any wireless access device in the wireless local area network as a base point device;
[0164] Adding the base point device as the starting point of the neighbor device chain to the neighbor device chain;
[0165] Adding neighbor wireless access devices of the base point device to the neighbor device chain in order of signal strength from large to small, wherein the signal strength between the neighbor wireless access devices of the base point device and the base point device is higher than a preset threshold;
[0166] For each wireless access device in the neighbor device chain, determine the neighbor wireless access device of each wireless access device respectively, and add the neighbor wireless access devices corresponding to each wireless access device to the neighbor device chain in descending order of signal strength of the link formed with the base point device;
[0167] If there is an isolated wireless access device without a neighboring wireless access device, the isolated wireless access device is added to the end of the neighboring device chain in ascending order of device identifiers.
[0168] In some embodiments, the control module 501 is further specifically configured to:
[0169] Determining the number of groups to be divided based on the number of wireless access devices connected to the first access control device;
[0170] According to the arrangement order of the wireless access devices in the neighbor device chain, the number of wireless access devices in the group is selected in sequence from the wireless access devices connected to the first access control device and divided into different migration groups until all the wireless access devices connected to the first access control device are traversed to obtain the number of migration groups in the group.
[0171] In some embodiments, the control module 501 is further specifically configured to:
[0172] Determining a target migration group to be migrated currently from the multiple migration groups;
[0173] Sending preset policy control information to each wireless access device belonging to the target migration group, wherein the preset policy control information is used to instruct the wireless access devices in the target migration group to adjust device parameters so that the clients currently connected to the wireless access devices in the target migration group are migrated to the corresponding neighboring wireless access devices;
[0174] First connection control information is sent to each wireless access device of the target migration group, where the first connection control information is used to instruct the wireless access device of the target migration group to connect to a second access control device.
[0175] In some embodiments, the control module 501 is further specifically configured to:
[0176] dividing each wireless access device connected to the second access control device into a plurality of upgrade groups;
[0177] Determine a target upgrade group to be currently upgraded from the multiple upgrade groups;
[0178] First upgrade control information is respectively sent to the wireless access devices in the target upgrade group, where the first upgrade control information is used to instruct the wireless access devices in the target upgrade group to upgrade and migrate to the first access control device after the upgrade is completed.
[0179] The first upgrade control information is sent to the wireless access device in the next target upgrade group until the upgrade and migration of the multiple upgrade groups are completed.
[0180] In some embodiments, the control module 501 is further specifically configured to:
[0181] Send second upgrade control information to the second access control device, where the second upgrade control information is used to instruct the second access control device to upgrade.
[0182] In some embodiments, the above-mentioned apparatus further includes: a determination module and a sending module;
[0183] A determination module, configured to determine, among the wireless access devices currently connected to the first access control device, a target wireless access device connected to the second access control device before the upgrade;
[0184] The sending module is used to send third connection control information to the target wireless access device, where the third connection control information is used to instruct the target wireless access device to resume connection to the second access control device.
[0185] In some embodiments, the first access control device is an access control device with the least load in the wireless local area network.
[0186] In some embodiments, the above device further includes an acquisition module:
[0187] The acquisition module is used to: acquire and store a first version upgrade file corresponding to the first access control device;
[0188] Obtaining a second version upgrade file corresponding to the second access control device and a third version upgrade file corresponding to each wireless access device;
[0189] The sending module is further used to send the second version upgrade file to the second access control device, and send the third version upgrade file corresponding to the wireless access device to the corresponding wireless access device respectively.
[0190] The present application also provides a wireless network device software upgrade device, which is applied to a wireless access device and is used to perform the above Figure 4 The wireless network device software upgrade method in the embodiment is as follows: Figure 6 As shown, the device comprises:
[0191] A migration module 601, configured to migrate the connection to a second access control device in response to first connection control information sent by a first access control device to which the wireless access device is currently connected, wherein the first access control device and the second access control device belong to the same wireless local area network;
[0192] An upgrading module 602 is configured to perform software upgrading on the wireless access device in response to first upgrading control information sent after the first access control device is upgraded;
[0193] The migration module 601 is further configured to migrate the connection to the first access control device in response to the second connection control information sent by the first access control device.
[0194] In some embodiments, the above-mentioned device further includes a receiving module and an adjusting module;
[0195] A receiving module, used for receiving preset strategy information;
[0196] The adjustment module is used to adjust the device parameters according to the preset policy information so that the currently connected client can migrate and connect to the corresponding neighbor wireless access device.
[0197] Please refer to the following Figure 7 , which shows a schematic diagram of an electronic device provided by some embodiments of the present application. Figure 7 As shown, the electronic device 7 includes: a processor 700, a memory 701, a bus 707 and a communication interface 703, and the processor 700, the communication interface 703 and the memory 701 are connected via the bus 707; the memory 701 stores a computer program that can be run on the processor 700, and when the processor 700 runs the computer program, the wireless network device software upgrade method provided in any of the aforementioned embodiments of the present application is executed.
[0198] The memory 701 may include a high-speed random access memory (RAM), and may also include a non-volatile memory, such as at least one disk memory. The communication connection between the system network element and at least one other network element is realized through at least one communication interface 703 (which may be wired or wireless), and the Internet, wide area network, local area network, metropolitan area network, etc. may be used.
[0199] The bus 707 may be an ISA bus, a PCI bus, or an EISA bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The memory 701 is used to store programs, and the processor 700 executes the programs after receiving the execution instruction. The wireless network device software upgrade method disclosed in any implementation of the embodiment of the present application may be applied to the processor 700, or implemented by the processor 700.
[0200] The processor 700 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the processor 700. The above processor 700 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a readily available programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor, etc. The steps of the method disclosed in the embodiments of the present application can be directly embodied as a hardware decoding processor to be executed, or the hardware and software modules in the decoding processor can be executed. The software module can be located in a mature storage medium in the field such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 701, and the processor 700 reads the information in the memory 701 and completes the steps of the above method in combination with its hardware.
[0201] The electronic device provided in the embodiment of the present application and the wireless network device software upgrade method provided in the embodiment of the present application are based on the same application concept and have the same beneficial effects as the methods adopted, run or implemented therein.
[0202] The present application also provides a computer-readable storage medium corresponding to the wireless network device software upgrade method provided in the above embodiment. Figure 8 , Figure 8 The computer-readable storage medium shown is an optical disc 30 on which a computer program (ie, a program product) is stored. When the computer program is executed by a processor, the method for upgrading the software of a wireless network device provided in any of the aforementioned embodiments will be executed.
[0203] In addition, examples of the computer-readable storage medium may also include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other optical or magnetic storage media, which are not listed here one by one.
[0204] The computer-readable storage medium provided in the above-mentioned embodiment of the present application and the wireless network device software upgrade method provided in the embodiment of the present application are based on the same application concept and have the same beneficial effects as the method adopted, run or implemented by the application program stored therein.
[0205] It should be noted that the algorithms and displays provided herein are not inherently related to any particular computer, virtual device, or other device. Various general-purpose devices may also be used in conjunction with the teachings herein. Based on the above description, it is apparent that the structures required to construct such devices are suitable. In addition, the present application is not directed to any particular programming language. It should be understood that the contents of the present application described herein may be implemented using various programming languages, and the description of the specific languages above is intended to disclose the best implementation of the present application.
[0206] Similarly, it should be understood that in order to streamline the present application and aid in understanding one or more of the various application aspects, in the above description of the exemplary embodiments of the present application, the various features of the present application are sometimes grouped together into a single embodiment, figure, or description thereof. However, this disclosed method should not be interpreted as reflecting the following intention: the claimed application requires more features than the features explicitly recited in each claim. More specifically, as reflected in the claims below, the application aspects lie in less than all the features of the single embodiment disclosed above. Therefore, the claims following the specific embodiment are hereby expressly incorporated into the specific embodiment, with each claim itself serving as a separate embodiment of the present application.
[0207] The various component embodiments of the present application can be implemented in hardware, or in software modules running on one or more processors, or in a combination thereof. It should be understood by those skilled in the art that a microprocessor or digital signal processor (DSP) can be used in practice to implement some or all functions of some or all components in the creation device of the virtual machine according to the embodiment of the present application. The present application can also be implemented as a device or device program for executing part or all of the methods described herein. The program implementing the present application can be stored on a computer-readable medium, or can have the form of one or more signals. Such a signal can be downloaded from an Internet website, or provided on a carrier signal, or provided in any other form.
[0208] The above is only a preferred specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A method for upgrading software of a wireless network device, characterized in that: Applied to a first access control device, the method includes: Controlling all wireless access devices connected to the first access control device to migrate and connect to a second access control device, where the second access control device and the first access control device belong to the same wireless local area network; Performing software upgrade on the first access control device; Controlling each wireless access device connected to the second access control device to perform software upgrade, and controlling the upgraded wireless access device to migrate and connect to the first access control device; Control the second access control device to perform software upgrade.
2. The method according to claim 1, characterized in that: The controlling the wireless access devices connected to the first access control device to migrate and connect to the second access control device includes: dividing the wireless access devices connected to the first access control device into a plurality of migration groups; The wireless access devices in each migration group are migrated and connected to the second access control device in groups.
3. The method according to claim 2, characterized in that The dividing the wireless access devices connected to the first access control device into a plurality of migration groups includes: Based on the signal strength between each wireless access device in the wireless local area network, the wireless access devices connected to the first access control device are divided into a plurality of migration groups.
4. The method according to claim 3, characterized in that The dividing the wireless access devices connected to the first access control device into a plurality of migration groups based on the signal strength between each wireless access device in the wireless local area network includes: Based on the signal strength between each wireless access device in the wireless local area network, determine a neighbor device chain of the wireless local area network, wherein each wireless access device in the neighbor device chain is arranged in descending order according to the signal strength of the link formed with the base point device, and the base point device is any wireless access device in the wireless local area network; Based on the neighbor device chain, the wireless access devices connected to the first access control device are divided into a plurality of migration groups.
5. The method according to claim 4, characterized in that The step of determining a neighbor device chain of the wireless local area network based on the signal strength between each wireless access device in the wireless local area network includes: Selecting any wireless access device in the wireless local area network as a base point device; Adding the base point device as the starting point of the neighbor device chain to the neighbor device chain; Adding neighbor wireless access devices of the base point device to the neighbor device chain in order of signal strength from large to small, wherein the signal strength between the neighbor wireless access devices of the base point device and the base point device is higher than a preset threshold; For each wireless access device in the neighbor device chain, determine the neighbor wireless access device of each wireless access device respectively, and add the neighbor wireless access devices corresponding to each wireless access device to the neighbor device chain in descending order of signal strength of the link formed with the base point device; If there is an isolated wireless access device without a neighboring wireless access device, the isolated wireless access device is added to the end of the neighboring device chain in ascending order of device identifiers.
6. The method according to claim 5, characterized in that The dividing the wireless access devices connected to the first access control device into a plurality of migration groups based on the neighbor device chain includes: Determining the number of groups to be divided based on the number of wireless access devices connected to the first access control device; According to the arrangement order of the wireless access devices in the neighbor device chain, the number of wireless access devices in the group is selected in sequence from the wireless access devices connected to the first access control device and divided into different migration groups until all the wireless access devices connected to the first access control device are traversed to obtain the number of migration groups in the group.
7. The method according to claim 2, characterized in that The step of migrating the wireless access devices in each migration group to the second access control device in groups comprises: Determining a target migration group to be migrated currently from the multiple migration groups; Sending preset policy control information to each wireless access device belonging to the target migration group, wherein the preset policy control information is used to instruct the wireless access devices in the target migration group to adjust device parameters so that the clients currently connected to the wireless access devices in the target migration group are migrated to the corresponding neighboring wireless access devices; First connection control information is sent to each wireless access device of the target migration group, where the first connection control information is used to instruct the wireless access device of the target migration group to connect to a second access control device.
8. The method according to claim 2, characterized in that: The controlling each wireless access device connected to the second access control device to perform software upgrade, and controlling the upgraded wireless access device to migrate and connect to the first access control device, includes: dividing each wireless access device connected to the second access control device into a plurality of upgrade groups; Determine a target upgrade group to be currently upgraded from the multiple upgrade groups; Sending first upgrade control information to the wireless access devices in the target upgrade group respectively, where the first upgrade control information is used to instruct the wireless access devices in the target upgrade group to upgrade and migrate and connect to the first access control device after the upgrade is completed; The first upgrade control information is sent to the wireless access device in the next target upgrade group until the upgrade and migration of the multiple upgrade groups are completed.
9. The method according to claim 1, characterized in that: The controlling the second access control device to perform software upgrade includes: Send second upgrade control information to the second access control device, where the second upgrade control information is used to instruct the second access control device to upgrade.
10. The method according to claim 1, characterized in that After controlling the second access control device to perform software upgrade, the method further includes: Determine, in a historical connection record table of wireless access devices currently connected to the first access control device, a target wireless access device connected to the second access control device before the upgrade; Sending third connection control information to the target wireless access device, where the third connection control information is used to instruct the target wireless access device to connect to the second access control device.
11. The method according to claim 1, characterized in that: After controlling the second access control device to perform software upgrade, the method further includes: Determine the access control device with the highest priority among the wireless access devices currently connected to the first access control device; Determine the access control device with the highest priority as the target wireless access device of the second access control device; Send fourth connection control information to the target wireless access device, where the fourth connection control information is used to instruct the target wireless access device to connect to the second access control device.
12. The method according to claim 1, characterized in that The first access control device is an access control device with the least load in the wireless local area network.
13. The method according to claim 1, characterized in that The method further comprises: Acquire and store a first version upgrade file corresponding to the first access control device; Obtaining a second version upgrade file corresponding to the second access control device and a third version upgrade file corresponding to each wireless access device; The second version upgrade file is sent to the second access control device, and the third version upgrade files corresponding to the wireless access devices are respectively sent to the corresponding wireless access devices.
14. A method for upgrading software of a wireless network device, characterized in that: Applied to a wireless access device, the method comprises: In response to first connection control information sent by a first access control device to which the wireless access device is currently connected, migrating the connection to a second access control device, wherein the first access control device and the second access control device belong to the same wireless local area network; In response to first upgrade control information sent after the first access control device is upgraded, performing software upgrade on the wireless access device; In response to the second connection control information sent by the first access control device, the connection is migrated to the first access control device.
15. The method according to claim 14, characterized in that In response to the first upgrade control information sent after the first access control device is upgraded, before performing software upgrade on the wireless access device, the method further includes: Receiving preset strategy information; The device parameters are adjusted according to the preset policy information so that the currently connected client is migrated to the corresponding neighbor wireless access device.
16. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein: The processor executes the computer program to implement the method according to any one of claims 1 to 15.
17. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the method according to any one of claims 1 to 15.
18. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 15 is implemented.
Citation Information
Cited By
Network topology aware edge device non-inductive upgrading method and system and medium
CN121193608A