TWI784506B - Method and system for updating device firmware within wireless mesh network - Google Patents

Method and system for updating device firmware within wireless mesh network Download PDF

Info

Publication number
TWI784506B
TWI784506B TW110116135A TW110116135A TWI784506B TW I784506 B TWI784506 B TW I784506B TW 110116135 A TW110116135 A TW 110116135A TW 110116135 A TW110116135 A TW 110116135A TW I784506 B TWI784506 B TW I784506B
Authority
TW
Taiwan
Prior art keywords
mesh network
firmware
wireless mesh
central device
firmware version
Prior art date
Application number
TW110116135A
Other languages
Chinese (zh)
Other versions
TW202245502A (en
Inventor
葉偉欣
吳宗迅
陳建宏
蘇威豪
Original Assignee
鋐寶科技股份有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 鋐寶科技股份有限公司 filed Critical 鋐寶科技股份有限公司
Priority to TW110116135A priority Critical patent/TWI784506B/en
Publication of TW202245502A publication Critical patent/TW202245502A/en
Application granted granted Critical
Publication of TWI784506B publication Critical patent/TWI784506B/en

Links

Images

Landscapes

  • Stored Programmes (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A firmware update method. On a wireless mesh network, download an update firmware by setting a central device (mesh Wi-Fi Router) of wireless mesh network. The central device generates a text file according to the updated firmware version. The text file includes a firmware version name, and a model name corresponding to the firmware version name. The mesh Wi-Fi Satellite regularly checks the content of the text file on the wireless mesh network coverage area, and downloads and updates the latest firmware version from the central device accordingly.

Description

於無線網狀網路範圍內更新設備韌體之方法及系統Method and system for updating device firmware within wireless mesh network

本發明涉及一種韌體更新方法及系統,特別是指一種於無線網狀網路範圍內更新設備韌體之方法及系統。The present invention relates to a firmware update method and system, in particular to a method and system for updating device firmware within the range of a wireless mesh network.

隨著資訊產業的飛速發展,廣域網路上承載的業務種類和業務量在不斷增大,規模也不斷在擴大,大量的終端接入裝置被廣泛應用,需要對這些使用者側裝置進行有效管理。With the rapid development of the information industry, the type and volume of services carried on the WAN are increasing, and the scale is also expanding. A large number of terminal access devices are widely used, and these user-side devices need to be effectively managed.

無線網狀網路(Wireless mesh network,縮寫為WMN),是一種以無線電節點構成的通訊網路,採用網狀網路網路拓撲技術。它通常由網路客戶端、路由器與閘道器所組成。它所使用的通訊技術包括 802.11、802.15、802.16、手機行動通訊技術,或是混合了以上數種通訊技術。無線網狀網路可以被視為是一種特別的無線隨意網路。Wireless mesh network (WMN for short) is a communication network composed of radio nodes and adopts mesh network topology technology. It usually consists of network clients, routers and gateways. The communication technology it uses includes 802.11, 802.15, 802.16, mobile phone communication technology, or a mixture of the above communication technologies. Wireless mesh network can be regarded as a special kind of wireless random network.

傳統的韌體更新方法係利用電腦或工作站將更新韌體資料各別傳送至多個電子裝置中,當一部電子裝置執行更新韌體資料下載或更新完畢後,才會讓電腦或工作站連接下一部電子裝置進行下一個韌體更新作業。再者,傳統的韌體更新方法尚須設定適當電子裝置之網際協定位址(Internet Protocol Address),使得電腦或工作站根據相對應電子裝置之網際協定位址傳遞更新韌體資料。The traditional firmware update method is to use a computer or workstation to transmit the updated firmware data to multiple electronic devices respectively. When an electronic device executes the updated firmware data download or the update is completed, the computer or workstation is connected to the next one. The electronic device performs the next firmware update operation. Furthermore, the traditional firmware update method needs to set an appropriate Internet Protocol Address (IP Address) of the electronic device, so that the computer or workstation transmits the update firmware data according to the Internet Protocol Address of the corresponding electronic device.

使用者側裝置(Customer Premise Equipment)是指網路連接至用戶端的相關設備,包括數據機、寬頻路由器、寬頻閘道器等。Customer Premise Equipment (Customer Premise Equipment) refers to the related equipment connected to the client side of the network, including modems, broadband routers, broadband gateways, etc.

使用者側裝置無論是在最開始安裝的時候,還是在後期運行中的業務配置變更,或是出現故障需要維護的時候,都需要通過管理介面對裝置進行配置或是診斷。裝置大都提供在LAN側的管理配置介面和介面,因此傳統的做法是電訊廠商的維護人員上門進行安裝或調試裝置,通過LAN側管理介面做一些裝置配置或故障診斷的工作。但是,這種一對一的人工服務方式顯然運行效率不高而且需要花費大量的人力。隨著業務的開展,將會有大量的裝置需要安置在使用者家中,採用人工方式對這些裝置進行維護和管理將會成為一個巨大的負擔。而廣域網路的分支裝置一般位置比較分散,Telnet、SSH、SNMP(簡易網路管理通訊協定)、遠程Web登入等傳統的遠端管理方式具有很多的局限性:如多廠商的裝置命令列、SNMP不一致,裝置地址經常變化,終端位於NAT Gateway之後,SNMP基於UDP協議導致傳輸不可靠,不同裝置的Web介面及配置方式各異,無法對大量的CPE進行批量自動化管理。The user-side device needs to be configured or diagnosed through the management interface no matter when it is initially installed, or when the business configuration is changed during later operation, or when a fault occurs and maintenance is required. Most of the devices provide management configuration interface and interface on the LAN side, so the traditional method is that the maintenance personnel of the telecom manufacturer come to install or debug the device, and do some device configuration or fault diagnosis through the LAN side management interface. However, this one-to-one manual service method is obviously not efficient and requires a lot of manpower. With the development of business, there will be a large number of devices that need to be placed in users' homes, and manual maintenance and management of these devices will become a huge burden. However, the branch devices of the WAN are generally scattered. Traditional remote management methods such as Telnet, SSH, SNMP (Simple Network Management Protocol), and remote Web login have many limitations: such as multi-vendor device command line, SNMP Inconsistency, the device address changes frequently, the terminal is located behind the NAT Gateway, SNMP is based on the UDP protocol, resulting in unreliable transmission, and the web interface and configuration methods of different devices are different, so it is impossible to perform batch automation management on a large number of CPEs.

傳統電腦裝置可藉由程式或人工方式指定更新韌體資料至相對應之群播位址,然後藉由配置於電腦裝置以及電子裝置之間的網路裝置建立網路連結。隨後電腦裝置透過網路裝置對指定群播位址之電子裝置進行群組廣播,以同時傳送更新韌體資料給相對應群組之電子裝置。換言之,多台電子裝置可同時接收由電腦裝置所傳遞之更新韌體資料。然而如果以群播方式進行,雖可以少量頻寬傳送大量的資料,並減輕相關網路設備的負載,亦即,網路上的資料傳送端可同時傳送資料給多個資料接收端,並非以一對一的方式傳送,而是以降低資料重覆傳遞的方式來傳送。但是,當線上有大量的電子裝置需要進行韌體下載或更新時,因受限於傳統的韌體更新方法,使得電子裝置之韌體更新速度受到限制,而且電子裝置之連線數量亦會受到網路連線頻寬之限制。Traditional computer devices can specify to update firmware data to the corresponding multicast address through a program or manually, and then establish a network connection through a network device configured between the computer device and the electronic device. Then the computer device performs a group broadcast to the electronic devices of the designated multicast address through the network device, so as to simultaneously transmit the updated firmware data to the electronic devices of the corresponding group. In other words, multiple electronic devices can simultaneously receive the update firmware data delivered by the computer device. However, if it is carried out in multicast mode, although a small amount of bandwidth can transmit a large amount of data, and reduce the load on related network equipment, that is, the data transmitting end on the network can simultaneously transmit data to multiple data receiving ends, instead of using one It is sent in a one-to-one manner, but in a way to reduce repeated data transmission. However, when there are a large number of electronic devices online that need to download or update firmware, the firmware update speed of the electronic devices is limited due to the limitation of the traditional firmware update method, and the number of connections of the electronic devices will also be limited. Internet connection bandwidth limitations.

另一方面,以廣播方式以本機電腦透過區域網路傳送群播通知的方式,更新區域網路中電子裝置的韌體,此種方式須自行指定電子設備的群播位置與更新韌體資料,若電子設備不相同且所需的韌體也不相同時,必需進行多次繁鎖的更新程序。On the other hand, update the firmware of the electronic device in the local network by broadcasting the multicast notification sent by the local computer through the local area network. In this way, you must specify the multicast location of the electronic device and update the firmware data However, if the electronic devices are not the same and the required firmware is not the same, it is necessary to perform multiple tedious update procedures.

本發明於一實施例中為一種韌體更新方法,在一無線網狀網路(Mesh Wi-Fi)的網路設備架構上,透過設定該無線網狀網路之一中心裝置(Mesh Wi-Fi Router)下載一更新韌體,該中心裝置根據該更新韌體版本產生一文檔,該文檔包含一韌體版本名稱以及與該韌體版本名稱對應的一機型名稱。於無線網狀網路覆蓋區域內的無線網狀網路衛星裝置(Mesh Wi-Fi Satellite)定期檢查該文檔內容,並相對應地向該該中心裝置下載該更新韌體並進行更新。In one embodiment, the present invention is a firmware update method. On the network equipment architecture of a wireless mesh network (Mesh Wi-Fi), by setting a central device (Mesh Wi-Fi) of the wireless mesh network Fi Router) downloads an update firmware, and the central device generates a file according to the update firmware version, and the file includes a firmware version name and a model name corresponding to the firmware version name. The Mesh Wi-Fi Satellite device (Mesh Wi-Fi Satellite) within the coverage area of the wireless mesh network regularly checks the content of the file, and correspondingly downloads the updated firmware to the central device and updates it.

本發明於一實施例中,係為一種於無線網狀網路範圍內更新設備韌體之系統,包含:提供一中心裝置、至少一衛星裝置、一管理伺服器以及一存放伺服器,該中心裝置及該衛星裝置於一無線網狀網路內;執行一設定程序,使用者對該中心裝置設定一韌體下載位址與一版本資訊;執行一先置下載程序,該中心裝置根據該設定程序之資訊產生一文檔,並下載韌體到一本地記憶體存放;執行一定期查詢程序,該衛星裝置定期查詢該中心裝置端的該文檔內容;執行一比對程序,判斷該文檔所包含的機型及其對應韌體版本是否和區域網路內之衛星裝置目前韌體版本不同;以及,執行一更新程序,該衛星裝置從該中心裝置之該記憶體下載韌體,並進行更新。In one embodiment, the present invention is a system for updating device firmware within a wireless mesh network, including: providing a central device, at least one satellite device, a management server and a storage server, the center The device and the satellite device are in a wireless mesh network; a setting procedure is executed, and the user sets a firmware download address and a version information for the central device; a pre-installed download procedure is executed, and the central device is set according to the setting The information of the program generates a file, and downloads the firmware to a local memory for storage; executes a regular query program, and the satellite device periodically queries the content of the file on the central device; executes a comparison program to determine the computer contained in the file Whether the model and its corresponding firmware version are different from the current firmware version of the satellite device in the LAN;

本發明於一實施例中,係一種於無線網狀網路內更新設備韌體之方法,包含:一無線網狀網路內之一中心裝置連線於一管理伺服器以及一存放伺服器;該無線網狀網路之中心裝置根據該管理伺服器所設定的下載資訊,從該存放伺服器將一更新韌體版本存放於該中心裝置之一記憶體;該中心裝置根據該更新韌體版本產生一文檔,該文檔包含一韌體版本名稱以及與該韌體版本名稱對應的一機型名稱;該無線網狀網路內之至少一衛星裝置定期向該中心裝置查詢該文檔內容;以及,利用該文檔比對該衛星裝置之韌體版本,以進行從該中心裝置之該記憶體下載該更新韌體並進行更新。In one embodiment of the present invention, it is a method for updating device firmware in a wireless mesh network, comprising: a central device in a wireless mesh network is connected to a management server and a storage server; The central device of the wireless mesh network stores an updated firmware version from the storage server in the memory of the central device according to the download information set by the management server; the central device stores the updated firmware version according to the updated firmware version Generate a file, the file includes a firmware version name and a model name corresponding to the firmware version name; at least one satellite device in the wireless mesh network periodically queries the central device for the file content; and, The file is used to compare the firmware version of the satellite device, so as to download and update the update firmware from the memory of the central device.

本發明可同時進行遠端龐大數量之網狀網絡相異設備之韌體更新,亦即不同機型或不同型號之網狀網路的設備,並且包含在網狀網絡架構上之中心裝置及衛星裝置。針對其提供服務的使用者,提供可快速有效的韌體更新方式或系統。The present invention can update the firmware of a large number of different devices in the remote mesh network at the same time, that is, different models or different models of mesh network devices, and includes the central device and satellites on the mesh network architecture device. Provide a fast and effective firmware update method or system for the users it provides services to.

應用本發明在於可同時對多個於網狀網路上之相異設備進行韌體更新,且不需更改網路協定位址即可進行韌體更新作業,以達到增進韌體更新的速度並減少人力與時間成本。The application of the present invention is that the firmware update can be performed on a plurality of different devices on the mesh network at the same time, and the firmware update operation can be performed without changing the address of the network protocol, so as to increase the speed of firmware update and reduce Human and time costs.

網路管理是指在最高層面上對大規模電腦網路和電信網路進行的維護和管理。為了實現控制、規劃、分配、部署、協調及監視一個網路的資源所需的整套官能的具體實施,它包括執行如下功能,如:初始的網路規劃、頻率分配、為支援負載均衡預先確定流量路由規則、金鑰分發授權、組態管理、故障管理、安全管理、效能管理、頻寬管理及記帳管理。Network management refers to the maintenance and management of large-scale computer networks and telecommunications networks at the highest level. In order to realize the specific implementation of the whole set of functions required to control, plan, allocate, deploy, coordinate and monitor the resources of a network, it includes performing the following functions, such as: initial network planning, frequency allocation, pre-determined to support load balancing Traffic routing rules, key distribution authorization, configuration management, fault management, security management, performance management, bandwidth management and accounting management.

簡單網路管理協定(SNMP,Simple Network Management Protocol)構成了網際網路工程工作小組(IETF,Internet Engineering Task Force)定義的Internet協定族的一部分。該協定能夠支援網路管理系統,用以監測連接到網路上的裝置是否有任何引起管理上關注的情況。它由一組網路管理的標準組成,包含一個應用層協定(application layer protocol)、資料庫模式(database schema),和一組資料物件。The Simple Network Management Protocol (SNMP, Simple Network Management Protocol) constitutes a part of the Internet protocol family defined by the Internet Engineering Task Force (IETF, Internet Engineering Task Force). The protocol supports network management systems to monitor devices connected to the network for any conditions of administrative concern. It consists of a set of standards for network management, including an application layer protocol, a database schema, and a set of data objects.

超文本傳輸協定(英語:HyperText Transfer Protocol,縮寫:HTTP)是一種用於分佈式、協作式和超媒體訊息系統的應用層協定。HTTP是全球資訊網的數據通信的基礎。設計HTTP最初的目的是為了提供一種發布和接收HTML頁面的方法。透過HTTP或者HTTPS協定請求的資源由統一資源識別碼(Uniform Resource Identifiers,URI)來標識。Hypertext Transfer Protocol (English: HyperText Transfer Protocol, abbreviation: HTTP) is an application layer protocol for distributed, collaborative and hypermedia information systems. HTTP is the basis of data communication for the World Wide Web. HTTP was originally designed to provide a way to publish and receive HTML pages. Resources requested through the HTTP or HTTPS protocol are identified by Uniform Resource Identifiers (URI).

HTTP是一個客戶端(使用者)和伺服器端(網站)之間請求和應答的標準,通常使用TCP協定。透過使用網頁瀏覽器、網路爬蟲或者其它的工具,客戶端發起一個HTTP請求到伺服器上指定埠。我們稱這個客戶端為使用者代理程式(User agent)。應答的伺服器上儲存著一些資源,例如HTML檔案和圖像。我們稱這個應答伺服器為源伺服器(Origin server)。在使用者代理和源伺服器中間可能存在多個「中間層」,比如代理伺服器、閘道器或者隧道(Tunnel)。HTTP is a standard for requests and responses between a client (user) and a server (website), usually using the TCP protocol. By using a web browser, web crawler, or other tools, the client initiates an HTTP request to a specified port on the server. We call this client a user agent (User agent). Some resources, such as HTML files and images, are stored on the responding server. We call this response server the Origin server. There may be multiple "middle layers" between the user agent and the source server, such as proxy servers, gateways, or tunnels.

超文本傳輸安全協定(英語:HyperText Transfer Protocol Secure,縮寫:HTTPS;常稱為HTTP over TLS、HTTP over SSL或HTTP Secure)是一種透過計算機網路進行安全通訊的傳輸協定。HTTPS經由HTTP進行通訊,但利用SSL/TLS來加密封包。HTTPS開發的主要目的,是提供對網站伺服器的身分認證,保護交換資料的隱私與完整性。這個協定由網景公司(Netscape)在1994年首次提出,隨後擴展到網際網路上。Hypertext Transfer Protocol Secure (English: HyperText Transfer Protocol Secure, abbreviated: HTTPS; often referred to as HTTP over TLS, HTTP over SSL or HTTP Secure) is a transmission protocol for secure communication over computer networks. HTTPS communicates over HTTP, but uses SSL/TLS to seal packets. The main purpose of HTTPS development is to provide identity authentication to web servers and protect the privacy and integrity of exchanged data. This protocol was first proposed by Netscape in 1994, and then extended to the Internet.

無線網狀網路(Wireless mesh network,縮寫為WMN),是一種以無線電節點構成的通訊網路,採用網狀網路拓撲技術。它通常由網路客戶端、路由器與閘道器所組成。它所使用的通訊技術包括 802.11、802.15、802.16、手機行動通訊技術,或是混合了以上數種通訊技術。無線網狀網路可以被視為是一種特別的無線隨意網路。無線網狀網絡(WMN)是由以網狀拓撲結構組織的無線電節點組成的通信網絡。它也可以是無線自組織網絡的一種形式。Wireless mesh network (WMN for short) is a communication network composed of radio nodes and adopts mesh network topology technology. It usually consists of network clients, routers and gateways. The communication technology it uses includes 802.11, 802.15, 802.16, mobile phone communication technology, or a mixture of the above communication technologies. Wireless mesh network can be regarded as a special kind of wireless random network. A wireless mesh network (WMN) is a communication network composed of radio nodes organized in a mesh topology. It can also be a form of wireless ad hoc network.

網路拓撲,指構成網路的成員間特定的排列方式,一般分為物理的、真實的、配線上的結構,或邏輯的、虛擬的、程式設計上的。如果兩個網路的連接結構相同,我們就説它們的網路拓撲相同,儘管它們各自內部的物理接綫、節點間距離可能會有不同。Network topology refers to the specific arrangement of members that make up the network. It is generally divided into physical, real, and wiring structures, or logical, virtual, and programming. If two networks have the same connection structure, we say that their network topology is the same, although their respective internal physical wiring and distance between nodes may be different.

網狀網路(Mesh Network)類似樹狀網路(Tree Network)的升級版本。閘道器(Gateway)亦稱路由器(Router),同樣會利用路由器節點(Router Node)亦稱衛星裝置(Satellite),以加強覆蓋,並通過此 Satellite 與終端結點(End Node)溝通,但 Mesh Network 環境下 Satellite 與 Satellite 之間會作出溝通,不再是單線溝通。Mesh Network is similar to an upgraded version of Tree Network. The gateway (Gateway), also known as the router (Router), will also use the router node (Router Node), also known as the satellite device (Satellite), to enhance coverage, and communicate with the terminal node (End Node) through this Satellite, but the Mesh In the Network environment, there will be communication between Satellites, instead of single-line communication.

Mesh Network 的 Satellite 在溝通上並不限於單線,較遠的 Satellite 在 Tree Network 需要經過兩個 Satellite 才能返回 Router,但在 Mesh Network 環境則可以依據距離、效率等形式自動計算最佳路徑與 Router 溝通,避免因中間的 Satellite 出現故障或繁忙而影響效率。由於 Mesh Wi-Fi 的特性,市售的 Mesh Wi-Fi 機型大多都是套裝,包含 Router 與 Satellite。The Satellite of the Mesh Network is not limited to a single line in communication. The Satellite that is far away in the Tree Network needs to go through two Satellites to return to the Router. However, in the Mesh Network environment, the best path can be automatically calculated based on distance, efficiency, etc. to communicate with the Router. Avoid affecting efficiency due to failure or busy Satellite in the middle. Due to the characteristics of Mesh Wi-Fi, most of the Mesh Wi-Fi models on the market are kits, including Router and Satellite.

對於一般的家庭用戶來說,過去若遇上訊號不足的話,通常都會加裝 Extender 網絡延伸器,它的原理就是上述提到的 Tree Network,把 Router 原有的訊號通過中繼器再次轉發出去而可擴展網絡。For ordinary home users, in the past, if they encountered insufficient signal, they usually installed an Extender network extender. Its principle is the above-mentioned Tree Network, which retransmits the original signal of the Router through the repeater. Scalable network.

雖然 Wi-Fi 網絡看似得到延伸,不過卻會令原有的網速減半,而且由於中繼器本來就有獨立的 Wi-Fi 名字(SSID),所以在連接時需要再次連接。由於 Extender 本身只會轉發訊號並不會與 Router 作更多訊息溝通,所以若已連接 Extender,但卻站在較近 Router 的位置,網絡仍然是會先繞到 Extender 再到 Router,費時也較慢。Although the Wi-Fi network seems to be extended, it will halve the original network speed, and because the repeater already has an independent Wi-Fi name (SSID), it needs to be connected again when connecting. Since the Extender itself only forwards signals and does not communicate with the Router for more information, if the Extender is connected but is standing near the Router, the network will still first go to the Extender and then to the Router, which is time-consuming and slow .

Mesh Wi-Fi 容易被誤以為與無線範圍擴展器(Extender)相同,但實際上由於採用 Mesh Network,各 Router 與 Satellite 之間會互相溝通,加上可以 一個接一個的運作,覆蓋距離較 Extender 遠。也可以利用 Mesh Wi-Fi 的多重連接特性,提供較佳覆蓋。Mesh Wi-Fi is easily mistaken for the same as a wireless range extender (Extender), but in fact, due to the use of Mesh Network, each Router and Satellite will communicate with each other, and can operate one by one, and the coverage distance is farther than Extender . You can also take advantage of the multi-connection feature of Mesh Wi-Fi to provide better coverage.

由於 Mesh Wi-Fi 下的 Satellite 懂得互相溝通,所以其提供統一的 Wi-Fi 名(SSID)及無需再次連線確認的優點。即使手機從發出訊號的一樓 Router 走到三樓的 Satellite 時,也無需再次尋找 Wi-Fi 或輸入資料,Router 與 Satellite 懂得自行溝通進行連接及提供服務。Since the Satellites under Mesh Wi-Fi know how to communicate with each other, it provides the advantages of a unified Wi-Fi name (SSID) and no need to reconnect to confirm. Even if the mobile phone moves from the Router on the first floor that sends out the signal to the Satellite on the third floor, there is no need to search for Wi-Fi or enter data again. The Router and Satellite know how to communicate, connect and provide services on their own.

於此說明一下,閘道器(Gateway)與路由器(Router)的定義可能不同。粗略來說,閘道器可能被定義在不同協定間移動資料,而路由器是在不同網路間移動資料,相當於傳統所說的IP閘道器(IP gateway)。在此僅為說明閘道器和路由器的區別,在大多數之狀況下,此領域中之通常知識者,通常並不會特意區分此二種裝置,即互相通用,除非需要對特定細節作說明。本發明於實施例中所稱之閘道器或路由器亦不限定其是指定閘道器或路由器。例如於本發明中所稱的該中心裝置,可以是路由器、閘道器或其組合的多合一機種。Let me explain here that the definitions of Gateway and Router may be different. Roughly speaking, a gateway may be defined to move data between different protocols, while a router moves data between different networks, which is equivalent to the traditional IP gateway (IP gateway). This is just to illustrate the difference between gateways and routers. In most cases, those with ordinary knowledge in this field will not deliberately distinguish between these two devices, that is, they are mutually compatible unless specific details are required. . The gateway or router referred to in the embodiments of the present invention is not limited to a designated gateway or router. For example, the central device referred to in the present invention may be a router, a gateway or an all-in-one model of a combination thereof.

關於記憶體,通常可以指:隨機存取存儲器(RAM)、唯讀記憶體(ROM)、電腦記憶體(Computer memory)或記憶卡(Memory card)。隨機存取存儲器英語,又名隨機存取記憶體和暫存記憶體,隨機存取記憶體是與中央處理器直接交換資料的記憶體。它可以隨時讀寫,而且速度很快,通常作為作業系統或其他正在執行中的程式的臨時資料儲存媒介。唯讀記憶體是一種半導體記憶體,其特性是一旦儲存資料就無法再將之改變或刪除,且內容不會因為電源關閉而消失。電腦記憶體,包括上述的RAM和ROM等,是所有記憶體的總稱。記憶卡,在電腦、手機、數位相機和錄音機、掌機遊戲上廣泛使用的記憶體,目前電腦上的記憶卡由於空間太小逐漸有被移動硬碟和USB隨身碟取代之情況。Regarding memory, it can generally refer to: random access memory (RAM), read-only memory (ROM), computer memory (Computer memory) or memory card (Memory card). Random access memory English, also known as random access memory and temporary storage memory, random access memory is the memory that directly exchanges data with the central processing unit. It can be read and written at any time, and the speed is very fast, and it is usually used as a temporary data storage medium for the operating system or other programs that are being executed. Read-only memory is a semiconductor memory whose characteristic is that once the data is stored, it cannot be changed or deleted, and the content will not disappear when the power is turned off. Computer memory, including the aforementioned RAM and ROM, is a general term for all memories. Memory card is widely used in computers, mobile phones, digital cameras, tape recorders, and handheld games. At present, memory cards on computers are gradually being replaced by mobile hard disks and USB flash drives due to their small space.

本發明於一實施例中為一種韌體更新方法,在一無線網狀網路11(Mesh Wi-Fi)的網路設備架構上,透過設定該無線網狀網路之一中心裝置21(Mesh Wi-Fi Router)下載一最新韌體,該中心裝置21根據該最新韌體版本212產生一文檔211,該文檔211包含一韌體版本名稱以及與該韌體版本名稱對應的一機型名稱。於無線網狀網路11覆蓋區域內的衛星裝置31(Mesh Wi-Fi Satellite)定期檢查該文檔211內容,並相對應地向該該中心裝置21下載該最新韌體212並進行更新。In one embodiment, the present invention is a firmware update method. On the network equipment architecture of a wireless mesh network 11 (Mesh Wi-Fi), by setting a central device 21 (Mesh Wi-Fi) of the wireless mesh network Wi-Fi Router) downloads a latest firmware, and the central device 21 generates a file 211 according to the latest firmware version 212, and the file 211 includes a firmware version name and a model name corresponding to the firmware version name. The satellite device 31 (Mesh Wi-Fi Satellite) within the coverage area of the wireless mesh network 11 checks the contents of the file 211 regularly, and correspondingly downloads the latest firmware 212 to the central device 21 and updates it.

