TW202520698A - Communication method and communication device - Google Patents
Communication method and communication device Download PDFInfo
- Publication number
- TW202520698A TW202520698A TW113136287A TW113136287A TW202520698A TW 202520698 A TW202520698 A TW 202520698A TW 113136287 A TW113136287 A TW 113136287A TW 113136287 A TW113136287 A TW 113136287A TW 202520698 A TW202520698 A TW 202520698A
- Authority
- TW
- Taiwan
- Prior art keywords
- data
- communication
- sync
- packet
- transmission
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04J—MULTIPLEX COMMUNICATION
- H04J3/00—Time-division multiplex systems
- H04J3/16—Time-division multiplex systems in which the time allocation to individual channels within a transmission cycle is variable, e.g. to accommodate varying complexity of signals, to vary number of channels transmitted
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L7/00—Arrangements for synchronising receiver with transmitter
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Communication Control (AREA)
Abstract
Description
本揭示關於一種通信方法及通信裝置,尤其關於一種可避免1個實體配線中之同向通信之衝突之通信方法及通信裝置。The present disclosure relates to a communication method and a communication device, and more particularly to a communication method and a communication device capable of avoiding conflicts in same-direction communications in a physical wiring.
於由MIPI(Mobile Industry Processor Interface:行動產業處理器介面)聯盟規定之規格之1個中,有A-PHY(The Automotive PHY:車載實體層)規格(例如參照非專利文獻1)。A-PHY係關於車載專用之SerDes(Serializer Deserializer:串行器解串器)之實體層之規格。 [先前技術文獻] [非專利文獻] One of the specifications defined by the MIPI (Mobile Industry Processor Interface) Alliance is the A-PHY (Automotive PHY) specification (see, for example, non-patent document 1). A-PHY is a specification for the physical layer of the automotive-specific SerDes (Serializer Deserializer). [Prior Art Document] [Non-patent Document]
[非專利文獻1]MIPI Alliance Specification for A-PHY,1.1版, MIPI Alliance, Inc., 2021年8月9號。[Non-patent document 1] MIPI Alliance Specification for A-PHY, Version 1.1, MIPI Alliance, Inc., August 9, 2021.
[發明所欲解決之問題] 先前,於按每個信號分配實體配線之通信系統中,可於各時序進行通信控制。然而,於1個實體配線上於與通信對象裝置之間傳送複數種資料之系統中,有產生同向通信衝突之風險。 [Problem to be solved by the invention] Previously, in a communication system where physical wiring is allocated for each signal, communication control can be performed at each timing. However, in a system where multiple types of data are transmitted between a communication target device on one physical wiring, there is a risk of generating a communication conflict in the same direction.
本揭示係鑑於該種狀況而完成者,可避免1個實體配線中之同向通信衝突。 [解決問題之技術手段] This disclosure is made in view of this situation and can avoid the same-direction communication conflict in one physical wiring. [Technical means to solve the problem]
本揭示之第1態樣之通信方法,係使通信裝置於利用可於1個實體配線上於與通信對象裝置之間傳送複數種資料之實體層發送第1資料時輸入第2資料之情形時,藉由於上述第1資料插入中斷控制資料來中斷發送上述第2資料。The communication method of the first aspect of the present disclosure enables a communication device to interrupt the transmission of the second data by inserting interrupt control data into the first data when inputting the second data while sending the first data using a physical layer that can transmit multiple types of data between the communication target device and the communication target device on one physical wiring.
本揭示之第1態樣之通信裝置包含:通信部,其於利用可於1個實體配線上於與通信對象裝置之間傳送複數種資料之實體層發送第1資料時輸入第2資料之情形時,藉由於上述第1資料插入中斷控制資料來中斷發送上述第2資料。The communication device of the first aspect of the present disclosure includes: a communication unit, which, when inputting second data while sending first data at a physical layer that can transmit multiple types of data between a communication target device on one physical wiring, interrupts the sending of the second data by inserting interrupt control data into the first data.
本揭示之第2態樣之通信裝置包含:通信部,其於利用可於1個實體配線上於與通信對象裝置之間傳送複數種資料之實體層接收第1資料時接收到中斷發送之第2資料之情形時,基於儲存於上述第2資料之封包頭之顯示已中斷發送之中斷資訊,對上階層優先轉送上述第2資料。The communication device of the second aspect of the present disclosure includes: a communication unit, which, when receiving the first data at a physical layer that can transmit multiple types of data between a communication target device and a communication target device on one physical wiring, receives the second data whose transmission is interrupted, and based on the interruption information indicating that the transmission has been interrupted and stored in the packet header of the second data, preferentially forwards the second data to the upper layer.
於本揭示之第1態樣中,於利用可於1個實體配線上於與通信對象裝置之間傳送複數種資料之實體層發送第1資料時輸入第2資料之情形時,藉由於上述第1資料插入中斷控制資料來中斷發送上述第2資料。In the first aspect of the present disclosure, when the second data is input while the first data is being sent using a physical layer that can transmit a plurality of types of data with a communication target device over one physical wiring, the sending of the second data is interrupted by inserting interrupt control data into the first data.
於本揭示之第2態樣中,於利用可於1個實體配線上於與通信對象裝置之間傳送複數種資料之實體層接收第1資料時接收到中斷發送之第2資料之情形時,基於儲存於上述第2資料之封包頭之顯示已中斷發送之中斷資訊,對上階層優先轉送上述第2資料。In the second aspect of the present disclosure, when a physical layer that can transmit multiple types of data between a communication object device and a physical layer that can transmit multiple types of data on a physical wiring receives a second data whose transmission is interrupted, the second data is preferentially forwarded to an upper layer based on the interruption information indicating that the transmission has been interrupted and stored in the packet header of the second data.
以下,就實施本揭示之形態(以下稱為實施形態)進行說明。另,說明按以下順序進行。Hereinafter, the embodiment of the present disclosure (hereinafter referred to as the embodiment) will be described. The description will be made in the following order.
1.先前之通信系統與將來之通信系統之比較 2.應用本揭示之技術之通信系統 3.SYNC封包之中斷發送與發送時序之延遲 4.接收到之SYNC封包向上階層之轉送與轉送時序之調整 5.可對應於資料中斷之終端-源端之構成與動作 1. Comparison between previous communication systems and future communication systems 2. Communication systems using the technology disclosed herein 3. Interruption of SYNC packet transmission and delay of transmission timing 4. Transfer of received SYNC packets to upper layers and adjustment of transfer timing 5. Configuration and operation of terminal-source terminals that can respond to data interruption
<1.先前之通信系統與將來之通信系統之比較> 先前,於按每個信號分配實體配線之通信系統中,可於各時序進行通信控制。另一方面,作為今後之動向,期望將各信號之實體配線統合至包含1個實體配線之高速介面。 <1. Comparison between previous communication systems and future communication systems> Previously, in a communication system where physical wiring was allocated for each signal, communication control could be performed at each timing. On the other hand, as a future trend, it is expected that the physical wiring of each signal will be integrated into a high-speed interface including one physical wiring.
圖1係顯示連接有控制車輛之電腦(Host:主機)即ECU(Electronic Control Unit:電子控制單元)、與搭載於車載用相機之影像感測器等之感測器之通信系統之例之圖。於圖1之A圖顯示先前之通信系統,於該B圖顯示今後假定之將來之通信系統。FIG. 1 is a diagram showing an example of a communication system that connects a computer (Host) for controlling a vehicle, that is, an ECU (Electronic Control Unit), and a sensor such as an image sensor mounted on a vehicle-mounted camera. FIG. 1A shows a previous communication system, and FIG. 1B shows a communication system assumed in the future.
於圖1之A圖所示之先前之通信系統、與該B圖所示之將來之通信系統各者中,自感測器對ECU傳送影像資料(Image Data)或GPIO(General Purpose Input/Output:通用型輸入/輸出)之信號,自ECU對感測器傳送SYNC/GPIO(同步信號)或CAN(Controller Area Network:控制器區域網路)、I2C(Inter-Integrated Circuit:積體電路間)等之各種規格之指令。In each of the previous communication system shown in Figure 1A and the future communication system shown in Figure 1B, the self-sensor transmits image data (Image Data) or GPIO (General Purpose Input/Output) signals to the ECU, and the ECU transmits various specifications of commands such as SYNC/GPIO (synchronization signal) or CAN (Controller Area Network), I2C (Inter-Integrated Circuit) to the sensor.
於先前之通信系統中,按於感測器、與ECU側之SerDes(Serializer Deserializer)之間傳送之每個資料分配實體配線。另一方面,於將來之通信系統中,按於感測器、與ECU側之Des(Deserializer:解串器)之間傳送之每個資料之實體配線,被統合至例如依據A-PHY規格之1個實體配線。In the previous communication system, physical wiring was allocated for each data transmitted between the sensor and the SerDes (Serializer Deserializer) on the ECU side. On the other hand, in the future communication system, the physical wiring for each data transmitted between the sensor and the Des (Deserializer) on the ECU side is integrated into one physical wiring according to the A-PHY standard, for example.
於將自ECU(主機)向感測器之傳送設為上行鏈路(Uplink),將自感測器向ECU(主機)之傳送設為下行鏈路(Downlink)之情形時,於車載專用之通信規格中,規定針對上行鏈路/下行鏈路之同時收發之通信方式。When the transmission from the ECU (host) to the sensor is set as an uplink, and the transmission from the sensor to the ECU (host) is set as a downlink, the communication standard dedicated to the vehicle specifies a communication method for simultaneous transmission and reception of the uplink/downlink.
例如,於MIPI之A-PHY規格中,可藉由FDD(Frequency Division Duplex:分頻雙工)同時實現自ECU向感測器之上行鏈路、與自感測器向ECU之下行鏈路。又,於ASA(Automotive SerDes Alliance:汽車串行器解串器聯盟)規格中,可藉由TDD(Time Division Duplex:分時雙工)於自ECU向感測器之上行鏈路、與自感測器向ECU之下行鏈路中避免信號之衝突。For example, in the MIPI A-PHY specification, FDD (Frequency Division Duplex) can be used to simultaneously implement the uplink from the ECU to the sensor and the downlink from the sensor to the ECU. In addition, in the ASA (Automotive SerDes Alliance) specification, TDD (Time Division Duplex) can be used to avoid signal conflicts in the uplink from the ECU to the sensor and the downlink from the sensor to the ECU.
圖2係說明圖1之A圖所示之先前之通信系統中之SYNC之流程之圖。SYNC係於成為主機(ECU)之通信對象裝置之感測器中使用之同步信號。Fig. 2 is a diagram for explaining the SYNC flow in the conventional communication system shown in Fig. 1A. SYNC is a synchronization signal used in a sensor of a communication target device of a host computer (ECU).
於圖2中,顯示自主機(ECU)經由Des之PHY(進行與A-PHY相關之處理之通信部)向感測器之PHY上行鏈路傳送指令與SYNC之情況。於圖2中,依據CAN或I2C之指令以複數個位元組(byte)資料顯示。In Figure 2, the ECU sends commands and SYNC to the sensor's PHY uplink via the Des's PHY (the communication unit that performs A-PHY-related processing). In Figure 2, commands are displayed as multiple bytes of data according to CAN or I2C.
如上所述,於先前之通信系統中,因按每個資料分配實體配線,故於各通信路並列傳送指令與SYNC。因此,如圖2中虛線框C1所示,即使於來自主機之SYNC與I2C之指令之發送時序重合之情形時,感測器亦可並行接收各資料。As mentioned above, in the previous communication system, since physical wiring is allocated for each data, the command and SYNC are transmitted in parallel on each communication path. Therefore, as shown in the dotted box C1 in Figure 2, even if the transmission timing of the SYNC from the host and the command of I2C overlap, the sensor can receive each data in parallel.
圖3係說明圖1之B圖所示之將來之通信系統中之SYNC之流程之圖。FIG. 3 is a diagram illustrating the SYNC process in the future communication system shown in FIG. 1B.
於圖3中,與圖2同樣,顯示自主機(ECU)經由Des之PHY向感測器之PHY上行鏈路傳送指令與SYNC之情況。如圖3所示,多位元組(Multi byte)發送之指令於被封包化後,厚塊化為指定尺寸,並發送(分割發送)至感測器側。於感測器側,接收到之資料被解封包化並向上階層轉送。In Figure 3, similar to Figure 2, the ECU sends commands and SYNCs to the sensor's PHY uplink via the Des's PHY. As shown in Figure 3, the multi-byte commands are packetized, chunked into a specified size, and sent (split) to the sensor side. On the sensor side, the received data is depacketized and forwarded to the upper layer.
如上所述,於將來之通信系統中,因傳送各資料之實體配線被統合至例如依據A-PHY規格之1個實體配線,故於1條通信路串列傳送指令與SYNC。尤其,於A-PHY規格中,指令與SYNC/GPIO之優先順序為同行,且先輸入之資料優先。因此,於圖3之例中,SYNC以於指令之發送完成後發送之方式進行調度並封包化。因此,如圖3中虛線框C2所示,於來自主機之SYNC與I2C之指令之發送時序重合之情形時,感測器於指令之接收完成後接收SYNC。另,下一個SYNC於原本之時序發送。其結果,無法保持SYNC之週期。As described above, in future communication systems, since the physical wiring for transmitting each data is integrated into one physical wiring according to the A-PHY specification, for example, commands and SYNC are transmitted serially on one communication path. In particular, in the A-PHY specification, the priority of commands and SYNC/GPIO is the same, and the data input first takes precedence. Therefore, in the example of FIG. 3 , SYNC is scheduled and packetized in a manner such that it is sent after the command is sent. Therefore, as shown in the dashed box C2 in FIG. 3 , when the sending timing of the SYNC from the host coincides with the sending timing of the command from I2C, the sensor receives the SYNC after the reception of the command is completed. In addition, the next SYNC is sent at the original timing. As a result, the SYNC cycle cannot be maintained.
如此,於1個實體配線上於與通信對象裝置之間傳送複數種資料之系統中,有產生同向通信衝突之風險。尤其,因自ECU對感測器發送之SYNC(同步信號)用於感測器中之訊框同步,故需要考慮其發送時序。In this way, in a system that transmits multiple types of data between communication target devices on one physical wiring, there is a risk of generating a communication conflict in the same direction. In particular, since the SYNC (synchronization signal) sent from the ECU to the sensor is used for frame synchronization in the sensor, its transmission timing needs to be considered.
相對於此,於本揭示之技術中,於利用可於1個實體配線上傳送複數種資料之實體層發送第1資料時輸入第2資料之情形時,藉由於第1資料插入中斷控制資料來中斷發送第2資料,實現避免1個實體配線中之同向通信衝突。In contrast, in the technology disclosed herein, when the second data is input while the first data is sent using a physical layer that can transmit multiple types of data on one physical wiring, interrupt control data is inserted into the first data to interrupt the sending of the second data, thereby avoiding the same-direction communication conflict in one physical wiring.
<2.應用本揭示之技術之通信系統> 圖4係顯示應用本揭示之技術之通信系統之構成例之圖。 <2. Communication system using the technology disclosed herein> FIG. 4 is a diagram showing an example of the configuration of a communication system using the technology disclosed herein.
圖4所示之通信系統1由通信裝置10與通信裝置20構成。通信裝置10與通信裝置20經由由1根纜線等構成之通信路30交換資料。於通信系統1中,於通信裝置10與通信裝置20之間,進行經由A-PHY網路之資料傳送。A-PHY作為車載專用之SerDes之實體層,係由MIPI聯盟規定之規格。此處,將由MIPI聯盟規定之規格稱為MIPI規格。The communication system 1 shown in FIG. 4 is composed of a communication device 10 and a communication device 20. The communication device 10 and the communication device 20 exchange data via a communication path 30 composed of a cable or the like. In the communication system 1, data is transmitted between the communication device 10 and the communication device 20 via an A-PHY network. A-PHY is a physical layer of a vehicle-specific SerDes and is a specification specified by the MIPI Alliance. Here, the specification specified by the MIPI Alliance is referred to as the MIPI specification.
通信裝置10包含處理部11與通信部12。處理部11由進行與PAL(Protocol Adaptation Layer:協議調適層)相關之處理之晶片、或控制通信裝置10之各部之動作之CPU(Central Processing Unit:中央處理單元)等構成。通信部12由進行與資料傳送相關之處理之晶片等構成。通信部12進行與A-PHY相關之處理(主要為PHY層之處理)。處理部11進行與成為A-PHY之上階之層之上階層相關之處理。The communication device 10 includes a processing unit 11 and a communication unit 12. The processing unit 11 is composed of a chip that performs processing related to PAL (Protocol Adaptation Layer) or a CPU (Central Processing Unit) that controls the operation of each unit of the communication device 10. The communication unit 12 is composed of a chip that performs processing related to data transmission. The communication unit 12 performs processing related to A-PHY (mainly processing of the PHY layer). The processing unit 11 performs processing related to the upper layer of the upper layer of A-PHY.
通信裝置20包含處理部21與通信部22。處理部21由進行與PAL相關之處理之晶片、或控制通信裝置20之各部之動作之CPU等構成。通信部22由進行與資料傳送相關之處理之晶片等構成。通信部22進行與A-PHY相關之處理。處理部21進行與成為A-PHY之上階之層之上階層相關之處理。The communication device 20 includes a processing unit 21 and a communication unit 22. The processing unit 21 is composed of a chip that performs processing related to PAL, or a CPU that controls the operation of each unit of the communication device 20. The communication unit 22 is composed of a chip that performs processing related to data transmission. The communication unit 22 performs processing related to A-PHY. The processing unit 21 performs processing related to the upper layer of the upper layer of A-PHY.
於通信系統1中,通信裝置10與通信裝置20中之一者成為源端(Source),另一者成為終端(Sink)。源端與終端於MIPI規格中規定,於以下,例示通信裝置10成為相當於圖3之Des之終端、且通信裝置20成為相當於圖3之感測器之源端之情形。又,將自源端向終端之傳送稱為下行鏈路(Downlink),將自終端向源端之傳送稱為上行鏈路(Uplink)。於下行鏈路與上行鏈路中,傳送速度(通信速度)不同,且下行鏈路較上行鏈路更快速。In the communication system 1, one of the communication device 10 and the communication device 20 becomes a source, and the other becomes a sink. The source and the sink are defined in the MIPI specification. In the following, the communication device 10 becomes a sink equivalent to the Des in FIG. 3 , and the communication device 20 becomes a source equivalent to the sensor in FIG. 3 . In addition, the transmission from the source to the sink is called a downlink, and the transmission from the sink to the source is called an uplink. The transmission speed (communication speed) is different in the downlink and the uplink, and the downlink is faster than the uplink.
此處,假定於通信系統1中,藉由經由通信路30之串列通信,自終端側之通信裝置10向源端側之通信裝置20發送A-封包之情形。於該情形時,於處理部11中處理GPIO、I2C、CAN等之各種方式之資料。於處理部11中,自各種方式之資料產生A-封包。Here, it is assumed that in the communication system 1, the communication device 10 on the terminal side sends an A-packet to the communication device 20 on the source side by serial communication via the communication path 30. In this case, data in various forms such as GPIO, I2C, and CAN are processed in the processing unit 11. In the processing unit 11, an A-packet is generated from the data in various forms.
通信部12發送由處理部11產生之A-封包。此時,通信部12對發送之A-封包附加MC(Message Counter:訊息計數)序號。例如,MC序號係自0至255之值,按每個A-封包附加不同之序號。於該例中,藉由將開始之值設為0,按每1個A-封包遞增,並於值成為255時返回0,而可繼續附加MC序號。又,通信部12可對發送之A-封包附加時間戳記。The communication unit 12 sends the A-packet generated by the processing unit 11. At this time, the communication unit 12 adds an MC (Message Counter) number to the A-packet sent. For example, the MC number is a value from 0 to 255, and a different number is added to each A-packet. In this example, by setting the initial value to 0, incrementing it for each A-packet, and returning to 0 when the value reaches 255, the MC number can be continuously added. In addition, the communication unit 12 can add a time stamp to the A-packet sent.
圖5係顯示A-封包之構成之一例之圖。FIG. 5 is a diagram showing an example of the structure of an A-packet.
如圖5所示,A-封包(A-Packet)由A-封包頭(A-Packet Header)、A-封包有效負載(A-Packet Payload)、A-封包尾(A-Packet Tail)構成。As shown in FIG. 5 , an A-Packet is composed of an A-Packet Header, an A-Packet Payload, and an A-Packet Tail.
A-封包頭包含8位元之調適描述符(Adaptation Descriptor)、8位元之服務描述符(Service Descriptor)、8位元之放置描述符(Placement Descriptor)、8位元之PHY2、8位元之目標位址(Target Address)、8位元之PHY3、8位元之有效負載長度(Payload Length)、8位元之實體層頭循環冗餘檢查(PHY Header CRC:PHY Header Cyclic Redundancy Check)之各資料欄。The A-packet header includes 8-bit Adaptation Descriptor, 8-bit Service Descriptor, 8-bit Placement Descriptor, 8-bit PHY2, 8-bit Target Address, 8-bit PHY3, 8-bit Payload Length, and 8-bit PHY Header Cyclic Redundancy Check (PHY Header CRC).
A-封包有效負載可包含時間戳記(Timestamp)之資料欄。時間戳記為配置時間戳記之資料欄。A-Packet payload can contain a timestamp field. Timestamp is a field for configuring timestamps.
另,於自源端側之通信裝置20向終端側之通信裝置10發送A-封包之情形時,亦僅上述之終端側與源端側之處理相反,基本進行同樣之處理。In addition, when the communication device 20 on the source side sends an A-packet to the communication device 10 on the terminal side, the terminal side performs basically the same processing as the source side, except that the processing on the terminal side is opposite to that on the source side.
<3. SYNC封包之中斷發送與發送時序之延遲> 此處,就上述通信系統1中實現之SYNC封包之中斷發送與發送時序之延遲進行說明。 <3. Interruption of SYNC packet transmission and delay of transmission timing> Here, the interruption of SYNC packet transmission and delay of transmission timing implemented in the above communication system 1 are explained.
(SYNC封包之中斷發送) 圖6係說明通信系統1中實現之SYNC封包之中斷發送之圖。 (Interrupted transmission of SYNC packets) Figure 6 is a diagram illustrating the interrupted transmission of SYNC packets implemented in the communication system 1.
於圖6中,顯示自終端側即主機(ECU)經由Des(通信裝置10)之PHY向源端側即感測器(通信裝置20)之PHY上行鏈路傳送指令與SYNC之情況。此處,設為根據A-PHY規格收發資料。In Fig. 6, it is shown that the command and SYNC are transmitted from the terminal side, i.e., the host (ECU), to the source side, i.e., the sensor (communication device 20), via the PHY of Des (communication device 10). Here, it is assumed that data is transmitted and received according to the A-PHY specification.
首先,於自主機側發送指令(位元組資料)之過程中,於時序T11,當通信裝置10之處理部11輸入SYNC(用於感測器中之訊框同步之同步信號)時,產生中斷旗標(interrupt)。First, in the process of sending a command (byte data) from the host side, at timing T11, when the processing unit 11 of the communication device 10 inputs SYNC (a synchronization signal for frame synchronization in the sensor), an interrupt flag is generated.
通信裝置10之通信部12根據中斷旗標,於輸出完發送中之指令之A-封包之時序T12,插入中斷控制資料(INT1,INT2)。中斷控制資料係包含顯示中斷發送封包之控制碼(Code)之資料。The communication unit 12 of the communication device 10 inserts interrupt control data (INT1, INT2) at the timing T12 after outputting the A-packet of the command being sent according to the interrupt flag. The interrupt control data is data including a control code (Code) indicating interruption of the sending packet.
於接續之時序T13,通信裝置10之通信部12繼中斷控制資料,中斷發送SYNC之A-封包。此時,亦可對SYNC之A-封包附加上述時間戳記。At the subsequent timing T13, the communication unit 12 of the communication device 10 continues to interrupt the control data and interrupts the sending of the SYNC A-packet. At this time, the above-mentioned time stamp can also be added to the SYNC A-packet.
於中斷發送SYNC之A-封包後,於時序T14,通信裝置10之通信部12繼續發送未發送之指令之A-封包。After stopping sending the A-packet of SYNC, at the timing T14, the communication unit 12 of the communication device 10 continues to send the A-packet of the unsent command.
於A-PHY中之上行鏈路中,藉由連續傳送CM(Control Mark:控制標誌)與CN(Control Nibbles:控制半位元組),進行各請求或封包發送。於通信系統1中,設為使用CM與CN作為中斷控制資料(INT1,INT2),於CN中新定義用於中斷發送A-封包之格式。In the uplink of A-PHY, each request or packet is sent by continuously transmitting CM (Control Mark) and CN (Control Nibbles). In the communication system 1, CM and CN are used as interrupt control data (INT1, INT2), and a format for interrupting the sending of A-packets is newly defined in CN.
圖7係顯示新定義之CN(Control Nibbles)之例之圖。FIG. 7 is a diagram showing an example of a newly defined CN (Control Nibbles).
於圖7中,無效(Null)、PS(Packet Start:開始封包)、PE(Packet End:結束封包)、RRS(Ret.Req.Start:返回.請求.開始)、RE(Req.End:返回.結束)、GRS(Gap Req.Start:跳過.請求.開始)、RTR(Re-Train Req.:重新訓練請求.)、CMR(sCMax Req.)、INT(Interrupt:中斷)/PC(Packet Continue:繼續封包)、ACK(Ack Indication:Acknowledgement Indication:肯定應答指示)係目前之方式規定之CN。於圖7中,PINT(Packet Interrupt:中斷封包)係本揭示中新規定之CN,顯示中斷發送封包。PINT之碼(Code)可使用於目前方式未使用之例如1110。藉此,作為中斷控制資料,可利用CM與CN之新穎格式。另,將CN設為由2個半位元組(4bit:4位元)之CN1、CN2構成之1位元組(byte)之資料。In FIG. 7 , Null, PS (Packet Start), PE (Packet End), RRS (Ret.Req.Start), RE (Req.End), GRS (Gap Req.Start), RTR (Re-Train Req.), CMR (sCMax Req.), INT (Interrupt)/PC (Packet Continue), ACK (Ack Indication) are CNs specified in the current method. In FIG. 7 , PINT (Packet Interrupt) is a CN newly specified in the present disclosure, indicating interruption of packet transmission. The code of PINT can be used for the codes not used in the current method, such as 1110. This allows the use of the novel format of CM and CN as interrupt control data. In addition, CN is set to be 1-byte data consisting of 2 nibbles (4 bits) of CN1 and CN2.
圖8係顯示先前之CN之構成例之圖。FIG. 8 is a diagram showing a configuration example of a previous CN.
於圖8之A圖,顯示於發送資料時產生重發要求之情形時之CN之例。於該情形時,於CN1設定顯示中斷之INT(Interrupt),於CN2設定顯示重發要求之RRS(Ret.Req.Start)。具體而言,首先為了使請求中斷而於CN1設定INT,接著於CN2設定RRS。之後接續之位元組資料,係根據CN之內容決定。於該例中,接續CN之位元組資料由顯示要求重發之封包序號之MC序號、及用於錯誤檢查之CRC(Cyclic Redundancy Check:循環冗餘檢查)構成。Figure 8A shows an example of CN when a retransmission request is generated when sending data. In this case, INT (Interrupt) is set in CN1 to indicate an interruption, and RRS (Ret.Req.Start) is set in CN2 to indicate a retransmission request. Specifically, INT is first set in CN1 to interrupt the request, and then RRS is set in CN2. The byte data that follows is determined by the content of CN. In this example, the byte data that follows CN consists of the MC sequence number that indicates the packet sequence number of the retransmission request, and CRC (Cyclic Redundancy Check) used for error checking.
於圖8之B圖,顯示I2C等中之發送ACK信號之情形時之CN之例。於該情形時,將CN1設為任意,對CN2設定顯示肯定應答之ACK(Ack Indication)。於該例中,接續CN之位元組資料由顯示接著返送ACK之封包序號之MC序號、及用於錯誤檢查之CRC構成。In Figure 8B, an example of CN in the case of sending an ACK signal in I2C is shown. In this case, CN1 is set to arbitrary, and ACK (Ack Indication) indicating a positive response is set for CN2. In this example, the byte data following CN is composed of the MC sequence number indicating the packet sequence number of the next ACK to be sent back, and the CRC used for error checking.
另,參照圖8之A圖說明之顯示中斷之INT,僅規定中斷發送位元組資訊。即,於先前之CN中,未規定中斷發送封包。In addition, the INT indicating interruption described in FIG8A only specifies interruption of sending byte information. That is, in the previous CN, interruption of sending packets was not specified.
另一方面,於本揭示中,於用作中斷控制資料之CN,設定顯示中斷發送封包之PINT(Packet Interrupt)。On the other hand, in the present disclosure, a PINT (Packet Interrupt) indicating interruption of packet transmission is set in the CN used for interrupting control data.
圖9係顯示用作中斷控制資料之CN之構成例之圖。FIG. 9 is a diagram showing an example of the configuration of CN used for interrupt control data.
於圖9,顯示於輸出自第1位元組至第N位元組之指令後,插入中斷控制資料(CM,CN)之情形之例。於該情形時,於CN1設定顯示中斷之INT(Interrupt),於CN2設定顯示中斷發送封包之PINT(Packet Interrupt)。藉此,作為接續CN之資料,中斷發送SYNC封包。再者,於中斷發送SYNC封包後,插入中斷控制資料(CM,CN),繼續發送自未發送之第(N+1)位元組至最終位元組之指令。FIG9 shows an example of inserting interrupt control data (CM, CN) after outputting the command from the 1st byte to the Nth byte. In this case, INT (Interrupt) indicating interruption is set in CN1, and PINT (Packet Interrupt) indicating interruption of packet transmission is set in CN2. In this way, the transmission of the SYNC packet is interrupted as the data of the continuation of CN. Furthermore, after the transmission of the SYNC packet is interrupted, the interrupt control data (CM, CN) is inserted to continue the transmission of the command from the unsent (N+1)th byte to the last byte.
另,如圖10所示,亦可廢棄於中斷發送SYNC封包之前發送之1位元組至N位元組之指令,而於中斷發送SYNC封包後,自開頭(第1位元組)重發指令。In addition, as shown in FIG. 10 , the 1-byte to N-byte command sent before the SYNC packet is interrupted may be discarded, and the command may be resent from the beginning (the first byte) after the SYNC packet is interrupted.
如以上,作為CN,新定義顯示中斷發送封包之PINT,於在發送指令時輸入SYNC封包之情形時,藉由插入設定了PINT之CN,而中斷發送SYNC封包。藉此,例如可避免依據A-PHY規格之1個實體配線中之同向通信之衝突。進而,可保持SYNC之週期。As described above, as CN, a PINT indicating interruption of packet transmission is newly defined. When a SYNC packet is input when sending a command, the CN with the PINT set is inserted to interrupt the transmission of the SYNC packet. This can avoid, for example, a conflict of unidirectional communication in one physical wiring according to the A-PHY specification. Furthermore, the SYNC cycle can be maintained.
(SYNC封包之發送時序之延遲) 於參照圖6說明之中斷發送SYNC封包中,因於輸出完發送中之指令、而插入中斷控制資料之後插入SYNC封包,故自輸入SYNC封包至中斷發送產生恆定之延遲時間。因於此後無需中斷發送SYNC封包之情形時不產生該種延遲時間,故SYNC彼此之時間間隔(SYNC間隔)變得不一致。 (Delay in the sending timing of SYNC packets) In the interrupted sending of SYNC packets as described in reference to Figure 6, since the SYNC packet is inserted after the command being sent is output and the interruption control data is inserted, a constant delay time is generated from the input of the SYNC packet to the interruption of sending. Since this delay time does not occur when there is no need to interrupt the sending of SYNC packets, the time interval between SYNCs (SYNC interval) becomes inconsistent.
因此,就使中斷發送之以後之SYNC封包之發送時序延遲之例進行說明。Therefore, an example of delaying the transmission timing of the SYNC packet after the transmission is interrupted is described.
圖11係說明通信系統1中之實現之SYNC封包之發送時序延遲之圖。Figure 11 is a diagram illustrating the transmission timing delay of the SYNC packet implemented in communication system 1.
於圖11中,與圖6同樣,顯示自終端側即主機(ECU)經由Des(通信裝置10)之PHY向源端側即感測器之PHY(通信裝置20)上行鏈路傳送指令與SYNC之情況。FIG. 11 , like FIG. 6 , shows the situation where commands and SYNC are transmitted from the terminal side, i.e., the host (ECU), to the source side, i.e., the sensor's PHY (communication device 20), via the PHY of the Des (communication device 10) uplink.
於圖11中,將自輸入SYNC之時序T21、至插入中斷控制資料後中斷發送SYNC封包之延遲時間設為t。In FIG. 11 , the delay time from the timing T21 of inputting SYNC to the interruption of sending SYNC packet after inserting interrupt control data is set as t.
於該情形時,通信裝置10之通信部12針對下一個SYNC封包,即使於無需中斷發送之情形時,亦使自輸入下一個SYNC之時序T22至發送之發送時序延遲延遲時間t。通信裝置10之通信部12針對此後之SYNC封包亦同樣,使發送時序延遲延遲時間t。In this case, the communication unit 12 of the communication device 10 delays the transmission timing from the timing T22 of inputting the next SYNC packet to the transmission timing by the delay time t even when the transmission does not need to be interrupted. The communication unit 12 of the communication device 10 also delays the transmission timing by the delay time t for subsequent SYNC packets.
另,亦可根據A-PHY之傳送速度調整SYNC封包之發送時序。In addition, the sending timing of the SYNC packet can be adjusted according to the transmission speed of A-PHY.
如以上,因配合中斷發送SYNC封包時之延遲時間而調整所有SYNC封包之發送時序,故可使SYNC間隔一致。As described above, by adjusting the sending timing of all SYNC packets in accordance with the delay time when the sending of SYNC packets is interrupted, the SYNC intervals can be made consistent.
另,如圖12所示,於自輸入下一個SYNC之時序T22至發送之延遲期間中(經過延遲時間t時)新輸入指令之情形時,藉由調度器,以於SYNC封包之後發送指令之方式進行調度。如上所述,於A-PHY規格中,因先輸入之資料優先,故此處,以於SYNC封包之發送完成後發送指令之方式進行調度並封包化。In addition, as shown in FIG12, when a new command is input during the delay period from the timing T22 of inputting the next SYNC to the transmission (after the delay time t), the scheduler performs scheduling in a manner of transmitting the command after the SYNC packet. As mentioned above, in the A-PHY specification, the data input first takes precedence, so here, the command is scheduled and packetized in a manner of transmitting the command after the transmission of the SYNC packet is completed.
<4.接收到之SYNC封包向上階層之轉送與轉送時序之調整> 於以上,對發送SYNC封包之發送側之處理進行了說明。於以下,作為接收SYNC封包之接收側之處理,就實體層中接收到之SYNC封包向上階層之轉送與轉送時序之調整進行說明。 <4. Transfer of received SYNC packets to the upper layer and adjustment of transfer timing> Above, the processing on the sending side of sending SYNC packets was explained. Below, as the processing on the receiving side of receiving SYNC packets, the transfer of SYNC packets received in the physical layer to the upper layer and adjustment of transfer timing are explained.
(接收到之SYNC封包向上階層之轉送) 圖13係說明通信系統1中實現之接收到之SYNC封包向上階層之轉送之圖。 (Forwarding of received SYNC packets to an upper layer) Figure 13 is a diagram illustrating the forwarding of received SYNC packets to an upper layer implemented in communication system 1.
於圖13中,與圖11同樣,除了自主機(ECU)側向感測器側上行鏈路傳送指令與SYNC之情況之外,亦顯示自感測器之PHY向上階層轉送所傳送之指令與SYNC之情況。In FIG. 13 , similar to FIG. 11 , in addition to the situation where the command and SYNC are transmitted from the host (ECU) side to the sensor side uplink, the situation where the PHY of the self-sensor forwards the transmitted command and SYNC to the upper layer is also shown.
如上所述,於主機(ECU)側,於在發送指令時輸入SYNC之情形時,藉由對指令插入中斷控制資料而可中斷發送SYNC封包。As described above, on the host (ECU) side, when SYNC is input when sending a command, the sending of the SYNC packet can be interrupted by inserting interrupt control data into the command.
此時,對SYNC封包附加中斷發送之指令之下一個MC序號,但SYNC封包之MC序號、與繼該中斷發送後發送之未發送之指令之A-封包之MC序號之順序有時反轉。於該情形時,於感測器側,SYNC封包依照MC序號之順序,於中斷發送之所有指令之A-封包之後轉送至上階層。此時,無法於感測器中保持SYNC之週期。At this time, the MC number of the next command sent by the interrupt is added to the SYNC packet, but the order of the MC number of the SYNC packet and the MC number of the A-packet of the unsent command sent after the interrupt is sometimes reversed. In this case, on the sensor side, the SYNC packet is transferred to the upper layer after the A-packets of all commands sent by the interrupt in the order of the MC number. At this time, the SYNC cycle cannot be maintained in the sensor.
因此,如圖13所示,於時序T31,於感測器之PHY(通信裝置20之通信部22)接收到中斷發送之SYNC封包之情形時,可對上階層優先轉送SYNC封包。Therefore, as shown in FIG. 13 , at timing T31, when the PHY of the sensor (the communication unit 22 of the communication device 20 ) receives the SYNC packet whose transmission is interrupted, the SYNC packet can be preferentially forwarded to the upper layer.
具體而言,定義顯示中斷發送之中斷資訊,並儲存於中斷發送之SYNC封包內。感測器之PHY基於儲存於SYNC封包之中斷資訊,優先對上階層轉送該SYNC封包。Specifically, interrupt information indicating interrupt transmission is defined and stored in a SYNC packet of the interrupt transmission. The PHY of the sensor preferentially forwards the SYNC packet to an upper layer based on the interrupt information stored in the SYNC packet.
圖14係顯示定義為中斷資訊之中斷指示之一例之圖。FIG. 14 is a diagram showing an example of an interrupt indication defined as interrupt information.
於圖14,除了參照圖5說明之A-封包之構成之外,亦顯示A-封包頭所包含之調適描述符、服務描述符、放置描述符之各資料欄之細節。其中之服務描述符現狀為包含2位元之PHY1、2位元之優先級(Prio:Priority)、2位元之服務品質(QoS:Quality of Service)、1位元之破損指示(BAD:Bad Indication)之資料欄,剩餘之位元設為保留(Res:Reserved)。In addition to the A-packet structure described in FIG5 , FIG14 also shows the details of the data fields of the A-packet header, including the adaptation descriptor, service descriptor, and placement descriptor. The service descriptor currently includes a data field containing 2 bits of PHY1, 2 bits of priority (Prio), 2 bits of quality of service (QoS), and 1 bit of bad indication (BAD), and the remaining bits are set as reserved (Res).
因此,於本揭示中,於SYNC封包(A-封包頭)內之服務描述符所包含之保留(Res),儲存定義為中斷資訊之中斷指示。於主機側(通信裝置10之通信部12)中,亦可於中斷發送SYNC封包時儲存中斷指示。Therefore, in the present disclosure, the reserved (Res) contained in the service descriptor in the SYNC packet (A-packet header) stores the interrupt indication defined as the interrupt information. In the host side (communication unit 12 of the communication device 10), the interrupt indication can also be stored when the SYNC packet is interrupted.
如以上,於感測器側,基於接收到之SYNC封包所包含之中斷資訊,該SYNC封包無論MC序號之順序而優先轉送至上階層。藉此,亦可於感測器側保持SYNC之週期。As described above, on the sensor side, based on the interrupt information contained in the received SYNC packet, the SYNC packet is forwarded to the upper layer first regardless of the order of the MC sequence number. In this way, the SYNC cycle can also be maintained on the sensor side.
(向上階層之轉送時序之調整) 於參照圖13說明之SYNC封包向上階層之轉送中,亦可基於SYNC封包所包含之時間戳記,調整SYNC封包向上階層之轉送時序。 (Adjustment of the forwarding timing to the upper layer) In the forwarding of the SYNC packet to the upper layer as described with reference to FIG. 13, the forwarding timing of the SYNC packet to the upper layer can also be adjusted based on the timestamp included in the SYNC packet.
例如,如圖15所示,感測器之PHY(通信裝置20之通信部22)計算於時序T41接收到之SYNC封包所包含之時間戳記、與於時序T42接收到之SYNC封包所包含之時間戳記之差量(時間間隔)。且,感測器之PHY基於計算出之時間戳記之差量,調整於時序T42接收到之SYNC封包向上階層之轉送時序。For example, as shown in FIG15 , the PHY of the sensor (the communication unit 22 of the communication device 20) calculates the difference (time interval) between the timestamp included in the SYNC packet received at timing T41 and the timestamp included in the SYNC packet received at timing T42. Furthermore, the PHY of the sensor adjusts the timing of forwarding the SYNC packet received at timing T42 to the upper layer based on the calculated timestamp difference.
又,於時間戳記之差量超過指定閾值之情形時,於時序T43,感測器之PHY亦可對主機返送包含錯誤通知資訊(Error Notification)之封包(錯誤通知封包)。Furthermore, when the difference between the timestamps exceeds a specified threshold, at timing T43, the PHY of the sensor may also return a packet (error notification packet) containing error notification information (Error Notification) to the host.
圖16係顯示錯誤通知封包之構成之一例之圖。FIG. 16 is a diagram showing an example of the structure of an error notification packet.
圖16所示之錯誤通知封包基本上與參照圖5說明之A-封包同樣地構成。但,圖16之錯誤通知封包與圖5之A-封包之不同點在於,A-封包有效負載除了包含時間戳記之資料欄之外,亦包含破損或缺損(BAD or DROP)與MC編號(MC number)之資料欄。破損或缺損係配置破損/缺損旗標之資料欄,該破損/缺損旗標顯示設為時間戳記異常之SYNC封包(錯誤封包)為破損(BAD)或缺損(DROP)之封包。MC編號係配置錯誤封包之MC序號之資料欄。The error notification packet shown in FIG16 is basically constructed in the same manner as the A-packet described with reference to FIG5. However, the difference between the error notification packet of FIG16 and the A-packet of FIG5 is that the A-packet payload includes not only a data field of a timestamp but also a data field of a BAD or DROP and an MC number. The BAD or DROP is a data field configured with a BAD/DROP flag, and the BAD/DROP flag indicates that the SYNC packet (error packet) set to a timestamp abnormality is a BAD or DROP packet. The MC number is a data field configured with the MC sequence number of the error packet.
於接收到該種錯誤通知封包之主機側(通信裝置10)中,通信部12向處理部11通知接收到之錯誤通知封包所包含之SYNC封包(錯誤封包)之MC序號等。藉此,主機側(通信裝置10)可檢測於SYNC之週期有異常。In the host side (communication device 10) that receives the error notification packet, the communication unit 12 notifies the processing unit 11 of the MC number of the SYNC packet (error packet) included in the received error notification packet. In this way, the host side (communication device 10) can detect that there is an abnormality in the SYNC cycle.
此處,具體說明時間戳記之差量之計算與其之調整。Here, the calculation and adjustment of the timestamp difference are explained in detail.
圖17係顯示時間戳記之差量之計算之具體例之圖。FIG. 17 is a diagram showing a specific example of the calculation of the difference in timestamps.
於圖17之上階,顯示於感測器側之GPIO接收之5訊框量之SYNC封包。於表示各SYNC封包之矩形,記有顯示附加於SYNC封包之時間戳記之計數值。圖中,當設為自左起顯示訊框0~訊框4之SYNC封包時,訊框0之SYNC封包之時間戳記(計數值)為10,訊框1之SYNC封包之時間戳記為5010。同樣,訊框2之SYNC封包之時間戳記為10006,訊框3之SYNC封包之時間戳記為14992,訊框4之SYNC封包之時間戳記(計數值)為19962。At the top of Figure 17, 5 frames of SYNC packets are received by the GPIO on the sensor side. In the rectangle representing each SYNC packet, there is a count value indicating the timestamp attached to the SYNC packet. In the figure, when the SYNC packets of frame 0 to frame 4 are displayed from the left, the timestamp (count value) of the SYNC packet of frame 0 is 10, and the timestamp of the SYNC packet of frame 1 is 5010. Similarly, the timestamp of the SYNC packet of frame 2 is 10006, the timestamp of the SYNC packet of frame 3 is 14992, and the timestamp (count value) of the SYNC packet of frame 4 is 19962.
於圖17之下階,作為各訊框之SYNC封包之間隔(SYNC寬度),顯示與前一個訊框之SYNC封包之時間戳記之差量。即,訊框0之SYNC寬度為5010-10=5000,訊框1之SYNC寬度為10006-5010=4996。同樣,訊框2之SYNC寬度為14992-10006=4986,訊框3之SYNC寬度為19962-14992=4970。At the bottom of Figure 17, the difference from the time stamp of the SYNC packet of the previous frame is shown as the interval (SYNC width) of the SYNC packets of each frame. That is, the SYNC width of frame 0 is 5010-10=5000, and the SYNC width of frame 1 is 10006-5010=4996. Similarly, the SYNC width of frame 2 is 14992-10006=4986, and the SYNC width of frame 3 is 19962-14992=4970.
如此,於圖17之例中,因SYNC寬度為5000、4996、4986、4970而有偏差,故需要減輕其偏差。Thus, in the example of FIG. 17 , since the SYNC widths are 5000, 4996, 4986, and 4970, there are deviations, and therefore the deviations need to be reduced.
圖18係顯示時間戳記之差量之計算之具體例之圖。FIG. 18 is a diagram showing a specific example of the calculation of the difference in timestamps.
於圖18之上階,與圖17同樣,顯示訊框0~訊框4之SYNC封包,於其下,顯示與前一個訊框之SYNC封包之時間戳記之差量(1SYNC間隔)。再者,於其下顯示1SYNC間隔之差量。具體而言,訊框0與訊框1之SYNC間隔之差量為4996-5000=“-4”,訊框1與訊框2之SYNC間隔之差量為4986-4996=“-10”,訊框2與訊框3之SYNC間隔之差量為4970-4986=“-16”。In the upper part of FIG. 18, as in FIG. 17, the SYNC packets of frame 0 to frame 4 are displayed, and below it, the difference in time stamp with the SYNC packet of the previous frame (1 SYNC interval) is displayed. Furthermore, the difference in 1 SYNC interval is displayed below it. Specifically, the difference in SYNC interval between frame 0 and frame 1 is 4996-5000="-4", the difference in SYNC interval between frame 1 and frame 2 is 4986-4996="-10", and the difference in SYNC interval between frame 2 and frame 3 is 4970-4986="-16".
此處,作為與SYNC間隔之差量相關之閾值,定義判定是否需要修正與前一個訊框之時間戳記之差量之第1閾值(不感帶閾值)、與判定是否需要返送錯誤通知封包之第2閾值(錯誤閾值)。於SYNC間隔之差量超過不感帶閾值之情形時,將與前一個訊框之SYNC間隔之差量之平均值作為當前訊框之SYNC寬度輸出,調整SYNC封包向上階層之轉送時序。又,於SYNC間隔之差量超過錯誤閾值之情形時,對主機發送錯誤通知封包。Here, as thresholds related to the difference in SYNC interval, the first threshold (dead-band threshold) for determining whether the difference in the timestamp from the previous frame needs to be corrected, and the second threshold (error threshold) for determining whether an error notification packet needs to be sent back are defined. When the difference in SYNC interval exceeds the dead-band threshold, the average value of the difference in the SYNC interval from the previous frame is output as the SYNC width of the current frame, and the forwarding timing of the SYNC packet to the upper layer is adjusted. In addition, when the difference in SYNC interval exceeds the error threshold, an error notification packet is sent to the host.
例如,於將不感帶閾值設為±5、將錯誤閾值設為±12之情形時,訊框0與訊框1之SYNC間隔5000、4996係直接作為訊框0與訊框1之SYNC寬度輸出。For example, when the deadband threshold is set to ±5 and the error threshold is set to ±12, the SYNC intervals of Frame 0 and Frame 1, 5000 and 4996, are directly output as the SYNC widths of Frame 0 and Frame 1.
另一方面,訊框1與訊框2之SYNC間隔之差量“-10”超過不感帶閾值。於該情形時,需要修正訊框2之SYNC間隔,將訊框1與訊框2各者之SYNC間隔4996、4986之平均值Ave(Average)(4996,4986)=4991置換為訊框2之SYNC寬度。藉此,可減輕訊框0至訊框2之SYNC寬度之偏差,將SYNC封包轉送至上階層。此時,於對各訊框之SYNC寬度進行計數之內部計數器A中,自14497開始對訊框3之SYNC寬度計數。On the other hand, the difference "-10" between the SYNC intervals of frame 1 and frame 2 exceeds the deadband threshold. In this case, the SYNC interval of frame 2 needs to be corrected, and the average value Ave (Average) (4996, 4986) = 4991 of the SYNC intervals 4996 and 4986 of frame 1 and frame 2 is replaced with the SYNC width of frame 2. In this way, the deviation of the SYNC width of frame 0 to frame 2 can be reduced, and the SYNC packet is forwarded to the upper layer. At this time, in the internal counter A that counts the SYNC width of each frame, the SYNC width of frame 3 is counted from 14497.
又,訊框2與訊框3之SYNC間隔之差量“-16”超過錯誤閾值。於該情形時,需要返送錯誤通知封包,對主機發送錯誤通知封包。此時,未修正訊框3之SYNC間隔,而將基於內部計數器A之值即19962-14497=“4965”直接作為訊框3之SYNC寬度輸出。Furthermore, the difference "-16" between the SYNC intervals of frame 2 and frame 3 exceeds the error threshold. In this case, an error notification packet needs to be sent back to the host. At this time, the SYNC interval of frame 3 is not corrected, and the value based on the internal counter A, that is, 19962-14497="4965", is directly output as the SYNC width of frame 3.
如以上,基於SYNC封包所包含之時間戳記,調整SYNC封包向上階層之轉送時序。藉此,可於感測器側中更確實地保持SYNC之週期。As described above, based on the timestamp included in the SYNC packet, the forwarding timing of the SYNC packet to the upper layer is adjusted. In this way, the SYNC cycle can be more accurately maintained on the sensor side.
<5.可對應於資料中斷之終端-源端之構成與動作> 參照圖19至圖21,就上述可對應於資料中斷之終端-源端之構成與動作進行說明。 <5. The structure and operation of the terminal-source that can respond to data interruption> Referring to Figures 19 to 21, the structure and operation of the terminal-source that can respond to data interruption are explained.
(終端-源端之構成) 圖19係顯示可對應於資料中斷之終端-源端之構成例之圖。 (Terminal-source configuration) Figure 19 is a diagram showing an example of a terminal-source configuration that can respond to data interruption.
於圖19中,顯示對應於上述主機(ECU)側之Des之終端100、與對應於感測器之源端200之構成。FIG. 19 shows the structure of a terminal 100 corresponding to the Des on the host (ECU) side and a source 200 corresponding to the sensor.
終端100構成為包含資料鏈路層110與A-PHY埠120。The terminal 100 is configured to include a data link layer 110 and an A-PHY port 120.
資料鏈路層110藉由提供用於經由A-PHY埠120收發資料之功能或步序,而實現與源端200之間之資料傳送。資料鏈路層110具有埠功能部(Port Function)111。埠功能部111將所輸入之各種信號轉換為A-封包,又,將A-封包轉換為各種規格之信號並輸出。The data link layer 110 implements data transmission with the source end 200 by providing functions or procedures for sending and receiving data via the A-PHY port 120. The data link layer 110 has a port function unit 111. The port function unit 111 converts various input signals into A-packets, and converts A-packets into signals of various specifications and outputs them.
A-PHY埠120例如相當於圖1之通信裝置10所包含之通信部12,進行與A-PHY相關之處理。A-PHY埠120由進行與重發等相關之處理之RTS(Retransmission:重發)121、進行發送之信號之加擾或編碼、接收到之信號之解碼或解擾之PCS(Physical Coding Sub-Layer:物理編碼子層)122、及連接於成為通信路之實體配線之PMD(Physical Medium Dependent:物理介質相關)123構成。The A-PHY port 120 is equivalent to the communication unit 12 included in the communication device 10 of FIG1 , and performs processing related to A-PHY. The A-PHY port 120 is composed of an RTS (Retransmission) 121 that performs processing related to retransmission, a PCS (Physical Coding Sub-Layer) 122 that performs jamming or encoding of transmitted signals and decoding or descrambling of received signals, and a PMD (Physical Medium Dependent) 123 that is connected to the physical wiring that becomes a communication path.
其中,RTS121具有時序調整電路131、發送用緩衝器132、調度器133、請求管理器134及CRC附加電路135。Among them, RTS121 has a timing adjustment circuit 131, a sending buffer 132, a scheduler 133, a request manager 134 and a CRC addition circuit 135.
時序調整電路131調整自資料鏈路層110供給之封包之輸出時序。發送用緩衝器132儲存已發送之封包或預定發送之封包。調度器133進行儲存於發送用緩衝器132之封包之發送調度。請求管理器134控制發送用緩衝器132與調度器133,管理來自通信對象裝置(源端200)之各種要求。CRC附加電路135對所發送之封包附加CRC,並輸出至PCS122。The timing adjustment circuit 131 adjusts the output timing of the packet supplied from the data link layer 110. The sending buffer 132 stores the packets that have been sent or the packets scheduled to be sent. The scheduler 133 performs the sending schedule of the packets stored in the sending buffer 132. The request manager 134 controls the sending buffer 132 and the scheduler 133 to manage various requests from the communication object device (source end 200). The CRC adding circuit 135 adds CRC to the sent packet and outputs it to the PCS 122.
源端200構成為包含A-PHY埠210與資料鏈路層220。The source end 200 is composed of an A-PHY port 210 and a data link layer 220 .
A-PHY埠210例如相當於圖1之通信裝置20所包含之通信部22,進行與A-PHY相關之處理。The A-PHY port 210 is equivalent to the communication unit 22 included in the communication device 20 of FIG. 1 , for example, and performs processing related to A-PHY.
A-PHY埠210由連接於成為通信路之實體配線之PMD211、進行接收到之信號之解碼或解擾、發送之信號之加擾或編碼之PCS212、及進行與重發等相關之處理之RTS213構成。The A-PHY port 210 is composed of a PMD 211 connected to a physical wiring serving as a communication path, a PCS 212 that performs decoding or descrambling of received signals and jamming or encoding of transmitted signals, and an RTS 213 that performs processing related to retransmission and the like.
其中,RTS213具有CRC檢查電路231與接收用緩衝器232。Among them, RTS213 has a CRC check circuit 231 and a receiving buffer 232.
CRC檢查電路231藉由PCS212解碼,使用對經解擾之封包附加之CRC進行錯誤檢測。The CRC check circuit 231 performs error detection using the CRC appended to the descrambled packet decoded by the PCS 212.
接收用緩衝器232儲存已接收之封包。儲存於接收用緩衝器232之封包例如依照MC序號之順序轉送至資料鏈路層220。The receiving buffer 232 stores received packets. The packets stored in the receiving buffer 232 are transferred to the data link layer 220 in the order of MC sequence numbers, for example.
資料鏈路層220藉由提供用於經由A-PHY埠210收發資料之功能或步序,而實現與終端100之間之資料傳送。資料鏈路層220具有埠功能部221。埠功能部221將輸入之各種規格之信號轉換為A-封包,又,將A-封包轉換為各種規格之信號並輸出。The data link layer 220 implements data transmission with the terminal 100 by providing functions or procedures for sending and receiving data via the A-PHY port 210. The data link layer 220 has a port function unit 221. The port function unit 221 converts input signals of various specifications into A-packets, and converts A-packets into signals of various specifications and outputs them.
另,以上主要就實現自終端100向源端200之上行鏈路之構成進行了說明。實際上,終端100中之A-PHY埠120、與源端200中之A-PHY埠210分別具有同樣之功能,亦可實現自源端200向終端100之下行鏈路。In addition, the above mainly describes the structure of realizing the uplink from the terminal 100 to the source 200. In fact, the A-PHY port 120 in the terminal 100 and the A-PHY port 210 in the source 200 have the same functions, and can also realize the downlink from the source 200 to the terminal 100.
(終端之動作) 參照圖20之流程圖,就終端100之SYNC封包之發送處理進行說明。圖20之處理係於可對資料鏈路層110輸入SYNC/GPIO之信號、或CAN、I2C等之各種規格之指令中執行。 (Terminal operation) Referring to the flowchart of FIG. 20 , the sending process of the SYNC packet of the terminal 100 is described. The process of FIG. 20 is executed in the command of various specifications such as CAN, I2C, etc., which can input the SYNC/GPIO signal to the data link layer 110.
於步驟S101中,資料鏈路層110判定是否有SYNC輸入。重複步驟S101直至判定為有SYNC輸入,當判定為有SYNC輸入時,進入步驟S102。此時,資料鏈路層110之埠功能部111向A-PHY埠120輸出將輸入之SYNC信號轉換為A-封包後之SYNC封包。In step S101, the data link layer 110 determines whether there is a SYNC input. Step S101 is repeated until it is determined that there is a SYNC input. When it is determined that there is a SYNC input, step S102 is entered. At this time, the port function unit 111 of the data link layer 110 outputs a SYNC packet after converting the input SYNC signal into an A-packet to the A-PHY port 120.
於步驟S102中,埠功能部111產生中斷旗標,將有SYNC輸入之旨意通知給A-PHY埠120之請求管理器134。In step S102, the port function unit 111 generates an interrupt flag to notify the request manager 134 of the A-PHY port 120 of the SYNC input.
於步驟S103中,請求管理器134基於儲存於發送用緩衝器132之封包,每當發送SYNC封包時,判定是否有競爭之資料。In step S103, the request manager 134 determines whether there is any contention data each time a SYNC packet is sent based on the packets stored in the sending buffer 132.
於步驟S103中判定為有競爭之資料之情形時,進入步驟S104,調度器133於請求管理器134之控制下停止競爭之資料之轉送,並插入中斷控制資料(CM、CN(INT、PINT))。When it is determined in step S103 that there is contention data, the process proceeds to step S104, where the scheduler 133 stops the transfer of contention data under the control of the request manager 134 and inserts interrupt control data (CM, CN (INT, PINT)).
於步驟S105中,A-PHY埠120繼藉由調度器133插入之中斷控制資料,中斷發送SYNC封包。In step S105 , the A-PHY port 120 interrupts the sending of the SYNC packet by the interrupt control data inserted by the scheduler 133 .
且,於步驟S106中,A-PHY埠120發送藉由調度器133停止轉送之剩餘之資料。Furthermore, in step S106, the A-PHY port 120 sends the remaining data that the scheduler 133 stops forwarding.
另一方面,於步驟S103中判定為無競爭之資料之情形時,A-PHY埠120直接發送SYNC封包。此時,A-PHY埠120可根據需要使SYNC封包之發送時序延遲延遲時間t。On the other hand, when it is determined in step S103 that there is no contention data, the A-PHY port 120 directly sends the SYNC packet. At this time, the A-PHY port 120 can delay the sending timing of the SYNC packet by the delay time t as needed.
根據以上之處理,於在發送指令等之資料時輸入SYNC封包之情形時,藉由插入中斷控制資料,而中斷發送SYNC封包。藉此,例如可避免依據A-PHY規格之1個實體配線中之同向通信衝突。According to the above processing, when a SYNC packet is input while sending data such as a command, the SYNC packet is interrupted by inserting interrupt control data. This can avoid, for example, a communication conflict in the same direction in one physical wiring according to the A-PHY specification.
(源端之動作) 參照圖21之流程圖,就源端200之封包之接收處理進行說明。每當A-PHY埠210接收來自終端100之封包時,執行圖21之處理。 (Operation of the source end) Referring to the flowchart of FIG21, the packet reception processing of the source end 200 is explained. Whenever the A-PHY port 210 receives a packet from the terminal 100, the processing of FIG21 is executed.
於步驟S201中,A-PHY埠210判定於接收到之封包之封包頭內是否有定義為中斷資訊之中斷指示。此處,於封包頭內儲存有中斷指示之情形時,將接收到之該封包設為SYNC封包。In step S201, the A-PHY port 210 determines whether there is a break indication defined as break information in the packet header of the received packet. Here, when the break indication is stored in the packet header, the received packet is set as a SYNC packet.
於步驟S201中判定為有中斷指示之情形時,進入步驟S202,A-PHY埠210對上階層(資料鏈路層220)最優先地轉送SYNC封包。When it is determined in step S201 that there is a disconnection indication, the process proceeds to step S202, and the A-PHY port 210 forwards the SYNC packet to the upper layer (data link layer 220) with the highest priority.
且,於步驟S203中,資料鏈路層220(埠功能部221)基於轉送之SYNC封包,產生並輸出用於訊框同步之SYNC信號。Furthermore, in step S203, the data link layer 220 (port function unit 221) generates and outputs a SYNC signal for frame synchronization based on the transferred SYNC packet.
另一方面,於步驟S201中判定為無中斷指示之情形時,進入步驟S204,A-PHY埠210按照附加之MC序號順序對上階層(資料鏈路層220)轉送封包。On the other hand, when it is determined in step S201 that there is no interrupt indication, the process proceeds to step S204, and the A-PHY port 210 forwards the packet to the upper layer (data link layer 220) according to the sequence of the attached MC sequence number.
根據以上處理,基於接收到之SYNC封包所包含之中斷指示,該SYNC封包無論MC序號之順序如何均優先轉送至上階層。藉此,亦可於源端200側保持SYNC之週期。According to the above processing, based on the interrupt indication contained in the received SYNC packet, the SYNC packet is preferentially forwarded to the upper layer regardless of the order of the MC sequence number. In this way, the SYNC cycle can also be maintained at the source end 200 side.
上述之終端與源端以依據A-PHY規格之實體配線作為通信路,傳送各種規格之資料,但通信路不限於A-PHY規格,亦可為依據ASA規格等之其他規格之實體配線。於該情形時,只要將顯示中斷發送封包之控制碼設定為相當於CN(Control Nibbles)之指定之控制資料即可。The above-mentioned terminal and source use the physical wiring according to the A-PHY specification as the communication path to transmit data of various specifications, but the communication path is not limited to the A-PHY specification, and can also be a physical wiring according to other specifications such as the ASA specification. In this case, just set the control code indicating the interruption of the sending packet to the control data equivalent to the specified CN (Control Nibbles).
又,中斷SYNC封包之指令不限於CAN或I2C,亦可為I3C(Improved Inter-Integrated Circuits:改良之積體電路間)、CSI2(Camera Serial Interface 2:相機串行介面 2)、SPI(Serial Peripheral Interface:串列週邊介面)等之規格之資料。Furthermore, the instruction for interrupting the SYNC packet is not limited to CAN or I2C, but may also be data of specifications such as I3C (Improved Inter-Integrated Circuits), CSI2 (Camera Serial Interface 2), and SPI (Serial Peripheral Interface).
再者,中斷發送之資料不限於SYNC封包,亦可為轉換了緊急度較高之信號之資料。Furthermore, the data that is interrupted from being sent is not limited to SYNC packets, but may also be data that has been converted to a signal with a higher urgency.
另,本說明書中,系統係意指複數個構成要件(裝置、模組(零件)等)之集合,不管所有構成要件是否處於同一殼體中。因此,收納於個別之殼體、且經由網路而連接之複數個裝置,及於1個殼體中收納有複數個模組之1個裝置均為系統。In this specification, a system refers to a collection of multiple components (devices, modules (parts), etc.), regardless of whether all the components are in the same housing. Therefore, multiple devices housed in separate housings and connected via a network, and one device with multiple modules housed in one housing are both systems.
又,應用了本揭示之技術之實施形態並非限定於上述實施形態者,於不脫離本揭示之技術之要旨之範圍內,可進行各種變更。Furthermore, the implementation forms to which the technology disclosed herein is applied are not limited to the above-described implementation forms, and various modifications can be made without departing from the gist of the technology disclosed herein.
再者,本揭示可採用以下之構成。 (1) 一種通信方法,其係使通信裝置, 於利用可於1個實體配線上於與通信對象裝置之間傳送複數種資料之實體層發送第1資料時輸入第2資料之情形時,藉由於上述第1資料插入中斷控制資料來中斷發送上述第2資料。 (2) 如(1)所記載之通信方法,其中 上述中斷控制資料包含顯示中斷發送封包之控制碼。 (3) 如(2)所記載之通信方法,其中 上述第2資料係於上述通信對象裝置中使用之同步信號。 (4) 如(3)所記載之通信方法,其中 於中斷發送上述第2資料後,繼續發送未發送之上述第1資料。 (5) 如(3)所記載之通信方法,其中 廢棄於中斷發送上述第2資料之前發送之上述第1資料,於中斷發送上述第2資料後,自開頭重發上述第1資料。 (6) 如(3)至(5)中任一項所記載之通信方法,其中 基於自輸入上述第2資料至中斷發送為止之時間,使以後發送之上述第2資料之發送時序延遲。 (7) 如(6)所記載之通信方法,其中 基於上述實體層中之傳送速度,調整上述第2資料之上述發送時序。 (8) 如(7)所記載之通信方法,其中 於在上述第2資料之上述發送時序之延遲期間中輸入上述第1資料之情形時,以於上述第2資料之後發送上述第1資料之方式進行調度。 (9) 如(3)至(8)中任一項所記載之通信方法,其中 於上述第2資料之封包頭儲存顯示已中斷發送之中斷資訊。 (10) 如(9)所記載之通信方法,其中 上述通信對象裝置係 於在接收上述第1資料時接收到上述第2資料之情形時,基於上述中斷資訊,對上階層優先轉送上述第2資料。 (11) 如(10)所記載之通信方法,其中 上述通信對象裝置係 基於上述第2資料所包含之時間戳記,調整上述第2資料向上述上階層之轉送時序。 (12) 如(11)所記載之通信方法,其中 上述通信對象裝置係 於上述時間戳記之時間間隔超過閾值之情形時,對上述通信裝置返送包含錯誤通知資訊之封包。 (13) 如(1)至(12)中任一項所記載之通信方法,其中 上述實體層為MIPI(Mobile Industry Processor Interface)之A-PHY規格。 (14) 如(13)所記載之通信方法,其中 上述中斷控制資料設定為連續傳送之CM(Control Mark)與CN(Control Nibbles)中之上述CN。 (15) 一種通信裝置,其包含: 通信部,其於利用可於1個實體配線上於與通信對象裝置之間傳送複數種資料之實體層發送第1資料時輸入第2資料之情形時,藉由於上述第1資料插入中斷控制資料來中斷發送上述第2資料。 (16) 一種通信裝置,其包含: 通信部,其於利用可於1個實體配線上於與通信對象裝置之間傳送複數種資料之實體層接收第1資料時接收到第2資料之情形時,基於儲存於上述第2資料之封包頭之顯示已中斷發送之中斷資訊,對上階層優先轉送上述第2資料。 Furthermore, the present disclosure may adopt the following configuration. (1) A communication method, which is to enable a communication device, when a second data is input while transmitting the first data using a physical layer that can transmit multiple types of data between a communication target device and a communication target device on a physical wiring, to interrupt the transmission of the second data by inserting interrupt control data into the first data. (2) A communication method as described in (1), wherein the interrupt control data includes a control code indicating the interruption of the transmission packet. (3) A communication method as described in (2), wherein the second data is a synchronization signal used in the communication target device. (4) A communication method as described in (3), wherein after interrupting the transmission of the above-mentioned second data, the above-mentioned first data that has not been transmitted is continued to be transmitted. (5) A communication method as described in (3), wherein the above-mentioned first data transmitted before interrupting the transmission of the above-mentioned second data is discarded, and after interrupting the transmission of the above-mentioned second data, the above-mentioned first data is retransmitted from the beginning. (6) A communication method as described in any one of (3) to (5), wherein based on the time from inputting the above-mentioned second data to interrupting the transmission, the transmission timing of the above-mentioned second data to be transmitted later is delayed. (7) A communication method as described in (6), wherein based on the transmission speed in the above-mentioned physical layer, the above-mentioned transmission timing of the above-mentioned second data is adjusted. (8) A communication method as described in (7), wherein when the first data is input during the delay period of the transmission timing of the second data, scheduling is performed in such a way that the first data is transmitted after the second data. (9) A communication method as described in any one of (3) to (8), wherein interruption information indicating that transmission has been interrupted is stored in the packet header of the second data. (10) A communication method as described in (9), wherein the communication object device is when the second data is received while receiving the first data, based on the interruption information, preferentially forwarding the second data to the upper layer. (11) A communication method as described in (10), wherein the communication target device adjusts the transfer timing of the second data to the upper layer based on the timestamp included in the second data. (12) A communication method as described in (11), wherein the communication target device returns a packet containing error notification information to the communication device when the time interval of the timestamp exceeds a threshold. (13) A communication method as described in any one of (1) to (12), wherein the physical layer is the A-PHY specification of MIPI (Mobile Industry Processor Interface). (14) A communication method as described in (13), wherein the interruption control data is set as the CN in the CM (Control Mark) and CN (Control Nibbles) transmitted continuously. (15) A communication device, comprising: a communication unit, which interrupts the transmission of the second data by inserting the interruption control data into the first data when the second data is input while the first data is transmitted using a physical layer that can transmit multiple types of data between a communication target device on one physical wiring. (16) A communication device comprises: a communication unit which, when receiving second data while receiving first data at a physical layer capable of transmitting a plurality of data between a communication target device and the communication target device on a physical wiring, preferentially forwards the second data to an upper layer based on interruption information indicating that transmission has been interrupted and stored in a packet header of the second data.
1:通信系統 10:通信裝置 11:處理部 12:通信部 20:通信裝置 21:處理部 22:通信部 30:通信路 100:終端 110:資料鏈路層 111:埠功能部 120:A-PHY埠 121:RTS 122:PCS 123:PMD 131:時序調整電路 132:發送用緩衝器 133:調度器 134:請求管理器 135:CRC附加電路 200:源端 210:A-PHY埠 211:PMD 212:PCS 213:RTS 220:資料鏈路層 221:埠功能部 231:CRC檢查電路 232:接收用緩衝器 A:內部計數器 C1, C2:虛線框 INT1, INT2:中斷控制資料 S101~S107, S201~S204:步驟 t:延遲時間 T11, T12, T13, T14, T21, T22, T31, T41, T42, T43:時序 1: Communication system 10: Communication device 11: Processing unit 12: Communication unit 20: Communication device 21: Processing unit 22: Communication unit 30: Communication path 100: Terminal 110: Data link layer 111: Port function unit 120: A-PHY port 121: RTS 122: PCS 123: PMD 131: Timing adjustment circuit 132: Transmit buffer 133: Scheduler 134: Request manager 135: CRC attachment circuit 200: Source end 210: A-PHY port 211: PMD 212: PCS 213: RTS 220: Data link layer 221: Port function unit 231: CRC check circuit 232: Receive buffer A: Internal counter C1, C2: Dashed frame INT1, INT2: Interrupt control data S101~S107, S201~S204: Step t: Delay time T11, T12, T13, T14, T21, T22, T31, T41, T42, T43: Timing
圖1係顯示先前之通信系統與將來之通信系統之例之圖。 圖2係說明先前之通信系統中之SYNC之流程之圖。 圖3係說明將來之通信系統中之SYNC之流程之圖。 圖4係顯示應用本揭示之技術之通信系統之構成例之圖。 圖5係顯示A-封包之構成之一例之圖。 圖6係說明SYNC封包之中斷發送之圖。 圖7係顯示CN(Control Nibbles:控制半位元組)之例之圖。 圖8係顯示先前之CN之構成例之圖。 圖9係顯示用作中斷控制資料之CN之構成例之圖。 圖10係顯示用作中斷控制資料之CN之構成例之圖。 圖11係說明SYNC封包之發送時序之延遲之圖。 圖12係說明SYNC封包之發送時序之延遲之圖。 圖13係說明接收到之SYNC封包向上階層之轉送之圖。 圖14係顯示中斷指示(Interrupt Indication)之一例之圖。 圖15係說明調整向上階層之轉送時序之圖。 圖16係顯示錯誤通知封包之構成之一例之圖。 圖17係顯示時間戳記之差量之計算之具體例之圖。 圖18係顯示時間戳記之差量之調整之具體例之圖。 圖19係顯示可對應於資料中斷之終端(sink)-源端(source)之構成例。 圖20係說明SYNC封包之發送處理之流程圖。 圖21係顯示封包之接收處理之流程圖。 FIG. 1 is a diagram showing examples of a previous communication system and a future communication system. FIG. 2 is a diagram illustrating the flow of SYNC in a previous communication system. FIG. 3 is a diagram illustrating the flow of SYNC in a future communication system. FIG. 4 is a diagram showing an example of a communication system to which the technology disclosed herein is applied. FIG. 5 is a diagram showing an example of the composition of an A-packet. FIG. 6 is a diagram illustrating the interruption of the transmission of a SYNC packet. FIG. 7 is a diagram showing an example of CN (Control Nibbles). FIG. 8 is a diagram showing an example of the composition of a previous CN. FIG. 9 is a diagram showing an example of the composition of a CN used for interruption control data. FIG. 10 is a diagram showing an example of the composition of a CN used for interruption control data. FIG. 11 is a diagram illustrating a delay in the transmission timing of a SYNC packet. FIG. 12 is a diagram illustrating a delay in the transmission timing of a SYNC packet. FIG. 13 is a diagram illustrating the forwarding of a received SYNC packet to an upper layer. FIG. 14 is a diagram illustrating an example of an interrupt indication. FIG. 15 is a diagram illustrating the adjustment of the forwarding timing to an upper layer. FIG. 16 is a diagram illustrating an example of the configuration of an error notification packet. FIG. 17 is a diagram illustrating a specific example of the calculation of the difference in timestamps. FIG. 18 is a diagram illustrating a specific example of the adjustment of the difference in timestamps. Figure 19 shows an example of a sink-source configuration that can respond to data interruption. Figure 20 is a flow chart illustrating the sending process of a SYNC packet. Figure 21 is a flow chart illustrating the receiving process of a packet.
T11,T12,T13,T14:時序 T11, T12, T13, T14: Timing
Claims (16)
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| JP2023184133 | 2023-10-26 | ||
| JP2023-184133 | 2023-10-26 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| TW202520698A true TW202520698A (en) | 2025-05-16 |
Family
ID=95515678
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| TW113136287A TW202520698A (en) | 2023-10-26 | 2024-09-25 | Communication method and communication device |
Country Status (2)
| Country | Link |
|---|---|
| TW (1) | TW202520698A (en) |
| WO (1) | WO2025089062A1 (en) |
Family Cites Families (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPS62114356A (en) * | 1985-11-13 | 1987-05-26 | Nippon Telegr & Teleph Corp <Ntt> | Transfer system for divided interruption packet |
| JPH1133230A (en) * | 1997-07-16 | 1999-02-09 | Sega Enterp Ltd | Communication game system |
-
2024
- 2024-09-25 TW TW113136287A patent/TW202520698A/en unknown
- 2024-10-09 WO PCT/JP2024/036069 patent/WO2025089062A1/en active Pending
Also Published As
| Publication number | Publication date |
|---|---|
| WO2025089062A1 (en) | 2025-05-01 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12082215B2 (en) | Apparatuses, devices and methods for a wireless network access device, a network gateway device, a wireless communication device and for a network device | |
| KR100816132B1 (en) | Method and apparatus for data communications over multiple channels | |
| US7277419B2 (en) | Supporting disparate packet based wireless communications | |
| US7986628B2 (en) | Communication apparatus and program therefor, and data frame transmission control method | |
| WO2018059590A1 (en) | Data processing method, device, and system | |
| JP7262591B2 (en) | Wireless communication method and device | |
| US10439940B2 (en) | Latency correction between transport layer host and deterministic interface circuit | |
| US12316459B2 (en) | Communication system | |
| US20230412446A1 (en) | Method for Determining Transmission Slot and Related Apparatus | |
| US20180115634A1 (en) | Protocol frame transmission method, apparatus, and system, and node device | |
| US11882479B2 (en) | Wireless LAN communication device and wireless LAN communication method | |
| US9326022B2 (en) | Wireless communication system, wireless communication device, and wireless communication method | |
| US20150117465A1 (en) | Communication control apparatus and communication control method | |
| CN115276920A (en) | Audio data processing method and device, electronic equipment and storage medium | |
| JP4790289B2 (en) | Method, apparatus, and system for ensuring packet delivery time in an asynchronous network | |
| JP2007267082A (en) | Data transmitting / receiving apparatus and data transmitting / receiving method | |
| TW202520698A (en) | Communication method and communication device | |
| JP2008270951A (en) | Data communication device | |
| CN113994746B (en) | A channel processing method and device, and terminal equipment | |
| JP4052633B2 (en) | Packet transmission method and wireless communication apparatus | |
| CN112637786B (en) | Wireless transmission device and wireless transmission method | |
| WO2025176011A1 (en) | Data packet transmission method and apparatus, device, storage medium, and computer program product | |
| KR20240065680A (en) | Method and apparatus for transmitting objects based on deadline-aware | |
| JP2004186882A (en) | Communication apparatus and communication method | |
| WO2025162356A1 (en) | Bluetooth communication scheduling method and apparatus, bluetooth device, and chip |