TWI376114B - Methods and systems for synchronous execution of commands across a communication link - Google Patents

Methods and systems for synchronous execution of commands across a communication link Download PDF

Info

Publication number
TWI376114B
TWI376114B TW94141291A TW94141291A TWI376114B TW I376114 B TWI376114 B TW I376114B TW 94141291 A TW94141291 A TW 94141291A TW 94141291 A TW94141291 A TW 94141291A TW I376114 B TWI376114 B TW I376114B
Authority
TW
Taiwan
Prior art keywords
camera
commands
shutter
module
command
Prior art date
Application number
TW94141291A
Other languages
Chinese (zh)
Other versions
TW200637224A (en
Inventor
Behnam Katibian
George A Wiley
Original Assignee
Qualcomm Inc
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
Priority claimed from US11/285,400 external-priority patent/US20060161691A1/en
Application filed by Qualcomm Inc filed Critical Qualcomm Inc
Publication of TW200637224A publication Critical patent/TW200637224A/en
Application granted granted Critical
Publication of TWI376114B publication Critical patent/TWI376114B/en

Links

Description

1376114 d) 九、發明說明 【發明所屬之技術領域】 本發明係關於在一通訊鏈路上同步執行命令之方法及 系統。本發明特別係指關於在一行動顯示數位介面( MDDI)鏈路上同步執行命令之方法及系統《 【先前技術】 在互連技術的領域中,不斷增加資料傳輸率之需求, 特別是和視頻顯示相關之資料傳輸率的需求持續成長。 .行動顯示數位介面(MDDI )是一種具備成本效益、 低耗電之轉移機制,該機制在在主機與用戶之間的短距通 訊鏈路上致能非常高速的資料轉移。MDDI對於每秒傳送 高達3.2Gbits之最大頻寬的雙向資料轉移來說僅需要四條 纜線外加電源即可。 在某一應用中,MDDI藉由大幅減少穿越手機樞紐以 使數位基頻控制器與液晶(LCD)顯示器及/或相機互連的 配線數目來增加掀蓋式電話的可靠度與減少其耗電。此配 線的減少也讓手機製造商能夠藉由簡化掀蓋式或者滑蓋式 手機設計來降低開發成本。 典型的MDDI互連包括經由MDDI鏈路來連接一爲 MDDI鏈路主機之控制器和另一爲MDDI鏈路客戶之控制 器的MDDI控制器。在鏈接一基頻處理器到例如相機模組 之裝置方面,介面一般也被用來中繼命令從處理器到該裝 置。舉例來說,Pathfinder爲一由Qualcomm公司所開發 -4- (2) (2)1376114 出來的裝置介面,該裝置介面具有一集成之MDDI主機核 心,該主機核心能夠被用來經由MDDI而介接基頻處理器 (具有MDDI客戶核心)與例如相機之裝置。 透過MDDI而由基頻處理器所送出的命令通常不需要 同步。但是,舉例來說,在控制相機時,某些由基頻處理 器所下達之命令就需要在相機處之精確的同步執行。例如 ,閃光一閃的時候就需要閃光同步,以便準確地與相機快 門的打開重合。但是,典型上,由基頻處理器透過MDDI 鏈路所送出的訊息會導致延遲,而延遲係視鏈路的使用而 定,且無法做準確地預估6因此,對於達成在相機處的同 步而言,在處理器處使命令同步而同時企圖經由鏈路來補 償延遲並不是一個可靠的解決之道。 因此,所需要的是經由MDDI鏈路來同步由基頻處理 器所傳送至例如相機之裝置之命令的執行之方法與系統。 【發明內容】 本發明係關於在一通訊鏈路上同步執行命令之方法與 系統。本發明特別係指關於在一行動顯示數位介面( MDDI )鏈路上同步執行命令之方法與系統。 在一態樣中,提供一種用來同步執行由第一模組所產 生且被執行於第二模組處之複數個命令的方法,其中,第 一模組與第二模組經由一通訊鏈路來通訊。該方法包括在 第一模組處產生命令,透過該通訊鏈路而將該等命令傳送 到第二模組,以及使該等命令的執行時間在第二模組處與1376114 d) IX. Description of the Invention [Technical Field] The present invention relates to a method and system for synchronously executing commands on a communication link. In particular, the present invention relates to a method and system for simultaneously executing commands on a Mobile Display Digital Interface (MDDI) link. [Prior Art] In the field of interconnect technology, there is a growing need for data transfer rates, particularly with video displays. The demand for related data transmission rates continues to grow. The Action Display Digital Interface (MDDI) is a cost-effective, low-power transfer mechanism that enables very high-speed data transfer on short-range communication links between the host and the user. MDDI requires only four cable-plus power supplies for bidirectional data transfer with a maximum bandwidth of up to 3.2 Gbits per second. In an application, MDDI increases the reliability and power consumption of a covered phone by significantly reducing the number of wires that traverse the handset hub to interconnect the digital baseband controller with a liquid crystal (LCD) display and/or camera. . This reduction in wiring also allows handset manufacturers to reduce development costs by simplifying the design of flip-top or slide-type phones. A typical MDDI interconnect includes an MDDI controller that connects a controller that is an MDDI link master to another MDDI link client controller via an MDDI link. In connection with a baseband processor to a device such as a camera module, the interface is also typically used to relay commands from the processor to the device. For example, Pathfinder is a device interface developed by Qualcomm, -4- (2) (2) 1376114, which has an integrated MDDI host core that can be used to interface via MDDI. A baseband processor (with an MDDI client core) and a device such as a camera. Commands sent by the baseband processor through MDDI usually do not require synchronization. However, for example, when controlling the camera, some of the commands issued by the baseband processor require precise synchronization at the camera. For example, a flash sync is required for a flash to accurately coincide with the opening of the camera shutter. However, typically, the message sent by the baseband processor through the MDDI link causes a delay, and the delay depends on the use of the link and cannot be accurately estimated. 6 Therefore, to achieve synchronization at the camera. In contrast, synchronizing commands at the processor while attempting to compensate for delays via the link is not a reliable solution. Accordingly, what is needed is a method and system for synchronizing the execution of commands transmitted by a baseband processor to a device such as a camera via an MDDI link. SUMMARY OF THE INVENTION The present invention is directed to a method and system for synchronously executing commands on a communication link. In particular, the invention relates to a method and system for simultaneously executing commands on a Mobile Display Digital Interface (MDDI) link. In one aspect, a method for synchronously executing a plurality of commands generated by a first module and executed at a second module is provided, wherein the first module and the second module are connected via a communication chain Road to communication. The method includes generating a command at a first module, transmitting the commands to the second module over the communication link, and causing execution time of the commands at the second module

