JP5345902B2 - Data transmission apparatus, data transmission method, and data transmission program - Google Patents

Data transmission apparatus, data transmission method, and data transmission program Download PDF

Info

Publication number
JP5345902B2
JP5345902B2 JP2009150105A JP2009150105A JP5345902B2 JP 5345902 B2 JP5345902 B2 JP 5345902B2 JP 2009150105 A JP2009150105 A JP 2009150105A JP 2009150105 A JP2009150105 A JP 2009150105A JP 5345902 B2 JP5345902 B2 JP 5345902B2
Authority
JP
Japan
Prior art keywords
transmission
data
priority
unit
units
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
JP2009150105A
Other languages
Japanese (ja)
Other versions
JP2011009953A (en
Inventor
聡 望月
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
NEC Computertechno Ltd
Original Assignee
NEC Computertechno Ltd
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 NEC Computertechno Ltd filed Critical NEC Computertechno Ltd
Priority to JP2009150105A priority Critical patent/JP5345902B2/en
Publication of JP2011009953A publication Critical patent/JP2011009953A/en
Application granted granted Critical
Publication of JP5345902B2 publication Critical patent/JP5345902B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は、データ送信装置に関し、特に、複数の送信部を備えたデータ送信装置に関する。   The present invention relates to a data transmission device, and more particularly to a data transmission device including a plurality of transmission units.

ネットワークなどを介してのデータ送信を行うデータ送信装置には、複数の送信部を用い、送信データ毎に使用する送信部を切り換えてデータ送信を行うものがある。   Some data transmission apparatuses that perform data transmission via a network or the like use a plurality of transmission units and perform data transmission by switching the transmission unit used for each transmission data.

さらに、このような複数の送信部を用いるデータ送信装置には、送信データの送信優先度を考慮したものも有る。例えば、優先度の高いデータには、早期送信のために多くの送信部を割り当て、逆に、優先度の低いデータには少ない送信部を割り当てるような送信制御を行うようなものである。   Furthermore, some data transmission apparatuses using such a plurality of transmission units consider transmission priority of transmission data. For example, transmission control is performed such that a large number of transmission units are allocated to data with high priority for early transmission, and conversely, a small number of transmission units are allocated to data with low priority.

また、送信部などの電気回路は、動作していないときでも待機電力を消費している。そのため、データ送信装置には、使用していない送信部を省電力待機状態に移行させたり、送信部への電力の供給自体を停止させることにより、消費電力の低減を図っているものもある。   In addition, an electric circuit such as a transmission unit consumes standby power even when it is not operating. For this reason, some data transmission apparatuses attempt to reduce power consumption by shifting unused transmission units to a power saving standby state or by stopping the power supply itself to the transmission units.

なお、ここで言う省電力待機状態とは、送信部の回路の一部に対する電源供給を止めたり、動作速度を遅くすることにより、待機電力を削減した状態のことである。省電力待機状態では、そのままでは送信できず送信開始までに時間を必要とするが、すぐに送信ができるようにしておく待機状態に比較して、消費電力量を少なくすることができる。なお、送信開始までの時間が短いが待機電力が多い省電力待機状態や送信開始までの時間が長いが待機電力が少ない省電力待機状態といったように、送信開始時間と待機電力との組み合わせによる複数の省電力待機状態を備えてたものもある。(例えば、特許文献1および2参照)
このように、複数の送信部を用いるデータ送信装置では、送信部の使用状況に応じた消費電力の制御と送信データの優先度に応じた送信部の割当制御とが行われている。
Note that the power saving standby state referred to here is a state in which standby power is reduced by stopping power supply to a part of the circuit of the transmission unit or slowing down the operation speed. In the power saving standby state, transmission is not possible as it is, and it takes time to start transmission, but the power consumption can be reduced compared to the standby state in which transmission is immediately possible. Multiple combinations of transmission start time and standby power, such as a power saving standby state with a short time to start transmission but a large standby power, and a power saving standby state with a long time to start transmission but low standby power Some have a power-saving standby state. (For example, see Patent Documents 1 and 2)
As described above, in a data transmission apparatus using a plurality of transmission units, control of power consumption according to the usage status of the transmission units and transmission unit allocation control according to the priority of transmission data are performed.

しかし、一般に送信データの発生は非同期である。そのため、単純に優先度で送信部の割当を行うと、例えば、優先度が高いデータ送信要求が一時的に重なった場合、優先度が低いデータに対しての送信部の割当が長期間に渡って出来なくなる場合がある。そのため、もし優先度の低いデータに送信期限が設定されていたとしても、優先度の低いデータに送信部の割当が行われず、送信期限を守ることが出来ない事態が発生してしまうこととなる。   However, in general, transmission data is generated asynchronously. For this reason, if the transmission unit is simply assigned with priority, for example, if data transmission requests with high priority are temporarily overlapped, the transmission unit is assigned to data with low priority over a long period of time. May not be possible. For this reason, even if a transmission deadline is set for data with low priority, a transmission unit is not assigned to data with low priority, and a situation in which the transmission deadline cannot be observed will occur. .

このような事態を回避するため、送信期限が設定された送信データに対して時間監視を行い、送信期限に近づいた場合には、一時的に優先度に関係ない送信処理(以下、優先変更送信処理と言う)を行うようしたデータ送信装置もある。このような装置において、時間監視は、例えば、送信期限の設定されたデータ毎に設定される割り込み処理により行われている。(例えば、特許文献3参照)   In order to avoid such a situation, time monitoring is performed for transmission data with a transmission time limit set, and when the transmission time limit is approached, transmission processing that is temporarily not related to priority (hereinafter referred to as priority change transmission). There is also a data transmission device that performs processing). In such an apparatus, the time monitoring is performed, for example, by an interrupt process set for each data for which a transmission time limit is set. (For example, see Patent Document 3)

特開2009−033691号公報JP 2009-033691 A 特開2008−112293号公報JP 2008-112293 A 特開平05−120199号公報Japanese Patent Laid-Open No. 05-120199

しかしながら、上述したようなデータ優先度に応じた制御を行うデータ送信装置において、優先度の低いデータの送信に割り当てられる送信部の数は、優先度の高いデータの送信に割り当てられる送信部の数より少ない。そのため、優先度の低いデータの優先変更送信処理の処理時間は長くなる。   However, in the data transmission apparatus that performs control according to the data priority as described above, the number of transmission units allocated to transmission of data with low priority is the number of transmission units allocated to transmission of data with high priority. Fewer. For this reason, the processing time of the priority change transmission processing for data with low priority becomes long.

その結果、送信期限が近づいた優先度の低いデータ送信の優先変更送信処理を行うと、後続する優先度の高いデータ送信の待ち時間が増加し、システム性能が低下してしまう。   As a result, if priority change transmission processing is performed for low-priority data transmission whose transmission deadline is approaching, the waiting time for subsequent high-priority data transmission increases, and system performance deteriorates.

これに対処するため、送信期限の監視間隔を短くし、監視回数を増やすことが行われている。すなわち、監視間隔を短くすることにより、各監視において見つかる優先変更送信処理が少なくなり、各監視により処理すべき平均的な優先変更送信処理の時間を短くすることが出来る。   In order to deal with this, the monitoring interval of the transmission deadline is shortened and the number of monitoring is increased. That is, by shortening the monitoring interval, the priority change transmission process found in each monitor is reduced, and the average priority change transmission process time to be processed by each monitor can be shortened.

しかし、この場合、監視処理の回数が多くなり、その監視処理の増加分だけシステム性能が低下してしまうという別の問題を招く。   However, in this case, the number of times of the monitoring process is increased, and another problem that the system performance is deteriorated by the increase of the monitoring process is caused.

本発明の目的は、上述の問題点を解決し、監視処理の回数を増やさずに、優先度の低いデータの優先変更送信処理による待ち時間を少なくできるデータ送信装置、データ送信方法、及び、データ送信プログラムを提供することにある。   SUMMARY OF THE INVENTION An object of the present invention is to solve the above-mentioned problems, and to reduce the waiting time due to priority change transmission processing of low priority data without increasing the number of monitoring processes, a data transmission device, a data transmission method, and data To provide a transmission program.

本発明のデータ送信装置は、データを送信する複数の送信部と、データの送信開始時に、当該データを送信するために前記複数の送信部のうちの少なくとも一つを当該データの送信のために割り当て、データの送信開始後に、所定の条件を満たした場合に、前記送信開始時に当該データの送信のために割り当てられた送信部の個数よりも多くの個数の送信部を当該データの送信のために割り当てる制御部とを備えたことを特徴とする。   A data transmission apparatus according to the present invention includes a plurality of transmission units that transmit data, and at least one of the plurality of transmission units for transmitting the data at the start of data transmission. When a predetermined condition is satisfied after allocation and data transmission start, a larger number of transmission units than the number of transmission units allocated for transmission of the data at the start of transmission are used for transmission of the data. And a control unit to be assigned.

本発明のデータを送信する複数の送信部を備えたデータ送信装置のデータ送信方法は、データの送信開始時に、当該データを送信するために前記複数の送信部のうちの少なくとも一つを当該データの送信のために割り当てるステップと、データの送信開始後に、所定の条件を満たした場合に、前記送信開始時に当該データの送信のために割り当てられた送信部の個数よりも多くの個数の送信部を当該データの送信のために割り当てるステップを備えたことを特徴とする。
本発明のデータを送信する複数の送信部を備えたコンピュータに実行させるデータ送信装置のデータ送信プログラムは、データの送信開始時に、当該データを送信するために前記複数の送信部のうちの少なくとも一つを当該データの送信のために割り当てる処理と、データの送信開始後に、所定の条件を満たした場合に、前記送信開始時に当該データの送信のために割り当てられた送信部の個数よりも多くの個数の送信部を当該データの送信のために割り当てる処理を備えたことを特徴とする。
According to the present invention, there is provided a data transmission method of a data transmission device including a plurality of transmission units for transmitting data, wherein at least one of the plurality of transmission units is transmitted to the data at the start of data transmission And a number of transmitters larger than the number of transmitters allocated for transmitting the data when the transmission is started when a predetermined condition is satisfied after the data transmission is started. Is assigned for transmission of the data.
A data transmission program of a data transmission apparatus to be executed by a computer having a plurality of transmission units for transmitting data according to the present invention is provided at least one of the plurality of transmission units for transmitting the data at the start of data transmission. More than the number of transmitters allocated for transmitting the data at the start of the transmission when the predetermined condition is satisfied after the data transmission is started The present invention is characterized by comprising a process of assigning the number of transmission units for transmission of the data.

本発明によれば、優先度の低いデータの優先変更送信処理において、送信に使用する送信部の数を一時的に増やすことにより、送信時間を短くすることができるため、優先変更送信処理に後続する優先度の高いデータ送信の待ち時間を少なくする効果が得られる。   According to the present invention, in the priority change transmission process of low priority data, the transmission time can be shortened by temporarily increasing the number of transmission units used for transmission, and therefore, the priority change transmission process is followed. The effect of reducing the waiting time for data transmission with high priority is obtained.

さらに、本発明によれは、優先変更送信処理に掛かる送信時間も短くなるため、送信期限に対する、優先変更送信処理を起動するタイミングを遅くすることもできる。その遅くなった時間分だけ通常の送信処理が行われる、その結果として、優先変更送信処理が発生する回数も減り、優先度の高いデータの送信の待ち時間をさらに少なくする効果も得られる。   Furthermore, according to the present invention, since the transmission time required for the priority change transmission process is shortened, the timing for starting the priority change transmission process with respect to the transmission time limit can be delayed. Normal transmission processing is performed for the delayed time. As a result, the number of times of priority change transmission processing is reduced, and the effect of further reducing the waiting time for transmission of high priority data can be obtained.

