TW202017405A - Method and system for sampling and converting vehicular network data which can greatly reduce the amount of data by performing differential sampling - Google Patents
Method and system for sampling and converting vehicular network data which can greatly reduce the amount of data by performing differential sampling Download PDFInfo
- Publication number
- TW202017405A TW202017405A TW107138451A TW107138451A TW202017405A TW 202017405 A TW202017405 A TW 202017405A TW 107138451 A TW107138451 A TW 107138451A TW 107138451 A TW107138451 A TW 107138451A TW 202017405 A TW202017405 A TW 202017405A
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- data table
- signal
- sampling
- vehicle
- Prior art date
Links
Images
Landscapes
- Small-Scale Networks (AREA)
- Traffic Control Systems (AREA)
Abstract
Description
本發明涉及一種車載網路資料取樣轉換方法及系統,尤指一種提高資料壓縮率的車載網路資料取樣轉換方法及系統。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進行相減後執行壓縮,但該前案仍存在以下問題: 1.僅能針對CAN資料進行壓縮,無法應用於光學雷達(Light Detection And Ranging;Lidar)資料壓縮。 2.由於資料須先以位元組(Byte)為單位進行Grouping後再壓縮,會增加處理器前置運算的複雜度。For example, US Patent US8010704B2 discloses a compression method for in-vehicle CAN (Controller Area Network) data, which mainly encodes CAN Data, and performs grouping in byte units, and then performs subtraction for each grouping. Compression, but the previous case still has the following problems: 1. Only CAN data can be compressed, and it cannot be applied to optical radar (Light Detection And Ranging; Lidar) data compression. 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; selecting one of the data signals from the original signal; creating a data table based on the selected data signal; judging whether there is any unprocessed original signal 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 in the original signal that has not been selected In the signal, the information corresponding to the first time sequence is used as a reference, and differential sampling is performed on the information corresponding to the remaining time sequence to generate a difference data table, and after the difference data table is compressed, the difference data table is 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.
以下配合圖式及本發明之較佳實施例,進一步闡述本發明為達成預定發明目的所採取的技術手段。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 and conversion method. A first preferred embodiment of the vehicle network data sampling and 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 been selected in the original signal, the 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 compressed by techniques such as Huffman coding, Arithmetic coding, Symbol coding, or Codebook coding. Data to encode the binary data of the difference data table.
舉例來說,該原始資料為,其中第一時間序對應的資訊為,而差分取樣後的資料為,且由於資料量,因此經過差分取樣後的資料量將大幅減少,藉此有效提高資料的壓縮率,降低資料量,避免資訊傳送的延遲。例如原始資料為,差分取樣後的資料為。For example, the original data is , Where the information corresponding to the first time sequence is , And the data after differential sampling is , And due to the amount of data Therefore, the amount of data after differential sampling will be greatly reduced, thereby effectively increasing the data compression rate, reducing the amount of data, and avoiding the delay of information transmission. For example, the original data is , The data after differential sampling is .
請參閱圖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 In the step after a differential data table (S106), a content differential data table is generated, and after the content differential data table is generated, the content differential data table is compressed (S207), and the identification data table and the content differential are uploaded Datasheet (S208).
請參閱圖3所示,本發明車載網路資料取樣轉換方法的第二較佳實施例是由一車載網路資料取樣轉換系統所執行,該車載網路資料取樣轉換系統包含有一車載主機11、一車用匯流排12及一網路模組13。該車載主機11透過該車用匯流排12連接到一控制器區域網路,以接收該控制器區域網路訊號。該車載主機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
舉例來說,請進一步參閱圖4所示,該控制器區域網路訊號400係包含有複數資料訊號401,而各個資料訊號中分別包含有一時間資訊、一識別資訊、一長度資訊及一內容資訊4011。且該內容資訊4011中係由複數個內容資訊所構成,例如包含有一第0內容資訊、一第1內容資訊、一第2內容資訊、…、一第n內容資訊等。For example, please further refer to FIG. 4, the controller
當該車載主機11接收到該控制器區域網路訊號,並自該控制器區域網路訊號中選擇其中一個資料訊號401時,該車載主機11先解碼該資料訊號401中的識別資訊,並判斷該識別資訊是否有紀錄在該識別資料表中。該識別資料表500如圖5所示,記錄有各個識別資訊的內容(、、、…)與其對應的長度資訊的內容(、、、…)。而該識別資訊代表的是各個該控制器區域網路中的各個控制器的識別碼,也就是供該車載主機11判斷接下來的資料是由哪一個控制器所產生的。因此,當該車載主機11判斷該識別資訊有記錄在該識別資料表500中時,即是代表該識別資訊是已經被辨識過的控制器產生的,且已經有其對應的資料被記錄起來了。接著,該車載主機11選擇該識別資訊對應的內容資料表,並將選擇的該資料訊號中的時間資訊及內容資訊儲存在選擇的該內容資料表中。When the
舉例來說,當該車載主機11判斷該識別資訊為時,由於已經被記錄在該識別資料表500中,因此該車載主機11便直接選擇識對應的內容資料表,如圖6所示,對應的該內容資料表600中已經記錄過對應的控制器之前產生的資料,例如該時間資訊及該內容資訊。因此該車載主機11便可直接將這一次接收到的該資料訊號101中對應的時間資訊及內容資訊儲存入該內容資料表600中。For example, when the on-
而當該車載主機11判斷該識別資訊沒有記錄在該識別資料表中時,即是代表該識別資訊是已經尚未辨識過的控制器產生的,也就是說,並沒有其對應的資料被記錄過。因此,該車載主機11先將選擇的該資料訊號中的該識別資訊及該長度資訊儲存在該識別資料表中,例如、,並建立對應解碼後的該識別資訊的新的內容資料表600,且選擇新建立的內容資料表600後,將選擇的該資料訊號中的一時間資訊及一內容資訊作為第一筆資料儲存在選擇的該內容資料表600中,也就是對應的新建立的內容資料表600。When the vehicle-mounted
透過上述建立該些內容資料表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中第一時間序對應的資料為時間資訊及內容資訊,因此當對該內容資料表600執行差分取樣時,如圖7所示,是先將第一時間序對應的資料為時間資訊及內容資訊保留,並依序將其餘時間序的時間資訊及內容資訊執行差分取樣,以產生一內容差分資料表600a。Further, when the vehicle-mounted
舉例來說,時間資訊差分資料為:、、…,而內容資訊的差分資料為:、、…。For example, the time difference data is: , ,..., and the differential data of the content information is: , ,...
請參閱圖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
舉例來說,請參閱圖9所示,該光學雷達訊號900係包含有複數資料訊號901,而各個資料訊號中分別包含有一時間資訊、一識別資訊、一長度資訊及一內容資訊9011。且該內容資訊9011中係由複數個方向角內容資訊9012所構成,例如包含有一第0方向角內容資訊、一第1方向角內容資訊、一第2方向角內容資訊、…、一第n方向角內容資訊等。且各該方向角內容資訊分別係由一旗標資訊、一方向角資訊、複數距離資訊及複數反射量資訊所構成,例如該第0方向角內容資訊包含一旗標資訊、一第0方向角資訊、第0層距離資訊、第0層反射量資訊、…、第m層距離資訊及第m層反射量資訊等。For example, referring to FIG. 9, the
當該車載主機11接收到該光學雷達訊號900時,由於每個內容資訊9011分別是由複數個方向角內容資訊9012所構成,因此該車載主機11先選擇其中一個內容資訊9011來進行處理,以產生如圖10所示的該距離資料表1000及如圖11所示的該反射量資料表1100。When the
以該距離資料表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
因此在建立該距離資料表時,是以該距離資料的層數(layer)為縱軸,並以該距離資料的方向角為橫軸來建立的。舉例來說,該第0方向角內容資訊中的第0層距離資訊即是作為被記錄在該距離資料表1000中,而該第0方向角內容資訊中的第15層距離資訊即是作為被記錄在該距離資料表1000中,且該第364方向角內容資訊中的第15層距離資訊即是作為被記錄在該距離資料表1000中。此外,由於一個內容資訊9011僅對應一個時間資訊,因此各個距離資料表1000是分別對應一個時間資訊。Therefore, 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 used as Is recorded in the distance data table 1000, and the 15th layer distance information in the content information of the 0th direction angle is used as Is recorded in the distance data table 1000, and the 15th layer distance information in the 364th direction angle content information is used as It is recorded in the distance data table 1000. In addition, since one piece of
該反射量資料表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
在本較佳實施例中,離散餘弦轉換是根據以下公式計算的: In the preferred embodiment, the discrete cosine transformation is calculated according to the following formula:
其中為做為輸入的該距離資料表1000或該反射量資料表1100中的各個資料。among them For each data in the distance data table 1000 or the reflection data table 1100 as input.
舉例來說,請參閱圖12及圖13所示,由於距離資料表1000的最後一筆資料為,因此N-1=15、M-1=364,而N=16、M=365,將N、M帶入公式後,即可得到轉換成頻域的距離資料表1100a的各筆資料,例如最後一筆資料即為: For example, please refer to FIG. 12 and FIG. 13, since the last data of the distance data table 1000 is , So N-1=15, M-1=364, and N=16, M=365, after bringing N and M into the formula, each piece of data converted into the frequency domain distance data table 1100a, for example Last information That is:
如此一來,便可分別計算出轉換成頻域的距離資料表1100a的各筆資料。In this way, each piece of data of the distance data table 1100a converted into the frequency domain can be calculated separately .
由於一個內容資訊9011僅對應一個時間資訊,且每個內容資訊9011分別能產生一個距離資料表1000及一個反射量資料表1100,因此,如圖10及圖11所示,各個距離資料表1000是分別對應一個時間資訊,且各個反射量資料表1100也分別對應一個時間資訊。Since one piece of
且由於各個距離資料表1000分別對應一個時間資訊,因此,轉換成頻域的距離資料表1000a、1000b、1000c也是分別對應一個時間資訊。如圖13所示,而當該車載主機11執行差分取樣時,該車載主機11是以第一時間序對應的時間資訊對應的轉換成頻域的距離資料表1000a為基準,將其餘時間序對應的時間資訊對應的轉換成頻域的距離資料表1000b、1000c進行差分後重新記錄下來,以產生轉換成頻域的距離差分資料表1000b、1000c,藉此有效減少資料量。And because each distance data table 1000 corresponds to a time information Therefore, the distance data tables 1000a, 1000b, and 1000c converted into the frequency domain also correspond to a piece of time information. . As shown in FIG. 13, when the vehicle-mounted
舉例來說,對應時間資訊的轉換成頻域的距離差分資料表1000b的資料為:、、…。For example, the corresponding time information The data converted into the distance difference data table 1000b in the frequency domain for: , ,...
此外,當該車載主機11執行差分取樣時,該車載主機11還可進一步判斷差分取樣後的距離差分資料表1000a以及差分取樣後的反射量差分資料表中的資料是否大於一臨界值。且當該車載主機11判斷差分取樣後的距離差分資料表1000a以及差分取樣後的反射量差分資料表中的資料小於一臨界值時,該車載主機11將小於該臨界值紀錄為0,藉此進一步減少資料量。In addition, when the vehicle-mounted
由於該光學雷達訊號900中每個內容資訊9011所代表的意義分別是一個透過光線掃描後的平面,因此能夠接受一定程度的失真且不會影響到後續的使用。也就是說,該車載主機11將小於該臨界值紀錄為0時,代表了平面中的小部分的資料將被刪除,且小於該臨界值的資料可能代表為雜訊或是一些微小的物件,因此藉由該車載主機11將小於該臨界值紀錄為0時,能夠在不影響到後續使用該些資料的前提下,進一步減少資料量。Since the meaning of each
綜上所述,本發明主要是透過將相關性資料以差分取樣,或是將資料以頻域基底來表示,並細部取樣重要訊息保留,如此一來,便無需紀錄或壓縮原始資料,藉此提高車載網路資料取樣轉換率,降低資料量。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.
11:車載主機
12:車用匯流排
13:網路模組
14:控制器區域網路
15:光學雷達
20:雲端伺服器
400:控制器區域網路訊號
401:資料訊號
4011:內容訊號
500:識別資料表
600:內容資料表
600a:內容差分資料表
900:光學雷達訊號
901:資料訊號
9011:內容資訊
9012:方向角內容資訊
1000:距離資料表
1100:反射量資料表
1000a、1000b、1000c:轉換成頻域的距離差分資料表
11: Car host
12: Vehicle bus
13: Network module
14: Controller area network
15: optical radar
20: Cloud server
400: Controller area network signal
401: data signal
4011: Content signal
500: Identification data sheet
600:
圖1係本發明車載網路資料取樣轉換方法第一較佳實施例之流程示意圖。 圖2係本發明車載網路資料取樣轉換方法第二較佳實施例之流程示意圖。 圖3係本發明車載網路資料取樣轉換系統之方塊示意圖。 圖4係本發明車載網路資料取樣轉換方法第二較佳實施例之控制器區域網路訊號及內容資訊的格式示意圖。 圖5係本發明車載網路資料取樣轉換方法第二較佳實施例之識別資料表的格式示意圖。 圖6係本發明車載網路資料取樣轉換方法第二較佳實施例之內容資料表的格式示意圖。 圖7係本發明車載網路資料取樣轉換方法第二較佳實施例之內容差分資料表的格式示意圖。 圖8係本發明車載網路資料取樣轉換方法第三較佳實施例之流程示意圖。 圖9係本發明車載網路資料取樣轉換方法第三較佳實施例之光學雷達訊號、內容資訊及方向角內容資訊的格式示意圖。 圖10係本發明車載網路資料取樣轉換方法第三較佳實施例之距離資料表的格式示意圖。 圖11係本發明車載網路資料取樣轉換方法第三較佳實施例之反射量資料表的格式示意圖。 圖12係本發明車載網路資料取樣轉換方法第三較佳實施例之其中一距離資料表的格式示意圖。 圖13係本發明車載網路資料取樣轉換方法第三較佳實施例之經離散餘弦轉換後的距離差分資料表的格式示意圖。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. 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. FIG. 3 is a block diagram of the vehicle network data sampling and conversion system of the present invention. 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. 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. 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. 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. 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 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 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. 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 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 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.
Claims (14)
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 TWI685266B (en) | 2020-02-11 |
TW202017405A true 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) |
Family Cites Families (2)
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 |
US10880409B2 (en) * | 2017-02-20 | 2020-12-29 | Cisco Technology, Inc. | Mixed qualitative, quantitative sensing data compression over a network transport |
-
2018
- 2018-10-30 TW TW107138451A patent/TWI685266B/en active
Also Published As
Publication number | Publication date |
---|---|
TWI685266B (en) | 2020-02-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6604158B1 (en) | System and methods for accelerated data storage and retrieval | |
AU2022204314B2 (en) | Method and apparatus for generating from a coefficient domain representation of HOA signals a mixed spatial/coefficient domain representation of said HOA signals | |
IL271502A (en) | Adaptive processing with multiple media processing nodes | |
CN108921552B (en) | Evidence verification method and device | |
CN109147805B (en) | Audio tone enhancement based on deep learning | |
TW200529548A (en) | Adaptive hybrid transform for signal analysis and synthesis | |
US9088540B1 (en) | Processing data formatted for efficient communication over a network | |
CN111630570A (en) | Image processing method, apparatus and computer-readable storage medium | |
CN110249384B (en) | Quantizer with index coding and bit arrangement | |
US9886962B2 (en) | Extracting audio fingerprints in the compressed domain | |
US9088297B2 (en) | High throughput decoding of variable length data symbols | |
TWI685266B (en) | Vehicle network data sampling conversion method and system | |
US10949443B2 (en) | Method and system for sampling and converting vehicular network data | |
TW202406344A (en) | Point cloud geometry data augmentation method and apparatus, encoding method and apparatus, decoding method and apparatus, and encoding and decoding system | |
CN111163038A (en) | Vehicle-mounted network data sampling conversion method and system | |
CN103180847A (en) | Music query method and apparatus | |
CN100517298C (en) | Method for performing a domain transformation of a digital signal from the time domain into the frequency domain and vice versa | |
US11380343B2 (en) | Systems and methods for processing high frequency audio signal | |
US9654140B1 (en) | Multi-dimensional run-length encoding | |
CN109147795A (en) | Voice print database transmission, recognition methods, identification device and storage medium | |
US20040125001A1 (en) | Synchronous method and system for transcoding existing signal elements while providing a multi-resolution storage and transmission medium among reactive control schemes | |
EP4333432A1 (en) | Encoding method and apparatus, decoding method and apparatus, device, storage medium and computer program | |
US11023722B2 (en) | Data classification bandwidth reduction | |
US20230306977A1 (en) | Processing of audio data using a plurality of distributed computer devices | |
CN116527936A (en) | Coding method and device suitable for space image |