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 PDF

Info

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
Application number
TW107138451A
Other languages
Chinese (zh)
Other versions
TWI685266B (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

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

Abstract

The present invention relates to a method for sampling and converting vehicular network data, which is executed by a vehicle host. The vehicle host 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. The vehicle host further determines whether there is a data signal that has not been selected in the original signal. When there is no data signal that has not been selected in the original signal, the information corresponding to the first time sequence is used as the reference, a differential sampling is performed on the information corresponding to the remaining time sequence to generate a differential data table, and then the differential data table is compressed and uploaded. The present 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. The present invention further provides a system for sampling and converting vehicular network data, comprising an automotive bus connected to a controller area network for receiving an original data; a vehicle host connected to the automotive bus for receiving the original data and selecting one of the data signals from the original signal, wherein the vehicle host creates a data table based on the selected data signal and determines whether there is a data signal that has not been selected in the original signal; a network module connected to the vehicle host, wherein the vehicle host uploads the compressed differential data table to a cloud server through the network module after compressing the differential data table; and a lidar connected to the vehicle host, wherein the original signal is a lidar signal.

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進行相減後執行壓縮,但該前案仍存在以下問題: 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.

舉例來說,該原始資料為

Figure 02_image001
,其中第一時間序對應的資訊為
Figure 02_image003
,而差分取樣後的資料為
Figure 02_image005
,且由於資料量
Figure 02_image007
,因此經過差分取樣後的資料量將大幅減少,藉此有效提高資料的壓縮率,降低資料量,避免資訊傳送的延遲。例如原始資料為
Figure 02_image009
,差分取樣後的資料為
Figure 02_image011
。For example, the original data is
Figure 02_image001
, Where the information corresponding to the first time sequence is
Figure 02_image003
, And the data after differential sampling is
Figure 02_image005
, And due to the amount of data
Figure 02_image007
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
Figure 02_image009
, The data after differential sampling is
Figure 02_image011
.

請參閱圖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 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 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, including a 0th content information, a first content information, a second content information, ..., an nth content information.

當該車載主機11接收到該控制器區域網路訊號,並自該控制器區域網路訊號中選擇其中一個資料訊號401時,該車載主機11先解碼該資料訊號401中的識別資訊,並判斷該識別資訊是否有紀錄在該識別資料表中。該識別資料表500如圖5所示,記錄有各個識別資訊的內容(

Figure 02_image013
Figure 02_image015
Figure 02_image017
、…)與其對應的長度資訊的內容(
Figure 02_image019
Figure 02_image021
Figure 02_image023
、…)。而該識別資訊代表的是各個該控制器區域網路中的各個控制器的識別碼,也就是供該車載主機11判斷接下來的資料是由哪一個控制器所產生的。因此,當該車載主機11判斷該識別資訊有記錄在該識別資料表500中時,即是代表該識別資訊是已經被辨識過的控制器產生的,且已經有其對應的資料被記錄起來了。接著,該車載主機11選擇該識別資訊對應的內容資料表,並將選擇的該資料訊號中的時間資訊及內容資訊儲存在選擇的該內容資料表中。When the vehicle host 11 receives the controller local area network signal and selects one of the data signals 401 from the controller local area network signal, the vehicle host 11 first decodes the identification information in the data signal 401 and determines Whether the identification information is recorded in the identification data table. As shown in FIG. 5, the identification data table 500 records the contents of each identification information (
Figure 02_image013
,
Figure 02_image015
,
Figure 02_image017
, ...) and the corresponding length information content (
Figure 02_image019
,
Figure 02_image021
,
Figure 02_image023
,...). 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判斷該識別資訊為

Figure 02_image013
時,由於
Figure 02_image013
已經被記錄在該識別資料表500中,因此該車載主機11便直接選擇識
Figure 02_image013
對應的內容資料表,如圖6所示,
Figure 02_image013
對應的該內容資料表600中已經記錄過
Figure 02_image013
對應的控制器之前產生的資料,例如該時間資訊
Figure 02_image025
及該內容資訊
Figure 02_image027
。因此該車載主機11便可直接將這一次接收到的該資料訊號101中對應
Figure 02_image013
的時間資訊
Figure 02_image029
及內容資訊
Figure 02_image031
儲存入該內容資料表600中。For example, when the on-board host 11 determines that the identification information is
Figure 02_image013
When
Figure 02_image013
Has been recorded in the identification data table 500, so the vehicle-mounted host 11 directly selects the identification
Figure 02_image013
The corresponding content data table is shown in Figure 6,
Figure 02_image013
The corresponding content data table 600 has been recorded
Figure 02_image013
Data previously generated by the corresponding controller, such as the time information
Figure 02_image025
And the content information
Figure 02_image027
. Therefore, the vehicle-mounted host 11 can directly correspond to the data signal 101 received this time
Figure 02_image013
Time information
Figure 02_image029
And content information
Figure 02_image031
It is stored in the content data table 600.

而當該車載主機11判斷該識別資訊沒有記錄在該識別資料表中時,即是代表該識別資訊是已經尚未辨識過的控制器產生的,也就是說,並沒有其對應的資料被記錄過。因此,該車載主機11先將選擇的該資料訊號中的該識別資訊及該長度資訊儲存在該識別資料表中,例如

Figure 02_image033
Figure 02_image035
,並建立對應解碼後的該識別資訊的新的內容資料表600,且選擇新建立的內容資料表600後,將選擇的該資料訊號中的一時間資訊
Figure 02_image037
及一內容資訊
Figure 02_image038
作為第一筆資料儲存在選擇的該內容資料表600中,也就是對應
Figure 02_image039
的新建立的內容資料表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, for example
Figure 02_image033
,
Figure 02_image035
, And create a new content data table 600 corresponding to the decoded identification information, and after selecting the newly created content data table 600, a time information in the selected data signal will be selected
Figure 02_image037
And content information
Figure 02_image038
As the first piece of data stored in the selected content data table 600, that is, the corresponding
Figure 02_image039
The newly created content data sheet 600.

透過上述建立該些內容資料表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中第一時間序對應的資料為時間資訊

Figure 02_image037
及內容資訊
Figure 02_image040
,因此當對該內容資料表600執行差分取樣時,如圖7所示,是先將第一時間序對應的資料為時間資訊
Figure 02_image042
及內容資訊
Figure 02_image043
保留,並依序將其餘時間序的時間資訊
Figure 02_image044
及內容資訊
Figure 02_image046
執行差分取樣,以產生一內容差分資料表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 re-recorded, 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.
Figure 02_image037
And content information
Figure 02_image040
Therefore, 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 used as time information
Figure 02_image042
And content information
Figure 02_image043
Keep, and keep the time information of the rest of the time sequence
Figure 02_image044
And content information
Figure 02_image046
Perform differential sampling to generate a content differential data table 600a.

舉例來說,時間資訊差分資料為:

Figure 02_image048
Figure 02_image050
、…,而內容資訊的差分資料為:
Figure 02_image052
Figure 02_image054
、…。For example, the time difference data is:
Figure 02_image048
,
Figure 02_image050
,..., and the differential data of the content information is:
Figure 02_image052
,
Figure 02_image054
,...

請參閱圖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, ..., an nth direction Corner 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, the content information of the 0th direction angle includes the 0th layer distance information, the 1st layer distance information, ..., the mth layer distance information, and the 0th layer reflection amount information, the 1st layer reflection amount information, ..., Information about the amount of reflection in layer m.

因此在建立該距離資料表時,是以該距離資料的層數(layer)為縱軸,並以該距離資料的方向角為橫軸來建立的。舉例來說,該第0方向角內容資訊中的第0層距離資訊即是作為

Figure 02_image056
被記錄在該距離資料表1000中,而該第0方向角內容資訊中的第15層距離資訊即是作為
Figure 02_image058
被記錄在該距離資料表1000中,且該第364方向角內容資訊中的第15層距離資訊即是作為
Figure 02_image060
被記錄在該距離資料表1000中。此外,由於一個內容資訊9011僅對應一個時間資訊,因此各個距離資料表1000是分別對應一個時間資訊
Figure 02_image062
。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
Figure 02_image056
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
Figure 02_image058
Is recorded in the distance data table 1000, and the 15th layer distance information in the 364th direction angle content information is used as
Figure 02_image060
It is recorded in the distance data table 1000. 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 respectively
Figure 02_image062
.

該反射量資料表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 02_image064
Figure 02_image066
In the preferred embodiment, the discrete cosine transformation is calculated according to the following formula:
Figure 02_image064
Figure 02_image066

其中

Figure 02_image068
為做為輸入的該距離資料表1000或該反射量資料表1100中的各個資料。among them
Figure 02_image068
For each data in the distance data table 1000 or the reflection data table 1100 as input.

舉例來說,請參閱圖12及圖13所示,由於距離資料表1000的最後一筆資料為

Figure 02_image060
,因此N-1=15、M-1=364,而N=16、M=365,將N、M帶入公式後,即可得到轉換成頻域的距離資料表1100a的各筆資料,例如最後一筆資料
Figure 02_image070
即為:
Figure 02_image072
Figure 02_image066
For example, please refer to FIG. 12 and FIG. 13, since the last data of the distance data table 1000 is
Figure 02_image060
, 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
Figure 02_image070
That is:
Figure 02_image072
Figure 02_image066

如此一來,便可分別計算出轉換成頻域的距離資料表1100a的各筆資料

Figure 02_image074
。In this way, each piece of data of the distance data table 1100a converted into the frequency domain can be calculated separately
Figure 02_image074
.

由於一個內容資訊9011僅對應一個時間資訊,且每個內容資訊9011分別能產生一個距離資料表1000及一個反射量資料表1100,因此,如圖10及圖11所示,各個距離資料表1000是分別對應一個時間資訊

Figure 02_image062
,且各個反射量資料表1100也分別對應一個時間資訊
Figure 02_image062
。Since 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 Corresponding to a time information
Figure 02_image062
, And each reflection data table 1100 also corresponds to a piece of time information
Figure 02_image062
.

且由於各個距離資料表1000分別對應一個時間資訊

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

舉例來說,對應時間資訊

Figure 02_image080
的轉換成頻域的距離差分資料表1000b的資料
Figure 02_image082
為:
Figure 02_image084
Figure 02_image086
、…。For example, the corresponding time information
Figure 02_image080
The data converted into the distance difference data table 1000b in the frequency domain
Figure 02_image082
for:
Figure 02_image084
,
Figure 02_image086
,...

此外,當該車載主機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 that the data in the distance-difference data table 1000a after differential sampling and the difference-differenced data table after differential sampling is less than a critical value, the vehicle-mounted host 11 records 0 as the critical value, thereby Further reduce 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.

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: content data sheet 600a: Content difference data table 900: optical radar signal 901: data signal 9011: Content information 9012: Direction angle content information 1000: distance data sheet 1100: Reflectance data sheet 1000a, 1000b, 1000c: distance difference data table converted into frequency domain

圖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)

