TW201025134A - Method and device for updating firmware - Google Patents

Method and device for updating firmware Download PDF

Info

Publication number
TW201025134A
TW201025134A TW97151886A TW97151886A TW201025134A TW 201025134 A TW201025134 A TW 201025134A TW 97151886 A TW97151886 A TW 97151886A TW 97151886 A TW97151886 A TW 97151886A TW 201025134 A TW201025134 A TW 201025134A
Authority
TW
Taiwan
Prior art keywords
update
firmware
packet
processing unit
updating
Prior art date
Application number
TW97151886A
Other languages
Chinese (zh)
Inventor
Jian-Hua Zhu
Liang Huang
Tony Tsai
Original Assignee
Inventec Appliances Corp
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 Inventec Appliances Corp filed Critical Inventec Appliances Corp
Priority to TW97151886A priority Critical patent/TW201025134A/en
Publication of TW201025134A publication Critical patent/TW201025134A/en

Links

Abstract

A method and a device for updating firmware are provided to perform firmware update to all electronic devices in the same network segment. In the present method, before transmitting the firmware divided into several packages, a package re-transmitting time of each package is determined by a network signal strength detected by each electronic device, and a package re-transmitting interval of each package is calculated by the time of transmitting and receiving an update request message and an update response message. Whether the firmware update is successful or not will be determined by the receiving of an update successful message only when all packages are separately transmitted to each electronic device. As a result, the process of updating firmware will not be interrupted and the purpose of updating a batch of firmware can be achieved, so as to significantly increase the efficiency of updating firmware of the electronic device.

Description

201025134 一乂 TW 30127twf.doc/n 六、發明說明: 【發明所屬之技術領域】 本發明是有關於一種更新動體(firmware)的方法, 且特別是有關於一種透過無線網路更新網段(netw〇rk segment)中所有電子裝置之韌體的批量更新方法。 【先前技術】 ❿ 所謂的韌體(firmware)泛指的是嵌入在裝置之硬體 =件中的軟體。透過韌體的更新,將可以對裝置的運作效 率、穩定性等狀態進行調整。而使用適當的韌體版本可確 保硬體裝置發揮最佳的運作效能。 一般來說,在更新電子裝置的韌體時多半是採用一對 处的方式。換句話說,具有更新韌體功能的燒寫器一次只 能對-個電子袈置進行更_體的動作。然而在需要同時 更新許多電子裝置_體時則必須透過人卫的方式,在201025134 一乂TW 30127twf.doc/n VI. Description of the Invention: [Technical Field of the Invention] The present invention relates to a method for updating a firmware, and more particularly to updating a network segment through a wireless network ( Batch update method for firmware of all electronic devices in netw〇rk segment). [Prior Art] 所谓 The so-called firmware refers to a software embedded in the hardware of the device. Through the firmware update, the operating efficiency and stability of the device can be adjusted. Using the appropriate firmware version will ensure that the hardware is performing at its best. In general, when updating the firmware of an electronic device, it is mostly a one-way approach. In other words, a programmer with an updated firmware function can only perform a more tangible action on an electronic device at a time. However, when it is necessary to update many electronic devices at the same time, it is necessary to