-5- (3) 1376114 " 一獨立事件相關聯。當該獨立事件被偵測到時,在第二模 - 組處同步執行該等命令。 在另一態樣中,上述方法可以被特定應用到透過相機 模組介面來控制相機之基頻處理器的情況,其中,基頻處 • 理器與相機模組介面係經由一M D DI鏈路來予以連接。敘 述一透過Pathfinder相機模組介面來控制相機之基頻行動 台數據機(MSM )處理器的示例。也提供致能上述方法之 φ 彈性實施之相機模組介面內的特定內建機制。 下面將參照伴隨之圖形來詳細敘述本發明之進一步實 施例、特徵、與優點,以及本發明之各種實施例的結構與 操作》 【實施方式】 本說明書揭示一或多個結合本發明之特徵的實施例。 所揭示之實施例僅作爲本發明之示例。本發明的範圍不侷 • 限於所揭示之實施例。本發明係藉由附加於此之申請專利 範圍來予以界定的。 所述之實施例,與說明書中所提及之“一個實施例,,、“ .—實施例’’、“一示例實施例”等等表示所述之實施例可包 括一特別的特色、結構 '或特徵,但每個實施例不一定包 括該特色、結構、或特徵。況且,這樣的用語不一定是指 相同的貫施例。此外,當—特別的特色、結構、或特徵係 敘述而與一實施例有關時’不管是否被明確敘述,即可認 疋產生@樣的特色、結構、或特徵而與其他實施例有關係 (4) (4)1376114 在習於此技藝者的知識之內。 本發明之實施例可以以硬體、韌體、軟體,或者其任 何組合來予以施行。本發明之實施例也可被施行做爲儲存 在機器可讀取媒體上的指令,該等指令可以被一或多個處 理器來予以讀取與執行。一機器可讀取媒體可包括任何用 來儲存或傳送呈可由機器(例如,計算裝置)讀取之形式 之資訊的機制。譬如,機器可讀取媒體可包括唯讀記憶體 (ROM ):隨機存取記憶體(RAM ):磁碟儲存媒體;光 儲存媒體;快閃記憶體裝置;電氣、光學 '聲學或其他形 式之傳播訊號(例如,載波、紅外線訊號、數位訊號等) ,以及其他訊號。此外,韌體、軟體、程式、指令在此可 以被敘述爲執行特定的動作。但是,應該領會到這樣的敘 述僅係爲了方便性,並且這樣的動作實際上係由於計算裝 置、處理器、控制器、或其他執行韌體、軟體 '程式、指 令之裝置所引起的。 行動顯示數位介面(MDDI) ί了動顯不數位介面(MDDI)是一種具備成本效益、 低耗電之轉移機制,該機制致使非常高速的串列資料能夠 轉移於主機與用戶間之短距通訊鏈路上。 下面’將針對上掀蓋式行動電話內所含之相機模組而 提出MDDI之示例。然而,任何與相機模組具有等同功能 性的模組皆可很輕易地被替換及使用於本發明之實施例中 ’這對習於此技藝者而言是顯而易見的。 (5) 1376114 此外,依據本發明之實施例,一 幾種類型之能夠從使用本發明而受惠 譬如說,該主機可以是一呈手持式、 動計算裝置之形式的可攜式電腦。主 料助理(PDA)、一傳呼裝置、或眾 的其中之一。替換地,主機可以是一 置,例如一可攜式DVD或CD播放器 置。此外,主機可以存在爲在各種被 業化產品中的主機裝置或控制元件, 高速通訊鏈路。舉例來說,主機可以 用來以高速率,從視頻記錄裝置到以 轉移資料,或者爲了介紹而被使用來 錄裝置到高解析度較大螢幕轉移資料 計算系統與/或藍芽(Bluetooth)結· 電冰箱的電器用品,當操作於網際網 ’能夠具有改善的顯示能力,或者當 (主機)在機櫃中的其他地方時,能 (客戶)與小型鍵盤或掃描器(客戶 說來,習於此技藝者將會領會到,可 惠之各種的數據機電子裝置與電器用 新加或既有之連接器或纜線中之有限 高資料速率之資訊傳輸來翻新老舊i MDDI客戶可以包含不同之有用於呈 ,或者從使用者呈現資訊給主機的裝 MDDI主機可以包括 的裝置的其中之一。 膝上型、或類似之行 機亦可以是一個人資 多無線電話或數據機 可攜式娛樂或介紹裝 ’或者是一遊戲機裝 廣泛使用或規劃之商 因爲客戶想要和主機 爲了改善回應而被使 儲存器爲基礎的客戶 以高速率,從視頻記 。例如將板上庫存或 含入其他家用裝置之 路或藍芽連線模式時 電子電腦或控制系統 夠降低對室內顯示器 )之配線需求。一般 以從使用此介面而受 品,以及使用可用於 數目的導線,而以更 专置的能力。同時, 現資訊給終端使用者 置。譬如說,結合入 -8 - (6) (6)1376114 護目鏡或眼鏡中之微顯示器、內建在一帽子或頭盔中之投 影裝置、內建在汽車內,例如在車窗或雨刷中之小型螢幕 或全像攝影元件、或用以呈現高品質聲音與音樂之各種揚 聲器、耳機、或音響系統。其他的介紹裝置包括被用來呈 現供會議或電影與電視影像之投影機或投影裝置。另外的 例子將會是觸控板(touch pads)或靈敏性裝置、語音辨 識輸入裝置 '安全掃描器等等的使用,其可以被請求而以 不同於來自使用者之觸碰或聲音的少許真的”輸入”而從裝 置或系統使用者轉移大量的資訊。除此之外,電腦用擴充 基座與用於無線電話的車用或桌上用套件與支架可以用作 爲到終端使用者或其他裝置與設備之介面裝置,並且使用 客戶(例如滑鼠之輸出或輸入裝置)或主機來協助處理資 料轉移,特別是在涉及高速網路的情況中。然而,習於此 技藝者將很容易察覺到,本發明並不侷限在這些裝置,市 面上有許多其他裝置,並且被建議來使用,無論從儲存與 運送的觀點或是在播放時顯示的觀點,它們都打算提供終 端使用者高品質影像與聲音。本發明在各種元件或裝置之 間增加資料通量(throughput ),以提供用來實現所想要 之使用者經驗所需的高資料速率方面係有用的。 圖1A爲一耦接至數位裝置150及周邊裝置180之數 位資料裝置介面1 00的圖形。數位裝置I 50可包括(但不 限於)蜂巢式電話、個人資料助理、智慧型電話或個人電 腦。通常,數位裝置1 5 0可包括任何類型之用作爲數位指 令與數位顯示資料之處理的處理單元之數位裝置。數位裝-5- (3) 1376114 " An independent event is associated. When the independent event is detected, the commands are executed synchronously at the second mode group. In another aspect, the method may be specifically applied to control a camera's baseband processor through a camera module interface, wherein the baseband processor and camera module interface are via an MD DI link. Come and connect. An example of a baseband mobile station data machine (MSM) processor that controls the camera through the Pathfinder camera module interface. A specific built-in mechanism within the camera module interface that enables the φ elastic implementation of the above method is also provided. Further embodiments, features, and advantages of the present invention, as well as the structure and operation of various embodiments of the present invention, will be described in detail with reference to the accompanying drawings. Example. The disclosed embodiments are merely illustrative of the invention. The scope of the present invention is not limited to the disclosed embodiments. The invention is defined by the scope of the appended claims. The embodiments described, and the "one embodiment," "the embodiment", "an example embodiment" and the like as referred to in the specification, may include a particular feature and structure. ' or feature, but each embodiment does not necessarily include the feature, structure, or feature. Moreover, such terms do not necessarily refer to the same embodiment. In addition, when a particular feature, structure, or feature is recited in connection with an embodiment, the feature, structure, or feature of the invention may be considered to be associated with other embodiments, whether or not explicitly recited. 4) (4) 1376114 is within the knowledge of those skilled in the art. Embodiments of the invention may be practiced in hardware, firmware, software, or any combination thereof. Embodiments of the invention may also be implemented as instructions stored on a machine readable medium, which may be read and executed by one or more processors. A machine readable medium can include any mechanism for storing or transmitting information in a form readable by a machine (e.g., a computing device). For example, machine readable media may include read only memory (ROM): random access memory (RAM): disk storage media; optical storage media; flash memory devices; electrical, optical 'acoustic or other forms. Propagation signals (eg, carrier waves, infrared signals, digital signals, etc.), as well as other signals. In addition, firmware, software, programs, and instructions may be described herein as performing specific actions. However, it should be appreciated that such a description is merely for convenience, and such an action is actually caused by a computing device, processor, controller, or other device that executes firmware, software, programs, or instructions. Action Display Digital Interface (MDDI) The Mobile Digital Interface (MDDI) is a cost-effective, low-power transfer mechanism that enables very high-speed serial data to be transferred to short-range communication between the host and the user. On the link. The following section will present an example of MDDI for the camera module included in the top cover mobile phone. However, any module having equivalent functionality to the camera module can be readily substituted and used in embodiments of the present invention, as will be apparent to those skilled in the art. (5) 1376114 Further, in accordance with embodiments of the present invention, several types can benefit from the use of the present invention. For example, the host can be a portable computer in the form of a handheld, mobile computing device. One of the main material assistant (PDA), a paging device, or the public. Alternatively, the host can be a device such as a portable DVD or CD player. In addition, the host can exist as a host device or control element in a variety of industrialized products, high speed communication links. For example, the host can be used to transfer data from a video recording device to a high rate, or for presentation to a high resolution large screen transfer data computing system and/or Bluetooth node. · Electrical appliances for refrigerators, when operating on the Internet, can have improved display capabilities, or when (host) is in other places in the cabinet, can (customer) with a small keyboard or scanner (customer says, Xi The skilled artisan will appreciate that various data electronic devices and appliances can be used to renovate old i MDDI customers with new or existing connectors or cables with limited high data rate information. One of the devices that can be included in the MDDI host for presenting or presenting information from the user to the host. The laptop, or the like, can also be a multi-person wireless telephone or data modem portable entertainment. Or introduce the installation 'or a game machine widely used or planned business because the customer wants and the host to improve the response to the storage-based customer At a high rate, remember from the video, such as the on-board inventory or the road or Bluetooth connection mode included in other home devices, the electronic computer or control system can reduce the wiring requirements for the indoor display. It is generally more specialized in terms of the use of this interface and the use of wires that can be used in a number of ways. At the same time, the information is now available to the end user. For example, a microdisplay that is incorporated into -8 - (6) (6) 1376114 goggles or glasses, a projection device built into a hat or helmet, built into a car, such as in a window or wiper. Small screen or holographic components, or a variety of speakers, headphones, or sound systems for high-quality sound and music. Other presentation devices include projectors or projection devices that are used to present conference or movie and television images. Another example would be the use of a touch pad or a sensitive device, a voice recognition input device, a security scanner, etc., which can be requested to differ from the touch or sound from the user. The "input" transfers a large amount of information from the device or system user. In addition, computer docking stations and car or desk kits and stands for wireless phones can be used as interface devices to end users or other devices and devices, and use customers (such as mouse output) Or input device) or host to assist with data transfer, especially in the case of high speed networks. However, it will be readily apparent to those skilled in the art that the present invention is not limited to these devices, and there are many other devices on the market that are suggested for use, regardless of the point of view of storage and shipping or the viewpoint displayed during playback. They are all intended to provide high quality images and sounds for end users. The present invention is useful in increasing the throughput of various components or devices to provide the high data rate required to achieve the desired user experience. 1A is a diagram of a digital data device interface 100 coupled to a digital device 150 and a peripheral device 180. Digital device I 50 may include, but is not limited to, a cellular telephone, a personal data assistant, a smart phone, or a personal computer. In general, digital device 150 may include any type of digital device that is used as a processing unit for processing digital instructions and digital display data. Digital installation

-9 - (7) (7)1376114 置1 50包括一系統控制器1 60與一鏈接控制器1 70。 周邊裝置180可包括(但不限於)相機、條碼讀取機 、影像掃描器、聲頻裝置、與感測器。通常,周邊裝置 180可包括任何類型之聲頻、視頻或影像擷取與顯示裝置 ,其中,數位顯示資料係在周邊裝置與處理單元之間做交 換。周邊裝置]80包括控制方塊190。例如,當周邊裝置 1 80是相機時,控制方塊190可包括(但不限於)鏡頭控 制、閃光或白色LED控制與快門控制。數位顯示資料可 包括代表聲頻、影像與多媒體資料之數位資料》 數位資料介面裝置1〇〇在一通訊鏈路105上以高速率 轉移數位顯示資料。在一示例中,一 MDDI通訊鏈路可以 被使用,其支援以每秒最大頻寬爲3.2Gbit s之雙向資料轉 移。高於或低於本示例速率之其他高速率的資料轉移能夠 被支援,視通訊鏈路而定。數位資料介面裝置100包含一 訊息解譯器模組1 〇〇、一內容模組1 20、一控制模組I 30, 與一鏈接控制器140。 位在數位資料介面100內之鏈接控制器14〇,以及位 在數位裝置150內之鏈接控制器170建立通訊鏈路1〇5。 鏈接控制器140與鏈接控制器1 70可以是MDDI鏈接控制 器。 視頻電子標準協會(“VESA”)MDDI標準,其在此整 體被倂入當作參考資料,敘述高速數位封包介面之規定, 而高速數位封包介面讓可攜式裝置從小型可攜式裝置轉移 數位影像到較大型外部顯示器。MDDI將適合用來連結可 -10- (8) (8)1376114 攜式計算 '通訊與娛樂裝置的小型連接器系統與薄的可撓 纜線應用到例如可穿戴式微型顯示器的新興產品。MDDI 亦包括如何簡化主機處理器與顯示器間之連接的資訊,以 便降低成本及提高這些連接的可靠度。鏈接控制器140與 鏈接控制器170根據VESA MDDI標準來建立通訊路徑 105° 美國專利證號第6,760,772號,專利名稱是高速資料 信號傳輸之通訊協定及介面產生與實行(Generating and Implementing a Communication Protocol and Interface for High Data Rate Signal Transfer),發給發明人.Zou 等人 ,於2004年七月六日(“ 772專利”),該專利敘述一種資 料介面,其使用被鏈結在一起而形成通訊協定以供顯示資 料而在通訊路徑上轉移數位資料於主機與客戶之間。在 “772專利”中所教導之發明的實施例係有關MDDI介面》 信號協定被鏈接控制器所使用,例如鏈接控制器1 40與 170,其被組構來產生、傳送,與接收形成通訊協定之封 包,並將數位資料形成一或多個類型的資料封包,且至少 一鏈接控制器存在於主機裝置中,並且透過通訊路徑(例 如,通訊路徑I 05 )而被耦接至客戶。 該介面在短距“串列”型資料鏈路上提供一種具備成本 效益' 低耗電、雙向,與高速之資料轉移機制,其適用於 以小型連接器與薄的可撓纜線之實施》鏈接控制器140與 170的實施例根據“ 772專利”的教旨來建立通訊路徑1〇5。 “ 7 72專利”在此整體被倂入當作參考資料。 (9) 1376114 ' 在其他的實施例中,鏈接控制器1 40與1 70兩者可以 ' 是USB鏈接控制器或者它們兩者可包括控制器(舉例來 說’例如,MDDI鏈接控制器)與另一類型之鍵接控制器 ' (舉例來說,例如,USB鏈接控制器)的組合》替換地, 鏈接控制器1 4 0與1 7 0可包括控制器(例如,M D DI鏈接 控制器)與用來在數位資料介面100與數位裝置150之間 交換認可訊息之單一鏈接的組合。除此之外,鏈接控制器 φ 〗40與170可支援其他類型之介面,例如乙太網路或RS-232串列埠介面。其他的介面也可以被支援,如同熟習相 關技藝者根據在此之教旨而將知悉者。 在數位資料介面裝置1 00內,訊息解譯器模組1 1 0經 由通訊鏈105而接收到來自系統控制器160的命令並產生 回應訊息到系統控制器1 60、解譯該命令訊息,以及編排 該等命令之資訊內容到數位資料介面裝置內之適當模組的 路由。 φ 內容模組120透過通訊鏈路105而接收到來自周邊裝 置1 80的資料,儲存該資料並轉移該資料到系統控制器 160° 控制模組1 3 0接收到來自訊息解譯器的資訊,並編排 資訊到周邊裝置1 8 0之控制方塊1 9 0的路由。控制模組 • 130亦可接收來自控制方塊190的資訊並編排該資訊到訊 息解譯器模組1 1 0的路由。 圖1爲一例舉使用MDDI介面之示例環境的方塊圖。 在圖1的示例中,MDDI被使用來跨過掀蓋式電話1〇〇的 -12- (10) (10)1376114 鉸鏈而互連模組。掀蓋式電話100的下掀蓋部分102包括 行動台數據機(MSM)基頻晶片104。MSM104爲一數位 基頻處理器。掀蓋式電話100的上掀蓋部分114包括一液 晶顯不器(LCD)模組與一相機模組介面118。 依舊參考圖l’MDDI鏈路連接相機模組介面H8至 MSM 104 »典型上’ MDDI鏈接控制器被整合至相機模組 介面118與MSM 104之各者中。在圖1的示例中,MDDI 主機控制器122被整合至相機模組介面1 18中,而同時 MDDI客戶控制器106存在於MDDI鏈路之MSM側上。典 型上’ MDDI主機是MDDI鏈路的主控制器。在圖1的示 例中,來自相機模組介面1 1 8的像素資料被接收到,並在 像素資料被傳送至MDDI鏈路上之前,藉由MDDI主機控 制器122而被格式化成MDDI封包。MDDI客戶控制器 接收到MDDI封包並將它們再轉換成與由相機模組 I 1 8所產生之相同格式的像素資料。像素資料接著被送至 MSM 104的適當方塊中以供處理。 MDDI鏈路112連接LCD模組116至MSM 104。在圖 1的示例中,MDDI鏈路112互連被整合至MSm 104中之 MDDI主機控制器108和被整合至LCD模組116中之 MDDI客戶控制器120。在圖1的示例中,由MSM 104之 圖形控制器所產生的影像資料被MDDI主機控制器108接 收到,並在其被傳送至MDDI鏈路112上之前被格式化成 MDDI封包。MDDI客戶控制器120接收到MDDI封包並 將它們再轉換成影像資料,以供L C D模組1 1 6所使用。 -13- (11) (11)1376114 典型上,在被使用來更新LCD顯示器之前,影像資料係 使用框緩衝器來予以緩衝。 MSM到相機模組介面的通訊 圖2爲一依據圖1之示例來例舉MDDI鏈路互連200 的方塊圖。MDDI鏈路互連200包括被整合至基頻MSM處 理器中之MDDI客戶106,以及被整合至相機模組介面 118中之MDDI主機122,而MDDI客戶106和MDDI主 機122係透過MDDI鏈路110而相連。 相機模組2 係藉由一或多個介面而被連接至相機模 組介面1 1 8。因此,相機模組介面1 1 8提供基頻M S Μ處 理器與相機模組之間的介面。舉例來說,相機模組介面 118可以是由Qualcomm公司所開發出來的Pathfinder相 機介面。 相機模組介面118除了 MDDI主機核心122之外,尙 包括相機訊息解譯器2 02、相機控制方塊2〇4,以及視頻 前端方塊206»如圖2所示,數個介面與資料匯流排連接 相機模組介面的各種方塊。 透過暫存器存取訊息介面210,相機訊息解譯器( CMI) 2 02接收來自MSM之嵌入於反向暫存器存取封包中 的資料與控制信號。CMI 202將所接收到之來自MSM的 訊號解碼,並且使用到MDDI主機I 22或相機控制方塊 2 04之組態介面2 1 2與2 1 4來執行相對應的命令(暫存器 讀與暫存器寫)。此外,透過暫存器存取訊息介面21〇, -14- (12) 1376114 CMI 2 02將認可(用於暫存器寫入命令)或登錄値( 器讀取命令)送回至MDDI主機核心122,而MDDI 核心將其中繼轉接至MSM。 相機控制方塊(CCB ) 204提供至相機暫存器之 以執行在CMI 202處所接收到的命令。CCB 204包含 子模組(未顯示於圖2中),而子模組包括控制暫存 塊、主控制連接埠方塊、鏡頭控制方塊、快門控制方 及閃光控制方塊。控制暫存器方塊含有用於鏡頭控制 、快門控制方塊,與閃光控制方塊的暫存器。主控制 埠方塊提供介於CMI 202與相機208之間的介面。鏡 制、快門控制,與閃光控制方塊用作爲相機模組的焦 快門與閃光控制器。相機模組介面之相機控制方塊將 圖3而做進一步描述於下。 視頻前端方塊(VFE ) 206透過並列介面216而 來自相機208之框,儲存該等框,而後透過框介面2 該等框轉移至MDDI主機核心122。 如上所述,透過MDDI鏈路來完成MSM處理器 機模組介面1】8之間的通訊。典型上,從MSM到相 組介面的命令在MDDI客戶106處被封裝於MDDI封 ,並且被解封裝於MDDI主機122處。舉例來說,從 到相機模組介面的命令包括MDDI主機組態命令、相 存器存取命令,以及相機控制命令。CMI 202根據在 標頭中之命令ID欄位來解碼從M SM所接收到的命令 令ID亦代表與該命令相關聯之暫存器方塊之暫存器 暫存 主機 存取 數個 器方 塊, 方塊 連接 頭控 距、 參照 接收 18將 與相 機模 包中 MSM 機暫 命令 。命 基址 -15- (13) 1376114-9 - (7) (7) 1376114 Set 1 50 includes a system controller 1 60 and a link controller 1 70. Peripheral device 180 can include, but is not limited to, a camera, a bar code reader, an image scanner, an audio device, and a sensor. In general, peripheral device 180 can include any type of audio, video or image capture and display device in which digital display data is exchanged between peripheral devices and processing units. Peripheral device 80 includes a control block 190. For example, when peripheral device 180 is a camera, control block 190 can include, but is not limited to, lens control, flash or white LED control and shutter control. The digital display data may include digital data representing audio, video and multimedia data. The digital data interface device 1 transfers data at a high rate on a communication link 105. In one example, an MDDI communication link can be used that supports bidirectional data transfer with a maximum bandwidth of 3.2 Gbits per second. Data transfer at other high rates above or below the rate of this example can be supported, depending on the communication link. The digital data interface device 100 includes a message interpreter module 1 , a content module 1 20 , a control module I 30 , and a link controller 140 . A link controller 14A located within the digital data interface 100, and a link controller 170 located within the digital device 150 establish a communication link 〇5. Link controller 140 and link controller 1 70 may be MDDI link controllers. The Video Electronics Standards Association ("VESA") MDDI standard, which is hereby incorporated as a reference, describes the requirements for high-speed digital packet interfaces, while the high-speed digital packet interface allows portable devices to transfer digital devices from small portable devices. Image to a larger external display. MDDI will be suitable for connecting -10- (8) (8) 1376114 portable computing 'communication and entertainment devices' small connector systems and thin flexible cables to emerging products such as wearable microdisplays. MDDI also includes information on how to simplify the connection between the host processor and the display to reduce costs and increase the reliability of these connections. The link controller 140 and the link controller 170 establish a communication path 105° according to the VESA MDDI standard. US Patent No. 6,760,772, the patent name is a high-speed data signal transmission protocol and interface generation and implementation (Generating and Implementing a Communication Protocol and Interface for High Data Rate Signal Transfer), issued to the inventor. Zou et al., July 6, 2004 ("772 Patent"), which describes a data interface whose use is linked together to form a communication protocol. For displaying data, the digital data is transferred between the host and the client on the communication path. Embodiments of the invention taught in the '772 patent are related to the MDDI interface signal protocol being used by a link controller, such as link controllers 140 and 170, which are organized to generate, transmit, and form a communication protocol with reception. The packet is formed into one or more types of data packets, and at least one link controller is present in the host device and coupled to the client via a communication path (eg, communication path I 05 ). The interface provides a cost-effective 'low-power, two-way, and high-speed data transfer mechanism for short-range "serial" data links that are suitable for implementation with small connectors and thin flexible cables. Embodiments of controllers 140 and 170 establish communication paths 1〇5 in accordance with the teachings of the '772 patent. The “7 72 Patent” is hereby incorporated as a reference in its entirety. (9) 1376114 'In other embodiments, both link controllers 140 and 1 70 may be USB link controllers or both may include a controller (eg, 'MDDI Link Controller') and Another type of keying controller ' (for example, a combination of USB link controllers) Alternatively, the link controllers 1 40 and 170 may include a controller (eg, an MD DI link controller) A combination of a single link for exchanging an endorsement message between the digital data interface 100 and the digital device 150. In addition, the link controllers φ 40 and 170 can support other types of interfaces, such as Ethernet or RS-232 serial port interface. Other interfaces may also be supported, as will be familiar to those skilled in the art in light of the teachings herein. In the digital data interface device 100, the message interpreter module 110 receives a command from the system controller 160 via the communication chain 105 and generates a response message to the system controller 160, interpreting the command message, and Route the information content of the commands to the appropriate modules in the digital data interface device. The φ content module 120 receives the data from the peripheral device 180 through the communication link 105, stores the data, and transfers the data to the system controller 160. The control module 130 receives the information from the message interpreter. And arrange the information to the routing of the control block 180 of the peripheral device 180. The control module 130 can also receive information from the control block 190 and schedule the information to the message interpreter module 110. FIG. 1 is a block diagram showing an example environment in which an MDDI interface is used. In the example of Figure 1, the MDDI is used to interconnect the modules across the -12-(10) (10) 1376114 hinge of the flip-phone 1〇〇. The lower cover portion 102 of the clamshell phone 100 includes a mobile station data unit (MSM) baseband chip 104. The MSM 104 is a digital baseband processor. The upper cover portion 114 of the clamshell phone 100 includes a liquid crystal display (LCD) module and a camera module interface 118. Still referring to Figure 1 'MDDI Link Connection Camera Module Interface H8 to MSM 104 » Typically MDDI Link Controller is integrated into each of Camera Module Interface 118 and MSM 104. In the example of FIG. 1, MDDI host controller 122 is integrated into camera module interface 18 while MDDI client controller 106 is present on the MSM side of the MDDI link. Typically, the MDDI host is the primary controller for the MDDI link. In the example of Figure 1, pixel data from camera module interface 1 18 is received and formatted into MDDI packets by MDDI host controller 122 before the pixel data is transferred to the MDDI link. The MDDI client controller receives the MDDI packets and reconverts them into pixel data in the same format as that produced by camera module I 18 . The pixel data is then sent to the appropriate block of MSM 104 for processing. The MDDI link 112 connects the LCD module 116 to the MSM 104. In the example of FIG. 1, the MDDI link 112 interconnect is integrated into the MDDI host controller 108 in the MSm 104 and the MDDI client controller 120 integrated into the LCD module 116. In the example of Figure 1, the image material generated by the graphics controller of the MSM 104 is received by the MDDI host controller 108 and formatted into MDDI packets before it is transmitted onto the MDDI link 112. The MDDI client controller 120 receives the MDDI packets and converts them into image data for use by the L C D module 116. -13- (11) (11) 1376114 Typically, the image data is buffered using a frame buffer before being used to update the LCD display. MSM to Camera Module Interface Communication Figure 2 is a block diagram illustrating an MDDI link interconnect 200 in accordance with the example of Figure 1. The MDDI link interconnect 200 includes an MDDI client 106 that is integrated into the baseband MSM processor, and an MDDI host 122 that is integrated into the camera module interface 118, while the MDDI client 106 and the MDDI host 122 pass through the MDDI link 110. And connected. Camera module 2 is coupled to camera module interface 1 18 by one or more interfaces. Therefore, the camera module interface 1 18 provides an interface between the baseband M S Μ processor and the camera module. For example, the camera module interface 118 can be a Pathfinder camera interface developed by Qualcomm. In addition to the MDDI host core 122, the camera module interface 118 includes a camera message interpreter 02, a camera control block 2〇4, and a video front end block 206», as shown in FIG. 2, and several interfaces are connected to the data bus. Various blocks of the camera module interface. Through the scratchpad access message interface 210, the Camera Message Interpreter (CMI) 02 receives the data and control signals embedded in the reverse register access packet from the MSM. The CMI 202 decodes the received signal from the MSM and uses the configuration interface 2 1 2 and 2 1 4 of the MDDI host I 22 or camera control block 24 to execute the corresponding command (scratchpad read and hold) Write to the memory). In addition, through the scratchpad access message interface 21, -14- (12) 1376114 CMI 2 02 sends the acknowledgement (for the scratchpad write command) or the login (read command) back to the MDDI host core. 122, while the MDDI core forwards its trunk to the MSM. A camera control block (CCB) 204 is provided to the camera register to execute commands received at the CMI 202. The CCB 204 includes sub-modules (not shown in Figure 2), and the sub-modules include a control temporary block, a main control port, a lens control block, a shutter control unit, and a flash control block. The Control Register block contains a register for the lens control, shutter control block, and flash control block. The main control block provides an interface between the CMI 202 and the camera 208. The mirror, shutter control, and flash control block are used as the focal shutter and flash controller for the camera module. The camera control block of the camera module interface is further described in Figure 3. The video front end block (VFE) 206 is located in the frame of the camera 208 through the parallel interface 216, stores the frames, and then transfers the frames to the MDDI host core 122 through the frame interface 2. As described above, communication between the MSM processor module interface 1 8 is accomplished through the MDDI link. Typically, commands from the MSM to the group interface are encapsulated at the MDDI client 106 at the MDDI package and decapsulated at the MDDI host 122. For example, commands from the camera module interface include MDDI host configuration commands, memory access commands, and camera control commands. The CMI 202 decodes the command received from the M SM according to the Command ID field in the header, and the ID also represents the scratchpad temporary host access block of the scratchpad block associated with the command. The block connector head control, reference receiver 18 will be temporarily commanded with the MSM machine in the camera module. Base address -15- (13) 1376114

的値。下面的表1顯示由相機模組介面所接收到之MSM 命令類型的- -些命令類型: 命令ID 說明 0x00 mddi主機裝置組態命令 0x40 相機介面控制命令 0x60 鏡頭控制命令 0x80 I2C命令 0x90 快門控制命令 Ox A0 白色LED控制命令 OxBO 三線串列介面控制命令 OxCO PLL”控制命令 OxDO-OxFF 保留命令 表1Hey. Table 1 below shows the types of MSM commands received by the camera module interface - some command types: Command ID Description 0x00 mddi Host Device Configuration Command 0x40 Camera Interface Control Command 0x60 Lens Control Command 0x80 I2C Command 0x90 Shutter Control Command Ox A0 White LED Control Command OxBO Three-Wire Serial Interface Control Command OxCO PLL" Control Command OxDO-OxFF Reserved Command Table 1

典型上,MSM命令爲12位元組長,並且可以包括開 始於命令中所指定之暫存器位址之多達7個位元組之即將 被寫入的暫存器値。下面的表2與表3顯示快門與閃光控 制命令的內容。如表2所示,例如,快門控制命令包括用 來打開/關閉快門、用來控制快門之速度,或用來控制快 門操作之時序的位元組。同樣地,圖3所示之閃光控制命 令包括,例如,用來控制閃光之強度、閃光之持續時間, 或閃光之脈波數的位元組。 一般而言,由MSM處理器所發送的命令並不需要同 步β但是,某些命令在相機處需要精準的同步執行,如同 •16- (14) 1376114 將更進一步描述於下。 名稱 位元的數目 說明 位元組〇 TID 8 由MSM所指定之事務處理ID 位元組1 計數 8 在此訊息中之位元組的總數 位元組2 命令ID 8 機械式快門命令ID 位元組3 讀/寫/狀態位元組 8 位元0-讀/寫,0寫,1讀 位元 1 -Ack Req ’ 0 no-req,1 req 位元2_ Ack狀態,0不通過/錯誤 ,1通過/成功 位元3-7-保留 位元組4 快門VSYNC計數 8 8位元値,在快門打開命令被執行 前之VSYNC的數目 位元組5 快門速度_高 8 快門速度,高位元組 位元組6 快門速度一低 8 快門速度,低位元組 位元組7 快門打開/關閉 1 〇-快門打開 1-快門關閉 位元組8-11 保留 8 表2-快門控制命令 -17- (15)1376114 名稱 位元的數目 說明 位元組〇 TID 8 由MSM所指定之事務處理ID 位元組] 計數 8 此訊息中之位元組的總數 位元組2 命令ID 8 白色LED控制命令ID 位元組3 讀/寫/狀態位元組 8 位元0-讀/寫:0寫,1讀 位元 1-Ack Req : 0 no-req,l req 位元2- Ack狀態:0不通過/錯誤,1通 過/成功 位元3-7-保留 白色LED強度 8 0x00: 20mA 0x01: 40mA 0x02: 60mA 0x03: 80mA 0x04: 100mA 0x09: 200mA OxOE: 300mA 0x13: 400mA 0x18: 500mA 0xl9-0xFF 保留 位元組4 紅_眼_降低_模式 -脈波 8 在完全放電脈波前之紅-眼-降低脈波的數目 。對完全放電脈波而言,此參數應該被設 定爲0x01。 位元組5 脈波時間期間 8 閃光/閃控脈波之HCLK單位的時間期間 位元組6 白光LED時間期 間 8 0x00··沒有改變;LED之狀態不改變。 0x01: LED亮持續1個框時間 OxFF: LED亮持續256個框時間 位元組7 紅_眼_降低脈波 間隔 8 紅_眼_降低脈波之間的間隔,HCLK單位 位元組8 白光UED亮 8 0x00:白光LED滅 0x01 =白光LED亮 0x02 =閃光/閃控完全放電 0x04 =閃光/閃控紅眼降低 位元組9-11 保留 8 表3-白色LED/閃光控制命令 -18- (16) (16)1376114 相機模組介面到相機模組之通訊 如上所述,相機模組介面用作爲MSM處理器與相機 模組之間的介面。相機模組介面之CIM 202構件解譯從 MSM所接收到之指令,並藉由寫/讀相機模組介面中之特 定的控制暫存器來執行這些命令。 圖3爲一強調相機模組介面Π 8與相機模組間之互連 的方塊圖。在圖3中,藉由一些其個別構件—鏡頭控制、 閃光控制,以及主控制連接埠方塊3 02、3 04及3 1 4來例 舉圖4的相機控制方塊2〇4。相機控制方塊204的其他構 件已被省略。 鏡頭控制方塊3 02用來控制相機之變焦、聚焦,以及 快門控制機制。例如,鏡頭控制方塊3 02提供一組致能信 號到外部馬達驅動器以移動鏡頭及打開/關閉快門。替換 地,一分開之快門控制方塊可以與一分開之快門控制驅動 器一起實施。鏡頭與快門控制方塊回應CCB 204之相對應 控制暫存器的値。下面的表4例舉和控制相機之快門相關 聯的鏡頭控制暫存器。典型上,機械式快門驅動器回應該 等暫存器的値。例如,如圖4所示,位於位置0x90之8 位元暫存器控制當快門打開命令被執行時之特定時間,位 於位置Ox 93之8位元暫存器控制快門是否應該被打開或 關閉。 閃光控制方塊304用來控制相機之白色LED/閃光。 如圖3所示,閃光控制方塊3 04與驅動器3 06相通訊以控 制LED或氙氣管(Xenon Tube ) 3 08。典型上,閃光控制 -19- (17) (17)1376114 方塊3 04提供一組致能訊號至驅動器306以控制閃光操作 。與快門控制方塊相類似地,閃光控制方塊回應相對對之 閃光控制暫存器的設定。下面的表5例舉與控制相機之閃 光相關聯的暫存器。例如,閃光控制暫存器包括載述在紅 眼降低閃光模式中之閃光電流強度、閃光持續時間,或脈 波之間的脈波間隔。Typically, the MSM command is 12-bit long and can include up to 7 bytes of the scratchpad address specified in the command to be written to the scratchpad. Tables 2 and 3 below show the contents of the shutter and flash control commands. As shown in Table 2, for example, the shutter control commands include a bit group for turning on/off the shutter, a speed for controlling the shutter, or a timing for controlling the timing of the shutter operation. Similarly, the flash control commands shown in Figure 3 include, for example, a byte used to control the intensity of the flash, the duration of the flash, or the number of pulses of the flash. In general, commands sent by the MSM processor do not require synchronization. However, some commands require precise synchronization at the camera, as described in • 16-(14) 1376114. Number of Name Bits Description Bytes 〇TID 8 Transaction ID specified by MSM Byte 1 Count 8 Total number of bytes in this message Byte 2 Command ID 8 Mechanical shutter command ID bit Group 3 read/write/status byte 8-bit 0-read/write, 0 write, 1 read bit 1 -Ack Req ' 0 no-req, 1 req bit 2_ Ack state, 0 no pass/error, 1 Pass/Success Bits 3-7-Reserved Bytes 4 Shutter VSYNC Count 8 8 Bytes, Number of VSYNCs before the Shutter Open Command is Executed 5 Shutter Speed _ High 8 Shutter Speed, High Bytes Byte 6 Shutter speed is low 8 Shutter speed, low byte byte 7 Shutter On/Off 1 〇 - Shutter open 1 - Shutter closed byte 8-11 Reserved 8 Table 2 - Shutter Control Command -17- ( 15) 1376114 Number of Name Bits Description Bytes 〇TID 8 Transaction ID Bytes Specified by MSM] Count 8 Total Number of Bytes in This Message Byte 2 Command ID 8 White LED Control Command ID Byte 3 Read/Write/Status Bytes 8-bit 0-read/write: 0 write, 1 read bit 1-Ack Req : 0 no-r Eq,l req Bit 2 - Ack state: 0 no pass/error, 1 pass/success bit 3-7-retain white LED intensity 8 0x00: 20mA 0x01: 40mA 0x02: 60mA 0x03: 80mA 0x04: 100mA 0x09: 200mA OxOE: 300mA 0x13: 400mA 0x18: 500mA 0xl9-0xFF Reserved byte 4 Red_eye_lower_mode-pulse 8 Red-eye-reduced pulse number before full discharge pulse. For fully discharged pulse waves, this parameter should be set to 0x01. Byte 5 Pulse time period 8 Flash/flash control pulse HCLK unit time period Byte 6 White LED time period 8 0x00·· No change; LED status does not change. 0x01: LED is on for 1 frame time. OxFF: LED is on for 256 frames. Time byte 7 Red_eye_Reducing pulse interval 8 Red_eye_Reducing the interval between pulse waves, HCLK unit byte 8 white light UED bright 8 0x00: white LED off 0x01 = white LED on 0x02 = flash / flash control fully discharged 0x04 = flash / flash red-eye reduction byte 9-11 Reserved 8 Table 3 - White LED / Flash Control Command -18- ( 16) (16) 1376114 Communication from camera module interface to camera module As mentioned above, the camera module interface is used as the interface between the MSM processor and the camera module. The CIM 202 component of the camera module interface interprets the instructions received from the MSM and executes these commands by writing/reading a specific control register in the camera module interface. Figure 3 is a block diagram highlighting the interconnection between the camera module interface Π 8 and the camera module. In Fig. 3, the camera control block 2〇4 of Fig. 4 is exemplified by some of its individual components - lens control, flash control, and main control connection blocks 3 02, 3 04 and 3 1 4 . Other components of camera control block 204 have been omitted. The lens control block 322 is used to control the zoom, focus, and shutter control mechanisms of the camera. For example, lens control block 302 provides a set of enable signals to an external motor driver to move the lens and open/close the shutter. Alternatively, a separate shutter control block can be implemented with a separate shutter control drive. The lens and shutter control block respond to the corresponding control of the CCB 204. Table 4 below illustrates the lens control register associated with controlling the shutter of the camera. Typically, a mechanical shutter drive should return to the buffer of the scratchpad. For example, as shown in Figure 4, the 8-bit scratchpad at position 0x90 controls the particular time when the shutter open command is executed, and the 8-bit register at position Ox 93 controls whether the shutter should be opened or closed. Flash control block 304 is used to control the white LED/flash of the camera. As shown in Figure 3, flash control block 304 communicates with driver 306 to control the LED or xenon tube 3 08. Typically, flash control -19-(17) (17) 1376114 block 3 04 provides a set of enable signals to driver 306 to control the flash operation. Similar to the shutter control block, the flash control block responds to the settings of the flash control register relative to it. Table 5 below illustrates a register associated with controlling the flash of the camera. For example, the flash control register includes a flash current intensity, a flash duration, or a pulse interval between pulses in the red-eye reduction flash mode.