請參考第1圖,本發明於一實施例之架構示意圖,包含有: A.   透過使用者設定韌體的版本號碼與網路伺服器提供所支援的機型和對應的韌體版本。 B.   無線網狀網路11之中心裝置21(Mesh Wi-Fi Router)根據下載資訊,從檔案伺服器將韌體存放於中心裝置之記憶體。 C.   Mesh Wi-Fi Router根據資訊產生包含韌體版本與對應機型的文本(圖中未示)。 D.   無線網狀網路11衛星裝置31(Mesh Wi-Fi Satellite)會定期向Mesh Wi-Fi Router查詢文本內容。 E.    如果文本取得的韌體版本資訊和本機版本有差異,則從Mesh Wi-Fi Router下載韌體並進行更新。 Please refer to Figure 1, which is a schematic diagram of the structure of an embodiment of the present invention, including: A. The supported models and corresponding firmware versions are provided by the user to set the firmware version number and the web server. B. The central device 21 (Mesh Wi-Fi Router) of the wireless mesh network 11 stores the firmware from the file server in the memory of the central device according to the downloaded information. C. Mesh Wi-Fi Router generates a text containing the firmware version and corresponding model based on the information (not shown in the figure). D. The wireless mesh network 11 satellite device 31 (Mesh Wi-Fi Satellite) will periodically query the Mesh Wi-Fi Router for text content. E. If the firmware version information obtained in the text is different from the local version, download the firmware from the Mesh Wi-Fi Router and update it.

