TWI685266B - Vehicle network data sampling conversion method and system - Google Patents

Vehicle network data sampling conversion method and system Download PDF

Info

Publication number
TWI685266B
TWI685266B TW107138451A TW107138451A TWI685266B TW I685266 B TWI685266 B TW I685266B TW 107138451 A TW107138451 A TW 107138451A TW 107138451 A TW107138451 A TW 107138451A TW I685266 B TWI685266 B TW I685266B
Authority
TW
Taiwan
Prior art keywords
data
data table
signal
vehicle
differential
Prior art date
Application number
TW107138451A
Other languages
Chinese (zh)
Other versions
TW202017405A (en
Inventor
莊嶸騰
Original Assignee
財團法人車輛研究測試中心
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 財團法人車輛研究測試中心 filed Critical 財團法人車輛研究測試中心
Priority to TW107138451A priority Critical patent/TWI685266B/en
Application granted granted Critical
Publication of TWI685266B publication Critical patent/TWI685266B/en
Publication of TW202017405A publication Critical patent/TW202017405A/en

Links

Images

Landscapes

  • Traffic Control Systems (AREA)
  • Small-Scale Networks (AREA)

Abstract

本發明係一種車載網路資料取樣轉換方法,係由一車載主機執行,車載主機用於接收一原始訊號,並選擇原始訊號中的一個資料訊號,且根據選擇的資料訊號建立一資料表;車載主機進一步判斷原始訊號中是否還有尚未被選擇過的資料訊號,且當原始訊號中沒有尚未被選擇過的資料訊號時,以一第一時間序對應的資訊為基準,對其餘時間序對應的資訊執行差分取樣以產生一差分資料表後,壓縮並上傳差分資料表。本發明藉由執行差分取樣將資訊量大幅減少,如此一來,將可有效提高資料的壓縮率,降低資料量,避免資訊傳送的延遲。The invention is a vehicle network data sampling conversion method, which is executed by a vehicle host, which is used to receive an original signal and select a data signal in the original signal, and create a data table according to the selected data signal; vehicle The host further determines whether there is a data signal that has not been selected in the original signal, and when there is no data signal that has not been selected in the original signal, the information corresponding to a first time sequence is used as a reference After performing differential sampling to generate a differential data table, the information is compressed and uploaded to the differential data table. The invention greatly reduces the amount of information by performing differential sampling. In this way, the compression rate of data can be effectively improved, the amount of data can be reduced, and the delay of information transmission can be avoided.

Description

車載網路資料取樣轉換方法及系統Vehicle network data sampling conversion method and system

本發明涉及一種車載網路資料取樣轉換方法及系統,尤指一種提高資料壓縮率的車載網路資料取樣轉換方法及系統。 The invention relates to a vehicle network data sampling conversion method and system, in particular to a vehicle network data sampling conversion method and system for improving data compression ratio.

多個電子裝置之間的溝通是透過資料的相互傳送來達成的,而在資料傳送的過程中,由於各種軟硬體技術限制,只能在有限的速度下進行資料的傳送。 Communication between multiple electronic devices is achieved through the mutual transmission of data. In the process of data transmission, due to the limitations of various hardware and software technologies, data can only be transmitted at a limited speed.

因此在電腦科學和資訊理論中,發展出了一種資料壓縮的技術,實現在有限的速度下傳送更多資料的目的。資料壓縮指的是將資料按照特定的編碼機制,用比未經編碼前少的資料量表示資訊的過程。簡單來說,就是通過特定的編碼機制將原始資料的資料量壓縮,藉此減少資料量。常見的例子是ZIP檔案格式,此格式不僅僅提供壓縮功能,還可作為歸檔工具,能夠將許多檔案儲存到同一個檔案中。 Therefore, in computer science and information theory, a data compression technology has been developed to achieve the purpose of transmitting more data at a limited speed. Data compression refers to the process of representing information according to a specific encoding mechanism and using less data than before encoding. To put it simply, the data volume of the original data is compressed through a specific coding mechanism, thereby reducing the data volume. A common example is the ZIP file format, which not only provides compression, but also serves as an archiving tool that can store many files into the same file.

然而,隨著科技發展,現在的資料量越來越大,例如高畫質的數位影音檔,而現有的資料壓縮方法已經不足以將資料壓縮至能夠順利不延遲傳送的程度,因此傳送資料的時間就會過長,導致資訊傳送的延遲,讓使用者必須空等,等到資料傳送完畢後才能繼續使用電子裝置執行後續功能。 However, with the development of technology, the amount of data is becoming larger and larger, such as high-quality digital audio and video files, and the existing data compression methods are not enough to compress the data to the extent that it can be smoothly transmitted without delay. The time will be too long, resulting in a delay in the transmission of information, so that users must wait, and wait until the data transmission is completed before they can continue to use the electronic device to perform subsequent functions.

如美國專利US8010704B2揭示了一種用於車載CAN(Controller Area Network)資料的壓縮方法,其主要針對CAN Data進行編碼,並以Byte為單 位進行分群(Grouping),再針對每一Grouping進行相減後執行壓縮,但該前案仍存在以下問題: For example, the US patent US8010704B2 discloses a compression method for in-vehicle CAN (Controller Area Network) data, which mainly encodes CAN Data and uses Byte as a single Grouping (Biting), and then performing subtraction for each Grouping to perform compression, but the previous case still has the following problems:

1.僅能針對CAN資料進行壓縮,無法應用於光學雷達(Light Detection And Ranging;Lidar)資料壓縮。 1. It can only compress CAN data and cannot be used for optical radar (Light Detection And Ranging; Lidar) data compression.

2.由於資料須先以位元組(Byte)為單位進行Grouping後再壓縮,會增加處理器前置運算的複雜度。 2. Because the data must be grouped in bytes (Byte) and then compressed, it will increase the complexity of the processor's pre-calculation.

有鑑於現有的資料壓縮方法無法應用於光學雷達資料壓縮以及前置運算複雜的缺點,本發明提供一種車載網路資料取樣轉換方法及系統,可提高應用於光學雷達資料並可降低前置運算的複雜度。 In view of the shortcomings of the existing data compression method that cannot be applied to optical radar data compression and complex pre-calculation, the present invention provides a vehicle network data sampling conversion method and system, which can improve the application of optical radar data and reduce the pre-calculation the complexity.

該車載網路資料取樣轉換方法包含有以下步驟:接收一原始訊號,其中該原始訊號係一光學雷達訊號;自該原始訊號中選擇其中一個資料訊號;根據選擇的該資料訊號建立一資料表,更包含以下子步驟:根據選擇的該資料訊號,建立對應選擇的該資料訊號中的一時間資訊的一距離資料表及一反射量資料表;判斷該原始訊號中是否還有尚未被選擇過的資料訊號;當該原始訊號中還有尚未被選擇過的資料訊號時,自該原始訊號中選擇另一個尚未被選擇過的資料訊號;當該原始訊號中沒有尚未被選擇過的資料訊號時,以一第一時間序對應的資訊為基準,對其餘時間序對應的資訊執行差分取樣後,以產生一差分資料表,並壓縮該差分資料表後,上傳壓縮後的該差分資料表, 其中當該原始訊號中沒有尚未被選擇過的資料訊號時,係先對該距離資料表及該反射量資料表分別執行離散餘弦轉換,接著再以該第一時間序對應的時間資訊對應的該距離資料表及該反射量資料表為基準,對其餘時間序對應的時間資訊對應的該距離資料表及該反射量資料表執行差分取樣,以產生取樣後的一距離差分資料表及取樣後的一反射量差分資料表,且壓縮並上傳取樣後的該距離差分資料表及取樣後的該反射量差分資料表。 The vehicle network data sampling and conversion method includes the following steps: receiving an original signal, wherein the original signal is an optical radar signal; selecting one of the data signals from the original signal; creating a data table based on the selected data signal, It further includes the following sub-steps: according to the selected data signal, create a distance data table and a reflection data table corresponding to the time information in the selected data signal; determine whether there are still unselected ones in the original signal Data signal; when there is a data signal that has not been selected in the original signal, select another data signal that has not been selected from the original signal; when there is no data signal in the original signal that has not been selected, Based on the information corresponding to the first time series, performing differential sampling on the information corresponding to the remaining time series to generate a differential data table, and after compressing the differential data table, upload the compressed differential data table, When there is no data signal that has not been selected in the original signal, discrete cosine conversion is performed on the distance data table and the reflection data table first, and then the corresponding time information corresponding to the time information in the first time sequence is used. Based on the distance data table and the reflection data table, perform differential sampling on the distance data table and the reflection data table corresponding to the time information corresponding to the rest of the time series to generate a sampled distance differential data table and the sampled A reflection difference data table, and the distance difference data table after sampling and the reflection difference data table after sampling are compressed and uploaded.

該車載網路資料取樣轉換系統包含有一車用匯流排、一車載主機及一網路模組。 The vehicle network data sampling and conversion system includes a vehicle bus, a vehicle host and a network module.

該車用匯流排連接至一控制器區域網路,接收一原始資料。 The vehicle bus is connected to a controller area network and receives a raw data.

該車載主機連接至該車用匯流排,以接收該原始資料,並自該原始訊號中選擇其中一個資料訊號;其中該車載主機根據選擇的該資料訊號建立一資料,並判斷該原始訊號中是否還有尚未被選擇過的資料訊號。當該原始訊號中還有尚未被選擇過的資料訊號時,該車載主機自該原始訊號中選擇另一個尚未被選擇過的資料訊號。當該原始訊號中沒有尚未被選擇過的資料訊號時,該車載主機以一第一時間序對應的資訊為基準,對其餘時間序對應的資訊執行差分取樣以產生一差分資料表後,壓縮該差分資料表。 The vehicle-mounted host is connected to the vehicle bus to receive the original data and select one of the data signals from the original signal; wherein the vehicle-mounted host creates a data according to the selected data signal and determines whether the original signal There are also data signals that have not been selected. When there is a data signal that has not yet been selected in the original signal, the vehicle-mounted host selects another data signal that has not been selected from the original signal. When there is no data signal that has not been selected in the original signal, the vehicle-mounted host performs differential sampling on the information corresponding to the first time sequence to generate a differential data table based on the information corresponding to the first time sequence to generate a differential data table. Difference data sheet.

該網路模組連接至該車載主機,且該車載主機於壓縮該差分資料表後,通過該網路模組上傳該差分資料表至一雲端伺服器。 The network module is connected to the vehicle host, and after the vehicle host compresses the differential data table, the differential data table is uploaded to a cloud server through the network module.

由於本發明的車載網路資料取樣轉換方法及系統在壓縮資料前,係先以該第一時間序對應的資訊為基準,對其餘時間序對應的資訊執行差分取樣後,再壓縮並上傳該差分資料表,而透過差分取樣後的資訊量將大幅減少,如此一來,將可有效提高資料的壓縮率,降低前置運算的複雜度,避免資訊傳送的延遲。此外,本發明亦可應用於光學雷達資料。 Because the method and system for sampling and conversion of vehicle network data of the present invention compresses the data, the information corresponding to the first time sequence is used as a reference, differential sampling is performed on the information corresponding to the remaining time sequence, and then the difference is compressed and uploaded The data table, and the amount of information after differential sampling will be greatly reduced. In this way, it will effectively improve the data compression rate, reduce the complexity of pre-calculation, and avoid the delay of information transmission. In addition, the present invention can also be applied to optical radar data.

11‧‧‧車載主機 11‧‧‧ Car host

12‧‧‧車用匯流排 12‧‧‧Bus bus

13‧‧‧網路模組 13‧‧‧Network Module

14‧‧‧控制器區域網路 14‧‧‧Controller Area Network

15‧‧‧光學雷達 15‧‧‧ optical radar

20‧‧‧雲端伺服器 20‧‧‧ cloud server

400‧‧‧控制器區域網路訊號 400‧‧‧Controller area network signal

401‧‧‧資料訊號 401‧‧‧Data signal

4011‧‧‧內容訊號 4011‧‧‧Content signal

500‧‧‧識別資料表 500‧‧‧Identification data sheet

600‧‧‧內容資料表 600‧‧‧Content Data Sheet

600a‧‧‧內容差分資料表 600a‧‧‧content difference data table

900‧‧‧光學雷達訊號 900‧‧‧ optical radar signal

901‧‧‧資料訊號 901‧‧‧Data signal

9011‧‧‧內容資訊 9011‧‧‧Content information

9012‧‧‧方向角內容資訊 9012‧‧‧Direction content information

1000‧‧‧距離資料表 1000‧‧‧Distance data table

1100‧‧‧反射量資料表 1100‧‧‧Reflectance data sheet

1000a、1000b、1000c‧‧‧轉換成頻域的距離差分資料表 1000a, 1000b, 1000c ‧‧‧ distance difference data table converted into frequency domain

圖1係本發明車載網路資料取樣轉換方法第一較佳實施例之流程示意圖。 FIG. 1 is a schematic flowchart of a first preferred embodiment of a method for sampling and converting vehicle network data according to the present invention.

圖2係本發明車載網路資料取樣轉換方法第二較佳實施例之流程示意圖。 FIG. 2 is a schematic flowchart of a second preferred embodiment of a method for sampling and converting vehicle network data according to the present invention.

圖3係本發明車載網路資料取樣轉換系統之方塊示意圖。 FIG. 3 is a block diagram of the vehicle network data sampling and conversion system of the present invention.

圖4係本發明車載網路資料取樣轉換方法第二較佳實施例之控制器區域網路訊號及內容資訊的格式示意圖。 FIG. 4 is a schematic diagram of the format of the controller area network signal and content information of the second preferred embodiment of the vehicle network data sampling conversion method of the present invention.

圖5係本發明車載網路資料取樣轉換方法第二較佳實施例之識別資料表的格式示意圖。 FIG. 5 is a schematic diagram of the format of the identification data table of the second preferred embodiment of the vehicle network data sampling conversion method of the present invention.

圖6係本發明車載網路資料取樣轉換方法第二較佳實施例之內容資料表的格式示意圖。 FIG. 6 is a format diagram of a content data table of the second preferred embodiment of the vehicle network data sampling and conversion method of the present invention.

圖7係本發明車載網路資料取樣轉換方法第二較佳實施例之內容差分資料表的格式示意圖。 FIG. 7 is a format diagram of a content differential data table of the second preferred embodiment of the vehicle network data sampling conversion method of the present invention.

圖8係本發明車載網路資料取樣轉換方法第三較佳實施例之流程示意圖。 FIG. 8 is a schematic flowchart of a third preferred embodiment of a method for sampling and converting vehicle network data according to the present invention.

圖9係本發明車載網路資料取樣轉換方法第三較佳實施例之光學雷達訊號、內容資訊及方向角內容資訊的格式示意圖。 9 is a schematic diagram of the format of the optical radar signal, content information and direction angle content information of the third preferred embodiment of the vehicle network data sampling conversion method of the present invention.

圖10係本發明車載網路資料取樣轉換方法第三較佳實施例之距離資料表的格式示意圖。 10 is a schematic diagram of a format of a distance data table of a third preferred embodiment of a method for sampling and converting vehicle network data according to the present invention.

圖11係本發明車載網路資料取樣轉換方法第三較佳實施例之反射量資料表的格式示意圖。 FIG. 11 is a schematic diagram of a reflection data table format of the third preferred embodiment of the vehicle network data sampling conversion method of the present invention.

圖12係本發明車載網路資料取樣轉換方法第三較佳實施例之其中一距離資料表的格式示意圖。 12 is a schematic diagram of a format of a distance data table in the third preferred embodiment of the method for sampling and conversion of vehicle network data according to the present invention.

圖13係本發明車載網路資料取樣轉換方法第三較佳實施例之經離散餘弦轉換後的距離差分資料表的格式示意圖。 13 is a schematic diagram of the format of a distance difference data table after discrete cosine conversion according to the third preferred embodiment of the vehicle network data sampling conversion method of the present invention.

以下配合圖式及本發明之較佳實施例,進一步闡述本發明為達成預定發明目的所採取的技術手段。 In the following, in conjunction with the drawings and preferred embodiments of the present invention, the technical means adopted by the present invention to achieve the intended purpose of the invention will be further described.

請參閱圖1所示,本發明係一種車載網路資料取樣轉換方法,該車載網路資料取樣轉換方法的一第一較佳實施例係包含有以下步驟:接收一原始訊號(S101);自該原始訊號中選擇其中一個資料訊號(S102);根據選擇的該資料訊號建立一資料表(S103);判斷該原始訊號中是否還有尚未被選擇過的資料訊號(S104);當該原始訊號中還有尚未被選擇過的資料訊號時,自該原始訊號中選擇另一個尚未被選擇過的資料訊號(S105);當該原始訊號中沒有尚未被選擇過的資料訊號時,以一第一時間序對應的資訊為基準,對其餘時間序對應的資訊執行差分取樣以產生一差分資料表後(S106),壓縮該差分資料表(S107),並上傳該差分資料表(S108)。 Referring to FIG. 1, the present invention is a vehicle network data sampling conversion method. A first preferred embodiment of the vehicle network data sampling conversion method includes the following steps: receiving an original signal (S101); Select one of the data signals from the original signal (S102); create a data table based on the selected data signal (S103); determine whether there is a data signal that has not been selected in the original signal (S104); when the original signal If there is a data signal that has not yet been selected, select another data signal that has not been selected from the original signal (S105); when there is no data signal that has not yet been selected in the original signal, a first After the information corresponding to the time series is used as a reference, after performing differential sampling on the information corresponding to the remaining time series to generate a differential data table (S106), the differential data table is compressed (S107), and the differential data table is uploaded (S108).

由於本發明的車載網路資料取樣轉換方法在壓縮資料前,係先以該第一時間序對應的資訊為基準,對其餘時間序對應的資訊執行差分取樣後,再壓縮並上傳該差分資料表,而透過差分取樣後的資訊量將大幅減少,如此一來,將可有效提高資料的壓縮率,降低前置運算的複雜度,避免資訊傳送的延遲。 Since the data sampling and conversion method of the vehicle network of the present invention compresses the data, the information corresponding to the first time series is used as a reference, after performing differential sampling on the information corresponding to the remaining time series, and then compressing and uploading the differential data table The amount of information after differential sampling will be greatly reduced. In this way, the data compression rate can be effectively improved, the complexity of pre-calculation can be reduced, and the delay of information transmission can be avoided.

在本較佳實施例中,本發明的車載網路資料取樣轉換方法主要是由一車載主機所執行,用於壓縮車載資料,提高車載資料的壓縮率,增加車載主機上傳車載資料至雲端伺服器的速率。此外,在壓縮該差分資料表(S107)的步驟中,該差分資料表是由霍夫曼(Huffman)編碼、算數(Arithmetic)編碼、符 號(Symbol)編碼或碼書(Codebook)編碼等技術壓縮資料,以將該差分資料表的二位元資料進行編碼的。 In the preferred embodiment, the on-vehicle network data sampling and conversion method of the present invention is mainly executed by an on-board host, which is used to compress the on-board data, increase the compression ratio of the on-board data, and increase the on-board host to upload the on-board data to the cloud server s speed. In addition, in the step of compressing the difference data table (S107), the difference data table is encoded by Huffman (Huffman), arithmetic (Arithmetic), Number (Symbol) coding or codebook (Codebook) coding and other technologies to compress data to encode the two-bit data of the differential data table.

舉例來說,該原始資料為[y 1 y 2 y 3y n ] T ,其中第一時間序對應的資訊為[y 1] T ,而差分取樣後的資料為[y 1 y 2-y 1 y 3-y 2y n -y n-1] T ,且由於資料量y t -y t-1<<y t ,因此經過差分取樣後的資料量將大幅減少,藉此有效提高資料的壓縮率,降低資料量,避免資訊傳送的延遲。例如原始資料為[10000 10005 10006 10010 10012] T ,差分取樣後的資料為[10000 5 1 4 2] T For example, the original data is [ y 1 y 2 y 3y n ] T , where the information corresponding to the first time series is [ y 1 ] T , and the data after differential sampling is [ y 1 y 2 - y 1 y 3 - y 2y n - y n -1 ] T , and because the amount of data y t - y t -1 << y t , the amount of data after differential sampling will be greatly reduced, thereby effectively improving the data The compression ratio reduces the amount of data and avoids the delay of information transmission. For example, the original data is [10000 10005 10006 10010 10012] T , and the data after differential sampling is [10000 5 1 4 2] T.

請參閱圖2所示,該車載網路資料取樣轉換方法的一第二較佳實施例係與該第一實施例的步驟相同,但在本較佳實施例中,該原始訊號係一控制器區域網路(Controller Area Network)訊號。且在根據選擇的該資料訊號建立該資料表(S103)的步驟中,進一步包含有以下子步驟:解碼選擇的該資料訊號中的一識別資訊(S2031);判斷解碼後的該識別資訊是否有紀錄在一識別資料表中(S2032);當解碼後的該識別資訊有紀錄在該識別資料表中時,選擇解碼後的該識別資訊對應的一內容資料表(S2033),並將選擇的該資料訊號中的一時間資訊及一內容資訊儲存在選擇的該內容資料表中(S2034);當解碼後的該識別資訊沒有紀錄在該識別資料表中時,將解碼後的該識別資訊儲存在該識別資料表中,並建立對應解碼後的該識別資訊的新的內容資料表,且選擇新建立的內容資料表後(S2035),將選擇的該資料訊號中的時間資訊及內容資訊儲存在選擇的該內容資料表中(S2034)。 Please refer to FIG. 2, a second preferred embodiment of the vehicle network data sampling conversion method is the same as the first embodiment, but in this preferred embodiment, the original signal is a controller Area network (Controller Area Network) signal. And in the step of creating the data table based on the selected data signal (S103), it further includes the following sub-steps: decoding a piece of identification information in the selected data signal (S2031); judging whether the decoded identification information has Record in an identification data table (S2032); when the decoded identification information is recorded in the identification data table, select a content data table corresponding to the decoded identification information (S2033), and select the selected The time information and content information in the data signal are stored in the selected content data table (S2034); when the decoded identification information is not recorded in the identification data table, the decoded identification information is stored in In the identification data table, a new content data table corresponding to the decoded identification information is created, and after selecting the newly created content data table (S2035), the time information and content information in the selected data signal are stored in The selected content data table (S2034).

此外,在本較佳實施例中,於當該原始訊號中沒有尚未被選擇過的資料訊號時,以一第一時間序對應的資訊為基準,對其餘時間序對應的資訊執行差分取樣以產生一差分資料表後(S106)的步驟中,是產生一內容差分資 料表,並於產生該內容差分資料表後,壓縮該內容差分資料表(S207),並上傳該識別資料表及該內容差分資料表(S208)。 In addition, in the preferred embodiment, when there is no data signal that has not been selected in the original signal, the information corresponding to a first time sequence is used as a reference, and differential sampling is performed on the information corresponding to the remaining time sequence to generate After a difference data table (S106), a content difference data is generated After generating the content differential data table, the content differential data table is compressed (S207), and the identification data table and the content differential data table are uploaded (S208).

請參閱圖3所示,本發明車載網路資料取樣轉換方法的第二較佳實施例是由一車載網路資料取樣轉換系統所執行,該車載網路資料取樣轉換系統包含有一車載主機11、一車用匯流排12及一網路模組13。該車載主機11透過該車用匯流排12連接到一控制器區域網路14,以接收該控制器區域網路訊號。該車載主機11用於執行該車載網路資料取樣轉換方法,且透過該網路模組13將該差分資料表上傳至一雲端伺服器20。 Referring to FIG. 3, the second preferred embodiment of the vehicle network data sampling and conversion method of the present invention is executed by a vehicle network data sampling and conversion system. The vehicle network data sampling and conversion system includes a vehicle host 11, A bus 12 for vehicles and a network module 13. The vehicle-mounted host 11 is connected to a controller area network 14 through the vehicle bus 12 to receive the controller area network signal. The in-vehicle host 11 is used to execute the in-vehicle network data sampling conversion method, and upload the differential data table to a cloud server 20 through the network module 13.

舉例來說,請進一步參閱圖4所示,該控制器區域網路訊號400係包含有複數資料訊號401,而各個資料訊號中分別包含有一時間資訊、一識別資訊、一長度資訊及一內容資訊4011。且該內容資訊4011中係由複數個內容資訊所構成,例如包含有一第0內容資訊、一第1內容資訊、一第2內容資訊、...、一第n內容資訊等。 For example, please further refer to FIG. 4, the controller area network signal 400 includes a plurality of data signals 401, and each data signal includes a time information, an identification information, a length information and a content information 4011. And the content information 4011 is composed of a plurality of content information, for example, includes a 0th content information, a 1st content information, a 2nd content information, ..., a nth content information.

當該車載主機11接收到該控制器區域網路訊號400,並自該控制器區域網路訊號400中選擇其中一個資料訊號401時,該車載主機11先解碼該資料訊號401中的識別資訊,並判斷該識別資訊是否有紀錄在該識別資料表中。該識別資料表500如圖5所示,記錄有各個識別資訊的內容(CID 0CID 1CID 2、...)與其對應的長度資訊的內容(DLC 0DLC 1DLC 2、...)。而該識別資訊代表的是各個該控制器區域網路中的各個控制器的識別碼,也就是供該車載主機11判斷接下來的資料是由哪一個控制器所產生的。因此,當該車載主機11判斷該識別資訊有記錄在該識別資料表500中時,即是代表該識別資訊是已經被辨識過的控制器產生的,且已經有其對應的資料被記錄起來了。接著,該車載主機11選擇該識別資訊對應的內容資料表,並將選擇的該資料訊號中的時間資訊及內容資訊儲存在選擇的該內容資料表中。 When the vehicle host 11 receives the controller local area network signal 400 and selects one of the data signals 401 from the controller local area network signal 400, the vehicle host 11 first decodes the identification information in the data signal 401, And judge whether the identification information is recorded in the identification data table. The identification data table 500, as shown in FIG. 5, records the content of each identification information ( CID 0 , CID 1 , CID 2 , ...) and the content of the corresponding length information ( DLC 0 , DLC 1 , DLC 2 ,). ..). The identification information represents the identification codes of each controller in each controller area network, that is, the vehicle-mounted host 11 determines which controller generated the next data. Therefore, when the vehicle-mounted host 11 judges that the identification information is recorded in the identification data table 500, it means that the identification information is generated by the controller that has been identified, and its corresponding data has been recorded. . Then, the vehicle-mounted host 11 selects the content data table corresponding to the identification information, and stores the time information and content information in the selected data signal in the selected content data table.