鏡頭控制暫存器 說明 位元欄位 0x90 快門“等待”週期 8位元値,在快門打開命令被執行前之 VSYNC脈波的數目 0x91 快門速度-高位元組 8位元 0x92 快門速度-低位元組 8位元,】ms粒狀化 0x93 快門打開/關閉 〇=快門打開 1=快門關閉 表4-快門控制暫存器 -20 (18)1376114 白光LED控制暫存器 說明 位元欄位 OxAO 電流強度 8位元 00h=20mA 01h=40mA 14h=400mA 151>2?11=^留 OxAl 紅_眼_降低J莫式_脈波 8位元 在完全放電脈波前之紅_眼_降低 脈波的數目 對完全放電脈波而言,此參數應該 被認定爲0x0】 0xA2 脈波時間期間 8位元 閃光/ΡΘ控脈波之HCLK單位的時 間期間 0xA3 白色_LED_脈波_時間期間 8位元 完全放電脈波之視頻框單位的時 間期間 OOh-Ι 框 02h-FFh=到達256框之1框時間 的增量 0xA4 紅_眼_降低脈波間隔 8位元 紅_眼_降低脈波間之間隔,HCLK 單位 0xA5 LED亮/滅暫存器 8位元 〇〇h=白光LED滅 〇Πι=白光LED亮 02h=閃光/閃控-完全放電 〇4h=閃光/閃控-紅_眼_降低 表5 -閃光控制暫存器 -21 - (19) (19)1376114 主控制連接埠方塊3 1 0提供到相機20 8之暫存器的存 取。主控制連接埠方塊3 1 0將爲相機設計之控制資料轉換 成12 C協定(被大部分的CMOS與CCD相機模組所使用 )或_者被某些CCD感測器所使用之三線串列介面協定^ 典型上,主控制連接埠方塊310從相對應之I2C或三線控 制暫存器中讀取即將被送到相機的値。 注意,圖3亦說明一組從相機208送到相機介面方塊 206之SYNC信號312« SYNC信號312典型上係與相機處 的某些事件相關聯,並且可以被用做時序訊號,以使相機 模組介面1 1 8與相機模組208同步。 在MDDI上之指令的同步執行 如上所述,某些MSM命令在相機模組介面處需要精 準之同步執行。但是,由於經由MDDI鏈路的延遲無法被 精確地預估或預測,所以不能夠根據以讓它們在相機模組 處同步執行這樣的方式來排程在MSM處的命令以供精確 的同步。因此,命令同步需要被完成於相機模組處。於是 ,在相機模組處需要控制機構,以提供兩個或兩個以上之 相機命令的同步執行》 現在將提供在通訊鏈路上同步執行命令的方法與系統 。注意,在許多態樣中,當使用特定之 MDDI及/或 Pathfinder例子來介紹這些方法與系統的其中一些的同時 ,這些方法與系統可以被擴展到更一般的上下文,如同能 夠由習於此技藝者根據在此之教旨所了解的。因此’本發 -22- (20) (20)1376114 明的方法與系統並不侷限在同步命令於MDDI鏈路上,它 們亦不侷限於經由相機模組介面來控制相機之基頻處理器 的上下文。 圖4爲一例舉在通訊鏈路上同步執行命令之方法的流 程圖400。流程圖400從步驟410開始,該步驟包括在第 一模組處藉由第一處理器來產生複數個命令。例如,參考 圖1,可以藉由基頻MSM處理器104產生複數個相機控 制命令來完成步驟410。 步驟420包括透過通訊鏈路來將複數個命令從第一模 組傳送至第二模組。例如,參照圖1,可以透過 MDDI鏈 路1〗〇,藉由基頻MSM處理器104而將相機控制命令傳 送至相機模組介面118來完成步驟4 20。注意,以典型上 係彼此互相獨立的隨機時間來傳送命令。 步驟430包括在第二模組處接收命令,並且將該等命 令寫到與該等命令相關聯之暫存器。例如,參考圖2,藉 由相機模組介面1 1 8接收來自MSM 1 04之命令,並將該 等命令寫到相機模組之對應於所接收命令的特定控制暫存 器來完成步驟430。 步驟440包括藉由使第二模組處之命令的執行與第二 模組處的獨立事件相關聯來排程第二模組處之命令的執行 。例如,參考圖3 ’在相機模組介面1 1 8處之從MS Μ處 理器所接收到的命令被排程而即將被執行於當一特定事件 發生在該相機模組介面時。該事件與被排程以供執行之命 令的任何命令無關。舉例來說,如圖3所示,事件可以藉 -23- (21) (21)1376114 由從相機208所接收到之SYNC信號312的其中一個 SYNC信號來予以指示。因此,被排程以供執行之命令的 一或多個可以被延遲於第二模組處。 步驟450包括執行命令於當在第二模組處偵測到獨立 事件時。舉例來說,獨立事件可以經由觸發於獨立事件之 發生時的中斷來予以偵測。注意,複數個命令由於它們的 執行時間已經與相同的事件相關聯而同步地執行。因此, 複數個命令之精確的同步執行能夠被達成於通訊鏈路上。 注意,圖4中所敘述的方法一般可運用於任何需要在 通訊鏈路上多個命令之精確的同步執行之應用。明確.地說 -,該方法在MS Μ的上下文中可以被應用到相機模組介面 通訊,如同將做更進一步的描述於下者。舉例來說,該方 法可以被用來同步執行在相機模組介面處之由MSM所產 生的相機命令。這些命令可以包括與閃光同步相關之命令 ,舉例來說,例如閃光與快門命令。現在將提供說明將圖 4之方法特定應用於MSM與相機模組介面通訊之方法與 系統。僅爲了舉例說明,並且不應該被限定於此特定的例 子,將在閃光同步(快門與閃光同步)的上下文中介紹該 等方法與系統,如同能夠由習於此技藝者根據在此之教旨 所了解的。 相機模組介面包括允許圖4的方法能夠以非常彈性的 方式來予以實行之內建機'構與信號,這些機構與信號現在 將做更詳盡的描述。然後將提供使用這些機制與信號以達 成在相機模組介面中之多個命令之同步執行的方法。 - 24 ** (22) (22)1376114 —種可用機制包括EPOCH (相對於系統之紀元參考 時間)中斷,其能夠使用相機模組介面的相機介面方塊來 予以致能。EPOCH中斷可被排程來觸發由相機模組介面之 相機訊息解譯方塊所接收到的命令之執行。因此,EPOCH 中斷可和多個MSM命令相關聯以同時觸發這些命令的執 行。 此外,EPOCH中斷可以被編程而根據相機模組介面 內的特定信號來觸發M SM命令的執行。舉例來說,當在 從相機所接收到之SYNC信號上接收到特定値時,EPOCH 中斷可觸發MS Μ命令的執行。圖3所示之S.YNC信號可 以包括相機框緩衝器時序信號,例如線或框同步信號。線 同步信號,例如HSYNC,表示在框緩衝器中之資料線的 開始。框同步訊號,VSYNC,表示在框緩衝器中之新框的 開始。因此,在框緩衝器中,MSM命令可被設計而同步 執行於特定的時間。在閃光同步的例子中,這允許有框曝 光型感測器或者捲動式快門曝光型感測器兩者。換言之, 閃光同步可以在一或多個完整框,或者在僅框的一些線上 被完成。 MSM命令另外包括允許非常彈性之執行排程的內建 特性。舉例來說,某些M SM命令包括所想要之執行時間 的可編程欄位,其可以被編程而發生於在相機模組介面內 某些事件的發生後之特定的時間期間時。舉例來說,在表 2所示之快門控制命令包括一指明V S YN C脈波之數目的 可編程欄位(位元組4),而VSYNC脈波需要消逝在於 (23) 1376114 ^ 相機模組介面處接收到命令的時間與命令被執行的時間之 - 間。在其他的MSM命令中亦可發現類似的可編程欄位’ 以允許這些指令之非常彈性的排程。 因此,使用相機模組介面之內建機制與信號,可在相 • 機處排定多個MSM命令的時程來同步執行《圖5例舉一 敘述使用相機模組介面來同步執行多個MSM命令之方法 的流程圖。僅爲了舉例說明,圖5的方法被敘述於閃光同 φ 步的上下文中,但是不應該被侷限在該特定示例,如同對 習於此技藝者根據在此之教旨係明顯的》 流程圖5 0 0從步驟510開始,該步驟包括透過通訊鏈 路而將快門控制命令從處理器傳送至相機控制器。舉例來 說,參考圖2,可藉由MSM處理器在MDDI通訊鏈路110 上發送快門打開命令至相機模組介面1]8來完成步驟510 。快門打開命令包括針對需要在命令被執行之前經過的 V S YNC .脈波所指示之所想要的執行時間。 # 步驟520包括透過通訊鏈路而將閃光控制命令從處理 器傳送至相機控制器。舉例來說,參考圖2,可藉由MS Μ 處理器在MDDI鏈路1 10上發送白色LED命令至相機模組 介面118來完成步驟520。白色LED命令可包括有關快閃 持續時間與操作模式之資訊(火炬模式或閃光模式),如 圖3所示。根據操作模式’命令將爲許多框而被致能或者 將被更緊密地耦接至相機感測器。 步驟53〇包括使快門和閃光控制命令與第—和第二中 斷相關聯,其中’第一和第二中斷被同步於一共同的時序 -26- (24) (24)1376114 信號。舉例來說,參照圖3,由相機模組介面Π 8所接收 到之快門與閃光控制命令可以與相機介面方塊206處之 EPOCH中斷相關聯。當從SYNC信號312接收至!J特定脈波 時,舉例來說,譬如線同步HSYNC與/或框同步VSYNC 脈波,EPOCH中斷更可被進一步編程來致使快門與閃光控 制命令的執行。 步驟540包括當偵測到共同的時序信號時觸發第一與 第二中斷,藉以致使快門與閃光控制命令同步執行。舉例 來說,當在相機模組介面處接收到框(VSYNC )信號的開 始,可觸發與快門以及閃光控制命令相關聯之EPOCH中 斷,以致使快門與閃光命令同時地執行。 以較廣泛的層面來看,圖5的方法可以被用來同步由 MS Μ所產生之任意數目的相機控制命令與自相機所接收 到的信號。使用與上述的那些方法與系統實質上相似的方 法與系統,亦可達成依據特定的時序排程之命令的連續執 行。 圖6例舉閃光同步的一示例。更明確地說,圖6顯示 捲動式快門與白色LED/閃光之間的示例同步。在圖6的 示例中’希望閃光照明發生在當框之所有的線被整合時的 特定時間瞬間。這可以是,舉例來說,框曝光型感測器適 用的情況。在圖6左邊的縱軸顯示框之與粗體的括弧被整 合在一起的線,其顯示所想要的整合時間。在右邊,垂直 信號顯示框同步信號VSYNC,該同步信號指示框的開始 或結束。注,在捲動式快門曝光型感測器中,並非所有的Lens Control Register Description Bit Field 0x90 Shutter "Wait" period 8-bit 値, number of VSYNC pulses before the shutter open command is executed 0x91 Shutter speed - high byte 8-bit 0x92 shutter speed - low bit Group 8 bit,] ms grained 0x93 Shutter open/close 〇 = Shutter open 1 = Shutter closed Table 4 - Shutter control register -20 (18) 1376114 White LED control register Description Bit field OxAO Current Intensity 8-bit 00h=20mA 01h=40mA 14h=400mA 151>2?11=^Leave OxAl Red_Eye_Low J Mo-type_Pulse wave 8-bit red before the full discharge pulse wave_Eye_reduced pulse wave The number of fully discharged pulse waves, this parameter should be recognized as 0x0] 0xA2 pulse time period 8-bit flash / ΡΘ control pulse wave HCLK unit time period 0xA3 white _LED_ pulse wave _ time period 8 bits The time period of the video frame unit of the fully-discharge pulse wave OOh-Ι box 02h-FFh=increment of the frame time of the 256 frame is 0xA4 red_eye_reducing the pulse interval 8-bit red_eye_reducing the pulse wave Interval, HCLK unit 0xA5 LED on/off register 8 bits 〇〇h=white LED 〇Π = = white LED bright 02h = flash / flash control - full discharge 〇 4h = flash / flash control - red _ eye _ lower table 5 - flash control register - 21 - (19) (19) 1376114 main control The connection block 3 1 0 provides access to the scratchpad of the camera 20 8 . The main control connection block 3 1 0 converts the control data designed for the camera into a 12 C protocol (used by most CMOS and CCD camera modules) or a three-wire serial array used by some CCD sensors. Interface Protocol ^ Typically, the main control interface block 310 reads the sputum that is to be sent to the camera from the corresponding I2C or three-wire control register. Note that Figure 3 also illustrates a set of SYNC signals 312 « SYNC signals 312 from camera 208 to camera interface block 206 that are typically associated with certain events at the camera and can be used as timing signals to enable camera mode The group interface 1 18 is synchronized with the camera module 208. Synchronous execution of instructions on MDDI As mentioned above, some MSM commands require precise synchronization at the camera module interface. However, since the delays via the MDDI link cannot be accurately predicted or predicted, it is not possible to schedule commands at the MSM for accurate synchronization in such a way that they are executed synchronously at the camera module. Therefore, command synchronization needs to be done at the camera module. Thus, a control mechanism is required at the camera module to provide simultaneous execution of two or more camera commands. A method and system for simultaneously executing commands on a communication link will now be provided. Note that in many aspects, while using specific MDDI and/or Pathfinder examples to introduce some of these methods and systems, these methods and systems can be extended to more general contexts, as can be learned by this technique. According to the teachings here. Therefore, the method and system of the present invention are not limited to the synchronization command on the MDDI link, nor are they limited to the context of controlling the camera's baseband processor via the camera module interface. . 4 is a flow diagram 400 of an example of a method of synchronously executing a command over a communication link. Flowchart 400 begins at step 410 by generating a plurality of commands at the first module by the first processor. For example, referring to FIG. 1, step 410 can be accomplished by the baseband MSM processor 104 generating a plurality of camera control commands. Step 420 includes transmitting a plurality of commands from the first module to the second module over the communication link. For example, referring to FIG. 1, step 40 can be accomplished by transmitting a camera control command to the camera module interface 118 via the MDDI link 1 by the baseband MSM processor 104. Note that the commands are transmitted at random times that are typically independent of one another. Step 430 includes receiving commands at the second module and writing the commands to the registers associated with the commands. For example, referring to FIG. 2, step 430 is accomplished by the camera module interface 1 1 8 receiving commands from the MSM 104 and writing the commands to a particular control register of the camera module corresponding to the received command. Step 440 includes scheduling execution of the command at the second module by associating execution of the command at the second module with a separate event at the second module. For example, the command received from the MS processor at camera module interface 1 1 8 is scheduled to be executed when a particular event occurs at the camera module interface. This event is independent of any command that is scheduled for execution. For example, as shown in FIG. 3, an event may be indicated by one of the SYNC signals of SYNC signal 312 received from camera 208 by -23-(21)(21)1376114. Thus, one or more of the commands scheduled for execution can be delayed at the second module. Step 450 includes executing a command when an independent event is detected at the second module. For example, an independent event can be detected via an interrupt triggered when an independent event occurs. Note that a plurality of commands are executed synchronously because their execution time has been associated with the same event. Therefore, the precise simultaneous execution of a plurality of commands can be achieved on the communication link. Note that the method described in Figure 4 is generally applicable to any application requiring precise simultaneous execution of multiple commands over a communication link. Clearly speaking - this method can be applied to the camera module interface communication in the context of MS ,, as will be further described below. For example, the method can be used to synchronize the execution of camera commands generated by the MSM at the camera module interface. These commands may include commands related to flash synchronization, such as, for example, flash and shutter commands. A method and system for specifically applying the method of Figure 4 to the communication between the MSM and the camera module interface will now be provided. For purposes of illustration only, and should not be limited to this particular example, such methods and systems will be described in the context of flash sync (shutter and flash sync) as can be learned by those skilled in the art. Known. The camera module interface includes built-in mechanisms and signals that allow the method of Figure 4 to be implemented in a very flexible manner. These mechanisms and signals will now be described in more detail. A method of using these mechanisms and signals to achieve simultaneous execution of multiple commands in the camera module interface will then be provided. - 24 ** (22) (22) 1376114—Available mechanisms include EPOCH (episode reference time relative to the system) interrupts that can be enabled using the camera interface box of the camera module interface. The EPOCH interrupt can be scheduled to trigger the execution of commands received by the camera message interpretation block of the camera module interface. Thus, an EPOCH interrupt can be associated with multiple MSM commands to simultaneously trigger the execution of these commands. In addition, the EPOCH interrupt can be programmed to trigger the execution of the M SM command based on a particular signal within the camera module interface. For example, an EPOCH interrupt can trigger the execution of an MS 当 command when a particular chirp is received on the SYNC signal received from the camera. The S.YNC signal shown in Figure 3 can include a camera frame buffer timing signal, such as a line or frame sync signal. A line sync signal, such as HSYNC, indicates the beginning of the data line in the frame buffer. The frame sync signal, VSYNC, indicates the start of a new frame in the frame buffer. Therefore, in the frame buffer, the MSM commands can be designed to be synchronized for a specific time. In the example of flash sync, this allows both a framed exposure sensor or a scroll shutter type sensor. In other words, flash sync can be done in one or more complete boxes, or on some lines of only the box. The MSM command additionally includes built-in features that allow for very flexible execution scheduling. For example, some M SM commands include a programmable field of desired execution time that can be programmed to occur during a particular time period after the occurrence of certain events within the camera module interface. For example, the shutter control commands shown in Table 2 include a programmable field (byte 4) indicating the number of VS YN C pulses, and the VSYNC pulse needs to disappear (23) 1376114 ^ Camera Module The time between the time the command was received and the time the command was executed. Similar programmable fields can be found in other MSM commands to allow for very flexible scheduling of these instructions. Therefore, using the built-in mechanism and signal of the camera module interface, the time schedule of multiple MSM commands can be scheduled at the camera to execute synchronously. FIG. 5 illustrates the use of the camera module interface to simultaneously execute multiple MSMs. A flowchart of the method of the command. For purposes of illustration only, the method of FIG. 5 is described in the context of flash and φ steps, but should not be limited to this particular example, as is apparent to those skilled in the art in light of the teachings herein. 0 0 begins at step 510, which includes transmitting a shutter control command from the processor to the camera controller over the communication link. For example, referring to FIG. 2, step 510 can be completed by the MSM processor transmitting a shutter open command to the camera module interface 1] 8 on the MDDI communication link 110. The shutter open command includes the desired execution time as indicated by the V S YNC . pulse wave that needs to pass before the command is executed. #步520 includes transmitting a flash control command from the processor to the camera controller over the communication link. For example, referring to FIG. 2, step 520 can be accomplished by the MS 处理器 processor transmitting a white LED command to the camera module interface 118 on the MDDI link 110. The white LED command can include information about the flash duration and operating mode (flare mode or flash mode), as shown in Figure 3. Depending on the mode of operation, the command will be enabled for many frames or will be more closely coupled to the camera sensor. Step 53 includes associating the shutter and flash control commands with the first and second interrupts, wherein the 'first and second interrupts are synchronized to a common timing -26-(24) (24) 1376114 signal. For example, referring to FIG. 3, the shutter and flash control commands received by camera module interface 可以 8 can be associated with an EPOCH interrupt at camera interface block 206. When received from SYNC signal 312! For a particular pulse, for example, a line sync HSYNC and/or a frame sync VSYNC pulse, the EPOCH interrupt can be further programmed to cause the shutter and flash control commands to be executed. Step 540 includes triggering the first and second interrupts upon detecting a common timing signal, thereby causing the shutter to execute in synchronization with the flash control command. For example, when a frame (VSYNC) signal is received at the camera module interface, an EPOCH interrupt associated with the shutter and the flash control command can be triggered to cause the shutter to execute concurrently with the flash command. In a broader perspective, the method of Figure 5 can be used to synchronize any number of camera control commands generated by the MS and signals received from the camera. The sequential execution of commands in accordance with a particular timing schedule can also be achieved using methods and systems that are substantially similar to those described above. Figure 6 illustrates an example of flash synchronization. More specifically, Figure 6 shows an example synchronization between a scroll shutter and a white LED/flash. In the example of Figure 6, 'desired flash illumination occurs at a particular time instant when all of the lines of the frame are integrated. This can be, for example, a case where a frame exposure type sensor is applied. The vertical axis on the left side of Fig. 6 shows the line of the frame in bold with the brackets in bold, which shows the desired integration time. On the right, the vertical signal shows the frame sync signal VSYNC, which indicates the beginning or end of the frame. Note that not all in the scroll shutter type sensor