更進一步地說明,本發明於一實施例中,係一種於無線網狀網路11範圍內更新設備韌體之方法,包含:一無線網狀網路11之一中心裝置21連線於一管理伺服器41以及一存放伺服器51;該無線網狀網路11之中心裝置21根據該管理伺服器41所設定的下載資訊,從該存放伺服器51將一最新韌體版本212存放於該中心裝置21之一記憶體;該中心裝置21根據該最新韌體版本212產生一文檔211,該文檔211包含一韌體版本名稱以及與該韌體版本名稱對應的一機型名稱;該無線網狀網路11之至少一衛星裝置31定期向該中心裝置21查詢該文檔211內容;以及,利用該文檔211比對該衛星裝置31之韌體版本,以進行從該中心裝置21之該記憶體下載該最新韌體並進行更新。To further illustrate, in one embodiment of the present invention, it is a method for updating device firmware within the wireless mesh network 11, including: a central device 21 of the wireless mesh network 11 is connected to a management Server 41 and a storage server 51; the central device 21 of the wireless mesh network 11 stores a latest firmware version 212 from the storage server 51 in the center according to the download information set by the management server 41 A memory of the device 21; the central device 21 generates a file 211 according to the latest firmware version 212, and the file 211 includes a firmware version name and a model name corresponding to the firmware version name; the wireless mesh At least one satellite device 31 of the network 11 regularly inquires about the contents of the file 211 from the central device 21; The latest firmware and update it.

