METHOD AND APPARATUS FOR UPGRADING WIRELESS REPEATER

Information

  • Patent Application
  • 20130104116
  • Publication Number
    20130104116
  • Date Filed
    December 13, 2012
    11 years ago
  • Date Published
    April 25, 2013
    11 years ago
Abstract
Embodiments of the present invention provide a method and an apparatus for upgrading a wireless repeater. The method includes: establishing a wireless connection with a wireless access device, where the wireless access device is connected to a multicast server; detecting in real time whether a packet of a version upgrade file is received at a predefined multicast IP address that is sent by the multicast server through the wireless access device; if the packet of the version upgrade file is detected, receiving the packet of the version upgrade file in real time; and integrating the packet of the version upgrade file received in real time into a version upgrade file and performing an upgrade operation according to the version upgrade file.
Description
FIELD OF THE INVENTION

Embodiments of the present invention relate to the field of communications, and in particular, to a method and an apparatus for upgrading a wireless repeater.


BACKGROUND OF THE INVENTION

With the development of a home broadband service, a wireless access terminal, such as a home gateway and an AP (Access points, access points), has been deployed rapidly in a home area network. However, due to factors such as layout of a room and thickness of a wall, the coverage range of wireless signals is not very satisfactory. However, wireless signals may be extended by establishing a home wireless network by using wireless relay technologies, so as to solve the problem of wireless coverage.


In a current home area network, when a version of a wireless repeater needs to be upgraded, a version upgrade is usually performed separately on each wireless repeater. For example, if versions of three wireless repeaters in a home area network need to be upgraded, the operation need to be performed three times to complete an upgrade, thereby resulting in low upgrade efficiency and a high operation and maintenance cost.


SUMMARY OF THE INVENTION

Embodiments of the present invention provide a method and an apparatus for upgrading a wireless repeater, so as to solve the technical problem of low upgrade efficiency and a high operation and maintenance cost of the wireless repeater in a current home area network.


The objective of the embodiments of the present invention is implemented through the following technical solutions:


A method for upgrading a wireless repeater is provided, which is applied in the wireless repeater. The method includes: establishing a wireless connection with a wireless access device, where the wireless access device is connected to a multicast server; detecting in real time whether a packet of a version upgrade file is received at a predefined multicast IP address that is sent by the multicast server through the wireless access device; if the packet of the version upgrade file is detected, receiving the packet of the version upgrade file in real time; and integrating the packet of the version upgrade file received in real time into a version upgrade file and performing an upgrade operation according to the version upgrade file.


A method for upgrading a wireless repeater is provided, which is applied in a multicast server. The method includes: establishing a connection with a wireless access device, sending, through the wireless access device, a packet of a version upgrade file to a predefined multicast IP address cyclically at a preset time interval, so that after detecting in real time that the packets are received at the predefined multicast IP address, the wireless repeater receives the packets in real time, integrates the packets received in real time into a version upgrade file, and performs an upgrade operation according to the version upgrade file.


A wireless repeater is provided, which is applied in a home area network. The wireless repeater includes: a connection unit, configured to establish a wireless connection with a wireless access device, where the wireless access device is connected to a multicast server; a detection unit, configured to detect in real time whether a packet of a version upgrade file is received at a predefined multicast IP address that is sent by the multicast server through the wireless access device; a receiving unit, configured to: when the packet of the version upgrade file is detected, receive the packet of the version upgrade file in real time; and an upgrade unit, configured to integrate the packet of the version upgrade file received in real time into a version upgrade file and perform an upgrade operation according to the version upgrade file.


A multicast server is provided, which is applied in a home area network. The multicast server includes: a connection unit, configured to establish a connection with a wireless access device; a sending unit, configured to send, through the wireless access device, a packet of a version upgrade file to a predefined multicast IP address cyclically at a preset time interval, so that after detecting in real time that the packets are received at the predefined multicast IP address, the wireless repeater receives the packets in real time, integrates the packets received in real time into a version upgrade file, and performs an upgrade operation according to the version upgrade file.


