WO2006011193A1 - Data transmitting apparatus - Google Patents
Data transmitting apparatus Download PDFInfo
- Publication number
- WO2006011193A1 WO2006011193A1 PCT/JP2004/010634 JP2004010634W WO2006011193A1 WO 2006011193 A1 WO2006011193 A1 WO 2006011193A1 JP 2004010634 W JP2004010634 W JP 2004010634W WO 2006011193 A1 WO2006011193 A1 WO 2006011193A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- data
- frame
- scheduling
- connection
- transmission
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L47/00—Traffic control in data switching networks
- H04L47/50—Queue scheduling
Definitions
- the present invention relates to a data transmission apparatus that performs data transfer in consideration of a frame of an upper protocol, and more specifically, while maintaining fairness of data transmission in each connection,
- the present invention relates to a data transmission device that can shorten the transmission time of the network.
- a conventional communication device on the data transmission side (hereinafter referred to as a data transmission device) will be described.
- a data transmission device For example, when transmitting and receiving data between communication devices, it has been pointed out that communication quality deteriorates due to an increase in transfer delay time.To reduce this transfer delay time, various solutions have been developed by devising transmission methods. A method has been proposed.
- a high-priority buffer for real-time packets and a low-priority buffer for non-real-time packets are used to shorten the packet transfer delay time for which real-time performance is required. And the corresponding packets are stored in each. For example, non-real-time packets are divided and transmitted so that the transmission path is not occupied for a long time, thereby reducing the transfer delay time of real-time packets (high priority data).
- Patent Document 1 Japanese Patent Laid-Open No. 2002-158702 FIG. 1
- connection power (# 1 1 #n)
- a transmission queue for each connection is provided in the data transmission device, and several transfer packets are provided for all connections.
- the frame data of the upper protocol of each connection is divided into three and three packets (A, B, C) are generated.
- connection # 1 it is necessary to wait for the time required for output for the number of connections from the output of the first packet A1 composing a single frame to the output of B1 of the next packet. That is, if three packets of connection # 1, Al, Bl, and C1, constitute one frame of the upper protocol, 2n pieces of data are required to complete transmission of one frame of the upper protocol of connection # 1. A waiting time equivalent to the time required for packet output is required.
- the upper protocol frame does not make sense as data unless all the data reaches the receiving side. For example, even if only a part of the upper protocol frame arrives, If the data does not reach the receiving side, all frame data of the higher-level protocol will be discarded. Therefore, in the data transmission device, for example, considering the worst condition such as when the transmission path is at a low rate, when the number of users is large, or when data transfer is postponed by the transfer of best-f auto data, Data transmission must be scheduled so that it is not discarded by the receiving device.
- the present invention has been made in view of the above, and even when there are many connections, the transfer time for each frame of the upper protocol is shortened while maintaining the fairness of each connection, and the frame unit
- the purpose of the present invention is to provide a data transmission device capable of improving the reception probability of data.
- the data transmission apparatus performs data transmission on a frame basis while maintaining fairness of output in a plurality of connections.
- a data transmission device that divides data on a frame into a predetermined size for each connection, writes the divided data at a specified position in a transmission buffer common to all connections, and simultaneously determines the type of divided data ( Frame dividing means (corresponding to a frame dividing section 11 in the embodiment described later) for generating frame information including the head, continuation, and final) and data reading means (data reading) for reading divided data at a specified position from the transmission buffer And the first divided data constituting the frame of the specific connection is selected by round robin.
- scheduling means (corresponding to the scheduler unit 17) that performs scheduling in units of frames so that the output of the frame is prioritized up to the final divided data constituting the same frame, and data writing to the transmission buffer
- a buffer that manages the position, data read position, and free space, designates the write position for the frame dividing means, and further designates the read position for the data read means according to the determination by the scheduling means
- a management means (corresponding to the buffer management unit 18).
- each frame is scheduled so as to give priority to output of divided data constituting the frame. While maintaining the fairness of the data output in the connection, the transmission time of each frame can be shortened.
- FIG. 1 is a diagram showing a configuration of a first embodiment of a data transmission device according to the present invention.
- FIG. 2 is a diagram showing an outline of operation of the data transmitting apparatus.
- FIG. 3 is a diagram showing how to use a penalty.
- FIG. 4 is a diagram for explaining processing when a frame of a specific connection is longer than a predetermined reference.
- FIG. 5 is a diagram for explaining processing when a plurality of connections are stopped in the middle of frame output.
- FIG. 6 is a diagram for explaining processing when the penalty count and the number of transmitted packets of the frame are the same.
- Fig. 7 is a diagram for explaining how data is handled when a buffer overflow occurs.
- FIG. 8 is a diagram showing the configuration of the second embodiment of the data transmitting apparatus according to the present invention.
- FIG. 9 is a diagram showing the configuration of the third embodiment of the data transmitting apparatus according to the present invention. Is
- FIG. 10 is a diagram showing a configuration of a data transmitting apparatus according to a fourth embodiment of the present invention.
- FIG. 11 is a diagram showing a configuration of a fifth embodiment of a data transmitting apparatus useful for the present invention.
- FIG. 12 is a diagram showing a configuration of a data transmitting apparatus according to a sixth embodiment of the present invention.
- FIG. 1 is a diagram showing the configuration of the first embodiment of the data transmitting apparatus according to the present invention.
- the data transmitting apparatus 1 of the first embodiment divides a frame of a plurality of connections and transmits the divided data.
- Frame division unit 11 to be written to buffer
- common transmission buffer unit 12 for all connections
- data reading unit 13 for reading transmission buffer data of the designated connection
- the packet assembly unit 14 that assembles the packet as a packet, the packet transmission unit 15 that transmits the packet to the transmission path, the scheduling information storage unit 16 that stores information (frame information) necessary for scheduling, and the transmission
- the scheduler unit 17 that determines the output order of packets (data) to be transmitted and the transmission buffer unit 12 common to all connections are logically connected.
- the buffer that manages the read address, write address, and empty position address of each connection and controls the writing and reading by the frame dividing unit 11 and the data reading unit 13 so that each connection can be regarded as an independent buffer.
- a management unit 18 The frame information identifies, for example, the number of frame divisions and frame priority. Frame type, data length of the divided data and serial number at the time of division (or the remaining data length in the frame), information on whether the data is the final divided data of the frame (or the beginning, continuation, and end information) Contains information.
- the scheduling information storage unit 16 includes, for example, a transmission buffer address (data write position), penalty information, an upper limit on the number of data that can be continuously output, Information necessary for the scheduler unit 17 and the buffer management unit 18 such as the number of transmission data is also accumulated.
- FIG. 2 is a diagram showing an outline of the operation of the data transmission apparatus.
- the upper protocol frame of connection # 1 is divided into three (data A1, data B1, data C1) (processing of frame divider 11). Furthermore, it is assumed that a packet (packet Al, packet Bl, packet C1) corresponding to each data is generated by attaching a packet header to each (processing of the packet assembly unit 14). Also, the top data of the frame is (H), the continuous data of the frame is (C), the final data of the frame is (T), and information on these divided data is held in the scheduling information storage unit 16 as frame information. .
- the data is held in a buffer having a logical queue configuration of the divided data power connection # 1.
- the buffer management unit 18 designates a write address for the frame division unit 11, and further designates a read address for the data reading unit 13 based on the determination of the scheduler unit 17. This is logically equivalent to configuring a queue for each connection.
- a threshold value is not set for each connection, and if a large amount of data is written to a specific connection, the amount of data that can be written to other connections will decrease. Become.
- connection # 1 data Al 1, Bl 1, and C 1 are held in logically configured buffer 12_1 of connection # 1. Will be.
- Other connections # 2 Connection # n buffer 12-2 In 1-n, the data divided in the same way is retained.
- the scheduler unit 17 of the present embodiment starts a data transmission scheduling operation.
- the scheduler unit 17 of this embodiment determines a connection to be selected by the round robin method when all the connections have the same condition.
- connection # 1 when round robin is started from connection # 1, the scheduler unit 17 first selects data A1 (H) and performs control for outputting the data (control to the buffer management unit 18). ). Next, the scheduler unit 17 selects the data B1 (C) of the connection # 1 and gives control to output the data in order to prioritize the output in units of frames. At this time, if it is a normal round robin, the data A2 of the connection # 2 should be selected. Therefore, the scheduler unit 17 maintains the fairness between the connections. A penalty is assigned and the count of the penalty is held in the scheduling information storage unit 16.
- the scheduler unit 17 selects the data C1 (T) of the connection # 1 as data to be output next. At this time, if it is a normal round robin, the data A3 of the connection # 3 should be selected. Therefore, in order to maintain the fairness between the connections, the scheduler unit 17 changes the connection # 1 to the connection # 3. A penalty is assigned and the count of the penalty is held in the scheduling information storage unit 16.
- FIG. 3 is a diagram showing Penanoleti's method for ⁇ IJ.
- FIG. 3 shows a case where the divided data is accumulated in the buffer (12-1-12-n) of each connection so that the top data of the frame will be the next output. Also, it is assumed that connection # 1 has a penalty for connection # 2 (1 count).
- connection # 1 is Since there is a penalty for connection # 2, first check whether there is data available for connection # 2 before selecting data for connection # 1.
- Connection # 2 has data A2 (H) that can be output. Therefore, the scheduler unit 17 selects data A2 (H) and performs control for outputting the data.
- the penalty count for connection # 2 that existed in connection # 1 is decremented by one to eliminate the penalty.
- scheduler unit 17 selects data B2 (C) of connection # 2, and performs control for outputting the data.
- Connection # 2 is then penalized (1 count) for connection # 3, which would have been selected in the normal round robin. Thereafter, the scheduler unit 17 performs control for outputting the data in the buffer while repeating the addition and subtraction of the penalty in the same manner as described above.
- FIG. 4 is a diagram for explaining the processing when the frame of a specific connection is longer than a predetermined reference, and this processing avoids a situation where a specific connection occupies output for a long time. To do.
- the output frame is longer than a specific reference (predetermined length)
- the data constituting the frame of one connection is preferentially output from the buffer.
- a specific connection occupies the output for a long time, and there is a concern that the frame output of other connections will be suppressed for a long time. Therefore, in the present embodiment, for example, an upper limit is set for the number of packets that can be continuously output for one frame, that is, the number of data that can be continuously selected, for the scheduling information storage unit 16. .
- FIG. 4 shows the case where the output of connection # 2 is stopped while the last one packet (data A2 (T)) is left due to the above limit while outputting the data of the frame of connection # 2. is doing.
- the frame output of connection # 2 has not been completed, but the scheduler unit 17 stops scheduling in units of frames based on the upper limit set in the scheduling information storage unit 16, and the normal round In Robin, select data A3 (H) of connection # 3 and perform control to output data A3 (H).
- the scheduling unit 17 stops scheduling in units of frames as described above, the scheduling information storage unit 16 holds the number of transmission data in the frame of the connection.
- this upper limit for example, real-time performance is required and flexibility is set. For a frame whose frame length is shorter than a predetermined reference, it is possible to perform operations such as “not dividing”.
- FIG. 5 is a diagram for explaining processing when a plurality of connections are stopped during frame output. Note that FIG. 5 shows processing when connection # 1 and connection # 2 are stopped in the middle of frame output and a series of round-robin output scheduling operations are completed due to the above upper limit.
- connection # 2 there are multiple connections whose data output is stopped in the middle of the frame.
- Select a connection with a large amount of data sent to For example, the direction of connection # 2 over connection # 1
- scheduler unit 17 selects connection # 2, data A2 (C), and then data B2.
- the scheduler unit 17 selects connection # 1, which is also in the middle of frame output, and performs control to output data A1 (T). Even in such processing, penalty addition / subtraction is performed in the same manner as described above.
- FIG. 6 is a diagram for explaining processing when the penalty count and the number of transmitted packets of the frame are the same.
- the scheduler unit 17 considers the characteristics of the frame, and selects a connection so that priority is given to the output of a frame that requires more renotime characteristics. For example, if the frame in the middle of output of connection # 1 is a frame that transfers non-realtime data, and the frame in the middle of output of connection # 2 is a frame that transfers real-time data, the scheduler unit 17 preferentially selects data A2 (C) of connection # 2 and performs control to output the data.
- the schedule Yuri The scheduling information storage unit 16 retains the frame characteristics necessary for encoding.
- FIG. 7 is a diagram for explaining how to handle data when a buffer overflow occurs.
- the transmission buffer unit 12 common to all connections is logically managed for each connection. Physically, the transmission buffer unit 12 is written in a single buffer. 18 is managed logically by connection. In FIG. 7, for simplification, the number of data that can be recorded in the transmission buffer 12 common to all connections is six. For example, data A1 (C) and data Bl (C) of the frame in the middle of output of connection # 1 The data A2 (C), data B2 (T), and the data A3 (H), data B3 (T) of the untransmitted frame of connection # 3 are saved and all connections are saved. Assume that there is no more free space in the common transmission buffer unit 12 where other data can be written.
- connection # 1 In this state, if further continuation data (C) of connection # 1 arrives, normally all newly connected data cannot be written in all connection common transmission buffer section 12. Therefore, in the frame division unit 11 of the present embodiment, in order to prioritize transfer in units of frames, the data already written in the buffer is searched for data with a low priority, for example, best-fault data. If such data exists, the data is discarded in units of frames, and newly arrived output data is written in the discarded empty area.
- a low priority for example, best-fault data.
- connection # 3 For example, if the frame data of connection # 3 is best-f-auto data, data A3 (H) and data B3 (T) of connection # 3 are discarded from the transmission buffer unit 12 common to all connections. The frame division unit 11 writes the data C1 (C) of connection # 1 in this empty area.
- the frame assembly is completed in a short time in the data receiving apparatus that is the communication counterpart, reception for waiting for data until all the packets constituting the frame arrive.
- the amount of data remaining in the buffer can be reduced. Therefore, when the reception buffer is configured as a common buffer for each connection, the amount of reception buffer can be significantly reduced.
- the common transmission buffer unit 12 for all connections employs a method in which a single buffer is shared by each connection.
- the transmission buffer power is physically separated in connection units.
- FIG. 8 is a diagram showing the configuration of the second embodiment of the data transmitting apparatus according to the present invention.
- the data transmitting apparatus la of the second embodiment divides a frame of multiple connections, and A frame division unit 11a that writes data to a connection-specific transmission buffer and a connection
- the frame dividing unit 11a that has received the frame data of each connection divides the frame.
- the divided data is written to the connection # 1 transmission buffer unit 21a_l—connection #n transmission buffer unit 21a_n provided for each connection.
- the operation of the scheduler unit 17a is basically the same as that of the scheduler unit 17 of the first embodiment described above.
- the scheduler unit 17a of the present embodiment is different from the scheduler unit 17 described above in the process of instructing the data reading unit 13a of the data reading order of the selected connection.
- the connection with the frame data of the best buffer of the common buffer is used. However, in this embodiment, since the buffer is managed individually, this processing is not performed.
- the data transmission device includes an individual transmission buffer for each connection. As a result, it is possible to obtain the same effects as those of the first embodiment described above without being affected by the frame data of other connections.
- connection-specific transmission buffer is provided, for example, when a buffer overflow occurs during frame transmission and continuous data is input during frame transmission, As you can see, no data is being discarded on a frame-by-frame basis. Therefore, in this embodiment, the discard processing of data in units of frames is applied to a configuration including a connection-specific transmission buffer.
- FIG. 9 is a diagram showing the configuration of the third embodiment of the data transmitting apparatus according to the present invention.
- the data transmitting apparatus lb of the third embodiment includes a frame dividing unit l ib and a connection # 1 transmission. Buffer section 21b_l, connection # 2 transmission buffer section 21b-2,..., Connection #n transmission buffer section 21b_n, and buffer threshold value excess detection section 31b. Note that the same components as those in the first or second embodiment described above are denoted by the same reference numerals and description thereof is omitted.
- the frame division unit l ib writes the divided data to the connection # 1 transmission buffer unit 21b_l—connection #n transmission buffer unit 21b_n provided for each connection in the same process as the frame division unit 11a described above. .
- Connection # 1 transmission buffer unit 21b_l connection #n transmission buffer unit 21b_n
- the data storage amount is notified to the buffer threshold excess detection unit 31b.
- the buffer threshold value excess detection unit 31b holds a buffer threshold value for each connection in advance, and monitors whether each buffer unit exceeds the threshold value. For example, if there is a connection that exceeds the threshold value, the buffer threshold value excess detection unit 31b notifies the frame division unit l ib to that effect. Then, the frame dividing unit l ib discards data in units of frames when a frame arrives without performing frame division of the corresponding connection during the period in which the threshold value is continuously exceeded.
- the amount of data is monitored in units of buffer units so that the buffer unit for each connection does not hold data exceeding the threshold, and for example, exceeds the threshold value. In this case, all data of the corresponding frame is discarded. As a result, the same effects as those of the second embodiment can be obtained, and the reception probability of data in units of frames can be further improved.
- connection-specific transmission buffers In the present embodiment, the case of providing connection-specific transmission buffers has been described. However, the present invention is not limited to this, and a common buffer for all connections as in Embodiment 1 is provided, which is logically This can also be applied to the case where a separate transmission buffer is configured for each connection.
- the reception probability of data in units of frames is improved by processing different from that in the third embodiment.
- FIG. 10 is a diagram showing a configuration of the data transmitting apparatus according to the fourth embodiment of the present invention.
- the data transmitting apparatus lc of the fourth embodiment includes a connection # 1 transmission buffer unit 21c-1 and a connection. # 2 Transmission buffer section 21c_2, ..., connection # n Transmission buffer section 21c—n and previous
- a scheduler unit 17c that prioritizes the output of the frame when the buffer unit exceeds a predetermined data storage amount is provided. Note that the same reference numerals are given to the same configurations as those in the first, second, or third embodiment, and the description thereof is omitted.
- connection # 1 transmission buffer unit 21c one connection #n transmission buffer unit 21c-n determines whether or not data exceeds the buffer threshold for each connection. Monitor autonomously. When there is a connection that exceeds the threshold, each buffer unit notifies the scheduler unit 17c to that effect.
- scheduler unit 17c When the scheduler unit 17c receives information indicating that the threshold value has been exceeded, scheduling is performed with priority given to output of frame data of the corresponding connection.
- the buffer unit for each connection exceeds a predetermined data accumulation amount, scheduling is performed so that the data of the corresponding frame is preferentially transmitted. I decided to do it. As a result, the same effects as in the second embodiment can be obtained, and the reception probability of data in units of frames can be further improved.
- the transmission buffer for each connection has been described.
- the present invention is not limited to this, and a common buffer for all connections as in the first embodiment is provided to logically. This can also be applied to the case where a separate transmission buffer is configured for each connection.
- Embodiment 1 and Embodiment 4 a separate transmission buffer (physically or logically) is provided for each connection.
- a single transmission buffer is provided for each connection. For example, a case will be described in which the data of each connection is stored in a plurality of transmission buffers according to type.
- FIG. 11 is a diagram showing the configuration of the data transmitting apparatus according to the fifth embodiment of the present invention.
- the data transmitting apparatus Id according to the fifth embodiment includes a frame dividing unit id and a connection # 1 high priority.
- a scheduler unit 17d that prioritizes the output of frames with high priority is provided.
- the priority for each frame type (corresponding to the data type) is registered in advance in the frame division unit id for each connection, and the frame division unit id receives the frame.
- the divided data is written in the corresponding buffer according to the registered priority.
- information for each buffer (information on priority) is written to the scheduling information storage unit 16d.
- the scheduler unit 17d schedules the output data in consideration of the priority of each connection held in the scheduling information storage unit 16d. Except for the processing that prioritizes the output of a frame with a high priority, the processing is the same as in the first, second, third, or fourth embodiments.
- the frame data of each connection is classified as a type.
- Embodiment 1 and Embodiment 5 the data after dividing the frame is written in each transmission buffer.
- Embodiment 6 the frame itself before dividing the frame is stored in each frame. A case will be described in which a packet is assembled by dividing it after writing to the transmission buffer and reading a frame from each transmission buffer.
- FIG. 12 is a diagram showing the configuration of the sixth embodiment of the data transmitting apparatus according to the present invention.
- the data transmitting apparatus le of the sixth embodiment includes a connection # 1 transmission buffer unit 21e-1 and a connection.
- # 2 Transmission buffer section 21e_2, ..., connection # n Transmission buffer section 21e_n A frame division unit l ie and a buffer management unit 41e.
- the buffer management unit 41e assumes the frame information. Is written to the scheduling information storage unit 16.
- the frame dividing unit ie reads out the frame from each transmission buffer based on the scheduling by the scheduler unit 17a, divides and outputs the frame.
- the data transmission device is useful as a communication device that constitutes a communication system that performs data transfer in consideration of higher-order protocol frames, and particularly handles frames of a plurality of connections. Suitable for communication devices.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
Description
明 細 書 Specification
データ送信装置 Data transmission device
技術分野 Technical field
[0001] この発明は、上位プロトコルのフレームを意識したデータ転送を行うデータ送信装 置に関するものであり、詳細には、各コネクションにおけるデータ送信の公平性を維 持しながら、上位プロトコルのフレーム単位の送信時間を短縮可能なデータ送信装 置に関するものである。 TECHNICAL FIELD [0001] The present invention relates to a data transmission apparatus that performs data transfer in consideration of a frame of an upper protocol, and more specifically, while maintaining fairness of data transmission in each connection, The present invention relates to a data transmission device that can shorten the transmission time of the network.
背景技術 Background art
[0002] 以下、従来のデータ送信側の通信装置 (以降、データ送信装置と呼ぶ)について 説明する。たとえば、通信装置間でデータを送受信する場合、転送遅延時間の増大 により、通信品質が劣化することが指摘されており、この転送遅延時間を短縮するた めに、送信方式の工夫によるさまざまな解決方法が提案されている。 Hereinafter, a conventional communication device on the data transmission side (hereinafter referred to as a data transmission device) will be described. For example, when transmitting and receiving data between communication devices, it has been pointed out that communication quality deteriorates due to an increase in transfer delay time.To reduce this transfer delay time, various solutions have been developed by devising transmission methods. A method has been proposed.
[0003] 具体的に、従来のデータ送信装置においては、リアルタイム性が要求されるバケツ トの転送遅延時間を短くするために、リアルタイムパケット用の高優先バッファと非リア ルタイムパケット用の低優先バッファとを設け、該当するパケットをそれぞれに蓄積す る。そして、たとえば、非リアルタイムパケットについては、分割して送信し、伝送路を 長時間にわたって占有することがないようにすることによって、リアルタイムパケット(高 優先データ)の転送遅延時間を抑えている。 [0003] Specifically, in a conventional data transmission apparatus, a high-priority buffer for real-time packets and a low-priority buffer for non-real-time packets are used to shorten the packet transfer delay time for which real-time performance is required. And the corresponding packets are stored in each. For example, non-real-time packets are divided and transmitted so that the transmission path is not occupied for a long time, thereby reducing the transfer delay time of real-time packets (high priority data).
[0004] ただし、この方法では、非リアルタイムパケットが常時分割されるので、リアルタイム パケットが存在しない場合に、非リアルタイムパケットの転送効率が下がってしまう、と レ、う問題があった。そこで、下記特許文献 1においては、この問題の解決のために、リ アルタイムパケットのコネクションが設定されていないときには非リアルタイムパケット の分割を行わなレ、ことで、非リアルタイムパケットの転送効率を上げてレ、る。 [0004] However, this method has a problem in that non-real-time packets are always divided, so that when there is no real-time packet, the transfer efficiency of non-real-time packets is reduced. Therefore, in Patent Document 1 below, in order to solve this problem, non-real-time packet transfer efficiency is improved by not dividing non-real-time packets when a real-time packet connection is not set. I'm going.
[0005] 特許文献 1 :特開 2002 - 158702号公報 第 1図 Patent Document 1: Japanese Patent Laid-Open No. 2002-158702 FIG. 1
発明の開示 Disclosure of the invention
発明が解決しょうとする課題 Problems to be solved by the invention
[0006] し力しながら、上記特許文献 1に記載の方法を用いても、コネクションが多い場合は 、それぞれのコネクションの転送の公平性を維持しながら、各コネクションのフレーム 単位の転送遅延時間を短くすることが困難である。すなわち、従来のデータ送信装 置においては、コネクションが多い場合、各コネクションの公平性を保ちながらデータ 送信を行うと、フレームの転送開始からそのフレームの転送終了までの時間が長くな つてしまう、という問題があった。 However, even if the method described in Patent Document 1 is used, there are many connections. It is difficult to reduce the frame-by-frame transfer delay time of each connection while maintaining fairness of transfer of each connection. In other words, in the conventional data transmission device, if there are many connections, if data transmission is performed while maintaining the fairness of each connection, the time from the start of frame transfer to the end of transfer of the frame becomes longer. There was a problem.
[0007] 具体的には、たとえば、コネクション力 個(# 1一 # n)存在し、データ送信装置の 内部に、それぞれのコネクションの送信キューが設けられ、全コネクションに数個の転 送パケットが蓄積されている場合を考える。また、各コネクションの上位プロトコルのフ レームデータが 3個に分割され、 3個のパケット (A, B, C)が生成される場合を想定 する。 [0007] Specifically, for example, there are connection power (# 1 1 #n), a transmission queue for each connection is provided in the data transmission device, and several transfer packets are provided for all connections. Consider the case of accumulation. It is also assumed that the frame data of the upper protocol of each connection is divided into three and three packets (A, B, C) are generated.
[0008] 一般に、各コネクションにデータ送信の機会を公平に与える場合は、ラウンドロビン 方式が採用される。このとき、コネクション # 1では、単一フレームを構成する最初の パケット A1の出力から次のパケットの B1を出力するまでに、コネクション数分の出力 にかかる時間だけ待つ必要がある。すなわち、コネクション # 1の Al , Bl , C1の 3パ ケットが上位プロトコルの 1フレームを構成している場合は、コネクション # 1の上位プ ロトコルの 1フレームの送信を完了するまでに、 2n個のパケットの出力にかかる時間 分の待ち時間が必要となる。 [0008] Generally, when a data transmission opportunity is given fairly to each connection, a round robin method is adopted. At this time, in connection # 1, it is necessary to wait for the time required for output for the number of connections from the output of the first packet A1 composing a single frame to the output of B1 of the next packet. That is, if three packets of connection # 1, Al, Bl, and C1, constitute one frame of the upper protocol, 2n pieces of data are required to complete transmission of one frame of the upper protocol of connection # 1. A waiting time equivalent to the time required for packet output is required.
[0009] 一方で、上位プロトコルのフレームは、その全データが受信側に到達しなければ、 データとして意味をなさず、たとえば、上位プロトコルのフレームの一部だけが到達し ても、その後半のデータが受信側に到達しなければ、その上位プロトコルのフレーム データの全てが廃棄されることとなる。したがって、データ送信装置では、たとえば、 伝送路が低レートである場合や、ユーザ数が多い場合や、ベストエフオートデータの 転送でデータ転送が後回しになった場合、などの最悪条件を考慮し、受信側装置で 廃棄されないようにデータ送信のスケジューリングを行わなければならない。 [0009] On the other hand, the upper protocol frame does not make sense as data unless all the data reaches the receiving side. For example, even if only a part of the upper protocol frame arrives, If the data does not reach the receiving side, all frame data of the higher-level protocol will be discarded. Therefore, in the data transmission device, for example, considering the worst condition such as when the transmission path is at a low rate, when the number of users is large, or when data transfer is postponed by the transfer of best-f auto data, Data transmission must be scheduled so that it is not discarded by the receiving device.
[0010] 本発明は、上記に鑑みてなされたものであって、コネクションが多い場合であっても 、各コネクションの公平性を保ちながら、上位プロトコルのフレーム単位の転送時間を 短縮させ、フレーム単位のデータの受信確率を向上させることが可能なデータ送信 装置を提供することを目的としてレ、る。 課題を解決するための手段 [0010] The present invention has been made in view of the above, and even when there are many connections, the transfer time for each frame of the upper protocol is shortened while maintaining the fairness of each connection, and the frame unit The purpose of the present invention is to provide a data transmission device capable of improving the reception probability of data. Means for solving the problem
[0011] 上述した課題を解決し、 目的を達成するために、本発明にかかるデータ送信装置 にあっては、複数のコネクションにおける出力の公平性を維持しつつ、フレーム単位 を基本としたデータ送信を行うデータ送信装置であって、フレーム上のデータをコネ クシヨン毎に所定のサイズに分割し、全コネクションで共通の送信バッファの指定位 置に当該分割データを書き込むと同時に、分割データの種別 (先頭、継続、最終)を 含むフレーム情報を生成するフレーム分割手段(後述する実施の形態のフレーム分 割部 11に相当)と、前記送信バッファから指定位置の分割データを読み出すデータ 読み出し手段(データ読み出し部 13に相当)と、ラウンドロビンにより特定コネクション のフレームを構成する前記先頭の分割データを選択した場合、その後、同一フレー ムを構成する前記最終の分割データまで、そのフレームの出力を優先するように、フ レーム単位のスケジューリングを行うスケジューリング手段 (スケジューラ部 17に相当 )と、前記送信バッファに対するデータ書き込み位置、データ読み出し位置、空き領 域の管理を行い、前記フレーム分割手段に対して書き込み位置を指定し、さらに、前 記スケジューリング手段による決定に従って前記データ読み出し手段に対して読み 出し位置を指定するバッファ管理手段 (バッファ管理部 18に相当)と、を備えることを 特徴とする。 In order to solve the above-described problems and achieve the object, the data transmission apparatus according to the present invention performs data transmission on a frame basis while maintaining fairness of output in a plurality of connections. A data transmission device that divides data on a frame into a predetermined size for each connection, writes the divided data at a specified position in a transmission buffer common to all connections, and simultaneously determines the type of divided data ( Frame dividing means (corresponding to a frame dividing section 11 in the embodiment described later) for generating frame information including the head, continuation, and final) and data reading means (data reading) for reading divided data at a specified position from the transmission buffer And the first divided data constituting the frame of the specific connection is selected by round robin. Thereafter, scheduling means (corresponding to the scheduler unit 17) that performs scheduling in units of frames so that the output of the frame is prioritized up to the final divided data constituting the same frame, and data writing to the transmission buffer A buffer that manages the position, data read position, and free space, designates the write position for the frame dividing means, and further designates the read position for the data read means according to the determination by the scheduling means And a management means (corresponding to the buffer management unit 18).
発明の効果 The invention's effect
[0012] 本発明においては、たとえば、ラウンドロビンにより特定コネクションのフレームの分 割データを選択した場合、そのフレームを構成する分割データの出力を優先するよう にフレーム単位のスケジューリングを行うことにより、各コネクションにおけるデータ出 力の公平性を維持しながら、フレーム単位の送信時間を短縮することができる、という 効果を奏する。 [0012] In the present invention, for example, when divided data of a frame of a specific connection is selected by round robin, each frame is scheduled so as to give priority to output of divided data constituting the frame. While maintaining the fairness of the data output in the connection, the transmission time of each frame can be shortened.
図面の簡単な説明 Brief Description of Drawings
[0013] [図 1]図 1は、本発明にかかるデータ送信装置の実施の形態 1の構成を示す図である FIG. 1 is a diagram showing a configuration of a first embodiment of a data transmission device according to the present invention.
[図 2]図 2は、データ送信装置の動作概要を示す図である。 FIG. 2 is a diagram showing an outline of operation of the data transmitting apparatus.
[図 3]図 3は、ペナルティの利用方法を示す図である。 [図 4]図 4は、特定のコネクションのフレームが所定の基準よりも長い場合の処理を説 明するための図である。 FIG. 3 is a diagram showing how to use a penalty. [FIG. 4] FIG. 4 is a diagram for explaining processing when a frame of a specific connection is longer than a predetermined reference.
[図 5]図 5は、複数のコネクションがフレームの出力途中で停止している場合の処理を 説明するための図である。 FIG. 5 is a diagram for explaining processing when a plurality of connections are stopped in the middle of frame output.
[図 6]図 6は、ペナルティのカウント数,フレームの送信済みパケット数が同一である場 合の処理を説明するための図である。 [FIG. 6] FIG. 6 is a diagram for explaining processing when the penalty count and the number of transmitted packets of the frame are the same.
園 7]図 7は、バッファオーバーフローが発生した場合のデータの扱いを説明するた めの図である。 7] Fig. 7 is a diagram for explaining how data is handled when a buffer overflow occurs.
園 8]図 8は、本発明にかかるデータ送信装置の実施の形態 2の構成を示す図である 園 9]図 9は、本発明にかかるデータ送信装置の実施の形態 3の構成を示す図である 8] FIG. 8 is a diagram showing the configuration of the second embodiment of the data transmitting apparatus according to the present invention. 9] FIG. 9 is a diagram showing the configuration of the third embodiment of the data transmitting apparatus according to the present invention. Is
[図 10]図 10は、本発明にかかるデータ送信装置の実施の形態 4の構成を示す図で ある。 FIG. 10 is a diagram showing a configuration of a data transmitting apparatus according to a fourth embodiment of the present invention.
園 11]図 11は、本発明に力かるデータ送信装置の実施の形態 5の構成を示す図で ある。 11] FIG. 11 is a diagram showing a configuration of a fifth embodiment of a data transmitting apparatus useful for the present invention.
[図 12]図 12は、本発明にかかるデータ送信装置の実施の形態 6の構成を示す図で ある。 FIG. 12 is a diagram showing a configuration of a data transmitting apparatus according to a sixth embodiment of the present invention.
符号の説明 Explanation of symbols
1, la, lb, lc, Id, le データ送信装置 1, la, lb, lc, Id, le Data transmitter
11 , 11a, l ib, l id, l ie フレーム分割部 11, 11a, l ib, l id, l ie Frame division
12 全コネクション共通送信バッファ部 12 Common transmission buffer for all connections
13, 13a データ読み出し部 13, 13a Data reading part
14 パケット組み立て部 14 Packet assembly unit
15 パケット送信部 15 Packet transmitter
16, 16d スケジューリング情報蓄積部 16, 16d Scheduling information storage unit
17, 17a, 17c, 17d スケジューラ部 17, 17a, 17c, 17d Scheduler part
18 バッファ管理部 21a-l , 21b-l , 21c-l , 21e— 1 コネクション # 1送信バッファ部18 Buffer manager 21a-l, 21b-l, 21c-l, 21e— 1 connection # 1 transmission buffer
21a— 2, 21b— 2, 21c— 2, 21e-2 コネクション # 2送信ノ ッファ咅 B 21a— 2, 21b— 2, 21c— 2, 21e-2 Connection # 2 Sending buffer B
21a-n, 21b-n, 21c_n, 21e_n コネクション # n送信バッファ部 21a-n, 21b-n, 21c_n, 21e_n connection #n transmission buffer
21d-l-l コネクション # 1高優先バッファ部 21d-l-l connection # 1 high priority buffer
21d-l-2 コネクション # 1低優先バッファ部 21d-l-2 connection # 1 low priority buffer
21d-2-l コネクション # 2高優先バッファ部 21d-2-l connection # 2 high priority buffer
21d-2-2 コネクション # 2低優先バッファ部 21d-2-2 Connection # 2 low priority buffer
21d-n-l コネクション # n高優先バッファ部 21d-n-l connection # n high priority buffer
21d-n-2 コネクション # n低優先バッファ部 21d-n-2 connection # n low priority buffer
31b ノ ッファしきい値超え検出部 31b Noffer threshold exceeded detector
41e バッファ管理部 41e Buffer Manager
発明を実施するための最良の形態 BEST MODE FOR CARRYING OUT THE INVENTION
[0015] 以下に、本発明にかかるデータ送信装置の実施の形態を図面に基づいて詳細に 説明する。なお、この実施の形態により本発明が限定されるものではない。 Hereinafter, embodiments of a data transmission device according to the present invention will be described in detail with reference to the drawings. In addition, this invention is not limited by this embodiment.
[0016] 実施の形態 1. [0016] Embodiment 1.
図 1は、本発明にかかるデータ送信装置の実施の形態 1の構成を示す図であり、実 施の形態 1のデータ送信装置 1は、複数コネクションのフレームを分割し、分割後の データを送信バッファに書き込むフレーム分割部 11と、全コネクション共通送信バッ ファ部 12と、指示されたコネクションの送信バッファのデータを読み出すデータ読み 出し部 13と、送信バッファより読み出されたデータに対してヘッダ付与などを行い、 パケットとして組み立てるパケット組み立て部 14と、パケットを伝送路に送信するパケ ット送信部 15と、スケジューリングに必要な情報(フレーム情報)を保持するスケジュ 一リング情報蓄積部 16と、送信するパケット(データ)の出力順を決定するスケジユー ラ部 17と、全コネクション共通送信バッファ部 12を論理的に各コネクションで独立な ノ ッファとみなせるように、各コネクションの読み出しアドレス,書き込みアドレス,空き 位置のアドレスの管理を行い、フレーム分割部 11および上記データ読み出し部 13に よる書き込みおよび読み出しを制御するバッファ管理部 18と、を備えている。なお、 上記フレーム情報には、たとえば、フレームの分割数,フレームの優先度を識別する ためのフレーム種別,分割データのデータ長と分割時のシリアル番号(またはフレー ム内の残データ長),フレーム最終分割データかどうかの情報 (または先頭,継続,最 終の情報)等、の各種情報が含まれている。また、上記スケジューリング情報蓄積部 1 6には、上記フレーム情報の他に、たとえば、送信バッファのアドレス(データ書き込 み位置),ペナルティ情報,連続して出力可能なデータ数の上限,フレーム内の送信 データ数等、スケジューラ部 17やバッファ管理部 18が必要な情報も蓄積する。 FIG. 1 is a diagram showing the configuration of the first embodiment of the data transmitting apparatus according to the present invention. The data transmitting apparatus 1 of the first embodiment divides a frame of a plurality of connections and transmits the divided data. Frame division unit 11 to be written to buffer, common transmission buffer unit 12 for all connections, data reading unit 13 for reading transmission buffer data of the designated connection, and header assignment for data read from transmission buffer The packet assembly unit 14 that assembles the packet as a packet, the packet transmission unit 15 that transmits the packet to the transmission path, the scheduling information storage unit 16 that stores information (frame information) necessary for scheduling, and the transmission The scheduler unit 17 that determines the output order of packets (data) to be transmitted and the transmission buffer unit 12 common to all connections are logically connected. The buffer that manages the read address, write address, and empty position address of each connection and controls the writing and reading by the frame dividing unit 11 and the data reading unit 13 so that each connection can be regarded as an independent buffer. And a management unit 18. The frame information identifies, for example, the number of frame divisions and frame priority. Frame type, data length of the divided data and serial number at the time of division (or the remaining data length in the frame), information on whether the data is the final divided data of the frame (or the beginning, continuation, and end information) Contains information. In addition to the frame information, the scheduling information storage unit 16 includes, for example, a transmission buffer address (data write position), penalty information, an upper limit on the number of data that can be continuously output, Information necessary for the scheduler unit 17 and the buffer management unit 18 such as the number of transmission data is also accumulated.
[0017] つづいて、上記のように構成されるデータ送信装置の動作の概要を説明する。図 2 は、データ送信装置の動作概要を示す図である。 [0017] Next, an outline of the operation of the data transmitting apparatus configured as described above will be described. FIG. 2 is a diagram showing an outline of the operation of the data transmission apparatus.
[0018] 本実施の形態においては、たとえば、下位プロトコルにて、コネクション # 1の上位 プロトコルのフレームを 3個(データ A1,データ B1,データ C1)に分割し(フレーム分 割部 11の処理)、さらに、それぞれにパケットヘッダを付与することにより各データに 対応するパケット(パケット Al,パケット Bl,パケット C1)を生成する(パケット組み立 て部 14の処理)場合を想定する。また、フレームの先頭データを(H)、フレームの継 続データを (C)、フレームの最終データを (T)とし、これらの分割データに関する情 報をフレーム情報としてスケジューリング情報蓄積部 16に保持する。 [0018] In the present embodiment, for example, in the lower protocol, the upper protocol frame of connection # 1 is divided into three (data A1, data B1, data C1) (processing of frame divider 11). Furthermore, it is assumed that a packet (packet Al, packet Bl, packet C1) corresponding to each data is generated by attaching a packet header to each (processing of the packet assembly unit 14). Also, the top data of the frame is (H), the continuous data of the frame is (C), the final data of the frame is (T), and information on these divided data is held in the scheduling information storage unit 16 as frame information. .
[0019] また、本実施の形態では、上記分割されたデータ力 コネクション # 1の論理的キュ 一構成を持つバッファに保持される。なお、実際の全コネクション共通送信バッファ部 12の物理的構成は、コネクション別とはなっておらず、単一のセルバッファにそれぞ れのコネクションを保持するような構成となっている。そのため、バッファ管理部 18が 、フレーム分割部 11に対して書き込みアドレスの指定を行レ、、さらに、スケジューラ部 17の決定に基づいてデータ読み出し部 13に対して読み出しアドレスの指定を行う。 これにより、論理的に、コネクション毎のキューを構成していることと等価になる。ただ し、物理的構成が単一セルバッファである場合は、各コネクションにしきい値を設定 せず、特定のコネクションのデータが多量に書き込まれると、他のコネクションにおい て書き込めるデータ量が減ることになる。 In the present embodiment, the data is held in a buffer having a logical queue configuration of the divided data power connection # 1. Note that the actual physical configuration of the common transmission buffer unit 12 for all connections is not connection-specific, but is configured to hold each connection in a single cell buffer. Therefore, the buffer management unit 18 designates a write address for the frame division unit 11, and further designates a read address for the data reading unit 13 based on the determination of the scheduler unit 17. This is logically equivalent to configuring a queue for each connection. However, if the physical configuration is a single cell buffer, a threshold value is not set for each connection, and if a large amount of data is written to a specific connection, the amount of data that can be written to other connections will decrease. Become.
[0020] このように、本実施の形態のデータ送信装置においては、たとえば、図 2に示すよう に、論理的に構成されたコネクション # 1のバッファ 12_1に、データ Al , Bl , C1が 保持されることになる。なお、他のコネクション # 2—コネクション # nのバッファ 12-2 一 12— nにおいても、それぞれ同様に分割されたデータが保持される。 Thus, in the data transmitting apparatus of the present embodiment, for example, as shown in FIG. 2, data Al 1, Bl 1, and C 1 are held in logically configured buffer 12_1 of connection # 1. Will be. Other connections # 2—Connection # n buffer 12-2 In 1-n, the data divided in the same way is retained.
[0021] そして、このような状況において、本実施の形態のスケジューラ部 17は、データ送 信のスケジューリング動作を開始する。なお、本実施の形態のスケジューラ部 17は、 全てのコネクションが同じ条件の場合、ラウンドロビン方式で選択するコネクションを 決定する。 In such a situation, the scheduler unit 17 of the present embodiment starts a data transmission scheduling operation. Note that the scheduler unit 17 of this embodiment determines a connection to be selected by the round robin method when all the connections have the same condition.
[0022] たとえば、ラウンドロビンをコネクション # 1から開始する場合、スケジューラ部 17は 、まず、データ A1 (H)を選択し、そのデータを出力するための制御を行う(バッファ管 理部 18に対する制御)。つぎに、スケジューラ部 17は、フレーム単位の出力を優先さ せるため、コネクション # 1のデータ B1 (C)を選択し、そのデータを出力するための 制御を行う。このとき、通常のラウンドロビンであれば、コネクション # 2のデータ A2が 選択されるはずであるので、スケジューラ部 17は、コネクション間の公平性を保った め、コネクション # 1に、コネクション # 2に対するペナルティを付与し、そのペナルテ ィのカウント数をスケジューリング情報蓄積部 16に保持する。 [0022] For example, when round robin is started from connection # 1, the scheduler unit 17 first selects data A1 (H) and performs control for outputting the data (control to the buffer management unit 18). ). Next, the scheduler unit 17 selects the data B1 (C) of the connection # 1 and gives control to output the data in order to prioritize the output in units of frames. At this time, if it is a normal round robin, the data A2 of the connection # 2 should be selected. Therefore, the scheduler unit 17 maintains the fairness between the connections. A penalty is assigned and the count of the penalty is held in the scheduling information storage unit 16.
[0023] つぎに、スケジューラ部 17は、その次に出力するデータとして、コネクション # 1の データ C1 (T)を選択する。このとき、通常のラウンドロビンであれば、コネクション # 3 のデータ A3が選択されるはずであるので、スケジューラ部 17は、コネクション間の公 平性を保っため、コネクション # 1に、コネクション # 3に対するペナルティを付与し、 そのペナルティのカウント数をスケジューリング情報蓄積部 16に保持する。 [0023] Next, the scheduler unit 17 selects the data C1 (T) of the connection # 1 as data to be output next. At this time, if it is a normal round robin, the data A3 of the connection # 3 should be selected. Therefore, in order to maintain the fairness between the connections, the scheduler unit 17 changes the connection # 1 to the connection # 3. A penalty is assigned and the count of the penalty is held in the scheduling information storage unit 16.
[0024] つづいて、上記ペナルティの利用方法について説明する。図 3は、ペナノレティの禾 IJ 用方法を示す図である。なお、図 3は、各コネクションのバッファ(12—1— 12— n)に、 フレームの先頭データが次回の出力となるように分割データが蓄積された場合を示し ている。また、コネクション # 1には、コネクション # 2に対するペナルティが存在する( 1カウント)ことを前提とする。 [0024] Next, a method for using the penalty will be described. Figure 3 is a diagram showing Penanoleti's method for 禾 IJ. FIG. 3 shows a case where the divided data is accumulated in the buffer (12-1-12-n) of each connection so that the top data of the frame will be the next output. Also, it is assumed that connection # 1 has a penalty for connection # 2 (1 count).
[0025] たとえば、通常のラウンドロビンによる出力であれば、スケジューラ部 17は、最初に コネクション # 1のデータを選択するはずである力 ここでは、コネクション # 1が、上 記前提条件のように、コネクション # 2に対してペナルティを持っているため、まず、コ ネクシヨン # 1のデータを選択する前に、コネクション # 2に出力可能なデータがある 力どうかを確認する。そして、コネクション # 2には出力可能なデータ A2 (H)があるた め、スケジューラ部 17は、データ A2 (H)を選択し、そのデータを出力するための制 御を行う。同時に、コネクション # 1に存在していたコネクション # 2に対するペナルテ ィのカウント数を 1だけ減算し、ペナルティを解消する。 [0025] For example, in the case of normal round robin output, the scheduler unit 17 must first select the data of the connection # 1. Here, the connection # 1 is Since there is a penalty for connection # 2, first check whether there is data available for connection # 2 before selecting data for connection # 1. Connection # 2 has data A2 (H) that can be output. Therefore, the scheduler unit 17 selects data A2 (H) and performs control for outputting the data. At the same time, the penalty count for connection # 2 that existed in connection # 1 is decremented by one to eliminate the penalty.
[0026] つぎに、スケジューラ部 17は、コネクション # 2のデータ B2 (C)を選択し、そのデー タを出力するための制御を行う。そして、コネクション # 2には、通常のラウンドロビン で選択されるはずであったコネクション # 3に対するペナルティを付与(1カウント)す る。以下、スケジューラ部 17は、上記と同様にペナルティの加算と減算を繰り返しな がら、バッファ内のデータを出力するための制御を行う。 Next, scheduler unit 17 selects data B2 (C) of connection # 2, and performs control for outputting the data. Connection # 2 is then penalized (1 count) for connection # 3, which would have been selected in the normal round robin. Thereafter, the scheduler unit 17 performs control for outputting the data in the buffer while repeating the addition and subtraction of the penalty in the same manner as described above.
[0027] つづいて、特定のコネクションのフレームが所定の基準よりも長い場合の処理につ いて説明する。図 4は、特定のコネクションのフレームが所定の基準よりも長い場合の 処理を説明するための図であり、この処理により、特定コネクションが長時間にわたつ て出力を占有してしまう事態を回避する。 [0027] Next, a process when the frame of a specific connection is longer than a predetermined reference will be described. Fig. 4 is a diagram for explaining the processing when the frame of a specific connection is longer than a predetermined reference, and this processing avoids a situation where a specific connection occupies output for a long time. To do.
[0028] たとえば、出力するフレームが特定の基準(予め規定された長さ)よりも長い場合は 、一つのコネクションのフレームを構成するデータを、優先してバッファから出力し続 けることとなり、伴って、特定コネクションが長時間にわたって出力を占有することとな り、他のコネクションのフレーム出力が抑圧される時間が長くなることが懸念される。そ のため、本実施の形態では、たとえば、スケジューリング情報蓄積部 16に対して、 1 つのフレームについて連続して出力可能なパケット数、すなわち、連続して選択可能 なデータ数、の上限を設定する。 [0028] For example, when the output frame is longer than a specific reference (predetermined length), the data constituting the frame of one connection is preferentially output from the buffer. As a result, a specific connection occupies the output for a long time, and there is a concern that the frame output of other connections will be suppressed for a long time. Therefore, in the present embodiment, for example, an upper limit is set for the number of packets that can be continuously output for one frame, that is, the number of data that can be continuously selected, for the scheduling information storage unit 16. .
[0029] 図 4は、コネクション # 2のフレームのデータを出力中に、上記上限により、最後の 1 パケット(データ A2 (T) )を残した状態でコネクション # 2の出力を停止した場合を示 している。この場合は、コネクション # 2のフレーム出力は完了していないが、スケジュ ーラ部 17は、スケジューリング情報蓄積部 16に設定された上限に基づいて、フレー ム単位のスケジューリングを停止し、通常のラウンドロビンで、コネクション # 3のデー タ A3 (H)を選択し、データ A3 (H)を出力するための制御を行う。なお、スケジューラ 部 17は、上記のようにフレーム単位のスケジューリングを途中で停止した場合、その コネクションのフレーム内の送信データ数をスケジューリング情報蓄積部 16に保持し ておく。また、この上限の設定により、たとえば、リアルタイム性が要求され、かつフレ ーム長が所定の基準よりも短いフレームについては、分割処理を行わなレ、、などの動 作を行うことが可能となる。 [0029] Figure 4 shows the case where the output of connection # 2 is stopped while the last one packet (data A2 (T)) is left due to the above limit while outputting the data of the frame of connection # 2. is doing. In this case, the frame output of connection # 2 has not been completed, but the scheduler unit 17 stops scheduling in units of frames based on the upper limit set in the scheduling information storage unit 16, and the normal round In Robin, select data A3 (H) of connection # 3 and perform control to output data A3 (H). When the scheduling unit 17 stops scheduling in units of frames as described above, the scheduling information storage unit 16 holds the number of transmission data in the frame of the connection. In addition, by setting this upper limit, for example, real-time performance is required and flexibility is set. For a frame whose frame length is shorter than a predetermined reference, it is possible to perform operations such as “not dividing”.
[0030] つづいて、上記 1つのフレームについて連続して出力可能なパケット数の上限によ り、複数のコネクションがフレームの出力途中で停止している場合の処理について説 明する。図 5は、複数のコネクションがフレームの出力途中で停止している場合の処 理を説明するための図である。なお、図 5においては、上記上限により、コネクション # 1とコネクション # 2がフレームの出力途中で停止し、かつ一連のラウンドロビンの 出力スケジューリング動作が終了した時点、における処理を示している。 [0030] Next, processing when a plurality of connections are stopped in the middle of frame output due to the upper limit of the number of packets that can be continuously output for one frame will be described. FIG. 5 is a diagram for explaining processing when a plurality of connections are stopped during frame output. Note that FIG. 5 shows processing when connection # 1 and connection # 2 are stopped in the middle of frame output and a series of round-robin output scheduling operations are completed due to the above upper limit.
[0031] 通常、スケジューラ部 17は、ラウンドロビンが新たに開始されるため、コネクション # [0031] Normally, since the scheduler 17 starts a new round robin, the connection #
1のデータを選択することになるはずである力 本実施の形態では、フレームの途中 でデータの出力が停止されているコネクションが複数存在するため、出力が停止され ているコネクションの中から、過去に送信したデータ数の多いコネクションを選択する 。たとえば、コネクション # 1よりもコネクション # 2の方力 1つのフレームにおいて出 力したデータの数が多い場合、スケジューラ部 17は、コネクション # 2を選択し、デー タ A2 (C)、続いてデータ B2 (T)、を出力するための制御を行う。その後、スケジユー ラ部 17は、同じくフレームの出力途中であるコネクション # 1を選択し、データ A1 (T) を出力するための制御を行う。なお、このような処理であっても、上記と同様にペナル ティの加減算を行う。 In this embodiment, there are multiple connections whose data output is stopped in the middle of the frame. Select a connection with a large amount of data sent to. For example, the direction of connection # 2 over connection # 1 When the number of data output in one frame is larger, scheduler unit 17 selects connection # 2, data A2 (C), and then data B2. Control for outputting (T). Thereafter, the scheduler unit 17 selects connection # 1, which is also in the middle of frame output, and performs control to output data A1 (T). Even in such processing, penalty addition / subtraction is performed in the same manner as described above.
[0032] つづいて、新たなラウンドロビンが行われ、複数のコネクションがフレームの出力途 中で停止し、ペナルティのカウント数,フレームの送信済みデータ数が同一である場 合の処理について説明する。図 6は、ペナルティのカウント数,フレームの送信済み パケット数が同一である場合の処理を説明するための図である。 Next, a process when a new round robin is performed, a plurality of connections are stopped during frame output, and the penalty count and the number of transmitted data of the frame are the same will be described. FIG. 6 is a diagram for explaining processing when the penalty count and the number of transmitted packets of the frame are the same.
[0033] このような場合、スケジューラ部 17は、そのフレームの特性を考慮し、よりリアノレタイ ム性が要求されるフレームの出力を優先するようにコネクションを選択する。たとえば 、コネクション # 1の出力途中のフレームが非リアルタイム性のデータを転送している フレームであり、コネクション # 2の出力途中のフレームがリアルタイム性のデータを 転送しているフレームである場合、スケジューラ部 17は、コネクション # 2のデータ A2 (C)を優先して選択し、そのデータを出力するための制御を行う。なお、スケジユーリ ングに必要なフレームの特性は、スケジューリング情報蓄積部 16に保持される。 [0033] In such a case, the scheduler unit 17 considers the characteristics of the frame, and selects a connection so that priority is given to the output of a frame that requires more renotime characteristics. For example, if the frame in the middle of output of connection # 1 is a frame that transfers non-realtime data, and the frame in the middle of output of connection # 2 is a frame that transfers real-time data, the scheduler unit 17 preferentially selects data A2 (C) of connection # 2 and performs control to output the data. The schedule Yuri The scheduling information storage unit 16 retains the frame characteristics necessary for encoding.
[0034] つづいて、バッファオーバーフローが発生した場合のデータの扱いについて説明 する。図 7は、バッファオーバーフローが発生した場合のデータの扱いを説明するた めの図である。 [0034] Next, data handling when a buffer overflow occurs will be described. Fig. 7 is a diagram for explaining how to handle data when a buffer overflow occurs.
[0035] 上記で説明したように、全コネクション共通送信バッファ部 12は、論理的にはコネク シヨン毎に管理されている力 物理的には、単一バッファに書き込まれており、バッフ ァ管理部 18によって、論理的にコネクション別となるように管理されている。図 7では、 単純化のために、全コネクション共通送信バッファ部 12に記録可能なデータ数を 6個 とし、たとえば、コネクション # 1の出力途中のフレームのデータ A1 (C) ,データ Bl ( C)、コネクション # 2の出力途中のフレームのデータ A2 (C) ,データ B2 (T)、コネク シヨン # 3の未送信のフレームのデータ A3 (H) ,データ B3 (T)が保存され、全コネク シヨン共通送信バッファ部 12に、他のデータが書き込める空き領域がなくなった場合 を想定する。 [0035] As described above, the transmission buffer unit 12 common to all connections is logically managed for each connection. Physically, the transmission buffer unit 12 is written in a single buffer. 18 is managed logically by connection. In FIG. 7, for simplification, the number of data that can be recorded in the transmission buffer 12 common to all connections is six. For example, data A1 (C) and data Bl (C) of the frame in the middle of output of connection # 1 The data A2 (C), data B2 (T), and the data A3 (H), data B3 (T) of the untransmitted frame of connection # 3 are saved and all connections are saved. Assume that there is no more free space in the common transmission buffer unit 12 where other data can be written.
[0036] この状態で、さらにコネクション # 1の継続データ(C)が到着した場合、全コネクシ ヨン共通送信バッファ部 12には、通常、新たに到着したデータを書き込むことができ なレ、。そこで、本実施の形態のフレーム分割部 11においては、フレーム単位の転送 を優先させるために、既にバッファに書き込まれているデータについて、優先度が低 レ、、たとえば、ベストエフオートのデータを探し、そのようなデータが存在する場合、そ のデータをフレーム単位で廃棄して、新たに到着した出力途中のデータをその廃棄 した空き領域に書き込む。 [0036] In this state, if further continuation data (C) of connection # 1 arrives, normally all newly connected data cannot be written in all connection common transmission buffer section 12. Therefore, in the frame division unit 11 of the present embodiment, in order to prioritize transfer in units of frames, the data already written in the buffer is searched for data with a low priority, for example, best-fault data. If such data exists, the data is discarded in units of frames, and newly arrived output data is written in the discarded empty area.
[0037] たとえば、コネクション # 3のフレームのデータがベストエフオートのデータである場 合、全コネクション共通送信バッファ部 12からコネクション # 3のデータ A3 (H),デー タ B3 (T)が廃棄され、フレーム分割部 11では、この空き領域にコネクション # 1のデ ータ C1 (C)を書き込む。 [0037] For example, if the frame data of connection # 3 is best-f-auto data, data A3 (H) and data B3 (T) of connection # 3 are discarded from the transmission buffer unit 12 common to all connections. The frame division unit 11 writes the data C1 (C) of connection # 1 in this empty area.
[0038] 以上のように、本実施の形態においては、下位プロトコルにて、上位プロトコルのフ レームを意識しつつ、データ転送を行うこととした。これにより、各コネクションにおけ るパケット(データ)出力の公平性を維持しながら、上位プロトコルのフレーム単位に おける送信時間を短縮することができる。また、本実施の形態においては、フレーム の一部のデータが転送されたにもかかわらず、転送遅延によりそのフレームの残りの データが転送されず、受信側で転送済みフレームが廃棄される、という状況が発生し づらくなるため、受信側でのフレーム単位の受信確率を向上させることができる。なお 、これらの効果は、データ送信装置とデータ受信装置との間の伝送路の転送速度が 低い場合に、特に顕著となる。 [0038] As described above, in the present embodiment, data transfer is performed in the lower protocol while being conscious of the frame of the upper protocol. As a result, it is possible to shorten the transmission time in the frame unit of the upper protocol while maintaining the fairness of the packet (data) output in each connection. In the present embodiment, the frame Even though some of the data is transferred, it is difficult for the receiving side to discard the frame that has already been transferred due to a transfer delay and the transferred frame is discarded on the receiving side. The frame-by-frame reception probability can be improved. Note that these effects are particularly noticeable when the transfer speed of the transmission path between the data transmission device and the data reception device is low.
[0039] また、本実施の形態においては、通信相手となるデータ受信装置においてフレー ムの組み立てが短時間で終了するため、フレームを構成する全てのパケットが到着 するまでデータを待機させるための受信バッファに、分解されたままとなつているデー タの滞留量を減少させることができる。そのため、受信バッファが各コネクションで共 通のバッファとして構成されている場合には、受信バッファ量を大幅に小さくすること ができる。 [0039] Also, in this embodiment, since the frame assembly is completed in a short time in the data receiving apparatus that is the communication counterpart, reception for waiting for data until all the packets constituting the frame arrive. The amount of data remaining in the buffer can be reduced. Therefore, when the reception buffer is configured as a common buffer for each connection, the amount of reception buffer can be significantly reduced.
[0040] 実施の形態 2. [0040] Embodiment 2.
前述した実施の形態 1において、全コネクション共通送信バッファ部 12は、論理的 にはコネクション別に管理する力 物理的には各コネクションで単一バッファを共有す る方式を採用していた。これに対し、実施の形態 2では、送信バッファ力 物理的にコ ネクシヨン単位で分離している場合について説明する。 In the first embodiment described above, the common transmission buffer unit 12 for all connections employs a method in which a single buffer is shared by each connection. On the other hand, in the second embodiment, a case where the transmission buffer power is physically separated in connection units will be described.
[0041] 図 8は、本発明にかかるデータ送信装置の実施の形態 2の構成を示す図であり、実 施の形態 2のデータ送信装置 laは、複数コネクションのフレームを分割し、分割後の データをコネクション別の送信バッファに書き込むフレーム分割部 11aと、コネクション [0041] FIG. 8 is a diagram showing the configuration of the second embodiment of the data transmitting apparatus according to the present invention. The data transmitting apparatus la of the second embodiment divides a frame of multiple connections, and A frame division unit 11a that writes data to a connection-specific transmission buffer and a connection
# 1送信バッファ部 21a_l,コネクション # 2送信バッファ部 21a_2, …,コネクション # n送信バッファ部 21 a— nと、指示されたコネクション別の送信バッファからデータを 読み出すデータ読み出し部 13aと、送信するパケットの出力順を決定し、上記データ 読み出し部 13aに対して指示を与えるスケジューラ部 17aと、を備えている。なお、前 述した実施の形態 1と同様の構成については、同一の符号を付してその説明を省略 する。 # 1 Transmission buffer unit 21a_l, connection # 2 Transmission buffer unit 21a_2, ..., connection # n Transmission buffer unit 21 a—n, data reading unit 13a that reads data from the specified transmission buffer for each connection, and packet to be transmitted And a scheduler unit 17a that determines an output order of the data and gives an instruction to the data reading unit 13a. Note that the same components as those in the first embodiment described above are denoted by the same reference numerals and description thereof is omitted.
[0042] つづいて、上記のように構成されるデータ送信装置 laの動作について説明する。こ こでは、実施の形態 1と異なる処理についてのみ説明する。 [0042] Next, the operation of the data transmitting device la configured as described above will be described. Here, only processing different from the first embodiment will be described.
[0043] 各コネクションのフレームデータを受信したフレーム分割部 11aでは、フレームを分 割する際のフレーム情報をスケジューリング情報蓄積部 16に書き込むと同時に、コネ クシヨン毎に設けられたコネクション # 1送信バッファ部 21a_l—コネクション # n送 信バッファ部 21a_nに分割データを書き込む。 [0043] The frame dividing unit 11a that has received the frame data of each connection divides the frame. At the same time as writing the frame information at the time of allocation to the scheduling information storage unit 16, the divided data is written to the connection # 1 transmission buffer unit 21a_l—connection #n transmission buffer unit 21a_n provided for each connection.
[0044] なお、スケジューラ部 17aの動作は、前述した実施の形態 1のスケジューラ部 17と 基本的に同一である。本実施の形態のスケジューラ部 17aは、選択したコネクション のデータの読み出し順をデータ読み出し部 13aに対して指示する処理が、前述した スケジューラ部 17と異なっている。また、実施の形態 1では、特定フレームのデータの 出力途中にバッファオーバーフローが発生し、かつそのフレームの継続データが入 力された場合、共通バッファの中力 ベストエフオートのフレームデータを持つコネク シヨンを検索してそのフレームデータをフレーム単位で廃棄する処理を行っていたが 、本実施の形態では、バッファが個別に管理されているため、この処理は行われない Note that the operation of the scheduler unit 17a is basically the same as that of the scheduler unit 17 of the first embodiment described above. The scheduler unit 17a of the present embodiment is different from the scheduler unit 17 described above in the process of instructing the data reading unit 13a of the data reading order of the selected connection. Also, in the first embodiment, when a buffer overflow occurs during the output of data of a specific frame and the continuous data of that frame is input, the connection with the frame data of the best buffer of the common buffer is used. However, in this embodiment, since the buffer is managed individually, this processing is not performed.
[0045] 以上のように、本実施の形態においては、データ送信装置が、コネクション毎に個 別の送信バッファを備えることとした。これにより、他のコネクションのフレームデータ の影響を受けることなぐ前述した実施の形態 1と同様の効果を得ることができる。 [0045] As described above, in the present embodiment, the data transmission device includes an individual transmission buffer for each connection. As a result, it is possible to obtain the same effects as those of the first embodiment described above without being affected by the frame data of other connections.
[0046] 実施の形態 3. [0046] Embodiment 3.
前述した実施の形態 2では、コネクション個別の送信バッファを備える構成であった ため、たとえば、フレーム送信途中でバッファオーバーフローが発生し、フレーム送信 途中の継続データが入力された場合、実施の形態 1のように、フレーム単位のデータ の廃棄処理を行っていなレ、。そこで、本実施の形態では、フレーム単位のデータの 廃棄処理を、コネクション個別の送信バッファを備えた構成に適用する。 In the above-described second embodiment, since the connection-specific transmission buffer is provided, for example, when a buffer overflow occurs during frame transmission and continuous data is input during frame transmission, As you can see, no data is being discarded on a frame-by-frame basis. Therefore, in this embodiment, the discard processing of data in units of frames is applied to a configuration including a connection-specific transmission buffer.
[0047] 図 9は、本発明にかかるデータ送信装置の実施の形態 3の構成を示す図であり、実 施の形態 3のデータ送信装置 lbは、フレーム分割部 l ibと、コネクション # 1送信バ ッファ部 21b_l ,コネクション # 2送信バッファ部 21b— 2, ·■· ,コネクション # n送信バ ッファ部 21b_nと、バッファしきい値超え検出部 31bと、を備えている。なお、前述し た実施の形態 1または 2と同様の構成については、同一の符号を付してその説明を 省略する。 FIG. 9 is a diagram showing the configuration of the third embodiment of the data transmitting apparatus according to the present invention. The data transmitting apparatus lb of the third embodiment includes a frame dividing unit l ib and a connection # 1 transmission. Buffer section 21b_l, connection # 2 transmission buffer section 21b-2,..., Connection #n transmission buffer section 21b_n, and buffer threshold value excess detection section 31b. Note that the same components as those in the first or second embodiment described above are denoted by the same reference numerals and description thereof is omitted.
[0048] つづいて、上記のように構成されるデータ送信装置 lbの動作について説明する。こ こでは、実施の形態 2と異なる処理にっレ、てのみ説明する。 [0048] Next, the operation of the data transmission device lb configured as described above will be described. This Here, only processing different from that of the second embodiment will be described.
[0049] フレーム分割部 l ibでは、前述したフレーム分割部 11aと同様の処理で、コネクショ ン毎に設けられたコネクション # 1送信バッファ部 21b_l—コネクション # n送信バッ ファ部 21b_nに分割データを書き込む。 [0049] The frame division unit l ib writes the divided data to the connection # 1 transmission buffer unit 21b_l—connection #n transmission buffer unit 21b_n provided for each connection in the same process as the frame division unit 11a described above. .
[0050] コネクション # 1送信バッファ部 21b_l—コネクション # n送信バッファ部 21b_nは[0050] Connection # 1 transmission buffer unit 21b_l—connection #n transmission buffer unit 21b_n
、分割データが書き込まれた場合、それぞれデータ蓄積量をバッファしきい値超え検 出部 31bに通知する。 When the divided data is written, the data storage amount is notified to the buffer threshold excess detection unit 31b.
[0051] バッファしきい値超え検出部 31bでは、予めコネクション別のバッファしきい値を保 持しておき、各バッファ部がそのしきい値を超えていないかどうかを監視する。たとえ ば、上記しきい値を超えたコネクションが存在する場合、バッファしきい値超え検出部 31bでは、フレーム分割部 l ibにその旨を通知する。そして、フレーム分割部 l ibで は、上記しきい値を越え続けている期間について、該当するコネクションのフレーム 分割を行わずに、フレームが到着した場合にはフレーム単位でデータを廃棄する。 [0051] The buffer threshold value excess detection unit 31b holds a buffer threshold value for each connection in advance, and monitors whether each buffer unit exceeds the threshold value. For example, if there is a connection that exceeds the threshold value, the buffer threshold value excess detection unit 31b notifies the frame division unit l ib to that effect. Then, the frame dividing unit l ib discards data in units of frames when a frame arrives without performing frame division of the corresponding connection during the period in which the threshold value is continuously exceeded.
[0052] このように、本実施の形態においては、コネクション毎のバッファ部がしきい値を超 えてデータを保持しないように、バッファ部単位でデータ量を監視し、たとえば、しき い値を超えた場合、該当するフレームの全データを廃棄することとした。これにより、 実施の形態 2と同様の効果が得られるとともに、フレーム単位のデータの受信確率を さらに向上させることができる。 [0052] Thus, in the present embodiment, the amount of data is monitored in units of buffer units so that the buffer unit for each connection does not hold data exceeding the threshold, and for example, exceeds the threshold value. In this case, all data of the corresponding frame is discarded. As a result, the same effects as those of the second embodiment can be obtained, and the reception probability of data in units of frames can be further improved.
[0053] なお、本実施の形態においては、コネクション別の送信バッファを備える場合につ いて説明したが、これに限らず、実施の形態 1のような全コネクションの共通バッファ を備え、論理的にコネクション毎に分離された送信バッファを構成する場合において も適用可能である。 In the present embodiment, the case of providing connection-specific transmission buffers has been described. However, the present invention is not limited to this, and a common buffer for all connections as in Embodiment 1 is provided, which is logically This can also be applied to the case where a separate transmission buffer is configured for each connection.
[0054] 実施の形態 4. [0054] Embodiment 4.
実施の形態 4では、前述した実施の形態 3と異なる処理で、フレーム単位のデータ の受信確率を向上させる。 In the fourth embodiment, the reception probability of data in units of frames is improved by processing different from that in the third embodiment.
[0055] 図 10は、本発明にかかるデータ送信装置の実施の形態 4の構成を示す図であり、 実施の形態 4のデータ送信装置 lcは、コネクション # 1送信バッファ部 21c— 1 ,コネ クシヨン # 2送信バッファ部 21c_2, · · · ,コネクション # n送信バッファ部 21c— nと、前 述したスケジューラ部 17aの処理に加えて、上記バッファ部が所定のデータ蓄積量を 超えた場合にそのフレームの出力を優先するスケジューラ部 17cと、を備えている。 なお、前述した実施の形態 1、 2または 3と同様の構成については、同一の符号を付 してその説明を省略する。 [0055] FIG. 10 is a diagram showing a configuration of the data transmitting apparatus according to the fourth embodiment of the present invention. The data transmitting apparatus lc of the fourth embodiment includes a connection # 1 transmission buffer unit 21c-1 and a connection. # 2 Transmission buffer section 21c_2, ..., connection # n Transmission buffer section 21c—n and previous In addition to the processing of the scheduler unit 17a described above, a scheduler unit 17c that prioritizes the output of the frame when the buffer unit exceeds a predetermined data storage amount is provided. Note that the same reference numerals are given to the same configurations as those in the first, second, or third embodiment, and the description thereof is omitted.
[0056] つづいて、上記のように構成されるデータ送信装置 lcの動作について説明する。こ こでは、実施の形態 3と異なる処理にっレ、てのみ説明する。 [0056] Next, the operation of the data transmission device lc configured as described above will be described. Here, only processing different from that of Embodiment 3 will be described.
[0057] 本実施の形態では、コネクション # 1送信バッファ部 21c— 1一コネクション # n送信 ノ ッファ部 21c-nが、コネクション別のバッファしきい値を超えてデータを保持してい ないかどうかを自律的に監視する。そして、上記しきい値を超えたコネクションが存在 する場合、各バッファ部では、スケジューラ部 17cにその旨を通知する。 [0057] In the present embodiment, connection # 1 transmission buffer unit 21c—one connection #n transmission buffer unit 21c-n determines whether or not data exceeds the buffer threshold for each connection. Monitor autonomously. When there is a connection that exceeds the threshold, each buffer unit notifies the scheduler unit 17c to that effect.
[0058] スケジューラ部 17cでは、上記しきい値を超えたことを示す情報を受信した場合、該 当するコネクションのフレームデータの出力を優先してスケジューリングを行う。 [0058] When the scheduler unit 17c receives information indicating that the threshold value has been exceeded, scheduling is performed with priority given to output of frame data of the corresponding connection.
[0059] 以上のように、本実施の形態においては、コネクション別のバッファ部が所定のデ ータ蓄積量を超えた場合、該当するフレームのデータを優先して送信するように、ス ケジユーリングを行うこととした。これにより、実施の形態 2と同様の効果が得られるとと もに、フレーム単位のデータの受信確率をさらに向上させることができる。 [0059] As described above, in the present embodiment, when the buffer unit for each connection exceeds a predetermined data accumulation amount, scheduling is performed so that the data of the corresponding frame is preferentially transmitted. I decided to do it. As a result, the same effects as in the second embodiment can be obtained, and the reception probability of data in units of frames can be further improved.
[0060] なお、本実施の形態においては、コネクション別の送信バッファを備える場合につ いて説明したが、これに限らず、実施の形態 1のような全コネクションの共通バッファ を備え、論理的にコネクション毎に分離された送信バッファを構成する場合において も適用可能である。 In the present embodiment, the case where the transmission buffer for each connection is provided has been described. However, the present invention is not limited to this, and a common buffer for all connections as in the first embodiment is provided to logically. This can also be applied to the case where a separate transmission buffer is configured for each connection.
[0061] 実施の形態 5. [0061] Embodiment 5.
以上の実施の形態 1一実施の形態 4においては、コネクション毎に個別の送信バッ ファ(物理的または論理的に)を備えていたが、実施の形態 5においては、コネクショ ン毎に単一ではなぐたとえば、各コネクションのデータを種別により複数の送信バッ ファに分けて保存する場合について説明する。 In the above Embodiment 1 and Embodiment 4, a separate transmission buffer (physically or logically) is provided for each connection. However, in Embodiment 5, a single transmission buffer is provided for each connection. For example, a case will be described in which the data of each connection is stored in a plurality of transmission buffers according to type.
[0062] 図 11は、本発明にかかるデータ送信装置の実施の形態 5の構成を示す図であり、 実施の形態 5のデータ送信装置 Idは、フレーム分割部 l idと、コネクション # 1高優 先バッファ部 21d-l-l ,コネクション # 1低優先バッファ部 21d-l-2,コネクシ ヨン # 2高優先バッファ部 21d_2_l ,コネクション # 2低優先バッファ部 21d_2_2, ·■· ,コネクション # n高優先バッファ部 21d_n_l,コネクション # n低優先バッファ部 2 ld_n_2と、スケジューリング情報蓄積部 16dと、前述したスケジューラ部 17cの処理 に加えて、優先度の高いフレームの出力を優先するスケジューラ部 17dと、を備えて いる。 FIG. 11 is a diagram showing the configuration of the data transmitting apparatus according to the fifth embodiment of the present invention. The data transmitting apparatus Id according to the fifth embodiment includes a frame dividing unit id and a connection # 1 high priority. Destination buffer 21d-ll, connection # 1 Low priority buffer 21d-l-2, connection # 2 High priority buffer unit 21d_2_l, Connection # 2 Low priority buffer unit 21d_2_2, ..., Connection #n High priority buffer unit 21d_n_l, Connection #n Low priority buffer unit 2 In addition to the processing of the scheduler unit 17c, a scheduler unit 17d that prioritizes the output of frames with high priority is provided.
[0063] つづいて、上記のように構成されるデータ送信装置 Idの動作について説明する。こ こでは、実施の形態 1一 4と異なる処理についてのみ説明する。 [0063] Next, the operation of the data transmitting device Id configured as described above will be described. Here, only processing different from Embodiments 1 to 4 will be described.
[0064] たとえば、フレーム分割部 l id内に、予め、コネクション毎にフレームの種類別の優 先度(データ種別に相当)を登録しておき、フレーム分割部 l idでは、フレームを受 信し分割する際に、登録された優先度に従って該当するバッファ部に分割データを 書き込む。同時に、バッファ毎の情報 (優先度に関する情報)をスケジューリング情報 蓄積部 16dに書き込む。 [0064] For example, the priority for each frame type (corresponding to the data type) is registered in advance in the frame division unit id for each connection, and the frame division unit id receives the frame. When dividing, the divided data is written in the corresponding buffer according to the registered priority. At the same time, information for each buffer (information on priority) is written to the scheduling information storage unit 16d.
[0065] スケジューラ部 17dでは、コネクション別のデータの出力をスケジューリングする際、 スケジューリング情報蓄積部 16dに保持されている各コネクションの優先度を考慮し て、出力データのスケジューリングを行う。なお、優先度の高いフレームの出力を優 先する処理以外については、前述した実施の形態 1、 2, 3または 4と同様である。 [0065] When scheduling the output of data for each connection, the scheduler unit 17d schedules the output data in consideration of the priority of each connection held in the scheduling information storage unit 16d. Except for the processing that prioritizes the output of a frame with a high priority, the processing is the same as in the first, second, third, or fourth embodiments.
[0066] 以上のように、本実施の形態においては、各コネクションのフレームのデータを種別 [0066] As described above, in this embodiment, the frame data of each connection is classified as a type.
(フレームの優先度)により複数の送信バッファに分けて保存することとした。これによ り、前述した実施の形態 1一 4と同様の効果が得られるとともに、さらに優先度の高い フレームのデータを優先的に送信することができる。 It was decided to store it in multiple transmission buffers according to (frame priority). As a result, the same effects as those of the first to fourth embodiments described above can be obtained, and frame data with higher priority can be transmitted with priority.
[0067] 実施の形態 6. [0067] Embodiment 6.
以上の実施の形態 1一実施の形態 5においては、各送信バッファにフレームを分割 した後のデータが書き込まれていたが、実施の形態 6においては、フレームを分割す る前のフレーム自体を各送信バッファに書き込み、各送信バッファからフレームを読 み出した後に、分割してパケットを組み立てる場合について説明する。 In the above Embodiment 1 and Embodiment 5, the data after dividing the frame is written in each transmission buffer. However, in Embodiment 6, the frame itself before dividing the frame is stored in each frame. A case will be described in which a packet is assembled by dividing it after writing to the transmission buffer and reading a frame from each transmission buffer.
[0068] 図 12は、本発明にかかるデータ送信装置の実施の形態 6の構成を示す図であり、 実施の形態 6のデータ送信装置 leは、コネクション # 1送信バッファ部 21e— 1 ,コネ クシヨン # 2送信バッファ部 21e_2, · · · ,コネクション # n送信バッファ部 21e_nと、フ レーム分割部 l ieと、バッファ管理部 41eと、を備えている。 FIG. 12 is a diagram showing the configuration of the sixth embodiment of the data transmitting apparatus according to the present invention. The data transmitting apparatus le of the sixth embodiment includes a connection # 1 transmission buffer unit 21e-1 and a connection. # 2 Transmission buffer section 21e_2, ..., connection # n Transmission buffer section 21e_n A frame division unit l ie and a buffer management unit 41e.
[0069] つづいて、上記のように構成されるデータ送信装置 leの動作について説明する。こ こでは、実施の形態 1一 5と異なる処理についてのみ説明する。 [0069] Next, the operation of the data transmission device le configured as described above will be described. Here, only processing different from Embodiments 1 to 15 will be described.
[0070] 本実施の形態では、バッファ管理部 41eが、各送信バッファ部から得られるフレー ムが書き込まれた旨の情報に基づいて、そのフレームが分割された状況を想定して、 そのフレーム情報をスケジューリング情報蓄積部 16に書き込む。 [0070] In the present embodiment, assuming that the frame is divided based on the information that the frame obtained from each transmission buffer unit is written, the buffer management unit 41e assumes the frame information. Is written to the scheduling information storage unit 16.
[0071] そして、フレーム分割部 l ieでは、スケジューラ部 17aによるスケジューリングに基 づいて各送信バッファからフレームを読み出し、分割して出力する。 [0071] Then, the frame dividing unit ie reads out the frame from each transmission buffer based on the scheduling by the scheduler unit 17a, divides and outputs the frame.
[0072] このように、フレームを分割する前のフレーム自体を各送信バッファに書き込み、各 送信バッファからフレームを読み出した後に、分割してパケットを組み立てる場合であ つても、前述した実施の形態と同様の効果を得ることができる。 [0072] As described above, even when the frame itself before dividing the frame is written in each transmission buffer, and the frame is divided and assembled after reading the frame from each transmission buffer, it is the same as the above-described embodiment. Similar effects can be obtained.
産業上の利用可能性 Industrial applicability
[0073] 以上のように、本発明にかかるデータ送信装置は、上位プロトコルのフレームを意 識したデータ転送を行う通信システムを構成する通信装置として有用であり、特に、 複数のコネクションのフレームを扱う通信装置に適している。 As described above, the data transmission device according to the present invention is useful as a communication device that constitutes a communication system that performs data transfer in consideration of higher-order protocol frames, and particularly handles frames of a plurality of connections. Suitable for communication devices.
Claims
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2004/010634 WO2006011193A1 (en) | 2004-07-26 | 2004-07-26 | Data transmitting apparatus |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/JP2004/010634 WO2006011193A1 (en) | 2004-07-26 | 2004-07-26 | Data transmitting apparatus |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2006011193A1 true WO2006011193A1 (en) | 2006-02-02 |
Family
ID=35785952
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/JP2004/010634 Ceased WO2006011193A1 (en) | 2004-07-26 | 2004-07-26 | Data transmitting apparatus |
Country Status (1)
| Country | Link |
|---|---|
| WO (1) | WO2006011193A1 (en) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113840272A (en) * | 2021-10-12 | 2021-12-24 | 北京奕斯伟计算技术有限公司 | Data transmission method, data transmission device and electronic device |
Citations (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04157844A (en) * | 1990-10-20 | 1992-05-29 | Fujitsu Ltd | Buffer constitution system of atm multiplexing device |
| JPH04334145A (en) * | 1991-05-10 | 1992-11-20 | Mitsubishi Electric Corp | Buffer circuit of cell switching equipment |
| JPH0629970A (en) * | 1992-07-06 | 1994-02-04 | Toshiba Corp | Data transfer system |
| JPH0779252A (en) * | 1993-09-08 | 1995-03-20 | Fujitsu Ltd | Packet output control method |
| JPH07135512A (en) * | 1993-11-11 | 1995-05-23 | Hitachi Ltd | Router equipment |
| JPH1041957A (en) * | 1996-07-25 | 1998-02-13 | Nec Corp | Multiple address control system for atm cell |
| JPH11103298A (en) * | 1997-09-26 | 1999-04-13 | Sony Corp | Packet transmission control method and apparatus |
| JPH11103294A (en) * | 1997-09-26 | 1999-04-13 | Sony Corp | Packet transmission control method and apparatus |
| JPH11313079A (en) * | 1998-04-30 | 1999-11-09 | Nec Corp | Atm communication device |
| JP2000354061A (en) * | 1999-06-10 | 2000-12-19 | Nec Corp | Retrieval device for connection information |
| WO2001001634A1 (en) * | 1999-06-24 | 2001-01-04 | Fujitsu Limited | Dynamic virtual channel manager |
| JP3129588B2 (en) * | 1993-01-18 | 2001-01-31 | 日本電信電話株式会社 | Cell frame transfer method |
| JP2001086124A (en) * | 1999-08-20 | 2001-03-30 | Alcatel | Method and circuit arrangement for selecting an ATM cell waiting in a queue |
| JP2001197064A (en) * | 2000-01-12 | 2001-07-19 | Fujitsu Ltd | Packet switch device and scheduling control method |
| JP3364410B2 (en) * | 1997-05-09 | 2003-01-08 | 株式会社東芝 | Communication device |
-
2004
- 2004-07-26 WO PCT/JP2004/010634 patent/WO2006011193A1/en not_active Ceased
Patent Citations (15)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH04157844A (en) * | 1990-10-20 | 1992-05-29 | Fujitsu Ltd | Buffer constitution system of atm multiplexing device |
| JPH04334145A (en) * | 1991-05-10 | 1992-11-20 | Mitsubishi Electric Corp | Buffer circuit of cell switching equipment |
| JPH0629970A (en) * | 1992-07-06 | 1994-02-04 | Toshiba Corp | Data transfer system |
| JP3129588B2 (en) * | 1993-01-18 | 2001-01-31 | 日本電信電話株式会社 | Cell frame transfer method |
| JPH0779252A (en) * | 1993-09-08 | 1995-03-20 | Fujitsu Ltd | Packet output control method |
| JPH07135512A (en) * | 1993-11-11 | 1995-05-23 | Hitachi Ltd | Router equipment |
| JPH1041957A (en) * | 1996-07-25 | 1998-02-13 | Nec Corp | Multiple address control system for atm cell |
| JP3364410B2 (en) * | 1997-05-09 | 2003-01-08 | 株式会社東芝 | Communication device |
| JPH11103298A (en) * | 1997-09-26 | 1999-04-13 | Sony Corp | Packet transmission control method and apparatus |
| JPH11103294A (en) * | 1997-09-26 | 1999-04-13 | Sony Corp | Packet transmission control method and apparatus |
| JPH11313079A (en) * | 1998-04-30 | 1999-11-09 | Nec Corp | Atm communication device |
| JP2000354061A (en) * | 1999-06-10 | 2000-12-19 | Nec Corp | Retrieval device for connection information |
| WO2001001634A1 (en) * | 1999-06-24 | 2001-01-04 | Fujitsu Limited | Dynamic virtual channel manager |
| JP2001086124A (en) * | 1999-08-20 | 2001-03-30 | Alcatel | Method and circuit arrangement for selecting an ATM cell waiting in a queue |
| JP2001197064A (en) * | 2000-01-12 | 2001-07-19 | Fujitsu Ltd | Packet switch device and scheduling control method |
Cited By (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN113840272A (en) * | 2021-10-12 | 2021-12-24 | 北京奕斯伟计算技术有限公司 | Data transmission method, data transmission device and electronic device |
| CN113840272B (en) * | 2021-10-12 | 2024-05-14 | 北京奕斯伟计算技术股份有限公司 | Data transmission method, data transmission device and electronic device |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8259738B2 (en) | Channel service manager with priority queuing | |
| US6377546B1 (en) | Rate guarantees through buffer management | |
| RU2419226C2 (en) | Memory control for high-speed control of access to environment | |
| US6920145B2 (en) | Packet switch device and scheduling control method | |
| US6839358B2 (en) | Relaying apparatus | |
| EP1239637B1 (en) | Time based packet scheduling and sorting system | |
| US20090180475A1 (en) | Packet forwarding apparatus and controlling method | |
| US8000247B2 (en) | Bandwidth management apparatus | |
| CN1194522A (en) | Communication unit dispatcher and dispatching method for providing equalizing use of network bandwidth | |
| JP4163044B2 (en) | BAND CONTROL METHOD AND BAND CONTROL DEVICE THEREOF | |
| KR100601043B1 (en) | Router and method for scheduling packets | |
| CN113141320B (en) | System, method and application for rate-limited service planning and scheduling | |
| US20080273546A1 (en) | Data switch and a method of switching | |
| EP1638273B1 (en) | Scheduling using quantum and deficit values | |
| JP3649661B2 (en) | Packet scheduling method and packet scheduling apparatus | |
| WO2006011193A1 (en) | Data transmitting apparatus | |
| US7565496B2 (en) | Sharing memory among multiple information channels | |
| JP3756727B2 (en) | ATM transmission equipment | |
| JP5183460B2 (en) | Packet scheduling method and apparatus | |
| JP7662293B1 (en) | COMMUNICATION DEVICE, COMMUNICATION METHOD, AND PROGRAM | |
| JP3972370B2 (en) | Differentiated scheduling method in downlink communication between RNC and Node B in network | |
| US20260032076A1 (en) | Network traffic management system and method for managing packet latency | |
| JP3649981B2 (en) | Communication apparatus and shaping processing method | |
| JP2002247081A (en) | Buffer managing method and atm switchboard | |
| JP3894048B2 (en) | Packet switching apparatus and packet switching method |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AK | Designated states |
Kind code of ref document: A1 Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW |
|
| AL | Designated countries for regional patents |
Kind code of ref document: A1 Designated state(s): BW GH GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG |
|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application | ||
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase | ||
| NENP | Non-entry into the national phase |
Ref country code: JP |