請參照第2圖,以執行程序之步驟來說明,本發明於一實施例中,係一種於無線網狀網路11範圍內更新設備韌體之系統,執行以下程序步驟: S1: 設定程序:使用者透過一管理伺服器41對一中心裝置21(Central controller)設定韌體一下載位址與一韌體版本名稱; S2: 先置下載程序:該中心裝置21(Central controller)根據該設定程序之資訊產生一文檔211,並下載韌體到中心裝置21的記憶體存放; S3: 定期查詢程序:一衛星裝置31(Mesh satellite)會定期查詢該中心裝置21(Central controller)端的該文檔211; S4: 比對程序:判斷該文檔211所包含的機型及其對應韌體版本是否和區域網路內之衛星裝置31目前韌體版本不同;若比對有較新之韌體版本,進行下一步驟;S11: 若比對無較新之韌體版本,則不需要進行更新;以及, S5: 更新程序:該衛星裝置31從Central Controller端下載韌體進行更新。 Please refer to FIG. 2, and illustrate with the steps of executing the program. In one embodiment of the present invention, it is a system for updating device firmware within the range of the wireless mesh network 11, and executes the following program steps: S1: Setting procedure: the user sets a firmware download address and a firmware version name to a central device 21 (Central controller) through a management server 41; S2: Pre-set the download program: the central device 21 (Central controller) generates a file 211 according to the information of the setting program, and downloads the firmware to the memory of the central device 21 for storage; S3: Periodic query procedure: a satellite device 31 (Mesh satellite) will periodically query the file 211 at the central device 21 (Central controller); S4: Comparison program: determine whether the model and its corresponding firmware version contained in the document 211 are different from the current firmware version of the satellite device 31 in the local area network; if there is a newer firmware version in the comparison, proceed to the next step One step; S11: If there is no newer firmware version in the comparison, no update is required; and, S5: Update program: the satellite device 31 downloads firmware from the Central Controller to update.

