201118806 * 六、發明說明: 【發明所屬之技術領域】 本發明係有關於一種行車記錄器的運作模式,特別是 有關於一種診斷設備與車用設備之間的互動狀態時,行車 記錄器學習診斷設備發送的控制資料的記錄動作學習系統 及學習方法。 【先前技術】 請參照圖1繪示先前技術之汽車診斷系統方塊示意 $ 圖。先前技術中,汽車維修人員維修汽車時,將一診斷設 備11連接至汽車的車用設備13 (車用電腦亦可)。維修人 員將診斷設備11的連接頭連接至汽車的汽車診斷系統 (OBD-Π )插座12,使得診斷設備11透過汽車診斷系統 (OBD-Π )插座12與汽車網路14 (如LIN-BUS或 CAN-BUS)電性耦接至車用設備13。維修人員利用診斷設 備發送指令以詢問車用設備13,並取得車用設備13的回 • 應資料,藉此判斷各車用設備13及其設備的運作情形,以 期找出汽車故障處。 然某些特殊情形,診斷系統11較難找出汽車故障處, 舉例:汽車行進時速120公里時,引擎溫度突然急速升高, 亦如,長時間行車時,引擎空氣進出量不穩定(如空氣引 入量大增,大量排氣或排氣量降低),亦或空調系統傳導空 氣量不穩定(如内空氣循環系統失效、冷氣控制失效)… 等。如此故障情形不見得會立即呈現於在維修時,維修人 201118806 » 員較難利用診斷系統找出相關的故障原因。亦如冷卻系統 的流水道阻塞,其會於汽車高速行進時,導致引擎溫度上 升,如此不明顯的故障情形,維修人員也難以利用診斷系 統找出相關的故障原因,導致汽車經多次維修乃存在故 障,進而提升行車危險性。故廠商研發行車記錄器,用以 長時間記錄部分車用電腦及車用設備的運作狀態,維修人 貝即利用特定的檢視設備以查看行車記錄器記錄的貧料。 然市面上的行車記錄器能記錄的資料格式、對應設備 * 與傳輸資料協定,在行車記錄器出廠時即固定,且無法更 動。若汽車故障處為行車記錄器無法偵測與記錄運行狀態 的車用電腦或車用設備時,維修人員不能調整行車記錄器 的偵測記錄模式,令其記錄維修人員指定的相關車用設備 的運作,如此無益於維修作業,且使用上亦受限。 【發明内容】 本發明欲解決的問題係提供一種偵測診斷設備與車用 φ 電腦之間的互動,學習診斷設備詢問車用電腦的方式的行 車記錄器。 為解決上述問題,本發明係揭露一種記錄動作學習系 統,適用於一行車記錄器,記錄動作學習系統包括一診斷 設備、至少一車用設備與一行車記錄器。行車記錄器包括 一學習資料庫、一傳輸模組與一記錄器控制模組。學習資 料庫用以記錄複數個傳輸協定資料。傳輸模組包括一第一 連接埠、一第二連接埠與一傳輸線組。第一連接埠連接診 201118806 斷設備’車用設備電性_於第二連 複數個電性線路以連接第—連接痒 傳輪線組包括 診,if與各車用設備之間傳輸一個^ =璋二用以供 錄器控制模組用以連接傳輸模組,以伯測各^貧料。記 :輸資料的一個以上的目標電性線路:記錄路用以 康目標電性線路以從傳輸協定資料 二m组根 資料,利用目標傳輪協定資料取得前述的通二!:輸協定 圮錄於學習資料庫。 j4妁通“貪料,將其 連接發明係揭露-種行車記錄器,其 俠% 5多斷a又備與至少一車用設備之門,一由^ 秸:—學習資料庫、》傳輸模錄器包 輪模組包括-第—連接控制模組。傳 緣。歸斷設備,車用設備電接於第二連接 2線組包括複數個電性線路以連接第—連 上=資ΠΓ設備與各車用設備之間傳輸-個以 挪各電線二Γ控制模組用以連接傳輸模組,以偵 紀錄器控上的目標電性練路。 I二=:==輪協定資料中選 的通信資料,將其記躲學習輸協定資料取得前述 綠:=問:車=露-—記 阜用設備,㈣法包括 予為貝枓庫,其記錄複 201118806 數個傳輸協定資料;提供一傳輸模組以電性耦接診斷設備 與各車用設備,診斷設備與各車用設備相互傳輸一個以上 的通信資料;分析傳輸模組用以傳輸通信資料的電性線 路,以從所有傳輸協定資料中取得一目標傳輸協定資料; 根據目標傳輸協定貢料取得前述的通信貧料,以記錄通信 資料於學習資料庫。 本發明之特點在於行車記錄器偵測電性線路以確實得 知診斷設備與車用設備的互動模式,並學習診斷設備的詢 問車用設備的指令,使得行車記錄器解除與診斷設備的連 繫時,行車記錄器仍依循診斷設備詢問車用設備的模式以 記錄車用設備的運行模式。其次,行車記錄器詢問車用設 候的模式係依據診斷設備對車用設備的詢問模式而定,故 適用於各種診斷設備不同的詢問模式。其三,行車記錄器 預儲多種不同的傳輸協定資料,能在不同診斷設備與車用 設備的通信組合進行學習作業。其四,行車記錄器亦長時 φ 間記錄相關車用設備的運作情形,較易找出不明顯的故障 原因。 【實施方式】 茲配合圖式將本發明較佳實施例詳細說明如下。 首先請參照圖2A所繪示本發明實施例之記錄動作學 習系統之方塊示意圖。此記錄動作學習系統適用於一行車 記錄器2,行車記錄器2連接於至少一車用設備13與一診 斷設備11之間。行車記錄器2包括一學習資料庫31、一 201118806 傳輸模組21與一記錄器控制模組22。201118806 * VI. Description of the invention: [Technical field to which the invention pertains] The present invention relates to an operation mode of a driving recorder, and in particular to a learning and diagnosis of a driving recorder when an interactive state between a diagnostic device and a vehicle device is concerned The recording action learning system and learning method of the control data sent by the device. [Prior Art] Please refer to FIG. 1 to show a block diagram of a prior art automobile diagnostic system. In the prior art, when a car maintenance person repairs a car, a diagnostic device 11 is connected to the car device 13 of the car (the car computer is also available). The service person connects the connector of the diagnostic device 11 to the car diagnostic system (OBD-Π) socket 12 of the vehicle, such that the diagnostic device 11 passes through the car diagnostic system (OBD-Π) socket 12 and the car network 14 (such as LIN-BUS or CAN-BUS) is electrically coupled to the vehicle device 13. The maintenance personnel use the diagnostic device to send an instruction to inquire about the vehicle equipment 13, and obtain the return information of the vehicle equipment 13, thereby judging the operation of each vehicle equipment 13 and its equipment, in order to find a vehicle fault. However, in some special cases, it is difficult for the diagnosis system 11 to find out the fault of the car. For example, when the vehicle travels at a speed of 120 km/h, the engine temperature suddenly rises sharply. For example, when driving for a long time, the engine air inflow and outflow is unstable (such as air). The introduction amount is greatly increased, a large amount of exhaust or exhaust gas is reduced, or the air conduction system is unstable in air volume (such as internal air circulation system failure, cold air control failure), and the like. Such a fault situation may not be immediately presented during maintenance. It is difficult for the repairer to use the diagnostic system to find out the cause of the fault. If the cooling system's water channel is blocked, it will cause the engine temperature to rise when the car is moving at a high speed. In such an inconspicuous failure situation, it is difficult for maintenance personnel to use the diagnostic system to find out the relevant cause of the failure, resulting in the vehicle being repaired many times. There is a fault, which in turn increases the risk of driving. Therefore, the manufacturer develops a driving recorder to record the operating status of some of the vehicle computers and vehicle equipment for a long time, and the maintenance personnel use specific inspection equipment to check the poor materials recorded by the driving recorder. However, the data format and corresponding equipment* that can be recorded by the driving recorder on the market are in agreement with the transmission data, and the driving recorder is fixed at the time of shipment and cannot be changed. If the vehicle fault is a vehicle computer or vehicle equipment that cannot be detected and recorded by the driving recorder, the maintenance personnel cannot adjust the detection recording mode of the driving recorder to record the relevant vehicle equipment designated by the maintenance personnel. Operation, so unhelpful for maintenance work, and limited use. SUMMARY OF THE INVENTION The problem to be solved by the present invention is to provide a driving recorder that detects the interaction between a diagnostic device and a vehicle φ computer and learns the manner in which the diagnostic device queries the vehicle. In order to solve the above problems, the present invention discloses a recording action learning system suitable for a one-line vehicle recorder, the recording action learning system comprising a diagnostic device, at least one vehicle device and a row of vehicle recorder. The driving recorder includes a learning database, a transmission module and a recorder control module. The learning database is used to record a plurality of transmission agreement data. The transmission module includes a first connection port, a second connection port and a transmission line group. The first connection 埠 connection diagnosis 201118806 broken device 'vehicle equipment electrical _ _ in the second consecutive multiple electrical lines to connect the first - connected itch transmission line group including diagnosis, if and each vehicle device transmits a ^ = The second is used for the recorder control module to connect to the transmission module to test the poor materials. Note: More than one target electrical line of the data: the recording road is used for the Kang target electrical line to transfer the agreement data from the second group of data, and the target pass agreement data is used to obtain the aforementioned Tongji!: In the learning database. J4 妁通"" greed, connect it to the invention department to expose - a kind of driving recorder, its mantery 5 more than a and prepare at least one vehicle equipment door, one by ^ straw: - learning database, "transfer mode The recorder package wheel module includes a -first connection control module. The edge is terminated. The device is electrically connected to the second connection. The second line group includes a plurality of electrical lines to connect the first connection to the equipment. Transfer between each vehicle equipment - a remote control module for connecting the transmission module to detect the target electrical training on the recorder. I ============== The communication data, the data of the above-mentioned green: = Q: car = dew - the use of equipment, (4) the law includes the beigu library, which records the number of transmission agreements 201118806 several; The transmission module electrically couples the diagnostic device with each vehicle device, and the diagnostic device and each vehicle device transmit one or more communication materials to each other; and analyzes the electrical circuit for transmitting the communication data by the transmission module, from all transmission protocols Obtaining a target transmission agreement data in the data; The transmission agreement tribute obtains the aforementioned communication poor material to record the communication data in the learning database. The invention is characterized in that the driving recorder detects the electrical circuit to surely know the interaction mode between the diagnostic device and the vehicle device, and learns the diagnosis. When the device inquires about the instruction of the vehicle device, so that the driving recorder is disconnected from the diagnostic device, the driving recorder still follows the mode of the diagnostic device to inquire about the operating mode of the vehicle device. Secondly, the driving recorder queries The mode of the vehicle setting is based on the inquiry mode of the diagnostic equipment for the vehicle equipment, so it is suitable for different inquiry modes of various diagnostic equipment. Third, the driving recorder pre-stores a variety of different transmission agreement materials, which can be diagnosed differently. The communication between the equipment and the vehicle equipment is combined to carry out the learning operation. Fourthly, the driving recorder records the operation of the relevant vehicle equipment for a long time φ, and it is easy to find out the cause of the obvious failure. [Embodiment] The preferred embodiment of the present invention will be described in detail below. First, please refer to FIG. 2A for recording of an embodiment of the present invention. A block diagram of the learning system is applied to the line recorder 2, and the driving recorder 2 is connected between at least one vehicle device 13 and a diagnostic device 11. The driving recorder 2 includes a learning database 31. , a 201118806 transmission module 21 and a recorder control module 22.
傳輸模組21包括一第一連接琿211、一第二連接埠212 與一傳輸線組213。傳輸線組213包括複數個電性線路以 連接第一連接埠211與第二連接埠212,第一連接埠211 供診斷設備11電性耦接,第二連接埠212用以供車用設備 13電性耦接,診斷設備n即透過傳輸模組21電性耦接至 =車用設備13 (車用電腦亦可),且供診斷設備u與車用 π Ϊ脅13之間傳輪一個以上的通信資料。 學習資料庫31用以記錄複數種傳輸協定資料,包括 、UNE、Low CAN、High cAN、pwM、vpw 等種類的傳 則協定貧料(Protocol)的資料傳輸格式(⑽ :)、傳輸鮑率(Baudme)及各種資料格式所因應的電 a線路的接腳數(Pin Number)。 記錄器控制模組22連接傳輸線組213,則貞測各電性 的電流>1動與電壓變化’以判斷診斷設備n傳輸通信 裰線路’並將其視為目標電性線路。記錄器控制 輪協且目標電性線路的接腳數與學㈣料庫Η的傳 料,並將之視為-目標傳輪使用的傳輸協定實 再拫據目標傳輸協定資料分析流通 、、、^ 資料,並將其記錄於學習資料庫=傳輸線組213的通信 請同時參照圖2Β繪示本發明 系统之細部方塊示意圖,記錄器押例之記錄動作學習 $ 口口 k制模組22包括一接腳觸 201118806 發制模組切、一多工選擇模組222與一計 接腳觸發仙模組221用以連接所有的電性線路,、並: 各電性線路的電流流動與電壓變化’以找出前述的、雷 性線路。多X選擇器則將目標電性線路的接腳數^ 料庫31的傳輸協定資料相比對,找出診斷設備 二 目標傳輸協定資料。 的 例:就汽車料系統(0BD_n )插座說明,can傳輸 協定資料因應的電性線路接腳為第ό接腳與第14接腳符^ ISOl5765 ; K-LINE傳輸協定資料因應的電性線路接腳為^ 7接腳,符合IS〇9⑷、IS〇1423〇、卿15〇31 ;⑽以傳輸 協定資料因應的電性線路接腳為第2接腳與第1〇接腳; VPW傳輸協定資料因應的電性線路接腳為第2接腳; L-LINE傳輸協定資料因應的電性線路接腳為第15接腳, 此等資料係預先記錄於學習資料庫31。計算模組223再根 據目標傳輸協定資料以取得診斷設備Η與車用設備(或 # 車用電腦)之間流通的通信資料,並記錄在學習資料庫31。 請同時參照圖3繪示本發明實施例之學習動作資料示 意圖之一例。記錄器控制模組22運作與學習的行為包括數 種模式:睡眠模式、初始化模式、工作模式、記錄模式與 資料回溯設定111模式。然不論何種模式,通信資料的類 型與格式係相類似或相同。如圖3所示,通信資料包括目 標傳輸協定資料(Protocol)、標頭資料(HeadNode)、目標設 備名稱(Target Address)、起始設備名稱(Source Address)、 201118806 服務指令編碼(Service ID)、控制資料(Parameters)與檢查碼 (CRC)。通信資料包括診斷模組傳輸至車用設備13的一個 以上的設備控制資料112,以及車用設備13回應的設備回 應資料132’記錄器控制模組22會依據目標傳輸協定資 料,將此等設備控制資料U2及設備回應資料132建構為 學習動作資料41 (其仍符合通信資料的格式),並將此等 學習動作資料41記錄於學習資料庫31。 請同時參照圖4緣示本發明實施例之初始化資料示意 圖之-例。學習動作資料41除前述的診斷設備n發出的 控制資料外,更包括診斷設備u與車用設備13(或車用 電腦)建立鏈结時’對車用設備13進行初始化的初始化資 料二初聽㈣42包括設備起始連接㈣、資料傳輸 通1數、車用设備13的電子控制單元資訊與持恆通信 (Keep Talking )資料。The transmission module 21 includes a first port 211, a second port 212, and a transmission line group 213. The transmission line group 213 includes a plurality of electrical lines for connecting the first port 211 and the second port 212. The first port 211 is electrically coupled to the diagnostic device 11, and the second port 212 is configured to be used by the vehicle device 13. For the purpose of coupling, the diagnostic device n is electrically coupled to the vehicle device 13 (the vehicle computer is also available) through the transmission module 21, and is used for more than one transmission between the diagnostic device u and the vehicle π Ϊ 13 Communication materials. The learning database 31 is used for recording a plurality of types of transmission protocol data, including UNE, Low CAN, High cAN, pwM, vpw, etc., a protocol data transmission format ((10):), transmission baud rate ( Baudme) and the number of pins of the electric a line corresponding to various data formats. The recorder control module 22 is connected to the transmission line group 213, and measures each electrical current > 1 motion and voltage change ' to determine that the diagnostic device n transmits the communication line □ and regards it as the target electrical line. The recorder controls the number of pins of the target electrical line and the transmission of the target (4) material library, and regards it as the transmission protocol used by the target transmission wheel, and then analyzes the circulation according to the target transmission agreement data, ^ Data, and record it in the learning database = communication line group 213 communication Please also refer to FIG. 2A to show a detailed block diagram of the system of the present invention. Recording action record of the recorder exemplification method The mouth port k module 22 includes a The pin touches the 201118806 hair module switch, a multiplex selection module 222 and a meter pin trigger module 221 for connecting all the electrical lines, and: current flow and voltage change of each electrical line' To find out the aforementioned, lightning lines. The multi-X selector compares the transmission protocol data of the pin number of the target electrical line with the data base 31, and finds the diagnostic device two target transmission agreement data. Example: In the case of the automotive material system (0BD_n) socket, the electrical line pin corresponding to the can transfer protocol data is the first pin and the 14th pin ^ ISOl5765; the K-LINE transmission protocol data is connected to the electrical line. The foot is ^ 7 pin, which conforms to IS〇9(4), IS〇1423〇, and Qing 15〇31; (10) The electrical line pin corresponding to the transmission protocol data is the second pin and the first pin; VPW transmission agreement data The corresponding electrical line pin is the second pin; the electrical line pin corresponding to the L-LINE transmission protocol data is the 15th pin, and the data is pre-recorded in the learning database 31. The calculation module 223 then obtains the communication data flowing between the diagnostic device and the vehicle device (or the vehicle computer) based on the target transmission protocol data, and records it in the learning database 31. Please also refer to FIG. 3 to show an example of the learning action data of the embodiment of the present invention. The behavior of the recorder control module 22 operating and learning includes several modes: sleep mode, initialization mode, work mode, recording mode, and data traceback setting 111 mode. Regardless of the mode, the type of communication material is similar or identical to the format system. As shown in FIG. 3, the communication data includes a target transmission protocol (Protocol), a header data (HeadNode), a target device name (Target Address), a start device name (Source Address), and a 201118806 service instruction code (Service ID). Control data and check code (CRC). The communication data includes one or more device control data 112 transmitted by the diagnostic module to the vehicle device 13, and the device response data 132 that the vehicle device 13 responds to. The recorder control module 22 will communicate the protocol data according to the target. The control data U2 and the device response data 132 are constructed as learning action data 41 (which still conforms to the format of the communication data), and the learning action data 41 is recorded in the learning database 31. Please refer to FIG. 4 at the same time as an example of an initialization data diagram of an embodiment of the present invention. The learning action data 41 includes, in addition to the control data sent by the diagnostic device n described above, the initialization device 2 that initializes the vehicle device 13 when the diagnostic device u establishes a link with the vehicle device 13 (or the vehicle computer). (4) 42 includes the equipment initial connection (4), the data transmission number 1, the electronic control unit information of the vehicle equipment 13, and the Keep Talking data.
之間 資料為KWP2000’標頭資料為8χί 、如81、82…),目標 備名稱為$10 ($10指弓丨擎,但不以山达 ’、 χ此為限,亦適用於其 設備及其對應名稱編碼,如$29 : Αρις!妨± 煞車設備;$18 : 速箱設備)’起始設傷名稱為$F1 ($F1指診斷設備u, 不以此為限’亦_於其以備及其對應名稱編碼)。本 施例中,服務指令編碼$81指連姓人人 ^ 入人 、〇叩々,即起始設備向 才示設備要求賴的命服務指令編碼m指通訊時間 數’即起始设備與目彳示设備通信時次 T 貝枓傳輸的鮑率與£ 201118806 脈週期設定,而參數設定資訊被包含於控制資料中,目標 設備根據控制資料進行相關調整。服務指令編碼$1A指= 始設備的電子控制單元資訊,起始設備將自身電子控制單 兀的規格告知目標設備,而參數設定資訊被包含於控制資 料中,目標設備依據此資訊準備相關的鏈結與通信參數,The information is KWP2000' header data is 8χί, such as 81, 82...), and the target name is $10 ($10 refers to Gongqiqing, but not to Shanda', and this is also applicable to its equipment and its Corresponding name code, such as $29: Αρις! ±± brake device; $18: Speedbox device) 'Starting injury name is $F1 ($F1 refers to diagnostic equipment u, not limited to this) _ Its corresponding name encoding). In this example, the service instruction code $81 refers to the surname of the person ^ into the person, 〇叩々, that is, the starting device requests the device to claim the service command code m refers to the communication time number 'that is the starting device and the destination Indicates the baud rate of the T-Bei transmission and the 201118806 pulse period setting, and the parameter setting information is included in the control data, and the target device adjusts according to the control data. The service instruction code $1A refers to the electronic control unit information of the starting device, the initiating device informs the target device of the specification of its electronic control unit, and the parameter setting information is included in the control data, and the target device prepares the relevant chain according to the information. Knots and communication parameters,
以進行雙方設備的通信行為。服務指令編碼$3E指持恆通 #貧料(keep talking),即起始設備為保持與目標設備的連 繫而不斷發出的詢問資料。持恒通信資料的資料為相同且 不斷由起始設備發Α ’當記錄驗侧組22連續取得起始 ::=信資料’且取得通信資料内容為相同時; 資料’蘭定起始設備與目標敦備已完 信狀態,記錄器控制模組22即將前述 控制單參數㈣、車㈣備13的電子 的-初始化寺恆通信資料形成對應車用設備u /化貝枓42’並記錄於學習資料庫31中。 塊示㈣示本_實_之卸除顿輯11之方 32。行車記錄’行車記錄器2包括-記錄資料庫 據學習資料:3 J除與診斷設備11之間的連接’並根 用設備13,、、,鸱:己錄的學習動作資料41來詢問相關的車 資料記錄於與車賴備13雙方的通信 式如之間連接後的運作模 且會運行於一睡眠模式與—工作 10 201118806 模式之間: (Ο睡眠模式:其包括數種從工作模式切換至睡眠模 式的運作情形,其一,車用設備13包括點火開關,點火開 關傳輸的設備回應資料132包括點火控制資料,當記錄器 控制模組22取得記錄器控制模组22之點火控制資料,且 判斷點火控制資料的内容為「點火開關已開啟:IG-Off」 時,記錄器控制模組22會從工作模式切換至睡眠模式。其 二,車用設備13記錄器控制模組22連繫車用設備13或車 ® 用電腦兩者中至少任一者,且數量為一個以上,當記錄器 控制模組22判斷上述車用設備13或車用電腦未持續收發 任一種通信資料時,該記錄器控制模組22從睡眠模式切換 於工作模式。而令記錄器控制模組22的用意在於,行車記 錄器2主要是透過汽車的供電系統進行供電,汽車行進 時,由油電轉換系統提供電力;汽車靜止時,由汽車電池 提供電力。若汽車靜止時乃不進入睡眠模式,行車記錄器 φ 2會持續消耗汽車電池電力,故汽車一段時間不運行時, 行車記錄器2即自發性進入睡眠模式以降低消耗汽車電池 電力,使行車記錄器2消耗汽車電池電力乃趨近於零電力 消耗。 (2)工作模式:其包括數種從睡眠模式切換至工作模 式的運作情形,其一,車用設備13包括點火開關,點火開 關傳輸的設備回應資料132包括點火控制資料,當記錄器 控制模組22取得記錄器控制模組22之點火控制資料,且 11 201118806 判斷點火控制資料的内容為「點火開關已開啟:IG_On」時, 記錄器控制模組22會從睡眠模式切換至工作模式。其二, 車用設備13記錄器控制模組22連繫車用設備13或車用電 腦兩者中至少任一者,且數量為一個以上,當記錄器控制 模組22判斷上述車用設備13或車用電腦持續收發任一種 通信資料時,該記錄器控制模組22從睡眠模式切換於工作 模式。 (3) 工作模式包括設備初始化作業:行車記錄器2於 ® 解除與診斷設備11之間的連接後,記錄器控制模組22受 觸發進入工作模式時,記錄器控制模組22會從學習料庫找 出因應車用設備13的初始化資料42,以利用初始化資料 42對車用設備13作初始化作業,於完成初始化作業時連 接車用設備13。初始化資料42的運作說明已於前述說明, 其中,本實施例之起始設備為行車記錄器2,其代診斷設 備11發布詢問的設備控制資料112,目標設備為車用設備 φ 13。請同時參照圖4以利於了解,在此不贅述。 (4) 工作模式包括通信與記錄作業:請同時參照圖 5A繪示本發明實施例之通信資料格式示意圖及圖5B繪示 本發明實施例之通信資料記錄模式示意圖。如圖5A,記錄 器控制模組22依照學習資料庫31記錄的學習動作資料41 (即行車記錄器2從診斷設備11學習的對車用設備13的 設備控制資料112),不斷循環式的詢問相關的車用設備13 的運作情形。反之,因應所取得的設備控制資料112,車 12 201118806 用設備13不斷回饋包括自身運作情形的設備回應資料132 至行車記錄器2,記錄器控制模組22係將設備回應資料132 記錄於記錄資料庫32。如圖5A,行車記錄器2循環發出 的服務指令皆為$21,三個服務指令對應的控制資料為 「01,02,03」,車用設備13回饋的設備回應資料132會 重述服務指令,但對服務指令作編碼,如本實施例中,車 用設備13將取得服務指令加$40,控制資料内容則不更 動,並回饋此等資料至行車記錄器2以作為重述語句。但 • 不以此為限,係根據不同的傳輸協定資料以使用不同模式 的重述語法。每一設備控制資料112因應一個以上的設備 回應資料132,並依照「問-答」的模式循環的記錄於記錄 資料庫32中。 如圖5B所示,當記錄器控制模組22開始工作模式時, 即持續記錄行車記錄器2發出的設備控制資料112與車用 設備13回饋的設備回應資料132,直至各車用設備13、車 φ 用電腦停止運作(汽車靜止),且行車記錄器2進入睡眠模 式前一刻才停止記錄資料。一但行車記錄器2被觸發又進 入工作模式後,再進行資料記錄。每一工作模式期間,行 車記錄器2記錄的資料會形成連續資料,且對應工作模式 啟動時間而被記錄器控制模組22記錄形成一資料攔,故每 一資料攔對應一工作模式的運作時段,如圖5B,第一次進 入工作模式,行車記錄器2將記錄的資料形成資料攔1 (321),第二次進入工作模式,行車記錄器2將記錄的資 13 201118806 料形成資料攔2 (322)…,以此類推。 請參照圖6繪示之本發明實施例之回溯設定示意圖。 本實施例中,診斷設備11會將詢問的設備控制資料112形 成並儲存為一回溯設定111。回溯設定111包括的設備控制 資料112與學習動作資料41相對應,故行車記錄器2解除 與車用設備13之間的連結,並與診斷設備11再度相接後, 診斷設備11係利用回溯設定111讀取記錄資料庫32中的 設備回應資料132,供維修人員檢視與分析汽車故障處。 ® 舉例:診斷設備11詢問的設備控制資料112包括引擎轉 速,回溯設定111必記錄「引擎轉速」的設備控制資料112, 學習動作資料41亦包括「引擎轉速」的設備控制資料112。 此外,診斷設備11與行車記錄器2更分別配置有一人 機介面,供維修人員使用以輔助行車記錄器2學習診斷設 備11的詢問模式。例:診斷設備11的人機介面供維修人 員選取欲執行的設備控制資料112,及告知行車記錄器2 • 應學習的資料與學習時機,學習的資料亦包括對車用設備 13的初始化資料42。行車記錄器2的人機介面則供維修人 員根據學習時機以啟動相關的記錄功能。如此,配合診斷 設備11與行車記錄器2的人機介面,以形成行車記錄器2 自動或手動學習診斷設備11的詢問模式。 請參照圖7A繪示本發明實施例之行車記錄器2之記 錄動作學習方法之流程圖,請同時參照圖1至圖6以利於 了解。此方法適用於行車記錄器2,其連接於診斷設備11 14 201118806 與至少一車用設備13之間,學習方法包括: 提供一學習資料庫31 (步驟S110)。學習資料庫31用 以記錄複數種傳輸協定資料,包括K-LINE、Low CAN、 High CAN、PWM、VPW等種類的傳輸協定資料(Pr〇t〇c〇1) 的資料傳輸格式(Transmission Form)、傳輸鮑率(Baud rate )及各種資料格式所因應的電性線路的接腳數(pin Number) ° 鲁 和1供一傳輸模組21以電性輕接診斷設備11與至少一 車用設備13,診斷設備11與各車用設備13相互傳輸至少 一通信資料(步驟S120)。傳輸模組21包括一第一連接埠 211、-第二連接埠212與-傳輪線組213。傳輸線組213 包括複數個電性線路以連接第一連接埠2ιι與第二連接埠 212,第-連接埠211供診斷設備u電性她二連接 W以供車用設備13電性輕接,診斷設備u即透過 傳輸電性搞接至各車用設備13 (車用電腦亦可), # 且供沴斷设備11與車用設備I3之間值认 資料。 門傳輪-個以上的通信 分析傳輸模、组傳輸通信資料的電 輸協定資料中取得一目標傳輸協定資二 之 腳觸發細莫組221連接所有的電性^步驟_)。接 1 ^ ’並偵測各電性 線路的电流流動與電壓變化,以朽 、 故少T、s裡。。 出則述的目標電性線 路。多工選擇裔則將目標電性線路的接腳數 31的傳輸協定資料相輯,找出診_備1;、使用的目標 15 201118806 傳輸協定貢料。 根據目標傳輸協定資料取得診斷設備u與車用設備 13相互傳輸的通信資料,以記錄於學習資料庫31 (步驟 S140)。δ己錄器控制模、組22運作與學習的行為包括數種模 式·睡眠核式、初始化模式、工作模式、記錄模式與資料 回溯設定111杈式。然不論何種模式,通信資料的類型與 格式係相類似或相同。如圖3所示,通信資料包括目標傳 輸協定資料(Pr〇t〇co1)、標頭資料(HeadNode)、目標設備名 •稱(Target Address)、起始設備名稱(s〇urce Address)、服務 指令編碼(Service ID)、控制資料(parameters)與檢查碼 (CRC)。通彳§資料包括診斷模組傳輸至車用設備13的一個 以上的設備控制資料112,以及車用設備13回應的設備回 應資料132,記錄器控制模組22會依據目標傳輸協定資 料’將此等設備控制資料Π2及設備回應資料132建構為 學習動作資料41 (其仍符合通信資料的格式),並將此等 φ 學習動作資料41記錄於學習資料庫31。 其中’通信資料包括目標傳輸協定資料(Protocol)、標 頭資料(HeadNode)、目標設備名稱(Target Address)、起始 設備名稱(Source Address)、服務指令編碼(Service ID)、控 制資料(Parameters)與檢查碼(CRC)。 請參照圖7B繪示本發明實施例之行車記錄器之運作 流程圖,請同時參照圖1至圖6以利於了解。此方法包括 如下: 16 201118806 解除診斷設備11與行車記錄器2之間的連接(步驟 S210)。行車記錄器2解除與診斷設備11之間連接後,記 錄器控制模組22會運行於一睡眠模式與一工作模式之間。 在工作模式期間,記錄器控制模組22會利用學習資料 庫31記錄的通信資料以取得車用設備13傳輸的設備回應 資料132 (步驟S220)。記錄器控制模組22的工作模式包 括設備初始化作業、通信與記錄作業。 $ 當記錄器控制模組22受觸發進入工作模式,且車用設 備13需進行初始化作業時,記錄器控制模組22會從學習 料庫找出因應車用設備13的初始化資料42,以利用初始 化資料42對車用設備13作初始化作業,於完成初始化作 業時連接車用設備13。 記錄器控制模組22依照學習資料庫31記錄的學習動 作資料41 (即行車記錄器2從診斷設備11學習的對車用 設備13的設備控制資料112),不斷循環式的詢問相關的 ® 車用設備13的運作情形。反之,因應所取得的設備控制資 料112,車用設備13不斷回饋包括自身運作情形的設備回 應資料132至行車記錄器2。記錄器控制模組22會記錄設 備回應資料132至記錄資料庫32 (步驟S230)。 請參照圖7C繪示本發明實施例之行車記錄器之回溯 設定流程圖,請同時參照圖1至圖6以利於了解。此方法 包括如下: 連接診斷設備11與行車記錄器2 (步驟S310)。如圖 Γ 17 201118806 6,將診斷設備11與行車記錄器2再次連接,但可不連接 車用設備13。 診斷設備11利用一回溯設定111以讀取儲存於記錄資 料庫32的所有設備回應資料132 (步驟S320)。診斷設備 11會將詢問的設備控制資料112形成並儲存為一回溯設定 111。回溯設定111包括的設備控制資料112與學習動作資 料41相對應,故行車記錄器2解除與車用設備13之間的 連結,並與診斷設備11再度相接後,診斷設備11係利用 ® 回溯設定111讀取記錄資料庫32中的設備回應資料132, 供維修人員檢視與分析汽車故障處。 綜上所述,乃僅記載本發明為呈現解決問題所採用的 技術手段之實施方式或實施例而已,並非用來限定本發明 專利實施之範圍。即凡與本發明專利申請範圍文義相符, 或依本發明專利範圍所做的均等變化與修飾,皆為本發明 專利範圍所涵蓋。 【圖式簡單說明】 圖1 繪示先前技術之汽車診斷系統方塊示意圖; 圖2A所繪示本發明實施例之記錄動作學習系統之方塊示 意圖, 圖2B繪示本發明實施例之記錄動作學習系統之細部方塊 不意圖, 圖3繪示本發明實施例之學習動作資料示意圖之一例; 18 201118806 圖4繪示本發明實施例之初始化資料示意圖之一例; 圖5A繪示本發明實施例之通信資料格式示意圖; 圖5B繪示本發明實施例之通信資料記錄模式示意圖; 圖6繪示之本發明實施例之回溯設定示意圖; 圖7A繪示本發明實施例之行車記錄器2之記錄動作學習 方法之流程圖; 圖7B繪示本發明實施例之行車記錄器之運作流程圖;以及 圖7C繪示本發明實施例之行車記錄器之回溯設定流程圖。 【主要元件符號說明】 先前技術: 11 診斷設備 12 汽車診斷系統插座 13 車用設備 14 汽車網路 本發明: 11 診斷設備 111 回溯設定 112 設備控制資料 13 車用設備 132 設備回應資料 2 行車記錄器 21 傳輸模組 19 201118806 211 第一連接埠 212 第二連接槔 213 傳輸線組 22 記錄器控制模組 221 接腳觸發偵測模組 222 多工選擇模組 223 計算模組 31 學習資料庫 32 記錄貧料庫 321 資料棚1 322 資料棚2 41 學習動作資料 42 初始化資料 20In order to communicate with both devices. The service instruction code $3E refers to the constant communication (keep talking), that is, the inquiry data continuously sent by the initiating device to maintain the connection with the target device. The data of the constant communication data is the same and is continuously issued by the initiating device. 'When the recording inspection side group 22 continuously obtains the starting: := letter data' and the content of the communication data is the same; the data 'Landing starting equipment and The target monitor has completed the status, and the recorder control module 22 forms the electronic-initiated temple constant communication data of the aforementioned control single parameter (4) and the vehicle (four) preparation 13 into the corresponding vehicle equipment u / chemical bellows 42' and records it in the learning. In the database 31. Block (4) shows the _ real _ to remove the 11 of the 32. Driving Record 'Drive Recorder 2 Included - Recording Database According to Learning Materials: 3 J in addition to the connection with the diagnostic device 11 'and use the device 13, ,, 鸱: recorded learning action data 41 to ask relevant The vehicle data is recorded in a mode of operation between the communication type of the vehicle and the communication mode, and runs between a sleep mode and a work 10 201118806 mode: (Ο sleep mode: it includes several switches from the work mode In the operation mode to the sleep mode, first, the vehicle device 13 includes an ignition switch, and the device response data 132 transmitted by the ignition switch includes ignition control data. When the recorder control module 22 acquires the ignition control data of the recorder control module 22, And when the content of the ignition control data is "Ignition switch is turned on: IG-Off", the recorder control module 22 switches from the working mode to the sleep mode. Second, the vehicle device 13 recorder control module 22 is connected. At least one of the vehicle device 13 or the vehicle® computer, and the number is one or more, when the recorder control module 22 determines that the vehicle device 13 or the vehicle computer is not continuously transmitted and received. In any communication data, the recorder control module 22 switches from the sleep mode to the working mode. The purpose of the recorder control module 22 is that the driving recorder 2 is mainly powered by the power supply system of the automobile. The power is supplied by the oil-electric conversion system; when the car is stationary, the battery is powered by the car battery. If the car does not enter the sleep mode when the car is stationary, the driving recorder φ 2 will continue to consume the car battery power, so the car does not run for a while, driving The recorder 2 spontaneously enters the sleep mode to reduce the consumption of the vehicle battery power, so that the driving recorder 2 consumes the vehicle battery power and approaches zero power consumption. (2) Working mode: it includes several kinds of switching from the sleep mode to the working mode. In the operation, first, the vehicle equipment 13 includes an ignition switch, and the equipment response data 132 transmitted by the ignition switch includes ignition control data, and when the recorder control module 22 acquires the ignition control data of the recorder control module 22, and 11 201118806 When the content of the ignition control data is judged as "Ignition switch is on: IG_On", the recorder controls The module 22 switches from the sleep mode to the working mode. Second, the vehicle device 13 recorder control module 22 is connected to at least one of the vehicle device 13 or the vehicle computer, and the number is one or more. When the recorder control module 22 determines that the vehicle device 13 or the vehicle computer continuously transmits and receives any type of communication data, the recorder control module 22 switches from the sleep mode to the working mode. (3) The working mode includes the device initialization operation: driving After the recorder 2 is disconnected from the diagnostic device 11 and the recorder control module 22 is triggered to enter the working mode, the recorder control module 22 finds the initialization data of the vehicle device 13 from the learning library. 42. The initialization operation is performed on the vehicle equipment 13 by the initialization data 42, and the vehicle equipment 13 is connected when the initialization operation is completed. The operation description of the initialization data 42 has been described above. The starting device of the present embodiment is the driving recorder 2, and the generation device 11 issues the inquiring device control data 112, and the target device is the vehicle device φ13. Please refer to FIG. 4 at the same time for the understanding, and will not be described here. (4) The working mode includes communication and recording operations: Please refer to FIG. 5A for a schematic diagram of the communication data format of the embodiment of the present invention, and FIG. 5B is a schematic diagram of the communication data recording mode of the embodiment of the present invention. As shown in FIG. 5A, the recorder control module 22 continuously circulates the inquiry according to the learning action data 41 recorded by the learning database 31 (i.e., the device control data 112 of the vehicle device 13 learned by the driving recorder 11 from the diagnostic device 11). The operation of the relevant vehicle equipment 13 is as follows. On the contrary, in response to the acquired device control data 112, the vehicle 12 201118806 continuously feeds back the device response data 132 including its own operating conditions to the driving recorder 2, and the recorder control module 22 records the device response data 132 in the recorded data. Library 32. As shown in FIG. 5A, the service command issued by the driving recorder 2 is all $21, and the control data corresponding to the three service commands is "01, 02, 03", and the device response data 132 fed back by the vehicle device 13 restates the service command. However, the service command is encoded. In the present embodiment, the vehicle device 13 adds the service command to $40, and the control data content is not changed, and the information is returned to the driving recorder 2 as a restatement statement. However, it is not limited to the use of different modes of retelling syntax based on different transport protocol data. Each device control data 112 is responsive to more than one device response data 132 and is recorded in the record database 32 in accordance with the "question-answer" mode cycle. As shown in FIG. 5B, when the recorder control module 22 starts the working mode, the device control data 112 sent by the driving recorder 2 and the device response data 132 fed back by the vehicle device 13 are continuously recorded until the vehicle devices 13 are The car φ is stopped by the computer (the car is stationary), and the recording recorder 2 stops recording data just before entering the sleep mode. Once the driving recorder 2 is triggered and enters the working mode, data recording is performed. During each working mode, the data recorded by the driving recorder 2 forms continuous data, and is recorded by the recorder control module 22 to form a data block corresponding to the working mode starting time, so each data block corresponds to a working mode operation period. As shown in Fig. 5B, the first time enters the working mode, the driving recorder 2 forms the data block 1 (321), and enters the working mode for the second time. The driving recorder 2 will record the data 13 201118806 to form a data block 2 (322)..., and so on. Please refer to FIG. 6 for a schematic diagram of backtracking setting according to an embodiment of the present invention. In this embodiment, the diagnostic device 11 will form and store the interrogated device control data 112 as a traceback setting 111. The device control data 112 included in the retrospective setting 111 corresponds to the learning action data 41. Therefore, after the driving recorder 2 releases the connection with the vehicle device 13 and is again connected to the diagnostic device 11, the diagnostic device 11 uses the retroactive setting. 111 reads the device response data 132 in the record database 32 for the maintenance personnel to view and analyze the car fault. ® Example: The device control data 112 inquired by the diagnostic device 11 includes the engine speed. The backtracking setting 111 must record the device control data 112 of the "engine speed", and the learning action data 41 also includes the device control data 112 of the "engine speed". Further, the diagnostic device 11 and the drive recorder 2 are each provided with a personal interface for the maintenance personnel to use to assist the drive recorder 2 in learning the inquiry mode of the diagnostic device 11. For example, the human machine interface of the diagnostic device 11 is used by the maintenance personnel to select the device control data 112 to be executed, and to inform the driving recorder 2 that the information to be learned and the learning time, the learning data also includes the initialization data for the vehicle device 43. . The man-machine interface of the drive recorder 2 is used by the maintenance personnel to initiate the relevant recording function according to the learning time. Thus, the diagnostic device 11 is integrated with the human machine interface of the drive recorder 2 to form the drive recorder 2 to automatically or manually learn the inquiry mode of the diagnostic device 11. Referring to FIG. 7A, a flowchart of a method for learning the recording operation of the driving recorder 2 according to the embodiment of the present invention is provided. Please refer to FIG. 1 to FIG. 6 to facilitate understanding. The method is applicable to the driving recorder 2, which is connected between the diagnostic device 11 14 201118806 and the at least one vehicle device 13. The learning method comprises: providing a learning database 31 (step S110). The learning database 31 is used for recording a plurality of transmission protocol data, including K-LINE, Low CAN, High CAN, PWM, VPW, and the like, and a transmission form of the transmission protocol data (Pr〇t〇c〇1). , the Baud rate and the number of pins of the electrical line corresponding to the various data formats. The Lu and the 1 for a transmission module 21 electrically connect the diagnostic device 11 with at least one vehicle device. 13. The diagnostic device 11 and each of the vehicle devices 13 transmit at least one communication material to each other (step S120). The transmission module 21 includes a first connection port 211, a second connection port 212 and a transmission line group 213. The transmission line group 213 includes a plurality of electrical lines to connect the first connection 埠2 ι and the second connection 埠212, and the first connection port 211 is provided for the diagnostic device to electrically connect the W to the vehicle device 13 for electrical connection, diagnosis The device u is electrically connected to each of the vehicle devices 13 (the vehicle computer is also available), and the data is exchanged between the device 11 and the vehicle device I3. Door transmission wheel - more than one communication analysis transmission mode, group transmission communication data in the transmission agreement data to obtain a target transmission agreement, the second trigger group 221 connects all the electrical ^ step _). Connect 1 ^ ' and detect the current flow and voltage changes of each electrical line, so as to decay, so less T, s. . The target electrical line is described. The multiplexer selects the transmission agreement data of the target number of the electrical line 31 to find the diagnosis _ preparation 1; the target 15 201118806 transmission agreement tribute. The communication data transmitted between the diagnostic device u and the vehicle device 13 is obtained based on the target transmission protocol data for recording in the learning database 31 (step S140). The operation and learning behavior of the δ-recorder control mode and group 22 includes several modes, sleep mode, initialization mode, working mode, recording mode, and data traceback setting. Regardless of the mode, the type of communication data is similar or identical to the format. As shown in FIG. 3, the communication data includes target transmission protocol data (Pr〇t〇co1), header data (HeadNode), target device name (Target Address), starting device name (s〇urce Address), service. Instruction ID (service ID), control data (parameters) and check code (CRC). The data includes one or more device control data 112 transmitted by the diagnostic module to the vehicle device 13 and the device response data 132 that the vehicle device 13 responds to, and the recorder control module 22 will The device control data Π 2 and the device response data 132 are constructed as the learning action data 41 (which still conforms to the format of the communication data), and the φ learning action data 41 is recorded in the learning database 31. The 'communication data includes the target transmission protocol data (Protocol), header data (HeadNode), target device name (Target Address), starting device name (Source Address), service instruction code (Service ID), control data (Parameters) With check code (CRC). Referring to FIG. 7B, a flow chart of the operation of the driving recorder according to the embodiment of the present invention is provided. Please refer to FIG. 1 to FIG. 6 to facilitate understanding. The method includes the following: 16 201118806 The connection between the diagnostic device 11 and the drive recorder 2 is released (step S210). After the drive recorder 2 is disconnected from the diagnostic device 11, the recorder control module 22 operates between a sleep mode and an operational mode. During the operational mode, the recorder control module 22 utilizes the communication data recorded by the learning database 31 to obtain the device response data 132 transmitted by the vehicle device 13 (step S220). The mode of operation of the recorder control module 22 includes device initialization jobs, communication and recording jobs. When the recorder control module 22 is triggered to enter the working mode, and the vehicle device 13 needs to perform an initializing operation, the recorder control module 22 finds the initialization data 42 corresponding to the vehicle device 13 from the learning library to utilize The initialization data 42 performs an initialization operation on the vehicle equipment 13, and connects the vehicle equipment 13 when the initialization operation is completed. The recorder control module 22 continuously circulates the relevant® car in accordance with the learning action data 41 recorded by the learning database 31 (i.e., the device control data 112 of the vehicle device 13 learned by the driving recorder 11 from the diagnostic device 11). The operation of the device 13 is used. On the contrary, in response to the acquired equipment control data 112, the vehicle equipment 13 continuously returns the equipment response data 132 including the operation of the vehicle to the driving recorder 2. The recorder control module 22 records the device response data 132 to the record database 32 (step S230). Referring to FIG. 7C, a flow chart of the backtracking setting of the driving recorder according to the embodiment of the present invention is shown. Please refer to FIG. 1 to FIG. 6 to facilitate understanding. The method includes the following: The diagnostic device 11 and the driving recorder 2 are connected (step S310). As shown in Fig. 17 201118806 6, the diagnostic device 11 is reconnected to the drive recorder 2, but the vehicle device 13 may not be connected. The diagnostic device 11 utilizes a traceback setting 111 to read all device response data 132 stored in the record repository 32 (step S320). The diagnostic device 11 will form and store the interrogated device control data 112 as a traceback setting 111. The device control data 112 included in the retrospective setting 111 corresponds to the learning action data 41. Therefore, after the driving recorder 2 releases the connection with the vehicle device 13 and is again connected to the diagnostic device 11, the diagnostic device 11 uses the ® backtracking The setting 111 reads the device response data 132 in the record database 32 for the maintenance personnel to view and analyze the car fault. In the above, it is merely described that the present invention is an embodiment or an embodiment of the technical means for solving the problem, and is not intended to limit the scope of the practice of the present invention. That is, the equivalent changes and modifications made in accordance with the scope of the patent application of the present invention or the scope of the invention are covered by the scope of the invention. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 1 is a block diagram showing a prior art automobile diagnostic system; FIG. 2A is a block diagram showing a recording action learning system according to an embodiment of the present invention, and FIG. 2B is a schematic diagram showing a recorded motion learning system according to an embodiment of the present invention; FIG. 3 is a schematic diagram showing an example of the learning action data according to the embodiment of the present invention; FIG. 3 is a schematic diagram of an initialization data according to an embodiment of the present invention; FIG. 5A is a schematic diagram of communication data according to an embodiment of the present invention; FIG. 5B is a schematic diagram of a communication data recording mode according to an embodiment of the present invention; FIG. 6 is a schematic diagram of a backtracking setting according to an embodiment of the present invention; FIG. 7A is a diagram showing a recording operation learning method of a driving recorder 2 according to an embodiment of the present invention; FIG. 7B is a flow chart showing the operation of the driving recorder according to the embodiment of the present invention; and FIG. 7C is a flow chart showing the backtracking setting of the driving recorder according to the embodiment of the present invention. [Main component symbol description] Previous technology: 11 Diagnostic equipment 12 Automotive diagnostic system socket 13 Vehicle equipment 14 Automotive network The present invention: 11 Diagnostic equipment 111 Retrospective setting 112 Equipment control data 13 Vehicle equipment 132 Equipment response data 2 Driving recorder 21 Transmission module 19 201118806 211 First connection port 212 Second connection port 213 Transmission line group 22 Recorder control module 221 Pin trigger detection module 222 Multiple selection module 223 Calculation module 31 Learning database 32 Record poor Library 321 Data shed 1 322 Data shed 2 41 Learning action data 42 Initialization data 20