本発明の第1の実施形態の構成を示すブロック図The block diagram which shows the structure of the 1st Embodiment of this invention. 本発明の送信部の切り替え状態を示す図The figure which shows the switching state of the transmission part of this invention 本発明の実施形態で使用するデータおよびデータ管理表を示す図The figure which shows the data and data management table which are used in embodiment of this invention 本発明の第1の実施形態の動作を示すフローチャートThe flowchart which shows operation | movement of the 1st Embodiment of this invention. 本発明の第1の実施形態に変形例を示すを示すブロック図The block diagram which shows a modification in the 1st Embodiment of this invention 本発明の第2の実施形態の構成を示すブロック図The block diagram which shows the structure of the 2nd Embodiment of this invention. 本発明の第3の実施形態の構成を示すブロック図The block diagram which shows the structure of the 3rd Embodiment of this invention. 本発明の第3の実施形態の動作を示すフローチャートThe flowchart which shows the operation | movement of the 3rd Embodiment of this invention. 本発明の第4の実施形態の構成を示すブロック図The block diagram which shows the structure of the 4th Embodiment of this invention. 本発明の第4の実施形態の動作を示すフローチャートThe flowchart which shows the operation | movement of the 4th Embodiment of this invention. 本発明の第4の実施形態の動作を示すフローチャートThe flowchart which shows the operation | movement of the 4th Embodiment of this invention.

次に、本発明について図面を参照して詳細に説明する。
(第1の実施形態)
最初に、本発明の第1の実施形態の構成および動作について図1〜図4を用いて説明する。
Next, the present invention will be described in detail with reference to the drawings.
(First embodiment)
First, the configuration and operation of the first embodiment of the present invention will be described with reference to FIGS.

図1は、第1の実施形態に係るデータ送信装置1の構成を示す。   FIG. 1 shows a configuration of a data transmission device 1 according to the first embodiment.

図1において、データ送信装置1は、データ送信装置1の各部を制御する送信制御部2と、送信データ4を保存する送信記憶部3と、データを送信する送信部51〜53とから構成されている。   In FIG. 1, a data transmission device 1 includes a transmission control unit 2 that controls each unit of the data transmission device 1, a transmission storage unit 3 that stores transmission data 4, and transmission units 51 to 53 that transmit data. ing.

送信制御部2は、3個の送信部(送信部51〜53)を制御して、図2に示すように送信に使用する送信部の数を変更することができる。図2において二点差線は使用しない送信部、つまり省電力待機状態の送信部を示している。   The transmission control unit 2 can control the three transmission units (transmission units 51 to 53) to change the number of transmission units used for transmission as shown in FIG. In FIG. 2, a two-dot chain line indicates a transmitter that is not used, that is, a transmitter in a power saving standby state.

図2(a)は3個の送信部(送信部51〜53)を使用する場合、図2(b)は2個の送信部(送信部51〜52)を使用する場合、図2(c)は1個の送信部(送信部51)を使用する場合をそれぞれ示している。   2A shows a case where three transmitters (transmitters 51 to 53) are used, and FIG. 2B shows a case where two transmitters (transmitters 51 to 52) are used. ) Shows a case where one transmission unit (transmission unit 51) is used.

ここで、省電力待機状態が複数あり、待機状態である送信部も複数ある場合に、次の送信再開時の再開時間を考慮して、異なった省電力待機状態を設定することもできる。例えば、最初に再開される送信部を待機電力が多いが回復時間の早い待機状態、その他の送信部を回復時間が長いが待機電力が少ない待機状態としてもよい。   Here, when there are a plurality of power saving standby states and there are a plurality of transmission units in the standby state, it is possible to set different power saving standby states in consideration of the restart time when the next transmission is resumed. For example, the transmitter that is restarted first may be in a standby state with a large standby power but a fast recovery time, and the other transmitters may be in a standby state with a long recovery time but a low standby power.

例えば、図2(c)の状態で、送信部52を回復時間が短い待機状態とし、送信部53を待機電力の少ない待機状態としてもよい。   For example, in the state of FIG. 2C, the transmission unit 52 may be set in a standby state with a short recovery time, and the transmission unit 53 may be set in a standby state with low standby power.

なお、本実施形態では。送信部の総数を3個として説明しているが、これには限定されず、送信部の数は2個でも、4個以上でもよい。   In the present embodiment. Although the total number of transmission units has been described as three, the present invention is not limited to this, and the number of transmission units may be two or four or more.

また、説明の便宜上、使用する送信部として、3個の場合に送信部51〜53、2個の場合に送信部51〜52、1個の場合に送信部51と送信部の割当を固定した記載としているが、これは送信部の割当の一例である。2個の場合の割当を送信部52〜53としたり、1個の場合に送信部52又は送信部53としてもよい。さらに、送信部を2個使う場合や1個使う場合の割当を固定的とはせずに、動的に割当てるようにしてもよい。例えば、負荷を分散させるために周知のラウンドロビン方式等に従って、使用する送信部を割当ててもよい。   In addition, for convenience of explanation, as the transmission units to be used, the transmission units 51 to 53 in the case of three, the transmission units 51 to 52 in the case of two, and the allocation of the transmission unit 51 and the transmission unit in the case of one are fixed. Although described, this is an example of allocation of transmission units. The allocation in the case of two may be the transmission units 52 to 53, or the transmission unit 52 or the transmission unit 53 may be used in the case of one. Further, the assignment when two transmitters are used or when one transmitter is used may be dynamically assigned instead of being fixed. For example, a transmitter to be used may be allocated according to a known round robin method or the like in order to distribute the load.

送信制御部2は、上述のとおり、送信部51〜53のいずれか1つまたは2つまたは全てを使用して送信記憶部3に保存されている送信データ4を送信する。   As described above, the transmission control unit 2 transmits the transmission data 4 stored in the transmission storage unit 3 using any one, two, or all of the transmission units 51 to 53.

図3(a)に示すように、送信記憶部3の所定の記憶領域には、複数の送信データ4a〜4dが保存されている。   As illustrated in FIG. 3A, a plurality of transmission data 4 a to 4 d are stored in a predetermined storage area of the transmission storage unit 3.

これらの送信データには、図3(b)に一例を示す管理表に示すように、送信期限、優先度、送信部数が設定されている。   In these transmission data, as shown in the management table shown as an example in FIG. 3B, a transmission deadline, a priority, and the number of transmission units are set.

送信期限とは、送信データの送信を完了すべき時期(時刻等)である。図3(b)の例では、送信データ4dに送信期限が設定され、他の送信データ4a〜4cには送信期限が設定されていない。送信期限が設定されていない送信データは、ベストエフォートなど通常の送信方法で送信されることとなる。送信期限が設定された送信データは、後ほど詳述するが、優先度の低いデータであっても送信期限を守るために優先変更送信処理が行われることとなる。   The transmission deadline is a time (time etc.) at which transmission of transmission data should be completed. In the example of FIG. 3B, a transmission time limit is set for the transmission data 4d, and no transmission time limit is set for the other transmission data 4a to 4c. Transmission data for which no transmission time limit is set is transmitted by a normal transmission method such as best effort. The transmission data in which the transmission time limit is set will be described in detail later. However, priority change transmission processing is performed to protect the transmission time limit even for data with low priority.

優先度は、送信制御部2が送信部に送信データを割当てる優先度を示し、本実施形態では、優先度1が最も高い優先度を示し、優先度3が最も低い優先度を示しいてる。優先度の処理については後述する。なお、本実施形態では優先度が3つのレベルを有する場合について説明するが、レベルの数はこれに限定されるものではない。   The priority indicates the priority with which the transmission control unit 2 assigns transmission data to the transmission unit. In this embodiment, the priority 1 indicates the highest priority, and the priority 3 indicates the lowest priority. The priority processing will be described later. In the present embodiment, a case where the priority has three levels will be described, but the number of levels is not limited to this.

送信部数は、送信データの送信に使用する送信部の数を示している。   The number of transmission units indicates the number of transmission units used for transmission of transmission data.

一般に送信部など通信回路は、通信を行わないときに、省電力待機状態とすることにより、消費電力を削減することができる。   In general, a communication circuit such as a transmission unit can reduce power consumption by setting a power saving standby state when communication is not performed.

本実施形態では、送信速度と消費電力とを考慮して、優先度毎に使用する送信部の数を決めている。優先度1は高速性を考慮して使用する送信部を3つ、優先度2は高速性と消費電力とのバランスを考慮して送信部を2つ、優先度3は速度より消費電力を考慮して送信部は1つ使用するものとしている。   In the present embodiment, the number of transmission units to be used for each priority is determined in consideration of transmission speed and power consumption. Priority 1 has three transmitters to be used in consideration of high speed, Priority 2 has two transmitters in consideration of the balance between high speed and power consumption, and priority 3 takes into account power consumption rather than speed One transmitter is used.

ここで、優先度2のデータと優先度3のデータがある場合、送信時間を考慮し、両データを同時に3つの送信部を使用して送信するようにしてもよく、消費電力を考慮して優先度2のデータを送信後、優先度3のデータを送信するようにしてもよい。   Here, when there is data of priority 2 and data of priority 3, considering the transmission time, both data may be transmitted simultaneously using three transmission units, and power consumption is taken into consideration. The data of priority 3 may be transmitted after the data of priority 2 is transmitted.

なお、これら送信期限、優先度、及び、送信部数の設定は、例えば、使用者がデータ個別に設定してもよく、送信データを作成したアプリケーションソフトが送信データに合わせて設定しもてよい。また、図示しないホスト装置からデータを受け取る際にデータと合わせて受け取ってもよく、送信データ全体を管理する管理サーバが設定するなど、周知の設定方法を使用して設定すればよく、詳細な説明は省略する。   Note that the transmission deadline, priority, and number of transmissions may be set individually by the user, or may be set by the application software that created the transmission data according to the transmission data. Further, when receiving data from a host device (not shown), it may be received together with the data, or may be set by using a known setting method such as setting by a management server that manages the entire transmission data. Is omitted.

次に、本実施形態の動作についてさらに詳細に説明する。   Next, the operation of this embodiment will be described in more detail.

まずは、優先度処理に関して説明を行う。   First, priority processing will be described.

送信制御部2は、後ほど詳述する優先変更送信処理などの処理が発生しない送信の場合、優先度の高いデータから送信を行う。また本実施形態では、優先度が同じデータの場合は、管理表の番号の若い方から送信を行うこととする。図3の場合は、まず、優先度1の送信データ4a及び送信データ4cを順次送信し、その後、優先度2の送信データ4bを送信し、最後に優先度3の送信データ4dを送信することとなる。   In the case of transmission in which processing such as priority change transmission processing, which will be described in detail later, does not occur, the transmission control unit 2 performs transmission from data with high priority. Further, in the present embodiment, in the case of data having the same priority, transmission is performed from the smaller number in the management table. In the case of FIG. 3, first, transmission data 4a and transmission data 4c with priority 1 are sequentially transmitted, then transmission data 4b with priority 2 is transmitted, and finally transmission data 4d with priority 3 is transmitted. It becomes.

図3に記載の状態からデータ送信を開始し、送信データの追加が無い場合は、上記のとおりの順で送信データの送信処理が完了する。しかし、送信が完了する前に、新たな送信データの送信の要求が発生すると、送信制御部2は、優先度による処理を行うこととなる。   When data transmission is started from the state shown in FIG. 3 and no transmission data is added, the transmission data transmission processing is completed in the order described above. However, if a request for transmission of new transmission data is generated before transmission is completed, the transmission control unit 2 performs processing based on priority.

このように、新たな送信データ発生による優先度処理の一例は次のようなものである。送信制御部2は、まず、送信中の送信データと新たに発生した送信データの優先度を比較する。そして、新たに発生した送信データの優先度が現在送信中の送信データの優先度と同じか低い場合は、そのまま送信を継続する。一方、新たに発生した送信データの優先度のほうが高い場合、例えば優先度3の送信データを送信中に優先度2の送信データが発生した場合は、送信中の優先度の低い送信データの送信を中断し、新たなに発生した優先度の高い送信データの送信を行う。新たに発生した優先度の高い送信データの送信が終了後、中断していた優先度の低い送信データの送信を再開する。   As described above, an example of priority processing by generation of new transmission data is as follows. First, the transmission control unit 2 compares the priorities of transmission data being transmitted and newly generated transmission data. When the priority of newly generated transmission data is the same as or lower than the priority of transmission data currently being transmitted, transmission is continued as it is. On the other hand, when the priority of newly generated transmission data is higher, for example, when transmission data of priority 2 is generated while transmitting transmission data of priority 3, transmission of transmission data with low priority during transmission is performed. And the transmission of newly generated transmission data with high priority is performed. After transmission of newly generated transmission data with high priority is completed, transmission of transmission data with low priority that has been interrupted is resumed.