其中,該文檔211包含了一本文以文字方式記載韌體下載位址與版本資訊。Wherein, the document 211 includes a document that records firmware download address and version information in text form.

於本發明一實施例中,其中至少一該中心裝置21及至少一該衛星裝置31,或至少二該衛星裝置31彼此,係為不同機型或不同型號。可以瞭解的是,透過本發明的更新方法,藉由自動設定伺服器及文檔211內容可以針對相異設備進行更新,亦即不同機型或不同型號的設備進行更新。In an embodiment of the present invention, at least one of the central device 21 and at least one of the satellite devices 31, or at least two of the satellite devices 31 are of different types or models. It can be understood that, through the update method of the present invention, by automatically setting the server and the content of the document 211, it is possible to update different devices, that is, different models or devices of different models.

另一方面,包含記載機型及最新韌體版本212名稱的該文檔211為可延伸標記式語言(XML)或爪哇腳本對象記法(JSON)檔案格式,以方便有效率地記載或修改機型名稱及最新韌體版本212名稱。可延伸標記式語言(Extensible Markup Language, XML)是一種標記式語言。標記指電腦所能理解的資訊符號,通過此種標記,電腦之間可以處理包含各種資訊的文章等。如何定義這些標記,既可以選擇國際通用的標記式語言,比如超文本標記語言(HTML),也可以使用像XML這樣由相關人士自由決定的標記式語言,這就是語言的可延伸性。On the other hand, the file 211 that includes the name of the recorded model and the latest firmware version 212 is in Extensible Markup Language (XML) or Java Script Object Notation (JSON) file format, so as to record or modify the name of the model conveniently and efficiently and the latest firmware version 212 name. Extensible Markup Language (XML) is a markup language. Tags refer to information symbols that computers can understand. Through this tag, articles containing various information can be processed between computers. How to define these tags, you can choose an internationally common markup language, such as Hypertext Markup Language (HTML), or use a markup language such as XML that is freely determined by relevant people, which is the extensibility of the language.