一種車載網路資料取樣轉換方法,包含有以下步驟: 接收一原始訊號; 自該原始訊號中選擇其中一個資料訊號; 根據選擇的該資料訊號建立一資料表; 判斷該原始訊號中是否還有尚未被選擇過的資料訊號; 當該原始訊號中還有尚未被選擇過的資料訊號時,自該原始訊號中選擇另一個尚未被選擇過的資料訊號; 當該原始訊號中沒有尚未被選擇過的資料訊號時,以一第一時間序對應的資訊為基準,對其餘時間序對應的資訊執行差分取樣以產生一差分資料表後,壓縮該差分資料表,並上傳該差分資料表。A vehicle network data sampling conversion method, including 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 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 unselected data signal in the original signal In the case of the data signal, based on the information corresponding to a first time series, performing differential sampling on the information corresponding to the remaining time series to generate a differential data table, compressing the differential data table, and uploading the differential data table. 如請求項1所述之車載網路資料取樣轉換方法,其中該原始訊號係一控制器區域網路訊號。The method for sampling and converting vehicle network data according to claim 1, wherein the original signal is a controller area network signal. 如請求項2所述之車載網路資料取樣轉換方法,其中在根據選擇的該資料訊號建立該資料表的步驟中,進一步包含有以下子步驟: 解碼選擇的該資料訊號中的一識別資訊; 判斷解碼後的該識別資訊是否有紀錄在一識別資料表中; 當解碼後的該識別資訊有紀錄在該識別資料表中時,選擇解碼後的該識別資訊對應的一內容資料表,並將選擇的該資料訊號中的一時間資訊及一內容資訊儲存在選擇的該內容資料表中。The method for sampling and converting vehicle network data according to claim 2, wherein the step of creating the data table according to the selected data signal further includes the following sub-steps: decoding an identification information in the selected data signal; Determine whether the decoded identification information is recorded in an identification data table; when the decoded identification information is recorded in the identification data table, select a content data table corresponding to the decoded identification information, and The time information and the content information in the selected data signal are stored in the selected content data table. 如請求項3所述之車載網路資料取樣轉換方法,其中在根據選擇的該資料訊號建立該資料表的步驟中,進一步包含有以下子步驟: 當解碼後的該識別資訊沒有紀錄在該識別資料表中時,將解碼後的該識別資訊儲存在該識別資料表中,並建立對應解碼後的該識別資訊的新的內容資料表,且選擇新建立的內容資料表後,將選擇的該資料訊號中的一時間資訊及一內容資訊儲存在選擇的該內容資料表中。The method for sampling and converting vehicle network data according to claim 3, wherein the step of creating the data table according to the selected data signal further includes the following sub-steps: When the decoded identification information is not recorded in the identification In the data table, the decoded identification information is stored in the identification data table, and a new content data table corresponding to the decoded identification information is created, and after the newly created content data table is selected, the selected The time information and the content information in the data signal are stored in the selected content data table. 如請求項1所述之車載網路資料取樣轉換方法,其中該原始訊號係一光學雷達訊號。The method for sampling and converting vehicle network data according to claim 1, wherein the original signal is an optical radar signal. 如請求項5所述之車載網路資料取樣轉換方法,其中在根據選擇的該資料訊號建立該資料表的步驟中,進一步包含有以下子步驟: 根據選擇的該資料訊號,建立對應選擇的該資料訊號中的一時間資訊的一距離資料表及一反射量資料表。The on-vehicle network data sampling and conversion method as described in claim 5, wherein the step of creating the data table according to the selected data signal further includes the following sub-steps: according to the selected data signal, creating the corresponding selected A distance data table and a reflection data table of time information in the data signal. 如請求項6所述之車載網路資料取樣轉換方法,其中當該原始訊號中沒有尚未被選擇過的資料訊號時,係先對該距離資料表及該反射量資料表分別執行離散餘弦轉換,接著再以該第一時間序對應的時間資訊對應的該距離資料表及該反射量資料表為基準,對其餘時間序對應的時間資訊對應的該距離資料表及該反射量資料表執行差分取樣,以產生取樣後的一距離差分資料表及取樣後的一反射量差分資料表,且壓縮並上傳取樣後的該距離差分資料表及取樣後的該反射量差分資料表。The method for sampling and conversion of vehicle network data according to claim 6, wherein when there is no data signal that has not been selected in the original signal, discrete cosine conversion is first performed 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 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, including: 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 according to 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, the car host selects another data signal that has not been selected from the original signals; when there is no data signal that has not been selected in the original signal, the car host 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 to generate a differential data table, the differential data table is compressed; a network module is connected to the vehicle host; wherein the vehicle host After compressing the differential data table, upload the differential data table to a cloud server through the network module. 如請求項8所述之車載網路資料取樣轉換系統,其中該原始訊號係一控制器區域網路訊號。The in-vehicle network data sampling and conversion system as described in claim 8, wherein the original signal is a controller area network signal. 如請求項9所述之車載網路資料取樣轉換系統,其中該車載主機在根據選擇的該資料訊號建立該資料表時,該車載主機進一步解碼選擇的該資料訊號中的一識別資訊,並判斷解碼後的該識別資訊是否有紀錄在一識別資料表中; 其中當解碼後的該識別資訊有紀錄在該識別資料表中時,該車載主機選擇解碼後的該識別資訊對應的一內容資料表,並將選擇的該資料訊號中的一時間資訊及一內容資訊儲存在選擇的該內容資料表中。The in-vehicle network data sampling and conversion system as described in claim 9, wherein when the in-vehicle host creates the data table based on the selected data signal, the in-vehicle host further decodes an identification information in the selected data signal and determines Whether the decoded identification information is recorded in an identification data table; wherein when the decoded identification information is recorded in the identification data table, the vehicle-mounted host selects a content data table corresponding to the decoded identification information And store the time information and content information in the selected data signal in the selected content data table. 如請求項10所述之車載網路資料取樣轉換系統,其中該車載主機在根據選擇的該資料訊號建立該資料表時,該車載主機進一步在當解碼後的該識別資訊沒有紀錄在該識別資料表中時,該車載主機將解碼後的該識別資訊儲存在該識別資料表中,並建立對應解碼後的該識別資訊的新的內容資料表,且選擇新建立的內容資料表後,將選擇的該資料訊號中的一時間資訊及一內容資訊儲存在選擇的該內容資料表中。The in-vehicle network data sampling and conversion system as described in claim 10, wherein when the in-vehicle host creates the data table according to the selected data signal, the in-vehicle host further does not record the decoded identification information in the identification data In the table, the vehicle-mounted host stores the decoded identification information in the identification data table, and creates a new content data table corresponding to the decoded identification information, and after selecting the newly created content data table, select The time information and the content information in the data signal of are stored in the selected content data table. 如請求項8所述之車載網路資料取樣轉換系統,進一步包含有一光學雷達,連接至該車載主機; 其中該原始訊號係該光學雷達產生的一光學雷達訊號。The vehicle network data sampling and conversion system according to claim 8, further comprising an optical radar connected to the vehicle-mounted host; wherein the original signal is an optical radar signal generated by the optical radar. 如請求項12所述之車載網路資料取樣轉換系統,其中該車載主機在根據選擇的該資料訊號建立該資料表時,該車載主機進一步根據選擇的該資料訊號,建立對應選擇的該資料訊號中的一時間資訊的一距離資料表及一反射量資料表。The in-vehicle network data sampling and conversion system according to claim 12, wherein when the in-vehicle host creates the data table based on the selected data signal, the in-vehicle host further creates the corresponding selected data signal according to the selected data signal A distance data table and a reflection data table of time information in. 如請求項13所述之車載網路資料取樣轉換系統,其中當該原始訊號中沒有尚未被選擇過的資料訊號時,該車載主機係先對該距離資料表及該反射量資料表分別執行離散餘弦轉換,接著再以該第一時間序對應的時間資訊對應的該距離資料表及該反射量資料表為基準,對其餘時間序對應的時間資訊對應的該距離資料表及該反射量資料表執行差分取樣,以產生取樣後的一距離差分資料表及取樣後的一反射量差分資料表,且壓縮取樣後的該距離差分資料表及取樣後的該反射量差分資料表後,透過該網路模組上傳該距離差分資料表及取樣後的該反射量差分資料表至該雲端伺服器。The in-vehicle network data sampling and conversion system as described in claim 13, wherein when there is no data signal that has not been selected in the original signal, the in-vehicle host first performs discrete processing on the distance data table and the reflection data table respectively Cosine conversion, and then based on the distance data table and the reflection data table corresponding to the time information corresponding to the first time sequence, the distance data table and the reflection data table corresponding to the time information corresponding to the remaining time sequence Perform differential sampling to generate a distance difference data table after sampling and a reflection difference data table after sampling, and after compressing the distance difference data table after sampling and the reflection difference data table after sampling, pass the network The road module uploads the distance difference data table and the sampled reflection difference data table 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 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)

* 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
US10880409B2 (en) * 2017-02-20 2020-12-29 Cisco Technology, Inc. Mixed qualitative, quantitative sensing data compression over a network transport

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