なお、新たに発生した送信データよりさらに優先度の高い送信データの送信が発生した場合は、同様に最も優先度の高い送信データの送信が優先的に行われる。   Note that when transmission data having a higher priority than newly generated transmission data occurs, transmission data having the highest priority is similarly preferentially transmitted.

このため、既述したとおり、優先度の高い送信データの送信処理が頻発すると、優先度の低い送信データの送信が行えなくなる場合が発生し、これに対処するため、本実施形態では、後述の優先変更送信処理が行われることとなる。   For this reason, as described above, if transmission processing of transmission data with high priority occurs frequently, transmission data with low priority may not be transmitted. The priority change transmission process is performed.

なお、上記の説明では、説明の便宜上、シーケンシャルに1つの送信データが終わってから次の送信データの送信を開始するように記載したが、優先度に従って時分割に送信時間を割り振るようにしてもよい。例えば、図3(b)の3つの優先度の場合に、優先度1は4、優先度2は2、優先度3は1と重みを割当てるとする。優先度1のデータは2つ、優先度2及び優先度3のデータは各1つあるため、全体の重みの合計は11となる。その結果、各データの送信時間の重み付けによる割当比率は、優先度1の送信データ4aと送信データ4cがそれぞれ4/11、優先度2の送信データ4bが2/11、優先度3の送信データ4dが1/11となる。この場合、例えば送信データ4aの送信が終われば、送信データ4aの重み4が無くなり、全体の重みの合計が7となる。その結果各データの比率は、送信データ4cが4/7、送信データ4bが2/7、送信データ4dが1/7となる。新たな送信データが加わった場合も同様に優先度の比率が変更となる。   In the above description, for convenience of explanation, it has been described that transmission of the next transmission data is started after one transmission data is finished sequentially, but transmission time may be allocated in time division according to priority. Good. For example, in the case of the three priorities shown in FIG. 3B, it is assumed that priority 1 is assigned a weight of 4, priority 2 is assigned 2, and priority 3 is assigned 1. Since there are two data of priority 1 and one of data of priority 2 and priority 3, the total of the total weight is 11. As a result, the allocation ratio by weighting the transmission time of each data is 4/11 for transmission data 4a and transmission data 4c of priority 1, 2/11 for transmission data 4b of priority 2, and transmission data of priority 3, respectively. 4d becomes 1/11. In this case, for example, when the transmission of the transmission data 4a is finished, the weight 4 of the transmission data 4a is lost, and the total weight becomes 7. As a result, the ratio of each data is 4/7 for transmission data 4c, 2/7 for transmission data 4b, and 1/7 for transmission data 4d. Similarly, when the new transmission data is added, the priority ratio is changed.

また、シーケンシャルに切り替えを行う場合でも、不正処理やバグ対策のため、通常ウォッチドックタイマなどにより所定の時間により切り替え処理を行っている。   Even when switching is performed sequentially, the switching process is usually performed for a predetermined time by a watchdog timer or the like for illegal processing or bug countermeasures.

このように切り替え処理を実施した場合、優先度による切り替えのサイクルを所定の時間内に設定しておくことにより、優先度の低い送信データの送信処理も有効な時間範囲で開始することができる。ただし、優先度の低い送信データの送信処理に割当てられる処理時間は、短い場合が多い。そのため、後述する優先変更送信処理の判断部分の処理のような比較的短い処理時間で実行できる論理処理は動作可能であるが、データ送信処理など多くの時間を必要とする処理は、優先度による割当では間に合わず、実行時間を確保できない場合が発生する。   When the switching process is performed in this way, the transmission process of transmission data with a low priority can be started within an effective time range by setting the cycle of switching according to the priority within a predetermined time. However, the processing time allocated to the transmission processing of transmission data with low priority is often short. For this reason, logical processing that can be executed in a relatively short processing time, such as processing in the determination part of priority change transmission processing described later, is operable, but processing that requires a lot of time, such as data transmission processing, depends on priority. There is a case where the execution time cannot be secured because the allocation is not in time.

そこで必要となる優先変更送信処理の本実施形態でのより詳しい動作について、図4を参照して、さらに説明する。優先変更送信処理は、優先度の低い送信データに対して行われるため、以下では、一例として、図3の優先度の低い送信データ4dに対する優先変更送信処理について説明する。   A more detailed operation in the present embodiment of the priority change transmission process required therefor will be further described with reference to FIG. Since the priority change transmission process is performed on transmission data with low priority, the priority change transmission process for transmission data 4d with low priority in FIG. 3 will be described below as an example.

送信処理を開始した優先度の低い送信データの処理では、送信制御部2は、優先度の低い送信データ4dの送信を開始するための初期設定を行う(ステップ401)。本実施形態では、優先度3の場合は、送信部を1つ使用、つまり図2(c)の状態で送信するため、送信部の設定などが行われる。例えば、直前の送信で2つ以上の送信部を使用していたとすると、そのときに使用されていた送信部のうち、優先度3で使用される1つの送信部以外の使用されない送信部を省電力待機状態など送信しない状態とする。この処理は、一度優先度の低い送信処理を開始した後、優先度の高い送信処理に処理が移行し、その後に優先度の低い送信処理を再開した場合にも必要となる。   In the processing of transmission data with low priority that has started transmission processing, the transmission control unit 2 performs initial setting for starting transmission of transmission data 4d with low priority (step 401). In the present embodiment, in the case of priority 3, since one transmission unit is used, that is, transmission is performed in the state of FIG. 2C, the transmission unit is set. For example, if two or more transmitters are used in the previous transmission, the transmitters used at that time are not used except for one transmitter used at priority 3. A state where no transmission is performed such as a power standby state. This process is also required when the low priority transmission process is started, the process then shifts to the high priority transmission process, and then the low priority transmission process is resumed.

次に図示しないタイマなどから現在時刻が取得される(ステップ402)。続いて残りの送信データ量が取得される(ステップ403)。次に、残り送信データが有るかどうかが判断される(ステップ404)。ここで残りの送信データが無い、つまり送信が終了しているとの判断されると、終了処理が行われる(ステップ404から408への分岐)。一方、残りの送信データがある場合は、送信データの送信が送信期限までに終わるかどうかが判断される(ステップ405)。この判断は、例えば、次の数式を使用して行うことが出来る。   Next, the current time is acquired from a timer (not shown) or the like (step 402). Subsequently, the remaining transmission data amount is acquired (step 403). Next, it is determined whether there is remaining transmission data (step 404). Here, if it is determined that there is no remaining transmission data, that is, that transmission has ended, end processing is performed (branch from step 404 to step 408). On the other hand, if there is remaining transmission data, it is determined whether transmission of transmission data ends by the transmission deadline (step 405). This determination can be made using, for example, the following mathematical formula.

Figure 0005345902
Figure 0005345902

この数式は、現在割り当てられている送信部の状態で残りの送信データを送信した場合に、送信が送信期限までに終わるかどうかを判断している。   This mathematical expression determines whether or not the transmission ends by the transmission deadline when the remaining transmission data is transmitted in the state of the currently assigned transmission unit.

この不等式が成り立つ場合は、現在割り当てられた送信部で送信可能となる。   When this inequality holds, transmission is possible with the currently assigned transmitter.

現状の送信部の割当状態で送信可能な場合は、そのままデータ送信を継続し(ステップ407)、上記の処理をデータ送信終了まで繰り返す。ここで、判断処理を繰り返すのは、途中で優先度の高いデータ送信の割り込み処理などが入り、状況が変わる可能性があるためである。   If transmission is possible in the current allocation state of the transmission unit, data transmission is continued as it is (step 407), and the above processing is repeated until the data transmission is completed. Here, the reason why the determination process is repeated is that there is a possibility that the situation will change due to an interrupt process of data transmission having a high priority in the middle.

一方、上記不等式が成立しない場合、すなわち、送信期限までに送信データの送信が完了出来ないと判断された場合は、優先変更送信処理が開始される。まず、割り当てられている送信部の数が増やされる(ステップ406)。例えば、1つの送信部を使用してる図2(c)の状態から、3つの送信部を使用する図2(a)の状態への変更がなされる。   On the other hand, when the above inequality is not satisfied, that is, when it is determined that transmission of transmission data cannot be completed by the transmission time limit, priority change transmission processing is started. First, the number of allocated transmission units is increased (step 406). For example, the state of FIG. 2C using one transmission unit is changed to the state of FIG. 2A using three transmission units.

このように、送信部の数を増やすことにより、残りデータの送信時間が短縮される。例えば、ここでの例では、使用する送信部の数が3倍となり、送信時間は3分の1となる。   Thus, the transmission time of the remaining data is shortened by increasing the number of transmission units. For example, in this example, the number of transmission units to be used is tripled, and the transmission time is one third.

その後、送信制御部2は、残りデータを送信し(ステップ407)、送信終了後、終了処理を行う。(ステップ408)
なお、本実施形態では、送信制御部2は、優先変更送信処理を開始した場合、送信期限を守るため、優先度の高い処理を含め他の処理への切り替えを止め、この優先変更送信処理を実行するようにしている。
Thereafter, the transmission control unit 2 transmits the remaining data (step 407), and performs a termination process after the transmission is completed. (Step 408)
In this embodiment, when the priority change transmission process is started, the transmission control unit 2 stops switching to other processes including a high priority process in order to keep the transmission deadline, and performs this priority change transmission process. I am trying to do it.

このように、本実施形態では、優先変更送信処理に続く優先度の高いデータ送信を待たせる時間も短くすることが出来るという効果が得られる。   Thus, in this embodiment, the effect that the time which waits for the data transmission with high priority following priority change transmission processing can also be shortened is acquired.

その理由は、本実施形態におけるデータ送信装置1が、優先変更送信処理において送信部の数を優先度により割当てられた数より増やすことにより、送信期限が設定された優先度が低い送信データの優先変更送信処理を短い時間で実施できるようにしたためである。   The reason for this is that the data transmission device 1 according to the present embodiment increases the number of transmission units in the priority change transmission process from the number assigned by the priority, thereby giving priority to transmission data with a low priority with a transmission time limit set. This is because the change transmission process can be performed in a short time.

なお、本実施形態では、送信時間の削減を優先するため、一回の優先変更送信処理で全ての送信部を使用することとしたが、消費電力も考慮し、一部(例えば図2(b))を使用するようにしても構わない。   In this embodiment, in order to give priority to the reduction of the transmission time, all the transmission units are used in one priority change transmission process. However, a part (for example, FIG. )) May be used.

さらに、送信部の数の変更を複数回に分け、例えば初期状態では優先度により設定された少ない送信部を使用し(例えば図2(c))、送信期限までの時間が足りないと判断したら、まず一部の送信部を使用を追加する(例えば図2(b))。そして、一部を増やした後でさらに送信期限までの時間が足りないとの判断がなされたら、さらに送信部を追加して使用するように変更(例えば図2(a))してもよい。   Further, if the change in the number of transmission units is divided into a plurality of times, for example, a small number of transmission units set according to priority are used in the initial state (for example, FIG. 2C), and it is determined that the time until the transmission deadline is insufficient First, use of some transmission units is added (for example, FIG. 2B). Then, if it is determined that there is not enough time until the transmission deadline after a part is increased, a transmission unit may be added and used (for example, FIG. 2A).

このように、本実施形態のデータ送信装置1は、送信制御部2による優先変更送信処理でのきめ細かな送信部の切り替えにより、最低限必要な送信部を使用し、電力消費の増加を抑えつつ、優先変更送信処理を短い時間で実施するといった効果が得られる。   As described above, the data transmission device 1 according to the present embodiment uses the minimum necessary transmission unit and suppresses an increase in power consumption by finely switching the transmission unit in the priority change transmission process by the transmission control unit 2. Thus, the effect of performing the priority change transmission process in a short time can be obtained.

その理由は、本実施形態のデータ送信装置1が、優先変更送信処理において使用する送信部の数を送信期限を守るために必要な数だけ増やし、優先度が低い送信データの優先変更送信処理を短い時間で実施することが出来るようにしたためである。   The reason is that the data transmission device 1 of the present embodiment increases the number of transmission units used in the priority change transmission process by the number necessary for keeping the transmission deadline, and performs the priority change transmission process for transmission data with low priority. This is because it can be carried out in a short time.

