CN108882277B - Version upgrading method and device - Google Patents
Version upgrading method and device Download PDFInfo
- Publication number
- CN108882277B CN108882277B CN201810523841.9A CN201810523841A CN108882277B CN 108882277 B CN108882277 B CN 108882277B CN 201810523841 A CN201810523841 A CN 201810523841A CN 108882277 B CN108882277 B CN 108882277B
- Authority
- CN
- China
- Prior art keywords
- source
- version
- file
- latest version
- upgrading
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/04—Arrangements for maintaining operational condition
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/65—Updates
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0813—Configuration setting characterised by the conditions triggering a change of settings
- H04L41/082—Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
- Stored Programmes (AREA)
Abstract
The invention provides a method and a device for version upgrading, which are used for judging whether a source AP needs version upgrading or not according to version information of the source AP of an adding request message carried by the adding request message and acquired preset version information of the source AP after the AP for the Mesh service completes version upgrading, wherein when the AP for the Mesh service is MP, the source AP is MAP, and when the AP for the Mesh service is MPP, the source AP is MP; if yes, replying an adding response message to the source AP to trigger the source AP to send a file request of the latest version; and receiving a latest version file request sent by the source AP, and sending a latest version file to the source AP according to the latest version file request. Therefore, the source AP can be prevented from requesting the version file from the AC, the load of the AC is relieved, and the impact of the flow of version downloading on the Mesh link is relieved.
Description
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method and an apparatus for version upgrading.
Background
A Mesh network includes a plurality of APs (Access points) providing a Mesh service, which can establish a wireless connection with each other and are controlled by an AC (Access Controller). The APs providing the Mesh service in the Mesh network may be of the following types: MP (Mesh Point, Mesh node), which provides only Mesh service; MAP (Mesh Access Point, Mesh Access node), which provides Mesh service and Access service at the same time; MPP (Mesh Portal Point), which connects a Mesh network (i.e., provides Mesh services) and a non-Mesh network.
At present, when version upgrading is performed on MP And MAP in a Mesh network, a temporary Mesh link is generally established with a Mesh neighbor first, a relevant configuration is downloaded from an AC, then a positive Mesh link is established, a CAPWAP (control And provisioning protocol) connection is established with the AC, And a latest version file is downloaded. When there are many MPs and MAPs that need to be upgraded in the Mesh network, all version files need to be downloaded from the AC, which inevitably causes large impact to the Mesh link and the AC, and further causes situations such as too long downloading time of the version files or disconnection of the Mesh link due to flow impact, and the like, which affects normal operation of the Mesh network.
Disclosure of Invention
In view of this, the present invention provides a method and an apparatus for version upgrade to reduce the impact of the MP and the MAP on the AC and the Mesh link during the version upgrade process in the prior art.
Specifically, the invention is realized by the following technical scheme:
the invention provides a method for upgrading version, which is applied to an AP (access point) providing MESH service in a MESH network, wherein the AP providing MESH service is an MP (MESH point) or an MPP (maximum power point), and the method comprises the following steps:
after version upgrading is finished, if an adding request message is monitored, judging whether the source AP needs version upgrading according to version information of a source AP of the adding request message carried by the adding request message and acquired preset version information of the source AP, wherein when the AP providing Mesh service is MP, the source AP is MAP, and when the AP providing Mesh service is MPP, the source AP is MP;
if yes, replying a join response message to the source AP so as to enable the source AP to send a file request of the latest version;
and receiving a latest version file request sent by the source AP, and sending a latest version file to the source AP according to the latest version file request.
Further, determining whether the source AP needs version upgrade according to version information of the source AP of the join request packet carried by the join request packet and the acquired predetermined version information of the source AP, includes:
determining whether the version information of the source AP is the same as the predetermined version information,
if not, determining that the source AP needs version upgrading;
and if so, determining that the source AP does not need version upgrading.
Further, obtaining the version information predetermined by the source AP includes:
acquiring the equipment model of the source AP;
comparing whether the equipment model of the AP is the same as that of the source AP or not;
if the version information of the AP is the same as the preset version information of the source AP, determining the version information of the AP as the preset version information of the source AP;
if the source AP is different from the source AP, the equipment model and the version information carried by the joining request message are sent to the AC, the latest version information returned by the AC is received, and the received latest version information is determined as the preset version information of the source AP.
Further, sending the latest version file to the source AP according to the latest version file request includes:
checking whether the latest version file requested by the latest version file request exists locally;
if not, downloading the latest version file requested by the latest version file request from the AC, and sending the downloaded latest version file to the source AP;
and if so, sending the latest version file requested by the locally-existing latest version file request to the source AP.
Further, the method further comprises:
before upgrading is not finished, sending an adding request message to the AC;
when the AP providing the Mesh service is the MP, receiving a joining response message sent by the opposite-end MPP which finishes upgrading, sending a latest version file request to the opposite-end MPP which finishes upgrading, receiving the opposite-end MPP which finishes upgrading, sending a latest version file and upgrading the version;
and when the AP providing the Mesh service is the MPP, receiving an adding response message sent by an AC, sending a file request of the latest version to the AC, receiving the file of the latest version sent by the AC, and upgrading the version.
Based on the same conception, the invention also provides a version upgrading device, which is applied to the AP providing the Mesh service in the Mesh network, wherein the AP providing the Mesh service is an MP or an MPP, and the device comprises:
the version judging unit is used for judging whether the source AP needs version upgrading or not according to version information of a source AP of the adding request message carried by the adding request message and acquired preset version information of the source AP after the version upgrading of the source AP is finished, wherein when the AP providing Mesh service is MP, the source AP is MAP, and when the AP providing Mesh service is MPP, the source AP is MP;
a message reply unit, configured to reply an add response message to a source AP if the source AP needs version upgrade, so as to trigger the source AP to send a file request of a latest version;
and the file sending unit is used for receiving the latest version file request sent by the source AP and sending the latest version file to the source AP according to the latest version file request.
Further, the version determining unit is specifically configured to determine whether the version information of the source AP is the same as the predetermined version information, and if not, determine that the source AP needs to be version-upgraded; and if so, determining that the source AP does not need version upgrading.
Further, the apparatus further comprises:
an information obtaining unit, configured to obtain a device model of the source AP, and compare whether the device model of the source AP is the same as the device model of the source AP; if the version information of the AP is the same as the preset version information of the source AP, determining the version information of the AP as the preset version information of the source AP; if the source AP is different from the source AP, the equipment model and the version information carried by the joining request message are sent to the AC, the latest version information returned by the AC is received, and the received latest version information is determined as the preset version information of the source AP.
Further, the file sending unit is specifically configured to check whether a latest version file requested by the latest version file request exists locally; if not, downloading the latest version file requested by the latest version file request from the AC, and sending the downloaded latest version file to the source AP; and if so, sending the latest version file requested by the locally-existing latest version file request to the source AP.
Further, the apparatus further comprises:
the version upgrading unit is used for sending an adding request message to the AC before upgrading is not finished; when the AP providing the Mesh service is the MP, receiving a joining response message sent by the opposite-end MPP which finishes upgrading, sending a latest version file request to the opposite-end MPP which finishes upgrading, receiving the opposite-end MPP which finishes upgrading, sending a latest version file and upgrading the version; and when the AP providing the Mesh service is the MPP, receiving an adding response message sent by an AC, sending a file request of the latest version to the AC, receiving the file of the latest version sent by the AC, and upgrading the version.
Therefore, after version upgrading of the AP providing Mesh service is completed, if the adding request message is monitored, whether the source AP adding the request message needs version upgrading is judged according to version information of the source AP carried by the adding request message and the acquired preset version information, if yes, an adding response message is replied to the source AP, and the source AP is triggered to send a file request of the latest version; then receiving a latest version file request sent by the source AP, and sending a latest version file to the source AP according to the latest version file request; wherein, when the AP providing the Mesh service is the MP, the source AP is the MAP, and when the AP providing the Mesh service is the MPP, the source AP is the MP. Because the AP (MPP or MP) providing Mesh service can judge whether the source AP sending the joining request message needs version upgrading by the proxy AC and send the latest version file to the source AP by the proxy AC, the invention can avoid the source AP from requesting the version file from the AC and reduce the burden of the AC; and because the AP providing the Mesh service and the source AP are only separated by one hop of Mesh link, compared with the prior art that the source AP downloads the latest version file from the AC, the impact of the flow transmitted by the version file on the Mesh link can be relieved by sending the latest version file to the source AP by the AP providing the Mesh service.
Drawings
Fig. 1 is a schematic diagram of a Mesh network in the prior art;
FIG. 2 is a process flow diagram of a method of version upgrade in an exemplary embodiment of the invention;
FIG. 3 is a process flow diagram of a version upgrade in an exemplary embodiment of the invention;
FIG. 4a is a hardware block diagram of an AP with a version-up device according to an exemplary embodiment of the present invention;
FIG. 4b is a logical block diagram of an apparatus for version upgrading in an exemplary embodiment of the invention.
Detailed Description
In the Mesh network, different types of APs providing the Mesh service have different version upgrading processes, and taking the Mesh network structure of fig. 1 as an example, the version upgrading process of the AP providing the Mesh service is described as follows:
the version upgrading process of the MPP comprises the following steps: the MPP establishes CAPWAP connection with the AC through a wire, and finishes version upgrading through a wire link according to a standard firmware upgrading method;
the version upgrading process of the MP comprises the following steps: the MP establishes a temporary Mesh link with the MPP first, and downloads relevant configuration information from the AC; thirdly, establishing a formal Mesh link with the MPP again through negotiation, and then downloading the latest version file by establishing CAPWAP connection with the AC to finish version upgrading;
and (3) version upgrading process of MAP: MAP establishes a temporary Mesh link with MP first, and downloads relevant configuration information from AC; and then, negotiating with the MP again to establish a formal Mesh link, and then establishing CAPWAP connection with the AC to download the latest version file so as to finish version upgrading.
At present, in the process of upgrading the version of the AP providing the Mesh service in the Mesh network, each AP providing the Mesh service needs to download the latest version file through the AC, so that the AP providing the Mesh service will inevitably have a certain impact on the AC when upgrading the version; in addition, when the MP and the MAP are upgraded, the version file needs to be transmitted through the Mesh link, and particularly during the MAP upgrading process, the version file needs to be transmitted both on the Mesh link between the MP and the MPP and on the Mesh link between the MP and the MAP. When the bandwidth of one of the Mesh links is relatively low, the flow for downloading the version file may impact the Mesh link, thereby causing the situations that the downloading time of the version file is too long or the Mesh link is broken by the flow impact, and the like.
In order to solve the problems in the prior art, the invention provides a method and a device for version upgrading, which can enable an AP providing Mesh service to judge whether the source AP needs version upgrading or not through monitoring version information of a source AP of an adding request message carried by the adding request message after upgrading is finished and the acquired preset version information of the source AP; if the updating is needed, the agent AC replies an access response message to the source AP so as to enable the source AP to send a file request of the latest version; when the AP receives the latest version file request sent by the source AP, the latest version file may be sent to the source AP according to the latest version file request. Because the AP (MPP or MP) providing Mesh service can judge whether the source AP sending the joining request message needs version upgrading by the proxy AC and send the latest version file to the source AP by the proxy AC, the invention can avoid the source AP from requesting the version file from the AC and reduce the burden of the AC; and because the AP providing the Mesh service and the source AP are only separated by one hop of Mesh link, compared with the prior art that the source AP downloads the latest version file from the AC, the AP providing the Mesh service sends the latest version file to the source AP, and the impact of the flow transmitted by the version file on the Mesh link can be relieved.
Referring to fig. 2, a flowchart of a version upgrade method according to an exemplary embodiment of the present invention is applied to an AP providing a Mesh service in a Mesh network, where the AP providing the Mesh service is an MP or an MPP. The method comprises the following steps:
in this embodiment, when the AP providing the Mesh service is upgraded, the AP may serve as a proxy AC to monitor an add request packet sent to the AC by an AP downstream from the AP providing the Mesh service, where the downstream AP is a source AP of the add request packet. When the AP providing the Mesh service is specifically the MPP, the monitored source AP is the MP; when the AP providing the Mesh service is specifically an MP, the source AP monitored by the AP is a MAP.
It should be noted that, in a multi-hop Mesh networking, if a plurality of upstream APs exist in a downstream AP, and each upstream AP finishes upgrading and starts a monitoring function of the downstream AP; when the downstream AP sends the join request message, an optimal link may be selected according to bandwidth or link loss calculation to send the join request message to the AC, and the upstream AP on the optimal link may monitor the join request message of the downstream AP. Other upstream APs will not receive the join request message of the downstream AP.
When the AP providing the Mesh service monitors an addition request packet, it may determine whether the source AP needs version upgrade according to version information of a source AP of the addition request packet carried by the addition request packet and acquired predetermined version information of the source AP. Specifically, the AP providing the Mesh service may obtain predetermined version information of the source AP; then judging whether the version information of the source AP is the same as the preset version information of the source AP or not, and if not, determining that the source AP needs version upgrading; if the source AP does not need version upgrading, the joining request message of the source AP can be transmitted to the AC through the source AP, and the source AP is enabled to be on-line formally on the AC.
It should be noted that the version information of the source AP is different from the predetermined version information of the source AP, and specifically may include: the version information of the source AP is higher than the predetermined version information, and the version information of the source AP is lower than the predetermined version information.
As an embodiment, the predetermined version information of the source AP may be obtained specifically by: because the discovery message and the join request message sent by the source AP both carry the device model of the source AP, the device model of the source AP can be obtained in the discovery message of the source AP, and the device model of the source AP can also be obtained in the join request message of the source AP, but when the discovery message of the source AP is received, if the device model is determined to be not supported on the AP providing Mesh service according to the device model of the source AP in the discovery message, the message of the source AP is refused to be processed, so that the unsupported device model can be filtered, and the version upgrading efficiency is improved; in addition, the device model of the source AP carried in the join request message may also be obtained.
The AP providing the Mesh service can compare whether the own equipment model is the same as the equipment model of the source AP or not; if the version information of the AP providing the Mesh service is the same as the version information of the source AP, the version information of the AP providing the Mesh service is determined to be the preset version information of the source AP; if the difference is different, the AP which needs to provide the Mesh service further sends the device model and the version information carried in the join request message to the AC, the AC searches the latest version information corresponding to the source AP according to the received device model and version information, and returns the latest version information corresponding to the source AP, and the AP which provides the Mesh service can determine the received latest version information as the predetermined version information of the source AP.
in this embodiment, when it is determined that the source AP needs version upgrade, the AP providing the Mesh service may reply an addition response packet to the source AP by using the proxy AC, so that the source AP sends a file request of the latest version when receiving the addition response packet.
In this embodiment, the AP providing the Mesh service receives a request sent by the source AP to receive the latest version file sent by the source AP, and may send the latest version file to the source AP according to the latest version file request, so that the source AP obtains the latest version file to complete version upgrade.
As an embodiment, when receiving a file request of a latest version sent by a source AP, an AP providing a Mesh service may further check whether a file of the latest version requested by the file request of the latest version exists locally; if not, downloading the latest version file requested by the latest version file request from the AC, and sending the downloaded latest version file to the source AP; if yes, the latest version file requested by the locally-existing latest version file request is sent to the source AP.
As an embodiment, before the AP providing the Mesh service does not complete the upgrade, an add request message may be sent to the AC, and when the AP providing the Mesh service is an MP, an add response message sent by the peer MPP that has completed the upgrade may be received, a latest version file request may be sent to the peer MPP that has completed the upgrade, and the peer MPP that has completed the upgrade may be received to send a latest version file and perform the version upgrade; when the AP providing the Mesh service is the MPP, the AP may receive an add response packet sent by an AC, send a latest version file request to the AC, receive the latest version file sent by the AC, and perform version upgrade.
Compared with the prior art, the invention receives the adding request message of the source AP by the upgraded AP proxy AC providing the Mesh service, and can send the version file to help the source AP to finish the version upgrade by the proxy AC. The AP providing the Mesh service can judge whether the source AP sending the joining request message needs version upgrading or not by the proxy AC and send the latest version file to the source AP by the proxy AC, so that the source AP can be prevented from requesting the version file to the AC, and the burden of the AC is reduced; and because the AP providing the Mesh service and the source AP are only separated by one hop of Mesh link, compared with the prior art that the source AP downloads the latest version file from the AC, the impact of the transmission of the version file on the Mesh link can be relieved by sending the latest version file to the source AP by the AP providing the Mesh service.
In order to make the objects, technical solutions and advantages of the present invention more clearly understood, the following takes the MPP and MP upgrading process in the Mesh network as an example, and the solution of the present invention is further described in detail with reference to fig. 3.
Fig. 3 is a flowchart of a version upgrade process in the embodiment of the present invention, and in the embodiment, an MPP is taken as an example of an agent AC of an MP to assist the MP in performing the version upgrade, which specifically describes a process flow of a Mesh AP version upgrade method provided by the present invention, where the method includes:
301, MPP requests the latest version file from AC through wired connection;
the role of the proxy AC is to listen to Discovery (Discovery) messages and Join Request (Join Request) messages sent by other MPs to the AC and provide version file downloading service for the downstream MPs.
305, monitoring a Discovery message sent by the MP by the MPP, and judging whether the equipment model of the MP is the same as that of the MPP; if yes, go to step 306; if not, go to step 310;
and 307, the MPP transparently transmits the Join Request message of the MP to the AC for processing.
After the MP is upgraded, steps similar to MPP for assisting the MP to finish version upgrading can be executed, and MAP is assisted to finish version upgrading.
311, when the latest version information corresponding to the MP returned by the AC is received, judging whether the latest version information of the MP is the same as the version information of the MP, and if so, turning to 307; if not, go to step 312;
Therefore, in the invention, when the types of the APs in the whole Mesh network are the same, the AC only needs to complete the upgrading of the MPP, and the AC sets itself to be the proxy AC role after the upgrading of the MPP is completed, so that the version upgrading process of the neighbor MP is completed; after MP upgrade is completed, MPP is switched to a normal role, and MP is switched to a proxy AC role, so that MAP upgrade is completed, impact on AC and MESH links can be reduced, and version upgrade efficiency of MP and MAP is improved. If the MPP, the MP and the MAP in the Mesh network only have one AP model, only the MPP downloads the latest version file from the AC, the MPP can be used as an agent AC to help the MP to upgrade the version after upgrading the MPP, and the MPP can be used as the agent AC to help the MAP to complete upgrading after upgrading the MP, so that the MP and the MAP cannot download the latest version file from the AC. In addition, when the MP and the MAP request to download the latest version file, the flow of the downloaded version file only passes through the one-hop Mesh link, and no overlarge impact is generated on a Mesh network, so that the impact of the transmission of the version file on the AC and the Mesh link can be effectively reduced.
Based on the same conception, the invention also provides a version upgrading device, which can be realized by software, or by hardware or a combination of the software and the hardware. Taking software implementation as an example, the version upgrading device of the present invention is a logical device, and is operated after a CPU of the device in which the version upgrading device is located reads corresponding computer program instructions in a memory.
Referring to fig. 4a, a version upgrade apparatus 400 according to an exemplary embodiment of the present invention is applied to an AP providing a Mesh service in a Mesh network, where the AP providing the Mesh service is an MP or an MPP, and the basic operating environment of the apparatus includes a CPU, a memory, and other hardware, and from a logic level, a logic structure of the apparatus 400 is as shown in fig. 4b, where:
a version determining unit 401, configured to determine, if an add request packet is monitored after version upgrade of the source AP completes itself, whether the source AP needs version upgrade according to version information of a source AP of the add request packet carried by the add request packet and acquired predetermined version information of the source AP, where the source AP is an MAP when the AP providing Mesh service is an MP, and the source AP is an MP when the AP providing Mesh service is an MPP;
a message replying unit 402, configured to reply an add response message to a source AP if the source AP needs version upgrade, so as to enable the source AP to send a file request of a latest version;
a file sending unit 403, configured to receive the latest version file request sent by the source AP, and send the latest version file to the source AP according to the latest version file request.
Optionally, the version determining unit 401 is specifically configured to determine whether the version information of the source AP is the same as the predetermined version information, and if not, determine that the source AP needs to be version-upgraded; and if so, determining that the source AP does not need version upgrading.
Optionally, the apparatus further comprises:
an information obtaining unit 404, configured to obtain a device model of the source AP, and compare whether the device model of the source AP is the same as the device model of the source AP; if the version information of the AP is the same as the preset version information of the source AP, determining the version information of the AP as the preset version information of the source AP; if the source AP is different from the source AP, the equipment model and the version information carried by the joining request message are sent to the AC, the latest version information returned by the AC is received, and the received latest version information is determined as the preset version information of the source AP.
Optionally, the file sending unit 403 is specifically configured to check whether a latest version file requested by the latest version file request exists locally; if not, downloading the latest version file requested by the latest version file request from the AC, and sending the downloaded latest version file to the source AP; and if so, sending the latest version file requested by the locally-existing latest version file request to the source AP.
Optionally, the apparatus further comprises:
a version upgrade unit 405, configured to send an add request message to the AC before upgrading is completed; when the AP providing the Mesh service is the MP, receiving a joining response message sent by the opposite-end MPP which finishes upgrading, sending a latest version file request to the opposite-end MPP which finishes upgrading, receiving the opposite-end MPP which finishes upgrading, sending a latest version file and upgrading the version; and when the AP providing the Mesh service is the MPP, receiving an adding response message sent by an AC, sending a file request of the latest version to the AC, receiving the file of the latest version sent by the AC, and upgrading the version.
In summary, the present invention enables an AP providing a Mesh service to, after completing version upgrade itself, if monitoring an add request message, determine whether the source AP of the add request message needs version upgrade according to version information of the source AP carried by the add request message and acquired predetermined version information, if so, reply an add response message to the source AP to trigger the source AP to send a file request of a latest version; then receiving a latest version file request sent by the source AP, and sending a latest version file to the source AP according to the latest version file request; wherein, when the AP providing the Mesh service is the MP, the source AP is the MAP, and when the AP providing the Mesh service is the MPP, the source AP is the MP. Because the AP (MPP or MP) providing Mesh service can judge whether the source AP sending the joining request message needs version upgrading by the proxy AC and send the latest version file to the source AP by the proxy AC, the invention can avoid the source AP from requesting the version file from the AC and reduce the burden of the AC; and because the AP providing the Mesh service and the source AP are only separated by one hop of Mesh link, compared with the prior art that the source AP downloads the latest version file from the AC, the impact of the flow transmitted by the version file on the Mesh link can be relieved by sending the latest version file to the source AP by the AP providing the Mesh service.
The implementation process of the functions and actions of each unit in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the application. One of ordinary skill in the art can understand and implement it without inventive effort.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.
Claims (10)
1. A version upgrading method is applied to an Access Point (AP) providing a Mesh service in a Mesh network, wherein the AP providing the Mesh service is a Mesh node (MP) or a Mesh portal node (MPP), and the method comprises the following steps:
after version upgrading is finished, if an adding request message is monitored, judging whether the source AP needs version upgrading according to version information of a source AP of the adding request message carried by the adding request message and acquired preset version information of the source AP, wherein when the AP providing Mesh service is MP, the source AP is a Mesh access node (MAP), and when the AP providing Mesh service is MPP, the source AP is MP; the AP providing the Mesh service and the source AP are separated by a one-hop Mesh link;
if yes, replying a join response message to the source AP so as to enable the source AP to send a file request of the latest version;
and receiving a latest version file request sent by the source AP, and sending a latest version file to the source AP according to the latest version file request.
2. The method according to claim 1, wherein determining whether the source AP needs version upgrade according to version information of a source AP of the join request packet carried by the join request packet and acquired predetermined version information of the source AP comprises:
determining whether the version information of the source AP is the same as the predetermined version information,
if not, determining that the source AP needs version upgrading;
and if so, determining that the source AP does not need version upgrading.
3. The method of claim 1, wherein obtaining the version information of the source AP subscription comprises:
acquiring the equipment model of the source AP;
comparing whether the equipment model of the AP is the same as that of the source AP or not;
if the version information of the AP is the same as the preset version information of the source AP, determining the version information of the AP as the preset version information of the source AP;
if the source AP is different from the source AP, the equipment model and the version information carried by the joining request message are sent to the AC, the latest version information returned by the AC is received, and the received latest version information is determined as the preset version information of the source AP.
4. The method of claim 1, wherein sending a latest version file to the source AP in accordance with the latest version file request comprises:
checking whether the latest version file requested by the latest version file request exists locally;
if not, downloading the latest version file requested by the latest version file request from the AC, and sending the downloaded latest version file to the source AP;
and if so, sending the latest version file requested by the locally-existing latest version file request to the source AP.
5. The method of claim 1, further comprising:
before upgrading is not finished, sending an adding request message to the AC;
when the AP providing the Mesh service is the MP, receiving a joining response message sent by the opposite-end MPP which finishes upgrading, sending a latest version file request to the opposite-end MPP which finishes upgrading, receiving the opposite-end MPP which finishes upgrading, sending a latest version file and upgrading the version;
and when the AP providing the Mesh service is the MPP, receiving an adding response message sent by an AC, sending a file request of the latest version to the AC, receiving the file of the latest version sent by the AC, and upgrading the version.
6. An apparatus for version upgrade, the apparatus being applied to an AP providing a Mesh service in a Mesh network, the AP providing the Mesh service being a Mesh node MP or a Mesh portal node MPP, the apparatus comprising:
the version judging unit is used for judging whether the source AP needs version upgrading or not according to version information of a source AP of the adding request message carried by the adding request message and acquired preset version information of the source AP after the version upgrading of the source AP is finished, wherein when the AP providing Mesh service is MP, the source AP is a Mesh access node MAP, and when the AP providing Mesh service is MPP, the source AP is MP; the AP providing the Mesh service and the source AP are separated by a one-hop Mesh link;
a message reply unit, configured to reply an add response message to a source AP if the source AP needs version upgrade, so as to trigger the source AP to send a file request of a latest version;
and the file sending unit is used for receiving the latest version file request sent by the source AP and sending the latest version file to the source AP according to the latest version file request.
7. The apparatus according to claim 6, wherein the version determining unit is specifically configured to determine whether the version information of the source AP is the same as the predetermined version information, and if not, determine that the source AP needs version upgrade; and if so, determining that the source AP does not need version upgrading.
8. The apparatus of claim 6, further comprising:
an information obtaining unit, configured to obtain a device model of the source AP, and compare whether the device model of the source AP is the same as the device model of the source AP; if the version information of the AP is the same as the preset version information of the source AP, determining the version information of the AP as the preset version information of the source AP; if the source AP is different from the source AP, the equipment model and the version information carried by the joining request message are sent to the AC, the latest version information returned by the AC is received, and the received latest version information is determined as the preset version information of the source AP.
9. The apparatus of claim 6,
the file sending unit is specifically configured to check whether a latest version file requested by the latest version file request exists locally; if not, downloading the latest version file requested by the latest version file request from the AC, and sending the downloaded latest version file to the source AP; and if so, sending the latest version file requested by the locally-existing latest version file request to the source AP.
10. The apparatus of claim 6, further comprising:
the version upgrading unit is used for sending an adding request message to the AC before upgrading is not finished; when the AP providing the Mesh service is the MP, receiving a joining response message sent by the opposite-end MPP which finishes upgrading, sending a latest version file request to the opposite-end MPP which finishes upgrading, receiving the opposite-end MPP which finishes upgrading, sending a latest version file and upgrading the version; and when the AP providing the Mesh service is the MPP, receiving an adding response message sent by an AC, sending a file request of the latest version to the AC, receiving the file of the latest version sent by the AC, and upgrading the version.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810523841.9A CN108882277B (en) | 2018-05-28 | 2018-05-28 | Version upgrading method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810523841.9A CN108882277B (en) | 2018-05-28 | 2018-05-28 | Version upgrading method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108882277A CN108882277A (en) | 2018-11-23 |
CN108882277B true CN108882277B (en) | 2022-04-26 |
Family
ID=64335194
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810523841.9A Active CN108882277B (en) | 2018-05-28 | 2018-05-28 | Version upgrading method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108882277B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112512091B (en) * | 2020-11-02 | 2021-11-05 | 四川天邑康和通信股份有限公司 | Multi-outlet mesh network router configuration method and device |
CN112559009A (en) * | 2020-12-15 | 2021-03-26 | 深圳创维数字技术有限公司 | Method, device and storage medium for synchronous upgrading under Mesh networking |
CN114513414B (en) * | 2022-01-29 | 2024-05-03 | 新华三技术有限公司 | Method for managing AP, AC and AP |
CN114579205A (en) * | 2022-03-09 | 2022-06-03 | 平安普惠企业管理有限公司 | Resource request processing method and device, electronic equipment and readable storage medium |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1763713A (en) * | 2004-10-22 | 2006-04-26 | 华为技术有限公司 | Mobile terminal software edition updating method |
WO2011076594A1 (en) * | 2009-12-22 | 2011-06-30 | Echostar Global B.V. | A method and system for changing software or firmware on an electronic device |
WO2014032516A1 (en) * | 2012-08-28 | 2014-03-06 | 中兴通讯股份有限公司 | Method, system and device for upgrading version of wireless access point |
CN103906087A (en) * | 2012-12-28 | 2014-07-02 | 华为技术有限公司 | Access point upgrading method, device and system |
US8924338B1 (en) * | 2014-06-11 | 2014-12-30 | Fmr Llc | Automated predictive tag management system |
CN104363613A (en) * | 2014-11-05 | 2015-02-18 | 上海斐讯数据通信技术有限公司 | Synchronous AP (access point) configuration realization method |
WO2015176501A1 (en) * | 2014-05-20 | 2015-11-26 | 西安中兴新软件有限责任公司 | Device management session triggering method, device, system and computer storage medium |
CN105337904A (en) * | 2014-08-05 | 2016-02-17 | 杭州华三通信技术有限公司 | Controller cluster upgrading method and device |
WO2016112869A1 (en) * | 2015-01-16 | 2016-07-21 | Hangzhou H3C Technologies Co., Ltd. | Access point management |
WO2016149908A1 (en) * | 2015-03-24 | 2016-09-29 | 华为技术有限公司 | Method for updating terminal system, terminal and system |
CN106254440A (en) * | 2016-07-29 | 2016-12-21 | 杭州迪普科技有限公司 | The upgrade method of a kind of AP and device |
CN107483646A (en) * | 2017-09-27 | 2017-12-15 | 上海斐讯数据通信技术有限公司 | A kind of control method of AP upgradings, apparatus and system |
WO2018001995A1 (en) * | 2016-06-30 | 2018-01-04 | Here Global B.V. | Iterative map learning based on vehicle on-board sensor data |
CN107562572A (en) * | 2017-08-18 | 2018-01-09 | 上海斐讯数据通信技术有限公司 | File downloading device and system software managing device |
Family Cites Families (10)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20140250360A1 (en) * | 2004-05-28 | 2014-09-04 | Macromedia, Inc. | Visual merge utility |
US9020487B2 (en) * | 2010-10-14 | 2015-04-28 | At&T Mobility Ii Llc | Over-the-air content management of wireless equipment in confined-coverage wireless networks |
CN102883358B (en) * | 2012-09-21 | 2016-12-21 | 杭州华三通信技术有限公司 | A kind of method and device realizing batch AP upgrading |
JP2016099709A (en) * | 2014-11-19 | 2016-05-30 | 富士通株式会社 | Access control program, access control method, and access control apparatus |
CN104639647A (en) * | 2015-02-12 | 2015-05-20 | 广东欧珀移动通信有限公司 | A speaker upgrading method and device |
CN105163333B (en) * | 2015-06-18 | 2018-07-06 | 广东欧珀移动通信有限公司 | Data processing method and device |
CN105162841B (en) * | 2015-08-03 | 2020-07-31 | 广东美的环境电器制造有限公司 | Control method and control system of household appliance |
US9880827B2 (en) * | 2015-08-30 | 2018-01-30 | International Business Machines Corporation | Managing software version upgrades in a multiple computer system environment |
CN107454608A (en) * | 2016-05-30 | 2017-12-08 | 北京信威通信技术股份有限公司 | The upgrade method and device of Mesh network |
CN107301054B (en) * | 2017-07-14 | 2021-02-23 | 杭州敦崇科技股份有限公司 | Software updating method based on ad hoc network |
-
2018
- 2018-05-28 CN CN201810523841.9A patent/CN108882277B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1763713A (en) * | 2004-10-22 | 2006-04-26 | 华为技术有限公司 | Mobile terminal software edition updating method |
WO2011076594A1 (en) * | 2009-12-22 | 2011-06-30 | Echostar Global B.V. | A method and system for changing software or firmware on an electronic device |
WO2014032516A1 (en) * | 2012-08-28 | 2014-03-06 | 中兴通讯股份有限公司 | Method, system and device for upgrading version of wireless access point |
CN103906087A (en) * | 2012-12-28 | 2014-07-02 | 华为技术有限公司 | Access point upgrading method, device and system |
WO2015176501A1 (en) * | 2014-05-20 | 2015-11-26 | 西安中兴新软件有限责任公司 | Device management session triggering method, device, system and computer storage medium |
US8924338B1 (en) * | 2014-06-11 | 2014-12-30 | Fmr Llc | Automated predictive tag management system |
CN105337904A (en) * | 2014-08-05 | 2016-02-17 | 杭州华三通信技术有限公司 | Controller cluster upgrading method and device |
CN104363613A (en) * | 2014-11-05 | 2015-02-18 | 上海斐讯数据通信技术有限公司 | Synchronous AP (access point) configuration realization method |
WO2016112869A1 (en) * | 2015-01-16 | 2016-07-21 | Hangzhou H3C Technologies Co., Ltd. | Access point management |
WO2016149908A1 (en) * | 2015-03-24 | 2016-09-29 | 华为技术有限公司 | Method for updating terminal system, terminal and system |
WO2018001995A1 (en) * | 2016-06-30 | 2018-01-04 | Here Global B.V. | Iterative map learning based on vehicle on-board sensor data |
CN106254440A (en) * | 2016-07-29 | 2016-12-21 | 杭州迪普科技有限公司 | The upgrade method of a kind of AP and device |
CN107562572A (en) * | 2017-08-18 | 2018-01-09 | 上海斐讯数据通信技术有限公司 | File downloading device and system software managing device |
CN107483646A (en) * | 2017-09-27 | 2017-12-15 | 上海斐讯数据通信技术有限公司 | A kind of control method of AP upgradings, apparatus and system |
Also Published As
Publication number | Publication date |
---|---|
CN108882277A (en) | 2018-11-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN108882277B (en) | Version upgrading method and device | |
CN111541564B (en) | Method for upgrading equipment firmware in Mesh network | |
CN114157667B (en) | Gateway-device-oriented computing power network service system and method | |
WO2016149908A1 (en) | Method for updating terminal system, terminal and system | |
JP6290439B2 (en) | Access point initiated neighbor report request | |
CN111786893B (en) | method and device for synchronizing software versions of wireless routers in mesh networking | |
KR101757417B1 (en) | Method for updating communication node firmware in wireless communication | |
JP2004525587A (en) | Wireless master / slave distributed communication network | |
JP2011034567A (en) | Setting of terminal | |
JP7532399B2 (en) | SYSTEM AND METHOD FOR ESTABLISHING COMMUNICATION LINKS BETWEEN NETWORKS AND DEVICES USING DIFFERENT ROUTING PROTOCOLS - Patent application | |
US9876679B2 (en) | Wireless mesh network firmware upgrade system and method | |
CN112737847B (en) | Node upgrading method and device, storage medium and electronic device | |
CN112559009A (en) | Method, device and storage medium for synchronous upgrading under Mesh networking | |
CN115278734A (en) | Method for managing return mode in easy mesh networking | |
CN113596792B (en) | Binding method and device of electronic equipment, storage medium and electronic device | |
CN108124504B (en) | TFO transmission method, proxy server and system | |
JP2018116349A (en) | Relay device, communication control method, and communication control program | |
CN108512679B (en) | Gateway equipment management method and device | |
CN112566104B (en) | Roaming coordination method based on Mesh network, wireless access point and storage medium | |
CN108574615B (en) | Content transmission method, device and system based on multipath MPTCP | |
US11095514B2 (en) | System and method for propagating anima network objective changes | |
TW200836542A (en) | A method of providing a mobility service | |
CN107302448B (en) | Port snoop method and device | |
CN113596938B (en) | Network switching method and device for mobile terminal, storage medium, and electronic device | |
WO2017219667A1 (en) | Method, device, and system for modifying mss |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |