[go: up one dir, main page]

TW202339392A - Power device supporting multi-port simultaneous data-transmitting and power-charging - Google Patents

Power device supporting multi-port simultaneous data-transmitting and power-charging Download PDF

Info

Publication number
TW202339392A
TW202339392A TW111111765A TW111111765A TW202339392A TW 202339392 A TW202339392 A TW 202339392A TW 111111765 A TW111111765 A TW 111111765A TW 111111765 A TW111111765 A TW 111111765A TW 202339392 A TW202339392 A TW 202339392A
Authority
TW
Taiwan
Prior art keywords
control unit
power
interface
main control
external electronic
Prior art date
Application number
TW111111765A
Other languages
Chinese (zh)
Other versions
TWI820655B (en
Inventor
張盛發
Original Assignee
聖保德科技股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 聖保德科技股份有限公司 filed Critical 聖保德科技股份有限公司
Priority to TW111111765A priority Critical patent/TWI820655B/en
Publication of TW202339392A publication Critical patent/TW202339392A/en
Application granted granted Critical
Publication of TWI820655B publication Critical patent/TWI820655B/en

Links

Images

Landscapes

  • Power Sources (AREA)
  • Direct Current Feeding And Distribution (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Selective Calling Equipment (AREA)

Abstract

The present invention relates to a power device supporting multi-port simultaneous data-transmitting and power-charging and has a power circuit, a main controlling unit, and an interface arbitration unit. The main controlling unit has multiple interface controllers respectively and is electrically connected to multiple interface connecting ports. When multiple external electrical devices are inserted into the interface connecting ports, the interface arbitration unit detects an insertion sequence thereof. At the time, the main controlling unit sets multiple device numbers and allocates multiple charging energies to the power circuit according to the insertion sequence, so the power circuit outputs DC powers corresponding to the charging energies to corresponding external electrical devices. The external electrical devices are safely charged at the same time. When the external electrical devices send data-transmitting commands, the corresponding interface controllers receive and process them to complete data transfer at the same time during synchronous power-charging.

Description

支援多埠同步資料傳輸及充電功能的電源裝置Power supply device that supports multi-port simultaneous data transmission and charging functions

本發明係關於一種具資料傳輸功能的充電器,尤指一種支援多埠同步資料傳輸及充電功能的電源裝置。The present invention relates to a charger with a data transmission function, and in particular, to a power supply device that supports multi-port synchronous data transmission and charging functions.

隨著個人攜帶型電子裝置數量增加,使用者對於此類裝置的充電及資料需求愈趨明顯。As the number of personal portable electronic devices increases, users' needs for charging and data from such devices have become increasingly apparent.

以台灣公告第M603984號「具有同時充電及備份資料功能的裝置」新型專利為例,為解決使用者必須以不同裝置,對個人攜帶型電子裝置分別進行充電及資料備份的作業,其主要技術如新型專利圖式中的圖3B所示,當第一及第二電子裝置EL1、EL2同時插接至裝置上,可同時進行充電,但僅先插接之第一電子裝置EL1能同時進行資料備份。Take Taiwan Announcement No. M603984 "Device with Simultaneous Charging and Data Backup Functions" as an example. In order to solve the problem that users must use different devices to separately charge and back up data on personal portable electronic devices, the main technologies are as follows: As shown in Figure 3B of the new patent drawing, when the first and second electronic devices EL1 and EL2 are plugged into the device at the same time, they can be charged at the same time, but only the first electronic device EL1 plugged in first can perform data backup at the same time. .

再如新型專利的圖3C所示,若需一併備份第二電子裝置EL2的資料,則必須將該第一電子裝置EL1自該裝置上拔離後始得進行;惟如此一來,使用者必須等待該第一電子裝置EL1完成備份後,再手動拔開該第一電子裝置EL1,對於多台電子裝置的同時進行充電及資料備份的操作上並不方便;是以,此一新型專利仍無法提供插接於裝置上的所有電子裝置同時進行充電及資料備份,故有必要進一步改良之。As shown in Figure 3C of the new patent, if the data of the second electronic device EL2 needs to be backed up at the same time, the first electronic device EL1 must be unplugged from the device before proceeding; however, the user It is necessary to wait for the first electronic device EL1 to complete the backup before manually unplugging the first electronic device EL1, which is inconvenient for charging and data backup of multiple electronic devices at the same time; therefore, this new patent is still It is impossible to provide simultaneous charging and data backup for all electronic devices plugged into the device, so further improvements are necessary.

有鑑於上述裝置同時僅能允許單一電子裝置同時進行充電及資料備份,本發明的主要目的係提出一種支援多埠同步資料傳輸及充電功能的電源裝置,便於多個電子產品同時插接傳輸資料及充電。In view of the fact that the above-mentioned device can only allow a single electronic device to charge and back up data at the same time, the main purpose of the present invention is to provide a power supply device that supports multi-port synchronous data transmission and charging functions to facilitate multiple electronic products to be connected and transmit data at the same time. Charge.

欲達上述目的所使用的主要技術手段係令該支援多埠同步資料傳輸及充電功能的電源裝置包含有: 一外殼,其上設置有一交流電連接器及多介面連接埠; 一電源電路,係設置在該外殼內,係包含: 一電源轉換單元,係與該交流電連接器電連接,以將一交流電源轉換為多個直流電源後輸出;以及 一主電源控制單元,係電連接至該主控制單元及該介面仲裁單元,並包含有多個子電源控制單元,以獲得各該介面連接埠的充電資訊; 一主控制單元,係設置於該外殼內,並與該主電源控制單元電連接,以控制該電源電路輸出不同直流電源,且該主控制單元係包含有多個介面控制器及內建一同時充電程序及一同時資料傳輸程序;以及 一介面仲裁單元,係設置於該外殼內,並與該些介面連接埠、該主電源控制單元之該些子電源控制單元及該主控制單元的該些介面控制器電連接;其中該介面仲裁單元係檢知該些介面連接埠的連接狀態,記錄呈已連接狀態之該些介面連接埠的連接順序;其中: 當執行上述同時充電程序時,該主控制單元係依據該介面仲裁單元回傳的該連接順序及該主電源控制單元回傳的充電資訊,分配對應的供電功率後,控制該電源電路同時輸出對應該些供電功率的直流電源至呈已連接狀態之該些介面連接埠;以及 當執行上述同時資料傳輸程序時,該主控制單元於接收來自呈已連接狀態之該些介面連接埠的指令後,將該些介面控制器透過該介面仲裁單元分別電連接至其對應之呈已連接狀態之該些介面連接埠,依據該些指令同時進行資料傳輸。 The main technical means used to achieve the above purpose are that the power supply device that supports multi-port synchronous data transmission and charging functions includes: A housing with an AC connector and a multi-interface connection port provided thereon; A power circuit is provided in the housing and includes: A power conversion unit is electrically connected to the AC power connector to convert an AC power supply into multiple DC power supplies for output; and A main power control unit is electrically connected to the main control unit and the interface arbitration unit, and includes a plurality of sub-power control units to obtain charging information for each interface port; A main control unit is installed in the housing and is electrically connected to the main power control unit to control the power circuit to output different DC power supplies, and the main control unit includes multiple interface controllers and a built-in simultaneous charging procedure and a simultaneous data transmission procedure; and An interface arbitration unit is provided in the housing and is electrically connected to the interface ports, the sub-power control units of the main power control unit and the interface controllers of the main control unit; wherein the interface arbitration unit The unit detects the connection status of the interface ports and records the connection sequence of the interface ports in the connected state; among which: When executing the above simultaneous charging procedure, the main control unit allocates the corresponding power supply based on the connection sequence returned by the interface arbitration unit and the charging information returned by the main power control unit, and then controls the power circuit to simultaneously output the corresponding Direct current power supply should be supplied to the interface ports in a connected state; and When executing the above simultaneous data transmission procedure, after receiving instructions from the connected interface ports, the main control unit electrically connects the interface controllers to their corresponding interface ports through the interface arbitration unit. The interface ports in the connection status perform data transmission at the same time according to the instructions.

由上述說明可知,本發明電源裝置主要於該主控制單元設置有多個介面控制器,且於該主電源控制單元設置有多個子電源控制單元,並令該些介面控制器及該些子電源控制單元係透過該介面仲裁單元分別連接多個介面連接埠,其中該介面仲裁單元可檢知外部電子裝置連接至該些介面連接埠的順序,該主電源控制單元可讀取充電資訊,故該主控制單元可由該介面仲裁單元及該主電源控制單元讀取並依據連接順序及充電資訊,透過對應的介面控制器同時進行資料傳輸,並分配對應的供電功率後由多個子電源控制單元進行同步充電;如此,本發明即可對連接至該些介面連接埠上的所有外部電子裝置進行同時充電及資料傳輸,使用者不必中途再插拔其它外部電子裝置來完成所有外部電子裝置的資料傳輸,使用上更為方便。As can be seen from the above description, the power supply device of the present invention is mainly provided with a plurality of interface controllers in the main control unit, and is provided with a plurality of sub-power control units in the main power control unit, and makes the interface controllers and the sub-power supplies The control unit is connected to multiple interface ports through the interface arbitration unit. The interface arbitration unit can detect the order in which external electronic devices are connected to the interface ports. The main power control unit can read the charging information, so the The main control unit can read from the interface arbitration unit and the main power control unit and transmit data simultaneously through the corresponding interface controller according to the connection sequence and charging information, and allocate the corresponding power supply and then synchronize it by multiple sub-power control units. Charging; in this way, the present invention can charge and transmit data to all external electronic devices connected to these interface ports at the same time. The user does not have to plug in and unplug other external electronic devices midway to complete the data transmission of all external electronic devices. More convenient to use.

本發明係提供一種支援多埠同步資料傳輸及充電功能的電源裝置,以下配合多個實施例及圖式詳加說明本發明的技術內容。The present invention provides a power supply device that supports multi-port synchronous data transmission and charging functions. The technical content of the present invention will be described in detail below with reference to multiple embodiments and drawings.

首先請參閱圖1及圖4所示,本發明電源裝置的第一實施例係包含一外殼10、一電源電路20、一主控制單元30、一介面仲裁單元40及一資料儲存單元50;其中該電源電路20、該主控制單元30、該介面仲裁單元40及該資料儲存單元50均設置在該外殼10內。First, please refer to Figures 1 and 4. The first embodiment of the power supply device of the present invention includes a housing 10, a power circuit 20, a main control unit 30, an interface arbitration unit 40 and a data storage unit 50; wherein The power circuit 20 , the main control unit 30 , the interface arbitration unit 40 and the data storage unit 50 are all disposed in the housing 10 .

如圖1所示,上述外殼10係設置有一交流電連接器11及多介面連接埠12;其中該交流電連接器11係用以插接至交流電插座中,獲得交流電源,如圖4所示,而該些介面連接埠12係供外部電子裝置60插接用。於本實施例,該交流電連接器11可為一具有交流電插頭111的電源線112,亦可如圖2所示,該交流電連接器11可為一交流電插頭111,直接設置於該外殼10上。於本實施例,該些介面連接埠12係包含不同USB標準的USB介面連接埠,亦可為其他介面連接埠。As shown in Figure 1, the above-mentioned housing 10 is provided with an AC connector 11 and a multi-interface connection port 12; the AC connector 11 is used to be plugged into an AC socket to obtain AC power, as shown in Figure 4, and These interface ports 12 are used for plugging in external electronic devices 60 . In this embodiment, the AC connector 11 can be a power cord 112 with an AC plug 111 . Alternatively, as shown in FIG. 2 , the AC connector 11 can be an AC plug 111 directly installed on the housing 10 . In this embodiment, the interface ports 12 include USB interface ports of different USB standards, and may also be other interface ports.

如圖4所示,上述電源電路20係與該交流電連接器11電連接,以將該交流電源轉換為多個直流電源後輸出;於本實施例,該電源電路20係包含一電源轉換單元22及一主電源控制單元21;其中該電源轉換單元22係電連接至該交流電連接器11,並將該交流電源轉換為多個直流電源後輸出,而該主電源控制單元21則電連接至該主控制單元30及該介面仲裁單元40,並包含有多個子電源控制單元211,以監視各該介面連接埠12的充電的電壓及電流,故該主電源控制單元21係透過該些子電源控制單元211獲得各該介面連接埠12的充電資訊(如充電電壓及電流),並將直流電源輸出至對應的介面連接埠12。As shown in FIG. 4 , the power circuit 20 is electrically connected to the AC connector 11 to convert the AC power into a plurality of DC power supplies for output. In this embodiment, the power circuit 20 includes a power conversion unit 22 and a main power control unit 21; wherein the power conversion unit 22 is electrically connected to the AC connector 11, and converts the AC power into a plurality of DC power supplies for output, and the main power control unit 21 is electrically connected to the The main control unit 30 and the interface arbitration unit 40 also include a plurality of sub-power control units 211 to monitor the charging voltage and current of each interface port 12. Therefore, the main power control unit 21 controls the sub-power supply through the sub-power supplies. The unit 211 obtains the charging information (such as charging voltage and current) of each interface port 12 and outputs the DC power to the corresponding interface port 12 .

如圖4所示,上述主控制單元30係與該電源電路20電連接,以控制該電源電路20的該電源轉換單元22輸出多個直流電源,且該主控制單元30係包含有多個介面控制器31及內建一同時充電程序及一同時資料傳輸程序,並設定有一第一裝置類型、一第二裝置類型、一第三裝置類型、一第一傳輸通訊協定、一第二傳輸通訊協定及一第三傳輸通訊協定。於本實施例,該主控制單元30係控制該電源轉換單元22輸出不同功率的直流電源。As shown in FIG. 4 , the main control unit 30 is electrically connected to the power circuit 20 to control the power conversion unit 22 of the power circuit 20 to output multiple DC power supplies, and the main control unit 30 includes multiple interfaces. The controller 31 has a built-in simultaneous charging program and a simultaneous data transmission program, and is configured with a first device type, a second device type, a third device type, a first transmission protocol, and a second transmission protocol. and a third transmission protocol. In this embodiment, the main control unit 30 controls the power conversion unit 22 to output DC power with different powers.

如圖4所示,上述介面仲裁單元40係與該些介面連接埠12、該電源電路20及該主控制單元30電連接,即該介面仲裁單元40係電連接至該主電源控制單元21的該些子電源控制單元211及該主控制單元30的該些介面控制器31;其中該些子電源控制單元211係透過該介面仲裁單元40分別電連接至該些介面連接埠12,該些介面控制器31也透過該介面仲裁單元40分別電連接至該些介面連接埠12;因此,當有外部電子裝置60插接至該些介面連接埠12,該介面仲裁單元40可檢知各該介面連接埠12的連接狀態,記錄呈已連接狀態之該些介面連接埠12的連接順序,並對該些外部電子裝置60進行優先順序編號,再將順序編號回傳該連接順序予該主控制單元30;又當該電源電路20對該些呈已連接狀態之介面連接埠12輸出對應的直流電源進行充電時,其主電源控制單元21可透過對應的子電源控制單元211讀取並回傳充電中之各該介面連接埠12之充電資訊(如充電電壓及電流)予該主控制單元30。As shown in FIG. 4 , the interface arbitration unit 40 is electrically connected to the interface ports 12 , the power circuit 20 and the main control unit 30 , that is, the interface arbitration unit 40 is electrically connected to the main power control unit 21 The sub-power control units 211 and the interface controllers 31 of the main control unit 30; wherein the sub-power control units 211 are respectively electrically connected to the interface connection ports 12 through the interface arbitration unit 40, and the interfaces The controller 31 is also electrically connected to the interface ports 12 through the interface arbitration unit 40; therefore, when an external electronic device 60 is plugged into the interface ports 12, the interface arbitration unit 40 can detect each interface. The connection status of the connection port 12 records the connection sequence of the interface connection ports 12 in the connected state, and prioritizes the external electronic devices 60, and then returns the sequence number to the main control unit. 30; When the power circuit 20 outputs the corresponding DC power to charge the connected interface ports 12, its main power control unit 21 can read and return the charge through the corresponding sub-power control unit 211. The charging information (such as charging voltage and current) of each interface port 12 is provided to the main control unit 30 .

如圖4及圖5所示,上述資料儲存單元50係電連接至該主控制單元30電連接,且不限定組成型式,可為一外接儲存單元、一內建儲存單元或內外混和式儲存單元組成,又資料儲存單元50可為但不限於SD、eMMC、UFS、U-Disk、HDD、SSD等記憶體,可為任意記憶體形式,且該資料儲存單元50係至少分割一第一資料儲存區51及一第二資料儲存區52,如圖5所示,但不以此為限。As shown in Figures 4 and 5, the data storage unit 50 is electrically connected to the main control unit 30, and the composition type is not limited. It can be an external storage unit, a built-in storage unit, or an internal and external hybrid storage unit. It is composed of, and the data storage unit 50 can be but not limited to SD, eMMC, UFS, U-Disk, HDD, SSD and other memories, and can be in any memory form, and the data storage unit 50 is divided into at least one first data storage Area 51 and a second data storage area 52 are shown in Figure 5, but are not limited thereto.

當該主控制單元30於執行該同時充電程序時,該主控制單元30係依據該介面仲裁單元40回傳的該順序編號及該主電源控制單元21回傳該充電資訊,分配對應的供電功率後,將分配功率的結果輸出至該電源電路20的主電源控制單元21,令該主電源控制單元21同時輸出對應該些供電功率的直流電源至呈對應的該些介面連接埠12。當該主控制單元30於執行該同時資料傳輸程序時,該主控制單元30於接收來自呈已連接狀態之該些介面連接埠12的指令,將該些介面控制器31透過該介面仲裁單元40分別電連接至其對應之呈已連接狀態之該些介面連接埠12,依據該些指令同時進行資料傳輸。When the main control unit 30 executes the simultaneous charging procedure, the main control unit 30 allocates the corresponding power supply based on the sequence number returned by the interface arbitration unit 40 and the charging information returned by the main power control unit 21 Then, the power distribution result is output to the main power control unit 21 of the power circuit 20, so that the main power control unit 21 simultaneously outputs the DC power corresponding to the power supply to the corresponding interface ports 12. When the main control unit 30 is executing the simultaneous data transmission procedure, the main control unit 30 receives instructions from the interface ports 12 in the connected state, and transmits the interface controllers 31 to the interface arbitration unit 40 They are respectively electrically connected to the corresponding interface ports 12 in a connected state, and data are transmitted simultaneously according to the instructions.

請參閱圖4及圖6所示,以下再進一步詳加說明該同時充電程序P1及該同時資料傳輸程序P2的流程;於本實施例,該同時充電程序係包含以下步驟(a1)至(a8)。Referring to Figures 4 and 6, the flow of the simultaneous charging procedure P1 and the simultaneous data transmission procedure P2 will be further described in detail below; in this embodiment, the simultaneous charging procedure includes the following steps (a1) to (a8) ).

於步驟(a1),該主控制單元30係接收該介面仲裁單元40回傳該些介面連接埠12的連接狀態,以判斷是否有該介面連接埠12已連接外部電子裝置60(a11);若有,則接收由該介面仲裁單元40將連接順序進行優先編號(a12)後的優先編號;若否,執行步驟(a5)。In step (a1), the main control unit 30 receives the connection status of the interface ports 12 returned by the interface arbitration unit 40 to determine whether any of the interface ports 12 is connected to the external electronic device 60 (a11); if If yes, then receive the priority number after the connection sequence is prioritized by the interface arbitration unit 40 (a12); if not, perform step (a5).

於步驟(a2),該主控制單元30對該些外部電子裝置60進行裝置識別,以取得各該外部電子裝置60的該充電電壓及電流、一裝置編號及一裝置類型。以智慧型手機、平板電腦為例,均內建有唯一裝置編號,而裝置類型則可以智慧型手機或類似電子裝置使用的作業系統進行辨識;於本實施例,該主控制單元30至少支持三種裝置類型的識別,可識別出使用iOS作業系統的第一裝置類型、使用Android作業系統的第二裝置類型及使用Windows作業系統的第三裝置類型,但不僅限於此。In step (a2), the main control unit 30 performs device identification on the external electronic devices 60 to obtain the charging voltage and current, a device number and a device type of each external electronic device 60. Taking smartphones and tablets as examples, each has a unique device number built-in, and the device type can be identified by the operating system used by the smartphone or similar electronic device; in this embodiment, the main control unit 30 supports at least three types of The identification of device types can identify a first device type using the iOS operating system, a second device type using the Android operating system, and a third device type using the Windows operating system, but is not limited to this.

於步驟(a3),該主控制單元30係依據該些外部電子裝置60的裝置類型,以決定與各該外部電子裝置60溝通之傳輸通訊協定;於本實施例,由於該主控制單元30設定有對應該第一至第三裝置類型的第一至第三傳輸通訊協定,故該主控制單元30可依據識別出目前已連接之該些電子裝置的裝置類型,選擇與其對應之傳輸通訊協定。In step (a3), the main control unit 30 determines the transmission protocol for communicating with each external electronic device 60 based on the device type of the external electronic devices 60; in this embodiment, because the main control unit 30 sets There are first to third transmission protocols corresponding to the first to third device types, so the main control unit 30 can select the corresponding transmission protocol based on identifying the device types of the currently connected electronic devices.

於步驟(a4),該主控制單元30係透過該電源電路20的該主電源控制單元21的子電源控制單元211讀取並記錄該些外部電子裝置60支援的充電電壓及電流等資訊。於本實施例,由於該電源電路20的該主電源控制單元21的子電源控制單元211透過介面仲裁單元40與該些介面連接埠12電連接,因此可取得插接在該些介面連接埠12之電子裝置支援的充電電壓及電流,並回傳至該主控制單元30。In step (a4), the main control unit 30 reads and records information such as charging voltage and current supported by the external electronic devices 60 through the sub-power control unit 211 of the main power control unit 21 of the power circuit 20 . In this embodiment, since the sub-power control unit 211 of the main power control unit 21 of the power circuit 20 is electrically connected to the interface ports 12 through the interface arbitration unit 40, it is possible to obtain the power plugged in the interface ports 12. The charging voltage and current supported by the electronic device are transmitted back to the main control unit 30 .

於步驟(a5),該主控制單元30係接收該介面仲裁單元40回傳更新該些介面連接埠12的連接狀態,以判斷是否有外部電子裝置60被拔除(a51);若是,再取得由該介面仲裁單元40將更新的連接順序再進行優先編號(a52);若否,則執行步驟(a6)。於本實施例,若原為中間順序編號的電子裝置被判斷已自其介面連接埠12拔除,則編號在其之後的電子裝置會向前順移。In step (a5), the main control unit 30 receives the response from the interface arbitration unit 40 to update the connection status of the interface ports 12 to determine whether the external electronic device 60 has been removed (a51); if so, obtain the The interface arbitration unit 40 will prioritize the updated connection sequence (a52); if not, perform step (a6). In this embodiment, if the electronic device originally numbered in the middle sequence is determined to have been unplugged from its interface port 12, the electronic device numbered after it will be moved forward.

於步驟(a6),該主控制單元30係透過該電源電路20的該主電源控制單元21的子電源控制單元211監測該些外部電子裝置60實際的充電電壓與電流。於本實施例,由於該電源電路20的該主電源控制單元21的子電源控制單元211透過介面仲裁單元40與該些介面連接埠12電連接,因此可同時取得插接在該些介面連接埠12之電子裝置實際的充電電壓及電流,並回傳至該主控制單元30。In step (a6), the main control unit 30 monitors the actual charging voltage and current of the external electronic devices 60 through the sub-power control unit 211 of the main power control unit 21 of the power circuit 20 . In this embodiment, since the sub-power control unit 211 of the main power control unit 21 of the power circuit 20 is electrically connected to the interface ports 12 through the interface arbitration unit 40, it is possible to obtain the data plugged in the interface ports 12 at the same time. The actual charging voltage and current of the electronic device 12 are transmitted back to the main control unit 30 .

於步驟(a7),該主控制單元30係依據各該外部電子裝置60實際的充電電壓與電流及目前順序編號,分配充電功率。由於不同廠商的電子裝置規範不同的充電電壓及電流,為達到同時充電安全,本發明的主控制單元30會依據目前插接電子裝置的數量,及實際檢知各電子裝置的充電電壓及電流,進行功率分配。In step (a7), the main control unit 30 allocates charging power based on the actual charging voltage and current of each external electronic device 60 and the current sequence number. Since electronic devices from different manufacturers have different charging voltages and currents, in order to achieve simultaneous charging safety, the main control unit 30 of the present invention will actually detect the charging voltage and current of each electronic device based on the number of currently plugged electronic devices. perform power distribution.

於步驟(a8),該主控制單元30係輸出功率分配的結果至該電源電路20,由該電源電路20同時輸出對應的電壓與電流予對應的外部電子裝置60;於本實施例,該主控制單元30係將功率分配結果輸出至該電源電路20的主電源控制單元21,使該主電源控制單元21得依據各該外部電子裝置60所需的充電功率,透過其子電源控制單元211輸出對應功率的直流電源,確保充電安全。In step (a8), the main control unit 30 outputs the power distribution result to the power circuit 20, and the power circuit 20 simultaneously outputs the corresponding voltage and current to the corresponding external electronic device 60; in this embodiment, the main control unit 30 outputs the power distribution result to the power circuit 20. The control unit 30 outputs the power distribution result to the main power control unit 21 of the power circuit 20 so that the main power control unit 21 can output the power through its sub-power control unit 211 according to the charging power required by each external electronic device 60 DC power supply with corresponding power ensures safe charging.

於本實施例,該主控制單元30係於執行該同時充電程序P1後,接續執行該同時資料傳輸程序P2,該同時資料傳輸程序P2係包含以下步驟(b1)至(b3)。In this embodiment, after executing the simultaneous charging procedure P1, the main control unit 30 continues to execute the simultaneous data transmission procedure P2. The simultaneous data transmission procedure P2 includes the following steps (b1) to (b3).

於步驟(b1),該主控制單元30確認該些外部電子裝置60是否發送指令;若是,執行步驟(b2);若否,返回步驟(a1)。於本實施例,該主控制單元30的該些介面控制器31係透過介面仲裁單元40與呈已連接狀態的介面連接埠12溝通,分別接收該些外部電子裝置60發出的指令。In step (b1), the main control unit 30 confirms whether the external electronic devices 60 send instructions; if so, perform step (b2); if not, return to step (a1). In this embodiment, the interface controllers 31 of the main control unit 30 communicate with the connected interface ports 12 through the interface arbitration unit 40 to receive commands from the external electronic devices 60 respectively.

於步驟(b2),該主控制單元30係判斷各該指令要求,並依據發出指令之該外部電子裝置60建立資料傳輸路徑。由於該主控制單元30係電連接該資料儲存單元50,該主控制單元30可依據不同外部電子裝置60發出的指令,建立外部電子裝置60對該資料儲存單元50的資料傳輸路徑,或建立與已插接的其他外部電子裝置60之間的資料傳輸路徑。如圖4及圖7所示,於一實施例,本步驟(b2)可進一步整合前揭步驟(a2)及(a3),即該主控制單元30係預設為主模式(S10),當檢知一外部電子裝置60已連接,即開始對外部電子裝置60進行裝置識別(S11),若識別外部電子裝置60為第一裝置類型的電子裝置60(S12),該主控制單元30將由主模式切換至從模式(S13),而第一裝置類型的外部電子裝置60則由從模式切換至主模式,該主控制單元30開始執行第一傳輸通訊協定(S14),此時若判斷該外電子裝置60發出指令,則可於該資料儲存單元50內新增一第一資料儲存區51,給該外部電子裝置60任意存取(S15)。若主控制單元30識別外部電子裝置60為第二裝置類型的電子裝置60(S16),該主控制單元30開始執行第二傳輸通訊協定(S17),此時若判斷該外電子裝置60發出指令,並可於該資料儲存單元50內新增一第二資料儲存區52,給該外部電子裝置60任意存取(S18)。若主控制單元30識別該外部電子裝置60均非第一或第二裝置類型,該主控制單元30將由主模式切換至從模式(S19),並再次識別外部電子裝置60,若識別外部電子裝置60為第三裝置類型的電子裝置60(S20),該主控制單元30開始執行第三傳輸通訊協定(S21),此時若判斷該外電子裝置60發出指令,則開放整個資料儲存單元50內的資料給外部電子裝置60任意存取(S22)。若主控制單元30識別該外部電子裝置60均非預設之第一至三裝置類型時(不限於此三種裝置類型),即結束裝置識別(S23)。亦即該主控制單元30可依第一及第二裝置類型,建立外部電子裝置60與該資料儲存單元50的第一或第二資料儲存區51、52的資料傳輸路徑;或可依第一或第二裝置類型,建立外部電子裝置60與另一外部電子裝置60的資料傳輸路徑;或該主控制單元30可依第三裝置類型,建立外部電子裝置60與該資料儲存單元50的資料傳輸路徑。In step (b2), the main control unit 30 determines each command request and establishes a data transmission path according to the external electronic device 60 that issues the command. Since the main control unit 30 is electrically connected to the data storage unit 50, the main control unit 30 can establish a data transmission path for the external electronic device 60 to the data storage unit 50 according to instructions issued by different external electronic devices 60, or establish a data transmission path with the data storage unit 50. A data transmission path between other plugged-in external electronic devices 60 . As shown in Figure 4 and Figure 7, in one embodiment, this step (b2) can further integrate the previous steps (a2) and (a3), that is, the main control unit 30 is defaulted to the main mode (S10). After detecting that an external electronic device 60 is connected, the device recognition of the external electronic device 60 is started (S11). If the external electronic device 60 is recognized as an electronic device 60 of the first device type (S12), the main control unit 30 will be controlled by the main control unit 30. The mode is switched to the slave mode (S13), and the external electronic device 60 of the first device type is switched from the slave mode to the master mode. The main control unit 30 starts to execute the first transmission communication protocol (S14). At this time, if it is determined that the external electronic device 60 When the electronic device 60 issues a command, a first data storage area 51 can be added to the data storage unit 50 for arbitrary access by the external electronic device 60 (S15). If the main control unit 30 recognizes that the external electronic device 60 is an electronic device 60 of the second device type (S16), the main control unit 30 starts to execute the second transmission protocol (S17). At this time, if it is determined that the external electronic device 60 issues a command , and a second data storage area 52 can be added in the data storage unit 50 for arbitrary access by the external electronic device 60 (S18). If the main control unit 30 recognizes that the external electronic device 60 is not of the first or second device type, the main control unit 30 switches from the master mode to the slave mode (S19), and recognizes the external electronic device 60 again. 60 is an electronic device 60 of the third device type (S20). The main control unit 30 begins to execute the third transmission protocol (S21). At this time, if it is determined that the external electronic device 60 issues a command, the entire data storage unit 50 is opened. The data can be freely accessed by the external electronic device 60 (S22). If the main control unit 30 recognizes that the external electronic device 60 is not the first to third default device types (not limited to these three device types), the device recognition is ended (S23). That is to say, the main control unit 30 can establish a data transmission path between the external electronic device 60 and the first or second data storage areas 51 and 52 of the data storage unit 50 according to the first and second device types; or it can establish a data transmission path according to the first and second device types; Or the second device type can establish a data transmission path between the external electronic device 60 and another external electronic device 60; or the main control unit 30 can establish a data transmission path between the external electronic device 60 and the data storage unit 50 according to the third device type. path.

於步驟(b3),該主控制單元30係同時執行該些指令要求。於本實施例,當該主控制單元30係由該些介面控制器31同時接收及處理發出指令的該些外部電子裝置60的指令,可同時依指令建立不同資料傳輸路徑,以進行資料傳輸,達到多個電子裝置同時資料傳輸的目的。In step (b3), the main control unit 30 executes the instruction requirements simultaneously. In this embodiment, when the main control unit 30 simultaneously receives and processes instructions from the external electronic devices 60 that issue instructions through the interface controllers 31, it can simultaneously establish different data transmission paths according to the instructions for data transmission. Achieve the purpose of simultaneous data transmission by multiple electronic devices.

再請同時參閱圖4及圖5所示,以下進一步說明上述步驟(b2)的幾種資料傳輸方式:Please refer to Figure 4 and Figure 5 at the same time. The following further explains several data transmission methods in the above step (b2):

當該主控制單元30係依據步驟(a2)決定發出指令之該外部電子裝置60係為該第一裝置類型,且該步驟(b2)的指令要求為資料備份時,以該第一傳輸通訊協定取得該外部電子裝置60的資料,連同其裝置編號儲存至該第一資料儲存區51。如圖5所示,當主控制單元30識別插接至其中一介面連接埠的外部電子裝置為蘋果手機(iPhone 11),會識別其為第一裝置類型,並取得其裝置編號(如N11),若此一外部電子裝置發出資料備份之指令要求,會依其裝置編號於第一資料儲存區51分割一子儲存區511,將其備份用的資料,儲存於其對應之子儲存區511;同理,若另一介面連接埠的外部電子裝置為蘋果平板電腦(iPad Pro),會同樣識別其為第一裝置類型,惟其裝置編號(如N12)不同,故會依其裝置編號於第一資料儲存區51分割一子儲存區512,將其備份用的資料,儲存於其對應之子儲存區512。When the main control unit 30 determines that the external electronic device 60 that issues the instruction is the first device type according to step (a2), and the instruction requirement of step (b2) is for data backup, the first transmission protocol is used. The data of the external electronic device 60 is obtained and stored in the first data storage area 51 together with its device number. As shown in FIG. 5 , when the main control unit 30 recognizes that the external electronic device plugged into one of the interface ports is an Apple mobile phone (iPhone 11), it will recognize it as the first device type and obtain its device number (such as N11). , if this external electronic device issues a data backup command request, it will divide a sub-storage area 511 in the first data storage area 51 according to its device number, and store the data for backup in its corresponding sub-storage area 511; at the same time, Processing, if the external electronic device in the other interface port is an Apple tablet (iPad Pro), it will also be recognized as the first device type, but its device number (such as N12) is different, so its device number will be used in the first data The storage area 51 is divided into a sub-storage area 512, and the data for backup is stored in the corresponding sub-storage area 512.

當該主控制單元30係依據步驟(a2)決定發出指令之該外部電子裝置60係為該第二裝置類型,且該步驟(b2)的指令要求為資料備份時,以該第二傳輸通訊協定取得該外部電子裝置60的資料,並儲存至該第二資料儲存區52;或該指令要求為資料讀取時,以該第二傳輸通訊協定取得該第二資料儲區電子裝置的資料,依其裝置編號自該第二資料儲存區52讀取其資料。於此一傳輸方式,該主控制單元30係預設為主模式,而識別為第二裝置類型的電子裝置則為從模式。如圖5所示,當主控制單元30識別插接至其中一介面連接埠的外部電子裝置為Android手機或平板電腦,會識別其為第二裝置類型,並取得其裝置編號(如N21),若此一外部電子裝置60發出資料備份之指令要求,會依其裝置編號於第二資料儲存區52分割一子儲存區521,將其備份用的資料,儲存於其對應之子儲存區521。When the main control unit 30 determines that the external electronic device 60 that issues the instruction is the second device type according to step (a2), and the instruction request in step (b2) is for data backup, the second transmission protocol is used. Obtain the data of the external electronic device 60 and store it in the second data storage area 52; or when the instruction requires data reading, obtain the data of the electronic device in the second data storage area using the second transmission protocol, according to Its device number is read from the second data storage area 52. In this transmission mode, the master control unit 30 is preset in the master mode, and the electronic device identified as the second device type is in the slave mode. As shown in Figure 5, when the main control unit 30 recognizes that the external electronic device plugged into one of the interface ports is an Android phone or tablet, it will recognize it as a second device type and obtain its device number (such as N21). If the external electronic device 60 issues a data backup command request, it will divide a sub-storage area 521 in the second data storage area 52 according to its device number, and store the data for backup in its corresponding sub-storage area 521.

當該主控制單元30係依據步驟(a2)決定發出指令之該外部電子裝置60係為該第三裝置類型,且該步驟(b2)的指令要求為資料存取時,開放該資料儲存單元50,並以該第三傳輸通訊協定進行資料存取。於此一傳輸方式,該主控制單元30由主模式切換至從模式,由該第三裝置類型的外部電子裝置60為主機,本發明為從機,由該外部電子裝置60直接對該資料儲存單元50的全部資料儲存區進行資料存取。於本實施例,該主控制單元30係自預設的主模式切換為從模式,而識別為第三裝置類型的外部電子裝置60則為主模式。When the main control unit 30 determines that the external electronic device 60 that issues the instruction is the third device type according to step (a2), and the instruction request in step (b2) is data access, the data storage unit 50 is opened. , and use the third transmission protocol to access data. In this transmission mode, the main control unit 30 switches from the master mode to the slave mode. The external electronic device 60 of the third device type is the master, and the present invention is the slave. The external electronic device 60 directly stores the data. All data storage areas of unit 50 are used for data access. In this embodiment, the master control unit 30 switches from the default master mode to the slave mode, and the external electronic device 60 identified as the third device type is in the master mode.

當該主控制單元30係依據該步驟(b2)的指令要求為資料傳輸時,該主控制單元30將同意進行資料傳輸的該些外部電子裝置60的介面控制器31電連接。請配合參閱圖3所示,本發明的電源裝置可作為一集線器,即多台外部電子裝置60同時插接至該些介面連接埠12,該主控制單元30可設定其中一台外部電子裝置60為主機,其他外部電子裝置60為從機,由該主控制單元30直接建立主機與該些從機之間的資料傳輸路徑。再如圖5所示,若同時僅有單一台外部電子裝置60運作為例,即如一台具N11或N21裝置編號的外部電子裝置60可與該資料儲存單元的第一或第二資料儲存區51、52建立一資料傳輸路徑,以進行資料存取;如圖5所示,若以同時有三台外部電子裝置60運作為例,則可與該資料儲存單元50建立三條資料傳輸路徑,即三台外部電子裝置60(裝置編號依序為N11、N12、N21)與資料儲存單元50建立不同資料傳輸路徑,以同時進行資料存取;又如圖3及圖8所示,若同時以八台外部電子裝置60運作為例,可建立多重資料傳輸路徑:即如第一至第三外部電子裝置60(裝置編號依序為N11~N13)可與該資料儲存單元50建立不同資料傳輸路徑,以同時進行資料存取;另一外部電子裝置60(裝置編號N14)發出指令要求對其它二外部電子裝置60(裝置編號N15、N16)資料傳輸,則建立其間的資料傳輸路徑,即配合圖4及圖8所示,由該主控制單元30將同意進行資料傳輸的該些外部電子裝置(裝置編號N14、N15、N16)的介面控制器31電連接,以同時進行資料傳輸;另一台外部電子裝置60(裝置編號N17)發出指令要求對另一台外部電子裝置60(裝置編號N18)資料傳輸,則建立其兩者間的資料傳輸路徑,即配合圖4所示,由該主控制單元30將同意進行資料傳輸的該些外部電子裝置(裝置編號N17、N18)的介面控制器31電連接以同時進行資料傳輸,故可供教學用,即講師使用主機播放或提供的資料可同時傳輸至該些子機中,相較透過網路資料傳輸更為快速、便利,且在此同時無論主機或從機均能同時充電,不會有電源不足而被中斷課程資料瀏覽。When the main control unit 30 requires data transmission according to the instruction of step (b2), the main control unit 30 electrically connects the interface controllers 31 of the external electronic devices 60 that agree to perform data transmission. Please refer to FIG. 3 . The power supply device of the present invention can be used as a hub, that is, multiple external electronic devices 60 are plugged into the interface ports 12 at the same time. The main control unit 30 can set one of the external electronic devices 60 The main control unit 30 is the master, and the other external electronic devices 60 are the slaves. The main control unit 30 directly establishes the data transmission path between the master and the slaves. As shown in FIG. 5 , for example, if only a single external electronic device 60 is operating at the same time, that is, an external electronic device 60 with a device number of N11 or N21 can communicate with the first or second data storage area of the data storage unit. 51 and 52 establish a data transmission path for data access; as shown in Figure 5, if three external electronic devices 60 are operated at the same time as an example, three data transmission paths can be established with the data storage unit 50, that is, three The external electronic device 60 of the station (the device numbers are N11, N12, and N21 in sequence) and the data storage unit 50 establish different data transmission paths for simultaneous data access; as shown in Figure 3 and Figure 8, if eight stations are used at the same time Taking the operation of the external electronic device 60 as an example, multiple data transmission paths can be established: that is, the first to third external electronic devices 60 (the device numbers are N11~N13 in sequence) can establish different data transmission paths with the data storage unit 50, so as to At the same time, data access is performed; another external electronic device 60 (device number N14) issues an instruction to request data transmission to the other two external electronic devices 60 (device numbers N15 and N16), and a data transmission path is established between them, that is, in conjunction with Figure 4 and As shown in FIG. 8 , the main control unit 30 electrically connects the interface controllers 31 of the external electronic devices (device numbers N14, N15, and N16) that agree to perform data transmission to perform data transmission at the same time; another external electronic device When the device 60 (device number N17) issues an instruction to request data transmission to another external electronic device 60 (device number N18), a data transmission path between the two is established, that is, as shown in Figure 4, the main control unit 30 The interface controllers 31 of the external electronic devices (device numbers N17 and N18) that agree to data transmission are electrically connected to transmit data at the same time, so they can be used for teaching, that is, the data played or provided by the lecturer using the host can be transmitted to Among these slave machines, data transmission is faster and more convenient than through the network. At the same time, both the host and slave machines can be charged at the same time, and there will be no interruption in course data browsing due to insufficient power supply.

由上述說可知,本發明電源裝置主要於該主控制單元設置有多個介面控制器,且於該主電源控制單元設置有多個子電源控制單元,並令該些介面控制器及該些子電源控制單元係透過該介面仲裁單元分別連接多個介面連接埠,其中該介面仲裁單元可檢知外部電子裝置連接至該些介面連接埠的順序,該主電源控制單元可讀取充電資訊,故該主控制單元可由該介面仲裁單元及該主電源控制單元讀取並依據連接順序及充電資訊,透過對應的介面控制器同時進行資料傳輸,並分配對應的供電功率後進行同步充電;如此,本發明即可對連接至該電源裝置上的所有電子裝置進行同時充電及資料傳輸,使用者只需將多個電子裝置一併插接至該些介面連接埠,不必中途再插拔其它電子裝置來完成所有電子裝置的資料傳輸。It can be seen from the above that the power supply device of the present invention is mainly provided with a plurality of interface controllers in the main control unit, and is provided with a plurality of sub-power control units in the main power control unit, and makes the interface controllers and the sub-power supplies The control unit is connected to multiple interface ports through the interface arbitration unit. The interface arbitration unit can detect the order in which external electronic devices are connected to the interface ports. The main power control unit can read the charging information, so the The main control unit can read from the interface arbitration unit and the main power control unit and transmit data simultaneously through the corresponding interface controller according to the connection sequence and charging information, and allocate the corresponding power supply for synchronous charging; in this way, the present invention All electronic devices connected to the power supply device can be charged and data transferred at the same time. Users only need to plug multiple electronic devices into these interface ports at the same time, without having to plug in and unplug other electronic devices midway to complete the process. Data transmission from all electronic devices.

以上所述僅是本發明的實施例而已,並非對本發明做任何形式上的限制,雖然本發明已以實施例揭露如上,然而並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明技術方案的範圍內,當可利用上述揭示的技術內容作出些許更動或修飾為等同變化的等效實施例,但凡是未脫離本發明技術方案的內容,依據本發明的技術實質對以上實施例所作的任何簡單修改、等同變化與修飾,均仍屬於本發明技術方案的範圍內。The above are only embodiments of the present invention, and do not limit the present invention in any form. Although the present invention has been disclosed in the embodiments above, they are not used to limit the present invention. Anyone with ordinary knowledge in the technical field, Without departing from the scope of the technical solution of the present invention, the technical content disclosed above can be used to make some changes or modifications to equivalent embodiments with equivalent changes. Any simple modifications, equivalent changes and modifications made to the above embodiments still fall within the scope of the technical solution of the present invention.

10:外殼 11:交流電連接器 111:交流電插頭 112:電源線 12:介面連接埠 20:電源電路 21:主電源控制單元 211:子電源控制單元 22:電源轉換單元 30:主控制單元 31:介面控制器 40:介面仲裁單元 50:資料儲存單元 51:第一資料儲存區 52:第二資料儲存區 60:外部電子裝置 10: Shell 11:AC power connector 111:AC power plug 112:Power cord 12:Interface port 20:Power circuit 21: Main power control unit 211:Sub power supply control unit 22:Power conversion unit 30: Main control unit 31:Interface controller 40:Interface arbitration unit 50:Data storage unit 51: First data storage area 52: Second data storage area 60:External electronic devices

圖1:本發明之電源裝置的一第一實施例的一立體外觀圖。 圖2:本發明之電源裝置的一第二實施例的一使用示意圖。 圖3:本發明之電源裝置的一第三實施例的一立體外觀圖。 圖4:本發明之電源裝置的一功能方塊圖。 圖5:本發明之資料儲存單元之對應不同外部電子裝置的一資料儲存分區示意圖。 圖6:本發明之主控制器執行一同時充電及資料傳輸程序的一流程圖。 圖7:本發明之同時資料傳輸程序的另一流程圖。 圖8:本發明對八台外部電子裝置之間同時建立一多種資料傳輸路徑之示意圖。 Figure 1: A three-dimensional appearance view of a first embodiment of the power supply device of the present invention. Figure 2: A usage diagram of a second embodiment of the power supply device of the present invention. Figure 3: A three-dimensional appearance view of a third embodiment of the power supply device of the present invention. Figure 4: A functional block diagram of the power supply device of the present invention. Figure 5: A schematic diagram of a data storage partition corresponding to different external electronic devices of the data storage unit of the present invention. Figure 6: A flow chart of the main controller of the present invention executing a simultaneous charging and data transmission program. Figure 7: Another flow chart of the simultaneous data transmission procedure of the present invention. Figure 8: A schematic diagram of the present invention's simultaneous establishment of multiple data transmission paths between eight external electronic devices.

11:交流電連接器 11:AC power connector

12:介面連接埠 12:Interface port

20:電源電路 20:Power circuit

21:主電源控制單元 21: Main power control unit

211:子電源控制單元 211:Sub power supply control unit

22:電源轉換單元 22:Power conversion unit

30:主控制單元 30: Main control unit

31:介面控制器 31:Interface controller

40:介面仲裁單元 40:Interface arbitration unit

50:資料儲存單元 50:Data storage unit

60:外部電子裝置 60:External electronic devices

Claims (10)

一種支援多埠同步資料傳輸及充電功能的電源裝置,包括: 一外殼,其上設置有一交流電連接器及多介面連接埠; 一電源電路,係設置在該外殼內,係包含: 一電源轉換單元,係與該交流電連接器電連接,以將一交流電源轉換為多個直流電源後輸出;以及 一主電源控制單元,係電連接至該主控制單元及該介面仲裁單元,並包含有多個子電源控制單元,以監視各該介面連接埠的充電資訊; 一主控制單元,係設置於該外殼內,並與該主電源控制單元電連接,以控制該電源電路輸出不同直流電源,且該主控制單元係包含有多個介面控制器及內建一同時充電程序及一同時資料傳輸程序;以及 一介面仲裁單元,係設置於該外殼內,並與該些介面連接埠、該主電源控制單元之該些子電源控制單元及該主控制單元的該些介面控制器電連接;其中該介面仲裁單元係檢知該些介面連接埠的連接狀態,記錄呈已連接狀態之該些介面連接埠的連接順序;其中: 當執行上述同時充電程序時,該主控制單元係依據該介面仲裁單元回傳的該連接順序及該主電源控制單元回傳的充電資訊,分配對應的供電功率後,控制該電源電路同時輸出對應該些供電功率的直流電源至呈已連接狀態之該些介面連接埠;以及 當執行上述同時資料傳輸程序時,該主控制單元於接收來自呈已連接狀態之該些介面連接埠的指令後,將該些介面控制器透過該介面仲裁單元分別電連接至其對應之呈已連接狀態之該些介面連接埠,依據該些指令同時進行資料傳輸。 A power supply device that supports multi-port synchronous data transmission and charging functions, including: A housing with an AC connector and a multi-interface connection port provided thereon; A power circuit is provided in the housing and includes: A power conversion unit is electrically connected to the AC power connector to convert an AC power supply into multiple DC power supplies for output; and A main power control unit is electrically connected to the main control unit and the interface arbitration unit, and includes a plurality of sub-power control units to monitor charging information of each interface port; A main control unit is installed in the housing and is electrically connected to the main power control unit to control the power circuit to output different DC power supplies, and the main control unit includes multiple interface controllers and a built-in simultaneous charging procedure and a simultaneous data transmission procedure; and An interface arbitration unit is provided in the housing and is electrically connected to the interface ports, the sub-power control units of the main power control unit and the interface controllers of the main control unit; wherein the interface arbitration unit The unit detects the connection status of the interface ports and records the connection sequence of the interface ports in the connected state; among them: When executing the above simultaneous charging procedure, the main control unit allocates the corresponding power supply based on the connection sequence returned by the interface arbitration unit and the charging information returned by the main power control unit, and then controls the power circuit to simultaneously output the corresponding Direct current power supply should be supplied to the interface ports in a connected state; and When executing the above simultaneous data transmission procedure, after receiving instructions from the interface ports in the connected state, the main control unit electrically connects the interface controllers to their corresponding interface ports through the interface arbitration unit. The interface ports in the connection status perform data transmission at the same time according to the instructions. 如請求項1所述之電源裝置,上述該主控制單元執行上述同時充電程序係包含: (a1) 接收該介面仲裁單元回傳該些介面連接埠的連接狀態,以判斷是否有外部電子裝置連接;若是,取得由該介面仲裁單元將連接順序進行優先順序編號後的順序編號,傳送予該主控制單元;若否,執行步驟(a5); (a2) 對該些外部電子裝置進行裝置識別,以取得各該外部電子裝置的該充電資訊、一裝置編號及一裝置類型; (a3) 依據該些外部電子裝置的裝置類型,以決定與各該外部電子裝置溝通之傳輸通訊協定; (a4)透過該電源電路的該主電源控制單元的子電源控制單元取得該些外部電子裝置支援的該充電資訊; (a5) 接收該介面仲裁單元回傳更新該些介面連接埠的連接狀態,以判斷是否有外部電子裝置被拔除;若是,取得由該介面仲裁單元將更新後之連接順序進行優先順序編號後的順序編號,傳送予該主控制單元;若否,則執行步驟(a6); (a6) 透過該電源電路的該主電源控制單元的子電源控制單元取得該些外部電子裝置的該充電資訊;其中該充電資訊為實際的充電電壓與電流; (a7) 依據各該外部電子裝置實際的充電電壓與電流及目前順序編號,分配充電功率;以及 (a8) 輸出功率分配的結果至該電源電路,由該電源電路同時輸出對應功率的直流電源予對應的外部電子裝置。 As for the power supply device described in claim 1, the above-mentioned execution of the above-mentioned simultaneous charging procedure by the main control unit includes: (a1) Receive the connection status of the interface ports returned by the interface arbitration unit to determine whether there is an external electronic device connected; if so, obtain the sequence number after the connection order is prioritized by the interface arbitration unit, and send it to The main control unit; if not, perform step (a5); (a2) Perform device identification on these external electronic devices to obtain the charging information, a device number and a device type of each external electronic device; (a3) Determine the transmission protocol for communicating with each external electronic device based on the device type of the external electronic device; (a4) Obtain the charging information supported by the external electronic devices through the sub-power control unit of the main power control unit of the power circuit; (a5) Receive the interface arbitration unit's response to update the connection status of the interface ports to determine whether an external electronic device has been removed; if so, obtain the updated connection sequence prioritized by the interface arbitration unit. The sequence number is sent to the main control unit; if not, step (a6) is executed; (a6) Obtain the charging information of the external electronic devices through the sub-power control unit of the main power control unit of the power circuit; where the charging information is the actual charging voltage and current; (a7) Allocate charging power based on the actual charging voltage and current of each external electronic device and the current sequence number; and (a8) Output the result of power distribution to the power circuit, and the power circuit simultaneously outputs DC power of corresponding power to the corresponding external electronic device. 如請求項2所述之電源裝置,其中於步驟(a8)中,該主控制器係將功率分配的結果輸出至該主電源控制單元,由該主電源控制單元依據該功率分配的結果,透過其子電源控制單元對呈已連接狀態之介面連接埠輸出對應直流電源。The power supply device as described in claim 2, wherein in step (a8), the main controller outputs the result of power allocation to the main power supply control unit, and the main power supply control unit controls the power supply through Its sub-power control unit outputs corresponding DC power to the connected interface port. 如請求項2或3所述之電源裝置,其中該主控制單元係於步驟(a8)後執行上述同時資料傳輸程序,且執行上述同時資料傳輸程序係包含: (b1)確認該些外部電子裝置是否發送指令;若是,執行步驟(b2);若否,返回步驟(a1); (b2) 判斷各該指令要求,並對發出指令之各該外部電子裝置建立資料傳輸路徑;以及 (b3) 同時執行該些指令要求,結束後返回步驟(a1)。 The power supply device as described in claim 2 or 3, wherein the main control unit executes the above-mentioned simultaneous data transmission procedure after step (a8), and executing the above-mentioned simultaneous data transmission procedure includes: (b1) Confirm whether the external electronic devices send instructions; if so, perform step (b2); if not, return to step (a1); (b2) Determine each command requirement and establish a data transmission path for each external electronic device that issues the command; and (b3) Execute these instruction requirements at the same time, and return to step (a1) after completion. 如請求項4所述之電源裝置,係於外殼內設置有一資料儲存單元,該資料儲存單元係與該主控制單元電連接;其中: 該主控制單元係設定有一第一裝置類型、一第二裝置類型、一第三裝置類型、一第一傳輸通訊協定、一第二傳輸通訊協定及一第三傳輸通訊協定; 上述同時資料傳輸程序中的步驟(b2)係包含: 當該主控制單元係依據步驟(a2)決定發出指令之該外部電子裝置係為該第一裝置類型,該主控制單元將由預設的主模式切換至從模式,並於該資料儲存單元內新增一第一資料儲存區,且該步驟(b2)的指令要求為資料備份時,該主控制單元建立該外電子裝置與該第一資料儲存區的資料傳輸路徑,並以該第一傳輸通訊協定取得該外部電子裝置的資料,連同其裝置編號儲存至該第一資料儲存區;或該指令要求為資料讀取時,以該第一傳輸通訊協定及其裝置編號自該第一資料儲存區讀取其資料; 當該主控制單元係依據步驟(a2)決定發出指令之該外部電子裝置係為該第二裝置類型,該主控制單元維持預設主模式,並於該資料儲存單元內新增一第二資料儲存區,且該步驟(b2)的指令要求為資料備份時,該主控制單元建立該外電子裝置與該第二資料儲存區的資料傳輸路徑,並以該第二傳輸通訊協定取得該外部電子裝置的資料,並儲存至該第二資料儲存區;或該指令要求為資料讀取時,以該第二傳輸通訊協定及其裝置編號自該第二資料儲存區讀取其資料;以及 當該主控制單元係依據步驟(a2)決定發出指令之該外部電子裝置係為該第三裝置類型,該主控制單元將由預設的主模式切換至從模式,且該步驟(b2)的指令要求為資料存取時,開放該資料儲存單元,且該主控制單元建立該外電子裝置與該資料儲存單元,並以該第三傳輸通訊協定進行資料存取。 The power supply device described in claim 4 is provided with a data storage unit inside the casing, and the data storage unit is electrically connected to the main control unit; wherein: The main control unit is configured with a first device type, a second device type, a third device type, a first transmission protocol, a second transmission protocol and a third transmission protocol; Step (b2) in the above simultaneous data transmission procedure includes: When the main control unit determines that the external electronic device that issues the instruction is the first device type according to step (a2), the main control unit will switch from the default master mode to the slave mode and create a new data in the data storage unit. When a first data storage area is added and the instruction in step (b2) requires data backup, the main control unit establishes a data transmission path between the external electronic device and the first data storage area and uses the first transmission communication The agreement obtains the data of the external electronic device and stores it together with its device number in the first data storage area; or when the instruction requires data reading, the first transmission protocol and its device number are used to retrieve data from the first data storage area. Read its data; When the main control unit determines that the external electronic device that issues the instruction is the second device type according to step (a2), the main control unit maintains the default main mode and adds a second data in the data storage unit storage area, and the instruction request in step (b2) is for data backup, the main control unit establishes a data transmission path between the external electronic device and the second data storage area, and obtains the external electronic device using the second transmission communication protocol. The data of the device is stored in the second data storage area; or when the instruction requires data reading, the data is read from the second data storage area using the second transmission protocol and its device number; and When the main control unit determines that the external electronic device that issues the instruction is the third device type according to step (a2), the main control unit will switch from the default master mode to the slave mode, and the instruction of step (b2) When the request is for data access, the data storage unit is opened, and the main control unit establishes the external electronic device and the data storage unit, and performs data access using the third transmission protocol. 如請求項5所述之電源裝置,其中上述同時資料傳輸程序中的步驟(b2)係進一步包含: 當該主控制單元係依據該步驟(b2)的指令要求為資料傳輸時,該主控制單元將同意進行資料傳輸的該些外部電子裝置的介面控制器電連接,以建立資料傳輸路徑。 The power supply device as claimed in claim 5, wherein step (b2) in the above simultaneous data transmission procedure further includes: When the main control unit requests data transmission according to the instruction of step (b2), the main control unit electrically connects the interface controllers of the external electronic devices that agree to perform data transmission to establish a data transmission path. 如請求項1至3中任一項所述之電源裝置,其中該交流電連接器係為一交流插頭,係設置在該外殼上或透過一電源線設置在該外殼上。The power supply device as claimed in any one of claims 1 to 3, wherein the AC connector is an AC plug, which is provided on the housing or is provided on the housing through a power cord. 如請求項1至3中任一項所述之電源裝置,其中資料儲存單元係為SD、eMMC、UFS、U-Disk、HDD或SSD。The power supply device according to any one of claims 1 to 3, wherein the data storage unit is SD, eMMC, UFS, U-Disk, HDD or SSD. 如請求項1至3中任一項所述之電源裝置,其中該多介面連接埠係包含不同USB標準的USB介面連接埠。The power supply device as claimed in any one of claims 1 to 3, wherein the multi-interface port includes USB interface ports of different USB standards. 如請求項5所述之電源裝置,其中: 該第一裝置類型係為使用iOS作業系統之電子裝置類型; 該第二裝置類型係為使用Android作業系統之電子裝置類型;以及 該第三裝置類型係為使用Windows作業系統之電子裝置類型。 The power supply device as claimed in claim 5, wherein: The first device type is an electronic device type using the iOS operating system; The second device type is an electronic device type using the Android operating system; and The third device type is an electronic device type using the Windows operating system.
TW111111765A 2022-03-28 2022-03-28 Power device supporting multi-port simultaneous data-transmitting and power-charging TWI820655B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW111111765A TWI820655B (en) 2022-03-28 2022-03-28 Power device supporting multi-port simultaneous data-transmitting and power-charging

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW111111765A TWI820655B (en) 2022-03-28 2022-03-28 Power device supporting multi-port simultaneous data-transmitting and power-charging

Publications (2)

Publication Number Publication Date
TW202339392A true TW202339392A (en) 2023-10-01
TWI820655B TWI820655B (en) 2023-11-01

Family

ID=89722163

Family Applications (1)

Application Number Title Priority Date Filing Date
TW111111765A TWI820655B (en) 2022-03-28 2022-03-28 Power device supporting multi-port simultaneous data-transmitting and power-charging

Country Status (1)

Country Link
TW (1) TWI820655B (en)

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR102256676B1 (en) * 2015-02-06 2021-05-26 삼성전자주식회사 Multi-purpose device including mobile terminal and sensing device using radio-wave based sensor
TWM512829U (en) * 2015-06-05 2015-11-21 Chesen Electronics Corp Data transmitting device having multi-transmission modes
TWM603984U (en) * 2020-06-12 2020-11-11 民傑資科股份有限公司 Device having function of simultaneously charging and backing up information

Also Published As

Publication number Publication date
TWI820655B (en) 2023-11-01

Similar Documents

Publication Publication Date Title
TWI404349B (en) Apparatuses and methods that facilitate the transfer of power and information among electrical device
WO2019113732A1 (en) Electronic device and charging control method
US8788852B2 (en) System and method for providing power through a reverse local data transfer connection
AU2015271399B2 (en) Super hub system and method thereof
CN102138134B (en) Intelligent power-enabled communications port
US10025351B2 (en) System for controlling peripherals connected to a docking station
TWI645645B (en) Method of fast charging, mobile terminal, and adaptor
JP2017527923A (en) Battery powered platform for interchangeable modules
EP3982506B1 (en) Terminal device charging method and apparatus, and storage medium
WO2015014224A1 (en) Power supply terminal, and charging control method and device
US20180004279A1 (en) Information processing apparatus, information processing method, and recording medium recording computer-readable program
WO2018032503A1 (en) Power adapter, terminal device, charging system, and charging method
CN115237841A (en) Electronic equipment, quick charging method, device, system and readable storage medium
JP7545304B2 (en) Electronic device and control method
CN110336351B (en) USB quick charging device with data transmission function
KR102315230B1 (en) ELECTRONIC DEVICE WITH USB Type-C CONNECTOR
TWM629579U (en) Power supply device that supports multi-port simultaneous data transfer and charging functions
CN107885688B (en) Signal switching method and device
TWI820655B (en) Power device supporting multi-port simultaneous data-transmitting and power-charging
JP3183283U (en) Network device having access path selection function
TWI759765B (en) Device having function of simultaneously charging and backing up information
TWI546674B (en) Data transmitting device having multi-transmission modes and method of switching multi-transmission modes thereof
TW202127266A (en) Data cable for fast charging
CN116565657A (en) Switching device and charging system
CN118017652A (en) Switching circuit, jig and battery switching method