舉例來說,當該車載主機11判斷該識別資訊為CID 0時,由於CID 0已經被記錄在該識別資料表500中,因此該車載主機11便直接選擇識CID 0對應的內容資料表,如圖6所示,CID 0對應的該內容資料表600中已經記錄過CID 0對應的控制器之前產生的資料,例如該時間資訊(Timestamp 0)及該內容資訊(Data 00~Data 07)。因此該車載主機11便可直接將這一次接收到的該資料訊號101中對應CID 0的時間資訊(Timestamp n )及內容資訊(Data n0~Data n7)儲存入該內容資料表600中。 For example, when the vehicle-mounted host 11 determines that the identification information is CID 0 , since CID 0 has been recorded in the identification data table 500, the vehicle-mounted host 11 directly selects the content data table corresponding to the CID 0 , such as As shown in FIG. 6, CID 0 corresponding to the content information table 600 is already generated previously recorded information through a corresponding control CID 0, for example, the time information (Timestamp 0) and the content information (data 00 ~ data 07). Therefore, the vehicle-mounted host 11 can directly store the time information ( Timestamp n ) and content information ( Data n 0 ~ Data n 7 ) corresponding to CID 0 in the data signal 101 received this time into the content data table 600.

而當該車載主機11判斷該識別資訊沒有記錄在該識別資料表中時,即是代表該識別資訊是已經尚未辨識過的控制器產生的,也就是說,並沒有其對應的資料被記錄過。因此,該車載主機11先將選擇的該資料訊號中的該識別資訊及該長度資訊儲存在該識別資料表中,例如CID n DLC n ,並建立對應解碼後的該識別資訊的新的內容資料表600,且選擇新建立的內容資料表600後,將選擇的該資料訊號中的一時間資訊(Timestamp 0)及一內容資訊(Data 00~Data 07)作為第一筆資料儲存在選擇的該內容資料表600中,也就是對應CID n 的新建立的內容資料表600。 When the vehicle-mounted host 11 determines that the identification information is not recorded in the identification data table, it means that the identification information is generated by the controller that has not been identified, that is, no corresponding data has been recorded. . Therefore, the vehicle-mounted host 11 first stores the identification information and the length information in the selected data signal in the identification data table, such as CID n and DLC n , and creates a new content corresponding to the decoded identification information Data table 600, and after selecting the newly created content data table 600, a time information ( Timestamp 0 ) and a content information ( Data 00 ~ Data 07 ) in the selected data signal are stored as the first data in the selected The content data table 600 corresponds to the newly created content data table 600 corresponding to CID n .