A system for upgrading a wireless repeater is provided, where the system includes: a multicast server, configured to send a packet of a version upgrade file to a predefined multicast IP address cyclically at a preset time interval; at least one wireless repeater, configured to detect in real time whether the packets are received at the predefined multicast IP address, and after detecting the packets, receive the packets in real time, integrate the packets received in real time into a version upgrade file, and perform an upgrade operation according to the version upgrade file; a wireless access device, connected to the multicast server through Ethernet or in a wireless manner, and connected to each wireless repeater in a wireless manner.


Through the method and the apparatus provided in the embodiments of the present invention, because the wireless repeater detects whether a packet of a version upgrade file is received at a predefined multicast IP address that is sent by the multicast server through the wireless access device, when upgrade packages are available, all wireless repeaters may be upgraded. Compared with the prior art, the versions of the wireless repeaters do not need to be upgraded one by one in the embodiments of the present invention, thereby improving the upgrade efficiency and reducing the maintenance cost.





BRIEF DESCRIPTION OF THE DRAWINGS

To illustrate the technical solutions in the embodiments of the present invention more clearly, the accompanying drawings needed for describing the embodiments are introduced below briefly. Apparently, the accompanying drawings in the following descriptions merely show some of the embodiments of the present invention, and persons skilled in the art may obtain other drawings according to the accompanying drawings without creative efforts.



FIG. 1 is a schematic networking diagram of a method for upgrading a wireless repeater according to an embodiment of the present invention;



FIG. 2 is a flowchart of a method for upgrading a wireless repeater according to an embodiment of the present invention;



FIG. 3 is a flowchart of a method for upgrading a wireless repeater according to another embodiment of the present invention;



FIG. 4 is an upgrade process of a wireless repeater according to an embodiment of the present invention;



FIG. 5 is a constitutional block diagram of a wireless repeater according to an embodiment of the present invention;



FIG. 6 is a constitutional block diagram of a multicast server according to an embodiment of the present invention; and



FIG. 7 is a block diagram of a system for upgrading a wireless repeater according to an embodiment of the present invention.





DETAILED DESCRIPTION OF THE EMBODIMENTS

The technical solutions of the embodiments of the present invention are hereinafter described clearly and completely with reference to the accompanying drawings in the embodiments of the present invention. Evidently, the described embodiments are some exemplary embodiments of the present invention, rather than all embodiments of the present invention. All other embodiments obtained by persons skilled in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.


It should be obvious that the described embodiments are a part rather than all of the embodiments of the present invention. Those skilled in the art may derive other embodiments from the embodiments given here without making creative efforts, and all such embodiments are covered in the protection scope of the present invention.



FIG. 1 is a schematic networking diagram of a method for upgrading a wireless repeater according to an embodiment of the present invention. Referring to FIG. 1, a home area network includes a multicast server 11, a wireless access device 12, multiple wireless repeaters 13, and multiple wireless terminals 14. This embodiment is described with an example of two wireless repeaters 131 and 132 and four wireless terminals 141, 142, 143, and 144.


The multicast server 11 is connected to the wireless access device 12 through Ethernet or in a wireless manner and transmits data to the wireless repeater 13 through the wireless access device 12; the wireless access device 12 is connected to the wireless repeater 13 in a wireless manner, where a connection may be established automatically or manually; and the wireless repeater 13 is connected to the wireless terminal 14 in a wireless manner, so as to provide a wireless online service to the wireless terminal 14.



FIG. 2 is a flowchart of a method for upgrading a wireless repeater according to an embodiment of the present invention. The method is applied in the wireless repeater. Referring to FIG. 2, the method includes:


Step 201: Establish a wireless connection with a wireless access device, where the wireless access device is connected to a multicast server.


A service set identifier SSID (Service Set Identifier) used for a multicast upgrade may be first set in the wireless repeater, and an SSID of the wireless access device may be set to be the same as the SSID of the wireless repeater. In this manner, after being powered on, the wireless repeater may be automatically connected to the wireless access device through the SSID.


The connection may also be established manually, that is, the wireless repeater is connected to the wireless access device through a user's manual operation. In this case, the wireless repeater in this embodiment obtains a connection instruction input by the user and establishes, according to the connection instruction, a wireless connection with the wireless access device. In this embodiment, the SSID of the wireless access device may be set to any value according to related standards and may be modified.