St:進行不同電子裝置的更新,而無法快速進行 體的動作。不難想見,這樣的更新方式十分地 響。、、進而可走會對更新勒體的整體效率造成負面影 【發明内容】 本發明提供—種更新勒體之方法, 新多個電子裝置_體(firmware)。 本發明提供—種更新韋刃體 子裝置之_的速度。 4加批董更新電 本發明提出-種更新_之方法,適於透過無線網路 3 201025134 m.v^u〇uzj4.TW 30127twf.doc/n ❿ 對網段(她減Segment)中的多個電子裝置進行動體的 更新。此綠首先分縣更騎求訊讀駐各個電子裝 置。接著,接收各電子裝置個別回傳的更新回覆訊息,其 ,各更新回覆訊息包括對應之電子裝置的網際網路協定 (Internet P論⑺卜IP)位址,與對應之電子裝置侧到 的網路訊號強度值。接下來_接_各更新回覆訊息的 回覆時間計算封包重送間隔,並根據各更新回覆訊息中的 網路訊號強度值蚊雜之好裝置的封"送次數。將 勒體切分為數個封包,並依據封包重送_、封包重送次 數與IP位时騎财封包舰至各電子裝置。爾後,等 ,各,子裝置所回傳的更新成功訊息,並且在接收到更新 成功訊息時,判定對應之電子裝置完雜體的更新。 在本發明之-實關中’其中在分縣更新請求訊息 运至各電子裝置的步驟之前,更包括提供減以及取 侍網段的網段IP位址。 纟本發明之-實施例巾,其巾分職更新請求訊息傳 籲 $各電子裝置的辣包括根翻段ιρ健在對應之網 =播更新晴求訊息。在另—實_巾’更包括依照廣播 重傳間隔來重複廣播更新請求訊息η次,而n為正整數。 在本發明之-實施例中,其中網路訊號強度值為電子 裝置接收更新請求訊息時所偵測。 在本發明之—實施例巾,其巾根據接收到各更新回覆 =的回覆時間§丨算封包重送間關步驟包括取得傳送更 '月求。扎心的》月求時間。接著,計算接收到各更新回覆訊 201025134 xmwv/〇v-i.J4.TW 30127twf.doc/n 息的回覆時間分別與請求時間之間的差值。最後,依據上 述差值來設定封包重送間隔。 在本發明之-實施例中,其中依據上述差值設定封包 重送間隔的步驟包括取得上述差值中的最大值,並以最大 值與預設值的乘積作為封包重送間隔。 在本發明之一實施例中,其中依據封包重送間隔、各 封包重送次數與各IP位址分別將所有封包傳送至各個電 子裝置的步驟包括依序選擇其中-個封包,並每間隔封包 重送間隔便將所選擇之封包傳送至各JP位址,直到傳送所 選擇之封包的次數到達封包重送次數為止。 在本發明之一實施例中,此更新韌體之方法更包括各 電子裝置在接收到最後之封包時,判斷利用所接收之所有 封包進行韌體的更新是否成功。在判斷韌體的更新成功 時,傳送更新成功訊息。 在本發明之一實施例中,其中在判斷韌體的更新成功 的步驟之後,更包括等待一段延遲時間才傳送更新成功訊 ❿ 息。 在本發明之一實施例中,無線網路包括wiFi無線網 路’而電子裝置可以疋數位相框(Digital Photo Frame, DPF)。 從另一觀點來看,本發明提出一種更新韌體之裝置, 包括主處理单元、無線網路模組、子處理單元接口,以及 子處理單元。其中,無線網路模組與子處理單元接口分別 連接至主處理單元’而無線網路模組用以連接至無線網 201025134 --------4.TW 3〇127twf.doc/n 路。。子處理單元對應無線網路中的—網段,在安插至子處 理單凡接口後,經由域理單元透過無_路模組對上述 網段中的所有電子裝置進行_的更新^其中,子處理單 元刀別將更新請求訊息傳送至各電子裝置,並接收各電子 裝置個別回傳的更新回覆訊息,其中更新回覆訊息包括對 應之電子裝置的IP位址,以及對應之電子裝置侧到的網 路訊號強度值。孩理單元_接_各更新回覆訊息的 回覆時間計算封包重送間隔,並根據各更新喊訊息中的 網路訊號強度值蚊龍之電子裝置的封包重送次數。在 將動體切分為多個封包後,依據封包重賴隔、各封包重 送次數與上述IP位址分別將所有封包傳送至各電子裝 置。最後’等候錢子裝置所回傳的更新成功訊息,以^ 在接收到更新成功訊息時,判定對應之好裝置完成 6ft争新·。 —i f之 例中,更新_之裝置更包括儲存 參 早70接Π ’連接至讀理單元。好處理單元在儲存 安插至儲料元接ϋ後,將㈣域理單元取得儲存單元 所記錄的韌體與網段的網段ΙΡ位址。 之—實施例中,其中子處理單元根據網段IP 位址在網&廣播更新請求訊息。 在本發明之-實施例中,其中子處理單元依 傳間隔來重複廣播更新請求訊息η次,其中 在本發明之一實施例中,其中網路訊 裝置接收更新請求訊息時所偵測。 又值马電子 乂 TW30127twf.doc/n 201025134 在本發明之一實施例t,其中子處理單元取得值 新^訊息的請求時間,並計算接收 覆、^ 設定封包重送間隔。間之間的差值’以及依據上述差值 在本發明之-實施例中,其中 的最=最—大實值施=乘積作― 包,並每間隔封包重送間 =:止址。’直到傳送—^ 在本發明之一實施例中’其中 線網路,好裝置包括數位相框/,、線稱包括畅無 勺扭! ★ 點來看’本發明提出—種更新款體之裝置, ^ 處理單元、無線網路模組、數 以及數個子處理罩分。甘Λ 取口丁匙埋早兀接口, ❿ 路模㈣連接中’各子處理單元接口與無線網 網路,無線網路模組用以連接無線 各個子處理單元個別別對應於-個接口識別碼。 安插至其中—個子心網路中的不同網段,在分別 盔線網路;m地早71:4接口後,經由主處理單元透過 ί新。其中有電子裝置進行不同勤體的 應之網段中的將更新請求訊息傳送至對 Ξ3 Γ息’其中更新回覆訊息包括對應之電子 位址,與對應之電子m貞測到的網路訊號強度 7 2〇1〇25J31tw30127^ 值。各子處理單元根據每次接收到更新回覆訊息的回覆時 間計算對應之網段的封包重送間隔,並根據各更新回覆訊 息中的網路訊號強度值決定對應之電子裝置的封包重送次 數。各子處理單元將對應之韌體切分為多個封包,並依^ 封包重送間隔、封包重送次數與IP位址將所有封包分別傳 送至對應網段中的各電子裝置。最後,各子處理單元等候 對應網段中各電子裝置所回傳的更新成功訊息,以及在接 # 收到更新成功訊息時,判定對應之電子裝置完成韌體的更 新。 在本發明之一實施例中,更新韌體之裝置更包括儲存 單元接口,耦接至主處理單元。當記錄有特定之接口識別 碼的儲存單元安插至儲存單元接口之後,由符合上述接口 識別碼之子處理單元接口上的子處理單元經由主處理單元 取得儲存單元所記錄的韌體與網段的網段ip位址。而上述 子處理單元會根據網段IP位址在對應網段廣播更新請求 訊息。在另一實施例中,子處理單元依照廣播 ❿域地廣敎新請求訊息η :欠,其中n為正整數f 1來 在本發明之一實施例中,其中網路訊號強度值為電子 裳置接收更新請求訊息時所偵測。 在本發明之一實施例中,其中上述子處理單元取得各 自傳送更新請求訊息的請求時間,並計算接收到各更新回 覆訊,的回覆時間分別與請求時間之間的差值,以及依據 所計算之所有差值來設定對應網段的封包重送間隔。 在本發明之一實施例中,其中子處理單元各自取得差 8 201025134 一 4.TW 30127twf.doc/n 2中的最大值’並以最大值與預設值的乘積作為封 間隔。 < 在本發明之-實施例中,其中上述子處理單元各自依 擇個封包’並每間隔封包重送間隔便傳送所選 =i:r’直到傳送所選擇之封包的次數到達 綠細t本發明之實施例中’其中無線網路包括盔 線網路’電子裝置包括數位相框。 …、 要义基於上述’本發明實現了在無線網路下對數個電子裂 體的:ns新韌體的動作’據此加快更新電子裝置之韌 體的時間,進而提升整體效率。 明 為讓本發明之上述特徵和優點能更鴨紐,下 舉實施例,並配合所附圖式作詳細說明如下。、 【實施方式】 Φ 置的依發明之一實施例所繪示之更新韌體之裝 °明參關1,更新_之裝置⑽包括主處 里=1U)、無線網路模組12G、子處理單秘口 13〇、子 处早兀M0,以及儲存單元接口 150。更新勒體之#晉 1⑻係透過緣痛嫩祕 (netwG/sfg= 、所有電子襄置進雜量更新㈣(f__M動作, 以下將對更新勒體之裝置100中的各構件進行說明。 c_ 1丨處理單元110例如是微控制器單元(Micro Unit ’ MCU) ’用以控制整個更新勒體之裝置⑽ 的運作。無線網路模組120與主處理單元11〇相連,用以 9 201025134 ------------ 30127twf.doc/n 連接至無線網路。其中,無線網路模組12〇包括連接無線 網路所需要的硬體、軟體元件,或硬體及軟體元件的組合, 而無線網路可以是WiFi無線網路等等,在此並不限制豆 範圍。 八 子處理單元接口 13〇連接至主處理單元13〇,以方便 在需要對電子裝置進行韌體更新時安插子處理單元14〇。 在本實施例中,子處理單元140例如是集成電路晶片 (Inte抑ted Circuit Chip ’ IC Chip),在安插至子處理 兀接口 130之後,便可經由主處理單元11〇以透過無線網 路模組120對-網段中的所有電子裝置進行動體的更新。 其中’需進行韌體更新的電子裝置例如是數位相框⑽挪 Photo Frame ’ DPF),在此並不限制電子裝置的種類。 如圖1所示,儲存單元接口 15〇亦連接至主處理單元 no,可安插好比像是安全數位(SecurityDigital,SD)卡 等各種儲存單元(未繪示)。當儲存單元安插至儲存單元 接口 150之後,子處理單元便會透過主處理單元 ❹料儲存單元所記錄的減與網段的峨娜網路協定 (Int灯net Protocol,IP)位址,進而對該網段中的電子裝 置進行勒體更新。為了更進—步地說明更新勤體之裝置 100的詳細運作流程,以下特舉另一實施例來做更清 說明。 圖2疋依照本發明之一實施例所緣示之更新韋刃體之方 法的流程圖。請同時參閱圖i與圖2,在本實施例中,假 5又個儲存了勃體以及特定網段之網段IP位址的儲存單 201025134 J4.TW 30127twf.doc/n 兀已女插至儲存單元接口 ls〇,那麼安插在子處理單元接 士」的子處理單元140便會透過主處理單元110取得儲 存單元所記錄的勃體與網段Ip位址。 在子處理單元140準锖開始進行韌體更新的程序時, 首先如步驟210所示,子處理單元M〇將更新請求訊息分 別傳送至網段中的每個電子裝置。進一步來說,子處理單 兀140將根據從儲存單元所取得的網段正位址在對應的 肖段巾廣播更新請求訊息。*為了避免因網路麥塞而導致 網段中的電子裝置沒有接收到廣播更新請求訊息,在一實 施例中子處理單元140會依照一個廣播重傳間隔(例如i 秒),重複地在網段中廣播更新請求訊息n次,其中11為 正整數。舉例來說,子處理單元140會重複廣播更新請求 訊息3次,而每次廣播的時間間隔為!秒。如此一來,便 能盡可能地減少網段中的電子裝置漏接更新請求訊息的可 能性。 在本實施例中,每個電子裝置在接收到子處理單元 140所傳送的更新清求訊息後’將回傳一個更新回覆訊牵、 至更新勤體之裝置1⑽。而無論子處理單元140重覆傳送 幾次更新請求訊息至電子裝置,電子裝置只會回傳一次更 新回覆訊息’進而避免佔用過多的無線網路頻寬。據此如 步驟220所不,子處理早元140將接收到由各電子裝置所 個別回傳的更新回覆訊息。其中各更新回覆訊息包括對鹿 之電子裝置的ip位址,以及對應之電子裝置在接收更新請 求訊息時所偵測到的網路訊號強度值。St: The update of different electronic devices is performed, and the movement of the body cannot be performed quickly. It is not difficult to imagine that such an update is very loud. And further, it may cause a negative impact on the overall efficiency of the update. [Invention] The present invention provides a method for updating a Lexon, a new plurality of electronic devices. The present invention provides a speed for updating the _ of the Weaver blade body device. 4Additional approval of the update of the present invention The invention proposes a method of updating _, which is suitable for transmitting over the wireless network 3 201025134 mv^u〇uzj4.TW 30127twf.doc/n 多个 Multiple electrons in the network segment (she minus the segment) The device performs an update of the moving body. This green first counts the county and rides the information to read the various electronic devices. Then, receiving an update reply message sent back by each electronic device, wherein each update reply message includes an internet protocol (Internet P (7) IP address) of the corresponding electronic device, and a network corresponding to the corresponding electronic device Road signal strength value. Next, the reply time of each update reply message is calculated as a packet resend interval, and according to the network signal strength value in each update reply message, the number of packets sent by the device is "sent." The body is divided into several packets, and according to the packet re-send _, the packet is resent and the IP address is used to ride the package ship to each electronic device. Thereafter, each of the sub-devices returns an update success message, and upon receiving the update success message, determines the update of the corresponding electronic device. In the present invention, before the step of updating the request message to each electronic device in the county, the network address of the network segment providing the subtraction and the access network segment is further included. In the embodiment of the present invention, the towel division update request message is transmitted. The spicyness of each electronic device includes the root segment ιρ健 in the corresponding network = broadcast update request message. In the other embodiment, the broadcast update request message is repeated n times in accordance with the broadcast retransmission interval, and n is a positive integer. In an embodiment of the invention, wherein the network signal strength value is detected when the electronic device receives the update request message. In the embodiment of the present invention, the towel is received according to the response time of each update reply = § the packet retransmission step includes obtaining the transmission. The heart of the "monthly request time. Next, calculate the difference between the response time of each update and the response time of each update reply 201025134 xmwv/〇v-i.J4.TW 30127twf.doc/n. Finally, the packet retransmission interval is set based on the above difference. In an embodiment of the invention, the step of setting the packet retransmission interval based on the difference comprises obtaining a maximum of the differences and using a product of the maximum value and the preset value as the packet retransmission interval. In an embodiment of the present invention, the step of transmitting all the packets to each electronic device according to the packet retransmission interval, the number of retransmission times of each packet, and each IP address respectively includes sequentially selecting one of the packets, and each interval packet The retransmission interval transmits the selected packet to each JP address until the number of times the selected packet is transmitted reaches the number of packet retransmissions. In an embodiment of the present invention, the method for updating the firmware further includes: when receiving the last packet, each electronic device determines whether the firmware update by using all the received packets is successful. When it is determined that the firmware update is successful, an update success message is transmitted. In an embodiment of the present invention, after the step of determining that the firmware is successfully updated, it further comprises waiting for a delay time before transmitting the update success message. In one embodiment of the invention, the wireless network includes a wiFi wireless network' and the electronic device can utilize a Digital Photo Frame (DPF). From another point of view, the present invention provides an apparatus for updating a firmware, including a main processing unit, a wireless network module, a sub-processing unit interface, and a sub-processing unit. Wherein, the wireless network module and the sub-processing unit interface are respectively connected to the main processing unit' and the wireless network module is used to connect to the wireless network 201025134 --------4.TW 3〇127twf.doc/n road. . The sub-processing unit corresponds to the network segment in the wireless network, and after being inserted into the sub-processing unit, the _ update is performed on all the electronic devices in the network segment through the non-channel module via the domain management unit. The processing unit sends an update request message to each electronic device, and receives an update reply message sent back by each electronic device, wherein the update reply message includes an IP address of the corresponding electronic device, and a corresponding electronic device side-to-network Road signal strength value. The child's unit_receives the reply time of each update reply message to calculate the packet resend interval, and according to the network signal strength value in each update message, the number of packet resends of the electronic device of the mosquito dragon. After the mobile body is divided into a plurality of packets, all the packets are transmitted to the respective electronic devices according to the packet weighting interval, the number of times of each packet retransmission, and the above IP address. Finally, the update success message returned by the waiting money device is determined by ^ when the update success message is received, and the corresponding device is determined to complete 6 ft. In the case of -i f, the device of update_ further includes storing the reference 70's connected to the reading unit. After the storage unit is inserted into the storage unit, the (4) domain unit obtains the firmware and the network segment address of the network segment recorded by the storage unit. In the embodiment, the sub-processing unit broadcasts the update request message according to the network segment IP address in the network & In an embodiment of the invention, wherein the sub-processing unit repeats the broadcast update request message n times in accordance with the transmission interval, wherein in an embodiment of the invention, the network communication device detects when the update request message is received. Further, in accordance with an embodiment t of the present invention, the sub-processing unit obtains the request time of the value of the new message, and calculates the reception overlap and the setting packet retransmission interval. The difference between the ' and the difference according to the above-described difference in the embodiment of the present invention, wherein the most = most - large real value = product is used as a packet, and each interval between packets is resent =: address. 'Until transmission-^ In one embodiment of the present invention, 'the neutral network, the good device includes the digital photo frame/, and the line name includes the spoonless twist! ★ Point to see the device proposed by the present invention to update the body , ^ Processing unit, wireless network module, number, and several sub-processing masks. Ganzi takes the Ding key and buryes the early interface, ❿ Road mode (4) connects the 'sub-processing unit interface with the wireless network, and the wireless network module is used to connect the wireless sub-processing units to correspond to the individual interface identification. code. Inserted into it - the different network segments in the network of the sub-centers, respectively, after the 71:4 interface of the helmet network; through the main processing unit through the new. There is an electronic device that transmits an update request message to a pair of messages in a network segment of a different service body. The update reply message includes a corresponding electronic address, and the network signal strength measured by the corresponding electronic device m 7 2〇1〇25J31tw30127^ value. Each sub-processing unit calculates a packet retransmission interval of the corresponding network segment according to the response time of each time the update reply message is received, and determines the number of packet resend times of the corresponding electronic device according to the network signal strength value in each update reply message. Each sub-processing unit divides the corresponding firmware into a plurality of packets, and transmits all the packets to the respective electronic devices in the corresponding network segment according to the packet retransmission interval, the number of packet retransmissions, and the IP address. Finally, each sub-processing unit waits for the update success message returned by each electronic device in the corresponding network segment, and determines that the corresponding electronic device completes the firmware update after receiving the update success message. In an embodiment of the invention, the device for updating the firmware further includes a storage unit interface coupled to the main processing unit. After the storage unit with the specific interface identifier is inserted into the storage unit interface, the sub-processing unit on the sub-processing unit interface that meets the interface identifier obtains the network of the firmware and the network segment recorded by the storage unit via the main processing unit. Segment ip address. The sub-processing unit broadcasts an update request message on the corresponding network segment according to the network segment IP address. In another embodiment, the sub-processing unit widens the new request message η: owing according to the broadcast domain, where n is a positive integer f 1 , in an embodiment of the present invention, wherein the network signal strength value is an electronic skirt Detected when receiving an update request message. In an embodiment of the present invention, the sub-processing unit obtains a request time for transmitting an update request message, and calculates a difference between a response time and a request time for receiving each update reply, and according to the calculated All the differences are used to set the packet retransmission interval of the corresponding network segment. In an embodiment of the invention, the sub-processing units each take the difference 8 201025134 - 4. TW 30127 twf.doc / n 2 maximum value ' and use the product of the maximum value and the preset value as the sealing interval. < In the embodiment of the present invention, wherein the sub-processing units each select a packet 'and transmit the selected =i:r' every interval of the packet retransmission interval until the number of times the selected packet is transmitted reaches the green t In an embodiment of the invention, the 'wireless network includes a helmet line network' electronic device includes a digital photo frame. ..., the essence is based on the above-mentioned 'the invention realizes the action of the ns new firmware of a plurality of electronic cracks under the wireless network', thereby accelerating the time of updating the firmware of the electronic device, thereby improving the overall efficiency. The above features and advantages of the present invention will become more apparent from the following description of the embodiments of the invention. [Embodiment] The device for updating the firmware according to an embodiment of the invention is shown in Figure 1. The device (10) including the main device (10) includes the wireless network module 12G and the child. The single secret port 13〇, the child early M0, and the storage unit interface 150 are processed. Update #勒1(8) is through the pain of tenderness (netwG/sfg=, all electronic devices are updated (4) (f__M action). The following describes the components in the device 100 for updating the device. c_ 1 The processing unit 110 is, for example, a Micro Unit 'MCU' for controlling the operation of the device (10) for the entire update. The wireless network module 120 is connected to the main processing unit 11 for 9 201025134 -- ---------- 30127twf.doc/n Connect to a wireless network, where the wireless network module 12〇 includes the hardware, software components, or hardware and software components required to connect to the wireless network. The wireless network may be a WiFi wireless network or the like, and the bean range is not limited herein. The eight-child processing unit interface 13 is connected to the main processing unit 13A to facilitate firmware update of the electronic device. In the embodiment, the sub processing unit 140 is, for example, an integrated circuit chip (Inte ted Circuit Chip 'IC Chip), and after being inserted into the sub processing interface 130, the main processing unit 11 can be passed through the main processing unit 11 〇 to pass the wireless network mode 120 pairs of all electronic devices in the network segment are updated. Among them, the electronic device that needs firmware update is, for example, a digital photo frame (10), which does not limit the type of electronic device. As shown in Fig. 1, the storage unit interface 15 is also connected to the main processing unit no, and can be inserted into various storage units (not shown) such as a security digital (SD) card. After the storage unit is inserted into the storage unit interface 150 The sub-processing unit sorts the electronic devices in the network segment by the address of the network protocol (IP address) of the network segment recorded by the main processing unit and the data storage unit. In order to further explain the detailed operational flow of the device 100 for updating the service, another embodiment will be further described below. FIG. 2 is an update of the blade according to an embodiment of the present invention. Flowchart of the method of the body. Please refer to FIG. 1 and FIG. 2 at the same time. In this embodiment, the dummy 5 stores a storage list of the IP address of the network segment of the specific network segment 201025134 J4.TW 30127twf.doc /n The sub-processing unit 140, which has been inserted into the storage unit interface ls, is then inserted into the sub-processing unit 140 of the sub-processing unit to obtain the Bob and segment Ip addresses recorded by the storage unit through the main processing unit 110. When the unit 140 is ready to start the firmware update procedure, first, as shown in step 210, the sub-processing unit M transmits the update request message to each of the electronic devices in the network segment. Further, the sub-processing unit 140 The update request message will be broadcasted in the corresponding segment according to the network segment positive address obtained from the storage unit. * In order to avoid that the electronic device in the network segment does not receive the broadcast update request message due to the network mais, in an embodiment, the sub-processing unit 140 repeats the network according to a broadcast retransmission interval (for example, i seconds). The segment updates the request message n times, where 11 is a positive integer. For example, the sub-processing unit 140 repeats the broadcast update request message 3 times, and the time interval of each broadcast is! second. In this way, the possibility that the electronic device in the network segment misses the update request message can be reduced as much as possible. In this embodiment, after receiving the update request message transmitted by the sub-processing unit 140, each electronic device will return an update back to the device 1 to update the device 1 (10). Regardless of whether the sub-processing unit 140 repeatedly transmits the update request message to the electronic device, the electronic device will only return an update reply message 'and avoid occupying too much wireless network bandwidth. Accordingly, as in step 220, the sub-process early 140 will receive an update reply message that is individually returned by each electronic device. The update reply message includes the IP address of the electronic device of the deer and the network signal strength value detected by the corresponding electronic device when receiving the update request message.