-27- (25) 1376114 框線需要被整合在使用閃光的瞬間。舉例來說,僅框的少 許線可以同時曝光,並且相機藉由讀出最被曝光的線、在 下一條未被曝光的線處開始曝光,與在下一條最被曝光的 線上重複該程序來建立一框。當各個完全被曝光的線被讀 出時,另一條線被加到該組已被整合的列中。 結論 在本發明的各種實施例已被詳述如上的同時,應該了 解它們係僅藉由舉例說明來予以提出,而不是限制。對習 於此技藝者而言,在形式與細節上的各種改變可以被做成 而並沒有違反本發明之精神與範疇係明顯的。因此,本發 明之廣度與範疇不應受限於任何上述的代表性實施例,而 是僅依據下面的申請專利範圍與同等物來予以界定。 【圖式簡單說明】 φ 伴隨之圖形,其在此倂入並構成說明書的一部份,例 舉本發明,並且連同該敘述一起用來更深入解釋本發明的 原理,並致使習於此技藝者能夠製造與使用本發明。 圖1係例舉使用行動顯示數位介面(M D D I )之示例 環境的方塊圖。 ' 圖1Α係一耦接至數位裝置與周邊裝置之數位資料裝 置介面的方塊圖。 圖2係依據圖1之使用相機模組介面的示例,例舉一 MDDI鏈路互連之方塊圖。-27- (25) 1376114 The frame line needs to be integrated at the moment of using the flash. For example, only a few lines of the frame can be exposed at the same time, and the camera establishes a program by reading the most exposed line, starting exposure at the next unexposed line, and repeating the program on the next most exposed line. frame. When each fully exposed line is read, another line is added to the set of columns that have been integrated. Conclusion While the various embodiments of the present invention have been described in the foregoing, it should be understood that Various changes in form and detail may be made by those skilled in the art without departing from the spirit and scope of the invention. Therefore, the breadth and scope of the present invention should not be construed as being limited to any of the above-described representative embodiments. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are incorporated in and constitute a part of the specification, are intended to provide a further explanation of the principles of the invention and The invention can be made and used. Figure 1 illustrates a block diagram of an example environment using an action display digital interface (M D D I ). Figure 1 is a block diagram of a digital data device interface coupled to a digital device and peripheral devices. 2 is a block diagram of an MDDI link interconnection according to an example of using the camera module interface of FIG. 1.