透過上述建立該些內容資料表600的方式,能夠將該原始資料轉換至以時間、空間與資料碼為基底的資料空間,藉此有效降低資料亂度。 Through the method of creating the content data tables 600 described above, the original data can be converted to a data space based on time, space, and data codes, thereby effectively reducing data disorder.

此外,該些內容資料表600中的資料是依照時間資訊的順序進行排列的。由於該控制器區域網路中的各個控制器產生的資料是依時間變化的,例如車速。而該內容資料表600中記錄的資料是對應到相同的控制器,因此將相同控制器產生的資料根據該時間資訊依時間順序進行排列,能夠清楚地將各個控制器的資料記錄下來。 In addition, the data in the content data tables 600 are arranged in the order of time information. Because the data generated by each controller in the controller area network changes with time, such as the speed of the vehicle. The data recorded in the content data table 600 corresponds to the same controller. Therefore, the data generated by the same controller is arranged in chronological order according to the time information, and the data of each controller can be clearly recorded.

進一步而言,當該車載主機11執行差分取樣時,能夠以第一時間序對應的資訊為基準,將其餘時間序對應的資訊進行差分後重新記錄下來, 藉此有效減少資料量。當該車載主機11執行差分取樣時,是以如圖6所示的內容資料表600為依據來執行的,例如圖6所示的內容資料表600中第一時間序對應的資料為時間資訊(Timestamp 0)及內容資訊(Data 00~Data 07),因此當對該內容資料表600執行差分取樣時,如圖7所示,是先將第一時間序對應的資料為時間資訊(Timestamp 0)及內容資訊(Data 00~Data 07)保留,並依序將其餘時間序的時間資訊(Timestamp 1~Timestamp 3)及內容資訊(Data 10~Data 37)執行差分取樣,以產生一內容差分資料表600a。 Further, when the vehicle-mounted host 11 performs differential sampling, the information corresponding to the first time series can be used as a reference, and the information corresponding to the remaining time series can be differentially recorded and then recorded again, thereby effectively reducing the amount of data. When the vehicle-mounted host 11 performs differential sampling, it is performed based on the content data table 600 shown in FIG. 6. For example, the data corresponding to the first time sequence in the content data table 600 shown in FIG. 6 is time information ( Timestamp 0 ) and content information ( Data 00 ~ Data 07 ), so when performing differential sampling on the content data table 600, as shown in FIG. 7, the data corresponding to the first time sequence is first time information ( Timestamp 0 ) And content information ( Data 00 ~ Data 07 ) are retained, and the remaining time sequence time information ( Timestamp 1 ~ Timestamp 3 ) and content information ( Data 10 ~ Data 37 ) are differentially sampled in order to generate a content differential data table 600a.

