TWI778349B - Firmware updating method and communication system - Google Patents
Firmware updating method and communication system Download PDFInfo
- Publication number
- TWI778349B TWI778349B TW109112236A TW109112236A TWI778349B TW I778349 B TWI778349 B TW I778349B TW 109112236 A TW109112236 A TW 109112236A TW 109112236 A TW109112236 A TW 109112236A TW I778349 B TWI778349 B TW I778349B
- Authority
- TW
- Taiwan
- Prior art keywords
- update
- meters
- firmware update
- electricity meters
- electricity
- Prior art date
Links
Images
Landscapes
- Communication Control (AREA)
- Stored Programmes (AREA)
Abstract
Description
本發明是有關於一種更新技術,且特別是有關於一種韌體更新方法及通訊系統。The present invention relates to an update technology, and more particularly, to a firmware update method and communication system.
先進讀表基礎建設(Advanced Metering Infrastructure,AMI)在政府積極的推動下,其通訊建設將扮演重要腳色。值得注意的是,部分電表可能需要透過不同通訊方式將電表資料上傳至後端平台(例如,頭端系統(Head-End System,HES)、電表資訊管理系統 (Meter Database Management System,MDMS)等)。而隨著電表建置數量增加,甚至高達數百萬具,通訊基地台(例如, NB-IoT、LTE-M等通訊基站)之負載亦隨之增加,且甚至影響設備的上網體驗。此外,在對這些電表更新的過程中,除了用電資料,相較更大資料量的更新資料也會同時湧入通訊基地台,從而造成資料擁塞,甚至會暫停服務。Under the active promotion of the government, Advanced Metering Infrastructure (AMI) will play an important role in its communication construction. It is worth noting that some meters may need to upload the meter data to the back-end platform through different communication methods (for example, Head-End System (HES), Meter Database Management System (MDMS), etc.) . As the number of electric meters installed increases, even reaching millions, the load of communication base stations (eg, NB-IoT, LTE-M and other communication base stations) also increases, and even affects the Internet experience of the device. In addition, in the process of updating these electricity meters, in addition to the electricity consumption data, updated data with a larger amount of data will also flood into the communication base station at the same time, resulting in data congestion and even service suspension.
有鑑於此,本發明實施例提供一種韌體更新方法及通訊系統,透過批次更新來錯開高負載情形。In view of this, embodiments of the present invention provide a firmware update method and a communication system, which can stagger high-load situations through batch update.
本發明實施例的韌體更新方法,其適用於受中繼站服務下的數台電表。韌體更新方法包括下列步驟:依據網路拓樸資訊對那些電表分群以產生數個更新群組。網路拓樸資訊相關於中繼站與受其服務的電表的連線情形,且各更新群組中的電表受相同的中繼站所服務。依據各更新群組中的電表的數量決定批次更新參數。此批次更新參數包括單一更新群組的更新上限數。依據批次更新參數對些電表進行韌體更新作業。同時僅有更新上限數的那些電表執行韌體更新作業。The firmware update method according to the embodiment of the present invention is applicable to several electric meters served by the relay station. The firmware update method includes the following steps: grouping those electricity meters according to the network topology information to generate several update groups. The network topology information is related to the connection between the relay station and the electricity meters served by it, and the electricity meters in each update group are served by the same relay station. The batch update parameters are determined according to the number of electricity meters in each update group. This batch update parameter includes the maximum number of updates for a single update group. Perform firmware update for some electricity meters according to batch update parameters. At the same time, only those meters with the updated upper limit will perform the firmware update operation.
本發明實施例的通訊系統包括數台電表、中繼站及頭端管理系統。電表用以上傳資料。中繼站為那些電表提供網路服務,並接收那些電表所上傳的資料。頭端管理系統依據網路拓樸資訊對電表分群以產生數個更新群組,依據各更新群組中的電表的數量決定批次更新參數,並依據批次更新參數經由中繼站對電表進行韌體更新作業。網路拓樸資訊相關於中繼站與受其服務的電表的連線情形,且各更新群組中的電表受相同的中繼站所服務。此批次更新參數包括單一更新群組的更新上限數。同時僅有更新上限數的那些電表執行韌體更新作業。The communication system of the embodiment of the present invention includes several electric meters, a relay station and a headend management system. The meter is used to upload data. The relay station provides network services for those meters and receives the data uploaded by those meters. The head-end management system groups the meters according to the network topology information to generate several update groups, determines the batch update parameters according to the number of meters in each update group, and performs firmware on the meters through the relay station according to the batch update parameters. Update the job. The network topology information is related to the connection between the relay station and the electricity meters served by it, and the electricity meters in each update group are served by the same relay station. This batch update parameter includes the maximum number of updates for a single update group. At the same time, only those meters with the updated upper limit will perform the firmware update operation.
基於上述,本發明實施例的韌體更新方法及通訊系統,透過分批更新來因應於大量設備同時更新情形,進而避免資料擁塞而影響其他設備的網路體驗。Based on the above, the firmware update method and communication system of the embodiments of the present invention respond to the simultaneous update of a large number of devices by updating in batches, thereby avoiding data congestion and affecting the network experience of other devices.
為讓本發明的上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。In order to make the above-mentioned features and advantages of the present invention more obvious and easy to understand, the following embodiments are given and described in detail with the accompanying drawings as follows.
圖1是依據本發明的一實施例的通訊系統1的元件方塊圖。請參照圖1,通訊系統1包括(但不僅限於)一台或更多台中繼站30、一台或更多台電表50、及頭端管理系統100。FIG. 1 is a block diagram of components of a
中繼站30例如是家用演進型節點B(Home Evolved Node B,HeNB)、eNB、次世代節點B(gNB)、基地收發器系統(Base Transceiver System,BTS)、轉發器(repeater)、路由器、交換器、或可程式化邏輯控制器(Programmable Logic Controller,PLC)。The
電表50是用來量測電源的儀器,其可裝設於住宅、工廠、公司或各類場所。電表50是數位型電表,可讀取用電量,並據以發送至其他裝置。另值得注意的是,電表50可內建或外接通訊模組51。通訊模組51可能是支援NB IoT、CatM1、PLC、射頻(RF)或其他通訊技術的收發器,並可與中繼站30建立連線且接收或傳送訊號(即,中繼站30可提供對應通訊技術的網路服務給通訊模組51及/或電表50)。The
在一實施例中,電表50透過通訊模組51上傳相關於用電資料、組態/設定、設備資訊、或韌體資訊等資料至中繼站30。中繼站30可能進一步轉送這些資料至頭端管理系統100或其他裝置。在另一實施例中,電表50透過通訊模組51下載相關於韌體更新檔、組態/設定等資料。In one embodiment, the
頭端管理系統100可能是獨立裝置或由多台裝置連接形成。頭端管理系統100中的裝置可以是桌上型電腦、筆記型電腦、平板電腦、智慧手機、伺服器、工作站等電子裝置。這些電子裝置包括諸如處理器(例如,CPU、DSP、ASIC等)、記憶體(例如,快取記憶體、硬碟等)等電子元件以執行運算功能(下文中,頭端管理系統100的主要運作是由其處理器執行),並包括通訊收發器(例如,支援Wi-Fi、行動網路(例如,***(4G)、第五代(5G)或更後世代)、乙太網路、或光纖網路等通訊技術)以與中繼站30相互傳輸資料,進而經由中繼站30接收來自電表50的資料或傳送資料至電表50。The
頭端管理系統100包括提供使用者介面110的軟體模組或設備(例如,網站伺服器、應用程式(APP)伺服器等)、以及韌體更新模組120(可能是由獨立裝置或軟體模組實現)。使用者介面110可能是網頁窗口、或應用程式介面,且使用者可透過輸入裝置(例如,觸控面板、鍵盤、按鍵、滑鼠等)在使用者介面110上輸入資料或觀看資訊(例如,資料統計、設備資訊、設定結果或資料分析結果等)。此外,韌體更新模組120用以管理韌體更新作業的主要運作,且其詳細運作待後續實施例詳述。The head-
在一些實施例中,頭端管理系統100可處理及/或分析自動讀表系統(Automatic Meter Reading/Automated Metering Infrastructure,AMR/AMI)相關資料。例如,計算計費資料、組態/設定資料、負載控制、或時間同步等。In some embodiments, the
為了方便理解本發明實施例的操作流程,以下將舉諸多實施例詳細說明本發明實施例中通訊系統1之運作流程。下文中,將搭配通訊系統1中各裝置及其元件或模組說明本發明實施例所述之方法。本發明實施例方法的各個流程可依照實施情形而隨之調整,且並不僅限於此。In order to facilitate the understanding of the operation process of the embodiment of the present invention, the following will describe in detail the operation process of the
圖2是依據本發明的一實施例的韌體更新方法的流程圖。請參照圖2,頭端管理系統100的韌體更新模組120依據網路拓樸資訊對那些電表分群以產生數個更新群組(步驟S210)。具體而言,網路拓樸資訊相關於一台或更多台中繼站30與受其服務的那些電表50的連線情形(例如,連線或離線狀態、訊號強度、訊號品質或所用通訊技術等)。例如,第一中繼站30與第一至第三電表50連線;第二中繼站30與第四至第十電表50連線。頭端管理系統100可自中繼站30或電信局端的後台伺服器取得中繼站30的識別碼(例如,細胞識別碼、或其他代碼)、以及與中繼站30連線的電表的識別碼。在一實施例中,韌體更新模組120可依據所屬中繼站30而對所有電表50分群。即,各更新群組中的那些電表50受相同的一台中繼站30所服務。在另一實施例中,韌體更新模組120也可能依據地理區域、型號或韌體版本對所有電表50分群。FIG. 2 is a flowchart of a firmware update method according to an embodiment of the present invention. Referring to FIG. 2 , the
需說明的是,頭端管理系統100會定時或反應於特定觸發事件(例如,系統異常、資料擁塞等)更新網路拓樸資訊,以因應於即時變動的連線情形。It should be noted that the head-
接著,頭端管理系統100的韌體更新模組120依據各更新群組中的那些電表的數量決定批次更新參數(步驟S220)。具體而言,批次更新參數包括各更新群組的更新上限數。為了避免更新過程中同時間過多資料傳輸,韌體更新模組120可基於網路拓樸資訊彈性地變動同時間各更新群組/中繼站50的更新上限數。Next, the
圖3是依據本發明的一實施例的批次更新參數決定方法的流程圖。請參照圖3,使用者透過使用者介面110選擇韌體更新清單。此韌體更新清單記錄特定區域的一台或更多台中繼站30所服務的一台或多台電表50(步驟S310)。韌體更新模組120可依據網路拓樸資訊判斷已離線的電表50及那些電表50的訊號強度(即,接收來自中繼站30的訊號強度)。接著,韌體更新模組120可自韌體更新清單中剔除已離線的電表50(即,其為離線狀態或未與中繼站30連線)(步驟S320)。此外,韌體更新模組120可依據網路拓樸資訊中那些電表50對應的訊號強度修改韌體更新清單(步驟S330)。例如,韌體更新模組120將當前訊號強度低於設定值或介於特定範圍內的電表50自韌體更新清單中剔除。需說明的是,步驟S320及S330的順序可能相反或同時,本發明實施例不加以限制。FIG. 3 is a flowchart of a method for determining batch update parameters according to an embodiment of the present invention. Referring to FIG. 3 , the user selects the firmware update list through the
確認各中繼站30的韌體更新清單之後,韌體更新模組120可取得各中繼站30的最大容許數量。此最大容許數量可能相關於更新資料量、所用通訊技術、用電資料量、訊號品質等因素。這些因素可與對應最大容許數量記錄在對照表中,以方便韌體更新模組120查詢。韌體更新模組120即可依據此最大容許數量及那些更新群組中的那些電表50的數量(即,各韌體更新清單中電表50的數量)決定單一群組的更新上限數(步驟S340)。例如,更新上限數等於最大容許數量,或者更新上限數等於最大容許數量的三分之二。也就是說,針對任一更新群組,此中繼站30只允許此更新上限數的電表50下載更新資料。After confirming the firmware update list of each
在一實施例中,批次更新參數更包括更新間隔時間。此更新間隔時間相關於電表50對應的通訊技術所容許的最低更新間隔時間。例如,NB IoT的最低更新間隔時間比PLC短。韌體更新模組120可依據網路拓樸資訊取得那些電表50的通訊模組51的通訊技術,並依據各電表50對應的通訊技術決定各更新群組對應的更新間隔時間(步驟S350)。若有其他低於此時間的設定,韌體更新模組120可選擇此最低更新間隔時間來決定更新間隔時間。例如,等於或高於特定數值等。In one embodiment, the batch update parameter further includes an update interval. The update interval time is related to the minimum update interval time allowed by the communication technology corresponding to the
韌體更新模組120可依據同一中繼站30所服務的電表50的數量(例如,相同基地台識別碼或其他代碼,並用以區別更新群組),對那些中繼站30分別設定分段同時更新上限數(步驟S360)。The
接著,韌體更新模組120可依據批次更新參數對那些電表50進行韌體更新作業(步驟S230)。具體而言,同時僅有設定的更新上限數的那些電表50執行韌體更新作業。即,各更新群組中的電表50將分批進行韌體更新作業。Next, the
圖4是依據本發明的一實施例的韌體更新作業的流程圖。請參照圖4,韌體更新模組120可判斷韌體更新清單中的那些電表50的目前版本與所欲更新版本是否相同(步驟S410)。若目前版本與所欲更新版本相同(即,已具有最新韌體),則韌體更新模組120可自韌體更新清單中剔除這些已具有最新韌體的電表50(步驟S415)。若有任一電表50的目前版本與所欲更新版本不相同或韌體更新清單已被修改(如步驟S415),則韌體更新模組120可根據前述設定的更新上限數對這些數量的電表50下達更新命令(步驟S420)。此外,韌體更新模組120亦根據所設定的更新間隔時間及更新群組傳送對應的更新資料(步驟S430)。例如,每間隔10分鐘更新10具通訊模組51。需說明的是,此更新資料可能適用於更新通訊模組51、及/或電表50的韌體。此外,本發明實施例的韌體更新作業是基於空中下載技術(Over-the-Air Technology,OTA)。OTA是透過行動通訊或其他通訊技術的空中介面所進行的遠程管理技術。通訊模組51、及/或電表50下載更新資料之後即可自動更新或升級。FIG. 4 is a flowchart of a firmware update operation according to an embodiment of the present invention. Referring to FIG. 4 , the
在更新的過程中,使用者可隨時決定是否中斷韌體更新作業(步驟S440)。例如,透過使用者介面110取消作業。在一些實施例中,韌體更新模組120也可能自動反應於系統異常、設備異常等情況而自行中斷韌體更新作業。此外,韌體更新模組120可確認是否已對各更新群組中當前連線的電表50(即,韌體更新清單中的電表50)下達更新命令(步驟S450)。各電表50可反應於接收到更新命令而傳送回應給韌體更新模組120,以方便確認命令下達進度。若中斷作業或所有電表50都接收到更新命令,則可結束韌體更新作業。During the update process, the user can decide whether to interrupt the firmware update operation at any time (step S440). For example, the operation is canceled through the
為了幫助讀者更加理解本發明實施例的發明精神,以下再舉二應用情境說明:In order to help readers better understand the inventive spirit of the embodiments of the present invention, two application scenarios are described below:
在一應用情境中,假設韌體更新清單是關於台中區域的一萬具電表50的通訊模組51的韌體更新作業。批次更新參數包括同一基地台(中繼站30的範例)僅能同時更新20具通訊模組51的更新上限數、以及間隔20分鐘進行下一批次的20具通訊模組51更新的更新間隔時間。頭端管理系統100可依據批次更新參數依據對各基地台服務下的通訊模組51下達更新命令。假設有100台基地台,則這些基地台都會能同時進行對應數量的韌體更新作業。In an application scenario, it is assumed that the firmware update list is about the firmware update operation of the
在另一應用情境中,假設韌體更新清單是關於台中區域的一千具電表50的通訊模組51的韌體更新作業。批次更新參數包括同一基地台僅能同時更新1具通訊模組51的更新上限數(可能更新資料較大)、以及間隔20分鐘進行下一批次的1具通訊模組51更新的更新間隔時間。同樣地,頭端管理系統100可依據批次更新參數依據對各基地台服務下的通訊模組51下達更新命令。In another application scenario, it is assumed that the firmware update list is about the firmware update operation of the
綜上所述,本發明實施例的通訊系統及其韌體更新方法包括以下特點:To sum up, the communication system and the firmware updating method thereof according to the embodiment of the present invention include the following features:
隨著電表建置數量增加,且其韌體更新所需傳輸量更高於定期讀表傳輸量,通訊基地台或通訊設備(DCU)之負荷也隨之增加。本發明實施例透過HES管理電錶通訊設備網路拓譜資訊,並透過HES即時網路拓譜資訊及HES網頁或其他使用者介面所選取的所欲更新設備資料,從而平衡各中繼站進行韌體OTA更新的負載。藉此,可避免資料同時湧入中繼站,且避免資料擁塞影響正常讀表,甚或暫停服務。此外,透過韌體更新模組管控各韌體版本,並可透過自動批次更新大幅減少電表選取與設定時間。As the number of electric meters installed increases, and the transmission volume required for firmware update is higher than the transmission volume for periodic meter reading, the load on the communication base station or communication equipment (DCU) also increases. In the embodiment of the present invention, the network topology information of the electric meter communication equipment is managed through the HES, and the real-time network topology information of the HES and the device data to be updated selected by the HES webpage or other user interface are used to balance the firmware OTA of each relay station. updated load. In this way, data can be prevented from flooding into the relay station at the same time, and data congestion can be prevented from affecting normal meter reading, or even suspending services. In addition, each firmware version is controlled through the firmware update module, and the time for meter selection and setup can be greatly reduced through automatic batch updates.
雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明的精神和範圍內,當可作些許的更動與潤飾,故本發明的保護範圍當視後附的申請專利範圍所界定者為準。Although the present invention has been disclosed above by the embodiments, it is not intended to limit the present invention. Anyone with ordinary knowledge in the technical field can make some changes and modifications without departing from the spirit and scope of the present invention. Therefore, The protection scope of the present invention shall be determined by the scope of the appended patent application.
1: 通訊系統 30: 中繼站 50: 電表 51: 通訊模組 100: 頭端管理系統 110: 使用者介面 120: 韌體更新模組 S210~S230、S310~S360、S410~S450: 步驟 1: Communication System 30: Relay Station 50: Electricity meter 51: Communication Module 100: Headend Management System 110: User Interface 120: Firmware Update Module S210~S230, S310~S360, S410~S450: Steps
圖1是依據本發明的一實施例的通訊系統的元件方塊圖。 圖2是依據本發明的一實施例的韌體更新方法的流程圖。 圖3是依據本發明的一實施例的批次更新參數決定方法的流程圖。 圖4是依據本發明的一實施例的韌體更新作業的流程圖。 FIG. 1 is a block diagram of components of a communication system according to an embodiment of the present invention. FIG. 2 is a flowchart of a firmware update method according to an embodiment of the present invention. FIG. 3 is a flowchart of a method for determining batch update parameters according to an embodiment of the present invention. FIG. 4 is a flowchart of a firmware update operation according to an embodiment of the present invention.
S210~S230: 步驟S210~S230: Steps
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109112236A TWI778349B (en) | 2020-04-10 | 2020-04-10 | Firmware updating method and communication system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
TW109112236A TWI778349B (en) | 2020-04-10 | 2020-04-10 | Firmware updating method and communication system |
Publications (2)
Publication Number | Publication Date |
---|---|
TW202139117A TW202139117A (en) | 2021-10-16 |
TWI778349B true TWI778349B (en) | 2022-09-21 |
Family
ID=79601171
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
TW109112236A TWI778349B (en) | 2020-04-10 | 2020-04-10 | Firmware updating method and communication system |
Country Status (1)
Country | Link |
---|---|
TW (1) | TWI778349B (en) |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811254A (en) * | 2011-06-03 | 2012-12-05 | 富士通株式会社 | Distribution method and distribution system |
TWI486877B (en) * | 2013-09-26 | 2015-06-01 | Wistron Corp | Method of firmware upgrade |
US20180046452A1 (en) * | 2016-08-11 | 2018-02-15 | Tti (Macao Commercial Offshore) Limited | Systems and methods for providing over the air firmware updates |
CN108737140A (en) * | 2017-04-20 | 2018-11-02 | 国基电子(上海)有限公司 | A kind of firmware update and controller |
-
2020
- 2020-04-10 TW TW109112236A patent/TWI778349B/en active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102811254A (en) * | 2011-06-03 | 2012-12-05 | 富士通株式会社 | Distribution method and distribution system |
TWI486877B (en) * | 2013-09-26 | 2015-06-01 | Wistron Corp | Method of firmware upgrade |
US20180046452A1 (en) * | 2016-08-11 | 2018-02-15 | Tti (Macao Commercial Offshore) Limited | Systems and methods for providing over the air firmware updates |
CN108737140A (en) * | 2017-04-20 | 2018-11-02 | 国基电子(上海)有限公司 | A kind of firmware update and controller |
Also Published As
Publication number | Publication date |
---|---|
TW202139117A (en) | 2021-10-16 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11758415B2 (en) | Method and apparatus of sharing information related to status | |
WO2020107905A1 (en) | Monitoring and managing methods for device, and terminal device | |
HRP20141037T4 (en) | Subscriber identification management broker for fixed/mobile networks | |
CN101594631A (en) | Automatic neighboring relationship method of measurement, terminal equipment and base station equipment | |
CN101489301B (en) | Wireless network automatic configuration system and configuration method thereof | |
CN109005528A (en) | A kind of bluetooth mesh gateway data polymerization report method | |
CN109195178B (en) | Signal quality monitoring method and terminal equipment | |
US11296936B2 (en) | Network element association using network data | |
CN102271421A (en) | Method and device for establishing Mesh link | |
US9681314B2 (en) | Self organizing radio access network in a software defined networking environment | |
CN103874113A (en) | Wireless network maintenance method, device and system | |
US11616389B2 (en) | Method and arrangement for detecting a topology in a low-voltage network | |
US20220345978A1 (en) | Network control device, network control system, and network control method | |
CN114145042A (en) | Cross optimization in mobile networks | |
TWI778349B (en) | Firmware updating method and communication system | |
EP4266191A1 (en) | Management and control method for data analysis apparatus, and communication apparatus | |
CN101895575A (en) | Method, device and system for downloading base station versions | |
CN103096361B (en) | The exchange method of performance statistic and device in a kind of wireless local area network (WLAN) system | |
CN103348712A (en) | Communication system | |
CN113472574A (en) | Method, device, medium and electronic equipment for monitoring user equipment based on 5G private network | |
CN113573348B (en) | Method for realizing automatic configuration of 5G base station parameters based on man-machine instruction | |
JP2019200620A (en) | Wireless communication device, control method for wireless communication device, control program for wireless communication device, firmware providing device, control method for firmware providing device, control program for firmware providing device, and communication system | |
CN111050376B (en) | AP neighbor table establishing method and device based on local area network | |
JP7345103B1 (en) | Radios and wireless communication systems | |
EP3187000A1 (en) | Method, apparatus and system for son coordination depending on son function priority |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GD4A | Issue of patent certificate for granted invention patent |