TWM584452U - Integrated electronic apparatus for data access, data transmission and power management - Google Patents

Integrated electronic apparatus for data access, data transmission and power management Download PDF

Info

Publication number
TWM584452U
TWM584452U TW108206233U TW108206233U TWM584452U TW M584452 U TWM584452 U TW M584452U TW 108206233 U TW108206233 U TW 108206233U TW 108206233 U TW108206233 U TW 108206233U TW M584452 U TWM584452 U TW M584452U
Authority
TW
Taiwan
Prior art keywords
peripheral device
communication interface
integrated electronic
storage unit
electronic device
Prior art date
Application number
TW108206233U
Other languages
Chinese (zh)
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 TW108206233U priority Critical patent/TWM584452U/en
Publication of TWM584452U publication Critical patent/TWM584452U/en

Links

Landscapes

  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

An integrated electronic apparatus for data access, data transmission and power management and method thereof are provided. the integrated electronic apparatus employs a first controller, a second controller and a switch unit for controlling the data accessing, data transmission and power management between a first peripheral device and a second peripheral device so that a first communication interface and a second communication interface are integrated effectively to increase the convenience of the data accessing and the utilization flexibility of the integrated electronic apparatus. The utilization flexibility serves as the functions of a portable storage device, a data transmission line and a portable power bank.

Description

具資料存取、傳輸及電源管理的整合電子裝置Integrated electronic device with data access, transmission and power management

本創作係關於一種電子裝置及其方法,特別是關於一種具資料存取、傳輸及電源管理的整合電子裝置及其方法。The present invention relates to an electronic device and a method thereof, and more particularly to an integrated electronic device and a method thereof with data access, transmission, and power management.

隨著資訊技術的快速發展,電子產品的應用日益普及,例如筆記型電腦、手機、平板電腦等手持式電子裝置處處可見。由於這些電子裝置的特點是可隨身攜帶、隨時隨地使用,並且為了使各種電子裝置之間可以互相連線以進行較大量的資料傳輸,故通常是以具有通用序列匯流排(Universal Serial Bus, USB)連接器(connector)的隨身碟插接於電子產品,以擴充該電子產品的記憶體儲存容量,或是以具有USB連接埠的連接線來連接該電子產品與另一電品產品來進行兩個電子產品之間的資料傳輸,但是由於連接器(connector)(例如USB標準A型接頭)與USB連接埠型式的差異(例如蘋果公司定義的閃電接頭(lightning connector),導致具有連接器的隨身碟與連接線不易整合在一起。進一步地,該隨身碟僅不具有供電功能,使具有USB隨身碟的應用受到限制。有鑑於此,目前仍需要發展一種新式的電子裝置,以改善上述問題。With the rapid development of information technology, the application of electronic products is becoming increasingly popular. For example, handheld electronic devices such as notebook computers, mobile phones, and tablet computers are everywhere. Because these electronic devices are characterized by being portable and used anytime, anywhere, and in order to allow various electronic devices to be connected to each other for large amounts of data transmission, they are generally equipped with universal serial bus (USB) ) A USB flash drive of a connector is plugged into an electronic product to expand the memory storage capacity of the electronic product, or a cable with a USB port is used to connect the electronic product to another electronic product to perform two Data transmission between two electronic products, but due to the difference between the connector (such as the USB standard A connector) and the type of the USB port (such as the lightning connector defined by Apple), the portable device with the connector It is not easy to integrate the disc and the connection cable. Further, the flash drive only has no power supply function, which limits the application of the USB flash drive. In view of this, it is still necessary to develop a new type of electronic device to improve the above problems.

本創作之一目的在於提供一種具資料存取、傳輸及電源管理的整合電子裝置及其方法,藉由第一控制器、第二控制器以及切換器,以控制第一周邊裝置與第二周邊裝置之間的資料存取、資料傳輸以及電源管理,使整合電子裝置的第一通訊介面以及第二通訊介面有效整合在一起,以增加整合電子裝置的資料存取之方便性,提高整合電子裝置的使用彈性,使整合電子裝置具備可攜式儲存裝置、傳輸線以及行動電源的功能。One of the purposes of this creation is to provide an integrated electronic device with data access, transmission, and power management and a method thereof. The first controller, the second controller, and the switcher are used to control the first peripheral device and the second peripheral device. Data access, data transmission, and power management between devices effectively integrate the first communication interface and the second communication interface of the integrated electronic device to increase the convenience of data access of the integrated electronic device and improve the integrated electronic device The flexibility of use allows integrated electronic devices to function as portable storage devices, transmission lines, and mobile power.

為達成上述目的,本創作之具資料存取、傳輸及電源管理的整合電子裝置,該整合電子裝置包括:一儲存單元,用以儲存資料內容;一電源模組,用以提供一電力;一第一通訊介面,用以偵測是否連接一第一周邊裝置,以決定該儲存單元以及該電源模組相對應於該第一周邊裝置之間的通訊連結;一第二通訊介面,用以偵測是否連接一第二周邊裝置,以決定該儲存單元以及該電源模組相對應於該第二周邊裝置之間的通訊連結;一切換器,耦接該儲存單元、該第一通訊介面以及該第二通訊介面,用以切換該儲存單元、該第一通訊介面以及該第二通訊介面三者之間的連結狀態;一第一控制器,耦接該儲存單元、該第一通訊介面、該第二通訊介面以及該切換器,用以控制該切換器執行該儲存單元、該第一通訊介面以及該第二通訊介面三者之間的切換;以及一第二控制器,耦接該電源模組、該第一通訊介面、該第二通訊介面以及該切換器,其中該第一控制器使該第一周邊裝置依據一第一協定存取相對應該儲存單元的一第一資料以及該第一控制器控制該第二周邊裝置依據一第二協定存取相對應該儲存單元的該第一資料兩者中至少一者,並且該第二控制器控制該第一周邊裝置對該電源模組進行充電以及該第二控制器控制該電源模組提供該電力至該第二周邊裝置兩者中至少一者。In order to achieve the above purpose, the integrated electronic device with data access, transmission and power management of the present invention includes: a storage unit for storing data content; a power module for providing a power; A first communication interface for detecting whether a first peripheral device is connected to determine a communication link between the storage unit and the power module corresponding to the first peripheral device; a second communication interface for detecting Testing whether a second peripheral device is connected to determine the communication link between the storage unit and the power module corresponding to the second peripheral device; a switcher coupled to the storage unit, the first communication interface, and the A second communication interface for switching the connection status among the storage unit, the first communication interface and the second communication interface; a first controller coupled to the storage unit, the first communication interface, the A second communication interface and the switcher for controlling the switcher to perform switching between the storage unit, the first communication interface, and the second communication interface; and A second controller coupled to the power module, the first communication interface, the second communication interface, and the switch, wherein the first controller enables the first peripheral device to access a corresponding storage according to a first protocol A first data of the unit and the first controller control the second peripheral device to access at least one of the first data corresponding to the storage unit according to a second protocol, and the second controller controls the first A peripheral device charges the power module and the second controller controls the power module to provide the power to at least one of the second peripheral device.

在一實施例中,當該第一週邊裝置連接該第一通訊介面時,該第一控制器控制該切換器,以使該儲存單元連接該第一通訊介面,使該第一周邊裝置依據該第一協定讀寫該儲存單元的該第一資料,該第二控制器控制該第一通訊介面使該第一周邊裝置對該電源模組進行充電。In an embodiment, when the first peripheral device is connected to the first communication interface, the first controller controls the switch so that the storage unit is connected to the first communication interface, so that the first peripheral device is based on the first communication device. A first protocol reads and writes the first data of the storage unit, and the second controller controls the first communication interface to cause the first peripheral device to charge the power module.

在一實施例中,該第一周邊裝置處於主控模式,並且該整合電子裝置處於從屬模式。In one embodiment, the first peripheral device is in a master mode, and the integrated electronic device is in a slave mode.

在一實施例中,當該第二週邊裝置連接該第二通訊介面時,該第一控制器控制該切換器,以使該儲存單元連接該第二通訊介面,使該第二周邊裝置依據該第二協定讀寫該儲存單元的該第一資料,該第二控制器控制該第二通訊介面使該電源模組提供該電力給該第二周邊裝置。In an embodiment, when the second peripheral device is connected to the second communication interface, the first controller controls the switch so that the storage unit is connected to the second communication interface, so that the second peripheral device is based on the second communication interface. The second protocol reads and writes the first data of the storage unit, and the second controller controls the second communication interface to enable the power module to provide the power to the second peripheral device.

在一實施例中,當該電源模組提供該電力至該第二周邊裝置進行充電時,該整合電子裝置處於主控模式並且該第二周邊裝置處於從屬模式,當該第二周邊裝置讀寫該第一資料時,該整合電子裝置處於從屬模式並且該第二周邊裝置處於主控模式。In an embodiment, when the power module provides the power to the second peripheral device for charging, the integrated electronic device is in a master control mode and the second peripheral device is in a slave mode. When the second peripheral device reads and writes In the first data, the integrated electronic device is in a slave mode and the second peripheral device is in a master control mode.

在一實施例中,當該第一週邊裝置連接該第一通訊介面以及該第二週邊裝置連接該第二通訊介面時,該第二控制器控制該切換器使該第一通訊介面連接該第二通訊介面,使得該第一周邊裝置依據該第二協定擷取該第二周邊裝置的第二資料,該第二控制器控制該第一通訊介面以使該第一周邊裝置對該電源模組進行充電,並且該第二控制器控制該第二通訊介面以使該電源模組提供該電力給該第二周邊裝置。In an embodiment, when the first peripheral device is connected to the first communication interface and the second peripheral device is connected to the second communication interface, the second controller controls the switch so that the first communication interface is connected to the first communication interface. Two communication interfaces, so that the first peripheral device retrieves the second data of the second peripheral device according to the second protocol, and the second controller controls the first communication interface to make the first peripheral device to the power module Charging is performed, and the second controller controls the second communication interface so that the power module provides the power to the second peripheral device.

在一實施例中,該第一周邊裝置處於主控模式,並且該第二周邊裝置處於從屬模式。In one embodiment, the first peripheral device is in a master mode and the second peripheral device is in a slave mode.

在一實施例中,當該第一週邊裝置連接該第一通訊介面以及該第二週邊裝置連接該第二通訊介面時,該第一控制器控制該切換器,以使該儲存單元連接該第二通訊介面,使該第二周邊裝置依據該第二協定讀寫該儲存單元的該第一資料,該第二控制器控制該第一通訊介面以使該第一周邊裝置對該電源模組進行充電,並且該第二控制器控制該第二通訊介面以使該電源模組提供該電力給該第二周邊裝置。In one embodiment, when the first peripheral device is connected to the first communication interface and the second peripheral device is connected to the second communication interface, the first controller controls the switch so that the storage unit is connected to the first communication interface. Two communication interfaces, so that the second peripheral device reads and writes the first data of the storage unit according to the second protocol, and the second controller controls the first communication interface to enable the first peripheral device to perform the power module Charging, and the second controller controls the second communication interface so that the power module provides the power to the second peripheral device.

在一實施例中,當該電源模組提供該電力給該第二周邊裝置時,該整合電子裝置處於主控模式並且該第二周邊裝置處於從屬模式,當該第二周邊裝置讀寫該第一資料時,該整合電子裝置處於從屬模式並且該第二周邊裝置處於主控模式。In an embodiment, when the power module provides the power to the second peripheral device, the integrated electronic device is in a master control mode and the second peripheral device is in a slave mode. When the second peripheral device reads and writes the first peripheral device At the time of data, the integrated electronic device is in a slave mode and the second peripheral device is in a master mode.

在一實施例中,該儲存單元係為安全數位記憶卡或是嵌入式多媒體記憶卡。In one embodiment, the storage unit is a secure digital memory card or an embedded multimedia memory card.

在一實施例中,該第一協定係為通用序列匯流排(USB)之大容量儲存協定。In one embodiment, the first protocol is a mass storage protocol of a universal serial bus (USB).

在一實施例中,該第二協定係為iPod配件協定。In one embodiment, the second agreement is an iPod accessory agreement.

本創作之具資料存取、傳輸及電源管理的整合電子裝置之執行方法,該整合電子裝置包括儲存單元、電源模組、第一通訊介面、第二通訊介面、切換器、第一控制器以及第二控制器,該執行方法包括下列步驟:Implementation method of integrated electronic device with data access, transmission and power management of the creation, the integrated electronic device includes a storage unit, a power module, a first communication interface, a second communication interface, a switch, a first controller, and The second controller, the execution method includes the following steps:

S1、偵測該第一通訊介面是否連接一第一周邊裝置,以決定該儲存單元以及該電源模組相對應於該第一周邊裝置之間的通訊連結;S1. Detecting whether the first communication interface is connected to a first peripheral device to determine a communication link between the storage unit and the power module corresponding to the first peripheral device;

S2、偵測該第二通訊介面是否連接一第二周邊裝置,以決定該儲存單元以及該電源模組相對應於該第二周邊裝置之間的通訊連結;S2. Detecting whether the second communication interface is connected to a second peripheral device to determine a communication link between the storage unit and the power module corresponding to the second peripheral device;

S3、依據該第一通訊介面以及該第二通訊介面的偵測結果,該切換器切換該儲存單元、該第一周邊裝置以及該第二周邊裝置三者之間的連結狀態;S3. According to the detection results of the first communication interface and the second communication interface, the switch switches the connection status among the storage unit, the first peripheral device, and the second peripheral device;

S4、依據該第一通訊介面以及該第二通訊介面的偵測結果,該第二控制器控制該電源模組、該第一周邊裝置以及該第二周邊裝置三者之間的充電及供電狀態;S4. Based on the detection results of the first communication interface and the second communication interface, the second controller controls the charging and power supply status among the power module, the first peripheral device, and the second peripheral device. ;

S5、以該第一控制器控制該第一周邊裝置依據一第一協定存取相對應該儲存單元的該第一資料以及該第一控制器控制該第二周邊裝置依據一第二協定存取相對應該儲存單元的該第一資料中至少一者;以及S5. The first controller controls the first peripheral device to access the first data corresponding to the storage unit according to a first protocol, and the first controller controls the second peripheral device to access the relative data according to a second protocol. At least one of the first data of the unit should be stored; and

S6、以該第二控制器控制該第一周邊裝置對該電源模組進行充電以及該第二控制器控制該電源模組提供該電力至該第二周邊裝置中至少一者。S6. The second controller controls the first peripheral device to charge the power module, and the second controller controls the power module to provide the power to at least one of the second peripheral devices.

在一實施例中,在步驟S5中,當該第一週邊裝置連接該第一通訊介面時,該第一控制器使該第一周邊裝置依據該第一協定讀寫該儲存單元的該第一資料,並且在步驟S6中,該第二控制器控制該第一周邊裝置以對該電源模組進行充電。In an embodiment, in step S5, when the first peripheral device is connected to the first communication interface, the first controller causes the first peripheral device to read and write the first of the storage unit according to the first protocol. Data, and in step S6, the second controller controls the first peripheral device to charge the power module.

在一實施例中,該第一周邊裝置處於主控模式,並且該整合電子裝置處於從屬模式。In one embodiment, the first peripheral device is in a master mode, and the integrated electronic device is in a slave mode.

在一實施例中,在步驟S5中,當該第二週邊裝置連接該第二通訊介面時,該第一控制器使該第二周邊裝置依據該第二協定讀寫該儲存單元的該第一資料,並且在步驟S6中,控制該電源模組提供該電力給該第二周邊裝置。In an embodiment, in step S5, when the second peripheral device is connected to the second communication interface, the first controller causes the second peripheral device to read and write the first of the storage unit according to the second protocol. Data, and in step S6, controlling the power module to provide the power to the second peripheral device.

在一實施例中,當該電源模組提供該電力至該第二周邊裝置進行充電時,該整合電子裝置處於主控模式並且該第二周邊裝置處於從屬模式,當該第二周邊裝置讀寫該第一資料時,該整合電子裝置處於從屬模式並且該第二周邊裝置處於主控模式。In an embodiment, when the power module provides the power to the second peripheral device for charging, the integrated electronic device is in a master control mode and the second peripheral device is in a slave mode. When the second peripheral device reads and writes In the first data, the integrated electronic device is in a slave mode and the second peripheral device is in a master control mode.

在一實施例中,在步驟S5中,當該第一週邊裝置連接該第一通訊介面以及該第二週邊裝置連接該第二通訊介面時,該第二控制器控制該切換器使該第一周邊裝置依據該第二協定擷取該第二周邊裝置的第二資料,並且在步驟S6中,該第二控制器控制該第一通訊介面以使該第一周邊裝置對該電源模組進行充電,並且該第二控制器控制該第二通訊介面以使該電源模組提供該電力給該第二周邊裝置。In an embodiment, in step S5, when the first peripheral device is connected to the first communication interface and the second peripheral device is connected to the second communication interface, the second controller controls the switch to make the first The peripheral device retrieves the second data of the second peripheral device according to the second protocol, and in step S6, the second controller controls the first communication interface to enable the first peripheral device to charge the power module. And the second controller controls the second communication interface so that the power module provides the power to the second peripheral device.

在一實施例中,該第一周邊裝置處於主控模式,並且該第二周邊裝置處於從屬模式。In one embodiment, the first peripheral device is in a master mode and the second peripheral device is in a slave mode.

在一實施例中,在步驟S5中,當該第一週邊裝置連接該第一通訊介面以及該第二週邊裝置連接該第二通訊介面時,該第一控制器控制該切換器,以使該儲存單元連接該第二通訊介面,使該第二周邊裝置依據該第二協定存取相對應該儲存單元的該第一資料,並且在步驟S6中,該第二控制器控制該第一通訊介面以使該第一周邊裝置對該電源模組進行充電,並且該第二控制器控制該第二通訊介面以使該電源模組提供該電力給該第二周邊裝置。In an embodiment, in step S5, when the first peripheral device is connected to the first communication interface and the second peripheral device is connected to the second communication interface, the first controller controls the switch so that the switch The storage unit is connected to the second communication interface, so that the second peripheral device accesses the first data corresponding to the storage unit according to the second protocol, and in step S6, the second controller controls the first communication interface to The first peripheral device is charged by the power module, and the second controller controls the second communication interface to enable the power module to provide the power to the second peripheral device.

在一實施例中,當該電源模組提供該電力給該第二周邊裝置時,該整合電子裝置處於主控模式並且該第二周邊裝置處於從屬模式,當該第二周邊裝置讀寫該第一資料時,該整合電子裝置處於從屬模式並且該第二周邊裝置處於主控模式。In an embodiment, when the power module provides the power to the second peripheral device, the integrated electronic device is in a master control mode and the second peripheral device is in a slave mode. When the second peripheral device reads and writes the first peripheral device At the time of data, the integrated electronic device is in a slave mode and the second peripheral device is in a master mode.

在一實施例中,該第一協定係為通用序列匯流排(USB)之大容量儲存協定。In one embodiment, the first protocol is a mass storage protocol of a universal serial bus (USB).

在一實施例中,該第二協定係為iPod配件協定。In one embodiment, the second agreement is an iPod accessory agreement.

請參照圖式,其中相同的元件符號代表相同的元件或是相似的元件,本創作的原理是以實施在適當的運算環境中來舉例說明。以下的說明是基於所例示的本創作具體實施例,其不應被視為限制本創作未在此詳述的其它具體實施例。Please refer to the drawings, where the same component symbols represent the same components or similar components. The principle of this creation is illustrated by implementation in a suitable computing environment. The following description is based on the exemplified specific embodiments of the present invention, which should not be construed as limiting other specific embodiments of the present invention that are not described in detail herein.

參考第1圖,其繪示依據本創作第一實施例中具資料存取、傳輸及電源管理的整合電子裝置101之方塊圖。該整合電子裝置101包括儲存單元100、電源模組102、第一通訊介面104a、第二通訊介面104b、切換器106、第一控制器108a以及第二控制器108b。第一通訊介面104a 例如是USB協定之標準A型連接埠或是USB協定之微型(micro)A型連接埠,第二通訊介面104b例如是蘋果公司定義的B型閃電接頭。Referring to FIG. 1, a block diagram of an integrated electronic device 101 with data access, transmission, and power management according to the first embodiment of the present invention is shown. The integrated electronic device 101 includes a storage unit 100, a power module 102, a first communication interface 104a, a second communication interface 104b, a switch 106, a first controller 108a, and a second controller 108b. The first communication interface 104a is, for example, a standard A type port of the USB protocol or a micro (A) type A port of the USB protocol, and the second communication interface 104b is, for example, a type B lightning connector defined by Apple.

如第1圖所示,儲存單元100用以儲存資料內容,用以供周邊裝置讀取該資料內容或是寫入該資料內容。在一實施例中,儲存單元100係為安全數位(secure digital, SD)記憶卡或是嵌入式多媒體記憶卡(embedded Multi Media Card, eMMC)。電源模組102用以提供一電力。該電力用以提供給整合電子裝置101維持運作所需之電力來源,或是提供該電力給周邊裝置,或是另一周邊裝置可對電源模組102進行充電。As shown in FIG. 1, the storage unit 100 is configured to store data content for peripheral devices to read the data content or write the data content. In one embodiment, the storage unit 100 is a secure digital (SD) memory card or an embedded Multi Media Card (eMMC). The power module 102 is used to provide a power. The power is used to provide a power source required for the integrated electronic device 101 to maintain operation, or to provide the power to a peripheral device, or another peripheral device can charge the power module 102.

如第1圖所示,第一通訊介面104a用以偵測是否連接一第一周邊裝置110a,以決定該儲存單元100以及該電源模組102相對應於該第一周邊裝置110a之間的通訊連結。第二通訊介面104b用以偵測是否連接一第二周邊裝置,以決定該儲存單元100以及該電源模組102相對應於該第二周邊裝置之間的通訊連結,此處,第二通訊介面104b並未連接一第二周邊裝置。切換器106耦接該儲存單元100、該第一通訊介面104a以及該第二通訊介面104b,用以切換該儲存單元100、該第一通訊介面104a以及該第二通訊介面104b三者之間的連結狀態。在一實施例中,第一周邊裝置110a例如筆記型電腦或是具有安卓(Android)作業系統的手機。在一較佳實施例中,第一周邊裝置110a係為主控(host)模式,整合電子裝置101係為主控模式或是從屬(device)模式,當與第一周邊裝置110a連接時,整合電子裝置101係為從屬模式。此處,主控模式係指周邊裝置可對儲存單元100發出存取資料內容之狀態,亦即周邊裝置具有對該儲存單元100讀寫該資料內容之權限,從屬模式係指該儲存單元100處於被周邊裝置讀寫資料內容之狀態。As shown in FIG. 1, the first communication interface 104a is used to detect whether a first peripheral device 110a is connected to determine the communication between the storage unit 100 and the power module 102 corresponding to the first peripheral device 110a. link. The second communication interface 104b is used to detect whether a second peripheral device is connected to determine a communication link between the storage unit 100 and the power module 102 corresponding to the second peripheral device. Here, the second communication interface 104b is not connected to a second peripheral device. The switch 106 is coupled to the storage unit 100, the first communication interface 104a, and the second communication interface 104b, and is used to switch between the storage unit 100, the first communication interface 104a, and the second communication interface 104b. Link status. In one embodiment, the first peripheral device 110a is, for example, a notebook computer or a mobile phone with an Android operating system. In a preferred embodiment, the first peripheral device 110a is in a host mode, and the integrated electronic device 101 is in a master mode or a slave mode. When connected to the first peripheral device 110a, the integration The electronic device 101 is in a slave mode. Here, the master control mode refers to a state in which the peripheral device can send and receive data content to the storage unit 100, that is, the peripheral device has permission to read and write the data content in the storage unit 100, and the slave mode refers to the storage unit 100 in Status of reading and writing data content by peripheral devices.

如第1圖所示,第一控制器108a耦接該儲存單元100、該第一通訊介面104a、該第二通訊介面104b以及該切換器106,用以控制該切換器執行該儲存單元、該第一通訊介面以及該第二通訊介面三者之間的切換。第二控制器108b耦接該電源模組102、該第一通訊介面104a、該第二通訊介面104b以及該切換器106,其中該第一控制器108a使該第一周邊裝置110a依據第一協定PT1存取相對應該儲存單元100的第一資料103a,並且該第二控制器108b控制該第一周邊裝置110a對該電源模組102進行充電。As shown in FIG. 1, the first controller 108a is coupled to the storage unit 100, the first communication interface 104a, the second communication interface 104b, and the switch 106, and is used to control the switch to execute the storage unit, the Switching between the first communication interface and the second communication interface. The second controller 108b is coupled to the power module 102, the first communication interface 104a, the second communication interface 104b, and the switch 106. The first controller 108a causes the first peripheral device 110a to comply with the first protocol. PT1 accesses the first data 103a corresponding to the storage unit 100, and the second controller 108b controls the first peripheral device 110a to charge the power module 102.

具體來說,在第1圖中,當該第一週邊裝置110a連接該第一通訊介面104a時,該第一控制器108a控制該切換器106,以使該儲存單元100連接該第一通訊介面104a,使該第一周邊裝置110a依據該第一協定PT1讀取該儲存單元100的第一資料103a或是將第一資料103a寫入儲存單元100,換言之,該第一周邊裝置110a處於主控模式,並且該整合電子裝置101處於從屬模式,亦即,第一周邊裝置110a將該整合電子裝置101視為外接儲存裝置,使第一周邊裝置110a可直接存取該整合電子裝置101的儲存單元100,該第一協定PT1例如是通用序列匯流排(USB)之大容量儲存協定(mass storage class, MSC)。同時,當該第一週邊裝置110a連接該第一通訊介面104a時,該第二控制器108b控制該第一通訊介面104a使該第一周邊裝置110a對該電源模組102進行充電,亦即,第一周邊裝置110a係作為整合電子裝置101的電源模組102之充電電源。Specifically, in the first figure, when the first peripheral device 110a is connected to the first communication interface 104a, the first controller 108a controls the switch 106 so that the storage unit 100 is connected to the first communication interface. 104a, so that the first peripheral device 110a reads or writes the first data 103a of the storage unit 100 according to the first agreement PT1, in other words, the first peripheral device 110a is under the master control Mode, and the integrated electronic device 101 is in a slave mode, that is, the first peripheral device 110a regards the integrated electronic device 101 as an external storage device, so that the first peripheral device 110a can directly access the storage unit of the integrated electronic device 101 100. The first protocol PT1 is, for example, a mass storage class (MSC) of a universal serial bus (USB). At the same time, when the first peripheral device 110a is connected to the first communication interface 104a, the second controller 108b controls the first communication interface 104a to cause the first peripheral device 110a to charge the power module 102, that is, The first peripheral device 110 a is used as a charging power source for the power module 102 of the integrated electronic device 101.

參考第2圖,其繪示依據本創作第二實施例中具資料存取、傳輸及電源管理的整合電子裝置101之方塊圖。當該第二週邊裝置110b連接該第二通訊介面104b時,該第一控制器108a控制該切換器106以使該儲存單元100連接該第二通訊介面104b,使得該第二周邊裝置110b依據該第二協定PT1讀取該儲存單元100的第一資料103a或是將第一資料103a寫入儲存單元100,在一實施例中,該第二協定PT1例如是蘋果公司定義的iPod配件協定(iPod accessory protocol, iAP)。同時,當該第二週邊裝置110b連接該第二通訊介面104b時,該第二控制器108b控制該第二通訊介面104b使該電源模組102提供該電力給該第二周邊裝置110b,整合電子裝置101係作為該第二周邊裝置110b的供電電源。在第二實施例之整合電子裝置101中,第一通訊介面104a並未連接第一周邊裝置。Referring to FIG. 2, a block diagram of an integrated electronic device 101 with data access, transmission, and power management according to a second embodiment of the present invention is shown. When the second peripheral device 110b is connected to the second communication interface 104b, the first controller 108a controls the switch 106 so that the storage unit 100 is connected to the second communication interface 104b, so that the second peripheral device 110b is based on the The second agreement PT1 reads the first data 103a of the storage unit 100 or writes the first data 103a into the storage unit 100. In one embodiment, the second agreement PT1 is, for example, the iPod accessory agreement (iPod accessory protocol (iAP). At the same time, when the second peripheral device 110b is connected to the second communication interface 104b, the second controller 108b controls the second communication interface 104b to enable the power module 102 to provide the power to the second peripheral device 110b and integrate electronics The device 101 serves as a power supply source for the second peripheral device 110b. In the integrated electronic device 101 of the second embodiment, the first communication interface 104a is not connected to the first peripheral device.

具體來說,在第2圖中,當該電源模組102提供該電力至該第二周邊裝置110b進行充電時,該整合電子裝置101處於主控模式並且該第二周邊裝置110b處於從屬模式。另外,當該第二周邊裝置110b讀寫該第一資料103a時,該整合電子裝置101由主控模式轉換為從屬模式並且該第二周邊裝置110b由從屬模式轉換為主控模式,此時,第二周邊裝置110b將整合電子裝置101視為外接儲存裝置,使第二周邊裝置110b可直接存取該整合電子裝置101的儲存單元100。在一實施例中,第二周邊裝置110b例如是蘋果公司的iPhone手機或是iPAD平板電腦,但是不限於此,例如是任何符合第二協定PT1的iPod配件協定之周邊裝置。Specifically, in FIG. 2, when the power module 102 provides the power to the second peripheral device 110 b for charging, the integrated electronic device 101 is in a master control mode and the second peripheral device 110 b is in a slave mode. In addition, when the second peripheral device 110b reads and writes the first data 103a, the integrated electronic device 101 is switched from the master mode to the slave mode and the second peripheral device 110b is switched from the slave mode to the master mode. At this time, The second peripheral device 110b regards the integrated electronic device 101 as an external storage device, so that the second peripheral device 110b can directly access the storage unit 100 of the integrated electronic device 101. In an embodiment, the second peripheral device 110b is, for example, an Apple iPhone or an iPAD tablet computer, but is not limited thereto. For example, the second peripheral device 110b is any peripheral device that complies with the iPod accessory agreement of the second agreement PT1.

參考第3圖,其繪示依據本創作第三實施例中具資料存取、傳輸及電源管理的整合電子裝置101之方塊圖。當該第一週邊裝置110a連接該第一通訊介面104a以及該第二週邊裝置110b連接該第二通訊介面104b時,該第二控制器108b控制該切換器106使該第一通訊介面104a連接該第二通訊介面104b,使得該第一周邊裝置110a依據該第二協定PT1擷取該第二周邊裝置110b的第二資料103b。同時,當該第一週邊裝置110a連接該第一通訊介面104a以及該第二週邊裝置110b連接該第二通訊介面104b時,該第二控制器108b控制該第一通訊介面104a以使該第一周邊裝置110a對該電源模組102進行充電,並且該第二控制器108b控制該第二通訊介面104b以使該電源模組102提供該電力給該第二周邊裝置110b,亦即,第一周邊裝置110a係作為整合電子裝置101的電源模組102之充電電源;進一地,整合電子裝置101係作為該第二周邊裝置110b的供電電源。在第三實施例之整合電子裝置101中,第一通訊介面104a連接第一周邊裝置110a並且第二通訊介面104b連接第二周邊裝置110b。Referring to FIG. 3, a block diagram of an integrated electronic device 101 with data access, transmission, and power management according to a third embodiment of the present invention is shown. When the first peripheral device 110a is connected to the first communication interface 104a and the second peripheral device 110b is connected to the second communication interface 104b, the second controller 108b controls the switch 106 so that the first communication interface 104a is connected to the The second communication interface 104b enables the first peripheral device 110a to retrieve the second data 103b of the second peripheral device 110b according to the second protocol PT1. At the same time, when the first peripheral device 110a is connected to the first communication interface 104a and the second peripheral device 110b is connected to the second communication interface 104b, the second controller 108b controls the first communication interface 104a so that the first The peripheral device 110a charges the power module 102, and the second controller 108b controls the second communication interface 104b so that the power module 102 provides the power to the second peripheral device 110b, that is, the first peripheral The device 110a is used as a charging power source for the power module 102 of the integrated electronic device 101; further, the integrated electronic device 101 is used as a power supply for the second peripheral device 110b. In the integrated electronic device 101 of the third embodiment, the first communication interface 104a is connected to the first peripheral device 110a and the second communication interface 104b is connected to the second peripheral device 110b.

具體來說,該第一周邊裝置110a處於主控模式,並且該第二周邊裝置110b處於從屬模式。亦即,第一周邊裝置110a將該第二周邊裝置110b視為外接儲存裝置,使第一周邊裝置110a可同步傳輸該第二周邊裝置110b的資料內容。在一實施例中,第一周邊裝置110a依據該第二協定PT1之iPod配件協定(iPod accessory protocol, iAP)透過整合電子裝置101複製該第二周邊裝置110b的第二資料103b,換言之,本創作之整合電子裝置101具有一資料傳輸線之功能。Specifically, the first peripheral device 110a is in a master mode, and the second peripheral device 110b is in a slave mode. That is, the first peripheral device 110a regards the second peripheral device 110b as an external storage device, so that the first peripheral device 110a can synchronously transmit the data content of the second peripheral device 110b. In an embodiment, the first peripheral device 110a reproduces the second data 103b of the second peripheral device 110b through the integrated electronic device 101 according to the iPod accessory protocol (iAP) of the second agreement PT1. In other words, this creation The integrated electronic device 101 has a function of a data transmission line.

參考第4圖,其繪示依據本創作第四實施例中具資料存取、傳輸及電源管理的整合電子裝置101之方塊圖。當該第一週邊裝置110a連接該第一通訊介面104a以及該第二週邊裝置110b連接該第二通訊介面104b時,該第一控制器108a控制該切換器106,以使該儲存單元100連接該第二通訊介面104b,使得該第二周邊裝置110b依據該第二協定PT1讀取該儲存單元100的第一資料103a或是將第一資料103a寫入儲存單元100,在一實施例中,該第二協定PT1例如是iPod配件協定(iAP)。同時,當該第一週邊裝置110a連接該第一通訊介面104a以及該第二週邊裝置110b連接該第二通訊介面104b時,該第二控制器108b控制該第一通訊介面104a以使該第一周邊裝置110a對該電源模組102進行充電,亦即,第一周邊裝置110a係作為整合電子裝置101的電源模組102之充電電源,第一周邊裝置110a例如是筆記型電腦或是連接一外接電源的電源轉接器(power adapter)112;並且該第二控制器108b控制該第二通訊介面104b以使該電源模組102提供該電力給該第二周邊裝置110b,亦即,整合電子裝置101係作為該第二周邊裝置110b的供電電源;在第四實施例之整合電子裝置101中,第一通訊介面104a連接第一周邊裝置110a並且第二通訊介面104b連接第二周邊裝置110b。Referring to FIG. 4, a block diagram of an integrated electronic device 101 with data access, transmission and power management according to a fourth embodiment of the present invention is shown. When the first peripheral device 110a is connected to the first communication interface 104a and the second peripheral device 110b is connected to the second communication interface 104b, the first controller 108a controls the switch 106 so that the storage unit 100 is connected to the The second communication interface 104b enables the second peripheral device 110b to read the first data 103a of the storage unit 100 or write the first data 103a to the storage unit 100 according to the second protocol PT1. In one embodiment, the The second agreement PT1 is, for example, the iPod Accessory Agreement (iAP). At the same time, when the first peripheral device 110a is connected to the first communication interface 104a and the second peripheral device 110b is connected to the second communication interface 104b, the second controller 108b controls the first communication interface 104a so that the first The peripheral device 110a charges the power module 102, that is, the first peripheral device 110a is used as a charging power source for the power module 102 of the integrated electronic device 101. The first peripheral device 110a is, for example, a notebook computer or is connected to an external device. A power adapter 112 of a power source; and the second controller 108b controls the second communication interface 104b so that the power module 102 provides the power to the second peripheral device 110b, that is, an integrated electronic device 101 is the power supply for the second peripheral device 110b. In the integrated electronic device 101 of the fourth embodiment, the first communication interface 104a is connected to the first peripheral device 110a and the second communication interface 104b is connected to the second peripheral device 110b.

具體來說,當該電源模組102提供該電力給該第二周邊裝置110b時,該整合電子裝置101處於主控模式並且該第二周邊裝置110b處於從屬模式。然而當該第二周邊裝置110b讀寫該第一資料103a時,該整合電子裝置101處於由主控模式轉換為屬模式並且該第二周邊裝置110b由從屬模式轉換為主控模式。此時,第二周邊裝置110b將整合電子裝置101視為外接儲存裝置,使第二周邊裝置110b可直接存取該整合電子裝置101的儲存單元100。在一實施例中,第二周邊裝置110b例如是蘋果公司具有iPod配件協定(iAP)的iPhone手機或是iPAD平板電腦,此時,當整合電子裝置101為從屬模式時係作為第二周邊裝置110b的儲存裝置,當整合電子裝置101為主控模式時係作為第二周邊裝置110b的供電電源。在另一實施例中,第二周邊裝置110b例如是安卓(Android)作業系統的手機,此時,整合電子裝置101僅作為供電電源。Specifically, when the power module 102 provides the power to the second peripheral device 110b, the integrated electronic device 101 is in a master control mode and the second peripheral device 110b is in a slave mode. However, when the second peripheral device 110b reads and writes the first data 103a, the integrated electronic device 101 is switched from the master mode to the slave mode and the second peripheral device 110b is switched from the slave mode to the master mode. At this time, the second peripheral device 110b regards the integrated electronic device 101 as an external storage device, so that the second peripheral device 110b can directly access the storage unit 100 of the integrated electronic device 101. In an embodiment, the second peripheral device 110b is, for example, an Apple iPhone with an iPod Accessory Agreement (iAP) or an iPAD tablet computer. At this time, when the integrated electronic device 101 is in the slave mode, it is used as the second peripheral device 110b. The storage device is used as a power supply for the second peripheral device 110b when the integrated electronic device 101 is in a master control mode. In another embodiment, the second peripheral device 110b is, for example, a mobile phone of an Android operating system. At this time, the integrated electronic device 101 is only used as a power supply.

參考第1至5圖,第5圖其繪示依據本創作實例中具資料存取、傳輸及電源管理的整合電子裝置101的執行方法之流程圖。該整合電子裝置101包括儲存單元100、電源模組102、第一通訊介面104a、第二通訊介面104b、切換器106、第一控制器108a以及第二控制器108b,該執行方法包括下列步驟:Referring to FIG. 1 to FIG. 5, FIG. 5 is a flowchart illustrating an execution method of the integrated electronic device 101 with data access, transmission, and power management according to this creative example. The integrated electronic device 101 includes a storage unit 100, a power module 102, a first communication interface 104a, a second communication interface 104b, a switch 106, a first controller 108a, and a second controller 108b. The execution method includes the following steps:

在步驟S1中,偵測該第一通訊介面104a是否連接一第一周邊裝置110a,以決定該儲存單元100以及該電源模組102相對應於該第一周邊裝置110a之間的通訊連結。In step S1, it is detected whether the first communication interface 104a is connected to a first peripheral device 110a to determine a communication link between the storage unit 100 and the power module 102 corresponding to the first peripheral device 110a.

在步驟S2中,偵測該第二通訊介面104b是否連接一第二周邊裝置110b,以決定該儲存單元100以及該電源模組102相對應於該第二周邊裝置110b之間的通訊連結。In step S2, it is detected whether the second communication interface 104b is connected to a second peripheral device 110b to determine a communication link between the storage unit 100 and the power module 102 corresponding to the second peripheral device 110b.

在步驟S3中,依據該第一通訊介面104a以及該第二通訊介面104b的偵測結果,該切換器106切換該儲存單元100、該第一周邊裝置110a以及該第二周邊裝置110b三者之間的連結狀態。In step S3, according to the detection results of the first communication interface 104a and the second communication interface 104b, the switcher 106 switches the storage unit 100, the first peripheral device 110a, and the second peripheral device 110b. Link status.

在步驟S4中,依據該第一通訊介面104a以及該第二通訊介面104b的偵測結果,該第二控制器108b控制該電源模組102、該第一周邊裝置110a以及該第二周邊裝置110b三者之間的充電及供電狀態。In step S4, according to the detection results of the first communication interface 104a and the second communication interface 104b, the second controller 108b controls the power module 102, the first peripheral device 110a, and the second peripheral device 110b. The state of charge and power supply between the three.

在步驟S5中,以該第一控制器108a控制該第一周邊裝置110a依據一第一協定PT1存取相對應該儲存單元100的該第一資料103a以及該第一控制器108a控制該第二周邊裝置110b依據一第二協定PT1存取相對應該儲存單元100的該第一資料103a中至少一者。In step S5, the first controller 108a controls the first peripheral device 110a to access the first data 103a corresponding to the storage unit 100 according to a first protocol PT1, and the first controller 108a controls the second peripheral The device 110b accesses at least one of the first data 103a corresponding to the storage unit 100 according to a second protocol PT1.

在步驟S6中,以該第二控制器108b控制該第一周邊裝置110a對該電源模組102進行充電以及該第二控制器108b控制該電源模組102提供該電力至該第二周邊裝置110b中至少一者。在一實施例中,該第一協定PT1係為通用序列匯流排(USB)之大容量儲存協定,該第二協定PT1係為iPod配件協定。In step S6, the second controller 108b controls the first peripheral device 110a to charge the power module 102 and the second controller 108b controls the power module 102 to provide the power to the second peripheral device 110b. At least one of them. In one embodiment, the first protocol PT1 is a mass storage protocol for universal serial bus (USB), and the second protocol PT1 is an iPod accessory protocol.

如第1圖以及第5圖所示,在步驟S5中,當該第一週邊裝置連接該第一通訊介面104a時,該第一控制器108a使該第一周邊裝置110a依據該第一協定PT1讀寫該儲存單元100的該第一資料103a,並且在步驟S6中,該第二控制器108b控制該第一周邊裝置110a以對該電源模組102進行充電。其中該第一周邊裝置110a處於主控模式,並且該整合電子裝置101處於從屬模式。As shown in FIG. 1 and FIG. 5, in step S5, when the first peripheral device is connected to the first communication interface 104a, the first controller 108a causes the first peripheral device 110a to comply with the first agreement PT1 The first data 103a of the storage unit 100 is read and written, and in step S6, the second controller 108b controls the first peripheral device 110a to charge the power module 102. The first peripheral device 110a is in a master control mode, and the integrated electronic device 101 is in a slave mode.

如第2圖以及第5圖所示,在步驟S5中,當該第二週邊裝置連接該第二通訊介面104b時,該第一控制器108a使該第二周邊裝置110b依據該第二協定PT1讀寫該儲存單元100的該第一資料103a,並且在步驟S6中,控制該電源模組102提供該電力給該第二周邊裝置110b。當該電源模組102提供該電力至該第二周邊裝置110b進行充電時,該整合電子裝置101處於主控模式並且該第二周邊裝置110b處於從屬模式,當該第二周邊裝置110b讀寫該第一資料103a時,該整合電子裝置101處於從屬模式並且該第二周邊裝置110b處於主控模式。As shown in FIG. 2 and FIG. 5, in step S5, when the second peripheral device is connected to the second communication interface 104b, the first controller 108a causes the second peripheral device 110b to comply with the second protocol PT1. The first data 103a of the storage unit 100 is read and written, and in step S6, the power module 102 is controlled to provide the power to the second peripheral device 110b. When the power module 102 provides the power to the second peripheral device 110b for charging, the integrated electronic device 101 is in a master mode and the second peripheral device 110b is in a slave mode. When the second peripheral device 110b reads and writes the In the first data 103a, the integrated electronic device 101 is in a slave mode and the second peripheral device 110b is in a master mode.

如第3圖以及第5圖所示,在步驟S5中,當該第一週邊裝置連接該第一通訊介面104a以及該第二週邊裝置連接該第二通訊介面104b時,該第二控制器108b控制該切換器106使該第一周邊裝置110a依據該第二協定PT1擷取該第二周邊裝置110b的第二資料103b,並且在步驟S6中,該第二控制器108b控制該第一通訊介面104a以使該第一周邊裝置110a對該電源模組102進行充電,並且該第二控制器108b控制該第二通訊介面104b以使該電源模組102提供該電力給該第二周邊裝置110b。該第一周邊裝置110a處於主控模式,並且該第二周邊裝置110b處於從屬模式。As shown in FIG. 3 and FIG. 5, in step S5, when the first peripheral device is connected to the first communication interface 104a and the second peripheral device is connected to the second communication interface 104b, the second controller 108b Control the switch 106 to enable the first peripheral device 110a to retrieve the second data 103b of the second peripheral device 110b according to the second protocol PT1, and in step S6, the second controller 108b controls the first communication interface 104a for the first peripheral device 110a to charge the power module 102, and the second controller 108b controls the second communication interface 104b so that the power module 102 provides the power to the second peripheral device 110b. The first peripheral device 110a is in a master mode, and the second peripheral device 110b is in a slave mode.

如第4圖以及第5圖所示,在步驟S5中,當該第一週邊裝置連接該第一通訊介面104a以及該第二週邊裝置連接該第二通訊介面104b時,該第一控制器108a控制該切換器106,以使該儲存單元100連接該第二通訊介面104b,使該第二周邊裝置110b依據該第二協定PT1存取相對應該儲存單元100的該第一資料103a,並且在步驟S6中,該第二控制器108b控制該第一通訊介面104a以使該第一周邊裝置110a對該電源模組102進行充電,並且該第二控制器108b控制該第二通訊介面104b以使該電源模組102提供該電力給該第二周邊裝置110b。當該電源模組102提供該電力給該第二周邊裝置110b時,該整合電子裝置101處於主控模式並且該第二周邊裝置110b處於從屬模式,當該第二周邊裝置110b讀寫該第一資料103a時,該整合電子裝置101處於從屬模式並且該第二周邊裝置110b處於主控模式。As shown in FIG. 4 and FIG. 5, in step S5, when the first peripheral device is connected to the first communication interface 104a and the second peripheral device is connected to the second communication interface 104b, the first controller 108a Control the switch 106 so that the storage unit 100 is connected to the second communication interface 104b, so that the second peripheral device 110b accesses the first data 103a corresponding to the storage unit 100 according to the second protocol PT1, and in step In S6, the second controller 108b controls the first communication interface 104a to make the first peripheral device 110a charge the power module 102, and the second controller 108b controls the second communication interface 104b to make the The power module 102 provides the power to the second peripheral device 110b. When the power module 102 provides the power to the second peripheral device 110b, the integrated electronic device 101 is in a master control mode and the second peripheral device 110b is in a slave mode. When the second peripheral device 110b reads and writes the first In the case of the data 103a, the integrated electronic device 101 is in a slave mode and the second peripheral device 110b is in a master mode.

參考第2圖、第4圖以及第6圖,第6圖係繪示依據本創作實例中整合電子裝置101與周邊裝置之間執行主控模式與從屬模式的切換方法之流程圖。該整合電子裝置101包括儲存單元100、電源模組102、第一通訊介面104a、第二通訊介面104b、切換器106、第一控制器108a以及第二控制器108b,該轉換方法包括下列步驟:Referring to FIG. 2, FIG. 4, and FIG. 6, FIG. 6 is a flowchart illustrating a method for switching between a master control mode and a slave mode according to the integrated electronic device 101 and a peripheral device according to the present creative example. The integrated electronic device 101 includes a storage unit 100, a power module 102, a first communication interface 104a, a second communication interface 104b, a switch 106, a first controller 108a, and a second controller 108b. The conversion method includes the following steps:

在步驟S10中,第一控制器108a偵測並且列舉該第二通訊介面的第二周邊裝置。In step S10, the first controller 108a detects and lists the second peripheral device of the second communication interface.

在步驟S12中,第一控制器108a判斷該第二周邊裝置110b是否符合iAP配件協定之周邊裝置,若是符合,執行步驟S14。若是不符合,執行步驟S22。In step S12, the first controller 108a determines whether the second peripheral device 110b conforms to the peripheral device of the iAP accessory agreement, and if so, executes step S14. If not, step S22 is performed.

在步驟S14中,第一控制器108a發出模式一切換指令(role switch)至第二周邊裝置110b,切換指令例如是USB客製廠商請求(USB custom vendor request)指令。In step S14, the first controller 108a issues a mode switch command (role switch) to the second peripheral device 110b. The switch command is, for example, a USB custom vendor request command.

在步驟S16中,第二周邊裝置110b判斷其本身是否支援切換指令,若是,執行步驟S18,若不是,執行步驟S22。In step S16, the second peripheral device 110b determines whether it supports the switching instruction itself. If so, step S18 is performed, and if not, step S22 is performed.

在步驟S18中,第二周邊裝置110b執行斷線(disconnect),並且第二周邊裝置110b由從屬模式轉換為主控模式。In step S18, the second peripheral device 110b performs disconnection, and the second peripheral device 110b is switched from the slave mode to the master control mode.

在步驟S20中,第一控制器108a由主控模式轉換為從屬模式。In step S20, the first controller 108a is switched from the master mode to the slave mode.

在步驟S22中,整合電子裝置101維持在主控模式。In step S22, the integrated electronic device 101 is maintained in the master control mode.

綜上所述,本創作之具資料存取、傳輸及電源管理的整合電子裝置101及其方法,藉由第一控制器、第二控制器以及切換器,以控制第一周邊裝置與第二周邊裝置之間的資料存取、資料傳輸以及電源管理,使整合電子裝置101的第一通訊介面以及第二通訊介面整合在一起,增加儲存裝置的應用範圍,提高儲存裝置的使用彈性。In summary, the integrated electronic device 101 with data access, transmission, and power management and its method of the present invention uses a first controller, a second controller, and a switcher to control the first peripheral device and the second The data access, data transmission, and power management between the peripheral devices integrate the first communication interface and the second communication interface of the integrated electronic device 101 to increase the application range of the storage device and increase the flexibility of the storage device.

雖然本創作已用較佳實施例揭露如上,然其並非用以限定本創作,本創作所屬技術領域中具有通常知識者,在不脫離本創作之精神和範圍內,當可作各種之更動與潤飾,因此本創作之保護範圍當視後附之申請專利範圍所界定者為準。Although this creation has been disclosed as above with a preferred embodiment, it is not intended to limit this creation. Those with ordinary knowledge in the technical field to which this creation belongs can make various changes and modifications without departing from the spirit and scope of this creation. Retouching, so the scope of protection of this creation shall be determined by the scope of the attached patent application.

100‧‧‧儲存單元
101‧‧‧整合電子裝置
102‧‧‧電源模組
103a‧‧‧第一資料
103b‧‧‧第二資料
104a‧‧‧第一通訊介面
104b‧‧‧第二通訊介面
106‧‧‧切換器
108a‧‧‧第一控制器
108b‧‧‧第二控制器
110a‧‧‧第一周邊裝置
110b‧‧‧第二周邊裝置
112‧‧‧電源轉接器
PT1‧‧‧第一協定
PT2‧‧‧第二協定
S1~S6‧‧‧步驟
S10、S12、S14、S16、S18、S20、S22‧‧‧步驟
100‧‧‧Storage unit
101‧‧‧Integrated electronic device
102‧‧‧Power Module
103a‧‧‧First Information
103b‧‧‧Second Information
104a‧‧‧First communication interface
104b‧‧‧Second communication interface
106‧‧‧Switcher
108a‧‧‧First controller
108b‧‧‧Second controller
110a‧‧‧First peripheral device
110b‧‧‧Second peripheral device
112‧‧‧Power Adapter
PT1‧‧‧First Agreement
PT2‧‧‧Second Agreement
S1 ~ S6‧‧‧‧ steps
S10, S12, S14, S16, S18, S20, S22‧‧‧ steps

為了更清楚地說明本創作實施例中的技術方案,下面將對實施例描述中所需要使用的附圖作簡單地介紹,顯而易見地,下面描述中的附圖僅僅是本創作的一些實施例,對於本創作所屬技術領域中具有通常知識者來講,還可以根據這些附圖獲得其他的附圖。
第1圖係繪示依據本創作第一實施例中具資料存取、傳輸及電源管理的整合電子裝置之方塊圖。
第2圖係繪示依據本創作第二實施例中具資料存取、傳輸及電源管理的整合電子裝置之方塊圖。
第3圖係繪示依據本創作第三實施例中具資料存取、傳輸及電源管理的整合電子裝置之方塊圖。
第4圖係繪示依據本創作第四實施例中具資料存取、傳輸及電源管理的整合電子裝置之方塊圖。
第5圖係繪示依據本創作實例中具資料存取、傳輸及電源管理的整合電子裝置的執行方法之流程圖。
第6圖係繪示依據本創作實例中整合電子裝置與周邊裝置之間執行主控模式與從屬模式的轉換方法之流程圖。
In order to more clearly explain the technical solution in this creative embodiment, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are just some embodiments of this creative. For those with ordinary knowledge in the technical field to which this creation belongs, other drawings can also be obtained according to these drawings.
FIG. 1 is a block diagram showing an integrated electronic device with data access, transmission, and power management according to the first embodiment of the present invention.
FIG. 2 is a block diagram showing an integrated electronic device with data access, transmission, and power management according to the second embodiment of the present invention.
FIG. 3 is a block diagram illustrating an integrated electronic device with data access, transmission, and power management according to a third embodiment of the present invention.
FIG. 4 is a block diagram showing an integrated electronic device with data access, transmission, and power management according to a fourth embodiment of the present invention.
FIG. 5 is a flowchart illustrating an implementation method of an integrated electronic device with data access, transmission, and power management according to this creative example.
FIG. 6 is a flowchart illustrating a method for performing a conversion between a master control mode and a slave mode between an integrated electronic device and a peripheral device according to this creative example.

Claims (12)

一種具資料存取、傳輸及電源管理的整合電子裝置,該整合電子裝置包括:
一儲存單元,用以儲存資料內容;
一電源模組,用以提供一電力;
一第一通訊介面,用以偵測是否連接一第一周邊裝置,以決定該儲存單元以及該電源模組相對應於該第一周邊裝置之間的通訊連結;
一第二通訊介面,用以偵測是否連接一第二周邊裝置,以決定該儲存單元以及該電源模組相對應於該第二周邊裝置之間的通訊連結;
一切換器,耦接該儲存單元、該第一通訊介面以及該第二通訊介面,用以切換該儲存單元、該第一通訊介面以及該第二通訊介面三者之間的連結狀態;
一第一控制器,耦接該儲存單元、該第一通訊介面、該第二通訊介面以及該切換器,用以控制該切換器執行該儲存單元、該第一通訊介面以及該第二通訊介面三者之間的切換;以及
一第二控制器,耦接該電源模組、該第一通訊介面、該第二通訊介面以及該切換器,其中該第一控制器使該第一周邊裝置依據一第一協定存取相對應該儲存單元的一第一資料以及該第一控制器控制該第二周邊裝置依據一第二協定存取相對應該儲存單元的該第一資料兩者中至少一者,並且該第二控制器控制該第一周邊裝置對該電源模組進行充電以及該第二控制器控制該電源模組提供該電力至該第二周邊裝置兩者中至少一者。
An integrated electronic device with data access, transmission and power management. The integrated electronic device includes:
A storage unit for storing data content;
A power module for providing a power;
A first communication interface for detecting whether a first peripheral device is connected to determine a communication link between the storage unit and the power module corresponding to the first peripheral device;
A second communication interface for detecting whether a second peripheral device is connected to determine a communication link between the storage unit and the power module corresponding to the second peripheral device;
A switch coupled to the storage unit, the first communication interface and the second communication interface, for switching the connection status among the storage unit, the first communication interface and the second communication interface;
A first controller is coupled to the storage unit, the first communication interface, the second communication interface, and the switch, and controls the switch to execute the storage unit, the first communication interface, and the second communication interface Switching between the three; and a second controller coupled to the power module, the first communication interface, the second communication interface, and the switch, wherein the first controller enables the first peripheral device to A first protocol accesses at least one of a first data corresponding to a storage unit and the first controller controls the second peripheral device to access the first data corresponding to a storage unit according to a second protocol, And the second controller controls the first peripheral device to charge the power module and the second controller controls the power module to provide the power to at least one of the second peripheral device.
如申請專利範圍第1項所述之具資料存取、傳輸及電源管理的整合電子裝置,其中當該第一週邊裝置連接該第一通訊介面時,該第一控制器控制該切換器,以使該儲存單元連接該第一通訊介面,使該第一周邊裝置依據該第一協定讀寫該儲存單元的該第一資料,該第二控制器控制該第一通訊介面使該第一周邊裝置對該電源模組進行充電。The integrated electronic device with data access, transmission, and power management as described in item 1 of the scope of patent application, wherein when the first peripheral device is connected to the first communication interface, the first controller controls the switch to The storage unit is connected to the first communication interface, the first peripheral device reads and writes the first data of the storage unit according to the first protocol, and the second controller controls the first communication interface to make the first peripheral device Charge the power module. 如申請專利範圍第2項所述之具資料存取、傳輸及電源管理的整合電子裝置,其中該第一周邊裝置處於主控模式,並且該整合電子裝置處於從屬模式。The integrated electronic device with data access, transmission, and power management as described in item 2 of the scope of the patent application, wherein the first peripheral device is in a master control mode and the integrated electronic device is in a slave mode. 如申請專利範圍第1項所述之具資料存取、傳輸及電源管理的整合電子裝置,其中當該第二週邊裝置連接該第二通訊介面時,該第一控制器控制該切換器,以使該儲存單元連接該第二通訊介面,使該第二周邊裝置依據該第二協定讀寫該儲存單元的該第一資料,該第二控制器控制該第二通訊介面使該電源模組提供該電力給該第二周邊裝置。The integrated electronic device with data access, transmission, and power management as described in item 1 of the scope of patent application, wherein when the second peripheral device is connected to the second communication interface, the first controller controls the switch to The storage unit is connected to the second communication interface, the second peripheral device reads and writes the first data of the storage unit according to the second protocol, and the second controller controls the second communication interface to enable the power module to provide The power is supplied to the second peripheral device. 如申請專利範圍第4項所述之具資料存取、傳輸及電源管理的整合電子裝置,其中當該電源模組提供該電力至該第二周邊裝置進行充電時,該整合電子裝置處於主控模式並且該第二周邊裝置處於從屬模式,當該第二周邊裝置讀寫該第一資料時,該整合電子裝置處於從屬模式並且該第二周邊裝置處於主控模式。The integrated electronic device with data access, transmission, and power management as described in item 4 of the scope of patent application, wherein when the power module provides the power to the second peripheral device for charging, the integrated electronic device is in the main control Mode and the second peripheral device is in a slave mode. When the second peripheral device reads and writes the first data, the integrated electronic device is in a slave mode and the second peripheral device is in a master mode. 如申請專利範圍第1項所述之具資料存取、傳輸及電源管理的整合電子裝置,其中當該第一週邊裝置連接該第一通訊介面以及該第二週邊裝置連接該第二通訊介面時,該第二控制器控制該切換器使該第一通訊介面連接該第二通訊介面,使得該第一周邊裝置依據該第二協定擷取該第二周邊裝置的第二資料,該第二控制器控制該第一通訊介面以使該第一周邊裝置對該電源模組進行充電,並且該第二控制器控制該第二通訊介面以使該電源模組提供該電力給該第二周邊裝置。The integrated electronic device with data access, transmission, and power management according to item 1 of the scope of patent application, wherein when the first peripheral device is connected to the first communication interface and the second peripheral device is connected to the second communication interface , The second controller controls the switch to connect the first communication interface to the second communication interface, so that the first peripheral device retrieves the second data of the second peripheral device according to the second protocol, and the second control The controller controls the first communication interface so that the first peripheral device charges the power module, and the second controller controls the second communication interface so that the power module provides the power to the second peripheral device. 如申請專利範圍第6項所述之具資料存取、傳輸及電源管理的整合電子裝置,其中該第一周邊裝置處於主控模式,並且該第二周邊裝置處於從屬模式。The integrated electronic device with data access, transmission, and power management as described in item 6 of the scope of patent application, wherein the first peripheral device is in a master control mode and the second peripheral device is in a slave mode. 如申請專利範圍第1項所述之具資料存取、傳輸及電源管理的整合電子裝置,其中當該第一週邊裝置連接該第一通訊介面以及該第二週邊裝置連接該第二通訊介面時,該第一控制器控制該切換器,以使該儲存單元連接該第二通訊介面,使該第二周邊裝置依據該第二協定讀寫該儲存單元的該第一資料,該第二控制器控制該第一通訊介面以使該第一周邊裝置對該電源模組進行充電,並且該第二控制器控制該第二通訊介面以使該電源模組提供該電力給該第二周邊裝置。The integrated electronic device with data access, transmission, and power management according to item 1 of the scope of patent application, wherein when the first peripheral device is connected to the first communication interface and the second peripheral device is connected to the second communication interface The first controller controls the switch so that the storage unit is connected to the second communication interface, so that the second peripheral device reads and writes the first data of the storage unit according to the second protocol, and the second controller The first communication interface is controlled so that the first peripheral device charges the power module, and the second controller controls the second communication interface so that the power module provides the power to the second peripheral device. 如申請專利範圍第8項所述之具資料存取、傳輸及電源管理的整合電子裝置,其中當該電源模組提供該電力給該第二周邊裝置時,該整合電子裝置處於主控模式並且該第二周邊裝置處於從屬模式,當該第二周邊裝置讀寫該第一資料時,該整合電子裝置處於從屬模式並且該第二周邊裝置處於主控模式。The integrated electronic device with data access, transmission, and power management as described in item 8 of the scope of patent application, wherein when the power module provides the power to the second peripheral device, the integrated electronic device is in a master control mode and The second peripheral device is in a slave mode. When the second peripheral device reads and writes the first data, the integrated electronic device is in a slave mode and the second peripheral device is in a master control mode. 如申請專利範圍第1項所述之具資料存取、傳輸及電源管理的整合電子裝置,其中該儲存單元係為安全數位記憶卡或是嵌入式多媒體記憶卡。The integrated electronic device with data access, transmission and power management as described in item 1 of the scope of the patent application, wherein the storage unit is a secure digital memory card or an embedded multimedia memory card. 如申請專利範圍第1項所述之具資料存取、傳輸及電源管理的整合電子裝置,其中該第一協定係為通用序列匯流排(USB)之大容量儲存協定。The integrated electronic device with data access, transmission and power management as described in item 1 of the scope of the patent application, wherein the first protocol is a mass storage protocol of a universal serial bus (USB). 如申請專利範圍第1項所述之具資料存取、傳輸及電源管理的整合電子裝置,其中該第二協定係為iPod配件協定。The integrated electronic device with data access, transmission, and power management as described in item 1 of the scope of the patent application, wherein the second agreement is an iPod accessory agreement.
TW108206233U 2019-05-17 2019-05-17 Integrated electronic apparatus for data access, data transmission and power management TWM584452U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW108206233U TWM584452U (en) 2019-05-17 2019-05-17 Integrated electronic apparatus for data access, data transmission and power management

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW108206233U TWM584452U (en) 2019-05-17 2019-05-17 Integrated electronic apparatus for data access, data transmission and power management

Publications (1)

Publication Number Publication Date
TWM584452U true TWM584452U (en) 2019-10-01

Family

ID=69053036

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108206233U TWM584452U (en) 2019-05-17 2019-05-17 Integrated electronic apparatus for data access, data transmission and power management

Country Status (1)

Country Link
TW (1) TWM584452U (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112181294A (en) * 2020-09-21 2021-01-05 宜鼎国际股份有限公司 Data storage device with system operation capability
TWI728363B (en) * 2019-05-17 2021-05-21 創惟科技股份有限公司 Integrated electronic apparatus for data access, data transmission and power management and method thereof
CN114356060A (en) * 2020-10-14 2022-04-15 全汉企业股份有限公司 Master-slave interchange type power supply device, power supply method and host
TWI769717B (en) * 2020-05-19 2022-07-01 日商三菱電機股份有限公司 Additional base unit, control device, control system and control method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI728363B (en) * 2019-05-17 2021-05-21 創惟科技股份有限公司 Integrated electronic apparatus for data access, data transmission and power management and method thereof
TWI769717B (en) * 2020-05-19 2022-07-01 日商三菱電機股份有限公司 Additional base unit, control device, control system and control method
US11782857B2 (en) 2020-05-19 2023-10-10 Mitsubishi Electric Corporation Expansion base unit, control device, control system, and control method
CN112181294A (en) * 2020-09-21 2021-01-05 宜鼎国际股份有限公司 Data storage device with system operation capability
CN114356060A (en) * 2020-10-14 2022-04-15 全汉企业股份有限公司 Master-slave interchange type power supply device, power supply method and host
CN114356060B (en) * 2020-10-14 2024-02-23 全汉企业股份有限公司 Master-slave exchange type power supply device, power supply method and host

Similar Documents

Publication Publication Date Title
TWM584452U (en) Integrated electronic apparatus for data access, data transmission and power management
CN107409056B (en) Apparatus, system, method and device for facilitating data communication
WO2017113683A1 (en) Usb data line comprising extension interface and control method thereof
TWI494863B (en) Dual-interface card reader module
US10162788B2 (en) USB on the go (OTG) multi-hub endpoint reflector hub
US10860522B2 (en) Method and apparatus for controlling USB-C connectors on system with multiple host controllers
WO2018044816A1 (en) Apparatuses to resolve roles for dual role serial bus devices
CN107480086B (en) Terminal and control method thereof
US11231937B2 (en) Autonomous host detection for communication port management
WO2018196179A1 (en) Interface expansion apparatus
US10719469B2 (en) Inband messaging method for integrated type-C universal serial bus detection using enhanced serial peripheral interconnect
US10929251B2 (en) Data loss prevention for integrated memory buffer of a self encrypting drive
US20160085272A1 (en) Host computer
US20160328012A1 (en) Status Switching Method
WO2024108938A1 (en) Hard drive control apparatus and method, device, nonvolatile readable storage medium, and server
TWI728363B (en) Integrated electronic apparatus for data access, data transmission and power management and method thereof
WO2020116750A1 (en) Method and electronic device for initializing storage
US8566575B2 (en) Computer apparatus and method for charging portable electronic device using the computer apparatus
US10795421B2 (en) Power transfer synchronization for information handling system and external device
US9043500B2 (en) System and method for generating a virtual PCI-type configuration space for a device
TWI636364B (en) Computing devices with hot swapping prediction circuits, and related non-transitory computer readable storage medium
US20130132738A1 (en) Externally Powered System Access
CN108132847A (en) A kind of data processing method, the first electronic equipment and computer storage media
CN103605624A (en) Communication device
US20240104043A1 (en) Enabling universal core motherboard with flexible input-output ports