舉例來說,時間資訊差分資料為:Δt 1=Timestamp 1-Timestamp 0、Δt 2=Timestamp 2-Timestamp 1、...,而內容資訊的差分資料為:ΔD 10=Data 10-Data 00、ΔD 20=Data 20-Data 10、...。 For example, the differential data of time information is: Δ t 1 = Timestamp 1 - Timestamp 0 , Δ t 2 = Timestamp 2 - Timestamp 1 , ..., and the differential data of content information is: Δ D 10 = Data 10 - Data 00 , Δ D 20 = Data 20 - Data 10 , ....

請參閱圖8所示,該車載網路資料取樣轉換方法的一第三較佳實施例係與該第一實施例的步驟相同,但在本較佳實施例中該原始訊號係一光學雷達(Light Detection And Ranging)訊號。且在根據選擇的該資料訊號建立該資料表(S103)的步驟中,進一步包含有以下子步驟:根據選擇的該資料訊號,建立對應選擇的該資料訊號中的一時間資訊的一距離資料表及一反射量資料表(S8031)。 Please refer to FIG. 8, a third preferred embodiment of the vehicle network data sampling conversion method is the same as the first embodiment, but in this preferred embodiment, the original signal is an optical radar ( Light Detection And Ranging) signal. And in the step of creating the data table according to the selected data signal (S103), the method further includes the following sub-steps: according to the selected data signal, a distance data table corresponding to a time information in the selected data signal is created And a reflection data table (S8031).