本發明可同時進行遠端龐大數量之網狀網絡相異設備之韌體更新,亦即不同機型或不同型號之網狀網路的設備,並且包含在網狀網絡架構上之中心裝置及衛星裝置。針對其提供服務的使用者,提供可快速有效的韌體更新方式或系統。應用本發明,可同時對多個於網狀網路上之相異設備進行韌體更新,且不需更改網路協定位址即可進行韌體更新作業,以達到增進韌體更新的速度並減少人力與時間成本。The present invention can update the firmware of a large number of different devices in the remote mesh network at the same time, that is, different models or different models of mesh network devices, and includes the central device and satellites on the mesh network architecture device. Provide a fast and effective firmware update method or system for the users it provides services to. Applying the present invention, it is possible to update the firmware of a plurality of different devices on the mesh network at the same time, and the firmware update operation can be performed without changing the address of the network protocol, so as to increase the speed of firmware update and reduce the Human and time costs.

11:      無線網狀網路 21:      中心裝置 211:    文檔 212:    最新韌體版本 31:      衛星裝置 41:      管理伺服器 51:      存放伺服器 S1~S5, S11: 步驟流程 11: Wireless mesh network 21: Central device 211: Documentation 212: Latest firmware version 31: Satellite device 41: Manage Servers 51: Storage server S1~S5, S11: Step flow