II 一^4.TW 3〇l27twf.doc/n 201025134 至電驟Γ:,子處理單元140在將勤體傳送 率m進仃更新之前,為了讓資料的傳送更有效 勺重、、'/門5根,接收各更新回覆訊息的回覆時間來計算封 :二二:’亚且根據各更新回覆訊息中的網路訊號強度 值決疋對應之電子装置的封包重送次數。 Μ3子處理單元⑽首先取得傳送更新請求訊 Ξί2 Γ在子處理單元140傳送多次更新請求訊息 為I喪例如會以第—次傳送更新請求訊息的時間作 接著’取得接收到各更新回覆訊息的回覆 山曰並。十异母個喊時間分別與請求時間之間的差值。 =於,覆時間與·時_差值相表轉息或資料在子 處理早7L 140與對應之電子農置之間來回傳送一次所需要 ^在=2,元140便可依據計算出的所有差值 。又。在更新初體㈣封包重送間隔。在—實施例中,子 處理,70 140將取得上述差值中的最大值,並以最大值與 Ο 預》又值(例如0.75)的乘積作為封包重送間隔。 在本實^例巾’子處理單元14〇在接收到—個電子裝 置所,傳的更新喊訊息後,亦可從中得知電子裝置的網 路訊號強度值。而子處理單元14G將根據網路訊號強度值 的大小來蚊贿包料至此電子裝置的封包重送次數。 舉例來說’電抒置的網軌號強度值獻,表示可能因 網路=穩㈣接訊息或資訊賴率較低,因此所對應的封 包重运次數便較低。反之,為了避免醜訊號強度值較小 的電子農置因各種網路狀況而漏接訊息或資訊,子處理單 12 201025134 ---------4.TW 30127twf.doc/n 元140將給予這樣的電子裝置一個較 在本實施例中,封包重送次數例如是介於2 ^重送次數。 然而這只是本發明的其十一種範例,並不 5次之間, 的範圍。 不用U限制本發明 在妓封包重簡隔與各電子裝置 後,接著如步驟240所示,子處理= 1依照其大小切分為數個封包,並依 ^ =的 至各個電子裝置。在本實施例中,,送 地將各封包傳送至每個電子裝置二G會依序 =4〇將依序選擇其中-個封包’並在每相隔—段ς = 包重送間隔的時間便將所選擇之封包傳送至各電子裝2 直到?送封包的次數已到達電子裝置之封包重送 盘μ *接者再次選擇另—個封包,並根據封包重送間 &與封包重敎數重複地將封包傳送至每㈣子裝置。 ❿ -個封包也傳送完畢之後,最後在步驟25〇 I ’更新_之裝置_將等候各電子裝置所轉的更新 成功訊息。在每次接收到更新成功訊息時子處理單元⑽ =疋傳送此更新成功訊息的電子裝置已完餘體的更新 動作。值得-提岐,在本實施财各電子裝置唯有在接 收到最後-_包之後才會進确體的更新,並且判斷利 用所接收之财封包進㈣㈣更新是否成功 ’僅只在更 、功的情況下’電子裝置才f回傳更新成功訊息。此外, 為了避免過多電子裝置同時回傳更新成功訊息而導致網路 13 201025134j4TW3〇_ 壅塞,電子裝置可在更新成功後等待一段延遲時間才傳送 更新成功訊息。其中,延遲時間可以是依據亂數來決定的 時間,或是根據電子裝置所偵測之網路訊號強度值的大小 而有所不同。 透過各電子裴置所回傳的更新成功訊息,更新韌體之 裝置100可判斷此網段中的哪些電子裝置已成功更新韌 體。由於只有在最後一個封包傳送完畢之後,才有機會收 到電子裝置所回傳的更新成功訊息,因此可以確保更新網 置之_的過程不會受到中斷’進而加快 ,3是依照本發明之另—實施例驗示之更新勒體之 ' ^方塊圖。請參閱圖3,更新_之裝置遍包括主 單7G 310、無線網路模址32〇、數個子處理單元接口(即 Z處理單元接口 331、子處理單元接Π 333,與子處理單元 J口奶等)、數個子處理單元(即子處理單元μ早子 與子處;單元345等),以及儲存單元接 能愈更新ί處理早凡310與無線網路模組320的功 模^且120相^置100中的主處理單元110與無線網路 =:有或::的接故=赘述。一-Γ及在:=:¾ (例如子處二:) 單心。取得_單元所記 14 201025134 >4.TW30127twf.doc/n 對此網段巾的所有電子裝置進㈣體更新。 體的=麼:=;:網?中ί電子裝置進赖 :單=:==;=:=:II一^4.TW 3〇l27twf.doc/n 201025134 Power-on: The sub-processing unit 140 prior to the update of the transmission rate m, in order to make the transmission of the data more effective, 5, receiving the reply time of each update reply message to calculate the seal: 22: 'Asia and according to the network signal strength value in each update reply message, the number of packet resends of the corresponding electronic device is determined. The 子3 sub-processing unit (10) first obtains the transmission update request message Γ Γ Γ 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子 子Reply to the mountains and. The difference between the time and the request time. =,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, Difference. also. In the update of the initial body (four) packet resend interval. In an embodiment, the sub-process, 70 140 will take the maximum of the above differences and use the product of the maximum value and the value of the value (e.g., 0.75) as the packet retransmission interval. In the embodiment, the sub-processing unit 14 can receive the update signal of the electronic device, and then learn the network signal strength value of the electronic device. The sub-processing unit 14G will randomly collect the number of packet resends to the electronic device according to the magnitude of the network signal strength value. For example, the value of the network number of the electric device indicates that the number of retransmissions may be lower because of the network=stable (four) message or the lower rate of information. On the other hand, in order to avoid the electronic farms with small values of the strength of the ugly signal, the message or information is missed due to various network conditions, the sub-processing list 12 201025134 ---------4.TW 30127twf.doc/n yuan 140 One such electronic device will be given. In this embodiment, the number of packet retransmissions is, for example, 2 2 retransmission times. However, this is only one of the eleven examples of the present invention, not between the five. Without limiting the present invention, after the packet is re-segmented with each electronic device, then as shown in step 240, the sub-process = 1 is divided into a plurality of packets according to their sizes, and according to ^ = to each electronic device. In this embodiment, the delivery of each packet to each electronic device 2G will sequentially select one of the packets in the order of 4, and in the interval of each interval - the interval of the packet retransmission interval The selected packet is transmitted to each electronic device 2 until the number of times the packet is sent has reached the packet re-delivery disk of the electronic device. * The receiver selects another packet again, and according to the packet resend room & The packet is repeatedly transmitted to each (four) sub-device. ❿ After the packet is also transmitted, the device that last updated in step 25 〇 I ’ ’ will wait for the update success message from each electronic device. The sub-processing unit (10) = the update operation of the electronic device that has transmitted the update success message every time the update success message is received. It is worthwhile to mention that in this implementation, each electronic device will only update the actual body after receiving the last -_ packet, and judge whether the update is successful using the received financial package (4) (four) update is only in the more In the case, the electronic device f returns the update success message. In addition, in order to prevent the electronic device from returning the update success message at the same time, the electronic device may wait for a delay time after the update is successful to transmit the update success message. The delay time may be determined according to the random number or may be different according to the value of the network signal strength detected by the electronic device. Through the update success message returned by each electronic device, the firmware update device 100 can determine which electronic devices in the network segment have successfully updated the firmware. Since the update success message returned by the electronic device is received only after the last packet is transmitted, it can be ensured that the process of updating the network is not interrupted, and then speeds up, and 3 is another according to the present invention. - An example of the updated '^ block diagram of the Lexus. Referring to FIG. 3, the device of the update_includes the main list 7G 310, the wireless network module address 32〇, and several sub-processing unit interfaces (ie, the Z processing unit interface 331, the sub-processing unit interface 333, and the sub-processing unit J port). Milk, etc.), a number of sub-processing units (ie, sub-processing unit μ early sub- and sub-location; unit 345, etc.), and the storage unit can be updated to handle the processing of the 310 and the wireless network module 320. The main processing unit 110 in the phase 100 and the wireless network =: have or:: the following = description. One - Γ and at: =: 3⁄4 (eg sub-two:) Single heart. Get the _unit record 14 201025134 >4.TW30127twf.doc/n All the electronic devices of this network segment are updated.体=么:=;:网?中ί电子装置进赖:单=:==;=:=:

時,便。網段中的電子裝置進行更新勒體 個子處理單元安插至子處理單元接口。 二於各個子處理單元在更_段中每個電子裝置之勒 述的V驟與圖2所示之各步驟相同或相似,故再此不再資 ^進r步來說,更新減之較遍所包㈣各個子處 :兀係個別對應無線網路之不同網段。亦即,每個子處 理早兀可用以對不同網段中的所有電子裝置進行勒體的更 新,而屬於不同網段的電子裝置種類可以有所不同,需要 更^的細體也可以是相異的勒體,在此並不限制電子裝置 及勒體的種類。透過上述方式不僅可以達到批量更新勒體 的目的,同時也增加了更新韌體之裝置300的使用彈性與 擴充性。 综上所述’上述實施例所述之更新韌體之方法與裝置 不但·^以針對屬於相同網段中的電子裝置進行批量韌體更 新’還可以同時對不同網段中的電子裝置進行不同韌體的 更新。如此一來’不但可以實現多個網段同時更新韌體的 目的’更可以確保更新韌體的速度,增加更新韌體的便利 15 4TW3〇127twf.doc/n 201025134 性與效率。 雖然本發明已以實施例揭露如上,然其並非用以限 本發明’任何所屬技術領域中具有通常知識者 = 本發明之精神和範圍内,當可作些許之更動與潤飾,故本 發明之保護範圍當視後附之申請專利範圍所 【圖式簡單朗】 圖 ❿ 1疋依照本發明之一實施例所緣示之更新勤體 置的方塊圖。 _ 圖2是依照本發明之一實施例所繪示之更新韌 法的流程圖。 之裝 圖3疋依照本發明之另一實施例所繪示之更新 裝置的方塊圖。 【主要元件符號說明】When, then. The electronic device in the network segment is updated and the sub-processing unit is inserted into the sub-processing unit interface. Second, the V steps of each electronic processing unit in each of the sub-processing units are the same as or similar to the steps shown in FIG. 2, so that the re-processing is no longer necessary, and the update is reduced. All sub-packages (4) Each sub-section: The different network segments of the corresponding wireless network. That is, each sub-process can be used to perform the update of all electronic devices in different network segments, and the types of electronic devices belonging to different network segments may be different, and may require more fine or different. The type of the device does not limit the types of electronic devices and devices. In this way, not only can the purpose of batch updating of the body be achieved, but also the flexibility and expandability of the device 300 for updating the firmware can be increased. In summary, the method and apparatus for updating the firmware described in the above embodiments not only perform batch firmware update for electronic devices belonging to the same network segment, but also can simultaneously perform different electronic devices in different network segments. Firmware update. In this way, not only can the purpose of simultaneously updating the firmware on multiple network segments can be ensured, but the speed of updating the firmware and the convenience of updating the firmware can be ensured. 15 4TW3〇127twf.doc/n 201025134 Sex and efficiency. The present invention has been disclosed in the above embodiments, but it is not intended to limit the invention to the general knowledge of the present invention. The scope of protection is set forth in the appended claims. [FIG. 1] FIG. 1 is a block diagram of an updated body according to an embodiment of the present invention. 2 is a flow chart of an updated toughness method in accordance with an embodiment of the present invention. Figure 3 is a block diagram of an update apparatus in accordance with another embodiment of the present invention. [Main component symbol description]