此外,當該原始訊號中沒有尚未被選擇過的資料訊號時,係先對該距離資料表及該反射量資料表分別執行離散餘弦轉換(Discrete Cosine Transform)(S806),接著再以該第一時間序對應的時間資訊對應的該距離資料表及該反射量資料表為基準,對其餘時間序對應的時間資訊對應的該距離資料表及該反射量資料表執行差分取樣(S807),以產生取樣後的一距離差分資料表及取樣後的一反射量差分資料表,且壓縮並上傳取樣後的該距離差分資料表及取樣後的該反射量差分資料表(S808)、(S809)。 In addition, when there is no data signal in the original signal that has not been selected, discrete cosine transform (Discrete Cosine Transform) (S806) is performed on the distance data table and the reflection data table, and then the first The distance data table and the reflection amount data table corresponding to the time information corresponding to the time series are used as a reference, and differential sampling is performed on the distance data table and the reflection amount data table corresponding to the time information corresponding to the remaining time series (S807) to generate A distance difference data table after sampling and a reflection difference data table after sampling, and the distance difference data table after sampling and the reflection difference data table after sampling (S808), (S809) are compressed and uploaded.

請參閱圖3所示,本發明車載網路資料取樣轉換方法的第三較佳實施例同樣是由該車載網路資料取樣轉換系統所執行,且該車載網路資料取樣轉換系統進一步包含有一光學雷達15。該光學雷達15係產生該光學雷達訊號供該車載主機11接收,也就是說,該原始訊號係該光學雷達15產生的光學雷達訊號。在本較佳實施例中,該車載主機11用於執行該車載網路資料取樣轉換方法的第三較佳實施例,且透過該網路模組13將取樣並壓縮後的該距離差分資料表及取樣後的該反射量差分資料表上傳至該雲端伺服器20。 Referring to FIG. 3, the third preferred embodiment of the vehicle network data sampling and conversion method of the present invention is also executed by the vehicle network data sampling and conversion system, and the vehicle network data sampling and conversion system further includes an optical Radar 15. The optical radar 15 generates the optical radar signal for the vehicle-mounted host 11 to receive, that is, the original signal is the optical radar signal generated by the optical radar 15. In this preferred embodiment, the on-board host 11 is used to perform the third preferred embodiment of the on-vehicle network data sampling conversion method, and the distance differential data table after sampling and compression is sampled through the network module 13 And the sampled difference data table is uploaded to the cloud server 20.

