TW201409239A - X73-PHD system and method using the same thereof - Google Patents

X73-PHD system and method using the same thereof Download PDF

Info

Publication number
TW201409239A
TW201409239A TW101129802A TW101129802A TW201409239A TW 201409239 A TW201409239 A TW 201409239A TW 101129802 A TW101129802 A TW 101129802A TW 101129802 A TW101129802 A TW 101129802A TW 201409239 A TW201409239 A TW 201409239A
Authority
TW
Taiwan
Prior art keywords
firmware
phd
updated
converter
processor
Prior art date
Application number
TW101129802A
Other languages
Chinese (zh)
Other versions
TWI476594B (en
Inventor
Yuan-Fa Lee
Yung-Shun Huang
Original Assignee
Ind Tech Res Inst
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 Ind Tech Res Inst filed Critical Ind Tech Res Inst
Priority to TW101129802A priority Critical patent/TWI476594B/en
Priority to CN201210343203.1A priority patent/CN103593205B/en
Publication of TW201409239A publication Critical patent/TW201409239A/en
Application granted granted Critical
Publication of TWI476594B publication Critical patent/TWI476594B/en

Links

Landscapes

  • Stored Programmes (AREA)

Abstract

An x73-PHD system and an automatic firmware update method using the same thereof are disclosed. The x73-PHD system comprises an x73-PHD adaptor and an x73-PHD gateway. The x73-PHD gateway communicates with a physiology monitor via the x73-PHD adaptor. The method comprises following steps. A matching serial number corresponding to the physiology monitor is got. It is determined whether a current firmware of the x73-PHD adaptor needs to update according to the matching serial number to generate a response result. The current firmware is updated to the updating firmware corresponding to the matching serial number when the response result indicates that the current firmware needs to update. A communication link is built according to the updating firmware to upload physiology information sensed by the physiology monitor.

Description

x73-PHD系統及其韌體自動更新方法 x73-PHD system and its firmware automatic updating method

本揭露是有關於一種x73-PHD系統及其韌體自動更新方法。 The disclosure relates to an automatic update method for an x73-PHD system and its firmware.

隨著醫學科技的進步,病患可在家中進行重點照護檢驗(Point-of-Care Testing)、量測生理參數並將結果儲存以供護理人員參考。有鑑於生理監測器的種類繁多,不同生理監測器各自有不同的傳輸介面及使用者介面。舉例來說,前述傳輸介面包括RS232、USB、藍芽及ZigBee等。 With advances in medical technology, patients can perform point-of-care testing at home, measure physiological parameters, and store the results for reference by caregivers. In view of the wide variety of physiological monitors, different physiological monitors have different transmission interfaces and user interfaces. For example, the aforementioned transmission interface includes RS232, USB, Bluetooth, ZigBee, and the like.

2006年CEN、ISO及IEEE合併提出一套關於醫療儀器通訊的標準協定-國際醫療通訊標準(x73-PHD)。這個標準提供了一種開放式的通訊系統,並且讓軟硬體能在多種品牌的醫療儀器上能有意義的溝通。透過國際醫療通訊標準(x73-PHD)不但可以將各種醫療儀器所得到的資訊轉換成標準格式方便儲存使用,也讓儀器與儀器間可以互相進行溝通,可以減少人員的操作,降低錯誤的發生,在居家照護中導入x73-PHD的標準在長遠系統規劃及建置是必要的。 In 2006, CEN, ISO and IEEE merged to propose a standard agreement on medical device communication - International Medical Communication Standard (x73-PHD). This standard provides an open communication system and allows software and hardware to communicate meaningfully across multiple brands of medical instruments. Through the international medical communication standard (x73-PHD), not only can the information obtained by various medical instruments be converted into a standard format for convenient storage and use, but also the instrument and the instrument can communicate with each other, which can reduce the operation of personnel and reduce the occurrence of errors. The introduction of x73-PHD in home care is necessary for long-term system planning and implementation.

然而,生理監測器要增加國際醫療通訊標準(x73-PHD)通訊功能,軟硬體都得重新設計,將使得軟體成本提高、硬體成本提高,並讓生理監測器之設計變得更複雜。因此,如何解決上述難題,讓國際醫療通訊標準更普及於各種生理監測器即成為一個相當重要的的課題。 However, physiological monitors need to increase the international medical communication standard (x73-PHD) communication function, and both hardware and software have to be redesigned, which will increase the cost of software, increase the cost of hardware, and make the design of physiological monitors more complicated. Therefore, how to solve the above problems and make international medical communication standards more popular in various physiological monitors has become a very important issue.

本揭露係有關於一種x73-PHD系統及其韌體自動更新方法。 The disclosure relates to an automatic update method for an x73-PHD system and its firmware.

根據本揭露,提出一種x73-PHD系統之韌體自動更新方法。x73-PHD系統包括x73-PHD轉換器及x73-PHD閘道器。x73-PHD閘道器係藉由x73-PHD轉換器與生理監測器溝通,韌體自動更新方法包括如下步驟。取得對應於生理監測器之配對序號。根據配對序號判斷是否需更新x73-PHD轉換器之目前韌體以產生回應結果。當回應結果為目前韌體需更新時,將目前韌體更新為與配對序號相對應之更新韌體。根據更新韌體建立通訊連線,以上傳生理監測器所感測之生理資訊。 According to the disclosure, a method for automatically updating the firmware of the x73-PHD system is proposed. The x73-PHD system includes an x73-PHD converter and an x73-PHD gateway. The x73-PHD gateway communicates with the physiological monitor through the x73-PHD converter. The firmware update method includes the following steps. A pairing number corresponding to the physiological monitor is obtained. According to the pairing number, it is judged whether the current firmware of the x73-PHD converter needs to be updated to generate a response result. When the response result is that the firmware needs to be updated, the current firmware is updated to the updated firmware corresponding to the pairing number. Establish a communication connection according to the updated firmware to upload the physiological information sensed by the physiological monitor.

根據本揭露,提出一種x73-PHD系統。x73-PHD系統包括x73-PHD轉換器及x73-PHD閘道器。x73-PHD轉換器包括快閃記憶體、第一通訊介面及第一處理器。快閃記憶體儲存目前韌體。第一處理器係耦接第一通訊介面及快閃記憶體,並取得對應於生理監測器之配對序號。第一處理器接收回應結果。x73-PHD閘道器包括第二通訊介面及第二處理器。第二處理器係耦接第二通訊介面,並接收該配對序號。第二處理器根據配對序號判斷目前韌體是否需更新以產生回應結果,當回應結果為目前韌體需更新時,第一處理器將目前韌體更新為與配對序號相對應之更新韌體,且根據更新韌體於第一通訊介面與第二通訊介面之間建立通訊連線,以上傳生理監測器所感測之生理資訊。 According to the present disclosure, an x73-PHD system is proposed. The x73-PHD system includes an x73-PHD converter and an x73-PHD gateway. The x73-PHD converter includes a flash memory, a first communication interface, and a first processor. Flash memory stores current firmware. The first processor is coupled to the first communication interface and the flash memory, and obtains a pairing number corresponding to the physiological monitor. The first processor receives the response result. The x73-PHD gateway includes a second communication interface and a second processor. The second processor is coupled to the second communication interface and receives the pairing number. The second processor determines whether the firmware needs to be updated according to the pairing number to generate a response result. When the response result is that the firmware needs to be updated, the first processor updates the current firmware to the updated firmware corresponding to the pairing number. And establishing a communication connection between the first communication interface and the second communication interface according to the updated firmware to upload the physiological information sensed by the physiological monitor.

為了對本揭露之上述及其他方面有更佳的瞭解,下文 特舉實施例,並配合所附圖式,作詳細說明如下: In order to better understand the above and other aspects of the disclosure, the following The specific embodiments, together with the drawings, are described in detail as follows:

第一實施例 First embodiment

請同時參照第1圖、第2圖及第3圖,第1圖繪示係為依照第一實施例之x73-PHD系統與生理監測器之方塊圖,第2圖繪示係為依照第一實施例之韌體自動更新方法之流程圖,第3圖繪示係為x73-PHD轉換器及x73-PHD閘道器之間的訊號時序圖。x73-PHD系統1包括x73-PHD轉換器11及x73-PHD閘道器12,且x73-PHD閘道器12係藉由x73-PHD轉換器11與生理監測器2溝通。x73-PHD轉換器11包括快閃記憶體111、第一通訊介面112及第一處理器113,且第一處理器113耦接快閃記憶體111及第一通訊介面112。快閃記憶體111儲存開機載入程式(Boot Loader)及目前韌體FW1。x73-PHD閘道器12包括記憶體121、第二通訊介面122及第二處理器123,且第二處理器123耦接第二通訊介面122及記憶體121。記憶體121用以儲存更新韌體FW2。第一通訊介面112與第二通訊介面122例如為藍芽模組、ZigBee模組或USB模組。另外,第一通訊介面112還包括RS232模組,用以溝通具有RS232連接埠之生理監測器2。 Please refer to FIG. 1 , FIG. 2 and FIG. 3 simultaneously. FIG. 1 is a block diagram of the x73-PHD system and the physiological monitor according to the first embodiment, and FIG. 2 is a first diagram. A flowchart of the method for automatically updating the firmware of the embodiment, and FIG. 3 is a timing diagram of signals between the x73-PHD converter and the x73-PHD gateway. The x73-PHD system 1 includes an x73-PHD converter 11 and an x73-PHD gateway 12, and the x73-PHD gateway 12 communicates with the physiological monitor 2 via an x73-PHD converter 11. The x73-PHD converter 11 includes a flash memory 111, a first communication interface 112, and a first processor 113. The first processor 113 is coupled to the flash memory 111 and the first communication interface 112. The flash memory 111 stores the boot loader (Boot Loader) and the current firmware FW1. The x73-PHD gateway 12 includes a memory 121, a second communication interface 122, and a second processor 123. The second processor 123 is coupled to the second communication interface 122 and the memory 121. The memory 121 is used to store the updated firmware FW2. The first communication interface 112 and the second communication interface 122 are, for example, a Bluetooth module, a ZigBee module, or a USB module. In addition, the first communication interface 112 further includes an RS232 module for communicating the physiological monitor 2 having an RS232 connection port.

韌體自動更新方法主要包括如下步驟。如步驟S1所示,x73-PHD轉換器11之第一處理器113取得對應於生理監測器2之配對序號。x73-PHD轉換器11之第一處理器113例如係以有線方式或無線方式先向生理監測器取得識 別資訊,再根據識別資訊匹配出配對序號。識別資訊例如為媒體存取控制位址(Media Access Control Address,MAC)、產品識別碼(Product ID)或協定識別碼(Protocol ID)。 The firmware automatic update method mainly includes the following steps. As shown in step S1, the first processor 113 of the x73-PHD converter 11 obtains the pairing number corresponding to the physiological monitor 2. The first processor 113 of the x73-PHD converter 11 first obtains knowledge from the physiological monitor in a wired manner or in a wireless manner. Do not information, and then match the matching serial number according to the identification information. The identification information is, for example, a Media Access Control Address (MAC), a Product ID, or a Protocol ID.

如步驟S2所示,x73-PHD閘道器12之第二處理器123根據配對序號判斷是否更新x73-PHD轉換器11之目前韌體FW1以產生回應結果。進一步來說,x73-PHD轉換器11之第一處理器113發出更新請求資訊Req及配對序號至x73-PHD閘道器12,更新請求資訊Req包括x73-PHD轉換器11請求x73-PHD閘道器12進行更新韌體的命令碼。x73-PHD閘道器12之第二處理器123接收更新請求資訊Req後,根據配對序號產生回應結果Rsp。於另一實施例中,更新請求資訊Req還可進一步包括目前韌體FW1之韌體版本。x73-PHD閘道器12之第二處理器123可進一步根據目前韌體FW1之韌體版本判斷是否更新目前韌體FW1。 As shown in step S2, the second processor 123 of the x73-PHD gateway 12 determines whether to update the current firmware FW1 of the x73-PHD converter 11 based on the pairing number to generate a response result. Further, the first processor 113 of the x73-PHD converter 11 issues an update request message Req and a pairing number to the x73-PHD gateway 12, and the update request information Req includes the x73-PHD converter 11 requesting the x73-PHD gateway. The device 12 performs a command code for updating the firmware. After receiving the update request information Req, the second processor 123 of the x73-PHD gateway 12 generates a response result Rsp according to the pairing number. In another embodiment, the update request information Req may further include a firmware version of the current firmware FW1. The second processor 123 of the x73-PHD gateway 12 can further determine whether to update the current firmware FW1 according to the firmware version of the current firmware FW1.

如步驟S3所示,當回應結果為目前韌體需更新時,x73-PHD轉換器11之第一處理器113將快閃記憶體111內之目前韌體更新為與配對序號相對應之更新韌體FW2。步驟S3進一步包括步驟S31及步驟S32。如步驟S31所示,x73-PHD轉換器11之第一處理器113下載更新韌體FW2。如步驟S32所示,x73-PHD轉換器11之第一處理器113燒錄更新韌體FW2至x73-PHD轉換器之快閃記憶體111。 As shown in step S3, when the response result is that the firmware needs to be updated, the first processor 113 of the x73-PHD converter 11 updates the current firmware in the flash memory 111 to the updated firmware corresponding to the pairing number. Body FW2. Step S3 further includes step S31 and step S32. As shown in step S31, the first processor 113 of the x73-PHD converter 11 downloads the updated firmware FW2. As shown in step S32, the first processor 113 of the x73-PHD converter 11 burns the flash memory 111 of the firmware FW2 to the x73-PHD converter.

此外,在另一實施例中,前述回應結果還可進一步包括更新韌體FW2之總和檢查碼(Check Sum)及韌體大小(Firmware Size)。第一處理器113於更新韌體FW2下載 完畢後,根據總和檢查碼及韌體大小檢查更新韌體FW2是否正確。 In addition, in another embodiment, the foregoing response result may further include updating a check Sum and a firmware size of the firmware FW2. The first processor 113 downloads the firmware FW2 After the completion, check whether the firmware FW2 is correct according to the sum check code and the firmware size.

如步驟S4所示,x73-PHD轉換器11之第一處理器113根據更新韌體於第一通訊介面112與第二通訊介面122之間建立通訊連線,以上傳生理監測器2所感測之生理資訊。相反地,當回應結果Rsp為目前韌體FW1不需更新時,x73-PHD轉換器11之第一處理器113根據目前韌體FW1於第一通訊介面112與第二通訊介面122之間建立通訊連線。 As shown in step S4, the first processor 113 of the x73-PHD converter 11 establishes a communication connection between the first communication interface 112 and the second communication interface 122 according to the updated firmware to upload the physiological monitor 2 to sense Physiological information. Conversely, when the response result Rsp is that the firmware FW1 is not updated, the first processor 113 of the x73-PHD converter 11 establishes communication between the first communication interface 112 and the second communication interface 122 according to the current firmware FW1. Connected.

請同時參照第1圖、第3圖及第4圖,第4圖繪示係為前述步驟S31之細部流程圖。如步驟S311所示,當回應結果Rsp為需更新目前韌體時,x73-PHD轉換器11之第一處理器113回應回應結果Rsp輸出開始下載訊息ST至x73-PHD閘道器12。如步驟S312所示,x73-PHD閘道器12之第二處理器123回應開始下載訊息ST開始下載更新韌體FW2至x73-PHD轉換器11。如步驟S313所示,x73-PHD閘道器12之第二處理器123於更新韌體FW2下載完畢後,輸出下載完成訊息F至x73-PHD轉換器11。如步驟S314所示,x73-PHD轉換器11之第一處理器113回應下載完成訊息F輸出結束下載訊息E至x73-PHD閘道器12。 Please refer to FIG. 1 , FIG. 3 and FIG. 4 at the same time. FIG. 4 is a detailed flow chart of the foregoing step S31. As shown in step S311, when the response result Rsp is that the current firmware needs to be updated, the first processor 113 of the x73-PHD converter 11 outputs a start message ST to the x73-PHD gateway 12 in response to the response result Rsp. As shown in step S312, the second processor 123 of the x73-PHD gateway 12 starts downloading the update firmware FW2 to the x73-PHD converter 11 in response to the start of the download message ST. As shown in step S313, the second processor 123 of the x73-PHD gateway 12 outputs the download completion message F to the x73-PHD converter 11 after the update firmware FW2 is downloaded. As shown in step S314, the first processor 113 of the x73-PHD converter 11 outputs the end of the download message E to the x73-PHD gateway 12 in response to the download completion message F.

x73-PHD轉換器之動作流程 x73-PHD converter action flow

請同時參照第1圖、第3圖及第5圖,第5圖繪示係為依照第一實施例之x73-PHD轉換器之動作流程圖。進一步來說,x73-PHD轉換器11之動作流程包括步驟S51~ S58。如步驟S51所示,x73-PHD轉換器11開機後執行開機自我檢測(Power-On Self Test,POST)。如步驟S52,x73-PHD轉換器11取得與生理監測器2對應之配對序號。如步驟53,根據配對序號判斷是否需更新目前韌體。如不需更新目前韌體則如步驟S54所示,建立通訊連線。相反地,如需更新韌體則如步驟S55所示,x73-PHD轉換器11發出更新請求資訊Req至x73-PHD閘道器12。x73-PHD閘道器12回應更新請求資訊Req產生回應結果Rsp。如步驟S56所示,x73-PHD轉換器11判斷是否有回覆結果Rsp或更新韌體FW2。如無回覆結果Rsp或更新韌體FW2則如步驟S54所示,建立通訊連線。相反地,如有回覆結果Rsp或更新韌體FW2則如步驟S57所示,x73-PHD轉換器11將目前韌體FW1更新為更新韌體FW2。如步驟58所示,x73-PHD轉換器11重新開機。x73-PHD轉換器11重新開機後重複執行前述步驟S51~S54,並於步驟S54根據更新韌體FW2建立通訊連線。 Please refer to FIG. 1 , FIG. 3 and FIG. 5 simultaneously. FIG. 5 is a flow chart showing the operation of the x73-PHD converter according to the first embodiment. Further, the operation flow of the x73-PHD converter 11 includes step S51~ S58. As shown in step S51, the x73-PHD converter 11 is powered on and performs a Power-On Self Test (POST). In step S52, the x73-PHD converter 11 obtains the pairing number corresponding to the physiological monitor 2. In step 53, it is determined according to the pairing number whether the current firmware needs to be updated. If the current firmware is not required to be updated, the communication connection is established as shown in step S54. Conversely, if the firmware is to be updated, the x73-PHD converter 11 issues an update request message Req to the x73-PHD gateway 12 as shown in step S55. The x73-PHD gateway 12 responds to the update request information Req to generate a response result Rsp. As shown in step S56, the x73-PHD converter 11 determines whether there is a reply result Rsp or a new firmware FW2. If there is no reply result Rsp or updated firmware FW2, as shown in step S54, a communication connection is established. Conversely, if there is a reply result Rsp or a newer firmware FW2, as shown in step S57, the x73-PHD converter 11 updates the current firmware FW1 to the updated firmware FW2. As shown in step 58, the x73-PHD converter 11 is turned back on. After the x73-PHD converter 11 is restarted, the foregoing steps S51 to S54 are repeatedly executed, and the communication connection is established according to the updated firmware FW2 in step S54.

x73-PHD轉換器之韌體更新狀態機 Firmware update state machine for x73-PHD converter

請同時參照第3圖及第6圖,第6圖繪示係為x73-PHD轉換器之韌體更新狀態機示意圖。x73-PHD轉換器11之狀態機包括六種狀態。x73-PHD轉換器11進入初始(Idle)狀態61,x73-PHD轉換器11發出更新請求資訊Req後,即進入等待回應結果狀態62。在等待回應結果狀態62中,若回應結果Rsp為x73-PHD轉換器11不需更新韌體,則回到初始(Idle)狀態61。相反地,若回應結果Rsp為 x73-PHD轉換器11需更新韌體,則進入開始下載韌體狀態63。於開始下載韌體狀態63,x73-PHD轉換器11輸出開始下載訊息ST至x73-PHD閘道器12,則主動進入接收韌體狀態64。於接收韌體狀態64中,x73-PHD轉換器11自x73-PHD閘道器12接收更新韌體FW2。x73-PHD閘道器12於更新韌體FW2傳送完畢後,即發出下載完成訊息F。當x73-PHD轉換器11收到下載完成訊息F後,即進入完成韌體下載狀態65。於完成韌體下載狀態65中,x73-PHD轉換器11根據下載完成訊息F準備結束更新韌體FW2的下載程序。當x73-PHD轉換器11回應下載完成訊息F輸出結束下載訊息E至x73-PHD閘道器12後,即進入結束狀態。 Please refer to FIG. 3 and FIG. 6 at the same time. FIG. 6 is a schematic diagram of the firmware update state machine of the x73-PHD converter. The state machine of the x73-PHD converter 11 includes six states. The x73-PHD converter 11 enters the initial (Idle) state 61, and after the x73-PHD converter 11 issues the update request information Req, it enters the wait response result state 62. In the wait response result state 62, if the response result Rsp is x73-PHD converter 11 does not need to update the firmware, it returns to the initial (Idle) state 61. Conversely, if the response result Rsp is The x73-PHD converter 11 needs to update the firmware, and then enters the download firmware state 63. At the beginning of downloading the firmware state 63, the x73-PHD converter 11 outputs the start download message ST to the x73-PHD gateway 12, and then actively enters the receive firmware state 64. In the receive firmware state 64, the x73-PHD converter 11 receives the updated firmware FW2 from the x73-PHD gateway 12. The x73-PHD gateway 12 issues a download completion message F after the update firmware FW2 is transmitted. When the x73-PHD converter 11 receives the download completion message F, it enters the completion firmware download state 65. In the completion firmware download state 65, the x73-PHD converter 11 prepares to end the download process of the firmware FW2 in accordance with the download completion message F. When the x73-PHD converter 11 responds to the download completion message F and outputs the end of the download message E to the x73-PHD gateway 12, it enters the end state.

x73-PHD閘道器之韌體更新狀態機 Firmware update state machine for x73-PHD gateway

請同時參照第3圖及第7圖,第7圖繪示係為x73-PHD轉換器之狀態機示意圖。x73-PHD閘道器12之狀態機包括六種狀態。x73-PHD閘道器12進入初始(Idle)狀態71,x73-PHD閘道器12接收更新請求資訊Req後,即進入檢查目前韌體狀態72。在檢查目前韌體狀態72中,x73-PHD閘道器12根據配對序號及韌體版本判斷是否需更新x73-PHD轉換器11之目前韌體。若x73-PHD轉換器11不需更新韌體,則回到初始(Idle)狀態71。相反地,若x73-PHD轉換器11需更新韌體,則進入開始下載韌體狀態73。於開始下載韌體狀態73,x73-PHD閘道器12收到開始下載訊息ST後,則進入傳送韌體狀態74。於傳送韌體 狀態74中,x73-PHD閘道器12傳送更新韌體FW2至x73-PHD轉換器11。當x73-PHD閘道器12於更新韌體FW2傳送完畢後,即發出下載完成訊息F並進入完成韌體下載狀態75。於完成韌體下載狀態75中,當x73-PHD閘道器12收到結束下載訊息E後,即進入結束狀態76。 Please refer to FIG. 3 and FIG. 7 at the same time. FIG. 7 is a schematic diagram showing the state machine of the x73-PHD converter. The state machine of the x73-PHD gateway 12 includes six states. The x73-PHD gateway 12 enters the initial (Idle) state 71, and upon receiving the update request information Req, the x73-PHD gateway 12 enters the check current firmware state 72. In checking the current firmware state 72, the x73-PHD gateway 12 determines whether the current firmware of the x73-PHD converter 11 needs to be updated based on the pairing number and the firmware version. If the x73-PHD converter 11 does not need to update the firmware, it returns to the initial (Idle) state 71. Conversely, if the x73-PHD converter 11 needs to update the firmware, it proceeds to start downloading the firmware state 73. At the beginning of downloading the firmware state 73, the x73-PHD gateway 12 receives the start download message ST and enters the transfer firmware state 74. Transfer firmware In state 74, the x73-PHD gateway 12 transmits the updated firmware FW2 to x73-PHD converter 11. When the x73-PHD gateway 12 is transferred to the update firmware FW2, the download completion message F is issued and the completion firmware download state 75 is entered. In the completion firmware download state 75, when the x73-PHD gateway 12 receives the end download message E, it enters the end state 76.

第二實施例 Second embodiment

請參照第8圖,第8圖繪示係為依照第二實施例之x73-PHD轉換器之方塊圖。第二實施例第一實施例主要不同之處在於x73-PHD轉換器81更包括第一延伸快閃記憶體114及第二延伸快閃記憶體115。為避免韌體更新失敗造成x73-PHD轉換器的無法正常動作,x73-PHD轉換器81係採雙映像(Dual Image)的設計。在韌體更新過程中,更新韌體FW2係先下載且燒錄至第二延伸快閃記憶體115,作為下一次重新開機時使用。在更新韌體FW2載入至快閃記憶體111準備開機前,目前韌體FW1係已存在第一延伸記憶體114中作為備援。如此一來,當更新韌體FW2發生問題時,可藉由重新載入目前韌體FW1至快閃記憶體111,以達到韌體備援的功能。當更新韌體FW2正常時,第一處理器123則於執行開機載入程式BL後,執行更新韌體FW2。 Please refer to FIG. 8. FIG. 8 is a block diagram showing an x73-PHD converter according to the second embodiment. Second Embodiment The first embodiment is mainly different in that the x73-PHD converter 81 further includes a first extended flash memory 114 and a second extended flash memory 115. In order to avoid the failure of the firmware update to cause the x73-PHD converter to malfunction, the x73-PHD converter 81 adopts the dual image design. During the firmware update process, the update firmware FW2 is first downloaded and burned to the second extended flash memory 115 for use as the next reboot. Before the firmware FW2 is loaded into the flash memory 111 to be booted up, the firmware FW1 is currently present in the first extended memory 114 as a backup. In this way, when the firmware FW2 is updated, the function of the firmware backup can be achieved by reloading the current firmware FW1 to the flash memory 111. When the update firmware FW2 is normal, the first processor 123 executes the update firmware FW2 after executing the boot loader BL.

前述雙映像的設計可藉由開機載入程式BL、目前執行映像(Current Runtime image,CRI)、預備執行映像(Next Runtime image,NRI)及改變映像狀態(Change Image State,CIS)來實現。CRI值代表目前執行中之韌體開始位址(Start Address,SA),而NRI值代表預備更新 韌體的開始位址。更新韌體下載完畢後,第一處理器113會提取NRI值做為更新韌體FW2的參考位置,並設定CIS值為真。當x73-PHD轉換器81準備下一次重新開機時,開機載入程式BL便根據CIS值自NRI載入更新韌體FW2。 The design of the dual image can be implemented by a boot loader BL, a Current Runtime image (CRI), a Next Runtime image (NRI), and a Change Image State (CIS). The CRI value represents the currently executing firmware start address (Start Address, SA), and the NRI value represents the preliminary update. The starting address of the firmware. After the firmware is downloaded, the first processor 113 extracts the NRI value as the reference position for updating the firmware FW2, and sets the CIS value to true. When the x73-PHD converter 81 is ready to be rebooted the next time, the boot loader BL loads the update firmware FW2 from the NRI based on the CIS value.

當x73-PHD轉換器81重新開機成功後,第一處理器113判斷CIS值是否為真。若CIS值為真,設定CRI值為NRI值且重置CIS值為假。相反地,若CIS值為假,則不再執行任何動作。 When the x73-PHD converter 81 is turned back on successfully, the first processor 113 determines whether the CIS value is true. If the CIS value is true, set the CRI value to the NRI value and reset the CIS value to false. Conversely, if the CIS value is false, no action is taken.

綜上所述,雖然本揭露已以實施例揭露如上,然其並非用以限定本揭露。本揭露所屬技術領域中具有通常知識者,在不脫離本揭露之精神和範圍內,當可作各種之更動與潤飾。因此,本揭露之保護範圍當視後附之申請專利範圍所界定者為準。 In summary, although the disclosure has been disclosed in the above embodiments, it is not intended to limit the disclosure. Those skilled in the art can make various changes and modifications without departing from the spirit and scope of the disclosure. Therefore, the scope of protection of this disclosure is subject to the definition of the scope of the appended claims.

1‧‧‧x73-PHD系統 1‧‧‧x73-PHD system

2‧‧‧生理監測器 2‧‧‧ Physiological monitor

11‧‧‧x73-PHD轉換器 11‧‧‧x73-PHD converter

12‧‧‧x73-PHD閘道器 12‧‧‧x73-PHD gateway

61、71‧‧‧初始狀態 61, 71‧‧‧ initial state

62‧‧‧等待回應結果狀態 62‧‧‧Awaiting response status

63、73‧‧‧開始下載韌體狀態 63, 73‧‧‧Start downloading firmware status

64‧‧‧接收韌體狀態 64‧‧‧ Receiving firmware status

65、75‧‧‧完成韌體下載狀態 65, 75‧‧‧Complete firmware download status

66、76‧‧‧結束狀態 66, 76‧‧‧ End status

72‧‧‧檢查目前韌體狀態 72‧‧‧Check current firmware status

74‧‧‧傳送韌體狀態 74‧‧‧Transfer firmware status

111‧‧‧快閃記憶體 111‧‧‧Flash memory

112‧‧‧第一通訊介面 112‧‧‧First Communication Interface

113‧‧‧第一處理器 113‧‧‧First processor

114‧‧‧第一延伸快閃記憶體 114‧‧‧First extended flash memory

115‧‧‧第二延伸快閃記憶體 115‧‧‧Second extended flash memory

121‧‧‧記憶體 121‧‧‧ memory

122‧‧‧第二通訊介面 122‧‧‧Second communication interface

123‧‧‧第二處理器 123‧‧‧second processor

BL‧‧‧開機載入程式 BL‧‧‧ boot loader

S1~S5、S31~S32、S311~S314、S51~S58‧‧‧步驟 S1~S5, S31~S32, S311~S314, S51~S58‧‧‧ steps

FW1‧‧‧目前韌體 FW1‧‧‧ current firmware

FW2‧‧‧更新韌體 FW2‧‧‧ updated firmware

Req‧‧‧更新請求資訊 Req‧‧‧Update Request Information

Rsp‧‧‧回應結果 Rsp‧‧‧Responding results

ST‧‧‧開始下載訊息 ST‧‧‧Download message

E‧‧‧結束下載訊息 E‧‧‧End download message

F‧‧‧下載完成訊息 F‧‧‧Download completion message

第1圖繪示係為依照第一實施例之x73-PHD系統與生理監測器之方塊圖。 Figure 1 is a block diagram showing the x73-PHD system and physiological monitor in accordance with the first embodiment.

第2圖繪示係為依照第一實施例之韌體自動更新方法之流程圖。 FIG. 2 is a flow chart showing a method for automatically updating a firmware according to the first embodiment.

第3圖繪示係為x73-PHD轉換器及x73-PHD閘道器之間的訊號時序圖。 Figure 3 shows the timing diagram of the signal between the x73-PHD converter and the x73-PHD gateway.

第4圖繪示係為前述步驟S31之細部流程圖。 Figure 4 is a flow chart showing the details of the foregoing step S31.

第5圖繪示係為依照第一實施例之x73-PHD轉換器之動作流程圖。 Fig. 5 is a flow chart showing the operation of the x73-PHD converter in accordance with the first embodiment.

第6圖繪示係為x73-PHD轉換器之韌體更新狀態機示意圖。 Figure 6 is a schematic diagram showing the firmware update state machine of the x73-PHD converter.

第7圖繪示係為x73-PHD轉換器之韌體更新狀態機示意圖。 Figure 7 is a schematic diagram showing the firmware update state machine of the x73-PHD converter.

第8圖繪示係為依照第二實施例之x73-PHD轉換器之方塊圖。 Figure 8 is a block diagram showing an x73-PHD converter in accordance with a second embodiment.

S1~S5‧‧‧步驟 S1~S5‧‧‧Steps

Claims (21)

一種x73-PHD系統之韌體自動更新方法,該x73-PHD系統包括一x73-PHD轉換器及一x73-PHD閘道器,該x73-PHD閘道器係藉由該x73-PHD轉換器與一生理監測器溝通,該韌體自動更新方法包括:取得對應於該生理監測器之一配對序號;根據該配對序號判斷是否需更新該x73-PHD轉換器之一目前韌體以產生一回應結果;當該回應結果為該目前韌體需更新時,將該目前韌體更新為與該配對序號相對應之一更新韌體;以及根據該更新韌體建立通訊連線,以上傳該生理監測器所感測之生理資訊。 A method for automatically updating a firmware of an x73-PHD system, the x73-PHD system comprising an x73-PHD converter and an x73-PHD gateway, the x73-PHD gateway being coupled with the x73-PHD converter Communicating with a physiological monitor, the method for automatically updating the firmware includes: obtaining a pairing number corresponding to the physiological monitor; determining, according to the pairing number, whether to update one of the current firmware of the x73-PHD converter to generate a response result When the response result is that the current firmware needs to be updated, the current firmware is updated to update the firmware corresponding to the pairing number; and a communication connection is established according to the updated firmware to upload the physiological monitor. Physiological information sensed. 如申請專利範圍第1項所述之韌體自動更新方法,其中該x73-PHD轉換器先向該生理監測器取得一識別資訊,再根據該識別資訊匹配出該配對序號。 The firmware automatic updating method according to claim 1, wherein the x73-PHD converter first obtains an identification information from the physiological monitor, and then matches the pairing number according to the identification information. 如申請專利範圍第1項所述之韌體自動更新方法,更包括:發出一更新請求資訊及該配對序號至該x73-PHD閘道器;其中,該x73-PHD閘道器接收該更新請求資訊後,根據該配對序號產生該回應結果。 The method for automatically updating the firmware according to claim 1, further comprising: sending an update request message and the pairing number to the x73-PHD gateway; wherein the x73-PHD gateway receives the update request After the information, the response result is generated according to the pairing number. 如申請專利範圍第1項所述之韌體自動更新方法,其中將該目前韌體更新為與該配對序號相對應之該更新韌體之該步驟包括:當該回應結果為該目前韌體需更新時,下載該更新韌 體;以及燒錄該更新韌體至該x73-PHD轉換器之一快閃記憶體。 The method for automatically updating a firmware according to claim 1, wherein the step of updating the current firmware to the updated firmware corresponding to the pairing number comprises: when the response result is required for the current firmware When updating, download the update tough And burning the updated firmware to one of the x73-PHD converters for flash memory. 如申請專利範圍第1項所述之韌體自動更新方法,其中該x73-PHD轉換器更包括一第一延伸快閃記憶體及一第二延伸快閃記憶體,該更新韌體係先下載且燒錄至該第二延伸快閃記憶體,作為下一次重新開機時使用,而目前韌體係放置該第一延伸記憶體作為備援。 The firmware automatic updating method according to claim 1, wherein the x73-PHD converter further includes a first extended flash memory and a second extended flash memory, and the updated tough system is downloaded first. The second extended flash memory is burned to be used as the next power-on, and the first extended memory is placed as a backup by the current tough system. 如申請專利範圍第1項所述之韌體自動更新方法,其中該下載步驟包括:回應該回應結果輸出一開始下載訊息至該x73-PHD閘道器;回應該開始下載訊息開始下載該更新韌體至該x73-PHD轉換器;於該更新韌體下載完畢後,輸出一下載完成訊息至該x73-PHD轉換器;以及回應該下載完成訊息輸出一結束下載訊息至該x73-PHD閘道器。 The method for automatically updating the firmware as described in claim 1, wherein the downloading step comprises: responding to the output of the response and outputting the message to the x73-PHD gateway; and starting to download the message to start downloading the update To the x73-PHD converter; after the update firmware is downloaded, output a download completion message to the x73-PHD converter; and return the download completion message output to end the download message to the x73-PHD gateway . 如申請專利範圍第1項所述之韌體自動更新方法,其中該回應結果包括該更新韌體之一總和檢查碼(Check Sum)及一韌體大小(Firmware Size)。 The firmware automatic updating method according to claim 1, wherein the response result includes a checksum (Sum) and a firmware size (Firmware Size) of the updated firmware. 如申請專利範圍第7項所述之韌體自動更新方法,更包括:於該更新韌體下載完畢後,根據該總和檢查碼及該韌體大小檢查該更新韌體。 The firmware automatic updating method of claim 7, further comprising: after the downloading of the updated firmware, checking the updated firmware according to the sum check code and the firmware size. 如申請專利範圍第1項所述之韌體自動更新方法,其中該更新請求資訊更包括該目前韌體之韌體版本。 The firmware automatic update method of claim 1, wherein the update request information further includes a firmware version of the current firmware. 如申請專利範圍第1項所述之韌體自動更新方法,更包括:當該回應結果為該目前韌體不需更新時,根據該目前韌體建立通訊連線。 The method for automatically updating the firmware as described in claim 1 further includes: when the response result is that the current firmware does not need to be updated, establishing a communication connection according to the current firmware. 一種x73-PHD系統,包括:一x73-PHD轉換器,包括:一快閃記憶體,用以儲存一目前韌體;一第一通訊介面;及一第一處理器,係耦接該第一通訊介面及該快閃記憶體,並取得對應於一生理監測器之一配對序號,該第一處理器接收一回應結果;以及一x73-PHD閘道器,包括:一記憶體,用以儲存一更新韌體;一第二通訊介面;及一第二處理器,係耦接該第二通訊介面及該記憶體,並接收該配對序號,該第二處理器根據該配對序號判斷該目前韌體是否需更新以產生該回應結果,當該回應結果為該目前韌體需更新時,該第一處理器將該目前韌體更新為與該配對序號相對應之該更新韌體,且根據該更新韌體於該第一通訊介面與該第二通訊介面之間建立通訊連線,以上傳該生理監測器所感測之生理資訊。 An x73-PHD system, comprising: an x73-PHD converter, comprising: a flash memory for storing a current firmware; a first communication interface; and a first processor coupled to the first a communication interface and the flash memory, and obtaining a pairing number corresponding to a physiological monitor, the first processor receiving a response result; and an x73-PHD gateway comprising: a memory for storing a second firmware interface; and a second processor coupled to the second communication interface and the memory, and receiving the pairing number, the second processor determining the current toughness according to the pairing number Whether the body needs to be updated to generate the response result, and when the response result is that the current firmware needs to be updated, the first processor updates the current firmware to the updated firmware corresponding to the pairing number, and according to the The update firmware establishes a communication connection between the first communication interface and the second communication interface to upload the physiological information sensed by the physiological monitor. 如申請專利範圍第11項所述之x73-PHD系統,其中該第一處理器先向該生理監測器取得一識別資訊,再 根據該識別資訊匹配出該配對序號。 The x73-PHD system of claim 11, wherein the first processor first obtains an identification information from the physiological monitor, and then The pairing number is matched according to the identification information. 如申請專利範圍第11項所述之x73-PHD系統,其中該第一處理器發出一更新請求資訊及該配對序號至該x73-PHD閘道器,該x73-PHD閘道器接收該更新請求資訊後,根據該配對序號產生該回應結果。 The x73-PHD system of claim 11, wherein the first processor sends an update request message and the pairing number to the x73-PHD gateway, and the x73-PHD gateway receives the update request. After the information, the response result is generated according to the pairing number. 如申請專利範圍第11項所述之x73-PHD系統,其中當該回應結果為該目前韌體需更新時,該第一處理器下載該更新韌體,並燒錄該更新韌體至該快閃記憶體。 The x73-PHD system of claim 11, wherein when the response result is that the current firmware needs to be updated, the first processor downloads the updated firmware and burns the updated firmware to the fast Flash memory. 如申請專利範圍第11項所述之x73-PHD系統,其中該x73-PHD轉換器更包括一第一延伸快閃記憶體及一第二延伸快閃記憶體,該更新韌體係下載且燒錄至該第二延伸快閃記憶體,且該目前韌體係存在於第一延伸記憶體作為備援。 The x73-PHD system of claim 11, wherein the x73-PHD converter further comprises a first extended flash memory and a second extended flash memory, and the updated tough system is downloaded and burned. Up to the second extended flash memory, and the current tough system is present in the first extended memory as a backup. 如申請專利範圍第11項所述之x73-PHD系統,其中該第一處理器回應該回應結果輸出一開始下載訊息至該x73-PHD閘道器,該第二處理器回應該開始下載訊息開始下載該更新韌體至該x73-PHD轉換器,於該更新韌體下載完畢後,該第二處理器輸出一下載完成訊息至該x73-PHD轉換器,該第一處理器回應該下載完成訊息輸出一結束下載訊息至該x73-PHD閘道器。 The x73-PHD system of claim 11, wherein the first processor responds to the result output and starts downloading the message to the x73-PHD gateway, and the second processor should start downloading the message. Downloading the updated firmware to the x73-PHD converter, after the update firmware is downloaded, the second processor outputs a download completion message to the x73-PHD converter, and the first processor should download the completion message. Output a download message to the x73-PHD gateway. 如申請專利範圍第11項所述之x73-PHD系統,其中該回應結果包括該更新韌體之一總和檢查碼(Check Sum)及一韌體大小(Firmware Size)。 The x73-PHD system of claim 11, wherein the response result includes a checksum (Sum) and a firmware size of the updated firmware. 如申請專利範圍第17項所述之x73-PHD系統,其中於該更新韌體下載完畢後,該第一處理器根據該總和 檢查碼及該韌體大小檢查該更新韌體。 The x73-PHD system of claim 17, wherein the first processor is based on the sum after the update firmware is downloaded. Check the code and the firmware size to check the updated firmware. 如申請專利範圍第11項所述之x73-PHD系統,其中該更新請求資訊更包括該目前韌體之韌體版本。 The x73-PHD system of claim 11, wherein the update request information further includes a firmware version of the current firmware. 如申請專利範圍第11項所述之x73-PHD系統,其中當該回應結果為該目前韌體不需更新時,該第一處理器根據該目前韌體建立通訊連線。 The x73-PHD system of claim 11, wherein when the response result is that the current firmware does not need to be updated, the first processor establishes a communication connection according to the current firmware. 如申請專利範圍第11項所述之x73-PHD系統,其中該第一通訊介面係為藍芽模組、ZigBee模組、USB模組或RS232模組,而第二通訊介面係為藍芽模組、ZigBee模組或USB模組。 For example, in the x73-PHD system described in claim 11, wherein the first communication interface is a Bluetooth module, a ZigBee module, a USB module or an RS232 module, and the second communication interface is a Bluetooth module. Group, ZigBee module or USB module.
TW101129802A 2012-08-16 2012-08-16 X73-phd system and method using the same thereof TWI476594B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
TW101129802A TWI476594B (en) 2012-08-16 2012-08-16 X73-phd system and method using the same thereof
CN201210343203.1A CN103593205B (en) 2012-08-16 2012-09-14 X73-PHD system and automatic firmware updating method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101129802A TWI476594B (en) 2012-08-16 2012-08-16 X73-phd system and method using the same thereof

Publications (2)

Publication Number Publication Date
TW201409239A true TW201409239A (en) 2014-03-01
TWI476594B TWI476594B (en) 2015-03-11

Family

ID=50083365

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101129802A TWI476594B (en) 2012-08-16 2012-08-16 X73-phd system and method using the same thereof

Country Status (2)

Country Link
CN (1) CN103593205B (en)
TW (1) TWI476594B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106775796B (en) * 2015-11-25 2020-04-03 大唐移动通信设备有限公司 Firmware upgrading method, device and system
CN105843645B (en) * 2016-03-24 2020-01-14 浙江风向标科技有限公司 Firmware upgrading method and device for zigbee equipment
CN108009104B (en) * 2017-12-13 2021-03-30 中国兵器装备集团自动化研究所 Data updating device and data processing method based on Loongson processor

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7243347B2 (en) * 2002-06-21 2007-07-10 International Business Machines Corporation Method and system for maintaining firmware versions in a data processing system
WO2008085916A2 (en) * 2007-01-03 2008-07-17 Nonin Medical, Inc. Adaptive framework for the flow of medical device data in the personal health space
US20110307284A1 (en) * 2010-06-09 2011-12-15 Medtronic, Inc. Command center communication system for improved management of complex medical environments
US20120096451A1 (en) * 2010-10-15 2012-04-19 Roche Diagnostics Operations, Inc. Firmware update in a medical device with multiple processors
CN102184113A (en) * 2011-05-12 2011-09-14 深圳市锘特达科技发展有限公司 Software upgrade method for implanted medical equipment

Also Published As

Publication number Publication date
CN103593205A (en) 2014-02-19
CN103593205B (en) 2017-05-10
TWI476594B (en) 2015-03-11

Similar Documents

Publication Publication Date Title
CN104915237B (en) Upgrading, upgrade control method and the equipment of bluetooth equipment firmware program
TWI453594B (en) Bios firmware updating method and electronic device
CN103218280B (en) A kind of hardware universal testing method of USB device
US9928053B2 (en) Joint acquisition of update software for multiple devices
WO2020124958A1 (en) Firmware upgrading method and apparatus, and computer readable storage medium
TWI526824B (en) Method and system for managing network interface card information
WO2019140656A1 (en) Firmware upgrade method and apparatus, electronic device and control device
KR20120096866A (en) Systems and methods for controlling sensor devices in mobile devices
JP7345921B2 (en) OTA differential update method and system for master-slave architecture
TWI476594B (en) X73-phd system and method using the same thereof
WO2017206161A1 (en) Interface detection method and apparatus
US20160286594A1 (en) Method for establishing communications between peer devices, wireless communication device using the same and computer-readable medium
CN101605189A (en) The online upgrade system of intelligent platform management controller and method
WO2015074435A1 (en) Method and apparatus for updating firmware of mobile terminal
TW201826136A (en) Bluetooth pairing system and method for operating a bluetooth pairing system
WO2018099255A1 (en) Method, device and system for configuring transfer mode and computer storage medium
CN109002305B (en) Method and system for updating equipment program
CN110673862A (en) Wireless upgrading method, equipment and medium for embedded equipment firmware with dual-use multi-mode
CN112148322A (en) Method for upgrading firmware in single chip microcomputer connected with system on chip
CN107332589B (en) Firmware upgrading device based on bluetooth
CN110688136B (en) Application program updating method and device
GB2566311A (en) Machine-to-machine mobile health communications device for diabetes remote monitoring
CN114827967B (en) Software updating method, bluetooth device and storage medium
JP6525598B2 (en) Radiation imaging system, radiation imaging apparatus, processing execution apparatus, control method of radiation imaging system, control method of radiation imaging apparatus, control method of processing execution apparatus, control program of radiation imaging system, radiation imaging apparatus Control program and control program of processing execution device
TW201629757A (en) Control module of server node and firmware updating method for the control module