本実施形態では、切り替えの判断として、送信データの優先度に応じて割り当てられた送信部による送信が、送信期限までに間に合うかどうかという判断を使用しているが、判断としては、他の条件を使用することも可能である。   In the present embodiment, as the determination of switching, a determination is made as to whether or not transmission by the transmission unit assigned according to the priority of transmission data is in time for the transmission deadline. Can also be used.

例えば、次の数式を使用して判断することもできる。   For example, it can also be determined using the following mathematical formula.

Figure 0005345902
Figure 0005345902

この数式は、現在時刻で優先変更送信処理に変更した場合の終了時間が、設定されている送信期限を越えるかどうかを判断している。   This formula determines whether or not the end time when changing to the priority change transmission process at the current time exceeds the set transmission time limit.

数式1による判断では、変更前の送信状態では間に合わなくなった時点で、優先変更送信処理に切り替えている。変更後の送信は変更前より早いため、早くなった時間分だけ、送信期限に対して早めに送信が終わることとなる。(先の説明した実施形態の一例では、送信期限までの残り時間の1/3で終了する。)それに対して、数式2による判断は、切り替え後の送信状態で送信期限までに終わるかどうかを判断しているため、送信期限を守れる最も遅い時期に切り替えを行うこととなる。   In the determination according to Equation 1, when the transmission state before the change is not in time, the priority change transmission process is switched. Since the transmission after the change is earlier than before the change, the transmission ends earlier than the transmission deadline by the earlier time. (In the example of the above-described embodiment, the process ends in 1/3 of the remaining time until the transmission deadline.) On the other hand, whether the determination by Equation 2 is completed by the transmission deadline in the transmission state after switching. Since it is determined, switching is performed at the latest time when the transmission deadline can be observed.

そのため、数式2の判断による切り替えを採用すると、優先変更送信処理の発生が、数式1の判断による場合に比べて、遅い時間となる。この遅れた時間の間には、通常の送信処理が追加として実行されることとなる。   For this reason, when switching based on the determination of Expression 2 is employed, the priority change transmission process occurs later than in the case of determination based on Expression 1. During this delayed time, normal transmission processing is additionally executed.

この追加された送信処理において、優先度の低い送信データの送信も優先度に従って割当られた時間だけ送信処理が行われるため、優先変更送信処理により送信すべきデータ量が減り、優先変更送信処理に必要な時間が短くなる。   In this added transmission process, transmission of low-priority transmission data is performed only for the time allocated according to the priority. Therefore, the amount of data to be transmitted is reduced by the priority change transmission process, and the priority change transmission process is performed. The required time is shortened.

また、この追加した送信処理の中で優先度の高いデータも送信が行われる。優先度の高いデータは割り当て時間が多くなっているため、この追加した送信処理で優先度の高いデータは多く送信される。その結果、データ送信自体が完了するものもある。このため、優先変更送信処理に影響される優先度の高い送信データの数やデータ量が少なくなることとなる。   In addition, data having a high priority is also transmitted in the added transmission process. Since data with high priority has a long allocation time, a lot of data with high priority is transmitted in the added transmission process. As a result, some data transmission itself is completed. For this reason, the number and data amount of transmission data with high priority affected by the priority change transmission process are reduced.

このように、優先変更送信処理の開始タイミングを、送信期限を守るための最も遅い時期として設定することにより、優先変更送信処理に必要な時間がさらに短くなる。また、優先変更送信処理に影響を受ける優先度の高い送信データの量も削減できる効果も実現できる。   In this way, by setting the start timing of the priority change transmission process as the latest time for keeping the transmission deadline, the time required for the priority change transmission process is further shortened. In addition, it is possible to realize an effect of reducing the amount of transmission data with high priority that is affected by the priority change transmission process.

その理由は、データ送信装置1において、数式2を判断条件として使用することにより、数式1を使用する場合に比べ、優先変更送信処理を開始するタイミングが遅くなる。その遅くなった時間の分だけ、優先変更送信処理を開始するまで通常の送信がより多く行われる。その多くなった送信処理で送信された送信データの分だけ、優先度の高いデータは影響を受ける送信データが少なくなり、優先度の低いデータは優先変更送信処理の対象となる送信データが少なくなるためである。   The reason is that, in the data transmission apparatus 1, the use of Equation 2 as a determination condition delays the timing for starting the priority change transmission process as compared with the case where Equation 1 is used. The normal transmission is performed more by the amount of the delayed time until the priority change transmission process is started. The amount of transmission data that is affected by the higher priority data is less affected by the amount of transmission data that has been transmitted by the increased number of transmission processes, and the data that is subject to the priority change transmission process is less for data that has a lower priority. Because.

これまでの説明は、便宜上、送信期限がある送信データが1つの場合の実施形態について行ったきたが、送信期限のある送信データが複数ある場合も同様に実現できる。例えば次のような判断および処理を行うことにより実現できる。   The description so far has been made for the embodiment in which there is one transmission data with a transmission time limit for convenience, but the same can be realized when there are a plurality of transmission data with a transmission time limit. For example, it can be realized by performing the following determination and processing.

まず、最も送信期限が近い送信データの優先変更送信処理に必要な時間を求め、現在時刻に加え(この値をT1とする)、T1とこの送信データの送信期限とから優先変更送信処理が必要かどうかの判断を行う。優先変更送信処理が必要なら、その送信データの優先変更送信処理を行う。   First, the time required for the priority change transmission process of the transmission data with the closest transmission time limit is obtained, and in addition to the current time (this value is set to T1), the priority change transmission process is required from T1 and the transmission time limit of this transmission data. Judge whether or not. If priority change transmission processing is necessary, priority change transmission processing of the transmission data is performed.

上記の送信データの優先変更処理が必要ない場合は、次の送信データの判断を行う。   If the above transmission data priority change process is not necessary, the next transmission data is determined.

その判断は、次に送信期限が近い送信データの優先変更送信処理の時間を求めT1に加え(この値をT2とする)、T2とこの送信データの送信期限とから優先変更送信処理が必要であるかどうかの判断を行う。優先変更送信処理が必要なら、最初の送信データとこの送信データの優先変更送信処理を両方とも行う。   For this determination, the time for the priority change transmission process for the transmission data with the next nearest transmission deadline is obtained and added to T1 (this value is set to T2), and the priority change transmission process is required from T2 and the transmission deadline for this transmission data. Judge whether there is. If priority change transmission processing is necessary, both the first transmission data and the priority change transmission processing of this transmission data are performed.

もし、この送信データでも優先変更送信処理が必要ないと判断された場合は、同様の判断処理を繰り返す。   If it is determined that the priority change transmission process is not necessary for this transmission data, the same determination process is repeated.

つまり、次に送信期限が近い送信データを選び、ひとつ前の送信データで計算した時間(T1やT2相当)にその送信データの優先変更送信処理の時間を加えた時間とその送信データの送信期限とから優先変更送信処理が必要かどうかの判断を行う。優先変更送信処理が必要な場合は、最初の送信データからその送信データまでの優先変更送信処理を行う。   In other words, the transmission data with the next transmission deadline is selected, the time calculated by the previous transmission data (equivalent to T1 or T2), and the transmission data prioritization transmission processing time plus the transmission data transmission deadline. To determine whether or not priority change transmission processing is necessary. When priority change transmission processing is necessary, priority change transmission processing from the first transmission data to the transmission data is performed.

この処理を、優先変更送信処理が必要な送信データが見つかるまで繰り返し、見つかれば最初の送信データからその送信データまでの優先変更送信処理を行う。   This process is repeated until transmission data requiring priority change transmission processing is found, and if found, priority change transmission processing from the first transmission data to the transmission data is performed.

そして、優先変更送信処理を行った場合は、新しい状態で最初から上記処理を繰り返す。   When the priority change transmission process is performed, the above process is repeated from the beginning in a new state.

一方、優先変更送信処理の必要な送信データが1つも見つからなかった場合は、現状では優先変更送信処理が必要ないため、通常の処理の継続する。   On the other hand, if no transmission data requiring priority change transmission processing is found, the priority change transmission processing is not necessary at present, and the normal processing is continued.

データ送信装置1において、このような処理に実施することにより、送信期限がある送信データが複数有っても、送信期限を守った送信を実現することができる。   By performing such processing in the data transmission device 1, even if there are a plurality of transmission data with a transmission time limit, it is possible to realize transmission that observes the transmission time limit.

なお、図5に示すように、データ送信装置1として、送信記憶部3を備えず、図示しない上位装置などからデータを受け取って送信するような実施形態も可能である。
(第2の実施形態)
次に、本発明の第2の実施形態について図6を参照して説明する。
As shown in FIG. 5, an embodiment in which the data transmission device 1 does not include the transmission storage unit 3 and receives and transmits data from a host device (not shown) is also possible.
(Second Embodiment)
Next, a second embodiment of the present invention will be described with reference to FIG.

図6は、第2の実施形態に係るデータ送信装置6の構成を示すブロック図である。   FIG. 6 is a block diagram illustrating a configuration of the data transmission device 6 according to the second embodiment.

図6のデータ送信装置6において、第1の実施形態に係るデータ送信装置1と同等の部分は同じ符号が付してあり、その詳細な説明は省略する。   In the data transmission device 6 of FIG. 6, parts that are the same as those of the data transmission device 1 according to the first embodiment are given the same reference numerals, and detailed descriptions thereof are omitted.

本実施形態に係るデータ送信装置6は、3個の送信部(送信部81、送信部82、送信部83)それぞれ独立に電源を供給する送信電源部7を備えた点が第1の実施形態におけるデータ送信装置1と異なる。送信電源部7は、送信制御部2の指示により、送信部81〜83への供給電源を個別に停止・再開することが出来るようになっている。   The data transmission device 6 according to the present embodiment includes a transmission power supply unit 7 that supplies power to each of the three transmission units (transmission unit 81, transmission unit 82, and transmission unit 83) independently of the first embodiment. This is different from the data transmission device 1 in FIG. The transmission power supply unit 7 can individually stop and restart the power supply to the transmission units 81 to 83 according to an instruction from the transmission control unit 2.

この構成により、送信制御部2は、送信電源部7に指示を出して、送信部81〜83のうちの使用しない送信部の電源供給を止めることができる。また、使用を再開する場合についても、送信制御部2は、送信電源部7に指示を出して、送信部81〜83のなかで使用を再開する送信部への電源の供給を再開させ、使用可能とすることができる。   With this configuration, the transmission control unit 2 can issue an instruction to the transmission power supply unit 7 and stop the power supply of the unused transmission units among the transmission units 81 to 83. Also, when the use is resumed, the transmission control unit 2 issues an instruction to the transmission power supply unit 7 to resume the supply of power to the transmission unit that resumes the use among the transmission units 81 to 83, Can be possible.

このように送信部に供給される電源を制御する構成により、使用しない送信部での電力消費が無くなり、送信部の送信動作を待機状態とさせる第1の実施形態の場合に比べて、さらなる消費電力の削減効果を実現出来る。   Thus, the configuration for controlling the power supplied to the transmission unit eliminates power consumption in the unused transmission unit, and further consumption compared to the case of the first embodiment in which the transmission operation of the transmission unit is set in a standby state. The power reduction effect can be realized.

その理由は、本実施形態のデータ送信装置6が、送信部の電源供給を停止することにより、使用しない送信部の待機電力をゼロとすることが出来るためである。   The reason is that the data transmission device 6 of the present embodiment can reduce the standby power of the unused transmission unit to zero by stopping the power supply of the transmission unit.

(第3の実施形態)
次に、本発明の第3の実施形態について図7及び図8を参照して説明する。
(Third embodiment)
Next, a third embodiment of the present invention will be described with reference to FIGS.

図7は、第3の実施形態に係るデータ送信装置8及びデータ受信装置9の構成を示すブロック図である。   FIG. 7 is a block diagram illustrating configurations of the data transmission device 8 and the data reception device 9 according to the third embodiment.