舉例來說,請參閱圖9所示,該光學雷達訊號900係包含有複數資料訊號901,而各個資料訊號中分別包含有一時間資訊、一識別資訊、一長度資訊及一內容資訊9011。且該內容資訊9011中係由複數個方向角內容資訊9012所構成,例如包含有一第0方向角內容資訊、一第1方向角內容資訊、一第2方向角內容資訊、...、一第n方向角內容資訊等。且各該方向角內容資訊分別係由一旗標資訊、一方向角資訊、複數距離資訊及複數反射量資訊所構成,例如該第0方向角內容資訊包含一旗標資訊、一第0方向角資訊、第0層距離資訊、第0層反射量資訊、...、第m層距離資訊及第m層反射量資訊等。 For example, referring to FIG. 9, the optical radar signal 900 includes a plurality of data signals 901, and each data signal includes a time information, an identification information, a length information, and a content information 9011. And the content information 9011 is composed of a plurality of direction angle content information 9012, for example, including a 0th direction angle content information, a first direction angle content information, a second direction angle content information, ..., a first n Direction angle content information, etc. And each of the direction angle content information is composed of a flag information, a direction angle information, a complex distance information and a complex reflection amount information, for example, the 0th direction angle content information includes a flag information, a 0th direction angle Information, layer 0 distance information, layer 0 reflection information, ..., m layer distance information and m layer reflection information, etc.

當該車載主機11接收到該光學雷達訊號900時,由於每個內容資訊9011分別是由複數個方向角內容資訊9012所構成,因此該車載主機11先選擇其中一個內容資訊9011來進行處理,以產生如圖10所示的該距離資料表1000及如圖11所示的該反射量資料表1100。 When the car host 11 receives the optical radar signal 900, since each content information 9011 is composed of a plurality of directional angle content information 9012, the car host 11 first selects one of the content information 9011 to process, The distance data table 1000 shown in FIG. 10 and the reflection data table 1100 shown in FIG. 11 are generated.

以該距離資料表1000為例來說明,由於該內容資訊9001中包含有複數個方向角內容資訊9012,而各個方向角內容資訊9012分別代表不同方向角的資料,而各個方向角內容資訊9012又分別包含有各層的距離資訊及反射量資訊,因此單一個內容資訊9011就可分別建立出一個完整的距離資料表及一個完整的反射量資料表。例如在第0方向角內容資訊中,就包含有第0層距離資 訊、第1層距離資訊、...、第m層距離資訊、以及第0層反射量資訊、第1層反射量資訊、...、第m層反射量資訊。 Taking the distance data table 1000 as an example, the content information 9001 includes a plurality of direction angle content information 9012, and each direction angle content information 9012 represents data of different direction angles, and each direction angle content information 9012 and Contains the distance information and reflection information of each layer, so a single content information 9011 can create a complete distance data table and a complete reflection data table. For example, in the content information of the 0th direction angle, the distance information of the 0th layer is included. Information, layer 1 distance information, ..., m layer distance information, and layer 0 reflection information, layer 1 reflection information, ..., m layer reflection information.

因此在建立該距離資料表時,是以該距離資料的層數(layer)為縱軸,並以該距離資料的方向角為橫軸來建立的。舉例來說,該第0方向角內容資訊中的第0層距離資訊即是作為D 0,0被記錄在該距離資料表1000中,而該第0方向角內容資訊中的第15層距離資訊即是作為D 15,0被記錄在該距離資料表1000中,且該第364方向角內容資訊中的第15層距離資訊即是作為D 15,364被記錄在該距離資料表1000中。此外,由於一個內容資訊9011僅對應一個時間資訊,因此各個距離資料表1000是分別對應一個時間資訊t 0~t 2Therefore, when creating the distance data table, the layer of the distance data is used as the vertical axis, and the direction angle of the distance data is used as the horizontal axis. For example, the 0th layer distance information in the 0th direction angle content information is recorded as D 0,0 in the distance data table 1000, and the 15th layer distance information in the 0th direction angle content information That is, it is recorded in the distance data table 1000 as D 15,0 , and the 15th layer distance information in the 364th direction angle content information is recorded in the distance data table 1000 as D 15,364 . In addition, since one piece of content information 9011 corresponds to only one piece of time information, each distance data table 1000 corresponds to one piece of time information t 0 ~ t 2, respectively .

該反射量資料表1100建立的方式與該距離資料表1000建立的方式相同,在此不再贅述。 The reflection data table 1100 is created in the same way as the distance data table 1000, and will not be repeated here.

而當所有的資料訊號都被選擇過,且皆建立好其對應的距離資料表1000及反射量資料表1100時,該車載主機11還分別對各個的距離資料表1000及反射量資料表1100執行離散餘弦轉換,藉此將時域的資料轉換成頻域的資料。 When all the data signals have been selected and their corresponding distance data tables 1000 and reflection data tables 1100 are established, the vehicle-mounted host 11 also executes the distance data tables 1000 and reflection data tables 1100 respectively. Discrete cosine conversion, which transforms time-domain data into frequency-domain data.

在本較佳實施例中,離散餘弦轉換是根據以下公式計算的:

Figure 107138451-A0305-02-0012-2
In the preferred embodiment, the discrete cosine transformation is calculated according to the following formula:
Figure 107138451-A0305-02-0012-2

其中f(i,j)為做為輸入的該距離資料表1000或該反射量資料表1100中的各個資料。 Where f ( i , j ) is each data in the distance data table 1000 or the reflection data table 1100 as input.

舉例來說,請參閱圖12及圖13所示,由於距離資料表1000的最後一筆資料為D 15,364,因此N-1=15、M-1=364,而N=16、M=365,將N、M帶入 公式後,即可得到轉換成頻域的距離資料表1100a的各筆資料,例如最後一筆資料F 15,364即為:

Figure 107138451-A0305-02-0013-3
For example, please refer to FIG. 12 and FIG. 13, since the last data of the distance data table 1000 is D 15,364 , so N-1=15, M-1=364, and N=16, M=365, the After N and M are brought into the formula, each piece of data in the distance data table 1100a converted into the frequency domain can be obtained. For example, the last piece of data F 15,364 is
Figure 107138451-A0305-02-0013-3

如此一來,便可分別計算出轉換成頻域的距離資料表1100a的各筆資料F 0,0~F 15,364In this way, each piece of data F 0,0 ~ F 15,364 of the distance data table 1100a converted into the frequency domain can be calculated separately .

由於一個內容資訊9011僅對應一個時間資訊,且每個內容資訊9011分別能產生一個距離資料表1000及一個反射量資料表1100,因此,如圖10及圖11所示,各個距離資料表1000是分別對應一個時間資訊t 0~t 2,且各個反射量資料表1100也分別對應一個時間資訊t 0~t 2Since one piece of content information 9011 corresponds to only one piece of time information, and each piece of content information 9011 can generate a distance data table 1000 and a reflection data table 1100, respectively, as shown in FIGS. 10 and 11, each distance data table 1000 is Each corresponds to a piece of time information t 0 ~ t 2 , and each reflection data table 1100 also corresponds to a piece of time information t 0 ~ t 2 .