110 :主處理單元 120 :無線網路模組 130 :子處理單元接口 140 :子處理單元 150:儲存單元接口 210〜250 :本發明之一實施例所述之更新韌體之方 的各步驟 310 :主處理單元 320 :無線網路模組 331、333、335 :子處理單元接口 341、343、345 :子處理單元 350 :儲存單元接口110: Main processing unit 120: Wireless network module 130: Sub-processing unit interface 140: Sub-processing unit 150: Storage unit interfaces 210-250: Steps 310 of updating the firmware side according to an embodiment of the present invention Main processing unit 320: wireless network module 331, 333, 335: sub-processing unit interface 341, 343, 345: sub-processing unit 350: storage unit interface

Claims (1)

201025134 —4.TW 30127twf.doc/n 七、申請專利範圍: 1. 種更新耕體之方法’適於透過一無線網路對一網 段(network segment )中的多個電子裝置進行一韌體 (firmware)的更新,該方法包括: 分別傳送一更新請求訊息至各該些電子裝置; 接收各該些電子裝置個別回傳的一更新回覆訊息,其 中各該些更新回覆訊息包括對應之該電子裝置的一^際^ φ 路協定(Internet Protoco卜IP)位址,與對應之該電子裝 置偵測到的一網路訊號強度值; 根據接收到各該些更新回覆訊息的一回覆時間計算 一封包重送間隔; 根據各該些更新回覆訊息中的該網路訊號強度值決 定對應之該電子裝置的一封包重送次數; 切分該韌體為多個封包,並依據該封包重送間隔、該 些封包重送次數與該些IP位址分別傳送所有封包至各該 些電子裝置; 馨 等候各該些電子裝置所回傳的一更新成功訊息;以及 在接收到該更新成功訊息時,判定對應之該電子裝置 元成該物體的更新。 2. 如申請專利範圍第1項所述之更新韌體之方法,其 中在分別傳送該更新請求訊息至各該些電子裝置的步驟之 前更包括: 提供該韌體;以及 取得該網段的一網段IP位址。 17 2〇1〇2 犯t娜― 3. 如申請專利範圍第2項所述之更新韌體之方法’其 中分別傳送該更新請求訊息至各該些電子裝置的步驟包 括: 根據該網段IP位址在該網段廣播該更新請求訊息。 4. 如申請專利範圍第3項所述之更新韌體之方法’其 中廣播該更新請求訊息的步驟包括: 依照一廣播重傳間隔,重複廣播該更新請求訊息n 次,其中η為正整數。 ® 5.如申請專利範圍第1項所述之更新韌體之方法,其 中該網路訊號強度值為該電子裝置接收該更新請求訊息^ 所"ί貞測。 ' 6·如申請專利範圍第1項所述之更新韌體之方法,其 中根據接收到各該些更新回覆訊息的該回覆時間計算該封 包重送間隔的步驟包括: 取传傳送該更新請求訊息的一請求時間; 計算接收到各該些更新回覆訊息的該回覆時 • 與該請求時間的一差值;以及 β刀丨 依據該些差值設定該封包重送間隔。 7·如申請專利範圍第6項所述之更新韌體之方法,| 中依據該些差值設定該封包重送間隔的步驟包括·· “ 取得該些差值的一最大值;以及 以該最大值與一預設值的乘積作為該封包重送 中二I:!專利範圍第1項所述之更新_之方二t 據销包重送間隔、封包重送缝與該些IP位ς 18 201025134 ---------4.TW 3〇127twf.doc/n 分別傳送所有封包至各該些電子裝置的步驟包括: 依序選擇該些封包其中之一;以及 每間隔該封包重送間隔便傳送所選擇之該封包至各 該二IP位址’直到傳送所選擇之該封包的次數到達該封 重送次數為止。 9.如申睛專利範圍第1項所述之更新韌體之方法,更 包括:201025134 —4.TW 30127twf.doc/n VII. Patent Application Range: 1. The method of updating the farmland is adapted to perform a firmware on a plurality of electronic devices in a network segment through a wireless network. The method of updating the firmware includes: transmitting an update request message to each of the electronic devices; receiving an update reply message individually returned by each of the electronic devices, wherein each of the update reply messages includes the corresponding electronic An Internet Protocol (IP) address of the device, and a corresponding network signal strength value detected by the electronic device; and a response time according to the receipt of each of the update reply messages a packet retransmission interval; determining, according to the network signal strength value in each of the update response messages, a number of packet retransmissions corresponding to the electronic device; segmenting the firmware into multiple packets, and resending the interval according to the packet The number of retransmissions of the packets and the IP addresses respectively transmit all the packets to the electronic devices; and wait for an update success message returned by each of the electronic devices. And upon receiving the update success message, the electronic device determines that the corresponding element of the object to be updated. 2. The method for updating firmware according to claim 1, wherein before the step of separately transmitting the update request message to each of the electronic devices, the method further comprises: providing the firmware; and obtaining one of the network segments Network segment IP address. 17 2〇1〇2 commits tna- 3. The method of updating the firmware as described in claim 2, wherein the step of transmitting the update request message to each of the electronic devices separately comprises: according to the network segment IP The address broadcasts the update request message on the network segment. 4. The method for updating the firmware as described in claim 3, wherein the step of broadcasting the update request message comprises: repeatedly broadcasting the update request message n times according to a broadcast retransmission interval, where n is a positive integer. 5. The method of updating firmware according to claim 1, wherein the network signal strength value is the electronic device receiving the update request message. The method for updating the firmware according to claim 1, wherein the step of calculating the packet retransmission interval according to the response time of receiving the update reply messages comprises: transmitting the update request message a request time; calculating a difference from the request time when the reply to each of the update reply messages is received; and the β knife setting the packet retransmission interval according to the differences. 7. The method for updating the firmware according to claim 6 of the patent application scope, wherein the step of setting the packet retransmission interval according to the difference comprises: “taking a maximum value of the difference values; The product of the maximum value and a preset value is used as the retransmission of the packet in the second I:! The update described in the first item of the patent scope _ the second two t-spinning retransmission interval, the packet re-slot and the IP addresses. 18 201025134 ---------4.TW 3〇127twf.doc/n The steps of respectively transmitting all the packets to each of the electronic devices include: sequentially selecting one of the packets; and spacing the packets at intervals The retransmission interval transmits the selected packet to each of the two IP addresses ' until the number of times the selected packet is transmitted reaches the number of times of the packet transmission. 9. The update and toughness as described in claim 1 of the scope of the patent application The method of body, including: 各該些電子裝置在接收到最後之該封包時,判斷利用 所接收之所有封包進行錄體的更新是否成功 :以及 在判斷該勤體的更新成功時,傳送該更新成功訊息。 10.如申請專利範圍第9項所述之更新韌體之方法其 中在判斷體的更新成功的步驟之後更包括: 等待一延遲時間才傳送該更新成功訊息。 11·如申請專利範圍第1項所述之更新韌體之方法其 中該無線晴包括—wiFi無線網路。 12. 如申清專利範圍第1項所述之更新韌體之方法其 中^二電子裝置包括一數位相框 ai ph〇t〇 Frame, DPF)。 13. —種更新韌體之裝置,包括: 一主處理單元; 一無線網路模組,耦接至該主處理單元,用以連接一 無線網路; 一子處理單7°接口,耗接至該主處理單元; 子處理單元’對應該無線網路之一網段,在安插至 19 201025134 ------34.TW 30127twf.doc/n 該子處理單元接口後,經由該主處理單元透過該無線網路 模組對該網段中的多個電子裴置進行一韌體的更新, 其中該子處理單元分別傳送一更新請求訊息至各該 些電子裝置,接收各該些電子裝置個別回傳的一更新回覆 訊息,其中各該些更新回覆訊息包括對應之該電子裝置的 一 IP位址’與對應之該電子裝置偵測到的一網路訊號強度 值’根據接收到各該些更新回覆訊息的一回覆時間計算一 ❹ 封包重送間隔,根據各該些更新回覆訊息中的該網路訊號 強度值決定對應之該電子裝置的一封包重送次數,切分該 韌體為多個封包,並依據該封包重送間隔、該些封包重送 次數與該些IP位址分別傳送所有封包至各該些電子裝 置,等候各該些電子裝置所回傳的一更新成功訊息,以及 在接收到該更新成功訊息時,判定對應之該電子裝置完成 該韌體的更新。 14. 如申請專利範圍第13項所述之更新勃體之裝置, 更包括: % 一儲存單元接口,耦接至該主處理單元, 其中該子處理單元在一儲存單元安插至該儲存單元 接口後,經由該主處理單元取得該儲存單元所記錄的該勃 體與該網段的一網段IP位址。 15. 如申請專利範圍第14項所述之更新韌體之裝置, 其中該子處理單元根據該網段IP位址在該網段廣播該更 新請求訊息。 16. 如申請專利範圍第15項所述之更新韌體之裝置, 20 201025134 ^4.TW 30127twf. doc/π ί 處i早it照—廣播重傳間隔’重複廣播該更新 «月求訊心η久,其中n為正整數。 盆中請Γ範圍第13項所述之更新_之裝置, ==路·度值為該電子裝驗收贱新請求訊息 間隔。 值从依_録值蚊贿包重送 豆中^處申理if利範圍第18項所述之更新勒體之裝置, 值1Γ 取得該些差值的-最大值,並以該最大 值與一預錄的乘積作為該封包重送間隔。 瑕大 盆中^/理 1 專利軌圍® 13項所述之更新餘體之裳置, /、中該子處理早破序獅該麵包其巾之— 為止。送^擇之該封包的次數職該封包重送次數 其中=====職體之裝置, 其巾撕败裝置, 23. 一種更新韌體之裝置,包括·· 一主處理單元; 21 201025134 Ww“4.TW 30127twf.doc/n 一無線網路模組,耦接至該主處理單元,用以 無線網路; 多個子處理單元接口,耦接至該主處理單元, 對應於一接口識別碼; 刀別 多個子處理單元,其巾各該些子處理單元_對 無線網路之不同網段,在分別安插至該些子處理單元接= 其中之一後,經由該主處理單元透過該無線網路模組: 該些網段中的多個電子裝置進行不同韌體的更新, 其中各該些子處理單元分別傳送一更新請求訊息至 對應之該網段中的各該些電子裝置,接收對應之各該^電 子裝置個別回傳的-更新回覆訊息,其中各該些更新回覆 訊息包括對應之該電子裝置的一 IP位址,與對應之該電子 裝置谓測到的-網路訊號強度值;根據接收到各該些更新 ,覆訊息的一回覆時間計算對應之該網段的一封包重送間 ,,並根據各該些更新回覆訊息中的該網路訊號強度值決 疋對應之該電子裝置的一封包重送次數;切分對應之該韌 體為多個封包,並依據該封包重送間隔、該些封包重送次 數與該些IP位址分別傳送所有封包至對應之該網段中的 各該些電子裝置;等候各該些電子裝置所回傳的一更新成 力訊息,以及在接收到該更新成功訊息時,判定對應之該 電子裝置完成該韌體的更新。 24.如申凊專利範圍第23項所述之更新韌體之裝置, 更包括: 一儲存單元接口,耦接至該主處理單元, 22 201025134 〜4_TW30127twfdoc/n ,記錄蚊钱如朗碼的—贿單^安插至該 儲存單兀接口後,由符合該接口識別碼之該子處理單元接 二上的該该理單賴由社處理單林魏儲存單元 圮錄的該韌體與該網段的一網段IP位址。 25.如申切專利範圍第24項所述之更新韌體之裝置, 其中該子處理單元根據該網段ιρ位址在該網段 新請求訊息。 ’、货^更 • 26.如申請專利範圍第25項所述之更新韌體之裝置, 其中該子處理單元依照一廣播重傳間隔,重複廣播該更新 凊求訊息η次,其中η為正整數。 27. 如申請專利範圍第23項所述之更新韌體之裝置, 其中該網路訊號強度值為該電子裝置接收該更新 時所偵測。 〜 28. 如申請專利範圍第23項所述之更新韌體之裝置, 射子處理單元取得各自傳送該更新請求訊息的—請 求時間’計算接收到各該些.更新回覆訊息的該回覆時間分 _ 職該4求時間的-差值,以及依據該些差值蚊對應之 該網段的該封包重送間隔。 29. 如申請專利範圍第28項所述之更新韌體之裝置, 其=該些子處理單元各自取得該些差值的一最大值,並以 該最大值與一預設值的乘積作為該封包重送間隔。 30. 如申睛專利範圍第23項所述之更新韌體之裝置, 其中該些子處理單元各自依序選擇該些封包其中之一並 每間隔該封包重送間隔便傳送所選擇之該封包至各該些 23 201025134 ^4.TW 30127twf.doc/n =止直峨物之她峨物封包重送 31. 如申請專利範圍第23項所述之更新動體之裝置, 其中該無線網路包括一 WiFi無線網路。 32. 如申請專利範圍第31項所述之更新韌體之裝置, 其中該些電子裝置包括一數位相框。When receiving the last packet, each of the electronic devices determines whether the update of the recorded object is successful by using all the received packets: and transmits the update success message when it is determined that the update of the mobile device is successful. 10. The method for updating firmware according to claim 9, wherein after the step of determining the success of the update, the method further comprises: waiting for a delay time to transmit the update success message. 11. A method of updating a firmware as described in claim 1 wherein the wireless clear comprises a wiFi wireless network. 12. The method for updating firmware according to claim 1 of the patent scope, wherein the electronic device comprises a digital photo frame ai ph〇t〇 Frame, DPF). 13. A device for updating a firmware, comprising: a main processing unit; a wireless network module coupled to the main processing unit for connecting to a wireless network; a sub-processing single 7° interface, consuming To the main processing unit; the sub-processing unit' corresponds to a network segment of the wireless network, after being inserted into the 19 201025134 ------34.TW 30127twf.doc/n sub-processing unit interface, via the main processing The unit performs a firmware update on the plurality of electronic devices in the network segment by using the wireless network module, wherein the sub-processing unit respectively transmits an update request message to each of the electronic devices, and receives the electronic devices. An update reply message of each of the returned, wherein each of the update reply messages includes an IP address of the corresponding electronic device and a corresponding network signal strength value detected by the electronic device. The reply time of the update reply message is calculated as a packet resend interval, and the number of packet retransmissions of the corresponding electronic device is determined according to the network signal strength value in each of the update reply messages, and the packet is segmented. The body is a plurality of packets, and according to the packet retransmission interval, the number of retransmissions of the packets, and the IP addresses respectively transmit all packets to each of the electronic devices, waiting for an update succeeded by each of the electronic devices. The message, and upon receiving the update success message, determines that the corresponding electronic device completes the update of the firmware. 14. The device of claim 12, further comprising: a storage unit interface coupled to the main processing unit, wherein the sub processing unit is inserted into the storage unit interface at a storage unit Then, the host processing unit obtains the network address recorded by the storage unit and the network segment of the network segment. 15. The apparatus for updating firmware as described in claim 14, wherein the sub-processing unit broadcasts the update request message on the network segment according to the network segment IP address. 16. For the device for updating the firmware as described in claim 15 of the patent scope, 20 201025134 ^4.TW 30127twf. doc/π ί i is early photo-broadcast retransmission interval 'repeating the update' η long, where n is a positive integer. In the basin, please update the device as described in item 13 of the scope, == the road value is the interval between the new request message and the new device. The value is from the _ recorded value of the mosquito bribe package to the bean in the case of claiming the range of the device according to the item 18 of the updated range, the value of 1 Γ to obtain the maximum value of the difference, and the maximum value and A pre-recorded product is used as the packet retransmission interval.瑕 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利 专利The number of times the packet is sent is the number of times the packet is resent. ===== the device of the body, the towel tearing device, 23. The device for updating the firmware, including a main processing unit; 21 201025134 Ww "4.TW 30127twf.doc/n a wireless network module coupled to the main processing unit for wireless network; a plurality of sub-processing unit interfaces coupled to the main processing unit, corresponding to an interface identification a plurality of sub-processing units, each of which is disposed on the different network segments of the wireless network, after being respectively inserted into one of the sub-processing units, and then transmitted through the main processing unit The wireless network module: the plurality of electronic devices in the network segment perform different firmware updates, wherein each of the sub processing units respectively transmits an update request message to each of the electronic devices in the corresponding network segment. Receiving an update-return message corresponding to each of the electronic devices, wherein each of the update reply messages includes an IP address corresponding to the electronic device, and the corresponding network signal corresponding to the electronic device Intensity value According to receiving each of the updates, a reply time of the overlay message calculates a packet resend room corresponding to the network segment, and according to the network signal strength value in each of the update reply messages, the corresponding The number of times of resending a packet of the electronic device; the firmware corresponding to the firmware is a plurality of packets, and according to the packet retransmission interval, the number of retransmissions of the packets and the IP addresses respectively transmit all packets to the corresponding network Each of the electronic devices in the segment waits for an update message sent back by each of the electronic devices, and when receiving the update success message, determines that the corresponding electronic device completes the update of the firmware. The device for updating firmware as described in claim 23, further comprising: a storage unit interface coupled to the main processing unit, 22 201025134 〜4_TW30127twfdoc/n, recording a mosquito money such as a lang code-bribery After being inserted into the storage unit interface, the firmware that is processed by the sub-processing unit that conforms to the interface identification code is processed by the social processing unit and the one of the network segment network 25. The device for updating firmware according to claim 24, wherein the sub-processing unit newly requests a message according to the network segment ιρ address in the network segment. 26. The apparatus for updating firmware according to claim 25, wherein the sub-processing unit repeatedly broadcasts the update request message n times according to a broadcast retransmission interval, wherein η is a positive integer. The device for updating firmware according to the scope of claim 23, wherein the network signal strength value is detected when the electronic device receives the update. ~ 28. The firmware of the firmware as described in claim 23 The device, the processing unit obtains a response request message for transmitting the update request message, and calculates a response time value of each of the update response messages, and a difference value according to the time, and according to the difference values The packet corresponding to the net segment of the mosquito is resent. 29. The apparatus for updating firmware according to claim 28, wherein the sub-processing units each obtain a maximum value of the differences, and the product of the maximum value and a predetermined value is used as the Packet resend interval. 30. The device for updating firmware according to claim 23, wherein the sub-processing units respectively select one of the packets and transmit the selected packet every interval of the packet retransmission interval. To each of these 23 201025134 ^4.TW 30127twf.doc/n = her animal packet re-delivery 31. The device for updating the mobile body described in claim 23, wherein the wireless network Includes a WiFi wireless network. 32. The device for updating firmware according to claim 31, wherein the electronic device comprises a digital photo frame. 24twenty four
TW97151886A 2008-12-31 2008-12-31 Method and device for updating firmware TW201025134A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW97151886A TW201025134A (en) 2008-12-31 2008-12-31 Method and device for updating firmware

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW97151886A TW201025134A (en) 2008-12-31 2008-12-31 Method and device for updating firmware