図7のデータ送信装置8において、第2の実施形態に係るデータ送信装置6と同等の部分は同じ符号が付してあり、その詳細な説明は省略する。   In the data transmission device 8 of FIG. 7, the same parts as those of the data transmission device 6 according to the second embodiment are denoted by the same reference numerals, and detailed description thereof is omitted.

データ送信装置8は、送信ホスト18から送信データや優先度情報を受け取り、第1および2の実施形態における処理と同様の処理により、送信データをデータ受信装置9に送る。データ受信装置9は、データ送信装置8から受け取ったデータを受信ホスト19に渡す。   The data transmission device 8 receives transmission data and priority information from the transmission host 18 and sends the transmission data to the data reception device 9 by the same processing as the processing in the first and second embodiments. The data receiving device 9 passes the data received from the data transmitting device 8 to the receiving host 19.

本実施形態におけるデータ送信装置8は、送信ホスト18と接続されている点と、データ受信装置9と情報をやり取りする通信部15を備えている点が第2の実施形態におけるデータ送信装置6と異なる。   The data transmission device 8 in the present embodiment is different from the data transmission device 6 in the second embodiment in that the data transmission device 8 is connected to the transmission host 18 and includes a communication unit 15 that exchanges information with the data reception device 9. Different.

次に、データ受信装置9の構成を説明する。データ受信装置9は、送信部81〜83に対応する3個の受信部(受信部91、受信部92、受信部93)を備える。さらにデータ送信装置9は、データ受信装置9の全体を制御する受信制御部12、受信データを一次保存する受信記憶部17、受信部91〜93に電源を供給する受信電源部14、および、通信部15に対応する通信部16を備えている。受信制御部12は、通信部16を経由してデータ送信装置8から受け取った指示を基に受信電源部14を制御してデータ受信に使用しない受信部91〜93への電源の供給を停止したり、使用を開始する受信部91〜93への電源の供給再開を行う。受信部91〜93で受信したデータは受信記憶部17に一時保存され、その後、受信ホスト19に渡される。   Next, the configuration of the data receiving device 9 will be described. The data reception device 9 includes three reception units (reception unit 91, reception unit 92, and reception unit 93) corresponding to the transmission units 81 to 83. Furthermore, the data transmission device 9 includes a reception control unit 12 that controls the entire data reception device 9, a reception storage unit 17 that primarily stores received data, a reception power supply unit 14 that supplies power to the reception units 91 to 93, and a communication A communication unit 16 corresponding to the unit 15 is provided. The reception control unit 12 controls the reception power supply unit 14 based on an instruction received from the data transmission device 8 via the communication unit 16 and stops supplying power to the reception units 91 to 93 that are not used for data reception. Or the supply of power to the receiving units 91 to 93 that start use is resumed. Data received by the reception units 91 to 93 is temporarily stored in the reception storage unit 17 and then transferred to the reception host 19.

続いて、本実施形態に係るデータ送信装置8とデータ受信装置9との動作について図8を参照して説明する。   Next, operations of the data transmission device 8 and the data reception device 9 according to the present embodiment will be described with reference to FIG.

以下では、優先変更送信処理を中心に説明する。   Hereinafter, the priority change transmission process will be mainly described.

まず、第1の実施形態に関して説明したように、本実施形態にかかるデータ送信装置8の送信制御部2は、データ送信の処理の中で優先変更送信処理の必要が発生したかどうかを判断する(ステップ701)。優先変更送信処理が必要でなければ、そのままデータ送信を継続する(ステップ705)。   First, as described in relation to the first embodiment, the transmission control unit 2 of the data transmission device 8 according to the present embodiment determines whether or not the priority change transmission process is necessary during the data transmission process. (Step 701). If priority change transmission processing is not required, data transmission is continued as it is (step 705).

一方、使用する送信部を増やす必要がある場合、送信制御部2は、送信部81〜83のうち必要な送信部の使用を再開するため、送信電源部7に指示を出して使用する送信部への電源の供給を再開し、必要な送信部が動作できるようにする(ステップ702)。続いて、送信制御部2は、データ受信装置9に、再開する受信部を指定する情報を通信部15及び通信部16を経由して通知する(ステップ703)。なお、本実施形態では、使用する受信部の情報などのやり取りのために送信部及び受信部とは別に通信部15及び通信部16を設けているが、データの送信に使用している送信部及び受信部を情報のやり取りにも使用するように構成することも可能である。   On the other hand, when it is necessary to increase the number of transmission units to be used, the transmission control unit 2 sends out an instruction to the transmission power supply unit 7 to use the necessary transmission unit among the transmission units 81 to 83, and uses the transmission unit. The supply of power to the network is resumed so that necessary transmission units can operate (step 702). Subsequently, the transmission control unit 2 notifies the data receiving device 9 of information specifying the receiving unit to be resumed via the communication unit 15 and the communication unit 16 (step 703). In this embodiment, the communication unit 15 and the communication unit 16 are provided separately from the transmission unit and the reception unit for exchanging information of the reception unit to be used, but the transmission unit used for data transmission. It is also possible to configure the receiving unit to be used for exchanging information.

データ受信装置9の受信制御部12は、データ送信装置8からの通知が有ったかどうかを判断する(ステップ711)。もし通知が無い場合はデータ受信を継続する(ステップ714)。   The reception control unit 12 of the data reception device 9 determines whether or not there is a notification from the data transmission device 8 (step 711). If there is no notification, data reception is continued (step 714).

一方、もし通知があった場合、受信制御部12は、受信電源部14に指示を出して、その通知で指定された受信部への電源の供給を再開して、その受信部によるデータの受信を可能とする(ステップ712)。受信制御部12は、受信部での受信可能を確認後、完了通知を通信部16から通信部15を経由してデータ送信装置8に返し(ステップ713)、データ受信を継続する(ステップ714)。   On the other hand, if there is a notification, the reception control unit 12 issues an instruction to the reception power supply unit 14, resumes the supply of power to the reception unit specified by the notification, and receives data by the reception unit. (Step 712). After confirming that reception is possible at the reception unit, the reception control unit 12 returns a completion notification from the communication unit 16 to the data transmission device 8 via the communication unit 15 (step 713), and continues data reception (step 714). .

データ送信装置8の送信制御部2は、データ受信装置9からの完了通知を受け取ると(ステップ704)、新たに使用可能となった送信部も使用してデータ受信装置9へのデータ送信を行う(ステップ705)。   When the transmission control unit 2 of the data transmission device 8 receives the completion notification from the data reception device 9 (step 704), the transmission control unit 2 transmits data to the data reception device 9 also using the newly available transmission unit. (Step 705).

この処理をデータ終了まで繰り返す(ステップ706,715)。   This process is repeated until the end of data (steps 706 and 715).

このように本実施形態は、データ送信装置8からデータ受信装置9に、必要となった受信部を通知して受信部の使用の再開をすることが実現できる構成となっている。この構成により、データ受信装置9においても消費電力を抑えつつ、優先変更送信処理に後続する優先度の高いデータ送信の待ち時間を増やさずに、優先度の低いデータの優先変更送信処理を行うといった効果を実現できる。   As described above, the present embodiment is configured such that the data transmission device 8 can notify the data reception device 9 of the necessary reception unit and resume the use of the reception unit. With this configuration, the data reception device 9 also performs the priority change transmission process for low priority data without increasing the waiting time for high priority data transmission subsequent to the priority change transmission process while reducing power consumption. The effect can be realized.

その理由は、本実施形態のデータ送信装置8が、データ受信装置9に使用しない受信部の指示を行うことにより、データ受信装置9の使用しない受信部の電源供給も停止し、消費電力を削減することが出来るためである。   The reason is that the data transmission device 8 of the present embodiment instructs the reception unit not used for the data reception device 9 to stop the power supply of the reception unit not used by the data reception device 9, thereby reducing the power consumption. It is because it can do.

さらに、データ送信装置8は、送信ホスト18からの指示により、使用する送信部を設定するように構成してもよい。この場合には、送信ホスト18は、使用する送信部の指定をデータ送信装置8への命令などで行い、その命令に従って、データ送信装置8が動作するように構成すればよい。   Further, the data transmission device 8 may be configured to set a transmission unit to be used according to an instruction from the transmission host 18. In this case, the transmission host 18 may be configured so that the transmission unit to be used is designated by a command to the data transmission device 8 and the data transmission device 8 operates according to the command.

このように構成することにより、送信ホスト18が送信ホスト18を含めたシステム全体のよりきめ細かな消費電力管理が出来るといった効果も達成できる。   With this configuration, it is possible to achieve an effect that the transmission host 18 can perform finer power consumption management of the entire system including the transmission host 18.

その理由は、送信ホスト18が、システム全体の処理状況などを勘案して使用するデータ送信装置8の送信部およびデータ受信装置9の受信部の管理を行うことができるためである。   This is because the transmission host 18 can manage the transmission unit of the data transmission device 8 and the reception unit of the data reception device 9 that are used in consideration of the processing status of the entire system.

さらに、送信ホスト18は、時間管理、例えば深夜帯など電量費用の安いときは使用する送信部の数を増やすようにし、電力費用が高くネットワークが込みやすい昼間は使用する送信部の数を減らすような管理を行ってもよい。   Further, the transmission host 18 increases the number of transmission units to be used when the power cost is low, such as time management, for example, at midnight, and reduces the number of transmission units to be used during the daytime when the power cost is high and the network is easily connected. Management may be performed.

なお、使用する送信部の設定は、上記のように送信ホスト18から設定できるだけでなく、使用者が直接データ送信装置8を操作して設定できるようにしてもよい。   The transmission unit to be used can be set not only from the transmission host 18 as described above, but also can be set by the user directly operating the data transmission device 8.

また、送信ホスト18からの指示により、データ送信装置8で優先変更送信処理を開始出来るように構成することもできる。このような構成により、送信ホスト18は、データ送信装置8とは別の管理項目により送信期限を管理したり、優先度の高い送信データへの影響管理を行うことができる効果も実現される。   Further, it is also possible to configure so that the priority changing transmission process can be started by the data transmission device 8 in accordance with an instruction from the transmission host 18. With such a configuration, the transmission host 18 can also manage the transmission time limit using a management item different from that of the data transmission device 8 and can also manage the influence on the transmission data with high priority.

その理由は、送信ホスト18が、スケジュール管理などの結果、優先変更送信処理の影響を受けたくないような優先度が高い送信データの発生が見込まれる場合などに、前もって優先変更送信処理を実行しておくことができるためである。   The reason is that the transmission host 18 executes the priority change transmission process in advance when, for example, schedule management or the like is expected to generate high-priority transmission data that does not want to be affected by the priority change transmission process. It is because it can be kept.

(第4の実施形態)
次に、本発明の第4の実施形態について図9〜図11を参照して説明する。
(Fourth embodiment)
Next, a fourth embodiment of the present invention will be described with reference to FIGS.

図9は、第4の実施形態に係るデータ送信装置20及びデータ受信装置40の構成を示すブロック図である。   FIG. 9 is a block diagram illustrating configurations of the data transmission device 20 and the data reception device 40 according to the fourth embodiment.

図9を参照すると、データ送信装置20は、送信制御部21と、送信部251及び送信部252と、送信電源部26から構成されている。   Referring to FIG. 9, the data transmission device 20 includes a transmission control unit 21, a transmission unit 251, a transmission unit 252, and a transmission power supply unit 26.

送信制御部21は、時刻を監視する時間監視部22を備える。さらに送信制御部21は、必要に応じて送信命令制御部24に命令を発行する送信命令割込み部23と、送信命令割込み部23からの命令を受けて送信部251および252ならびに送信電源部26を制御する送信命令制御部24とから構成されている。   The transmission control unit 21 includes a time monitoring unit 22 that monitors time. Further, the transmission control unit 21 sends a transmission command interrupt unit 23 that issues a command to the transmission command control unit 24 as needed, and transmits the transmission units 251 and 252 and the transmission power supply unit 26 in response to a command from the transmission command interrupt unit 23. The transmission command control unit 24 is controlled.

時間監視部22に設定される監視時間(Twatch)は、例えば次の数式3のように算出することができる。   The monitoring time (Twatch) set in the time monitoring unit 22 can be calculated as, for example, the following Equation 3.

Figure 0005345902
Figure 0005345902