且由於各個距離資料表1000分別對應一個時間資訊t 0~t 2,因此,轉換成頻域的距離資料表1000a、1000b、1000c也是分別對應一個時間資訊t 0~t 2。如圖13所示,而當該車載主機11執行差分取樣時,該車載主機11是以第一時間序對應的時間資訊t 0對應的轉換成頻域的距離資料表1000a為基準,將其餘時間序對應的時間資訊t 1~t 2對應的轉換成頻域的距離資料表1000b、1000c進行差分後重新記錄下來,以產生轉換成頻域的距離差分資料表1000b、1000c,藉此有效減少資料量。 And since each distance data table 1000 corresponds to a piece of time information t 0 ~ t 2 , the distance data tables 1000a, 1000b, and 1000c converted into the frequency domain also correspond to a piece of time information t 0 ~ t 2, respectively . As shown in FIG. 13, when the vehicle-mounted host 11 performs differential sampling, the vehicle-mounted host 11 is based on the distance data table 1000a converted into the frequency domain corresponding to the time information t 0 corresponding to the first time sequence, and the remaining time The time information t 1 ~ t 2 corresponding to the sequence corresponds to the distance data tables 1000b and 1000c converted into the frequency domain, and then re-recorded to generate the distance difference data tables 1000b and 1000c converted into the frequency domain, thereby effectively reducing the data the amount.

舉例來說,對應時間資訊t 1的轉換成頻域的距離差分資料表1000b的資料ΔFa 0,0Fa N-1,M-1為:ΔFa 0,0=Fb 0,0-Fa 0,0、ΔFa 0,1=Fb 0,1-Fa 0,1、...。 For example, the data Δ Fa 0,0Fa N -1, M -1 corresponding to the time difference t 1 converted into the frequency domain distance difference data table 1000b is: Δ Fa 0,0 = Fb 0,0- Fa 0,0 , Δ Fa 0,1 = Fb 0,1 - Fa 0,1 ,...

此外,當該車載主機11執行差分取樣時,該車載主機11還可進一步判斷差分取樣後的距離差分資料表1000a以及差分取樣後的反射量差分資料表中的資料是否大於一臨界值。且當該車載主機11判斷差分取樣後的距離差 分資料表1000a以及差分取樣後的反射量差分資料表中的資料小於一臨界值時,該車載主機11將小於該臨界值紀錄為0,藉此進一步減少資料量。 In addition, when the vehicle-mounted host 11 performs differential sampling, the vehicle-mounted host 11 can further determine whether the data in the distance differential data table 1000a after the differential sampling and the data in the reflection differential data table after the differential sampling are greater than a critical value. And when the vehicle-mounted host 11 judges the distance difference after differential sampling When the data in the sub-data table 1000a and the differential data table after the differential sampling is less than a critical value, the vehicle-mounted host 11 will record 0 as the critical value, thereby further reducing the amount of data.

由於該光學雷達訊號900中每個內容資訊9011所代表的意義分別是一個透過光線掃描後的平面,因此能夠接受一定程度的失真且不會影響到後續的使用。也就是說,該車載主機11將小於該臨界值紀錄為0時,代表了平面中的小部分的資料將被刪除,且小於該臨界值的資料可能代表為雜訊或是一些微小的物件,因此藉由該車載主機11將小於該臨界值紀錄為0時,能夠在不影響到後續使用該些資料的前提下,進一步減少資料量。 Since the meaning of each content information 9011 in the optical radar signal 900 is a plane scanned by light, it can accept a certain degree of distortion and will not affect subsequent use. That is to say, when the vehicle-mounted host 11 records less than the critical value as 0, a small part of the data representing the plane will be deleted, and the data less than the critical value may represent noise or some tiny objects. Therefore, when the vehicle-mounted host 11 records less than the critical value as 0, the amount of data can be further reduced without affecting the subsequent use of the data.

綜上所述,本發明主要是透過將相關性資料以差分取樣,或是將資料以頻域基底來表示,並細部取樣重要訊息保留,如此一來,便無需紀錄或壓縮原始資料,藉此提高車載網路資料取樣轉換率,降低資料量。 In summary, the present invention is mainly through differential sampling of correlation data, or representing the data on a frequency domain basis, and detailed sampling of important information is retained, so that there is no need to record or compress the original data, thereby Improve the vehicle data sampling conversion rate and reduce the amount of data.

以上所述僅是本發明的較佳實施例而已,並非對本發明做任何形式上的限制,雖然本發明已以較佳實施例揭露如上,然而並非用以限定本發明,任何熟悉本專業的技術人員,在不脫離本發明技術方案的範圍內,當可利用上述揭示的技術內容作出些許更動或修飾為等同變化的等效實施例,但凡是未脫離本發明技術方案的內容,依據本發明的技術實質對以上實施例所作的任何簡單修改、等同變化與修飾,均仍屬於本發明技術方案的範圍內。 The above is only the preferred embodiment of the present invention, and does not limit the present invention in any form. Although the present invention has been disclosed in the preferred embodiment as above, it is not intended to limit the present invention. Anyone who is familiar with this technology Personnel, within the scope of not departing from the technical solution of the present invention, when the technical contents disclosed above can be used to make some modifications or modifications to equivalent embodiments of equivalent changes, but any content that does not depart from the technical solution of the present invention, according to the present invention Technical essence Any simple modifications, equivalent changes and modifications to the above embodiments still fall within the scope of the technical solution of the present invention.

Claims (2)