The wireless access device is also connected to the multicast server and configured to forward all kinds of data transmitted by the multicast server, and details are not described here again.


Step 202: Detect in real time whether a packet of a version upgrade file is received at a predefined multicast IP address that is sent by the multicast server through the wireless access device.


In this embodiment, the wireless access device may be connected to multiple wireless repeaters in a wireless manner. Therefore, each wireless repeater may perform step 202.


It may be determined, by detecting the predefined multicast IP address, whether the packet of the version upgrade file is received at the predefined multicast IP address. In this embodiment, the version file is divided into packets, and the packets are sent one by one cyclically by the multicast server. Therefore, real-time detection is needed in this embodiment.


Step 203: If a packet of the version upgrade file is detected, receive the packet of the version upgrade file in real time.


If the packet of the version upgrade file is detected, the wireless repeater in this embodiment receives the packet of the version upgrade file in real time, so that a whole version upgrade file may be obtained.


Step 204: Integrate the packet of the version upgrade file received in real time into a version upgrade file, and perform an upgrade operation according to the version upgrade file.


In one embodiment, the wireless repeater may directly perform an upgrade operation according to the version upgrade file; in another embodiment, the wireless repeater may compare the version of the version upgrade file with the version of the wireless repeater, and perform an upgrade operation when the version of the version upgrade file is higher than the version of the wireless repeater. The foregoing descriptions are merely examples, and this embodiment is not limited thereto.


After the packet of the version upgrade file is received one by one, the wireless repeater in this embodiment integrates the packets into a whole version upgrade file and performs an upgrade operation by using the version upgrade file.


The packet of the version upgrade file delivered by the multicast server carries an identifier, so that a location of each packet in the whole version upgrade file may be determined, that is, which part of the version upgrade file is formed by each packet may be determined. The wireless repeater in this embodiment may integrate received packets into a whole version upgrade file according to the identifier. The foregoing description is just an example, and an actual implementation is not limited to the manner of carrying an identifier.


Because the version upgrade file has an installation program, an upgrade operation may be implemented by executing the version upgrade file, and details are not described here again.


In an embodiment, for the convenience of a user in determining completion of an upgrade, a process and completion status of the upgrade may be further displayed in this embodiment, when the wireless repeater performs the upgrade operation according to the version upgrade file. The upgrade process and upgrade result may be indicated by using an indicator emitting lights of different colors, and/or blinking, and/or blinking at different frequencies, or the upgrade process and upgrade result may be displayed through a display bar, and this embodiment is not limited thereto.


Through the method for upgrading a wireless repeater in this embodiment, because each wireless repeater among the multiple wireless repeaters may perform steps 202 to 204 separately the upgrade of the multiple wireless repeaters may be implemented through the foregoing steps. It may also be understood that a lot upgrade is performed, in a centralized way, on multiple wireless repeaters in the present invention by using a multicast manner, that is, the wireless repeater detects whether a packet of the version upgrade file is received at a predefined multicast IP address, and each wireless repeater may perform the upgrade operation when the upgrade packages are available. Compared with the prior art, a version upgrade does not need to be performed on the wireless repeaters one by one according to the embodiment of the present invention, thereby improving the upgrade efficiency and reducing the maintenance cost. Furthermore, the lot upgrade may be performed on multiple wireless repeaters in a centralized way. By setting a predefined SSID used for the multicast upgrade on the wireless repeater, an automatic upgrade may be implemented, so that the upgrade operation gets easier and more convenient. By displaying the upgrade process and completion status, a user may conveniently determine the upgrade situation of the wireless repeater.



FIG. 3 is a flowchart of a method for upgrading a wireless repeater provided in an embodiment of the present invention. Corresponding to the method of the embodiment shown in FIG. 2, the method is applied in a multicast server. Referring to FIG. 3, the method includes:


Step 301: Establish a connection with a wireless access device.


A multicast controller in this embodiment may be connected to a wireless access device through Ethernet or a wireless connection.


Step 302: Send a packet of a version upgrade file to a predefined multicast IP address cyclically through the wireless access device at a preset time interval, so that after the wireless repeater detects in real time that the packets are received at the predefined multicast IP address, receive the packets in real time, integrate the packets received in real time into a version upgrade file, and perform an upgrade operation according to the version upgrade file.