第1圖係本發明之於無線網狀網路範圍內更新設備韌體之系統的一實施例之架構示意圖。FIG. 1 is a schematic diagram of an embodiment of a system for updating device firmware within a wireless mesh network of the present invention.

第2圖係本發明之於無線網狀網路範圍內更新設備韌體之方法的一實施例之步驟流程圖。FIG. 2 is a flow chart of the steps of an embodiment of the method for updating device firmware within the scope of the wireless mesh network of the present invention.

11:      無線網狀網路 21:      中心裝置 211:    文檔 212:    最新韌體版本 31:      衛星裝置 41:      管理伺服器 51:      存放伺服器 11: Wireless mesh network 21: Central device 211: Documentation 212: Latest firmware version 31: Satellite device 41: Manage Servers 51: Storage server

Claims (7)

一種於無線網狀網路內更新設備韌體之方法,包含:一無線網狀網路內之一中心裝置連線於一管理伺服器以及一存放伺服器;該無線網狀網路之該中心裝置根據該管理伺服器所設定的下載資訊,從該存放伺服器將一最新韌體版本存放於該中心裝置之一記憶體;該中心裝置根據該最新韌體版本產生一文檔,該文檔包含一韌體版本名稱以及與該韌體版本名稱對應的一機型名稱;該無線網狀網路內之至少一衛星裝置定期向該中心裝置查詢該文檔內容;以及利用該文檔比對該衛星裝置之韌體版本,以相應地從該中心裝置之該記憶體下載該最新韌體版本並進行更新;其中至少一該中心裝置及至少一該衛星裝置,或至少二該衛星裝置彼此,係為不同機型或不同型號。 A method for updating device firmware in a wireless mesh network, comprising: a central device in a wireless mesh network connected to a management server and a storage server; the center of the wireless mesh network The device stores a latest firmware version from the storage server in a memory of the central device according to the download information set by the management server; the central device generates a file according to the latest firmware version, and the file includes a Firmware version name and a model name corresponding to the firmware version name; at least one satellite device in the wireless mesh network regularly inquires the content of the file from the central device; and uses the file to compare the satellite device firmware version, so as to download and update the latest firmware version from the memory of the central device accordingly; wherein at least one of the central device and at least one of the satellite devices, or at least two of the satellite devices, are different machines model or a different model. 一種於無線網狀網路範圍內更新設備韌體之系統,包含:提供一中心裝置、至少一衛星裝置、一管理伺服器以及一存放伺服器,該中心裝置及該衛星裝置於一無線網狀網路內;執行一設定程序,使用者透過該管理伺服器對該中心裝置設定一韌體下載位址與一韌體版本名稱;執行一先置下載程序,該中心裝置根據該設定程序產生一文檔,並下載一最新韌體版本到該中心裝置之一記憶體存放;執行一定期查詢程序,該衛星裝置定期查詢該中心裝置端的該文檔內容; 執行一比對程序,判斷該文檔所包含的機型及其對應之韌體版本是否和區域網路內之該衛星裝置目前韌體版本不同;以及執行一更新程序,該衛星裝置從該中心裝置之該記憶體下載該最新韌體版本,並進行更新;其中至少一該中心裝置及至少一該衛星裝置,或至少二該衛星裝置彼此,係為不同機型或不同型號。 A system for updating device firmware within a wireless mesh network, comprising: providing a central device, at least one satellite device, a management server and a storage server, the central device and the satellite device are in a wireless mesh network In the network; execute a setting program, the user sets a firmware download address and a firmware version name for the central device through the management server; execute a pre-installed downloading program, the central device generates a file, and download a latest firmware version to a memory of the central device for storage; execute a regular inquiry program, and the satellite device regularly inquires about the content of the document at the central device; Execute a comparison program to determine whether the model included in the document and its corresponding firmware version are different from the current firmware version of the satellite device in the local area network; The latest firmware version is downloaded from the memory and updated; wherein at least one of the central device and at least one of the satellite devices, or at least two of the satellite devices are of different models or models. 如請求項2之於無線網狀網路範圍內更新設備韌體之系統,其中該文檔為可延伸標記式語言(XML)或爪哇腳本對象記法(JSON)檔案格式。 As in claim 2, the system for updating device firmware within the range of a wireless mesh network, wherein the document is in an Extensible Markup Language (XML) or Java Script Object Notation (JSON) file format. 如請求項2之於無線網狀網路範圍內更新設備韌體之系統,其中該管理伺服器與該中心裝置之間係利用簡單網路管理協定、超文本傳輸協定、超文本傳輸安全協定或其組合進行連線。 As for the system for updating the device firmware within the range of the wireless mesh network in claim 2, wherein the management server and the central device use simple network management protocol, hypertext transfer protocol, hypertext transfer security protocol or its combination to connect. 一種於無線網狀網路內更新設備韌體之方法,包含:在一無線網狀網路的網路設備架構上,透過設定該無線網狀網路之一中心裝置下載一最新韌體版本,該中心裝置根據該最新韌體版本產生一文檔,該文檔包含一韌體版本名稱以及與該韌體版本名稱對應的一機型名稱;以及於無線網狀網路覆蓋區域內的無線網狀網路衛星裝置會定期檢查該文檔內容,並對應地向該中心裝置下載該最新韌體版本並進行更新;其中至少一該中心裝置及至少一該衛星裝置,或至少二該衛星裝置彼此,係為不同機型或不同型號。 A method for updating device firmware in a wireless mesh network, comprising: downloading a latest firmware version by setting a central device of the wireless mesh network on a network device architecture of a wireless mesh network, The central device generates a file according to the latest firmware version, the file includes a firmware version name and a model name corresponding to the firmware version name; and the wireless mesh network in the wireless mesh network coverage area All satellite devices will regularly check the content of the file, and correspondingly download the latest firmware version to the central device and update it; wherein at least one of the central device and at least one of the satellite devices, or at least two of the satellite devices, are Different models or different models. 如請求項5之於無線網狀網路內更新設備韌體之方法,其中該文檔為可延伸標記式語言(XML)或爪哇腳本對象記法(JSON)檔案格式。 The method for updating device firmware in a wireless mesh network as claimed in claim 5, wherein the document is in an Extensible Markup Language (XML) or Java Script Object Notation (JSON) file format. 如請求項5之於無線網狀網路內更新設備韌體之方法,其中該管理伺服器與該中心裝置之間係利用簡單網路管理協定、超文本傳輸協定、超文本傳輸安全協定或其組合進行連線。 The method for updating device firmware in a wireless mesh network according to claim 5, wherein the management server and the central device use simple network management protocol, hypertext transfer protocol, hypertext transfer security protocol or other combination to connect.
TW110116135A 2021-05-05 2021-05-05 Method and system for updating device firmware within wireless mesh network TWI784506B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW110116135A TWI784506B (en) 2021-05-05 2021-05-05 Method and system for updating device firmware within wireless mesh network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW110116135A TWI784506B (en) 2021-05-05 2021-05-05 Method and system for updating device firmware within wireless mesh network