ここでの、送信期限(Tout)は、現在の時間と図3に記載の送信期限との差分として求めてもよいし、それに限らず、データ送信装置20が所定の処理によりタイムアウト時間として設定してもよい。   Here, the transmission time limit (Tout) may be obtained as a difference between the current time and the transmission time limit illustrated in FIG. 3, and is not limited thereto, and the data transmission device 20 sets a time-out time by a predetermined process. May be.

例えば、上位装置などデータ送信に関連する装置の中にタイムアウト時間を設定している装置がある場合は、その装置のタイムアウト時間を参照して決定してもよい。   For example, when there is a device that sets a timeout time among devices related to data transmission such as a host device, the determination may be made with reference to the timeout time of the device.

データ送信に必要な時間(Tsend)は、通常のデータ送信に必要な時間であり、送信データ量をデータの優先度により割当てられた送信部の送信性能(単位時間当たりの送信データ量)で割ることにより求めることが出来る。   The time required for data transmission (Tsend) is the time required for normal data transmission, and the transmission data amount is divided by the transmission performance (transmission data amount per unit time) of the transmitter allocated according to the priority of the data. Can be obtained.

送信設定時間(Tcom)は、データ送信装置20が送信を行うために必要な処理の時間であり、データ送信装置20の単独での処理に加え、データ受信装置40との間で情報のやり取り処理やホスト装置など他の装置とのやり取りに必要な処理の合計時間となる。   The transmission set time (Tcom) is a processing time required for the data transmission device 20 to perform transmission. In addition to the processing of the data transmission device 20 alone, information exchange processing with the data reception device 40 is performed. And the total processing time required for communication with other devices such as the host device.

送信命令制御部24は、上記の処理に加え、送信命令割込み部23から受け取った命令または命令を受け取った旨の通知(以下、命令通知とする)をデータ受信装置40に送付することにより、データ受信装置40の受信部の状態変更も行う。   In addition to the processing described above, the transmission command control unit 24 sends a command received from the transmission command interrupt unit 23 or a notification that the command has been received (hereinafter referred to as command notification) to the data receiving device 40, thereby The state of the receiving unit of the receiving device 40 is also changed.

送信部251および送信部252は、送信命令制御部24に指示されて送信データの送信を行う。また、本実施形態では、送信部251が常時通電状態とし、送信部252に対して電源供給の停止・再開が行われるよう送信電源部26は電源の供給制御を行うものとする。   The transmission unit 251 and the transmission unit 252 are instructed by the transmission command control unit 24 to transmit transmission data. Further, in the present embodiment, it is assumed that the transmission unit 251 is always energized, and the transmission power supply unit 26 performs power supply control so that power supply to the transmission unit 252 is stopped and restarted.

送信電源部26は、送信電源確認部27と、送信電源制御部28と、送信電源供給部29を備えている。   The transmission power supply unit 26 includes a transmission power supply confirmation unit 27, a transmission power supply control unit 28, and a transmission power supply unit 29.

送信電源確認部は27は、送信命令制御部24の指示により送信部252の電源状態を確認し、その結果を送信命令制御部24に報告する。送信電源供給部29は、送信部251および送信部252に電源を供給し、送信電源制御部28の指示により、送信部252の電源の供給を停止したり再開したりする。送信電源制御部28は、送信命令制御部24からの指示により送信電源供給部29から送信部242に供給される電源を制御する。   The transmission power supply confirmation unit 27 confirms the power state of the transmission unit 252 according to an instruction from the transmission command control unit 24 and reports the result to the transmission command control unit 24. The transmission power supply unit 29 supplies power to the transmission unit 251 and the transmission unit 252, and stops or restarts the supply of power to the transmission unit 252 according to an instruction from the transmission power supply control unit 28. The transmission power control unit 28 controls the power supplied from the transmission power supply unit 29 to the transmission unit 242 according to an instruction from the transmission command control unit 24.

なお、ここでは、送信電源確認部27は送信部252の電源の状態を確認しているが、送信電源供給部29の状態や送信電源制御部28の指示状態を確認するようにしてもよい。   Here, although the transmission power supply confirmation unit 27 confirms the power state of the transmission unit 252, the state of the transmission power supply unit 29 and the instruction state of the transmission power supply control unit 28 may be confirmed.

また、本実施形態の送信部251は常時通電とし電源状態を変更しないため、図8では、その電源供給線を破線で示している。さらに、送信部251は、送信命令制御部24によるデータ受信装置40への命令通知およびデータ受信装置40の受信部の状態(以下、受信通知とする)の受信を行うため、双方向通信が可能となっている。   In addition, since the transmission unit 251 of the present embodiment is always energized and does not change the power state, the power supply line is indicated by a broken line in FIG. Furthermore, since the transmission unit 251 performs command notification to the data reception device 40 by the transmission command control unit 24 and reception of the state of the reception unit of the data reception device 40 (hereinafter referred to as reception notification), bidirectional communication is possible. It has become.

一方、データ受信装置40は、受信制御部41と、受信部451および受信部452と、受信電源部46とから構成されている。   On the other hand, the data receiving device 40 includes a reception control unit 41, a reception unit 451 and a reception unit 452, and a reception power supply unit 46.

データ送信装置20からの送信データは、受信部451および受信部452で受信される。また、受信部451は、データ送信装置20からの命令通知を受け取ったり、データ受信装置40の受信通知を報告するため、双方向通信が可能となっている。   Transmission data from the data transmission device 20 is received by the reception unit 451 and the reception unit 452. In addition, since the receiving unit 451 receives a command notification from the data transmitting device 20 or reports a reception notification from the data receiving device 40, two-way communication is possible.

受信制御部41は、データ送信装置20から送付されてきた命令通知を受信部451が受け取ったデータの中から取り出す受信命令認識部43と、受け取った命令通知を解析して送信部452への電源供給の停止・再開などの制御を行う受信命令制御部44とを備える。   The reception control unit 41 receives a command notification sent from the data transmission device 20 from the data received by the reception unit 451, analyzes the received command notification, and supplies power to the transmission unit 452. And a reception command control unit 44 for controlling supply stop / restart.

受信電源部46は、受信部452の電源状態を確認し結果を報告する受信電源確認部47と、受信電源供給部49に電源供給の停止・再開の指示を行う受信電源制御部48と、受信部451および受信部452に電源を供給する受信電源供給部49とを備えている。これらの動作は、受信命令制御部44からの指示により行われる。なお、受信電源部46における電源の確認は、データ送信装置20の送信電源部26と同様に、受信電源制御部48や電源電源供給部49を確認するように構成してもよい。   The reception power supply unit 46 confirms the power supply state of the reception unit 452 and reports the result, a reception power supply control unit 48 that instructs the reception power supply unit 49 to stop and restart power supply, A reception power supply unit 49 that supplies power to the unit 451 and the reception unit 452. These operations are performed according to instructions from the reception command control unit 44. The confirmation of the power supply in the reception power supply unit 46 may be configured to check the reception power supply control unit 48 and the power supply unit 49 as in the transmission power supply unit 26 of the data transmission device 20.

また、受信部451も常時通電としているため、図8では、その電源供給線を破線で示している。   Further, since the receiving unit 451 is always energized, the power supply line is shown by a broken line in FIG.

受信命令制御部44は、上記の処理に加え、受信部452の状態を確認し後、データ送信装置20に受信通知を報告する。   In addition to the above processing, the reception command control unit 44 confirms the state of the reception unit 452 and then reports a reception notification to the data transmission device 20.

次に、本実施形態における動作について送信命令制御部24および受信命令制御部44を中心に図10及び図11を参照して説明する。   Next, the operation in the present embodiment will be described with reference to FIGS. 10 and 11 focusing on the transmission command control unit 24 and the reception command control unit 44. FIG.

まず、図10を用いて優先度の低いデータの送信開始までを説明する。   First, the process up to the start of transmission of low priority data will be described with reference to FIG.

なお、以下では、優先度の低いデータ送信は、最初、送信部251と受信部451との対を使用し、優先変更送信処理では、それに加え送信部252と受信部452の対も使用するものとして説明する。   In the following, low-priority data transmission uses a pair of the transmission unit 251 and the reception unit 451 first, and in addition to the priority change transmission process, a pair of the transmission unit 252 and the reception unit 452 is also used. Will be described.

優先度が低い送信データの送信の場合、時間監視部22に監視時間を設定後、送信命令割込み手段23は、低優先命令231を送信命令制御部24に発行する(ステップ901)。低優先命令231を受け取った送信命令制御部24は、送信部251のみを使用する送信であるため、送信部252への電源供給を停止させる。そのため、送信命令制御部24は、送信電源確認部27を使用して送信部252の電源状態を確認する(ステップ902)。もし、送信部252に電源を供給している場合(ステップ903)、送信命令制御部24は、送信電源制御部28に指示して送信電源供給部29から送信部252への電源供給を停止させる(ステップ904)。   In the case of transmission of low-priority transmission data, after setting the monitoring time in the time monitoring unit 22, the transmission command interrupt unit 23 issues a low priority command 231 to the transmission command control unit 24 (step 901). The transmission command control unit 24 that has received the low priority command 231 stops the power supply to the transmission unit 252 because the transmission command control unit 24 uses only the transmission unit 251 for transmission. Therefore, the transmission command control unit 24 confirms the power state of the transmission unit 252 using the transmission power supply confirmation unit 27 (step 902). If power is being supplied to the transmission unit 252 (step 903), the transmission command control unit 24 instructs the transmission power control unit 28 to stop power supply from the transmission power supply unit 29 to the transmission unit 252. (Step 904).

さらに、送信命令制御部24は、送信部251を経由して、データ受信装置40に優先度が低いデータの送信である旨の命令通知を送付する(ステップ905)。   Further, the transmission command control unit 24 sends a command notification to the data reception device 40 via the transmission unit 251 indicating that the transmission of data with low priority is performed (step 905).

データ受信装置40では、その命令通知を受信部451を介して受信し、受信命令認識部43で命令通知を取出し、受信命令制御部44に渡す(ステップ906)。受信命令制御部44は、命令通知の内容が優先度の低いデータの送信であることから、受信部452を使用しないことを認識し、受信部452への電源供給を停止する。具体的には、まず、受信電源確認部47を使用し受信部452の電源状態を確認し(ステップ907)、電源が供給されているならば(ステップ908)受信電源制御部48に指示して受信電源供給部49から受信部452への電源供給を停止する(ステップ909)。   In the data receiving device 40, the command notification is received via the receiving unit 451, the command notification is extracted by the reception command recognizing unit 43, and is passed to the reception command control unit 44 (step 906). The reception command control unit 44 recognizes that the reception unit 452 is not used because the content of the command notification is transmission of low priority data, and stops the power supply to the reception unit 452. Specifically, first, the power state of the reception unit 452 is confirmed using the reception power confirmation unit 47 (step 907). If power is supplied (step 908), the reception power control unit 48 is instructed. The power supply from the reception power supply unit 49 to the reception unit 452 is stopped (step 909).

なお、本実施形態では、優先度の低いデータ送信は、常に電源が供給されている送信部251と受信部451との対を使用して行われるため、データ送信装置20によるデータ送信開始において、データ受信装置40の受信部の確認処理は必要としない。そのため、本実施形態の説明では、データ受信装置40からの受信通知を省略しているが、受信通知を確認してから送信を開始するようにしても、勿論よい。   In the present embodiment, low-priority data transmission is always performed using a pair of the transmission unit 251 and the reception unit 451 to which power is supplied. Therefore, in the data transmission start by the data transmission device 20, The confirmation process of the receiving unit of the data receiving device 40 is not necessary. Therefore, in the description of the present embodiment, the reception notification from the data receiving device 40 is omitted, but it is of course possible to start transmission after confirming the reception notification.

この後は、時間監視部22で時間が無くなったことを検出するまで、データ送信装置20とデータ受信装置40とは、送信部251と受信部451を使用したデータ送信を行う(ステップ910)。   Thereafter, the data transmission device 20 and the data reception device 40 perform data transmission using the transmission unit 251 and the reception unit 451 until the time monitoring unit 22 detects that the time has run out (step 910).