The multicast controller in this embodiment sends, according to the foregoing steps, the packet of the version upgrade file to the predefined multicast IP address cyclically, so that multiple wireless repeaters detect in real time whether the packet of the version upgrade file is received at the predefined multicast IP address that is sent by the multicast server through the wireless access device. When the upgrade packages are detected, a lot upgrade may be implemented on the wireless repeaters, thereby improving the upgrade efficiency and reducing the maintenance cost. The predefined multicast IP address may be changed, and this embodiment is not intended to limit the predefined multicast IP address to a specific value.


To make the method of embodiments shown in FIG. 2 and FIG. 3 clearer and more comprehensible, a method for upgrading a wireless repeater in this embodiment is described in detail with reference to a process shown in FIG. 4 by taking an example where the predefined multicast IP address is 224.0.0.119, the preset time interval is 10 ms, and the version upgrade file is V100R001B020.binReferring to FIG. 4, the process includes:


Step 401: Connect the multicast controller to a wireless access device, and sends, through the wireless access device, a version upgrade file to a predefined multicast IP address cyclically at a preset time interval.


In this embodiment, the predefined multicast IP address is 224.0.0.119, the preset time interval is 10 ms, and the version upgrade file is V100R001B020.bin. After establishing a connection with the wireless access device, according to the method of the embodiment shown in FIG. 3, the multicast controller in this embodiment sends the version upgrade file V100R001B020.bin to the destination IP address 224.0.0.119 through UDP (User Datagram Protocol) packets, where the version upgrade file is divided into several packets, and the packet are sent at an interval of 10 ms, so as to cyclically send the version upgrade file V100R001B020.bin.


Step 402: The wireless repeater establishes a connection with the wireless access device.


In this embodiment, when the wireless repeater is configured in a factory, an SSID used for a multicast upgrade is defined in default, for example, Repeater_Mutilcast_Upgrade. In this embodiment, the SSID of the wireless access device is set to an SSID that is the same as the default SSID used for the multicast upgrade on the wireless repeater. Because the SSID is configured in the factory, the SSID may be used for the multicast upgrade only, and cannot be deleted and modified.


According to the method of the embodiment shown in FIG. 2, after being powered on, the wireless repeater in this embodiment is automatically connected to the wireless access device by using the foregoing SSID used for the multicast upgrade. In this embodiment, if the connection according to foregoing method fails, an SSID configured by a user is used to connect an AP, that is, the wireless repeater in this embodiment is connected to the wireless access device through a user's operation.


Step 403: After detecting that a version upgrade file is available at the predefined multicast IP address, the wireless repeater receives the version upgrade file, and performs an upgrade operation by using the version upgrade file.


After the wireless repeater in this embodiment is connected to the wireless access device, according to the method of the embodiment shown in FIG. 2, the wireless repeater detects whether a version upgrade file is received at the foregoing predefined multicast IP address 224.0.0.119; after detecting the version upgrade file, the wireless repeater receives a packet of a corresponding version upgrade file, and an upgrade operation is performed on the wireless repeater.


Through the method for upgrading a wireless repeater in this embodiment, a lot upgrade of home wireless local area network devices may be implemented, thereby improving the upgrade efficiency and reducing the maintenance cost.



FIG. 5 is a constitutional block diagram of a wireless repeater provided in an embodiment of the present invention. The wireless repeater is applied in a home area network. Referring to FIG. 5, the wireless repeater includes:


a connection unit 51, configured to establish a wireless connection with a wireless access device, where the wireless access device is connected to a multicast server;


a detection unit 52, configured to detect in real time whether a packet of a version upgrade file is received at a predefined multicast IP address that is sent by the multicast server through the wireless access device;


a receiving unit 53, configured to receive the packet of the version upgrade file in real time, when the packet of the version upgrade file is detected; and


an upgrade unit 54, configured to integrate the packet of the version upgrade file received in real time into a version upgrade file and perform an upgrade operation according to the version upgrade file.


In an embodiment, the connection unit 51 includes:


a setting module 511, configured to set a service set identifier SSID used for multicast upgrade, where the SSID is the same as an SSID of the wireless access device; and