-28- (26) 1376114 — 圖3係例舉相機模組介面與相機模組間之互連的方塊 , 圖。 圖4係例舉在一通訊鏈路上同步執行命令之方法的流 程圖。 ' 圖5係例舉在透過一通訊鏈路來予以控制的相機中, 實施快門與閃光命令之同步執行之方法的流程圖。 圖6例舉閃光同步之示例。 φ 本發明將參照伴隨之圖形來做敘述。元件第一次出現 於其中的圖形典型上係以相對應之參考數字中之最左邊的 數位來予以表.示。 【主要元件符號說明】 100:數位資料裝置介面 102 :下掀蓋部分 1 04 :行動台數據機(MSM)基頻晶片 • 106 : MDDI(行動顯示數位介面)客戶控制器 108 : MDDI主機控制器 1 1 0 :訊息解譯模組 1 1 2 : MDDI 鏈路 1 14 :上掀蓋部分 1 16 :液晶顯示器(LCD)模組 I 1 8 :相機模組介面 1 2 0 :內容模組 122 : MDDI主機控制器 -29- (27) 1376114 — 1 3 Ο :控制模組 ' 1 4 Ο :鏈接控制器 1 5 0 :數位裝置 ]6 0 :系統控制器 • 1 7 0 :鏈接控制器 180 :周邊裝置 1 9 0 :控制方塊 φ 200 : MDDI鏈路互連 202 :相機訊息解譯器 2 04 :相機控制方塊 206:影像前端方塊 208 :相機模組 210:暫存器存取訊息介面 2 I 2 :組態介面 2 1 4 :組態介面 φ 2 1 6 :並列介面 2 1 8 :框介面 3 0 2 :主控制連接埠方塊(鏡頭控制方塊) 3 0 4 :主控制連接埠方塊(閃光控制方塊) 3 0 6 :驅動器 ' 3 0 8:發光二極體或氙氣管 3 1 0 :主控制連接埠方塊 3 1 2 : SYNC 信號 -30--28- (26) 1376114 — Figure 3 is a block diagram showing the interconnection between the camera module interface and the camera module. Fig. 4 is a flow chart showing a method of synchronously executing a command on a communication link. Figure 5 is a flow chart showing a method of performing simultaneous execution of a shutter and a flash command in a camera controlled by a communication link. Figure 6 illustrates an example of flash synchronization. φ The present invention will be described with reference to the accompanying figures. The figure in which the component first appears is shown by the leftmost digit of the corresponding reference numeral. [Main component symbol description] 100: Digital data device interface 102: Lower cover part 104: Mobile station data machine (MSM) baseband chip • 106: MDDI (Mobile Display Digital Interface) client controller 108: MDDI host controller 1 1 0 : message interpretation module 1 1 2 : MDDI link 1 14 : upper cover part 1 16 : liquid crystal display (LCD) module I 1 8 : camera module interface 1 2 0 : content module 122 : MDDI Host Controller -29- (27) 1376114 — 1 3 Ο : Control Module ' 1 4 Ο : Link Controller 1 5 0 : Digital Device 6 0 : System Controller • 1 7 0 : Link Controller 180 : Peripheral device 1 90: Control block φ 200: MDDI link interconnect 202: Camera message interpreter 2 04: Camera control block 206: Image front end block 208: Camera module 210: Scratch access message interface 2 I 2: Configuration interface 2 1 4 : Configuration interface φ 2 1 6 : Parallel interface 2 1 8 : Frame interface 3 0 2 : Main control connection 埠 block (lens control block) 3 0 4 : Main control connection 埠 block (flash Control block) 3 0 6 : Drive ' 3 0 8: Light-emitting diode or xenon tube 3 1 0 : Main control connection 埠 3 3 2 2 : SY NC signal -30-