続いて、時間監視部22で送信時間が無くなったことを検出した場合の動作について図11を参照して説明する。   Next, an operation when the time monitoring unit 22 detects that the transmission time has run out will be described with reference to FIG.

時間監視部22は、時間が無くなったことを検出した場合、その旨を送信命令割込み部23に通知する。時間が無くなった通知を受けた送信命令割込み部23は、送信命令制御部24に優先変更命令232を通知する(ステップ1001)。優先変更命令232を受け取った送信命令制御部24は、優先変更送信処理を開始する。まず、送信命令制御部24は、送信電源確認部27を使用して送信部252の電源状態の確認する(ステップ1002)。もし、送信部252への電源供給が停止している場合は(ステップ1003)、送信電源制御部28に指示して送信電源供給部29から送信部252への電源供給を再開させる(ステップ1004)。その後、送信命令制御部24は、必要ならば送信部252の設定を行う。   When the time monitoring unit 22 detects that the time has run out, the time monitoring unit 22 notifies the transmission command interrupt unit 23 accordingly. Receiving the notification that time has run out, the transmission command interrupt unit 23 notifies the transmission command control unit 24 of the priority change command 232 (step 1001). The transmission command control unit 24 that has received the priority change command 232 starts the priority change transmission process. First, the transmission command control unit 24 uses the transmission power supply confirmation unit 27 to confirm the power state of the transmission unit 252 (step 1002). If the power supply to the transmission unit 252 is stopped (step 1003), the transmission power supply control unit 28 is instructed to restart the power supply from the transmission power supply unit 29 to the transmission unit 252 (step 1004). . Thereafter, the transmission command control unit 24 sets the transmission unit 252 if necessary.

さらに、送信命令制御部24は、優先変更送信処理の命令通知をデータ受信装置40に通知する(ステップ1005)。   Further, the transmission command control unit 24 notifies the data reception device 40 of a command notification of priority change transmission processing (step 1005).

この優先変更送信処理の命令通知を受けたデータ受信装置40の受信命令制御部44は(ステップ1006)、受信電源確認部47を使用して受信部452の電源状態を確認する(ステップ1007)。電源が供給されていない場合は(ステップ1008)、受信電源制御部48に指示を出して、受信電源供給49から受信部452への電源供給を再開させる(ステップ1009)。さらに、受信命令制御部44は必要に応じて、受信部452の設定を行う。(本実施形態ではこの設定を受信命令認識部43経由で行っているが、受信命令制御部44から直接受信部452を設定する構成も可能である。)受信命令制御部44は、受信部452の受信が可能となったら、データ送信装置20に受信可能となったことを示す受信通知を返却する(ステップ1010)。   The reception command control unit 44 of the data receiving device 40 that has received this priority change transmission process command notification (step 1006) uses the reception power supply confirmation unit 47 to confirm the power state of the reception unit 452 (step 1007). If the power is not supplied (step 1008), an instruction is issued to the reception power controller 48 to restart the power supply from the reception power supply 49 to the receiver 452 (step 1009). Further, the reception command control unit 44 sets the reception unit 452 as necessary. (In the present embodiment, this setting is performed via the reception command recognition unit 43, but a configuration in which the reception unit 452 is set directly from the reception command control unit 44 is also possible.) The reception command control unit 44 is a reception unit 452. Is received, the reception notification indicating that reception is possible is returned to the data transmission device 20 (step 1010).

データ受信装置40から受信通知を受け取ったデータ送信装置20は、送信部251と受信部451との対に加え、送信部252と受信部452との対も使用した送信データの送信を行う(ステップ1011)。   The data transmission device 20 that has received the reception notification from the data reception device 40 transmits transmission data using a pair of the transmission unit 252 and the reception unit 452 as well as a pair of the transmission unit 251 and the reception unit 451 (step 1011).

このように、本実施形態では、時間監視と連動した命令および命令通知などを使用するという簡単な構成により優先変更送信処理を実現でき、優先変更送信処理に後続する優先度の高い送信データの送信の待ち時間を抑えるという効果が得られる。   As described above, in this embodiment, the priority change transmission process can be realized by a simple configuration that uses a command and instruction notification linked with time monitoring, and transmission of transmission data with high priority following the priority change transmission process. The effect of suppressing the waiting time is obtained.

その理由は、本実施形態のデータ送信装置20が、命令割込み部23からの命令により命令制御部24が動作を変更でききるためである。さらに、データ送信装置20からの命令通知とデータ受信装置40の受信通知により、データ送信装置20とデータ受信装置40が協調した動作が出来るためである。   This is because the command control unit 24 can change the operation of the data transmission device 20 of the present embodiment in accordance with a command from the command interrupt unit 23. Furthermore, this is because the data transmission device 20 and the data reception device 40 can perform a coordinated operation based on a command notification from the data transmission device 20 and a reception notification from the data reception device 40.

なお、本説明では、各部を機能ブロックとして説明しているが、これらをデータ送信装置20及びデータ受信装置40に組み込まれたプログラムとして構成することも、もちろん可能である。   In the present description, each unit is described as a functional block. However, it is of course possible to configure these as programs incorporated in the data transmission device 20 and the data reception device 40.

1、6、8 データ送信装置
2 送信制御部
3 送信記憶部
4 送信データ
51、52、53 送信部
7 送信電源部
81、82、83 送信部
15、16 通信部
9 データ受信装置
91、92、93 受信部
12 受信制御部
14 受信電源部
17 受信記憶部
18 送信ホスト
19 受信ホスト
20 データ送信装置
21 送信制御部
22 時間監視部
23 送信命令割込み部
24 送信命令制御部
251、252 送信部
26 送信電源部
27 送信電源確認部
28 送信電源制御部
29 送信電源供給部
40 データ受信装置
41 受信制御部
43 受信命令認識部
44 受信命令制御部
451、452 受信部
46 受信電源部
47 受信電源確認部
48 受信電源制御部
49 受信電源供給部
1, 6, 8 Data transmission device 2 Transmission control unit 3 Transmission storage unit 4 Transmission data 51, 52, 53 Transmission unit 7 Transmission power supply units 81, 82, 83 Transmission unit 15, 16 Communication unit 9 Data reception devices 91, 92, 93 reception unit 12 reception control unit 14 reception power supply unit 17 reception storage unit 18 transmission host 19 reception host 20 data transmission device 21 transmission control unit 22 time monitoring unit 23 transmission command interrupt unit 24 transmission command control unit 251, 252 transmission unit 26 transmission Power supply unit 27 Transmission power supply confirmation unit 28 Transmission power supply control unit 29 Transmission power supply unit 40 Data reception device 41 Reception control unit 43 Reception command recognition unit 44 Reception command control units 451 and 452 Reception unit 46 Reception power supply unit 47 Reception power supply confirmation unit 48 Reception power supply control unit 49 Reception power supply unit

Claims (22)