a first connection module 512, configured to be connected to the wireless access device through the SSID, after the wireless repeater is powered on.


In another embodiment, the connection unit 51 includes:


an obtaining module 513, configured to obtain a connection instruction; and


a second connection module 514, configured to establish, according to the connection instruction, a wireless connection with the wireless access device.


In an embodiment, the wireless repeater further includes:


a display unit 55, configured to display a process of an upgrade operation and a result of the upgrade operation, when the upgrade unit 54 performs the upgrade operation according to the version upgrade file.


In this embodiment, the wireless access device may a home gateway, an AP, or other devices supporting a wireless connection function.


Each component of the wireless repeater in this embodiment is configured to implement each step of the method of the embodiment shown in FIG. 2 respectively. Because each step is described in detail in the embodiment shown in FIG. 2, details are not described here again.


With the wireless repeaters provided in the embodiment of the present invention, a lot upgrade may be implemented, thereby improving the upgrade efficiency and reducing the maintenance cost.



FIG. 6 is a constitutional block diagram of a multicast controller according to an embodiment of the present invention. The multicast controller is also applied in a home area network. Referring to FIG. 6, the multicast controller includes:


a connection unit 61, configured to establish a connection with a wireless access device; and


a sending unit 62, configured to send, through the wireless access device, a packet of a version upgrade file to a predefined multicast IP address cyclically at a preset time interval, so that after detecting in real time that the packets are received at the predefined multicast IP address, the wireless repeater receives the packets in real time, integrates the packets received in real time into a version upgrade file, and performs an upgrade operation according to the version upgrade file.


In this embodiment, the wireless access device may a home gateway, an AP, or other devices supporting a wireless connection function.


Each component of the wireless repeater in this embodiment is configured to implement each step of the method of the embodiment shown in FIG. 3 respectively. Because each step is described in detail in the embodiment shown in FIG. 3, details are not described here again.


Through the multicast controller provided in the embodiment of the present invention, a lot upgrade may be implemented on the wireless repeaters, thereby improving the upgrade efficiency and reducing the maintenance cost.



FIG. 7 is a constitutional block diagram of a system for upgrading a wireless repeater according to an embodiment of the present invention. The system for upgrading a wireless repeater is also applied in a home area network. Referring to FIG. 7, the system includes:


a multicast server 71, configured to send a packet of a version upgrade file to a predefined multicast IP address cyclically at a preset time interval;


at least one wireless repeater 72, configured to detect in real time whether the packets are received at the predefined multicast IP address, and after detecting the packets, receive the packets in real time, integrate the packets received in real time into a version upgrade file, and perform an upgrade operation according to the version upgrade file; and


a wireless access device 73, connected to the multicast server through Ethernet or in a wireless manner, and connected to each wireless repeater in a wireless manner.


In this embodiment, the multicast server 71 may be implemented by the multicast server shown in FIG. 6, and the wireless repeater 72 may be implemented by the wireless repeater shown in FIG. 5. Because the wireless repeater and the multicast server are described in detail in the embodiments shown in FIG. 5 and FIG. 6, details are not described here again.


In this embodiment, the wireless access device 73 may be a home gateway, an AP, or other devices supporting a wireless connection function.


Through the system for upgrading a wireless repeater in this embodiment, because each wireless repeater among multiple wireless repeaters detects whether a packet of a version upgrade file is received at a predefined multicast IP address that is sent by the multicast server through the wireless access device, when the upgrade packages are available, an upgrade operation may be performed on each wireless repeater. Compared with the prior art, the version upgrade does not need to be performed on the wireless repeaters one by one in the embodiment of the present invention, thereby improving the upgrade efficiency and reducing the maintenance cost. By setting a predefined SSID used for the multicast upgrade on the wireless repeater, an automatic upgrade may be implemented, so that the upgrade operation gets easier and more convenient. By displaying the upgrade process and completion status, it is easy for a user to determine the upgrade situation of the wireless repeater.


The sequence numbers of the preceding embodiments of the present invention are merely for a description purpose but do not indicate the preference of the embodiments.