一種車載網路資料取樣轉換方法,包含有以下步驟:接收一原始訊號,其中該原始訊號係一光學雷達訊號;自該原始訊號中選擇其中一個資料訊號;根據選擇的該資料訊號建立一資料表,更包含以下子步驟:根據選擇的該資料訊號,建立對應選擇的該資料訊號中的一時間資訊的一距離資料表及一反射量資料表;判斷該原始訊號中是否還有尚未被選擇過的資料訊號;當該原始訊號中還有尚未被選擇過的資料訊號時,自該原始訊號中選擇另一個尚未被選擇過的資料訊號;當該原始訊號中沒有尚未被選擇過的資料訊號時,以一第一時間序對應的資訊為基準,對其餘時間序對應的資訊執行差分取樣以產生一差分資料表後,壓縮該差分資料表,並上傳壓縮後的該差分資料表,其中當該原始訊號中沒有尚未被選擇過的資料訊號時,係先對該距離資料表及該反射量資料表分別執行離散餘弦轉換,接著再以該第一時間序對應的時間資訊對應的該距離資料表及該反射量資料表為基準,對其餘時間序對應的時間資訊對應的該距離資料表及該反射量資料表執行差分取樣,以產生取樣後的一距離差分資料表及取樣後的一反射量差分資料表,且壓縮並上傳取樣後的該距離差分資料表及取樣後的該反射量差分資料表。 A vehicle network data sampling conversion method includes the following steps: receiving an original signal, wherein the original signal is an optical radar signal; selecting one of the data signals from the original signal; creating a data table based on the selected data signal , And further includes the following sub-steps: according to the selected data signal, create a distance data table and a reflection data table corresponding to the time information in the selected data signal; determine whether the original signal has not yet been selected Data signal; when there is a data signal that has not been selected in the original signal, select another data signal that has not been selected from the original signal; when there is no data signal in the original signal that has not been selected , Based on the information corresponding to a first time series, perform differential sampling on the information corresponding to the remaining time series to generate a differential data table, compress the differential data table, and upload the compressed differential data table, where the When there is no data signal that has not been selected in the original signal, discrete cosine conversion is performed on the distance data table and the reflection data table first, and then the distance data table corresponding to the time information corresponding to the first time sequence And the reflection data table as a reference, perform differential sampling on the distance data table and the reflection data table corresponding to the time information corresponding to the remaining time series to generate a sampled distance differential data table and a sampled reflection Difference data table, and compress and upload the sampled distance difference data table and the sampled reflection difference data table. 一種車載網路資料取樣轉換系統,包含有:一車用匯流排,連接至一控制器區域網路,接收一原始資料;一車載主機,連接至該車用匯流排,以接收該原始資料,並自該原始訊號中選擇其中一個資料訊號;其中該車載主機根據選擇的該資料訊號建立一資料表,並判斷該原始訊號中是否還有尚未被選擇過的資料訊號; 其中當該原始訊號中還有尚未被選擇過的資料訊號時,該車載主機自該原始訊號中選擇另一個尚未被選擇過的資料訊號;其中當該原始訊號中沒有尚未被選擇過的資料訊號時,該車載主機以一第一時間序對應的資訊為基準,對其餘時間序對應的資訊執行差分取樣以產生一差分資料表後,壓縮該差分資料表;一網路模組,連接至該車載主機;其中該車載主機於壓縮該差分資料表後,通過該網路模組上傳壓縮後的該差分資料表至一雲端伺服器;一光學雷達,連接至該車載主機;其中該原始訊號係該光學雷達產生的一光學雷達訊號;其中該車載主機在根據選擇的該資料訊號建立該資料表時,該車載主機進一步根據選擇的該資料訊號,建立對應選擇的該資料訊號中的一時間資訊的一距離資料表及一反射量資料表;其中當該原始訊號中沒有尚未被選擇過的資料訊號時,該車載主機係先對該距離資料表及該反射量資料表分別執行離散餘弦轉換,接著再以該第一時間序對應的時間資訊對應的該距離資料表及該反射量資料表為基準,對其餘時間序對應的時間資訊對應的該距離資料表及該反射量資料表執行差分取樣,以產生取樣後的一距離差分資料表及取樣後的一反射量差分資料表,且壓縮取樣後的該距離差分資料表及取樣後的該反射量差分資料表後,透過該網路模組上傳壓縮後的該距離差分資料表及取樣後的該反射量差分資料表至該雲端伺服器。 An on-vehicle network data sampling and conversion system includes: a bus for vehicle connected to a controller area network to receive a raw data; an on-board host connected to the bus for vehicle to receive the raw data, And select one of the data signals from the original signal; wherein the vehicle-mounted host creates a data table based on the selected data signal, and judges whether there is a data signal that has not been selected in the original signal; When there is a data signal that has not been selected in the original signal, the vehicle host selects another data signal that has not been selected from the original signal; where there is no data signal that has not been selected in the original signal At this time, the vehicle-mounted host uses the information corresponding to a first time sequence as a reference, performs differential sampling on the information corresponding to the remaining time sequence to generate a differential data table, and compresses the differential data table; a network module is connected to the Onboard host; wherein after compressing the differential data table, the onboard host uploads the compressed differential data table to a cloud server through the network module; an optical radar is connected to the onboard host; wherein the original signal is An optical radar signal generated by the optical radar; wherein when the vehicle host creates the data table based on the selected data signal, the vehicle host further creates a time information corresponding to the selected data signal according to the selected data signal A distance data table and a reflection data table; where there is no data signal that has not been selected in the original signal, the vehicle-mounted host first performs discrete cosine conversion on the distance data table and the reflection data table, Then, based on the distance data table and the reflection data table corresponding to the time information corresponding to the first time series, the distance data table and the reflection data table corresponding to the time information corresponding to the remaining time series are differentially sampled To generate a sampled distance difference data table and a sampled reflection difference data table, and after compressing the sampled distance difference data table and the sampled reflection difference data table, through the network module Upload the compressed differential distance data table and the reflected differential data table after sampling to the cloud server.
TW107138451A 2018-10-30 2018-10-30 Vehicle network data sampling conversion method and system TWI685266B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW107138451A TWI685266B (en) 2018-10-30 2018-10-30 Vehicle network data sampling conversion method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW107138451A TWI685266B (en) 2018-10-30 2018-10-30 Vehicle network data sampling conversion method and system

Publications (2)

Publication Number Publication Date
TWI685266B true TWI685266B (en) 2020-02-11
TW202017405A TW202017405A (en) 2020-05-01

Family

ID=70413129

Family Applications (1)

Application Number Title Priority Date Filing Date
TW107138451A TWI685266B (en) 2018-10-30 2018-10-30 Vehicle network data sampling conversion method and system

Country Status (1)

Country Link
TW (1) TWI685266B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5491685A (en) * 1994-05-19 1996-02-13 Digital Pictures, Inc. System and method of digital compression and decompression using scaled quantization of variable-sized packets
US20180241852A1 (en) * 2017-02-20 2018-08-23 Cisco Technology, Inc. Mixed qualitative, quantitative sensing data compression over a network transport

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5491685A (en) * 1994-05-19 1996-02-13 Digital Pictures, Inc. System and method of digital compression and decompression using scaled quantization of variable-sized packets
US20180241852A1 (en) * 2017-02-20 2018-08-23 Cisco Technology, Inc. Mixed qualitative, quantitative sensing data compression over a network transport

Also Published As

Publication number Publication date
TW202017405A (en) 2020-05-01

Similar Documents

Publication Publication Date Title
US8275897B2 (en) System and methods for accelerated data storage and retrieval
US10019458B2 (en) System and methods for accelerated data storage and retrieval
JP5826291B2 (en) Extracting and matching feature fingerprints from speech signals
WO2020024945A1 (en) Method and apparatus for determining timestamp
TW200529548A (en) Adaptive hybrid transform for signal analysis and synthesis
CN109147805B (en) Audio tone enhancement based on deep learning
CN104995675B (en) audio frame loss concealment
JP7123910B2 (en) Quantizer with index coding and bit scheduling
WO2023221674A1 (en) Audio encoding method, audio decoding method, and related product
US9886962B2 (en) Extracting audio fingerprints in the compressed domain
JP2023550211A (en) Method and apparatus for generating text
TWI685266B (en) Vehicle network data sampling conversion method and system
CN115426075A (en) Encoding transmission method of semantic communication and related equipment
US10949443B2 (en) Method and system for sampling and converting vehicular network data
WO2020024949A1 (en) Method and apparatus for determining timestamp
CN111163038A (en) Vehicle-mounted network data sampling conversion method and system
CN109194968B (en) Image compression sensing method fusing information source channel decoding
WO2022227212A1 (en) Federated learning-based speech representation model training method and apparatus, device, and medium
CN110944015B (en) Audio remote transmission method, device, server and storage medium
US11380343B2 (en) Systems and methods for processing high frequency audio signal
WO2018044649A1 (en) Multi-dimensional run-length encoding
WO2021139772A1 (en) Audio information processing method and apparatus, electronic device, and storage medium
EP4333432A1 (en) Encoding method and apparatus, decoding method and apparatus, device, storage medium and computer program
US20040125001A1 (en) Synchronous method and system for transcoding existing signal elements while providing a multi-resolution storage and transmission medium among reactive control schemes
CN207706324U (en) A kind of network video processing system of dsp processor