Publications (1)

Publication Number Publication Date
TW201025134A true TW201025134A (en) 2010-07-01

Family

ID=44852464

Family Applications (1)

Application Number Title Priority Date Filing Date
TW97151886A TW201025134A (en) 2008-12-31 2008-12-31 Method and device for updating firmware

Country Status (1)

Country Link
TW (1) TW201025134A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI730302B (en) * 2015-03-05 2021-06-11 日商島野股份有限公司 Bicycle electric component setting system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI730302B (en) * 2015-03-05 2021-06-11 日商島野股份有限公司 Bicycle electric component setting system

Similar Documents

Publication Publication Date Title
CN102685203B (en) The method and apparatus of transmitting data resources
TW200835366A (en) Method of performing random access in a wireless communication system
US11570828B2 (en) Enabling functionality at a user plane function, UPF, by a session management function, SMF, in a telecommunication network
EP3160109B1 (en) Udp-based control command transmission method, sender and receiver
EP2242203A3 (en) Method of data communication in a wireless communication system
EP1471696A3 (en) Apparatus and method for retransmitting data packets in mobile ad hoc network environment
JP2014515132A5 (en)
JP2004532593A5 (en)
CN107360247B (en) The method and the network equipment of processing business
JP2008507021A5 (en)
JP5906950B2 (en) Information processing method and apparatus for content distribution
WO2008035862A1 (en) Method and apparatus for transmitting transport stream packets
CN111031078B (en) Communication method and device
TW200803288A (en) Network layer test module for testing control channels and unidirectional radio bearers
JP2008259078A (en) Retransmission request transmitting method, transmission-side device, and reception-side device
CN100433714C (en) Method for transmission processing IP fragment message
CN108282277A (en) A kind of packet loss repeating method, apparatus and system
CN111431672A (en) Data retransmission method and device, storage medium and electronic device
CN103250382A (en) Distribution method, apparatus and system
JP2003008642A (en) Multi-cast communication method and system
TW201025134A (en) Method and device for updating firmware
WO2008018756A1 (en) Method and system for measuring quality of wireless internet service by using mobile communication terminal
WO2017101028A1 (en) Data transmission method, m2m server, pgw, sgw and serving network node
CN103095554B (en) Media information sending method, apparatus and system
CN110166518A (en) Transmission method, device, storage medium and the electronic device of session information