Persons skilled in the art may understand clearly that the embodiments of the present invention may be implemented through software and an essential universal hardware platform. Base on the above understanding, the essence of the technical solutions in the embodiments of the present invention or the part that makes contribution to the prior art may be substantially embodied in the form of a software product. The computer software product may be stored in a storage medium such as an ROM/RAM, a magnetic disk, or an optical disk, and include several instructions to instruct a computer apparatus (for example, a personal computer, a server, or a network apparatus) to perform the methods described in the embodiments of the present invention or in some parts of the embodiments of the present invention.


The foregoing embodiments are not intended to limit the present invention. For persons skilled in the art, any modification, equivalent replacement, and improvement made without departing from the principle of the present invention shall fall within the protection scope of the present invention.

Claims
  • 1. A method for upgrading a wireless repeater, wherein the method is applied in the wireless repeater, comprising: establishing a wireless connection with a wireless access device, wherein the wireless access device is connected to a multicast server;detecting in real time whether a packet of a version upgrade file is received at a predefined multicast IP address that is sent by the multicast server through the wireless access device;if the packet of the version upgrade file is detected, receiving the packet of the version upgrade file in real time; andintegrating the packet of the version upgrade file that is received in real time into a version upgrade file and performing an upgrade operation according to the version upgrade file.
  • 2. The method according to claim 1, wherein the establishing the wireless connection with the wireless access device comprises: setting a service set identifier SSID used for a multicast upgrade, wherein the SSID is the same as an SSID of the wireless access device; andafter the wireless repeater is powered on, connecting to the wireless access device through the SSID.
  • 3. The method according to claim 1, wherein the establishing the wireless connection with the wireless access device comprises: obtaining a connection instruction; andestablishing, according to the connection instruction, a wireless connection with the wireless access device.
  • 4. The method according to claim 1, wherein when an upgrade operation is performed according to the version upgrade file, the method further comprises: displaying a process of the upgrade operation and a result of the upgrade operation.
  • 5. A method for upgrading a wireless repeater, wherein the method is applied in a multicast server, comprising: establishing a connection with a wireless access device; andthrough the wireless access device, sending a packet of a version upgrade file to a predefined multicast IP address cyclically at a preset time interval, so that after detecting in real time that the packets are received at the predefined multicast IP address, the wireless repeater receives the packets in real time, integrates the packets received in real time into a version upgrade file, and performs an upgrade operation according to the version upgrade file.
  • 6. A wireless repeater, applied in a home area network, comprising: a connection unit, configured to establish a wireless connection with a wireless access device, wherein the wireless access device is connected to a multicast server;a detection unit, configured to detect in real time whether a packet of a version upgrade file is received at a predefined multicast IP address that is sent by the multicast server through the wireless access device;a receiving unit, configured to receive the packet of the version upgrade file in real time, when the packet of the version upgrade file is detected; andan upgrade unit, configured to integrate the packet of the version upgrade file received in real time into a version upgrade file and perform an upgrade operation according to the version upgrade file.
  • 7. The wireless repeater according to claim 6, wherein the connection unit comprises: a setting module, configured to set a service set identifier SSID used for a multicast upgrade, wherein the SSID is the same as an SSID of the wireless access device; anda first connection module, configured to be connected to the wireless access device through the SSID, after the wireless repeater is powered on.
  • 8. The wireless repeater according to claim 6, wherein the connection unit comprises: an obtaining module, configured to obtain a connection instruction; anda second connection module, configured to establish, according to the connection instruction, a wireless connection with the wireless access device.
  • 9. The wireless repeater according to claim 6, further comprising: a display unit, configured to display a process of an upgrade operation and a result of the upgrade operation, when the upgrade unit performs the upgrade operation according to the version upgrade file.
Priority Claims (1)
Number Date Country Kind
201010574548.9 Dec 2010 CN national
CROSS-REFERENCE TO RELATED APPLICATIONS

This application is a continuation of International Patent Application No. PCT/CN2011/083274, filed Dec. 1, 2011, which claims priority to China Patent Application No. 201010574548.9, filed on Dec. 6, 2010, and entitled “METHOD AND APPARATUS FOR UPGRADING WIRELESS REPEATER”, both of which are incorporated herein by reference in their entireties.