Publications (2)

Publication Number Publication Date
TW202245502A TW202245502A (en) 2022-11-16
TWI784506B true TWI784506B (en) 2022-11-21

Family

ID=85793108

Family Applications (1)

Application Number Title Priority Date Filing Date
TW110116135A TWI784506B (en) 2021-05-05 2021-05-05 Method and system for updating device firmware within wireless mesh network

Country Status (1)

Country Link
TW (1) TWI784506B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158851A (en) * 2011-02-17 2011-08-17 惠州Tcl移动通信有限公司 Method for updating network service request parameters of mobile terminal and mobile terminal
CN103685530A (en) * 2013-12-17 2014-03-26 京信通信***(中国)有限公司 Automatic upgrade control method and system for WLAN current network APs
CN106713047A (en) * 2017-01-12 2017-05-24 泰凌微电子(上海)有限公司 Node upgrading method and system in mesh network

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102158851A (en) * 2011-02-17 2011-08-17 惠州Tcl移动通信有限公司 Method for updating network service request parameters of mobile terminal and mobile terminal
CN103685530A (en) * 2013-12-17 2014-03-26 京信通信***(中国)有限公司 Automatic upgrade control method and system for WLAN current network APs
CN106713047A (en) * 2017-01-12 2017-05-24 泰凌微电子(上海)有限公司 Node upgrading method and system in mesh network

Also Published As

Publication number Publication date
TW202245502A (en) 2022-11-16

Similar Documents

Publication Publication Date Title
US9369357B2 (en) Method, system, and computer readable medium for remote device management
CN102420785B (en) Relay server and relay communication system
US8214451B2 (en) Network service version management
CN101141422B (en) Method and system to access family gateway and family gateway
US20110276685A1 (en) Cloud computing as a service for enterprise software and data provisioning
US9344333B2 (en) Automating network build-out in self building networks
JP2011081809A (en) Apparatus for managing network resources
US11909744B2 (en) Network verification method and apparatus
CN112511660B (en) Management system, method and device of edge terminal equipment and storage medium
US20100312818A1 (en) Configuration of Routers for DHCP Service Requests
CN101702718A (en) Method and device for managing user terminal equipment
US20090185509A1 (en) Network Configuration
KR20110055561A (en) The development, test, and demonstration of automation solutions using web-based virtual computers and vpn tunneling
US11805011B2 (en) Bulk discovery of devices behind a network address translation device
CN103973785A (en) Log reading system based on P2P and method thereof
CN112187532A (en) Node control method and system
US20150200933A1 (en) Multi-user multi-router network management method and system
US20050135269A1 (en) Automatic configuration of a virtual private network
JP2007128331A (en) Automatic generation mechanism for network connection equipment
US9063963B2 (en) Method and system for migration of managed devices
TWI784506B (en) Method and system for updating device firmware within wireless mesh network
TWI784505B (en) Method and system for remotely controlling firmware update of different model devices in wireless mesh network
CN106533716B (en) A kind of management method and system of northbound interface
EP2564552B1 (en) Network management in a communications network
US10097643B2 (en) Technique for remote administration of a device belonging to a private network