データを送信する複数の送信部と、
データの送信開始時に、当該データを送信するために前記複数の送信部のうちの少なくとも一つを当該データの送信のために割り当て、データの送信開始後に、所定の条件を満たした場合に、前記送信開始時に当該データの送信のために割り当てられた送信部の個数よりも多くの個数の送信部を当該データの送信のために割り当てる制御部とを備え
前記データには優先度が設定され、該優先度の値に応じて当該データの送信のために割り当てるべき送信部の個数が決定され、
前記データに送信完了期限が設定されている場合に、該送信完了期限までに当該データの送信が完了しないと予測されるときには、当該データに設定された優先度に応じて割り当てられた送信部の個数より多くの個数の送信部を当該データに割り当てることを特徴とするデータ送信装置。
A plurality of transmission units for transmitting data;
When transmitting data, at least one of the plurality of transmitting units is allocated for transmitting the data in order to transmit the data, and when a predetermined condition is satisfied after the data transmission starts, A control unit that allocates a larger number of transmission units for transmission of the data than the number of transmission units allocated for transmission of the data at the start of transmission ,
A priority is set for the data, and the number of transmission units to be allocated for transmission of the data is determined according to the priority value,
When a transmission completion time limit is set for the data, if it is predicted that the transmission of the data will not be completed by the transmission completion time limit, the transmission unit assigned according to the priority set for the data A data transmission apparatus , wherein a larger number of transmission units than the number are allocated to the data.
優先度に応じて割り当てられた送信部の個数よりも多くの個数の送信部を当該データに割り当てるタイミングは、
当該送信データの優先度に応じて割り当てられた送信部の合計の送信速度と、当該データの送信残量とに基づき決定することを特徴とする請求項1に記載のデータ送信装置。
The timing of assigning a larger number of transmission units to the data than the number of transmission units allocated according to the priority,
The data transmission device according to claim 1 , wherein the data transmission device is determined based on a total transmission speed of transmission units allocated in accordance with a priority of the transmission data and a remaining transmission amount of the data.
優先度に応じて割り当てられた送信部の個数よりも多くの個数の送信部を当該データに割り当てるタイミングは、
割り当てる個数を増やした後の送信部の合計の送信速度と、当該データの送信残量とに基づき決定することを特徴とする請求項1に記載のデータ送信装置。
The timing of assigning a larger number of transmission units to the data than the number of transmission units allocated according to the priority,
The data transmission device according to claim 1 , wherein the data transmission device is determined based on a total transmission speed of the transmission unit after increasing the number of allocations and a remaining transmission amount of the data.
前記複数の送信部のうちの少なくとも一つに対しての電源供給の停止及び再開を制御する電源制御部を有し、
前記電源制御部は、該少なくとも一つの送信部にデータの送信が割り当てられていない期間には、当該少なくとも一つの送信部への電源供給を停止することを特徴とする請求項1ないし請求項3のいずれかに記載のデータ送信装置。
A power control unit that controls stop and restart of power supply to at least one of the plurality of transmission units;
The power control unit, said at least one period during which transmission is not assigned the data to the transmission section of claim 1 to claim 3, characterized in that stops the power supply to the at least one transmission unit The data transmission device according to any one of the above.
前記送信部に電源を供給する電源制御部と、
前記電源制御部による電源供給を制御する電源指示部と、
前記送信部の電源状態を確認する電源確認部と、
を備えることを特徴とする請求項1ないし請求項3のいずれかに記載のデータ送信装置。
A power controller for supplying power to the transmitter;
A power instruction unit for controlling power supply by the power control unit;
A power supply confirmation unit for confirming a power state of the transmission unit;
The data transmission device according to claim 1, further comprising:
時間を監視する時間監視部と、
時間監視部の監視結果に基づき、データの送信のために割り当てる送信部の個数を増やすことを指示する優先変更命令を発行する命令割込み部と、
前記優先変更命令により前記送信部の割り当て個数を増やす命令制御部と
を備えることを特徴とする請求項1ないし請求項5にいずれかに記載のデータ送信装置。
A time monitoring unit for monitoring time;
Based on the monitoring result of the time monitoring unit, an instruction interrupt unit that issues a priority change command that instructs to increase the number of transmission units allocated for data transmission;
The data transmission device according to claim 1, further comprising: an instruction control unit that increases an allocation number of the transmission units according to the priority change command.
上位装置からデータを受信し、前記上位装置からの命令に従って当該データの送信に使用する送信部の個数を決定することを特徴とする請求項1ないし請求項6のいずれかに記載のデータ送信装置。 7. The data transmission device according to claim 1, wherein the data transmission device receives data from a higher-level device and determines the number of transmission units used for transmission of the data according to a command from the higher-level device. . 優先度に応じて割り当てる送信部の個数を使用者が予め設定または変更できることを特徴とする請求項1ないし請求項7のいずれかに記載のデータ送信装置。 8. The data transmitting apparatus according to claim 1 , wherein a user can set or change the number of transmission units to be allocated in accordance with the priority. データを送信する複数の送信部を備えたデータ送信装置のデータの送信開始時に、当該データを送信するために前記複数の送信部のうちの少なくとも一つを当該データの送信のために割り当てるステップと、
データの送信開始後に、所定の条件を満たした場合に、前記送信開始時に当該データの送信のために割り当てられた送信部の個数よりも多くの個数の送信部を当該データの送信のために割り当てるステップと
を含み、
前記データには優先度が設定され、該優先度の値に応じて当該データの送信のために割り当てるべき送信部の個数が決定され、
前記データに送信完了期限が設定されている場合に、該送信完了期限までに当該データの送信が完了しないことを予測されたときには、当該データに設定された優先度に応じて割り当てられた送信部の個数より多くの個数の送信部を当該データに割り当てることを特徴とするデータ送信方法。
Allocating at least one of the plurality of transmission units for transmission of the data to transmit the data at the start of data transmission of a data transmission device including a plurality of transmission units for transmitting data; ,
When a predetermined condition is satisfied after data transmission starts, a larger number of transmission units are allocated for transmission of the data than the number of transmission units allocated for transmission of the data at the start of the transmission. and a step seen including,
A priority is set for the data, and the number of transmission units to be allocated for transmission of the data is determined according to the priority value,
When a transmission completion time limit is set for the data, when it is predicted that transmission of the data will not be completed by the transmission completion time limit, a transmission unit assigned according to the priority set for the data A data transmission method characterized by assigning a larger number of transmission units to the data .
優先度に応じて割り当てられた送信部の個数よりも多くの個数の送信部を当該データに割り当てるタイミングは、
当該送信データの優先度に応じて割り当てられた送信部の合計の送信速度と、当該データの送信残量とに基づき決定されることを特徴とする請求項9に記載のデータ送信方法。
The timing of assigning a larger number of transmission units to the data than the number of transmission units allocated according to the priority,
The data transmission method according to claim 9 , wherein the data transmission method is determined based on a total transmission speed of the transmission units allocated in accordance with the priority of the transmission data and a remaining transmission amount of the data.
優先度に応じて割り当てられた送信部の個数よりも多くの個数の送信部を当該データに割り当てるタイミングは、
割り当てる個数を増やした後の送信部の合計の送信速度と、当該データの送信残量とに基づき決定されることを特徴とする請求項9に記載のデータ送信方法。
The timing of assigning a larger number of transmission units to the data than the number of transmission units allocated according to the priority,
The data transmission method according to claim 9 , wherein the data transmission method is determined based on a total transmission speed of the transmission unit after increasing the number to be allocated and a remaining transmission amount of the data.
前記複数の送信部のうちの少なくとも一つに送信が割り当てられていない期間には、当該少なくとも一つの送信部への電源供給を停止することを特徴とする請求項9ないし請求項11のいずれかに記載のデータ送信方法。 The period during which transmission in at least one is not assigned among the plurality of transmission portions, one of claims 9 to 11, characterized in that stops the power supply to the at least one transmission unit The data transmission method described in 1. 時間監視の結果に基づき、データの送信のために割り当てる送信部の個数を増やすことを指示する優先変更命令を発行するステップと、
前記優先変更命令により前記送信部の割り当て個数を増やすステップと
を含むことを特徴とする請求項9ないし請求項12のいずれかに記載のデータ送信方法。
Issuing a priority change instruction instructing to increase the number of transmission units allocated for data transmission based on the result of time monitoring;
The data transmission method according to claim 9 , further comprising a step of increasing the number of transmission units allocated by the priority change command.
上位装置からデータを受信するステップと、
前記上位装置からの命令に従って当該データの送信に使用する送信部の個数を決定するステップと
を含むことを特徴とする請求項9ないし請求項13のいずれかに記載のデータ送信方法。
Receiving data from the host device;
14. The data transmission method according to claim 9 , further comprising: determining a number of transmission units to be used for transmitting the data in accordance with a command from the host device.
優先度に応じて割り当てる送信部の個数を使用者が予め設定または変更できることを特徴とする請求項9ないし請求項14のいずれかに記載のデータ送信方法。 15. The data transmission method according to claim 9 , wherein a user can set or change the number of transmission units to be allocated in accordance with the priority. データを送信する複数の送信部を備えたデータ送信装置のデータの送信開始時に、当該データを送信するために前記複数の送信部のうちの少なくとも一つを当該データの送信のために割り当てる処理と、
データの送信開始後に、所定の条件を満たした場合に、前記送信開始時に当該データの送信のために割り当てられた送信部の個数よりも多くの個数の送信部を当該データの送信のために割り当てる処理と
をコンピュータに実行させ
前記データには優先度が設定され、該優先度の値に応じて当該データの送信のために割り当てるべき送信部の個数が決定され、
前記データに送信完了期限が設定されている場合に、該送信完了期限までに当該データの送信が完了しないことを予測されたときには、当該データに設定された優先度に応じて割り当てられた送信部の個数より多くの個数の送信部を当該データに割り当てることを特徴とするデータ送信装置のデータ送信プログラム。
A process of allocating at least one of the plurality of transmission units for transmission of the data at the start of data transmission of a data transmission device including a plurality of transmission units for transmitting data; ,
When a predetermined condition is satisfied after data transmission starts, a larger number of transmission units are allocated for transmission of the data than the number of transmission units allocated for transmission of the data at the start of the transmission. Let the computer execute the process and
A priority is set for the data, and the number of transmission units to be allocated for transmission of the data is determined according to the priority value,
When a transmission completion time limit is set for the data, when it is predicted that transmission of the data will not be completed by the transmission completion time limit, a transmission unit assigned according to the priority set for the data A data transmission program for a data transmission apparatus, wherein a larger number of transmission units than the number of transmission units are allocated to the data.
優先度に応じて割り当てられた送信部の個数よりも多くの個数の送信部を当該データに割り当てるタイミングは、
当該送信データの優先度に応じて割り当てられた送信部の合計の送信速度と、当該データの送信残量とに基づき決定されことを特徴とする請求項16に記載のデータ送信プログラム。
The timing of assigning a larger number of transmission units to the data than the number of transmission units allocated according to the priority,
The data transmission program according to claim 16 , wherein the data transmission program is determined based on a total transmission speed of transmission units allocated in accordance with a priority of the transmission data and a remaining transmission amount of the data.
優先度に応じて割り当てられた送信部の個数よりも多くの個数の送信部を当該データに割り当てるタイミングは、
割り当てる個数を増やした後の送信部の合計の送信速度と、当該データの送信残量とに基づき決定されることを特徴とする請求項16に記載のデータ送信プログラム。
The timing of assigning a larger number of transmission units to the data than the number of transmission units allocated according to the priority,
17. The data transmission program according to claim 16 , wherein the data transmission program is determined based on a total transmission speed of the transmission unit after increasing the number to be allocated and a remaining transmission amount of the data.
前記複数の送信部のうちの少なくとも一つに送信が割り当てられていない期間には、前記電源制御部から当該少なくとも一つの送信部への電源供給を停止することを特徴とする請求項16ないし請求項18のいずれかに記載のデータ送信プログラム。 Wherein the period of non least one in transmission is allocated among the plurality of transmission portions, according to claim 16 or claims, characterized in that stops the power supply from the power supply control unit to the at least one transmission unit Item 19. A data transmission program according to any one of Items 18 . 時間監視の結果に基づき、データの送信のために割り当てる送信部の個数を増やすことを指示する優先変更命令を発行する処理と、
前記優先変更命令により前記送信部の割り当て個数を増やす処理と
を含むことを特徴とする請求項16ないし請求項19にいずれかに記載のデータ送信プログラム。
Based on the result of time monitoring, a process of issuing a priority change instruction that instructs to increase the number of transmission units allocated for data transmission;
20. The data transmission program according to claim 16 , further comprising: a process of increasing the number of transmission units allocated by the priority change instruction.
上位装置からデータを受信する処理と、
前記上位装置からの命令に従って当該データの送信に使用する送信部の個数を決定する処理と
を含むことを特徴とする請求項16ないし請求項20のいずれかに記載のデータ送信プログラム。
A process of receiving data from the host device;
21. The data transmission program according to claim 16 , further comprising: a process of determining the number of transmission units used for transmission of the data in accordance with a command from the host device.
優先度に応じて割り当てる送信部の個数を使用者が予め設定または変更できることを特徴とする請求項16ないし請求項21のいずれかに記載のデータ送信プログラム。 The data transmission program according to any one of claims 16 to 21, wherein a user can set or change the number of transmission units to be allocated in accordance with the priority.
JP2009150105A 2009-06-24 2009-06-24 Data transmission apparatus, data transmission method, and data transmission program Active JP5345902B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2009150105A JP5345902B2 (en) 2009-06-24 2009-06-24 Data transmission apparatus, data transmission method, and data transmission program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2009150105A JP5345902B2 (en) 2009-06-24 2009-06-24 Data transmission apparatus, data transmission method, and data transmission program

Publications (2)

Publication Number Publication Date
JP2011009953A JP2011009953A (en) 2011-01-13
JP5345902B2 true JP5345902B2 (en) 2013-11-20

Family

ID=43566116

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2009150105A Active JP5345902B2 (en) 2009-06-24 2009-06-24 Data transmission apparatus, data transmission method, and data transmission program

Country Status (1)

Country Link
JP (1) JP5345902B2 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5736818B2 (en) 2011-02-14 2015-06-17 富士通株式会社 Information processing apparatus, control method, and control program
JP5681576B2 (en) 2011-06-29 2015-03-11 ルネサスエレクトロニクス株式会社 Host controller device, information processing device, and event information output method
US9215010B2 (en) 2011-09-02 2015-12-15 Nec Corporation Node device, and control method and control program thereof

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3079241B2 (en) * 1992-12-25 2000-08-21 富士通株式会社 Communication control device
JPH08139720A (en) * 1994-11-14 1996-05-31 Nippon Telegr & Teleph Corp <Ntt> Fast communication method and device therefor
JP3436650B2 (en) * 1997-02-24 2003-08-11 三菱電機株式会社 Network control device
JPH10304170A (en) * 1997-04-30 1998-11-13 Murata Mach Ltd Communication terminal equipment accommodating plural lines and communication system adopting the equipment
JP4141106B2 (en) * 2001-02-06 2008-08-27 富士通株式会社 Bandwidth control device
JP2008010905A (en) * 2006-06-27 2008-01-17 Nec Corp Priority control method and apparatus at packet transmission

Also Published As

Publication number Publication date
JP2011009953A (en) 2011-01-13

Similar Documents

Publication Publication Date Title
JP3922070B2 (en) Distributed control method and apparatus
US8793695B2 (en) Information processing device and information processing method
CN107066332B (en) Distributed system and scheduling method and scheduling device thereof
US9348628B2 (en) Computer system
JP2008129846A (en) Data processor, data processing method, and program
CN106843170B (en) Method for scheduling task based on token
KR101699770B1 (en) Virtualization system and method for allocating resource thereof
JP2008257578A (en) Information processor, scheduler, and schedule control method of information processor
JP4747307B2 (en) Network processing control device, program, and method
JP2008225639A (en) Low power consumption job management method and computer system
CN102779062A (en) Method and device for controlling number of threads accessing system resources
US6721948B1 (en) Method for managing shared tasks in a multi-tasking data processing system
JP5345902B2 (en) Data transmission apparatus, data transmission method, and data transmission program
JP4811260B2 (en) Programmable controller and its support device
AU2007261607A1 (en) Resource-based scheduler
KR20070012392A (en) Method and system for transferring budgets in a technique for restrained budget use
JP5585651B2 (en) Multi-core system, scheduling method and scheduling program
JP4363417B2 (en) Computer apparatus and computer control method
KR102333391B1 (en) Electronic apparatus and method for contorolling power thereof
CN114115140B (en) System and method for synchronizing data between multi-core main controller and main and auxiliary multi-core controllers
US20090187261A1 (en) Control Apparatus for Process input-Output Device
EP2164204A1 (en) Energy efficient inter-subsystem communication
WO2014188642A1 (en) Scheduling system, scheduling method, and recording medium
TWI472910B (en) System resource conserving method and operating system thereof
WO2010053169A1 (en) Job execution system, method and program

Legal Events

Date Code Title Description
RD01 Notification of change of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7421

Effective date: 20110712

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20120518

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20130424

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20130507

A521 Written amendment

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130701

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: 20130723

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130815

R150 Certificate of patent or registration of utility model

Ref document number: 5345902

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150

Free format text: JAPANESE INTERMEDIATE CODE: R150

S111 Request for change of ownership or part of ownership

Free format text: JAPANESE INTERMEDIATE CODE: R313111

R350 Written notification of registration of transfer

Free format text: JAPANESE INTERMEDIATE CODE: R350