I259965 九、發明說明: 【發明所屬之技術領域】 本發明為一種車用電腦資訊裝置之應用管理方法,特 別是指藉一管理程式管理車用電腦資訊裝置中來往之^ μ,針對不同的資源之切換做適當管理,以符合車用雷腦 資訊裴置之系統整合。 一自 【先前技術】 在車用電腦資訊裝置’如音響系統、防盜系統、診斷 系統、空調系統、導航系統、行動通訊系統與各式行車輔 助安全的系統,如第一圖所示之中華民國專利TW593〇22 號,其因應資訊發達的應用,發展出整合行車所需資訊的 車用電腦人機操控的設備,整合如電話、導航、^二體、' 網際網路等相關應用程式,如圖式之電腦系統i整合^用 電子裝置2,車用電子裝置2包括有影音裝置2〇1、防次狀 置202、導航裝置203、車況診斷裝置204與倒車辅助壯 2〇5等,藉裝設於此電腦系統1之外殼丨丨上的操控面^^14 對此整合系統作控制,其中各功能之結果,如導航地囝、 衫曰内谷荨皆可頒示於顯示器13上,配合其中如按题之角巧 控螢幕、整合式的功能選單,依其中程式執行動作二 性化操控的目的。 又如美國公開案US2004/0143372號所揭露的車用兩 腦功能選單的運作,因為車用電腦所要掌控的裴置與功倉: 不少,故有必要藉顯示裝置顯示主選項,與各主選項 複數子選項,讓使用者可方便以階層式選單中切換夂種不 1259965 同的功能。 除了習知技術所述之車用電腦裝置提供一整合性的環 境外,並且亦揭,個需要使用按鍵切換功能的人性化# 制介面,車用電腦資訊裝置與各式功能的應用程式則因^ 工(Multltask)的執行,不同的需要,勢必需要一套管理 =程式的機制,如在執行導航程式時,車内電話程式有 =的狀況,或是在車上享受多制影音時,導航程式面 父又路口時,需要報播語音的情形。 及作應車用電腦資訊裝置的應用程式、操作型態 通的貝源的管控的特性,提供一種管理應用程式溝 難度二^習知整合各車用週邊可能遭遇的問題或困 的川貝序^^^同蝻間的優先權,以決定其產生功能 的不必要摔t 更體資源,及替代一般鍵盤或按鍵 間化車用電腦資訊裝置的操作程序。 【發明内容】 用電腦資訊=貧訊裝置之應用管理方法,係因應車 營控的特性,、提供f用程式、操作型態及作業系統資源的 用之功能模組與輪乍嶋^ 的優先權,決^复。又備的機旎,藉没定各種不同功能間 源、,藉以替代功能的順序,以達到切換軟硬體資 嗎資訊裝置的操或按鍵的不必要操作,簡化車用電 該應用管理方法 資訊裝置中$ &去之一貫施例之步驟包括啟動車用電腦 置中之—作業系統,再載入管理程式至作業系、= 1259965 中二亚接著定義複數個應用程式之資源使 ::理程式進如待命狀態時,隨時檢測是“二、所 之該岸用心判斷是否為接收請求資源 權,再觸該應用程式資源使用之優先 切換優先權,接著釋放糾資源之應用程式, 刀^求_之應用程式以及執行該應用程式之功能。 你I而另一貫施例之步驟如啟動車用電腦資訊裝置中之-:、糸統,之後載人管理料錢用程紅選項,再進 自清一是,#訊息賴,制息包括有—執行躺程式訊 求音訊資源的訊息、—釋放佔用音訊資源的訊息、 明求視訊貧源的訊息、—釋放佔用視訊f源的訊息等, 再判斷(1)是否為執行應用程式接收之訊息,若為是,則執 =應用私式:⑵判斷是否為請求音訊切換之訊息,若為請 ’、切換音訊資源的訊息,則經過請求資源之應用程式與佔 用,源之應用程式間優先權順序之比較後進行釋放佔用音 ^資源之應則 ’⑶判斷是否為釋放音訊資源之訊息, 右為釋放音訊育源之訊息,則於釋放完畢後,管理程式則 告知請求資源者可取得資源;⑷判斷是否為請求視訊切換 之讯息,若為请求切換視訊資源的訊息,則經過請求資源 之應用紅式與佔用資源之應用程式間優先權順序之比較後 進行釋放佔用視訊資源之應用程式,以及(5)判斷是否為釋 放視訊育源之訊息,若為釋放視訊資源之訊息,則於釋放 完畢後,管理程式則告知請求資源者可取得資源。 【實施方式】 1259965 本發明因應車用電腦資訊裝置的應用程式、操作型態 及作業系統資源的管控的特性,提供一種管理應用程式溝 通作業系統、各功能模組與輸出設備的機能,藉設定各種 不同功能間的優先權,決定其產生功能的順序,以達到切 換軟硬體資源,及替代一般鍵盤或按鍵的不必要操作,簡 化車用電腦資訊裝置的操作程序。 為了使貴審查委員能更進一步瞭解本發明為達成 既定目的所採取之技術、方法及功效,請參閱以下有關本 發明之詳細說明與附圖,相信本發明之目的、特徵與特點, 當可由此得一深入且具體之瞭解,然而所附圖式僅提供參 考與說明用,並非用來對本發明加以限制者。 第二圖為本發明管理程式與車用應用程式關係圖,其 中管理程式20為介於車用應用程式25與其車用電腦資訊 系統間的管理介面,藉以管理車用電腦資訊裝置之影音輸 出(如視訊單元21與音訊單元22)與其應用程式25間的 優先權順序。如乘客或司機在行車途中觀賞影片時,若發 生偶發之車況問題,該影片播放程式即自動由其影音輸出 設備中釋放,並由車況診斷程式藉管理程式20取得其影音 裝置控制權,將警告聲響於音訊單元22播放,或將車況顯 示於視訊單元21。 車用應用程式25與管理程式20間的訊息傳達如第二 圖所示,其中訊息201、202、203、204為應用程式25對 管理程式20作資源要求之請求(request)與回覆(answer) 訊息,如要求視訊或音訊播放的訊息與其回覆訊息;而訊 息205、206、207、208為應用程式25與管理程式20間作 1259965 貢源釋放之請求與回覆訊息。其中訊息傳遞使用方法包括 内部程序溝通、註冊檔溝通、共用記憶體讀寫等方法。 其中之來往訊息如下較佳實施例所述: 訊息201為應用程式25中之某一程式(如導航程式、 影音程式等)向管理程式2〇要求視訊單元21之資源的訊 息,方向為一般應用程式25送至管理程式20 ; 訊息202為當訊息201請求資源時之回覆訊息,如管 理釭式20對應用程式25發送視訊允許/不允許取得的訊 息’方向為管理程式20送至應用程式25 ; 訊息203則為經管理程式2〇對音訊單元22請求資源 的A息,方向為應用程式2 5送至管理程式2 〇 ·, 訊息204為訊息203請求訊息之回覆訊息,為音訊允 許或不允許取得的訊息,方向為管理程式2〇送至應用程 25 ; 訊息205為視訊單元21經管理程式2〇釋放資源之請 求訊息,由應用程式25接收,方向為管理程式2〇送至應 用程式25 ; 釩息206為訊息205之回覆訊息,當視訊資源釋放完 畢後,應用程式25對管理程式20發送訊息2〇6,方向為 應用程式25送至管理程式2〇 ; 訊息207為音訊單元22經管理程式2〇釋放其資源之 請求訊息,方向為管理程式2〇送至應用程式25 ;以及 Α息208則為音訊資源釋放完畢後,應用程式25對管 理程式20發送之回覆訊息,方向為應用程式25送至管理 程式20。 1259965 第二圖所示為本發明 裝置3〇架構圖,該裝置3。=:她例之車用電腦資訊 中之電腦作業系統安裝有介於各車用穿置,其 業糸統間的管理程式20,管理 面:私式與作 複數個裝置,如圖示之景彡立F w上20 面早兀24耦接 „ t 〇〇〇 , 之办曰衣置301、導航裝置302、防次 衣置303、車況診斷裝置3〇4與行車輔助 方: 理程式20更笋蠣翻蒂;9Q * μ 直川b寺。官 22,,_單3 Ht 接視訊單元21與音訊單元 L早凡23可為其電腦系統中的對於其週邊的驅動程 當其中之—裝置啟動而經介面 時’其中所對應的應心:。 ;理程:'2〇管===,_的訊息給 庠之俱m ^式2G接收此請求訊息即依其優先順 1 ρΐί來取得視訊單元21或音訊單元22等資源,若 :源::皮:用,則管理程式2〇送訊息至佔有資源的應用程 ^,口 σ,、需釋放之前使用視訊單元21或音訊 資源。 卞以寻 之後,佔有資源的應用程式及傳送訊息告知管理程式 20已釋放该貧源,最後,管理程< 2〇㈤送訊息給請求資 源的應用程式,告知已允可資源取得。 、 第四圖則顯示本發明使用管理程式之管理方法步驟流 程,啟動電源後(步驟讓),接著啟動作業系統(步驟 S403) ’亚載入本發明中設置於作業系統與各裝置之應用 程式間=管理程式(步驟S405)。開機後,此系統可以先 執行預疋執行之應用程式,或是預設沒有任何預定執行的 10 1259965 耘式(步驟S407)。並且,若有應用程式 士 ^ 理程式則進入作業系統的排程序列中執行。叫,該管 該管理程式接著定義資源使用優先權 資源可為車用電腦資訊裝置所提供的功能指 仃車導航、車㈣盜、車況診斷與行車Ί矛力 音服務時,若行車導航有任何判斷,二=I259965 IX. Description of the Invention: [Technical Field] The present invention relates to an application management method for a computer information device for a vehicle, and in particular to a management program for managing a computer information device for a vehicle, for different resources. The switch is properly managed to comply with the system integration of the vehicle's Thunderbolt information. From [previous technology] in the computer information device for vehicles such as audio system, anti-theft system, diagnostic system, air conditioning system, navigation system, mobile communication system and various types of driving assistance security system, as shown in the first picture of the Republic of China Patent TW593〇22, which develops a computer-based human-machine-controlled device that integrates the information required for driving, in response to information-developed applications, integrating related applications such as telephone, navigation, two-body, and the Internet, such as The computer system i of the drawing integrates the electronic device 2, and the vehicle electronic device 2 includes an audio-visual device 2〇1, an anti-secondary device 202, a navigation device 203, a vehicle condition diagnosis device 204, and a reversing assistance Zhuang 2〇5, etc. The control surface mounted on the casing 于此 of the computer system 1 controls the integrated system, and the results of the functions, such as the navigation cellar and the placket, can be presented on the display 13. With the help of the screen, such as the screen, the integrated function menu, according to the program to perform the action of the two-way operation. Another example is the operation of the two-brain function menu for a vehicle disclosed in US Publication No. 2004/0143372. Because the vehicle is controlled by the computer and the power storage: there are many, so it is necessary to display the main option by the display device, and the main The option multiple sub-options allow the user to easily switch between the same functions as the 1259659 in the hierarchical menu. In addition to providing an integrated environment for the automotive computer device described in the prior art, it is also disclosed that a humanized interface that requires a button switching function, a computer information device for a vehicle, and an application for various functions are ^ The implementation of Multltask, different needs, will inevitably require a management = program mechanism, such as when the navigation program is executed, the phone program in the car has = status, or when the car enjoys multiple audio and video, the navigation program When the father is at the intersection, it is necessary to report the voice. As an application of the computer information device for the vehicle, and the control characteristics of the operation type of the source, the management of the application is difficult. 2. Knowing the problems that may be encountered in the surrounding areas of the vehicle or the difficulties ^^^ The priority between the peers is to determine the unnecessary resources of the function, and to replace the operating procedures of the general keyboard or button computer information device. [Summary of the Invention] The application management method of the computer information=poor device is based on the characteristics of the vehicle control, and the functional modules and the rims for providing the program, operation type and operating system resources are preferred. Right, remedy. The machine is also prepared, and the source of the different functions is not determined, in order to replace the function, in order to achieve the unnecessary operation of switching the operation of the information device or the button, simplifying the application of the vehicle management method information. The usual steps of $ & in the installation include starting the computer-centered operation system, loading the management program into the operating system, = 1259965, and then defining the resources of the plurality of applications: When the program enters the standby state, it is detected at any time. "Second, the bank's intention is to determine whether to receive the request resource right, and then touch the priority of the application resource to switch priority, and then release the application of the resource correction. _ The application and the function of executing the application. You and the other steps of the example, such as starting the computer information device in the car -:, system, then man-management money with the option of red, then enter Qing Yi is, #消息赖, the interest rate includes - the message of executing the program to request the audio resources, the release of the message occupying the audio resources, the message of the video source, the release of the occupation Message f source information, etc., then judge (1) whether it is the message received by the application, if yes, then execute = application private: (2) determine whether it is the message requesting the audio switch, if it is, please switch audio resources The message is released after the application requesting the resource and the occupation, the priority order of the source application is released, and the requirement for releasing the audio resource is released. (3) determining whether the message is released for the audio resource, and right is releasing the audio source. After the release, the management program informs the requesting resource that the resource can be obtained; (4) determines whether it is the message requesting the video switching, and if it is the message requesting to switch the video resource, the application red resource and the occupied resource after the requesting resource After the comparison of the priority order between the applications, the application for releasing the video resource is released, and (5) the message for releasing the video source is released. If the message for releasing the video resource is released, the management program is released after the release is completed. Inform the resource requester that the resource can be obtained. [Embodiment] 1259965 The present invention is applicable to the computer information device for the vehicle. The control features of the program, operation type and operating system resources provide a function for managing the application communication operating system, each functional module and the output device, and determining the order in which the functions are generated by setting priorities among various functions. In order to switch the hardware and software resources and replace the unnecessary operation of the general keyboard or buttons, simplify the operating procedures of the computer information device for the vehicle. In order to enable the reviewing committee to further understand the techniques and methods adopted by the present invention for achieving the intended purpose. And the following detailed description of the present invention and the accompanying drawings, which are believed to provide a further understanding and The present invention is used to limit the present invention. The second figure is a relationship diagram between the management program and the vehicle application of the present invention, wherein the management program 20 is a management interface between the vehicle application 25 and its vehicle computer information system, thereby managing the vehicle. Video and audio output of computer information device (such as video unit 21 and audio unit 22) and its application The order of priority of formula 25. If a passenger or driver watches a video while driving, if the accidental car condition occurs, the video player will be automatically released from its audio and video output device, and the car diagnostic program will use the management program 20 to obtain control of its audio and video device. The sound is played by the audio unit 22, or the vehicle condition is displayed on the video unit 21. The message between the vehicle application 25 and the management program 20 is as shown in the second figure, wherein the messages 201, 202, 203, and 204 are requests (requests) and responses (requests) for the application program 25 to request the management program 20. The message, such as the request for video or audio playback, and the reply message, and the messages 205, 206, 207, and 208 are the request and reply messages for the application of the 1259965 tribute between the application 25 and the management program 20. Among them, the methods of message transmission include internal program communication, registration file communication, and shared memory reading and writing. The message is as follows: The message 201 is a program in the application program 25 (such as a navigation program, a video program, etc.) that requests the management program 2 to request the resources of the video unit 21, and the direction is a general application. The program 25 is sent to the management program 20; the message 202 is a reply message when the message 201 requests the resource, for example, the management mode 20 sends the video permission/not allowed message to the application program 25, and the direction is sent to the application program 25 by the management program 20. The message 203 is the A message requested by the management program 2 to the audio unit 22, the direction is the application program 2 5 is sent to the management program 2 , ·, the message 204 is the message 203 request message reply message, for the audio permission or not The message is allowed to be sent to the application 25 in the direction of the management program 2; the message 205 is the request message for the video unit 21 to release the resource via the management program 2, and is received by the application 25, and the direction is sent to the application by the management program 2 25; Vanadium 206 is the reply message of message 205. When the video resource is released, the application 25 sends the message to the management program 20 2〇6, the direction is the application. Equation 25 is sent to the management program 2; message 207 is the request message for the audio unit 22 to release its resources via the management program 2, the direction is the management program 2 to the application 25; and the message 208 is after the audio resource is released. The application 25 sends a reply message to the management program 20, and the direction is the application 25 sent to the management program 20. 1259965 The second figure shows a three-dimensional architecture diagram of the apparatus of the present invention. =: The computer operating system in her computer information installation is installed between the various vehicles, the management program between the industry and the management system 20, management surface: private and multiple devices, as shown in the picture彡立F w上20面早兀24 coupling „t 〇〇〇, 曰 置 301 301, navigation device 302, anti-secondary clothing 303, vehicle condition diagnosis device 3〇4 and driving assistance:蛎 蛎 ;; 9Q * μ 直川b寺. Officer 22,, _ single 3 Ht connected to the video unit 21 and the audio unit L is 23 can be the driver of its computer system for its periphery - when the device starts And through the interface, 'the corresponding heart::; Logic: '2 〇 tube ===, _ message to the 庠 m ^ ^ 2G receiving this request message, according to its priority 顺1 ρΐί to obtain video If the source 21: or the audio unit 22 is used, the management program 2 sends a message to the application that holds the resource, the port σ, and the video unit 21 or the audio resource is used before being released. After the search, the resource-capable application and the transmission message inform the management program 20 that the poor source has been released, and finally, management < 2〇(5) Send the message to the application requesting the resource, and inform the authorized resource to obtain. The fourth diagram shows the flow of the management method of the management program of the present invention, after the power is turned on (steps are given), and then the operating system is started. (Step S403) 'Sub-loading is set between the operating system and the applications of the respective devices in the present invention = management program (step S405). After booting up, the system can execute the pre-executed application first, or preset without Any scheduled execution of 10 1259965 (step S407). If there is an application program, it is executed in the queue of the operating system. The management program then defines the resource usage priority resource. The functions provided by the computer information device of the vehicle refer to the navigation of the car, the car (four), the diagnosis of the car and the driving of the spear force. If there is any judgment on the navigation, two =
音訊給行料航應餘式接管,如此係因行車 ==用程式擁有較高的資源❹優先權,影音服務程式 低的影音服務;又如行車導航時,車況診斷應用程 式因為有較高資源使用優先權,可隨時插入播報車輛狀 ,或有行動電話語音進線,管理程式音判斷其擁有較高 貧源使用優先權,則將音訊單元之使用交予(步驟S4〇9)。The audio signal is taken over by the airline, so it is because the driver has a higher resource priority, and the audio and video service program has a lower audio and video service. In the case of driving navigation, the car diagnostic application has higher resources. The priority of use can be inserted into the broadcast vehicle at any time, or the voice input of the mobile phone is entered, and the management program sounds that it has a higher priority of use of the poor source, and the use of the audio unit is handed over (step S4〇9).
當各應用程式之優先權順序定義之後,管理程式則判 斷現有資源佔用狀況,即管理程式會記錄不同應用程式所 佔有的軟硬體資源,如判斷目前視訊與音訊資源由其中之 一應用程式佔用,當有程式請求使用,管理程式需判斷其 優先權順序(步驟S411),此時,管理程式進入待命狀態 (standby mode),以隨時檢測是否有應用程式釋放或請求 使用視訊或音訊等資源(步驟S413)。當有應用程式請求 使用資源,管理程式即接收此要求資源程式的訊息(步驟 S415),在判斷資源使用優先權後,則可釋放佔用資源之 程式(步驟S417),再將使用資源切換為要求資源之應用 程式(步驟S419),由該應用程式接管資源使用,並執行 功能(步驟S421)。在此之後,管理程式回到步驟S411判 斷資源佔用狀況,並進行步驟S413進入待命狀態,以繼 11 1259965 續判斷車用資源之使用與釋放狀況。 -夕ί:!理程式與應用程式間訊息傳送步驟如第五圖所 賺程圖,管理程式與複數個應用程式係於 用電腦資訊裝置中藉—或複數個數位訊息相互 知目前佔用與請求使用資源的應用程 =Γ: 載入管理程式,並開始運作(步驟 、隹理程式判斷資源佔用狀況(步驟),鱼 二父驟S505)。當第一應用程式啟動並送 使用優先權順序之後,若古隹貝源 婼齡^土 B 右明求貝源的第一應用程式為優先 ,者’即送訊息至目前佔用 =…請求釋放資源使用(步驟S5= 東泠答r止丨运出已釋放貧源之訊 佔用資、7?二自S511)’此時管理程式送出訊息允許 管理二二^式則可佔用該資源(步驟S515),並且 吕理私式回到步驟S5〇3判斷資 入待命狀態等程序。朗貝源估用狀況與步驟⑽進 本發明之實際運用可參閱第 =;!驟流程圖。-開始’裝置電; 仃動琶細電源鍵(步驟 車用電腦資^壯W 思之作業系統啟動,如該 置之作業系統開啟(步驟S6()U 各管理車用應用程式* U S6Q3),亚載入 程式,亦載入此廡h 訊、音訊等資源之管理 w用私式選項(步驟S605)。此日年,可預 先载入預設需要執行之庫用 、, 」此% T預 之應用私式,亚且,若有應用程式在 12 1259965 管,程式則在背景(一⑷執行,若I [用私式執=,會酬㈣程式的選項晝面。 …、 有逆ΐ 了 = 待命狀態時’並隨時判斷是否 有U遞?(步驟謂), 理;式進入作業系統的工作排程序列中 (步=G9)’_續步_7檢查有無訊息傳遞之= 息傳遞包括有執行岸用程自矛式間相互之訊 釋放佔用立二:應用紅式訊息、請求音訊資源的訊息、 用視訊“ = = 源的訊息、釋放佔 刻判斷其是否上述各訊:二:=:可=程式即 ,應用程式之訊息?(步驟S61 j:=是 =式)之=訊息,則執购 窗即切換至=:Γ:靖訊單元中執行時; 驟S607,執行繼續判斷是否有訊息傳遞的程序=式回到步 :並非為執行應用程式的訊息,則 訊切換之訊息?(步驟S6i7),若為 ^求曰 訊息的要求,則進行優先權比較,是否請求訊切換 =?(步驟S619),若請求資源者並無較高優先權^佔 f官理程式回到步驟咖7之訊息判斷步驟,若 有較向優先權,管理程式則告知目前佔用=求貝源者 程式,請求釋放資源(步驟貝源的應用 斷訊息。 卫冉口到步驟S607判 13 1259965 j呵疋古為釋放音訊貧源之訊魚? ^為^放音訊f源的訊息’則進行音訊單元。 (步J S625 :中如揚聲器,與釋放所佔用的應用程式 作時,作-時間延遲 突。之執行不會產生衝 後,管理程式則告知請求資源者;=已釋放完畢 再回到步驟㈣判斷有無訊貝源(步驟_, 息,若並非為執行應用程式的訊 =:;Π'-(:Γ629),若為本—二2 =:(:==若請求資源者並 求資源者若請 ::視訊資源的應用程式,請求。至目广 亚再回到步_7判斷有無訊息傳遞之步(驟驟_, 由步驟S6 0 7之訊自值、腾士丨挺匕丄 ==非?“求或釋口執== (步._之):為; 元之釋放,如顯示螢 =的j,則進行視訊單 程式(步驟糊,如的應用 動作時’作-視訊切換之時間延遲步驟夂 14 1259965 其他應用程式之執行不會產生衝突。 ^ 訊資源的應用程式已釋放完畢後,管理=式取=原佔有視 源者可取得資源(步驟S639),式則告知請求資 訊息傳遞。 叫步驟咖7判斷有無 若管理程式所接收的訊息並非 息,亦非為視訊與音訊請求或釋放訊應用程式的訊 明或其他程式訊息(步驟S641),則^ 一二判斷為其他不 程式及或系統預設的程式(步驟S64仃二^對應之應用 執行時,則會回到管理程式的選項書。但若無應用程式 第七圖為本發明應用程式運作實施例之冷 於應用程式執行的方面,庫用兹彳 少驟机程圖, 行視訊功能的訊息、取 步驟如下: h5轉放的訊息等,其訊息傳遞之 菖應用私式啟動(步嚼^ 序,並判斷是否有接夂ΐ9^)’即進入等待訊息之程 請求執行或釋放的訊^二(/fS703),若並無接收 驟π。”,若有接收m程中,等待訊息(步 能之訊息?(步驟幻们丫 斷是否為接收執行音訊功 請求音訊單元之資源蚀,右為執行音訊功能之訊息,則 到步驟S7G3,繼續等戈用(步驟S7〇9),應用程式隨即回 訊息,則接著判斷是二:一訊息,若非為執行音訊功能之 驟_),若為取得為允許取得音訊資源之訊息?(步 驟功3 ),之後,應用曰程之訊息,則執行音訊功能(步 ⑺私式仍回到步驟S703判斷下一訊息。 15 1259965 右亦非為取得音訊資源使用之訊息,則判斷是否為接收執 =2之訊息?(步驟S715),若是,則進行有關視 α >力=的應用程式(步驟S717),再回到步驟S7〇3判斷接 收訊息之步驟’ ^非為執行視訊功能的訊息,則判斷是否 為允許取得視訊資源之訊息?(步驟S719),若是,則浐 資源使用(步驟s72i),再回到應用程式判: 接收之汛息之步驟。 放非為允許取得視訊資源之訊息,則判斷是否為釋 源(;:广二訊息?(步驟S723)’若是,則釋放視訊資 725)’亚告知管理程式已釋放視訊資源之气自 (步驟S727),之後,亦回到牛 貝,原之汛心 若非兔熟、日 步驟幻03之訊息判斷步驟。 訊資源之訊息,再判斷是否為釋放 ^ 若是,則釋放音訊資源(步驟 ^之後亦回到步驟S7〇3之訊息判斷步驟。 若應用程式判斷非為上述音訊 其他Λ息(步驟S735), 呵按收马 白HrS737),若無應用程錢行時 的選項晝面。最後,此應了 a口到s理私式 隨時檢查所接收之訊息之步:工。’、而回到步驟湖,進行 遞訊==電有透過賴統間接傳 往訊息,並藉判斷其中 理程式管理其令來 放’達到整合各車用資源之目:二::包=取得與釋 16 1259965 1. 利用作業系統提供訊息傳遞功能。 2. 利用内部程序溝通界面傳遞訊息。 3. 切換視訊資源時,使用視訊單元中一座標轴切 換重疊視窗。 4. 切換音訊資源時,使用開關多重音訊輸入端與 輸出端。 5. 利用程式進入待命/休眠(Sleep)與喚醒 (Wakeup)離開之時間差,以達到程式切換資源所需 的時間。 其步驟總括有下列兩部份: 1. 倘若執行期間若有不同的應用程式,需要使用 相同視訊裝置時,此管理程式會透過作業系統送出 訊息至相關衝突之應用程式,告知顯示資源的釋放 與取得允可,以達到將系統視訊資源切換並供給至 較高優先權的應用程式使用。 2. 倘若執行期間若有不同的應用程式,使用相同 的軟硬體音訊資源時,此管理程式會透過作業系統 送出訊息至相關衝突之應用程式,告知音訊資源的 釋放與取得,以達到將系統音訊資源切換並供給至 較高優先權的應用程式使用。 此管理方式,可針對不同的軟硬體系統資源切換時, 做適當的時間延遲,以符合車用電腦資訊裝置之系統整 合。其實為一不可多得之發明物品,及具產業上之利用性、 新穎性及進步性,完全符合發明專利申請要件,爰依法提 出申請,敬請詳查並賜準本案專利,以保障發明者權益。 1259965 惟以上所述僅為本發明之較佳可行實施例,非因此即 拘限本發明之專利範圍,故舉凡運用本發明說明書及圖示 内容所為之等效結構變化,均同理包含於本發明之範圍 内,合予陳明。 【圖式簡單說明】 第一圖係為習用技術車用電腦人機操控設備示意圖; 第二圖係為本發明管理程式與車用應用程式關係圖; 第三圖所示為本發明車用電腦資訊裝置示意圖; _ 第四圖則顯示本發明使用管理程式之管理方法步驟流 程; 第五圖所示為管理程式與應用程式間訊息傳送之流程 _ 圖; · 第六圖為本發明管理程式運作實施例之步驟流程圖; 第七圖為本發明應用程式運作實施例之步驟流程圖。 【主要元件符號說明】 ❿ 電腦糸統1 車用電子裝置2 影音裝置201 防盜裝置202 ' 導航裝置203 ^ 車況診斷裝置204 倒車輔助裝置2 0 5 18 1259965 操控面板14 外殼11 顯示器13 管理程式20 應用程式25 音訊單元22 視訊單元21 訊息 2(U、202、203、204、205、206、207、208After the priority order of each application is defined, the management program judges the existing resource occupation status, that is, the management program records the software and hardware resources occupied by different applications, such as judging that the current video and audio resources are occupied by one of the applications. When a program requests to use, the management program needs to determine its priority order (step S411). At this time, the management program enters a standby mode to detect whether an application is released or requests to use resources such as video or audio ( Step S413). When an application requests to use the resource, the management program receives the message requesting the resource program (step S415), and after determining the resource usage priority, the program occupying the resource can be released (step S417), and then the resource is switched to the requirement. The application of the resource (step S419), the application takes over the resource usage, and the function is executed (step S421). After that, the management program returns to step S411 to judge the resource occupation status, and proceeds to step S413 to enter the standby state, in order to continue to judge the use and release status of the vehicle resources in accordance with 11 1259965. - 夕ί:! The message transfer procedure between the program and the application is as shown in the fifth diagram. The management program and the plurality of applications are borrowed from the computer information device - or a plurality of digital messages to know each other. Application using resources = Γ: Load the management program and start operation (step, processing program to determine resource occupancy status (step), fish two father step S505). After the first application starts and sends the priority order, if the first application of the ancient 隹 婼 ^ ^ 土 右 右 求 求 求 求 求 求 求 求 求 求 右 右 优先 请求 请求 请求 请求 请求 请求 请求 请求Use (Step S5 = 泠 r r 丨 丨 已 已 已 已 已 7 7 、 、 、 、 、 、 、 、 、 、 、 、 、 ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' ' And Lu Li privately returns to step S5〇3 to determine the standby status and other procedures. Langbe source estimation status and steps (10) into the actual application of the present invention can be found in the flow chart. - Start 'device power; 仃 琶 电源 电源 电源 ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( , sub-loading program, also loaded with the management of resources such as video, audio and other w private options (step S605). This day, you can pre-load the default library to be executed, "% T In advance, the application is private, and if there is an application at 12 1259965, the program is executed in the background (one (4), if I use the private mode =, the option of the reward (four) program. ..., there is a reverse When = standby state, and at any time to determine whether there is a U-delivery (step-by-step), enter the operating system's work program column (step = G9) '_continuation step _7 check for message delivery = message delivery Including the implementation of the shore use of the spear-type mutual release of the occupant two: the application of the red message, request the audio resource message, use the video " = = source message, release the occupation to determine whether it is the above message: two: =: Can = program, application message? (step S61 j: = yes = type) = message, The purchase window is switched to =: Γ: when executing in the Jingxun unit; step S607, executing the program to continue to determine whether there is a message transmission = returning to the step: is not a message for executing the application, then switching the message? Step S6i7), if the request is for the message, the priority comparison is made, whether the request message is switched =? (step S619), if the requesting resource does not have a higher priority, the program is returned to the step coffee. 7 The message judging step, if there is a higher priority, the management program informs the current occupation=seeking source program, requesting to release the resource (step application of the source break message. Wei Weikou to step S607 judgment 13 1259965 j 疋In order to release the audio source of the audio source of the audio source, the message unit is used to perform the audio message. (Step J S625: When the speaker is used, the time delay is delayed when the application is released. After the execution does not occur, the management program informs the requesting resource; = has been released and then returns to step (4) to determine whether there is any source (step _, information, if it is not for the execution of the application =:; Π '- (:Γ629), if it is -2 ==(:==if If you request a resource and ask the resource, please:: Video resource application, request. Go to 广亚亚 and return to step _7 to judge whether there is any message transmission step (sudden _, from step S6 0 7) Teng Shizhen is quite 匕丄 == 非? "Seeking or releasing the mouth == (step._): for; release of the yuan, such as the display of firefly = j, then the video single program (step paste, such as the application Time delay step for action-video switching 夂14 1259965 Execution of other applications does not cause conflicts. ^ After the application of the resource resource has been released, the management = formula f = the source of the original source can obtain resources (step S639), the formula informs the request information to pass. The step coffee 7 is used to determine whether the message received by the management program is not interest, nor is it a video or audio request or release of the application's message or other program message (step S641). Or the program preset by the system (when the application corresponding to step S64仃2 is executed, it will return to the option of the management program. However, if there is no application, the seventh figure is the execution of the application running in the embodiment of the present invention. On the other hand, the library uses a few machine diagrams, the video information function, the steps are as follows: h5 transfer message, etc., after the message is transmitted, the application is privately started (steps are chewed and judged whether there is any connection)夂ΐ9^)' is the message that requests to execute or release the message waiting for the message (/fS703), if there is no receiving π.", if there is a receiving m process, wait for the message (step message)? Whether the illusion is to receive the audio signal of the audio unit for receiving the audio signal, and the right is the message for performing the audio function, then to step S7G3, continue to wait for the message (step S7 〇 9), the application immediately returns the message, and then judges 2: A message, if it is not a function of the audio function _), if it is obtained to allow access to the audio resource message (step 3), then after applying the message of the process, the audio function is executed (step (7) private still Going back to step S703, the next message is judged. 15 1259965 Right is not the message for obtaining the audio resource, then it is judged whether it is the message of receiving the hold = 2 (step S715), and if so, the relevant view α > force = The application (step S717), and returning to step S7〇3 to determine the step of receiving the message '^ is not a message for performing the video function, then determining whether it is a message for allowing the video resource to be obtained? (step S719), and if so, the resource Use (step s72i), and then return to the application to judge: the step of receiving the message. If the message is not allowed to obtain the video resource, it is judged whether it is the source (;: Guang Er message? (step S723) 'If yes, Then release the video resource 725) 'Asia informed management program has released the video resources from the gas (step S727), after which, also returned to Niu Bei, the original heart is not the rabbit familiar, the day step magic 03 message judgment steps. Source message, then judge whether it is release ^ If yes, release the audio resource (step ^ also returns to the message judgment step of step S7〇3. If the application determines that the other information is not the above-mentioned audio (step S735), press Receive the white HrS737), if there is no option in the application money line. Finally, this should be a step to the private control of the received message at any time: work. ', and return to the step lake, carry out The message == electricity has been transmitted to the message indirectly through Lai Tong, and by judging that the program manages its order to achieve the goal of integrating various vehicle resources: 2:: package = acquisition and release 16 1259965 1. Using the operating system Provide messaging capabilities. 2. Transfer messages using the internal program communication interface. 3. When switching video resources, use the standard axis in the video unit to switch the overlapping window. 4. Switch the audio input and output when switching audio resources. 5. Use the program to enter the time difference between Sleep and Wakeup to achieve the time required for the program to switch resources. The steps are as follows: 1. If there is a different application during the execution period and the same video device is required, the management program will send a message to the conflicting application through the operating system to inform the release of the display resource. Obtain permission to reach the application that switches the system video resources to a higher priority. 2. If there are different applications during the execution period and use the same software and hardware audio resources, the management program will send the message to the conflicting application through the operating system to inform the release and acquisition of the audio resources to achieve the system. Audio resources are switched and fed to higher priority applications. This management method can make appropriate time delays when switching between different software and hardware system resources to meet the system integration of the vehicle computer information device. In fact, it is an invaluable invention item, and it has industrial applicability, novelty and progressiveness. It is in full compliance with the requirements for invention patent applications. If you apply in accordance with the law, please check and grant the patent in this case to protect the inventor. rights and interests. The above description is only a preferred embodiment of the present invention, and thus the scope of the present invention is not limited thereto, and the equivalent structural changes of the present invention and the contents of the drawings are equally included in the present invention. Within the scope of the invention, it is given to Chen Ming. [Simple diagram of the diagram] The first diagram is a schematic diagram of a computer man-machine control device for a conventional technology vehicle; the second diagram is a diagram of the relationship between the management program and the vehicle application of the present invention; Schematic diagram of the information device; _ fourth diagram shows the flow of the management method of the management program of the present invention; the fifth diagram shows the flow of the message transmission between the management program and the application _ Figure; · The sixth figure shows the operation of the management program of the present invention Steps of the steps of the embodiment; The seventh figure is a flow chart of the steps of the operating embodiment of the application of the present invention. [Description of main component symbols] 糸 Computer system 1 Vehicle electronic device 2 Audio-visual device 201 Anti-theft device 202 'Navigation device 203 ^ Car condition diagnosis device 204 Reversing auxiliary device 2 0 5 18 1259965 Control panel 14 Shell 11 Display 13 Management program 20 Application Program 25 audio unit 22 video unit 21 message 2 (U, 202, 203, 204, 205, 206, 207, 208
車用電腦資訊裝置30 介面單元24 驅動單元23 影音裝置301 導航裝置302 防盜裝置303 車況診斷裝置304 行車輔助裝置305Vehicle computer information device 30 interface unit 24 drive unit 23 audio and video device 301 navigation device 302 anti-theft device 303 vehicle condition diagnosis device 304 driving assistance device 305
電源單元308 19Power unit 308 19