Claims (1)

1376114 第094141291號專别申請案 中文t請專利範圍替換本(1〇1年2月) 十、申請專利範圍 1. 一種用以同步執行由一第一模組所產生且被執行 於一第二模組處之複數個命令的方法,其中,該第一模組 與第二模組經由一通訊鏈路而通訊,該方法包含: (a) 在該第一模組處由一第一處理器產生複數個命令 » (b) 透過該通訊鏈路而將該複數個命令從該第一模組 傳送到該第二模組; (c) 在該第二模組接收該等命令,並且寫入至與該等 命令相關之暫存器: (d) 在該第二模組處藉由使該等命令的執行與一獨立 事件相關聯,以排程該第二d組處之該等命令的執行:及 (e) 當該獨立事件被偵測到時,執行該等命令。 2. 如申請專利範圍第1項之方法,其中,該通訊鏈 路代表一行動顯示數位介面(MDDI)鏈路。 3. 如申請專利範圍第2項之方法,其中,該第一模 組代表一基頻處理器以及該第二模組代表一相機模組介面 〇 4. 如申請專利範圍第1項之方法,其中,該等命令 係在彼此互相獨立的隨機時間而經由該通訊鏈路被傳送。 5·如申請專利範圍第1項之方法,其中,該等命令 的一或多個命令在執行前被延遲於該第二模組處。 6·如申請專利範圍第1項之方法,其中,步驟(d) 包含使該等命令的執行與指示該獨立事件之發生的一中斷 123443-1010220.doc 1376114 far年 &gt;月&gt;^修正替換頁 相關聯。 7·如申請專利範圍第6項之方法,其中,該等命令 包含控制一相機之一快門控制命令與一閃光控制命令, 8. 如申請專利範圍第7項之方法,其中,該快門與 該閃光控制命令執行於相對於與該相機有關之一時序信號 的時間。 9. 如申請專利範圍第8項之方法,其中,該時序信 號代表與該相機有關之一框緩衝器的一框同步信號。 10. 如申請專利範圍第8項之方法,其中,該時序信 號代表與該相機有關之一框緩衝器的一線同步信號。 11. 一種用以實施一相機中之快門與閃光命令之同步 執行的方法,其中,該相機係透過一通訊鏈路而藉由一處 理器來予以控制,該方法包含: (a) 透過該通訊鏈路而將快門控制命令從該處理器傳 送至與該相機相關聯之一相機控制器; (b) 透過該通訊鏈路而將閃光控制命令從該處理器傳 送至該相機控制器; (c) 使該快門與閃光控制命令在該相機控制器處與該 第一及第二中斷相關聯,其中,使該第一與第二中斷在該 相機控制器處同步於一共同時序信號;以及 (d) 觸發該第一與第二中斷於當偵測到該共同時序信 號之時,藉以致使該快門與閃光控制命令同步執行。 12. 如申請專利範圍第11項之方法,其中,該通訊 鏈路代表一行動顯示數位介面(MDDI )鏈路。 I23443-I010220.doc 1376114 甸年&gt; 妗正替換頁 - I3·如申請專利範圍第Η項之方法,其中,該處理 器代表一行動台數據機(MSM)基頻處理器,並且該相機 控制器代表一Pathfir^尽:彳I _控制器。 • 1 4 ·如申請專利範·圍第.11項之方法,其中,該快門 與閃光控制命令係經由該通訊鏈路而被傳送於不同的時間 ’且其中,該等時間係彼此互相獨立的。 1 5,如申請專利範圍第Π項之方法,其中,該快門 控制命令代表一快門打開命令,並且該閃光控制命令代表 —閃光照明命令。 1 6·如申請專利範圍第15項之方法,其中,該快門 打開與閃光照明命令相對於該時序信號而同步執行。 17. 如申請專利範圍第15項之方法,其中,該時序 信號代表與該相機相關聯之—框緩衝器的一框同步信號。 18. 如申請專利範圍第15項之方法,其中,該時序 信號代表示與該相機相關聯之一框緩衝器的一線同步信號 〇 19. 如申請專利範圍第17項之方法,其中,該快門 打開與閃光照明命令相對於該框緩衝器的該框同步信號來 執行,以致能相機感測器之完整框曝光。 &quot; 20.如申請專利範圍第1 8項之方法,其中,該快門 • 打開與閃光照明命令相對於該框緩衝器的該線同步信號來 執行,以致能相機感測器之捲動快門曝光。 123443-1010220.doc1376114 No. 094141291 Special Application Form Chinese t Please replace the patent scope (February 1st, 2011) X. Patent application scope 1. A method for synchronous execution is generated by a first module and executed in a second The method of the plurality of commands at the module, wherein the first module and the second module communicate via a communication link, the method comprising: (a) at the first module by a first processor Generating a plurality of commands » (b) transmitting the plurality of commands from the first module to the second module over the communication link; (c) receiving the commands in the second module, and writing To a register associated with the commands: (d) at the second module by associating execution of the commands with an independent event to schedule the commands at the second group d Execution: and (e) execute the commands when the independent event is detected. 2. The method of claim 1, wherein the communication link represents an action display digital interface (MDDI) link. 3. The method of claim 2, wherein the first module represents a baseband processor and the second module represents a camera module interface. 4. The method of claim 1 is as follows. Wherein the commands are transmitted via the communication link at random times independent of each other. 5. The method of claim 1, wherein the one or more commands of the commands are delayed at the second module prior to execution. 6. The method of claim 1, wherein step (d) comprises causing execution of the commands and an interruption indicating the occurrence of the independent event 123443-1010220.doc 1376114 far year &gt;month&gt; The replacement page is associated. 7. The method of claim 6, wherein the command comprises controlling a shutter control command of a camera and a flash control command, 8. The method of claim 7, wherein the shutter and the The flash control command is executed at a time relative to a timing signal associated with the camera. 9. The method of claim 8, wherein the timing signal represents a frame synchronization signal of a frame buffer associated with the camera. 10. The method of claim 8, wherein the timing signal represents a line sync signal associated with the frame buffer of the camera. 11. A method for performing simultaneous execution of a shutter and a flash command in a camera, wherein the camera is controlled by a processor via a communication link, the method comprising: (a) transmitting the communication Linking a shutter control command from the processor to a camera controller associated with the camera; (b) transmitting a flash control command from the processor to the camera controller via the communication link; Causing the shutter and flash control command at the camera controller with the first and second interrupts, wherein the first and second interrupts are synchronized at the camera controller to a common timing signal; and d) triggering the first and second interrupts when the common timing signal is detected, thereby causing the shutter to be executed in synchronization with the flash control command. 12. The method of claim 11, wherein the communication link represents a Mobile Display Digital Interface (MDDI) link. I23443-I010220.doc 1376114 代年&gt; 替换正换页- I3. The method of claim </ RTI> wherein the processor represents a mobile station data processor (MSM) baseband processor and the camera controls The device represents a Pathfir^: 彳I _ controller. 1. The method of claim 11, wherein the shutter and flash control commands are transmitted at different times via the communication link and wherein the times are independent of each other . The method of claim 2, wherein the shutter control command represents a shutter open command and the flash control command represents a flash illumination command. The method of claim 15, wherein the shutter opening and the flash illumination command are performed synchronously with respect to the timing signal. 17. The method of claim 15, wherein the timing signal represents a frame sync signal of a frame buffer associated with the camera. 18. The method of claim 15, wherein the timing signal generation represents a line sync signal of a frame buffer associated with the camera. The method of claim 17, wherein the shutter The box sync signal with the flash illumination command relative to the frame buffer is turned on to enable full frame exposure of the camera sensor. &quot; 20. The method of claim 18, wherein the shutter is opened and the flash illumination command is performed with respect to the line sync signal of the frame buffer to enable scrolling shutter exposure of the camera sensor . 123443-1010220.doc
TW94141291A 2004-11-24 2005-11-24 Methods and systems for synchronous execution of commands across a communication link TWI376114B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
US63085304P 2004-11-24 2004-11-24
US11/285,400 US20060161691A1 (en) 2004-11-24 2005-11-23 Methods and systems for synchronous execution of commands across a communication link

Publications (2)

Publication Number Publication Date
TW200637224A TW200637224A (en) 2006-10-16
TWI376114B true TWI376114B (en) 2012-11-01

Family

ID=48087801

Family Applications (1)

Application Number Title Priority Date Filing Date
TW94141291A TWI376114B (en) 2004-11-24 2005-11-24 Methods and systems for synchronous execution of commands across a communication link

Country Status (1)

Country Link
TW (1) TWI376114B (en)

Also Published As

Publication number Publication date
TW200637224A (en) 2006-10-16

Similar Documents

Publication Publication Date Title
CA2588702C (en) Methods and systems for synchronous execution of commands across a communication link
US20060161691A1 (en) Methods and systems for synchronous execution of commands across a communication link
KR100930270B1 (en) Digital data interface device A computer-readable medium having stored therein message data having a message format and a digital data interface device thereof.
US8692838B2 (en) Methods and systems for updating a buffer
US8539119B2 (en) Methods and apparatus for exchanging messages having a digital data interface device message format
US8873584B2 (en) Digital data interface device
TWI376114B (en) Methods and systems for synchronous execution of commands across a communication link
TWI389511B (en) Methods and systems for updating a buffer
TWI470964B (en) Digital data interface device
AU2005309522B2 (en) Digital data interface device message format

Legal Events

Date Code Title Description
MM4A Annulment or lapse of patent due to non-payment of fees