JP6954576B2 - Data transmission method, equipment and main control terminal - Google Patents

Data transmission method, equipment and main control terminal Download PDF

Info

Publication number
JP6954576B2
JP6954576B2 JP2019184373A JP2019184373A JP6954576B2 JP 6954576 B2 JP6954576 B2 JP 6954576B2 JP 2019184373 A JP2019184373 A JP 2019184373A JP 2019184373 A JP2019184373 A JP 2019184373A JP 6954576 B2 JP6954576 B2 JP 6954576B2
Authority
JP
Japan
Prior art keywords
data
byte
read
transmission
attribute
Prior art date
Legal status (The legal status 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 status listed.)
Active
Application number
JP2019184373A
Other languages
Japanese (ja)
Other versions
JP2020072472A (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 ロンティアム セミコンダクター コーポレーション
Publication of JP2020072472A publication Critical patent/JP2020072472A/en
Application granted granted Critical
Publication of JP6954576B2 publication Critical patent/JP6954576B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Communication Control (AREA)
  • Controls And Circuits For Display Device (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Description

本発明は、データ伝送分野に関し、特に、データ伝送の方法、装置及びメイン制御端末に関する。 The present invention relates to the field of data transmission, and more particularly to data transmission methods, devices and main control terminals.

高精細デジタルディスプレイポート(Displayport、DP)は、補助チャンネル(Auxiliary Channel、AUX−CH)によりレシーバとセンダとの間でデータを伝送する。レシーバで、データは補助チャンネルからデータバス(Inter−integrated Circuit、I2C)に伝送され、そしてI2Cにより伝送される。補助チャンネルはデータパケットという形態でデータを伝送するが、データバスI2Cは1バイトずつデータを伝送するから、DPレシーバで、データは補助チャンネルからI2Cのメイン制御端末に伝送され、補助チャンネルによるデータ伝送方式からデータバスによる伝送方式に変換される方法でデータを伝送しなければならない。 A high-definition digital display port (Displayport, DP) transmits data between a receiver and a sender via an auxiliary channel (Auxiliary Channel, AUX-CH). At the receiver, data is transmitted from the auxiliary channel to the data bus (Inter-integrated Circuit, I2C) and transmitted by I2C. The auxiliary channel transmits data in the form of a data packet, but since the data bus I2C transmits data byte by byte, the data is transmitted from the auxiliary channel to the main control terminal of the I2C by the DP receiver, and the data is transmitted by the auxiliary channel. Data must be transmitted by a method that is converted from a method to a data bus transmission method.

DPレシーバで、AUX−CHは毎回のデータ伝送の際に、事前に書き込まれるかまたは読み取られるバイトの数をI2Cのメイン制御端末に通知し、そして、完成するまでにI2Cのメイン制御端末は相応な数のバイトを書き込むかまたは読み取る。データの伝送過程の全体は、固定モードに応じて行われて、前記バイトの数の読み取りが完成される前に、データの伝送を停止することができず、データの伝送に介入し得なく、データの伝送は非常に柔軟ではない。データの伝送を前倒し終了させることができず、必要に応じて柔軟にデータを伝送することができない。 At the DP receiver, the AUX-CH notifies the I2C main control terminal of the number of bytes pre-written or read at each data transmission, and by the time it is completed, the I2C main control terminal is appropriate. Write or read a number of bytes. The entire process of data transmission is performed in response to a fixed mode, the transmission of data cannot be stopped and cannot intervene in the transmission of data before the reading of the number of bytes is completed. Data transmission is not very flexible. Data transmission cannot be terminated ahead of schedule, and data cannot be flexibly transmitted as needed.

これに鑑みると、本発明は、データ伝送の柔軟性を効果的に向上させるデータ伝送の方法、装置及びメイン制御端末を提供する。 In view of this, the present invention provides data transmission methods, devices and main control terminals that effectively improve the flexibility of data transmission.

前記目的を実現するために、本発明の実施例は以下の技術案を提供し、
データ伝送方法であって、前記方法は、
補助チャンネルからデータバスI2Cのメイン制御端末に伝送されるデータパケットを取得することと、
前記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、データ属性が追加される伝送対象データを生成することと、
前記伝送対象データをバッファに記憶することと、を含み、前記バッファは前記伝送対象データに基づいて、前記I2Cのメイン制御端末とデータのインタラクティブを行い、前記伝送対象データにおけるデータ属性が、前記I2Cのメイン制御端末と前記バッファとの間のデータのインタラクティブの進捗を制御するために用いられる。
In order to achieve the above object, the embodiments of the present invention provide the following technical proposals.
A data transmission method, wherein the method is
Acquiring data packets transmitted from the auxiliary channel to the main control terminal of the data bus I2C,
To generate data to be transmitted to which data attributes are added based on the type of read / write flag and the type of transmission flag of the data packet.
The buffer includes storing the data to be transmitted in a buffer, the buffer interacts with the main control terminal of the I2C based on the data to be transmitted, and the data attribute in the data to be transmitted is the I2C. It is used to control the interactive progress of data between the main control terminal and the buffer.

または、前記方法において、前記データパケットの読み取り/書き込みフラグは書き込み操作の標識であり、前記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、データ属性が追加される伝送対象データを生成することは、
前記データパケットにおけるアドレスバイトとデータバイトを前記伝送対象データとすることを含み、
前記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、前記伝送対象データには先頭バイトのデータ属性を追加し、前記伝送フラグが伝送過程中であるデータパケットにおけるデータバイトに対して、前記伝送対象データには継続伝送バイトのデータ属性を追加し、前記伝送フラグが伝送終了標識であるデータパケットにおける最後のデータバイトに対して、前記伝送対象データには終了バイトのデータ属性を追加し、前記最後のデータバイト以外のデータバイトに対して、前記伝送対象データには継続伝送バイトのデータ属性を追加してもよい。
Alternatively, in the method, the read / write flag of the data packet is a sign of a write operation, and the data to be transmitted to which the data attribute is added based on the type of the read / write flag and the type of the transmission flag of the data packet. To generate
Including making the address byte and the data byte in the data packet the data to be transmitted.
For the address byte of the first data packet transmitted by the auxiliary channel, the data attribute of the first byte is added to the data to be transmitted, and the transmission flag is applied to the data byte in the data packet in the process of transmission. , The data attribute of the continuous transmission byte is added to the transmission target data, and the data attribute of the end byte is added to the transmission target data with respect to the last data byte in the data packet whose transmission flag is the transmission end indicator. Then, for the data bytes other than the last data byte, the data attribute of the continuous transmission byte may be added to the data to be transmitted.

または、前記方法において、前記データパケットにおける読み取り/書き込みフラグは読み取り操作の標識であり、前記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、データ属性が追加される伝送対象データを生成することは、
前記データパケットのアドレスバイトを前記伝送対象データとするとともに、前記伝送対象データに、前記補助チャンネルにより伝送されるデータパケットの長さバイトの数値である第1数値に対応するデータバイトを書き込むことを含み、
前記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、前記伝送対象データには先頭バイトのデータ属性を追加し、伝送フラグに基づいて、伝送過程中であるデータパケットに対して、前記伝送対象データに書き込まれる最後のデータバイトには、未確定バイトのデータ属性を追加し、前記最後のデータバイト以外の他のバイトに対して、継続伝送バイトのデータ属性を追加し、前記伝送フラグに基づいて伝送終了標識であるデータパケットに対して、前記伝送対象データに書き込まれる最後のデータバイトには、終了バイトのデータ属性を追加し、前記最後のデータバイト以外のデータバイトには、継続伝送バイトのデータ属性を追加してもよい。
Alternatively, in the method, the read / write flag in the data packet is a indicator of the read operation, and the data to be transmitted to which the data attribute is added based on the type of the read / write flag and the type of the transmission flag of the data packet. To generate
The address byte of the data packet is set as the transmission target data, and the data byte corresponding to the first numerical value, which is the numerical value of the length byte of the data packet transmitted by the auxiliary channel, is written in the transmission target data. Including
For the address byte of the first data packet transmitted by the auxiliary channel, the data attribute of the first byte is added to the data to be transmitted, and based on the transmission flag, for the data packet in the process of transmission, The data attribute of the undetermined byte is added to the last data byte written to the transmission target data, the data attribute of the continuous transmission byte is added to the other bytes other than the last data byte, and the transmission is performed. For the data packet that is the transmission end indicator based on the flag, the data attribute of the end byte is added to the last data byte written to the transmission target data, and the data byte other than the last data byte is added to the data byte. The data attribute of the continuous transmission byte may be added.

または、前記方法において、さらに、
前記伝送対象データにおける特定のデータバイトに対して、即時停止バイトのデータ属性を追加することを含み、前記特定のデータバイトは前記伝送対象データにおいて、未確定バイトとして追加される次のデータバイトであってもよい。
Alternatively, in the above method,
The specific data byte includes adding the data attribute of the immediate stop byte to the specific data byte in the transmission target data, and the specific data byte is the next data byte added as an indeterminate byte in the transmission target data. There may be.

または、前記方法において、さらに、
前記データパケットのアドレスバイトに対して、前記伝送対象データには単一バイトのデータ属性を追加することを含んでもよい。
Alternatively, in the above method,
The transmission target data may include adding a single byte data attribute to the address byte of the data packet.

データ伝送方法であって、前記方法は、
バッファに保存され、データ属性が追加されるデータを読み取ることと、
前記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することと、を含む。
A data transmission method, wherein the method is
Reading data that is stored in a buffer and has data attributes added,
It includes determining the execution progress of the next data read / write operation based on the data attribute of the data read this time.

または、前記方法において、前記データの読み取り/書き込み操作は書き込み操作であり、前記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、
前記今回読み取られたデータのデータ属性を先頭バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの書き込み操作を起動させることと、
前記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、今回読み取られてデータを書き込み、前記バッファから次回のデータを引き続き読み取ることと、
前記今回読み取られたデータのデータ属性を終了バイトとして認識すれば、今回の書き込み操作を終了させることと、を含んでもよい。
Alternatively, in the above method, the data read / write operation is a write operation, and determining the execution progress of the next data read / write operation based on the data attribute of the data read this time can be determined.
Recognizing the data attribute of the data read this time as the first byte, determining the address in the data read this time, and invoking the data writing operation that is executed after confirming the address.
Recognizing the data attribute of the data read this time as a continuous transmission byte, writing the data read this time, and continuing to read the next data from the buffer.
If the data attribute of the data read this time is recognized as the end byte, the writing operation this time may be terminated.

または、前記方法において、前記データの読み取り/書き込み操作は読み取り操作であり、前記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、
前記今回読み取られたデータのデータ属性を先頭バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの読み取り操作を起動させることと、
前記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、前記バッファから次回のデータを引き続き読み取ることと、
前記今回読み取られたデータのデータ属性を未確定バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、前記バッファから次回のデータを引き続き読み取ることと、
前記今回読み取られたデータのデータ属性を終了バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、データの読み取り操作を終了させることと、を含んでもよい。
Alternatively, in the above method, the data read / write operation is a read operation, and determining the execution progress of the next data read / write operation based on the data attribute of the data read this time can be determined.
Recognizing the data attribute of the data read this time as the first byte, determining the address in the data read this time, and invoking the data reading operation that is executed after confirming the address.
The data attribute of the data read this time is recognized as a continuous transmission byte, stored in the dependent control terminal, the byte corresponding to the data read this time is read, and the next data is continuously read from the buffer.
The data attribute of the data read this time is recognized as an undetermined byte, stored in the dependent control terminal, the byte corresponding to the data read this time is read, and the next data is continuously read from the buffer.
It may include recognizing the data attribute of the data read this time as the end byte, storing it in the dependent control terminal, reading the byte corresponding to the data read this time, and ending the data reading operation.

または、前記方法において、前記データの読み取り/書き込み操作は読み取り操作であり、前記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、
前記今回読み取られたデータのデータ属性を即時停止バイトとして認識し、データの読み取り操作を終了させることを含んでもよい。
Alternatively, in the method, the data read / write operation is a read operation, and determining the execution progress of the next data read / write operation based on the data attribute of the data read this time can be determined.
It may include recognizing the data attribute of the data read this time as an immediate stop byte and ending the data reading operation.

または、前記方法において、前記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、
前記今回読み取られたデータのデータ属性を単一バイトとして認識し、前記今回で読み取られたデータにおけるアドレスを確定するとともに、データの読み取り/書き込み操作を停止することを含んでもよい。
Alternatively, in the above method, determining the execution progress of the next data read / write operation based on the data attribute of the data read this time can be determined.
It may include recognizing the data attribute of the data read this time as a single byte, determining the address in the data read this time, and stopping the data read / write operation.

本発明はさらにデータ伝送装置を開示し、前記装置は、
補助チャンネルからデータバスI2Cのメイン制御端末に伝送されるデータパケットを取得するための取得ユニットと、
前記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、伝送対象データを生成するとともに、前記伝送対象データにデータ属性を追加するための生成ユニットと、
前記伝送対象データをバッファに記憶するためのバッファユニットとを含み、前記バッファは、前記伝送対象データに基づいて、前記I2Cのメイン制御端末とデータのインタラクティブを行い、前記伝送対象データにおけるデータ属性は、前記I2Cのメイン制御端末と前記バッファとの間のデータのインタラクティブの進捗を制御するために用いられる。
The present invention further discloses a data transmission device, wherein the device is:
An acquisition unit for acquiring data packets transmitted from the auxiliary channel to the main control terminal of the data bus I2C, and
A generation unit for generating data to be transmitted and adding data attributes to the data to be transmitted based on the type of read / write flag and the type of transmission flag of the data packet.
The buffer unit includes a buffer unit for storing the transmission target data in the buffer, and the buffer interacts with the main control terminal of the I2C based on the transmission target data, and the data attribute in the transmission target data is , Used to control the interactive progress of data between the I2C main control terminal and the buffer.

または、前記装置において、前記データパケットの読み取り/書き込みフラグは書き込み操作の標識であり、前記生成ユニットは、
前記データパケットにおけるアドレスバイトとデータバイトを前記伝送対象データとするための第1生成サブユニットを含み、前記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、前記伝送対象データには先頭バイトのデータ属性を追加し、前記伝送フラグが伝送過程中であるデータパケットにおけるデータバイトに対して、前記伝送対象データには継続伝送バイトのデータ属性を追加し、前記伝送フラグは伝送終了標識であるデータパケットにおける最後のデータバイトに対して、前記伝送対象データには終了バイトのデータ属性を追加し、前記最後のデータバイト以外のデータバイトに対して、前記伝送対象データには継続伝送バイトのデータ属性を追加してもよい。
Alternatively, in the device, the read / write flag of the data packet is a sign of a write operation, and the generation unit is
The transmission target data includes an address byte in the data packet and a first generation subsystem for making the data byte the transmission target data, and the transmission target data is for the address byte of the first data packet transmitted by the auxiliary channel. The data attribute of the first byte is added, the data attribute of the continuous transmission byte is added to the data to be transmitted with respect to the data byte in the data packet whose transmission flag is in the process of transmission, and the transmission flag is a transmission end indicator. For the last data byte in the data packet, the data attribute of the end byte is added to the transmission target data, and for the data bytes other than the last data byte, the continuous transmission byte is added to the transmission target data. Data attributes may be added.

または、前記装置において、前記データパケットにおける読み取り/書き込みフラグは読み取り操作の標識であり、前記生成ユニットは、
前記データパケットのアドレスバイトを前記伝送対象データとするとともに、前記伝送対象データに、前記補助チャンネルにより伝送されるデータパケットの長さバイトの数値である第1数値に対応するデータバイトを書き込むための第2生成サブユニットを含み、
前記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、前記伝送対象データには先頭バイトのデータ属性を追加し、伝送フラグに基づいて伝送過程中であるデータパケットに対して、前記伝送対象データに書き込まれた最後のデータバイトには、未確定バイトのデータ属性を追加し、前記最後のデータバイト以外の他のバイトに対して、継続伝送バイトのデータ属性を追加し、前記伝送フラグに基づいて伝送終了標識であるデータパケットに対して、前記伝送対象データに書き込まれた最後のデータバイトに、終了バイトのデータ属性を追加し、前記最後のデータバイト以外のデータバイトには、継続伝送バイトのデータ属性を追加してもよい。
Alternatively, in the device, the read / write flag in the data packet is a sign of a read operation, and the generation unit is
The address byte of the data packet is used as the transmission target data, and the data byte corresponding to the first numerical value, which is the numerical value of the length byte of the data packet transmitted by the auxiliary channel, is written in the transmission target data. Including the second generation subsystem
For the address byte of the first data packet transmitted by the auxiliary channel, the data attribute of the first byte is added to the data to be transmitted, and for the data packet in the process of transmission based on the transmission flag, the said The data attribute of the undetermined byte is added to the last data byte written to the data to be transmitted, the data attribute of the continuous transmission byte is added to the other bytes other than the last data byte, and the transmission is performed. For the data packet that is the transmission end indicator based on the flag, the data attribute of the end byte is added to the last data byte written in the transmission target data, and the data bytes other than the last data byte are added to the data bytes other than the last data byte. The data attribute of the continuous transmission byte may be added.

または、前記装置において、さらに、
前記伝送対象データにおける特定のデータバイトに対して、即時停止バイトのデータ属性を追加するための第1追加ユニットを含み、前記特定のデータバイトは前記伝送対象データにおいて、未確定バイトとして追加される次のデータバイトであってもよい。
Alternatively, in the device,
The first additional unit for adding the data attribute of the immediate stop byte to the specific data byte in the transmission target data is included, and the specific data byte is added as an undetermined byte in the transmission target data. It may be the next data byte.

または、前記装置において、さらに、
前記データパケットのアドレスバイトに対して、前記伝送対象データに単一バイトのデータ属性を追加するための第2追加ユニットを含んでもよい。
Alternatively, in the device,
For the address byte of the data packet, a second additional unit for adding a single byte data attribute to the transmission target data may be included.

本発明はさらにデータバスI2Cのメイン制御端末であるメイン制御端末を開示し、前記メイン制御端末は、
バッファに保存され、データ属性が追加されるデータを読み取るとともに、今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定するメイン制御ユニットを含む。
The present invention further discloses a main control terminal which is a main control terminal of the data bus I2C.
It contains a main control unit that reads data that is stored in the buffer and has data attributes added, and determines the execution progress of the next data read / write operation based on the data attributes of the data read this time.

または、前記メイン制御端末において、前記データの読み取り/書き込み操作は書き込み操作であり、前記メイン制御ユニットは、
前記今回読み取られたデータのデータ属性を先頭バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの書き込み操作を起動させ、前記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、今回読み取られたデータを書き込み、前記バッファから次回のデータを引き続き読み取り、前記今回読み取られたデータのデータ属性を終了バイトとして認識すれば、今回の書き込み操作を終了させるための第1メイン制御サブユニットを含んでもよい。
Alternatively, in the main control terminal, the data read / write operation is a write operation, and the main control unit is a write operation.
The data attribute of the data read this time is recognized as the first byte, the address in the data read this time is fixed, and the data writing operation executed after the address is fixed is activated, and the data is read this time. If the data attribute of the data is recognized as a continuous transmission byte, the data read this time is written, the next data is continuously read from the buffer, and the data attribute of the data read this time is recognized as the end byte, this time. A first main control subsystem for terminating the write operation may be included.

または、前記メイン制御端末において、前記データの読み取り/書き込み操作は読み取り操作であり、前記メイン制御ユニットは、
前記今回読み取られたデータのデータ属性を先頭バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの読み取り操作を起動させ、前記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、前記バッファから次回のデータを引き続き読み取り、前記今回読み取られたデータのデータ属性を未確定バイト認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、前記バッファから次回のデータを引き続き読み取り、前記今回読み取られたデータのデータ属性を終了バイトとして認識し、従属制御端末に記憶され、今回で読み取られたデータに対応するバイトを読み取り、データの読み取り操作を終了させるための第2メイン制御サブユニットを含んでもよい。
Alternatively, in the main control terminal, the data read / write operation is a read operation, and the main control unit is a read operation.
The data attribute of the data read this time is recognized as the first byte, the address in the data read this time is fixed, and the data reading operation executed after the address is fixed is activated to read the data this time. The data attribute of the data is recognized as a continuous transmission byte, stored in the dependent control terminal, the byte corresponding to the data read this time is read, the next data is continuously read from the buffer, and the data of the data read this time is read. The attribute is recognized as an undetermined byte, stored in the dependent control terminal, the byte corresponding to the data read this time is read, the next data is continuously read from the buffer, and the data attribute of the data read this time is used as the end byte. It may include a second main control subsystem for recognizing, storing in the dependent control terminal, reading the bytes corresponding to the data read this time, and ending the data reading operation.

または、前記メイン制御端末において、前記データの読み取り/書き込み操作は読み取り操作であり、前記メイン制御ユニットは、
前記今回読み取られたデータのデータ属性を即時停止バイトとして認識し、データの読み取り操作を終了させるための第1認識ユニットを含んでもよい。
Alternatively, in the main control terminal, the data read / write operation is a read operation, and the main control unit is a read operation.
The first recognition unit for recognizing the data attribute of the data read this time as an immediate stop byte and ending the data reading operation may be included.

または、前記メイン制御端末において、前記メイン制御ユニットは、
前記今回読み取られたデータのデータ属性を単一バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、データの読み取り/書き込み操作を停止するための第2認識ユニットとを含んでもよい。
Alternatively, in the main control terminal, the main control unit is
It may include a second recognition unit for recognizing the data attribute of the data read this time as a single byte, determining the address in the data read this time, and stopping the data read / write operation. ..

以上の方案から分かるように、本発明により提供されるデータ伝送方法において、取得されたデータパケットを伝送対象データとして生成するとともに、バッファに記憶することで、前記伝送対象データに異なるデータ属性を追加する。メイン制御端末はバッファからデータ属性が追加される伝送対象データを読み取るとともに、前記データ属性に基づいて、メイン制御端末の読み取り/書き込み操作を制御し、事前に伝送対象となるバイトのデータをメイン制御端末に通知する必要がなくなり、データ属性を追加することで、データの伝送を制御し、これによって、データの伝送がより柔軟になる。 As can be seen from the above plan, in the data transmission method provided by the present invention, the acquired data packet is generated as transmission target data and stored in a buffer to add different data attributes to the transmission target data. do. The main control terminal reads the transmission target data to which the data attribute is added from the buffer, controls the read / write operation of the main control terminal based on the data attribute, and mainly controls the data of the bytes to be transmitted in advance. It eliminates the need to notify the terminal and adds data attributes to control the transmission of data, which makes the transmission of data more flexible.

より明らかに本発明の実施例または従来技術の技術案を説明するために、以下は実施例または従来技術の記載において必要な図面を簡単に紹介し、明らかに、以下の記載における図面は、本発明の実施例のみであり、当業者にとって、進歩性に値する労働をしない上に、さらに提供の図面に基づいて他の図面を取得し得る。
本発明により提供されるデータ伝送の方法の模式図である。 本発明の実施例に開示された生成ユニットによりデータを処理するフローチャートである。 本発明の他の具体的な実施例に開示されたメイン制御ユニットによりデータを処理するフローチャートである。 本発明により提供されるデータ伝送の装置の模式図である。 本発明により提供されるメイン制御端末の模式図である。
In order to more clearly explain an embodiment of the present invention or a technical proposal of the prior art, the following briefly introduces the drawings necessary for the description of the embodiment or the prior art, and clearly, the drawings in the following description are the present invention. It is only an embodiment of the invention, and for those skilled in the art, it does not do labor worthy of inventive step, and other drawings may be obtained based on the provided drawings.
It is a schematic diagram of the data transmission method provided by this invention. It is a flowchart which processes data by the generation unit disclosed in the Example of this invention. It is a flowchart which processes data by the main control unit disclosed in the other specific embodiment of this invention. It is a schematic diagram of the data transmission apparatus provided by this invention. It is a schematic diagram of the main control terminal provided by this invention.

以下は、本発明の実施例における図面を結合し、本発明の実施例の技術案を明らかに、完全に説明し、記載される実施例は全ての実施例ではなく、本発明の一部の実施例のみである。本発明の実施例に基づき、当業者が進歩性に値する労働をしない上に取得される他の全ての実施例は、いずれも本発明の保護範囲に該当している。 The following is a combination of the drawings in the examples of the present invention, which clearly and completely describes the technical proposals of the examples of the present invention, and the examples described are not all the examples but a part of the present invention. It is an embodiment only. Based on the examples of the present invention, all other examples obtained by those skilled in the art without performing an inventive step work fall within the scope of protection of the present invention.

本発明の実施例は、高精細デジタルディスプレイポートレシーバ101を開示し、図1を参照し、補助チャンネル102とI2Cのメイン制御端末105との間に伝送対象データを生成するデータ伝送装置103を増加するとともに、データ伝送装置103とメイン制御端末105との間にバッファ104を増加する。 An embodiment of the present invention discloses a high-definition digital display port receiver 101, and with reference to FIG. 1, increases a data transmission device 103 that generates data to be transmitted between the auxiliary channel 102 and the main control terminal 105 of I2C. At the same time, the buffer 104 is increased between the data transmission device 103 and the main control terminal 105.

高精細デジタルディスプレイポートセンダは、補助チャンネル102を介して、データを高精細デジタルディスプレイポートレシーバ101に送信することは、まずデータ伝送装置103により、前記データに応じて伝送対象データを生成し、前記伝送対象データにデータ属性を追加して、データ処理を行ってから、前記伝送対象データをバッファ104に記憶し、I2Cのメイン制御端末105によりデータ属性に基づいて、データの伝送を制御する。 When the high-definition digital display port sender transmits data to the high-definition digital display port receiver 101 via the auxiliary channel 102, the data transmission device 103 first generates data to be transmitted according to the data, and the data is described. After adding a data attribute to the transmission target data and performing data processing, the transmission target data is stored in the buffer 104, and the data transmission is controlled by the main control terminal 105 of the I2C based on the data attribute.

本発明の他の実施例に開示されるデータ伝送方法は、データ伝送装置に引用され、図1と図2を結合し、前記データ伝送方法は以下のステップを含み、即ち、
S201、補助チャンネルからデータバスI2Cのメイン制御端末に伝送されるデータパケットを取得する。
The data transmission method disclosed in other embodiments of the present invention is cited in the data transmission apparatus and combines FIGS. 1 and 2, wherein the data transmission method comprises the following steps, i.e.
S201, the data packet transmitted from the auxiliary channel to the main control terminal of the data bus I2C is acquired.

なお、DPは4本のメインリンクと1本の補助チャンネルを介して、センダとレシーバとの間でデータを伝送し、メインリンクは主に映像コンテンツの伝送を担当し、補助チャンネルは主に補助情報、例えば状態情報、音声及びディスプレイ情報などの伝達を担当する。補助チャンネルのデータ伝送方式は、センダのデータをパッケージし、データパケットという形態でレシーバに伝送し、各々のデータパケットには、せいぜい16個のバイトの長さが読み取られるか/書き込まれることを許可する。本発明の実施例は、DPレシーバで、補助チャンネルからデータバスI2Cのメイン制御端末に伝送されるデータパケットを取得する。 The DP transmits data between the sender and the receiver via four main links and one auxiliary channel, the main link is mainly responsible for the transmission of video content, and the auxiliary channel is mainly auxiliary. Responsible for the transmission of information such as state information, voice and display information. Auxiliary channel data transmission schemes package sender data and transmit it to the receiver in the form of data packets, allowing each data packet to be read / written to a length of at most 16 bytes. do. In the embodiment of the present invention, the DP receiver acquires a data packet transmitted from the auxiliary channel to the main control terminal of the data bus I2C.

S202、前記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、データ属性が追加される伝送対象データを生成する。 S202, the transmission target data to which the data attribute is added is generated based on the type of the read / write flag and the type of the transmission flag of the data packet.

なお、前記読み取り/書き込みフラグは前記データパケットにおけるアドレスバイトに存在する。前記アドレスバイトの前の七つのビットはアドレスビットであり、最後のビットは読み取り/書き込みフラグであり、前記アドレスビットは、データ伝送を行うI2Cの従属制御端末のアドレスを示し、前記アドレスバイトの最後のビットの読み取り/書き込みフラグは、今回のデータ伝送で行われたのが読み取り操作か書き込み操作かを示す。 The read / write flag exists in the address byte in the data packet. The seven bits before the address byte are address bits, the last bit is a read / write flag, and the address bit indicates the address of the I2C dependent control terminal that performs data transmission, and is the end of the address byte. The read / write flag of the bit indicates whether the read / write operation was performed in this data transmission.

I2Cにおいて、前記読み取り操作はメイン制御端末が従属制御端末からデータを読み取ることであり、前記書き込み操作はメイン制御端末がデータを従属制御端末に書き込むことである。I2Cにおける各々の従属制御端末はいずれも特定のアドレスが存在し、データの伝送を行う場合に、I2Cのメイン制御端末は、まずメイン制御端末とデータの伝送を行う必要が有る従属制御端末のアドレスをバスに送信し、前記アドレスに対応する従属制御端末を探し、前記アドレスに対応する従属制御端末が該アドレスを受信して、メイン制御端末に応答情報を送信してから、データの伝送を行う。 In I2C, the read operation is that the main control terminal reads data from the subordinate control terminal, and the write operation is that the main control terminal writes data to the subordinate control terminal. Each subordinate control terminal in I2C has a specific address, and when data is transmitted, the main control terminal of I2C is the address of the subordinate control terminal that must first transmit data to the main control terminal. Is transmitted to the bus, the subordinate control terminal corresponding to the address is searched for, the subordinate control terminal corresponding to the address receives the address, transmits the response information to the main control terminal, and then transmits the data. ..

I2Cは、簡単な2線式シリアルデータバスであり、1回で8ビットのデータ、即ち一つのバイトを伝送する。補助チャンネルはデータパケットという形態でデータを伝送するから、データパケットはI2Cで伝送できない。本実施例は前記データパケットを取得してから、前記データパケットに基づいて伝送対象データを生成し、前記伝送対象データは単一バイトという形態でI2Cにおいて伝送できる。伝送対象データを生成する際に、データパケットにおけるデータに含まれるフラグに基づいて、伝送対象データを生成し、前記伝送対象データの各々のデータバイトの前には一つのデータ属性バイトが追加される。 I2C is a simple 2-wire serial data bus that transmits 8-bit data, that is, one byte at a time. Since the auxiliary channel transmits data in the form of a data packet, the data packet cannot be transmitted by I2C. In this embodiment, after acquiring the data packet, transmission target data is generated based on the data packet, and the transmission target data can be transmitted in I2C in the form of a single byte. When generating the transmission target data, the transmission target data is generated based on the flag included in the data in the data packet, and one data attribute byte is added before each data byte of the transmission target data. ..

前記データバイトは書き込む必要が有るバイトであり、または前記データバイトに基づいて従属制御端末から相応的なバイトを読み取り、前記データ属性バイトは、データ属性が書き込まれたバイトである。一つのデータバイトと、その相応的なデータ属性バイトとは、16ビットの長さを形成し、テーブル1を参照し、データのビット幅の裏書きであり、0〜2ビットにデータ属性を書き込み、3〜7ビットを保留し、8〜15ビットは前記データバイトである。 The data byte is a byte that needs to be written, or a corresponding byte is read from the dependent control terminal based on the data byte, and the data attribute byte is a byte in which the data attribute is written. One data byte and its corresponding data attribute byte form a length of 16 bits, refer to Table 1, and is a backing of the bit width of the data, writing the data attribute to 0 to 2 bits. 3 to 7 bits are reserved, and 8 to 15 bits are the data bytes.

Figure 0006954576
Figure 0006954576

または、本発明の他の具体的な実施例において、ステップS202におけるデータパケットの読み書きフラグが書き込み操作の標識である場合に、該ステップの実施形態は、
前記データパケットにおけるアドレスバイトとデータバイトを前記伝送対象データとすることを含む。
Alternatively, in another specific embodiment of the present invention, when the read / write flag of the data packet in step S202 is a sign of a write operation, the embodiment of the step is
It includes setting the address byte and the data byte in the data packet as the transmission target data.

前記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、前記伝送対象データに先頭バイトのデータ属性が追加され、前記伝送フラグは伝送過程のデータパケットにおけるデータバイトに対して、前記伝送対象データに継続伝送バイトのデータ属性が追加され、前記伝送フラグは伝送終了標識のデータパケットにおける最後のデータバイトに対して、前記伝送対象データに終了バイトのデータ属性が追加され、前記最後のデータバイト以外のデータバイトに対して、前記伝送対象データに継続伝送バイトのデータ属性が追加される。 For the address byte of the first data packet transmitted by the auxiliary channel, the data attribute of the first byte is added to the data to be transmitted, and the transmission flag is the transmission for the data byte in the data packet in the transmission process. The data attribute of the continuous transmission byte is added to the target data, and the transmission flag adds the data attribute of the end byte to the transmission target data with respect to the last data byte in the data packet of the transmission end indicator, and the last data. For data bytes other than bytes, the data attribute of the continuous transmission byte is added to the data to be transmitted.

書き込み操作に対して、データパケットに含まれるデータバイトは、メイン制御端末により書き込む必要がある従属制御端末のバイトであるから、データパケットにおけるアドレスバイトとデータバイトを伝送対象データとして、前記伝送対象データの各々の前に一つのデータ属性バイトを追加し、データ属性バイトに相応的なデータ属性を書き込む必要がある。
なお、各々のデータパケットにはいずれもアドレスバイトが含まれるが、I2Cは1回のデータの伝送を行う場合に、データ伝送の最初でアドレス検索の作業をすればよい。従って、補助チャンネルにより伝送される最初のデータパケットのアドレスバイトのみに先頭バイトのデータ属性を追加してもよい。各々のデータパケットには、さらにデータ伝送フラグ(Middle OF Transaction、MOT)が含まれる一つのバイトが含まれ、MOT=1はデータの伝送中、即ちデータがまだ伝送されており、その後、新たなデータパケットを伝送することを示し、MOT=0はデータ伝送が終了し、即ち、データの伝送が終了し、その後、新たなデータパケットを伝送しないことを示す。前記データ伝送フラグが含まれるバイトは、その後、新たなデータパケットが伝送されるかどうかをI2Cのメイン制御端末に通知するために用いられ、本発明はMOT=0であるデータパケットにおける最後のデータバイトに終了バイトのデータ属性を追加することで、その後、新たなデータパケットが伝送されず、今回のデータ伝送が終了することをI2Cのメイン制御端末に通知することを実現する。MOT=1であるデータバイト及びMOT=0である他のデータバイトに継続伝送バイトを付与し、その後、データの伝送を引き続き行うことをI2Cのメイン制御端末に通知する。このように、前記データ伝送フラグが含まれるバイトの作用を実現し、該バイトを伝送する必要がなくなるから、該バイトを前記伝送対象データとしない。
Since the data byte included in the data packet for the write operation is the byte of the dependent control terminal that needs to be written by the main control terminal, the address byte and the data byte in the data packet are set as the transmission target data, and the transmission target data is described. It is necessary to add one data attribute byte before each of the data attribute bytes and write the corresponding data attribute to the data attribute byte.
Although each data packet contains an address byte, I2C may perform an address search operation at the beginning of data transmission when transmitting data once. Therefore, the data attribute of the first byte may be added only to the address byte of the first data packet transmitted by the auxiliary channel. Each data packet further contains one byte containing a data transmission flag (Middle OF Transition, MOT), where MOT = 1 means that the data is being transmitted, i.e. the data is still being transmitted, and then a new one. It indicates that the data packet is transmitted, and MOT = 0 indicates that the data transmission ends, that is, the data transmission ends, and then no new data packet is transmitted. The byte containing the data transmission flag is then used to notify the main control terminal of the I2C whether a new data packet is transmitted, and the present invention is the last data in the data packet where MOT = 0. By adding the data attribute of the end byte to the byte, it is possible to notify the main control terminal of the I2C that a new data packet is not transmitted thereafter and the current data transmission is terminated. A continuous transmission byte is added to the data byte having MOT = 1 and the other data bytes having MOT = 0, and then the I2C main control terminal is notified that the data transmission will be continued. In this way, the function of the byte including the data transmission flag is realized, and it is not necessary to transmit the byte. Therefore, the byte is not used as the data to be transmitted.

本発明の他の具体的な実施例において、ステップS202の前記データパケットにおける読み書きフラグは読み取り操作の標識である場合に、該ステップの実施形態は、
前記データパケットのアドレスバイトを前記伝送対象データとして、前記伝送対象データに、前記補助チャンネルにより伝送されるデータパケットの長さバイトの数値である第1数値に対応するデータバイトを書き込む。
In another specific embodiment of the present invention, when the read / write flag in the data packet in step S202 is a sign of a read operation, the embodiment of the step is:
The address byte of the data packet is used as the transmission target data, and the data byte corresponding to the first numerical value, which is the numerical value of the length byte of the data packet transmitted by the auxiliary channel, is written in the transmission target data.

前記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、前記伝送対象データに先頭バイトのデータ属性が追加され、伝送フラグに基づいて伝送過程中であるデータパケットに対して、前記伝送対象データに書き込まれた最後のデータバイトに、未確定バイトのデータ属性が追加され、前記最後のデータバイト以外の他のバイトに対して、継続伝送バイトのデータ属性が追加され、前記伝送フラグに基づいて伝送終了標識であるデータパケットに対して、前記伝送対象データに書き込まれた最後のデータバイトに、終了バイトのデータ属性が追加され、前記最後のデータバイト以外のデータバイトに、継続伝送バイトのデータ属性が追加される。 The data attribute of the first byte is added to the data to be transmitted for the address byte of the first data packet transmitted by the auxiliary channel, and the transmission is performed for the data packet in the process of transmission based on the transmission flag. The data attribute of the undetermined byte is added to the last data byte written to the target data, the data attribute of the continuous transmission byte is added to the other bytes other than the last data byte, and the data attribute of the continuous transmission byte is added to the transmission flag. Based on the data packet that is the transmission end indicator, the data attribute of the end byte is added to the last data byte written in the transmission target data, and the continuous transmission byte is added to the data bytes other than the last data byte. Data attributes are added.

なお、読み取り操作のデータパケットに対して、書き込み操作のように書き込まれるデータバイトが含まれていなく、読み取り操作はリクエストに応じて、I2C従属制御端末からデータを読み取り、メイン制御端末により再び読み取まれたデータをDPセンダに送信する。読み取り操作を行うように請求するデータパケットには長さバイトが含まれ、前記長さバイトは読み取る必要があるバイトの数の数値、即ち第1数値を示し、該数値が最大で16である。本実施例において、読み取り操作に対して、伝送対象データを生成する場合に、アドレスバイトを伝送対象データとして、前記長さバイトにより示される第1数値に基づいて、前記伝送対象データに、数が前記数値に対応するデータバイトを書き込み、伝送対象データを生成する。前記伝送対象データの各々バイトに対してデータ属性が追加される。 Note that the data packet of the read operation does not include the data byte to be written like the write operation, and the read operation reads the data from the I2C dependent control terminal and is read again by the main control terminal in response to the request. Send the data to the DP sender. The data packet requested to perform the read operation includes a length byte, and the length byte indicates a numerical value of the number of bytes that need to be read, that is, a first numerical value, and the numerical value is 16 at the maximum. In this embodiment, when the transmission target data is generated for the read operation, the transmission target data has a number based on the first numerical value indicated by the length bytes, using the address byte as the transmission target data. Data bytes corresponding to the numerical values are written to generate data to be transmitted. Data attributes are added to each byte of the transmission target data.

例えば、データパケットにおける長さバイトで示される数値は16であり、つまり、16のバイトを読み取ることを要求すると、相応的に生成される伝送対象データには17組データが含まれ、毎組のデータは一つのデータ属性バイトと一つのデータバイトからなり、第1組データは先頭バイトとアドレスであり、他の16組において、前の15組は継続伝送バイトと書き込まれるデータバイトからなり、最後の1組は未確定バイトと書き込まれるデータバイトからなる。前記データバイトは、メイン制御端末が一つのバイトを読み取るように要求するコマンドに相当し、前記データバイトがI2Cバス内で伝送されていないから、前記データバイトそのものは意義がなく、即ち、前記データバイトは任意に書き込んでもよい。 For example, the numerical value indicated by the length bytes in the data packet is 16, that is, when 16 bytes are requested to be read, the correspondingly generated transmission target data includes 17 sets of data, and each set of data is included. The data consists of one data attribute byte and one data byte, the first set of data is the first byte and the address, and in the other 16 sets, the previous 15 sets consist of the continuous transmission byte and the data byte to be written, and the last. One set consists of an undetermined byte and a data byte to be written. The data byte corresponds to a command that the main control terminal requests to read one byte, and since the data byte is not transmitted in the I2C bus, the data byte itself is meaningless, that is, the data. Bytes may be written arbitrarily.

読み取り操作に対して、各バイトの伝送が終了した後に、I2Cは応答情報または非応答情報を送信することで、その後、データを引き続き伝送するかどうかを確定する。本実施例において、最後のデータバイトを未確定バイトとして追加し、このように、一つのデータパケットのリクエストが完成してから、応答情報または非応答情報を送信しなくてもよい。 For the read operation, after the transmission of each byte is completed, the I2C transmits the response information or the non-response information, and then determines whether or not the data is continuously transmitted. In this embodiment, the last data byte is added as an undetermined byte, and it is not necessary to transmit the response information or the non-response information after the request for one data packet is completed in this way.

本発明の他の具体的な実施例において、前記データの伝送方法はさらに、前記伝送対象データにおける特定のデータバイトに対して、即時停止バイトのデータ属性を追加することを含み、前記特定のデータバイトは前記伝送対象データにおいて、未確定バイトとして追加される次のデータバイトであってもよい。 In another specific embodiment of the present invention, the method of transmitting the data further comprises adding the data attribute of the immediate stop byte to the specific data byte in the data to be transmitted, the specific data. The byte may be the next data byte added as an undetermined byte in the transmission target data.

未確定バイトは、直前のデータパケットの伝送対象データを生成する最後のバイトに追加され、つまり、直前のデータパケットの処理が完成してから、データを引き続き読み取るかどうかが不明であるから、データの読み取りを一時停止する必要があり、次のデータパケットにより生成される伝送対象データの最初のデータバイトに対して、即時停止バイトを追加し、即ち、未確定バイトのデータ属性が追加されるデータバイトの次のバイトに対して即時停止バイトを追加し、データの伝送を即時に停止する。 The indeterminate byte is added to the last byte that produces the data to be transmitted in the previous data packet, that is, it is unclear whether the data will continue to be read after the processing of the previous data packet is complete. Data that needs to be paused and adds an immediate stop byte to the first data byte of the data to be transmitted generated by the next data packet, that is, the data attribute of the undetermined byte is added. Immediately stop data transmission by adding an immediate stop byte to the byte next to the byte.

本発明の他の具体的な実施例において、前記データの伝送方法はさらに、前記データパケットのアドレスバイトに対して、前記伝送対象データに単一バイトのデータ属性を追加することを含んでもよい。 In another specific embodiment of the present invention, the method of transmitting the data may further include adding a single byte of data attribute to the data to be transmitted with respect to the address bytes of the data packet.

I2Cの従属制御端末が応答するかどうかを確定する必要がある場合に、補助チャンネルは、アドレスバイトが含まれてデータバイトまたは長さバイトがないデータパケットを送信し、前記データパケットはアドレスリクエストであり、前記アドレスリクエストは、従属制御端末のアドレスを送信することで、前記従属制御端末が応答するかどうかを確定し、データの伝送を起動させてから、アドレスバイトを送信し、そして、データの伝送を停止し、送信事務全体が終了し、その後、データの書き込みまたは読み取りが存在しない。このような状況にあるデータパケットに対して、前記データパケットにおけるアドレスバイトに単一バイトのデータ属性を追加する。従って、前記単一バイトの追加条件は前記先頭バイトの条件とは違って、両者の作用も違っている。 When it is necessary to determine whether the I2C subordinate control terminal responds, the auxiliary channel sends a data packet containing an address byte and no data byte or length byte, and the data packet is an address request. Yes, the address request determines whether the dependent control terminal responds by sending the address of the dependent control terminal, initiates data transmission, then sends an address byte, and then the data The transmission is stopped, the entire transmission office is completed, and then there is no writing or reading of data. For a data packet in such a situation, a single byte data attribute is added to the address byte in the data packet. Therefore, the condition for adding the single byte is different from the condition for the first byte, and the actions of both are different.

S203、前記伝送対象データをバッファに記憶し、前記バッファは前記伝送対象データに基づいて、前記I2Cのメイン制御端末とデータのインタラクティブを行うために用いられ、前記伝送対象データにおけるデータ属性は、前記I2Cのメイン制御端末と前記バッファとの間のデータのインタラクティブの進捗を制御するために用いられる。 S203, the transmission target data is stored in a buffer, and the buffer is used to interactively perform data with the main control terminal of the I2C based on the transmission target data, and the data attribute in the transmission target data is the said. It is used to control the interactive progress of data between the I2C main control terminal and the buffer.

生成された前記伝送対象データをバッファに記憶し、前記伝送対象データには既にデータ属性が追加されている。バッファとI2Cのメイン制御端末により行われるデータのインタラクティブを介して、メイン制御端末は前記データ属性により、バッファから前記伝送対象データを読み取り続けている。前記データ属性が追加される伝送対象データはバッファに記憶され、I2Cのメイン制御端末はバッファから、前記データ属性が追加される伝送対象データを読み取り、事前に読み取られるかまたは書き込まれるバイトの数をメイン制御端末に通知する必要がなくなる。メイン制御端末は読み取られたデータ属性に基づいて、データの伝送を制御することができるから、データ属性の追加により、データの伝送を制御し得る。さらに、I2Cのメイン制御端末とインタラクティブしないデータを変更することで、データの伝送がより柔軟になる。具体的には、前記データを変更し、いつでもメモリに記憶される前記伝送対象データを削除し、そして、新たな伝送対象データを書き込む。 The generated transmission target data is stored in the buffer, and data attributes have already been added to the transmission target data. Through the interactive data performed by the buffer and the I2C main control terminal, the main control terminal continues to read the transmission target data from the buffer by the data attribute. The transmission target data to which the data attribute is added is stored in the buffer, and the I2C main control terminal reads the transmission target data to which the data attribute is added from the buffer and determines the number of bytes to be read or written in advance. There is no need to notify the main control terminal. Since the main control terminal can control the transmission of data based on the read data attribute, the transmission of data can be controlled by adding the data attribute. Further, by changing the data that does not interact with the I2C main control terminal, the data transmission becomes more flexible. Specifically, the data is changed, the transmission target data stored in the memory at any time is deleted, and new transmission target data is written.

本発明の他の実施例はさらに、I2Cのメイン制御端末に適用されるデータ伝送方法を開示し、図3を参照し、前記データ伝送方法は、以下のステップを含み、即ち、
S301、バッファに保存され、データ属性が追加されるデータを読み取る。
Other embodiments of the present invention further disclose a data transmission method applied to the I2C main control terminal, with reference to FIG. 3, wherein the data transmission method comprises the following steps, i.e.
S301, Read the data saved in the buffer and to which the data attribute is added.

I2Cのメイン制御端末はバッファから、バッファに記憶され、データ属性が追加される伝送対象データを読み取る。 From the buffer, the I2C main control terminal reads the transmission target data stored in the buffer and to which the data attribute is added.

I2Cのメイン制御は1回で、バッファから2バイト、一つのデータバイト及びその相応的なデータ属性バイトを読み取り、今回読み取られたデータを処理してから、次回の読み取りを開始またはデータの読み取りを終了することができる。バッファが空になる場合に、I2Cは待機状態にあり、読み取り/書き込み操作を一時停止する。バッファが空でない場合に、I2Cのメイン制御端末は、バッファからデータを引き続き読み取り、相応的に読み取り/書き込み操作を引き続き行う。 The main control of I2C is once, it reads 2 bytes, 1 data byte and its corresponding data attribute byte from the buffer, processes the data read this time, and then starts the next read or reads the data. Can be finished. When the buffer is empty, I2C is in a standby state, suspending read / write operations. If the buffer is not empty, the I2C main control terminal continues to read data from the buffer and continue to perform read / write operations accordingly.

S302、今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定する。 S302, the execution progress of the next data read / write operation is determined based on the data attribute of the data read this time.

なお、I2Cにおいて、データ伝送の開始と終了はいずれもメイン制御端末により決定される。ただし、メイン制御端末の、読み取り操作と書き込み操作に対するデータ伝送の制御は完全に同様ではない。 In I2C, the start and end of data transmission are both determined by the main control terminal. However, the control of data transmission for read and write operations of the main control terminal is not exactly the same.

書き込み操作に対して、メイン制御端末は先頭信号を送信してから、アドレスを送信し、前記アドレスに対応する従属制御端末は応答を送信してから、メイン制御端末はデータバイトを従属制御端末に書き込み、従属制御端末は前記バイトを成功に受信してから、データの受信が成功することをメイン制御に通知するように、応答情報を送信し、そうすると、メイン制御端末は次のデータバイトを送信する。メイン制御端末は最後のバイトを従属制御端末に書き込んだ後に、データの受信が成功することをメイン制御端末に通知するように、装置から応答情報を送信する。メイン制御端末は、停止信号を送信し、データ伝送を終了させ、つまり、メイン制御端末は書き込み操作を終了させようとすると、直前のデータの書き込みが成功した後に、従属制御端末にデータを送信せず、停止信号を送信すれば、データ伝送を終了させる。 In response to a write operation, the main control terminal sends a head signal and then an address, the dependent control terminal corresponding to the address sends a response, and then the main control terminal sends a data byte to the dependent control terminal. Write, the dependent control terminal successfully receives the byte and then sends the response information to notify the main control that the data reception is successful, and then the main control terminal sends the next data byte. do. After writing the last byte to the subordinate control terminal, the main control terminal transmits response information from the device so as to notify the main control terminal that the data reception is successful. When the main control terminal sends a stop signal and ends data transmission, that is, when the main control terminal tries to end the write operation, it sends data to the subordinate control terminal after the previous data has been successfully written. If the stop signal is transmitted instead, the data transmission is terminated.

読み取り操作に対して、メイン制御端末は先頭信号を送信してから、アドレスを送信し、前記アドレスに対応する従属制御端末が応答してから、従属制御端末はデータバイトをメイン制御端末に送信し、メイン制御端末は受信に成功してから、データの受信が成功することを従属制御端末に通知するように、応答情報を送信し、そして、従属制御端末は次のデータバイトを送信する。メイン制御端末は従属制御端末から最後のデータを読み取った後に、メイン制御端末は非応答信号を送信し、そして、停止信号を送信し、データ伝送を終了させ、つまり、メイン制御端末は読み取り操作を終了させようとすると、直前のデータを読み取った後に、まず、データを送信する必要がなくなることを従属制御端末に通知するように、非応答情報を送信し、そして、停止信号を送信すれば、データ伝送を停止できる。従って、メイン制御端末の、読み取り操作と書き込み操作に対する制御は違っているから、本実施例において、同様なデータ属性でも、読み取り操作と書き込み操作における作用は完全に同様ではない。 In response to the read operation, the main control terminal transmits a start signal and then an address, and after the subordinate control terminal corresponding to the address responds, the subordinate control terminal transmits a data byte to the main control terminal. , The main control terminal transmits the response information so as to notify the subordinate control terminal that the data reception is successful after the reception is successful, and the subordinate control terminal transmits the next data byte. After the main control terminal reads the last data from the subordinate control terminal, the main control terminal sends a non-response signal and then a stop signal to end the data transmission, that is, the main control terminal performs a read operation. When trying to terminate, after reading the previous data, first send non-response information to notify the subordinate control terminal that it is no longer necessary to send the data, and then send a stop signal. Data transmission can be stopped. Therefore, since the control of the main control terminal for the read operation and the write operation is different, the actions in the read operation and the write operation are not completely the same even with the same data attributes in this embodiment.

本発明の他の実施例において、ステップS302における、前記データの読み取り/書き込み操作は書き込み操作である場合に、即ち、アドレスバイトの最後のビットの読み取り/書き込み操作ビットは0である場合に、該ステップの実施方法は、
前記今回読み取られたデータのデータ属性を先頭バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定し、アドレスを確定してから実行されるデータの書き込み操作を起動させることを含んでもよい。
In another embodiment of the present invention, the data read / write operation in step S302 is a write operation, that is, the read / write operation bit of the last bit of the address byte is 0. How to carry out the steps
It may include recognizing the data attribute of the data read this time as the first byte, determining the address in the data read this time, and invoking the data writing operation executed after the address is confirmed.

メイン制御端末は先頭バイトを認識すると、まず先頭信号を送信し、I2Cがアイドルになる際に、I2Cを占有する。そして、前記今回読み取られたデータにおけるアドレス及び書き込み操作の標識を送信し、前記アドレスを確定し、前記アドレスに対応する従属制御端末が応答信号を送信してから、前記データバイトの書き込み操作の標識に基づいて、アドレスを確定してから実行されるデータの書き込み操作を起動させ、データを前記従属制御端末に書き込む。 When the main control terminal recognizes the first byte, it first transmits a first signal and occupies I2C when I2C becomes idle. Then, the address and the sign of the write operation in the data read this time are transmitted, the address is confirmed, the dependent control terminal corresponding to the address transmits the response signal, and then the sign of the write operation of the data byte is transmitted. Based on the above, the data writing operation executed after the address is confirmed is activated, and the data is written to the dependent control terminal.

前記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、今回読み取られたデータを書き込んだ後に、前記バッファから次回のデータを引き続き読み取る。 The data attribute of the data read this time is recognized as a continuous transmission byte, and after writing the data read this time, the next data is continuously read from the buffer.

メイン制御端末が継続伝送バイトを認識することは、今回読み取られたデータバイトが中間バイトであり、その後、さらに書き込むデータがあり、メイン制御端末は前記今回読み取られたデータバイトを従属制御端末に書き込み、前記バッファから次回のデータを引き続き読み取ることを示す。 The fact that the main control terminal recognizes the continuous transmission byte means that the data byte read this time is an intermediate byte, and then there is data to be written further, and the main control terminal writes the data byte read this time to the dependent control terminal. , Indicates that the next data is continuously read from the buffer.

前記今回読み取られたデータのデータ属性を終了バイトとして認識すれば、今回の書き込み操作を終了させる。 If the data attribute of the data read this time is recognized as the end byte, the writing operation this time is ended.

メイン制御端末が終了バイトを認識することは、今回読み取られたデータバイトが書き込まれる最後のデータバイトであることを示す。前記最後のデータバイトを従属制御端末に書き込んだ後に、従属制御端末は応答情報を送信して、データの書き込みが成功することを確定し、メイン制御端末は停止信号を送信し、バスを開放させ、書き込み操作を終了させる。 When the main control terminal recognizes the end byte, it indicates that the data byte read this time is the last data byte to be written. After writing the last data byte to the dependent control terminal, the dependent control terminal sends response information to confirm that the data writing is successful, and the main control terminal sends a stop signal to open the bus. , End the write operation.

本発明の他の実施例において、ステップS302における前記データの読み取り/書き込み操作が読み取り操作である場合に、即ち、アドレスバイトの最後の読み取り/書き込み操作ビットが1である場合に、該ステップの実施方法は、
前記今回読み取られたデータのデータ属性を先頭バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定し、アドレスを確定してから実行されるデータの読み取り操作を起動させることを含んでもよい。
In another embodiment of the present invention, when the data read / write operation in step S302 is a read operation, that is, when the last read / write operation bit of the address byte is 1. The method is
It may include recognizing the data attribute of the data read this time as the first byte, determining the address in the data read this time, and invoking the data reading operation executed after the address is confirmed.

なお、メイン制御端末は先頭バイトを認識してから、まず、先頭信号を送信し、バスを占有し、そして、前記データバイトのアドレス及び読み取り操作の標識を送信し、前記アドレスに対応する従属制御端末が応答信号を送信してから、アドレスを確定してから実行されるデータ読み取りの操作を起動させ、メイン制御端末は従属制御端末からデータを読み取る。 After recognizing the first byte, the main control terminal first transmits the first signal, occupies the bus, and then transmits the address of the data byte and the indicator of the read operation, and the dependent control corresponding to the address. After the terminal sends the response signal, the data reading operation that is executed after confirming the address is activated, and the main control terminal reads the data from the subordinate control terminal.

前記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、従属制御端末に記憶され今回読み取られたデータに対応するバイトを読み取り、前記バッファから次回のデータを引き続き読み取る。 The data attribute of the data read this time is recognized as a continuous transmission byte, the byte corresponding to the data stored this time is stored in the dependent control terminal, and the next data is continuously read from the buffer.

なお、メイン制御端末が継続伝送バイトを認識することは、今回読み取られたデータバイトが中間バイトであり、その後、さらに他のデータバイトがあり、従属制御端末からデータを引き続き読み取る必要があることを示し、この場合、メイン制御端末は従属制御端末から一つのデータを読み取り、前記バッファから、次回のデータを引き続き読み取る。 The fact that the main control terminal recognizes the continuous transmission byte means that the data byte read this time is an intermediate byte, and then there are other data bytes, and it is necessary to continue reading the data from the dependent control terminal. In this case, the main control terminal reads one data from the subordinate control terminal and continues to read the next data from the buffer.

さらに、データパケットにおける長さバイトにより示される数値に基づいて伝送対象データにおけるデータバイトを書き込むことそのものは意義がなく、前記長さバイトは、前記データパケットが読み取ることを請求するバイトの数値を示すバイトである。メイン制御端末は前記バッファから前記データバイトを読み取った後に、従属制御端末から、相応的に一つのバイトを読み取り、前記バッファから読み取られたデータバイトに対して他の操作を行わない。 Further, writing the data bytes in the data to be transmitted based on the numerical value indicated by the length bytes in the data packet is meaningless, and the length bytes indicate the numerical value of the bytes requested to be read by the data packet. It is a byte. After reading the data byte from the buffer, the main control terminal reads one byte correspondingly from the dependent control terminal, and does not perform another operation on the data byte read from the buffer.

前記今回読み取られたデータのデータ属性を未確定バイトとして認識し、従属制御端末に記憶され今回読み取られたデータに対応するバイトを読み取り、前記バッファから次回のデータを引き続き読み取る。 The data attribute of the data read this time is recognized as an undetermined byte, the byte corresponding to the data stored this time stored in the dependent control terminal is read, and the next data is continuously read from the buffer.

なお、未確定バイトは読み取り操作に適用され、一つのデータパケットのデータ処理が完成してから、つまり、前記データパケットが読み取ることを請求するデータを読み取った後に、メイン制御端末は、その後、新たなデータパケットを送信するかどうかについて不明であり、その後、従属制御端末からデータを引き続き読み取ることを確定することができないから、応答情報を送信しデータを引き続き読み取るか、非応答情報を送信しデータの読み取りを終了させるかについて確定することができない。データパケットに基づいて生成される伝送対象データの最後のバイトに追加されるのは未確定バイトであるから、メイン制御端末が未確定バイトを認識する場合に、従属制御端末から、前記今回読み取られたデータバイトに対応する一つのバイトを読み取り、従属制御端末からのデータの読み取りを一時停止する。前記バッファから次回のデータを引き続き読み取る。次回で読み取られるデータ属性に基づいて、応答情報または非応答情報を送信するか、従属制御端末からデータを引き続き読み取るか、読み取り操作を終了させるかを確定する。 The undetermined byte is applied to the read operation, and after the data processing of one data packet is completed, that is, after reading the data requested to be read by the data packet, the main control terminal is then newly added. Since it is unclear whether to send a data packet, and then it is not possible to confirm that the data will continue to be read from the dependent control terminal, either the response information will be sent and the data will continue to be read, or the non-response information will be sent and the data will be read. It is not possible to determine whether to end the reading of. Since the undetermined byte is added to the last byte of the transmission target data generated based on the data packet, when the main control terminal recognizes the undetermined byte, it is read from the dependent control terminal this time. Reads one byte corresponding to the data byte, and suspends reading of data from the dependent control terminal. Continue reading the next data from the buffer. Determines whether to send response or non-response information, continue to read data from the dependent control terminal, or terminate the read operation, based on the data attributes that will be read next time.

前記今回読み取られたデータのデータ属性を終了バイトとして認識し、従属制御端末に記憶され今回読み取られたデータに対応するバイトを読み取り、データの読み取り操作を終了させる。 The data attribute of the data read this time is recognized as the end byte, the byte corresponding to the data stored this time stored in the dependent control terminal is read, and the data reading operation is ended.

メイン制御端末は終了バイトを認識してから、従属制御端末から、前記今回読み取られたデータバイトに対応する一つのバイトを読み取り、そして非応答情報を送信し、最後は停止信号を送信し、今回の読み取り操作を終了させる。 After recognizing the end byte, the main control terminal reads one byte corresponding to the data byte read this time from the subordinate control terminal, transmits non-response information, and finally transmits a stop signal, this time. End the read operation of.

または、前記データ読み取り/書き込み操作は読み取り操作である場合に、前記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、メイン制御端末が前記今回読み取られたデータのデータ属性を即時停止バイトとして認識してから、データの読み取り操作を終了させてもよい。 Alternatively, when the data read / write operation is a read operation, the main control terminal can determine the execution progress of the next data read / write operation based on the data attribute of the data read this time. The data attribute of the data read this time may be recognized as an immediate stop byte, and then the data reading operation may be terminated.

即時停止バイトは、未確定バイトの後ろに適用され、メイン制御端末が前記バッファから未確定バイトを読み取った後、次回で読み取られるのは未確定バイトである。この場合に、補助チャンネルがメイン制御端末にデータパケットを伝送しなく、読み取り操作も相応的に停止されることを示す。メイン制御端末は即時停止バイトを認識してから、従属制御端末からデータを読み取らなくて、直接的に非応答情報を送信し、そして、停止信号を送信し、バスを開放させ、読み取り操作を終了させる。無論、メイン制御端末が未確定バイトを読み取った後、バッファから読み取られる次のデータ属性バイトが継続伝送バイトであってもよく、この場合に、引き続き読み取り操作を行う必要があることを示す。従属制御端末から一つのバイトを読み取った後、応答情報を送信し、引き続きデータの読み取りを行う。 The immediate stop byte is applied after the undetermined byte, and after the main control terminal reads the undetermined byte from the buffer, it is the undetermined byte that is read next time. In this case, it is shown that the auxiliary channel does not transmit the data packet to the main control terminal and the reading operation is stopped accordingly. After recognizing the immediate stop byte, the main control terminal sends the non-response information directly without reading the data from the dependent control terminal, and then sends the stop signal to open the bus and finish the read operation. Let me. Of course, after the main control terminal reads the undetermined byte, the next data attribute byte read from the buffer may be the continuous transmission byte, and in this case, it indicates that the read operation needs to be continued. After reading one byte from the subordinate control terminal, the response information is transmitted and the data is continuously read.

または、本発明の他の実施例において、読み取り操作または書き込み操作において、ステップの他の実施形態は、前記今回読み取られたデータのデータ属性を単一バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定し、データの読み取り/書き込み操作を停止することを含んでもよい。 Alternatively, in another embodiment of the invention, in a read or write operation, another embodiment of the step recognizes the data attribute of the data read this time as a single byte and in the data read this time. It may include establishing the address and stopping the data read / write operation.

単一バイトは補助チャンネルから送信されたリクエストにおけるアドレス事務に対応し、一般的には、前記アドレス事務はI2Cの従属制御端末が応答するかどうかを確定する。メイン制御端末が前記単一バイトを認識してから、先頭信号を送信し、バスを占有し、そして、アドレス及び読み取り/書き込み標識を送信し、前記アドレスに対応する従属制御端末が応答情報を送信し、メイン制御端末が停止信号を送信し、バスを開放させる。データの書き込みまたは読み取りを行わない。 The single byte corresponds to the address office work in the request transmitted from the auxiliary channel, and in general, the address office work determines whether or not the I2C subordinate control terminal responds. After the main control terminal recognizes the single byte, it sends a lead signal, occupies the bus, sends an address and a read / write indicator, and the dependent control terminal corresponding to the address sends response information. Then, the main control terminal sends a stop signal to open the bus. Do not write or read data.

本発明の他の具体的な実施例はさらにデータ伝送装置を開示し、図4を参照し、取得ユニット401、生成ユニット402、バッファユニット403を含む。
取得ユニット401は、補助チャンネルからデータバスI2Cのメイン制御端末に伝送されるデータパケットを取得する。なお、前記取得ユニット401は、DPレシーバで、センダが補助チャンネルを介してI2Cのメイン制御端末に伝送したデータパケットを取得する。
Other specific embodiments of the present invention further disclose a data transmission device, which includes an acquisition unit 401, a generation unit 402, and a buffer unit 403, with reference to FIG.
The acquisition unit 401 acquires a data packet transmitted from the auxiliary channel to the main control terminal of the data bus I2C. The acquisition unit 401 is a DP receiver and acquires a data packet transmitted by the sender to the main control terminal of I2C via an auxiliary channel.

生成ユニット402は、前記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、伝送対象データを生成し、前記伝送対象データに対してデータ属性を追加する。前記生成ユニット402は、データパケットにおけるアドレスバイトの最後の読み取り/書き込みフラグのタイプに基づいて、前記データパケットを伝送対象データとして生成する。そして異なる伝送フラグのタイプに基づいて、前記伝送対象データに対してデータ属性を追加する。前記データ属性の追加は、 前記伝送対象データにおける各々バイトの前に、相応的なデータ属性が書き込まれる一つのバイトを追加し、データ属性バイトとして定義される。 The generation unit 402 generates transmission target data based on the type of the read / write flag and the type of the transmission flag of the data packet, and adds a data attribute to the transmission target data. The generation unit 402 generates the data packet as transmission target data based on the type of the last read / write flag of the address byte in the data packet. Then, data attributes are added to the transmission target data based on different transmission flag types. The addition of the data attribute is defined as a data attribute byte by adding one byte in which the corresponding data attribute is written before each byte in the transmission target data.

バッファユニット403は、前記伝送対象データをバッファに記憶するために用いられ、前記バッファは、前記伝送対象データに基づいて、前記I2Cのメイン制御端末とデータのインタラクティブを行い、前記伝送対象データにおけるデータ属性は、前記I2Cのメイン制御端末と前記バッファとの間のデータのインタラクティブの進捗を制御するために用いられる。 The buffer unit 403 is used to store the transmission target data in the buffer, and the buffer interacts with the main control terminal of the I2C based on the transmission target data, and the data in the transmission target data. Attributes are used to control the interactive progress of data between the I2C main control terminal and the buffer.

または、生成ユニット402はいつでも前記バッファにおける前記伝送対象データを削除し、新たな伝送対象データを書き込んでもよい。このように、データ伝送に対する介入を実現し、伝送されるデータを変更し得て、データの伝送を前倒し終了させる。 Alternatively, the generation unit 402 may delete the transmission target data in the buffer at any time and write new transmission target data. In this way, interventions in data transmission can be realized, the data being transmitted can be modified, and data transmission can be terminated ahead of schedule.

または、本発明の他の実施例において、前記データパケットの読み取り/書き込みフラグが書き込み操作の標識である場合に、同じように図4を参照して、生成ユニット402は、
前記データパケットにおけるアドレスバイトとデータバイトを前記伝送対象データとするための第1生成サブユニット4021を含み、前記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、前記伝送対象データには先頭バイトのデータ属性が追加され、前記伝送フラグが伝送過程中であるデータパケットにおけるデータバイトに対して、前記伝送対象データに継続伝送バイトのデータ属性が追加され、前記伝送フラグが伝送終了標識であるデータパケットにおける最後のデータバイトに対して、前記伝送対象データに終了バイトのデータ属性が追加され、前記最後のデータバイト以外のデータバイトに対して、前記伝送対象データに継続伝送バイトのデータ属性が追加される。
Alternatively, in another embodiment of the present invention, when the read / write flag of the data packet is a sign of a write operation, the generation unit 402 may similarly refer to FIG.
The transmission target data includes the address byte and the data byte in the data packet, and the address byte of the first data packet transmitted by the auxiliary channel includes the first generation subsystem 4021 for making the data byte the transmission target data. Is added the data attribute of the first byte, the data attribute of the continuous transmission byte is added to the data to be transmitted for the data byte in the data packet whose transmission flag is in the process of transmission, and the transmission flag is the transmission end indicator. For the last data byte in the data packet, the data attribute of the end byte is added to the transmission target data, and for the data bytes other than the last data byte, the data of the continuous transmission byte is added to the transmission target data. Attributes are added.

または、本発明の他の実施例において、前記データパケットにおける読み取り/書き込みフラグが読み取り操作の標識である場合に、図4に示すように、生成ユニット402は、
前記データパケットのアドレスバイトを前記伝送対象データとして、前記伝送対象データに、第1数値に対応するデータバイトを書き込むための第2生成サブユニット4022を含み、前記第1数値が前記補助チャンネルにより伝送されるデータパケットの長さバイトの数値であってもよい。
Alternatively, in another embodiment of the present invention, when the read / write flag in the data packet is a sign of a read operation, the generation unit 402, as shown in FIG.
The address byte of the data packet is used as the transmission target data, and the transmission target data includes a second generation subsystem 4022 for writing a data byte corresponding to the first numerical value, and the first numerical value is transmitted by the auxiliary channel. It may be a numerical value of the length bytes of the data packet to be created.

前記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、前記伝送対象データに先頭バイトのデータ属性が追加され、伝送フラグに基づいて伝送過程中であるデータパケットに対して、前記伝送対象データに書き込まれた最後のデータバイトに未確定バイトのデータ属性が追加され、前記最後のデータバイト以外の他のバイトに対して、継続伝送バイトのデータ属性が追加され、前記伝送フラグに基づいて伝送終了標識であるデータパケットに対して、前記伝送対象データに書き込まれた最後のデータバイトに終了バイトのデータ属性が追加され、前記最後のデータバイト以外のデータバイトに継続伝送バイトのデータ属性が追加される。 The data attribute of the first byte is added to the data to be transmitted for the address byte of the first data packet transmitted by the auxiliary channel, and the transmission is performed for the data packet in the process of transmission based on the transmission flag. The data attribute of the undetermined byte is added to the last data byte written to the target data, and the data attribute of the continuous transmission byte is added to the other bytes other than the last data byte, based on the transmission flag. For the data packet that is the transmission end indicator, the data attribute of the end byte is added to the last data byte written in the transmission target data, and the data attribute of the continuous transmission byte is added to the data bytes other than the last data byte. Is added.

本発明の他の実施例において、前記データ伝送装置はさらに第1追加ユニット及び第2追加ユニットを含み、
前記第1追加ユニットは、前記伝送対象データにおける特定のデータバイトに対して、即時停止バイトのデータ属性を追加し、前記特定のデータバイトは前記伝送対象データにおいて、未確定バイトとして追加される次のデータバイトである。
In another embodiment of the invention, the data transmission device further comprises a first additional unit and a second additional unit.
The first additional unit adds the data attribute of the immediate stop byte to the specific data byte in the transmission target data, and the specific data byte is added as an undetermined byte in the transmission target data. Data byte.

前記第2追加ユニットは、前記データパケットのアドレスバイトに対して、前記伝送対象データに単一バイトのデータ属性を追加する。 The second additional unit adds a single byte data attribute to the transmission target data with respect to the address byte of the data packet.

なお、本発明の各々実施例に開示されるデータ伝送装置の各々ユニットの具体的な作業過程について、対応する方法実施例の内容を参照すればよく、ここで贅言しない。 Regarding the specific work process of each unit of the data transmission device disclosed in each embodiment of the present invention, the content of the corresponding method embodiment may be referred to, and no verbosity is given here.

本発明の他の具体的な実施例はメイン制御端末を開示し、前記メイン制御端末はデータバスI2Cのメイン制御端末であり、図5に示すように、前記メイン制御端末501は、
バッファに保存され、データ属性が追加されるデータを読み取り、今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定するためのメイン制御ユニット502を含む。
Another specific embodiment of the present invention discloses a main control terminal, wherein the main control terminal is a main control terminal of the data bus I2C, and as shown in FIG. 5, the main control terminal 501 is
It includes a main control unit 502 for reading data stored in a buffer and adding data attributes and determining the execution progress of the next data read / write operation based on the data attributes of the data read this time.

メイン制御ユニット502は、1回で前記バッファから二つのバイト、一つのデータバイト、及び該バイトに対応するデータ属性バイトを読み取る。前記メイン制御端末ユニット502は、バッファから読み取られたデータ属性により、データの読み取りまたは書き込みを制御する。読み取り操作と書き込み操作に対して、データ属性のメイン制御端末501に対する制御は完全に同様ではない。 The main control unit 502 reads two bytes, one data byte, and the data attribute byte corresponding to the byte from the buffer at one time. The main control terminal unit 502 controls reading or writing of data according to the data attribute read from the buffer. The control of data attributes over the main control terminal 501 is not exactly the same for read and write operations.

または、本発明の他の実施例において、前記データの読み取り/書き込み操作は書き込み操作である場合に、図5に示すように、メイン制御ユニット502は、
前記今回読み取られたデータのデータ属性を先頭バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの書き込み操作を起動させ、前記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、今回読み取られたデータを書き込んだ後、前記バッファから次回のデータを引き続き読み取り、前記今回読み取られたデータのデータ属性を終了バイトとして認識すると、今回の書き込み操作を終了させるための第1メイン制御サブユニット503を含んでもよい。
Alternatively, in another embodiment of the present invention, when the data read / write operation is a write operation, as shown in FIG. 5, the main control unit 502 is set.
The data attribute of the data read this time is recognized as the first byte, the address in the data read this time is fixed, and the data writing operation executed after the address is fixed is activated, and the data is read this time. When the data attribute of the data is recognized as a continuous transmission byte, the data read this time is written, the next data is continuously read from the buffer, and the data attribute of the data read this time is recognized as the end byte, this time. The first main control subsystem 503 for terminating the writing operation of the above may be included.

または、本発明の他の実施例において、前記データの読み取り/書き込み操作は読み取り操作である場合に、図5に示すように、メイン制御ユニット502は、
前記今回読み取られたデータのデータ属性を先頭バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの読み取り操作を起動させ、前記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、従属制御端末に記憶され今回読み取られたデータに対応するバイトを読み取り、前記バッファから次回のデータを引き続き読み取り、前記今回読み取られたデータのデータ属性を未確定バイトとして認識し、従属制御端末に記憶され今回読み取られたデータに対応するバイトを読み取り、前記バッファから次回のデータを引き続き読み取り、前記今回読み取られたデータのデータ属性を終了バイトとして認識し、従属制御端末に記憶され今回読み取られたデータに対応するバイトを読み取り、データの読み取り操作を終了させるための第2メイン制御サブユニット504を含んでもよい。
Alternatively, in another embodiment of the present invention, when the data read / write operation is a read operation, as shown in FIG. 5, the main control unit 502 is set.
The data attribute of the data read this time is recognized as the first byte, the address in the data read this time is fixed, and the data reading operation executed after the address is fixed is activated to read the data this time. The data attribute of the data is recognized as a continuous transmission byte, the byte corresponding to the data stored in the dependent control terminal and read this time is read, the next data is continuously read from the buffer, and the data attribute of the data read this time is read. Is recognized as an undetermined byte, the byte corresponding to the data stored in the dependent control terminal and read this time is read, the next data is continuously read from the buffer, and the data attribute of the data read this time is recognized as the end byte. However, the second main control subsystem 504 for reading the bytes stored in the subordinate control terminal and corresponding to the data read this time and ending the data reading operation may be included.

または、本発明の他の実施例において、前記データの読み取り/書き込み操作は読み取り操作である場合に、図5に示すように、メイン制御ユニット502は、
前記今回読み取られたデータのデータ属性を即時停止バイトとして認識し、データの読み取り操作を終了させるための第1認識ユニット505を含んでもよい。
Alternatively, in another embodiment of the present invention, when the data read / write operation is a read operation, as shown in FIG. 5, the main control unit 502 is set.
The first recognition unit 505 for recognizing the data attribute of the data read this time as an immediate stop byte and ending the data reading operation may be included.

または、本発明の他の実施例において、前記データの読み取り/書き込み操作は書き込み操作または読み取り操作である場合に、図5に示すように、メイン制御ユニット502は、
前記今回読み取られたデータのデータ属性を単一バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定し、データの読み取り/書き込み操作を停止するための第2認識ユニット506を含む。
Alternatively, in another embodiment of the present invention, when the data read / write operation is a write operation or a read operation, as shown in FIG. 5, the main control unit 502 is set.
It includes a second recognition unit 506 for recognizing the data attribute of the data read this time as a single byte, determining the address in the data read this time, and stopping the data read / write operation.

なお、本発明における各々実施例に開示されたメイン制御端末の各々ユニットの具体的な作業過程について、対応する方法実施例の内容を参照すればよく、ここで贅言しない。 Regarding the specific work process of each unit of the main control terminal disclosed in each embodiment of the present invention, the content of the corresponding method embodiment may be referred to, and no verbosity is given here.

本明細書の各々実施例に対して、漸進という方式で記載し、各々実施例が主に説明するのは、他の実施例との相違点であり、各々実施例の間の同様または類似部分について、互いに参照すればよい。 Each example of the present specification is described in a gradual manner, and each example mainly describes differences from other examples, and similar or similar parts between the respective examples. Can be referred to each other.

開示された実施例に対する前記説明により、当業者は本出願を利用しまたは実現することができる。これらの実施例に対する多種の補正は、当業者にとって自明であり、本明細書において定義された一般的な原理は、本出願の精神及び範囲から逸脱しない場合に、他の実施例で実現される。従って、本出願は、本明細書に示される実施例に限定されず、本明細書に開示された原理と新規な特徴は一致する最も幅広い範囲に合う。
[項目1]
データ伝送方法であって、
補助チャンネルからデータバスI2Cのメイン制御端末に伝送されるデータパケットを取得することと、
上記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、データ属性が追加される伝送対象データを生成することと、
上記伝送対象データをバッファに記憶することと、を含み、
上記バッファは、上記伝送対象データに基づいて、上記I2Cのメイン制御端末とデータのインタラクティブを行い、上記伝送対象データにおけるデータ属性は、上記I2Cのメイン制御端末と上記バッファとの間のデータのインタラクティブの進捗を制御するために用いられる方法。
[項目2]
上記データパケットの読み取り/書き込みフラグは書き込み操作の標識であり、上記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、データ属性が追加される伝送対象データを生成することは、
上記データパケットにおけるアドレスバイトとデータバイトを上記伝送対象データとすることを含み、
上記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、上記伝送対象データには先頭バイトのデータ属性を追加し、上記伝送フラグが伝送過程であるデータパケットにおけるデータバイトに対して、上記伝送対象データには継続伝送バイトのデータ属性を追加し、上記伝送フラグが伝送終了標識であるデータパケットにおける最後のデータバイトに対して、上記伝送対象データには終了バイトのデータ属性を追加し、上記最後のデータバイト以外のデータバイトに対して、上記伝送対象データには継続伝送バイトのデータ属性を追加する項目1に記載の方法。
[項目3]
上記データパケットにおける読み取り/書き込みフラグは読み取り操作の標識であり、上記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、データ属性が追加される伝送対象データを生成することは、
上記データパケットのアドレスバイトを上記伝送対象データとするとともに、上記伝送対象データに、上記補助チャンネルにより伝送されるデータパケットの長さバイトの数値である第1数値に対応するデータバイトを書き込むことを含み、
上記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、上記伝送対象データには先頭バイトのデータ属性を追加し、伝送フラグに基づいて伝送過程中であるデータパケットに対して、上記伝送対象データに書き込まれた最後のデータバイトには、未確定バイトのデータ属性を追加し、上記最後のデータバイト以外の他のバイトに対して、継続伝送バイトのデータ属性を追加し、上記伝送フラグに基づいて伝送終了標識であるデータパケットに対して、上記伝送対象データに書き込まれた最後のデータバイトには、終了バイトのデータ属性を追加し、上記最後のデータバイト以外のデータバイトには、継続伝送バイトのデータ属性を追加する項目1に記載の方法。
[項目4]
さらに、
上記伝送対象データにおける特定のデータバイトに対して、即時停止バイトのデータ属性を追加することを含み、上記特定のデータバイトは上記伝送対象データにおいて、未確定バイトとして追加される次のデータバイトである項目3に記載の方法。
[項目5]
さらに、
上記データパケットのアドレスバイトに対して、上記伝送対象データに単一バイトのデータ属性を追加することを含む項目2〜4のいずれか一項に記載の方法。
[項目6]
データ伝送方法であって、
バッファに保存され、データ属性が追加されるデータを読み取ることと、
今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することと、を含む方法。
[項目7]
上記データの読み取り/書き込み操作は書き込み操作であり、上記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、
上記今回読み取られたデータのデータ属性を先頭バイトとして認識し、上記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの書き込み操作を起動させることと、
上記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、今回読み取られたデータを書き込み、上記バッファから次回のデータを引き続き読み取ることと、
上記今回読み取られたデータのデータ属性を終了バイトとして認識すれば、今回の書き込み操作を終了させることと、を含む項目6に記載の方法。
[項目8]
上記データの読み取り/書き込み操作は読み取り操作であり、上記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、
上記今回読み取られたデータのデータ属性を先頭バイトとして認識し、上記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの読み取り操作を起動させることと、
上記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、上記バッファから次回のデータを引き続き読み取ることと、
上記今回読み取られたデータのデータ属性を未確定バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、上記バッファから次回のデータを引き続き読み取ることと、
上記今回読み取られたデータのデータ属性を終了バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、データの読み取り操作を終了させることと、を含む項目6に記載の方法。
[項目9]
上記データの読み取り/書き込み操作は読み取り操作であり、上記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、
上記今回読み取られたデータのデータ属性を即時停止バイトとして認識し、データの読み取り操作を終了させることを含む項目6に記載の方法。
[項目10]
上記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、
上記今回読み取られたデータのデータ属性を単一バイトとして認識し、上記今回読み取られたデータにおけるアドレスを確定するとともに、データの読み取り/書き込み操作を停止することを含む項目6に記載の方法。
[項目11]
データ伝送装置であって、
補助チャンネルからデータバスI2Cのメイン制御端末に伝送されるデータパケットを取得するための取得ユニットと、
上記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、伝送対象データを生成するとともに、上記伝送対象データにデータ属性を追加するための生成ユニットと、
上記伝送対象データをバッファに記憶するためのバッファユニットとを含み、上記バッファは、上記伝送対象データに基づいて、上記I2Cのメイン制御端末とデータのインタラクティブを行い、上記伝送対象データにおけるデータ属性は、上記I2Cのメイン制御端末と上記バッファとの間のデータのインタラクティブの進捗を制御するために用いられる装置。
[項目12]
上記データパケットの読み取り/書き込みフラグは書き込み操作の標識であり、上記生成ユニットは、
上記データパケットにおけるアドレスバイトとデータバイトを上記伝送対象データとし、上記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、上記伝送対象データに先頭バイトのデータ属性を追加し、上記伝送フラグが伝送過程中であるデータパケットにおけるデータバイトに対して、上記伝送対象データに継続伝送バイトのデータ属性を追加し、上記伝送フラグが伝送終了標識であるデータパケットにおける最後のデータバイトに対して、上記伝送対象データに終了バイトのデータ属性を追加し、上記最後のデータバイト以外のデータバイトに対して、上記伝送対象データに継続伝送バイトのデータ属性を追加するための第1生成サブユニットを含む、項目11に記載の装置。
[項目13]
上記データパケットにおける読み取り/書き込みフラグは読み取り操作の標識であり、上記生成ユニットは、
上記データパケットのアドレスバイトを上記伝送対象データとするとともに、上記伝送対象データに、上記補助チャンネルにより伝送されるデータパケットの長さバイトの数値である第1数値に対応するデータバイトを書き込み、上記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、上記伝送対象データには先頭バイトのデータ属性を追加し、伝送フラグに基づいて伝送過程中であるデータパケットに対して、上記伝送対象データに書き込まれた最後のデータバイトには、未確定バイトのデータ属性を追加し、上記最後のデータバイト以外の他のバイトに対して、継続伝送バイトのデータ属性を追加し、上記伝送フラグに基づいて伝送終了標識であるデータパケットに対して、上記伝送対象データに書き込まれた最後のデータバイトには、終了バイトのデータ属性を追加し、上記最後のデータバイト以外のデータバイトには、継続伝送バイトのデータ属性を追加するための第2生成サブユニットを含む、項目11に記載の装置。
[項目14]
さらに、
上記伝送対象データにおける特定のデータバイトに対して、即時停止バイトのデータ属性を追加するための第1追加ユニットであって、上記特定のデータバイトは上記伝送対象データにおいて、未確定バイトとして追加される次のデータバイトである第1追加ユニットを含む項目13に記載の装置。
[項目15]
さらに、
上記データパケットのアドレスバイトに対して、上記伝送対象データに単一バイトのデータ属性を追加するための第2追加ユニットを含む項目12〜14のいずれか一項に記載の装置。
[項目16]
メイン制御端末であって、データバスI2Cのメイン制御端末であり、上記メイン制御端末は、
バッファに保存され、データ属性が追加されるデータを読み取るとともに、今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定するためのメイン制御ユニットを含むメイン制御端末。
[項目17]
上記データの読み取り/書き込み操作は書き込み操作であり、上記メイン制御ユニットは、
上記今回読み取られたデータのデータ属性を先頭バイトとして認識し、上記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの書き込み操作を起動させ、上記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、今回読み取られたデータを書き込み、上記バッファから次回のデータを引き続き読み取り、上記今回読み取られたデータのデータ属性を終了バイトとして認識すれば、今回の書き込み操作を終了させるための第1メイン制御サブユニットを含む項目16に記載のメイン制御端末。
[項目18]
上記データの読み取り/書き込み操作は読み取り操作であり、上記メイン制御ユニットは、
上記今回読み取られたデータのデータ属性を先頭バイトとして認識し、上記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの読み取り操作を起動させ、上記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、上記バッファから次回のデータを引き続き読み取り、上記今回読み取られたデータのデータ属性を未確定バイト認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、上記バッファから次回のデータを引き続き読み取り、上記今回読み取られたデータのデータ属性を終了バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、データの読み取り操作を終了させるための第2メイン制御サブユニットを含む項目16に記載のメイン制御端末。
[項目19]
上記データの読み取り/書き込み操作は読み取り操作であり、上記メイン制御ユニットは、
上記今回読み取られたデータのデータ属性を即時停止バイトとして認識し、データの読み取り操作を終了させるための第1認識ユニットを含む項目16に記載のメイン制御端末。
[項目20]
上記メイン制御ユニットは、
上記今回読み取られたデータのデータ属性を単一バイトとして認識し、上記今回読み取られたデータにおけるアドレスを確定するとともに、データの読み取り/書き込み操作を停止するための第2認識ユニットを含む項目16に記載のメイン制御端末。
Those skilled in the art can utilize or realize the present application by the above description for the disclosed examples. Various amendments to these embodiments will be obvious to those of skill in the art, and the general principles defined herein will be implemented in other embodiments without departing from the spirit and scope of the present application. .. Thus, the application is not limited to the examples set forth herein, and the principles and novel features disclosed herein fit into the broadest range of agreement.
[Item 1]
It is a data transmission method
Acquiring data packets transmitted from the auxiliary channel to the main control terminal of the data bus I2C,
To generate data to be transmitted to which data attributes are added based on the type of read / write flag and the type of transmission flag of the above data packet.
Including storing the above transmission target data in a buffer
The buffer interacts with the I2C main control terminal based on the transmission target data, and the data attribute in the transmission target data is the data interactive between the I2C main control terminal and the buffer. The method used to control the progress of.
[Item 2]
The read / write flag of the data packet is a sign of a write operation, and generating transmission target data to which a data attribute is added based on the type of the read / write flag and the type of the transmission flag of the data packet can be generated.
Including setting the address byte and the data byte in the data packet as the transmission target data,
For the address byte of the first data packet transmitted by the auxiliary channel, the data attribute of the first byte is added to the data to be transmitted, and for the data byte in the data packet whose transmission flag is the transmission process, The data attribute of the continuous transmission byte is added to the data to be transmitted, and the data attribute of the end byte is added to the data to be transmitted with respect to the last data byte in the data packet whose transmission flag is the transmission end indicator. The method according to item 1, wherein the data attribute of the continuous transmission byte is added to the transmission target data for the data bytes other than the last data byte.
[Item 3]
The read / write flag in the data packet is a sign of a read operation, and generating transmission target data to which a data attribute is added based on the type of the read / write flag and the type of the transmission flag in the data packet can be generated.
The address byte of the data packet is set as the transmission target data, and the data byte corresponding to the first numerical value, which is the numerical value of the length byte of the data packet transmitted by the auxiliary channel, is written in the transmission target data. Including
For the address byte of the first data packet transmitted by the auxiliary channel, the data attribute of the first byte is added to the data to be transmitted, and for the data packet in the process of transmission based on the transmission flag, the above The data attribute of the undetermined byte is added to the last data byte written to the data to be transmitted, the data attribute of the continuous transmission byte is added to the other bytes other than the last data byte, and the above transmission is performed. For the data packet that is the transmission end indicator based on the flag, the data attribute of the end byte is added to the last data byte written in the transmission target data, and the data byte other than the last data byte is added to the data byte. , The method according to item 1 for adding a data attribute of a continuous transmission byte.
[Item 4]
Moreover,
The specific data byte includes adding the data attribute of the immediate stop byte to the specific data byte in the transmission target data, and the specific data byte is the next data byte added as an indeterminate byte in the transmission target data. The method according to a certain item 3.
[Item 5]
Moreover,
The method according to any one of items 2 to 4, which includes adding a single-byte data attribute to the transmission target data with respect to the address byte of the data packet.
[Item 6]
It is a data transmission method
Reading data that is stored in a buffer and has data attributes added,
A method that includes determining the execution progress of the next data read / write operation based on the data attributes of the data read this time.
[Item 7]
The above data read / write operation is a write operation, and it is not possible to determine the execution progress of the next data read / write operation based on the data attributes of the data read this time.
Recognizing the data attribute of the data read this time as the first byte, determining the address in the data read this time, and invoking the data write operation that is executed after confirming the address.
Recognizing the data attribute of the data read this time as a continuous transmission byte, writing the data read this time, and continuing to read the next data from the buffer above,
The method according to item 6, wherein if the data attribute of the data read this time is recognized as the end byte, the writing operation this time is terminated.
[Item 8]
The above data read / write operation is a read operation, and it is not possible to determine the execution progress of the next data read / write operation based on the data attributes of the data read this time.
Recognizing the data attribute of the data read this time as the first byte, determining the address in the data read this time, and invoking the data reading operation that is executed after confirming the address.
The data attribute of the data read this time is recognized as a continuous transmission byte, stored in the dependent control terminal, the byte corresponding to the data read this time is read, and the next data is continuously read from the buffer.
The data attribute of the data read this time is recognized as an undetermined byte, stored in the dependent control terminal, the byte corresponding to the data read this time is read, and the next data is continuously read from the buffer.
Item 6 includes recognizing the data attribute of the data read this time as the end byte, storing it in the dependent control terminal, reading the byte corresponding to the data read this time, and ending the data reading operation. The method described.
[Item 9]
The above data read / write operation is a read operation, and it is not possible to determine the execution progress of the next data read / write operation based on the data attributes of the data read this time.
The method according to item 6, which includes recognizing the data attribute of the data read this time as an immediate stop byte and terminating the data reading operation.
[Item 10]
Determining the execution progress of the next data read / write operation based on the data attributes of the data read this time is
The method according to item 6, which includes recognizing the data attribute of the data read this time as a single byte, determining the address in the data read this time, and stopping the data read / write operation.
[Item 11]
It is a data transmission device
An acquisition unit for acquiring data packets transmitted from the auxiliary channel to the main control terminal of the data bus I2C, and
A generation unit for generating data to be transmitted and adding data attributes to the data to be transmitted based on the type of read / write flag and the type of transmission flag of the data packet, and a generation unit.
The buffer unit for storing the transmission target data in the buffer is included, and the buffer interacts with the main control terminal of the I2C based on the transmission target data, and the data attribute in the transmission target data is , A device used to control the interactive progress of data between the I2C main control terminal and the buffer.
[Item 12]
The read / write flag of the data packet is a sign of the write operation, and the generation unit is
The address byte and the data byte in the data packet are set as the transmission target data, and the data attribute of the first byte is added to the transmission target data for the address byte of the first data packet transmitted by the auxiliary channel, and the transmission is performed. For the data byte in the data packet whose flag is in the process of transmission, the data attribute of the continuous transmission byte is added to the data to be transmitted, and for the last data byte in the data packet whose transmission flag is the transmission end indicator. , Add the data attribute of the end byte to the transmission target data, and for the data bytes other than the last data byte, add the data attribute of the continuous transmission byte to the transmission target data. The device of item 11, including.
[Item 13]
The read / write flag in the data packet is an indicator of the read operation, and the generation unit is
The address byte of the data packet is set as the transmission target data, and the data byte corresponding to the first numerical value, which is the numerical value of the length byte of the data packet transmitted by the auxiliary channel, is written to the transmission target data, and the above For the address byte of the first data packet transmitted by the auxiliary channel, the data attribute of the first byte is added to the data to be transmitted, and the data packet in the process of transmission is transmitted based on the transmission flag. The data attribute of the undetermined byte is added to the last data byte written to the target data, the data attribute of the continuous transmission byte is added to the other bytes other than the above last data byte, and the above transmission flag is added. For the data packet which is the transmission end indicator based on, the data attribute of the end byte is added to the last data byte written in the transmission target data, and the data byte other than the last data byte is added to the data byte. 11. The apparatus of item 11, comprising a second generation subsystem for adding data attributes for continuous transmission bytes.
[Item 14]
Moreover,
It is the first additional unit for adding the data attribute of the immediate stop byte to the specific data byte in the transmission target data, and the specific data byte is added as an undetermined byte in the transmission target data. The device according to item 13, which includes a first additional unit which is the next data byte.
[Item 15]
Moreover,
The apparatus according to any one of items 12 to 14, which includes a second additional unit for adding a single byte data attribute to the transmission target data with respect to the address byte of the data packet.
[Item 16]
The main control terminal, which is the main control terminal of the data bus I2C, is the main control terminal.
A main containing a main control unit for reading data that is stored in a buffer and has data attributes added, and for determining the execution progress of the next data read / write operation based on the data attributes of the data read this time. Control terminal.
[Item 17]
The data read / write operation is a write operation, and the main control unit is
The data attribute of the data read this time is recognized as the first byte, the address in the data read this time is fixed, and the data write operation executed after the address is fixed is activated, and the data is read this time. If the data attribute of the above data is recognized as a continuous transmission byte, the data read this time is written, the next data is continuously read from the above buffer, and the data attribute of the above read data is recognized as the end byte, this time. The main control terminal according to item 16, which includes a first main control subsystem for terminating a write operation.
[Item 18]
The data read / write operation is a read operation, and the main control unit is
The data attribute of the data read this time is recognized as the first byte, the address in the data read this time is confirmed, and the data reading operation executed after the address is confirmed is activated, and the data read this time is read. The data attribute of the data is recognized as a continuous transmission byte, stored in the dependent control terminal, the byte corresponding to the data read this time is read, the next data is continuously read from the buffer, and the data of the data read this time is read. The attribute is recognized as an undetermined byte, stored in the dependent control terminal, the byte corresponding to the data read this time is read, the next data is continuously read from the above buffer, and the data attribute of the data read this time is used as the end byte. The main control terminal according to item 16, which includes a second main control subsystem for recognizing, storing in a subordinate control terminal, reading a byte corresponding to the data read this time, and terminating the data reading operation.
[Item 19]
The data read / write operation is a read operation, and the main control unit is
The main control terminal according to item 16, which includes a first recognition unit for recognizing the data attribute of the data read this time as an immediate stop byte and ending the data reading operation.
[Item 20]
The above main control unit
Item 16 includes a second recognition unit for recognizing the data attribute of the data read this time as a single byte, determining the address in the data read this time, and stopping the data read / write operation. The main control terminal described.

Claims (18)

データ伝送方法であって、
補助チャンネルからデータバスI2Cのメイン制御端末に伝送されるデータパケットを取得することと、
前記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、データ属性が追加される伝送対象データを生成することと、
前記伝送対象データをバッファに記憶することと、を含み、
前記バッファは、前記伝送対象データに基づいて、前記I2Cのメイン制御端末とデータのインタラクティブを行い、前記伝送対象データにおけるデータ属性は、前記I2Cのメイン制御端末と前記バッファとの間のデータのインタラクティブの進捗を制御するために用いられる方法。
It is a data transmission method
Acquiring data packets transmitted from the auxiliary channel to the main control terminal of the data bus I2C,
To generate data to be transmitted to which data attributes are added based on the type of read / write flag and the type of transmission flag of the data packet.
Including storing the data to be transmitted in a buffer.
The buffer interacts with the I2C main control terminal based on the transmission target data, and the data attribute in the transmission target data is the interactive data between the I2C main control terminal and the buffer. The method used to control the progress of.
前記データパケットの読み取り/書き込みフラグは書き込み操作の標識であり、前記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、データ属性が追加される伝送対象データを生成することは、
前記データパケットにおけるアドレスバイトとデータバイトを前記伝送対象データとすることを含み、
前記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、前記伝送対象データには先頭バイトのデータ属性を追加し、前記伝送フラグが伝送過程であるデータパケットにおけるデータバイトに対して、前記伝送対象データには継続伝送バイトのデータ属性を追加し、前記伝送フラグが伝送終了標識であるデータパケットにおける最後のデータバイトに対して、前記伝送対象データには終了バイトのデータ属性を追加し、前記最後のデータバイト以外のデータバイトに対して、前記伝送対象データには継続伝送バイトのデータ属性を追加する請求項1に記載の方法。
The read / write flag of the data packet is a marker of a write operation, and generating transmission target data to which a data attribute is added based on the type of the read / write flag and the type of the transmission flag of the data packet can be generated.
Including making the address byte and the data byte in the data packet the data to be transmitted.
For the address byte of the first data packet transmitted by the auxiliary channel, the data attribute of the first byte is added to the data to be transmitted, and for the data byte in the data packet whose transmission flag is in the transmission process, The data attribute of the continuous transmission byte is added to the data to be transmitted, and the data attribute of the end byte is added to the data to be transmitted with respect to the last data byte in the data packet whose transmission flag is the transmission end indicator. The method according to claim 1, wherein the data attribute of the continuous transmission byte is added to the data to be transmitted with respect to the data byte other than the last data byte.
前記データパケットにおける読み取り/書き込みフラグは読み取り操作の標識であり、前記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、データ属性が追加される伝送対象データを生成することは、
前記データパケットのアドレスバイトを前記伝送対象データとするとともに、前記伝送対象データに、前記補助チャンネルにより伝送されるデータパケットの長さバイトの数値である第1数値に対応するデータバイトを書き込むことを含み、
前記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、前記伝送対象データには先頭バイトのデータ属性を追加し、伝送フラグに基づいて伝送過程中であるデータパケットに対して、前記伝送対象データに書き込まれた最後のデータバイトには、未確定バイトのデータ属性を追加し、前記最後のデータバイト以外の他のバイトに対して、継続伝送バイトのデータ属性を追加し、前記伝送フラグに基づいて伝送終了標識であるデータパケットに対して、前記伝送対象データに書き込まれた最後のデータバイトには、終了バイトのデータ属性を追加し、前記最後のデータバイト以外のデータバイトには、継続伝送バイトのデータ属性を追加する請求項1に記載の方法。
The read / write flag in the data packet is a indicator of the read operation, and generating transmission target data to which the data attribute is added based on the type of the read / write flag and the type of the transmission flag of the data packet can be generated.
The address byte of the data packet is set as the transmission target data, and the data byte corresponding to the first numerical value, which is the numerical value of the length byte of the data packet transmitted by the auxiliary channel, is written in the transmission target data. Including
For the address byte of the first data packet transmitted by the auxiliary channel, the data attribute of the first byte is added to the data to be transmitted, and for the data packet in the process of transmission based on the transmission flag, the said The data attribute of the undetermined byte is added to the last data byte written to the data to be transmitted, the data attribute of the continuous transmission byte is added to the other bytes other than the last data byte, and the transmission is performed. For the data packet that is the transmission end indicator based on the flag, the data attribute of the end byte is added to the last data byte written to the transmission target data, and the data byte other than the last data byte is added to the data byte. , The method according to claim 1, wherein the data attribute of the continuous transmission byte is added.
さらに、
前記伝送対象データにおける特定のデータバイトに対して、即時停止バイトのデータ属性を追加することを含み、前記特定のデータバイトは前記伝送対象データにおいて、未確定バイトとして追加される次のデータバイトである請求項3に記載の方法。
Moreover,
The specific data byte includes adding the data attribute of the immediate stop byte to the specific data byte in the transmission target data, and the specific data byte is the next data byte added as an indeterminate byte in the transmission target data. The method according to claim 3.
さらに、
前記データパケットのアドレスバイトに対して、前記伝送対象データに単一バイトのデータ属性を追加することを含む請求項2〜4のいずれか一項に記載の方法。
Moreover,
The method according to any one of claims 2 to 4, which comprises adding a single-byte data attribute to the transmission target data with respect to the address byte of the data packet.
データ伝送方法であって、
バッファに保存され、データ属性が追加されるデータを読み取ることと、
今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することと、を含み、
前記データの読み取り/書き込み操作は書き込み操作であり、前記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、
前記今回読み取られたデータのデータ属性を先頭バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの書き込み操作を起動させることと、
前記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、今回読み取られたデータを書き込み、前記バッファから次回のデータを引き続き読み取ることと、
前記今回読み取られたデータのデータ属性を終了バイトとして認識すれば、今回の書き込み操作を終了させることと、を含む方法。
It is a data transmission method
Reading data that is stored in a buffer and has data attributes added,
Including determining the execution progress of the next data read / write operation based on the data attributes of the data read this time,
The data read / write operation is a write operation, and determining the execution progress of the next data read / write operation based on the data attributes of the data read this time can be determined.
Recognizing the data attribute of the data read this time as the first byte, determining the address in the data read this time, and invoking the data writing operation that is executed after confirming the address.
Recognizing the data attribute of the data read this time as a continuous transmission byte, writing the data read this time, and continuing to read the next data from the buffer.
A method including terminating the current write operation if the data attribute of the data read this time is recognized as the end byte.
データ伝送方法であって、
バッファに保存され、データ属性が追加されるデータを読み取ることと、
今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することと、を含み、
前記データの読み取り/書き込み操作は読み取り操作であり、前記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、
前記今回読み取られたデータのデータ属性を先頭バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの読み取り操作を起動させることと、
前記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、前記バッファから次回のデータを引き続き読み取ることと、
前記今回読み取られたデータのデータ属性を未確定バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、前記バッファから次回のデータを引き続き読み取ることと、
前記今回読み取られたデータのデータ属性を終了バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、データの読み取り操作を終了させることと、を含む方法
It is a data transmission method
Reading data that is stored in a buffer and has data attributes added,
Including determining the execution progress of the next data read / write operation based on the data attributes of the data read this time,
The data read / write operation is a read operation, and determining the execution progress of the next data read / write operation based on the data attribute of the data read this time can be determined.
Recognizing the data attribute of the data read this time as the first byte, determining the address in the data read this time, and invoking the data reading operation that is executed after confirming the address.
The data attribute of the data read this time is recognized as a continuous transmission byte, stored in the dependent control terminal, the byte corresponding to the data read this time is read, and the next data is continuously read from the buffer.
The data attribute of the data read this time is recognized as an undetermined byte, stored in the dependent control terminal, the byte corresponding to the data read this time is read, and the next data is continuously read from the buffer.
The recognized as the end byte data attributes of the current read data is stored in the subordinate control terminal reads the bytes corresponding to the current read data, the method comprising to terminate the read operation of the data.
データ伝送方法であって、
バッファに保存され、データ属性が追加されるデータを読み取ることと、
今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することと、を含み、
前記データの読み取り/書き込み操作は読み取り操作であり、前記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、
前記今回読み取られたデータのデータ属性を即時停止バイトとして認識し、データの読み取り操作を終了させることを含む方法
It is a data transmission method
Reading data that is stored in a buffer and has data attributes added,
Including determining the execution progress of the next data read / write operation based on the data attributes of the data read this time,
The data read / write operation is a read operation, and determining the execution progress of the next data read / write operation based on the data attribute of the data read this time can be determined.
A method including recognizing the data attribute of the data read this time as an immediate stop byte and ending the data reading operation.
データ伝送方法であって、
バッファに保存され、データ属性が追加されるデータを読み取ることと、
今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することと、を含み、
前記今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定することは、
前記今回読み取られたデータのデータ属性を単一バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、データの読み取り/書き込み操作を停止することを含む方法
It is a data transmission method
Reading data that is stored in a buffer and has data attributes added,
Including determining the execution progress of the next data read / write operation based on the data attributes of the data read this time,
Determining the execution progress of the next data read / write operation based on the data attributes of the data read this time is
Which method comprises the recognizing data attributes of the current read data as a single byte, with determining the address in said current data read, to stop the read / write operations of data.
データ伝送装置であって、
補助チャンネルからデータバスI2Cのメイン制御端末に伝送されるデータパケットを取得するための取得ユニットと、
前記データパケットの読み取り/書き込みフラグのタイプ及び伝送フラグのタイプに基づいて、伝送対象データを生成するとともに、前記伝送対象データにデータ属性を追加するための生成ユニットと、
前記伝送対象データをバッファに記憶するためのバッファユニットとを含み、前記バッファは、前記伝送対象データに基づいて、前記I2Cのメイン制御端末とデータのインタラクティブを行い、前記伝送対象データにおけるデータ属性は、前記I2Cのメイン制御端末と前記バッファとの間のデータのインタラクティブの進捗を制御するために用いられる装置。
It is a data transmission device
An acquisition unit for acquiring data packets transmitted from the auxiliary channel to the main control terminal of the data bus I2C, and
A generation unit for generating data to be transmitted and adding data attributes to the data to be transmitted based on the type of read / write flag and the type of transmission flag of the data packet.
The buffer unit includes a buffer unit for storing the transmission target data in the buffer, and the buffer interacts with the main control terminal of the I2C based on the transmission target data, and the data attribute in the transmission target data is , A device used to control the interactive progress of data between the I2C main control terminal and the buffer.
前記データパケットの読み取り/書き込みフラグは書き込み操作の標識であり、前記生成ユニットは、
前記データパケットにおけるアドレスバイトとデータバイトを前記伝送対象データとし、前記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、前記伝送対象データに先頭バイトのデータ属性を追加し、前記伝送フラグが伝送過程中であるデータパケットにおけるデータバイトに対して、前記伝送対象データに継続伝送バイトのデータ属性を追加し、前記伝送フラグが伝送終了標識であるデータパケットにおける最後のデータバイトに対して、前記伝送対象データに終了バイトのデータ属性を追加し、前記最後のデータバイト以外のデータバイトに対して、前記伝送対象データに継続伝送バイトのデータ属性を追加するための第1生成サブユニットを含む、請求項10に記載の装置。
The read / write flag of the data packet is a sign of a write operation, and the generation unit is
The address byte and the data byte in the data packet are set as the transmission target data, and the data attribute of the first byte is added to the transmission target data with respect to the address byte of the first data packet transmitted by the auxiliary channel, and the transmission is performed. For the data byte in the data packet whose flag is in the process of transmission, the data attribute of the continuous transmission byte is added to the data to be transmitted, and for the last data byte in the data packet whose transmission flag is the transmission end indicator. , A first generation subsystem for adding the data attribute of the end byte to the transmission target data and adding the data attribute of the continuous transmission byte to the transmission target data for the data bytes other than the last data byte. The device according to claim 10, including.
前記データパケットにおける読み取り/書き込みフラグは読み取り操作の標識であり、前記生成ユニットは、
前記データパケットのアドレスバイトを前記伝送対象データとするとともに、前記伝送対象データに、前記補助チャンネルにより伝送されるデータパケットの長さバイトの数値である第1数値に対応するデータバイトを書き込み、前記補助チャンネルにより伝送される最初のデータパケットのアドレスバイトに対して、前記伝送対象データには先頭バイトのデータ属性を追加し、伝送フラグに基づいて伝送過程中であるデータパケットに対して、前記伝送対象データに書き込まれた最後のデータバイトには、未確定バイトのデータ属性を追加し、前記最後のデータバイト以外の他のバイトに対して、継続伝送バイトのデータ属性を追加し、前記伝送フラグに基づいて伝送終了標識であるデータパケットに対して、前記伝送対象データに書き込まれた最後のデータバイトには、終了バイトのデータ属性を追加し、前記最後のデータバイト以外のデータバイトには、継続伝送バイトのデータ属性を追加するための第2生成サブユニットを含む、請求項10に記載の装置。
The read / write flag in the data packet is an indicator of the read operation, and the generation unit is
The address byte of the data packet is set as the transmission target data, and the data byte corresponding to the first numerical value, which is the numerical value of the length byte of the data packet transmitted by the auxiliary channel, is written in the transmission target data, and the data byte is described. For the address byte of the first data packet transmitted by the auxiliary channel, the data attribute of the first byte is added to the data to be transmitted, and the transmission is performed for the data packet in the process of transmission based on the transmission flag. The data attribute of the undetermined byte is added to the last data byte written to the target data, the data attribute of the continuous transmission byte is added to the other bytes other than the last data byte, and the transmission flag is added. For the data packet which is the transmission end indicator based on, the data attribute of the end byte is added to the last data byte written in the transmission target data, and the data byte other than the last data byte is added to the data byte. The device of claim 10, comprising a second generation subsystem for adding the data attribute of the continuous transmission byte.
さらに、
前記伝送対象データにおける特定のデータバイトに対して、即時停止バイトのデータ属性を追加するための第1追加ユニットであって、前記特定のデータバイトは前記伝送対象データにおいて、未確定バイトとして追加される次のデータバイトである第1追加ユニットを含む請求項12に記載の装置。
Moreover,
It is the first additional unit for adding the data attribute of the immediate stop byte to the specific data byte in the transmission target data, and the specific data byte is added as an undetermined byte in the transmission target data. The device according to claim 12 , which includes a first additional unit which is the next data byte.
さらに、
前記データパケットのアドレスバイトに対して、前記伝送対象データに単一バイトのデータ属性を追加するための第2追加ユニットを含む請求項11〜13のいずれか一項に記載の装置。
Moreover,
The apparatus according to any one of claims 11 to 13, which includes a second additional unit for adding a single byte data attribute to the transmission target data with respect to the address byte of the data packet.
メイン制御端末であって、データバスI2Cのメイン制御端末であり、前記メイン制御端末は、
バッファに保存され、データ属性が追加されるデータを読み取るとともに、今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定するためのメイン制御ユニットを含み、
前記データの読み取り/書き込み操作は書き込み操作であり、前記メイン制御ユニットは、
前記今回読み取られたデータのデータ属性を先頭バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの書き込み操作を起動させ、前記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、今回読み取られたデータを書き込み、前記バッファから次回のデータを引き続き読み取り、前記今回読み取られたデータのデータ属性を終了バイトとして認識すれば、今回の書き込み操作を終了させるための第1メイン制御サブユニットを含むメイン制御端末。
The main control terminal is the main control terminal of the data bus I2C, and the main control terminal is
Includes a main control unit to read the data stored in the buffer and to which the data attributes are added, and to determine the execution progress of the next data read / write operation based on the data attributes of the data read this time.
The data read / write operation is a write operation, and the main control unit is
The data attribute of the data read this time is recognized as the first byte, the address in the data read this time is fixed, and the data writing operation executed after the address is fixed is activated, and the data is read this time. If the data attribute of the data is recognized as a continuous transmission byte, the data read this time is written, the next data is continuously read from the buffer, and the data attribute of the data read this time is recognized as the end byte, this time. A main control terminal that includes a first main control subsystem for terminating a write operation.
メイン制御端末であって、データバスI2Cのメイン制御端末であり、前記メイン制御端末は、
バッファに保存され、データ属性が追加されるデータを読み取るとともに、今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定するためのメイン制御ユニットを含み、
前記データの読み取り/書き込み操作は読み取り操作であり、前記メイン制御ユニットは、
前記今回読み取られたデータのデータ属性を先頭バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、アドレスを確定してから実行されるデータの読み取り操作を起動させ、前記今回読み取られたデータのデータ属性を継続伝送バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、前記バッファから次回のデータを引き続き読み取り、前記今回読み取られたデータのデータ属性を未確定バイト認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、前記バッファから次回のデータを引き続き読み取り、前記今回読み取られたデータのデータ属性を終了バイトとして認識し、従属制御端末に記憶され、今回読み取られたデータに対応するバイトを読み取り、データの読み取り操作を終了させるための第2メイン制御サブユニットを含むメイン制御端末
The main control terminal is the main control terminal of the data bus I2C, and the main control terminal is
Includes a main control unit to read the data stored in the buffer and to which the data attributes are added, and to determine the execution progress of the next data read / write operation based on the data attributes of the data read this time.
The data read / write operation is a read operation, and the main control unit is
The data attribute of the data read this time is recognized as the first byte, the address in the data read this time is fixed, and the data reading operation executed after the address is fixed is activated to read the data this time. The data attribute of the data is recognized as a continuous transmission byte, stored in the dependent control terminal, the byte corresponding to the data read this time is read, the next data is continuously read from the buffer, and the data of the data read this time is read. The attribute is recognized as an undetermined byte, stored in the dependent control terminal, the byte corresponding to the data read this time is read, the next data is continuously read from the buffer, and the data attribute of the data read this time is used as the end byte. A main control terminal that includes a second main control subsystem for recognizing, storing in a dependent control terminal, reading the bytes corresponding to the data read this time, and ending the data reading operation.
メイン制御端末であって、データバスI2Cのメイン制御端末であり、前記メイン制御端末は、
バッファに保存され、データ属性が追加されるデータを読み取るとともに、今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定するためのメイン制御ユニットを含み、
前記データの読み取り/書き込み操作は読み取り操作であり、前記メイン制御ユニットは、
前記今回読み取られたデータのデータ属性を即時停止バイトとして認識し、データの読み取り操作を終了させるための第1認識ユニットを含むメイン制御端末
The main control terminal is the main control terminal of the data bus I2C, and the main control terminal is
Includes a main control unit to read the data stored in the buffer and to which the data attributes are added, and to determine the execution progress of the next data read / write operation based on the data attributes of the data read this time.
The data read / write operation is a read operation, and the main control unit is
A main control terminal including a first recognition unit for recognizing the data attribute of the data read this time as an immediate stop byte and ending the data reading operation.
メイン制御端末であって、データバスI2Cのメイン制御端末であり、前記メイン制御端末は、
バッファに保存され、データ属性が追加されるデータを読み取るとともに、今回読み取られたデータのデータ属性に基づいて、次回のデータの読み取り/書き込み操作の実行進捗を確定するためのメイン制御ユニットを含み、
前記メイン制御ユニットは、
前記今回読み取られたデータのデータ属性を単一バイトとして認識し、前記今回読み取られたデータにおけるアドレスを確定するとともに、データの読み取り/書き込み操作を停止するための第2認識ユニットを含むメイン制御端末
The main control terminal is the main control terminal of the data bus I2C, and the main control terminal is
Includes a main control unit to read the data stored in the buffer and to which the data attributes are added, and to determine the execution progress of the next data read / write operation based on the data attributes of the data read this time.
The main control unit
A main control terminal that recognizes the data attribute of the data read this time as a single byte, determines the address in the data read this time, and includes a second recognition unit for stopping the data read / write operation. ..
JP2019184373A 2018-10-31 2019-10-07 Data transmission method, equipment and main control terminal Active JP6954576B2 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201811286048.8 2018-10-31
CN201811286048.8A CN109471814A (en) 2018-10-31 2018-10-31 A kind of method, apparatus and main control end of data transmission

Publications (2)

Publication Number Publication Date
JP2020072472A JP2020072472A (en) 2020-05-07
JP6954576B2 true JP6954576B2 (en) 2021-10-27

Family

ID=65666736

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2019184373A Active JP6954576B2 (en) 2018-10-31 2019-10-07 Data transmission method, equipment and main control terminal

Country Status (2)

Country Link
JP (1) JP6954576B2 (en)
CN (1) CN109471814A (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100416536C (en) * 2006-11-09 2008-09-03 中兴通讯股份有限公司 Bulk memory accessing method for I2C controller in 10-site addressing mode
CN101510185B (en) * 2009-04-01 2015-08-05 北京中星微电子有限公司 A kind of high-speed bus is to low speed bus write, the method and apparatus reading data
CN104346131B (en) * 2013-08-05 2017-07-04 豪威科技(上海)有限公司 A kind of host control method for supporting batch to read and write slave register
CN103685578B (en) * 2014-01-08 2017-08-04 珠海全志科技股份有限公司 The data transmission method of master-slave equipment
CN105786753A (en) * 2016-02-22 2016-07-20 上海斐讯数据通信技术有限公司 Method and device for data transmission between master and slave devices on I2C bus
CN106844245B (en) * 2017-02-17 2019-11-12 北京腾凌科技有限公司 Data transmission method and device

Also Published As

Publication number Publication date
CN109471814A (en) 2019-03-15
JP2020072472A (en) 2020-05-07

Similar Documents

Publication Publication Date Title
US8549197B2 (en) Method and system for communicating displayport information
US20140009678A1 (en) Video display apparatus, video output appartus, control methods thereof, and video display sysyem
JP2016536710A (en) Desktop cloud-based media control method and device
CN111683252B (en) Server and output system and method of video compression image
US20170026684A1 (en) Communications between a peripheral system and a host device in efficient event-based synchronization of media transfer for real-time display rendering
DE69935940T2 (en) Destination node, data communication system, control method of a destination node, and method of operating a data communication system
WO2018233539A1 (en) Video processing method, computer storage medium, and device
JP2017151934A (en) Programmable controller, control method of programmable controller, and control program for programmable controller
CN103152606A (en) Video file processing method, device and system
US7194548B1 (en) Data transmission apparatus, receiving apparatus, and sending apparatus
JP6954576B2 (en) Data transmission method, equipment and main control terminal
US20080005429A1 (en) Using operation codes to control a decoder's use of a buffer to generate data from an input data stream into an output data stream
JP2000207234A (en) Communication system
CN104469405A (en) FC-AV communication control method
CN115567754A (en) Video playing method, device, equipment and storage medium
CN109067885B (en) Drawing line synchronization system and method
JP3648996B2 (en) FA system
CN110650365A (en) Media file seamless switching playing method and system
JP2016116178A (en) Communication device and communication method
CN112711436B (en) Message processing method and device
CN103701830B (en) A kind of data that realize process and mutual method and system
CN112352403B (en) Apparatus for buffered transmission of data
JP2001103116A (en) Stream generator
JPWO2004068803A1 (en) PATH SETTING METHOD, TRANSMISSION DEVICE USING SAME, MONITORING CONTROL DEVICE, AND RECORDING MEDIUM CONTAINING THE PROGRAM
JP6480163B2 (en) Routing table setting device and routing table setting method

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20191007

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20200814

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20200825

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20210427

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210719

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20210831

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20210921

R150 Certificate of patent or registration of utility model

Ref document number: 6954576

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150