JP2013003966A - Data writing device and data writing method - Google Patents
Data writing device and data writing method Download PDFInfo
- Publication number
- JP2013003966A JP2013003966A JP2011136375A JP2011136375A JP2013003966A JP 2013003966 A JP2013003966 A JP 2013003966A JP 2011136375 A JP2011136375 A JP 2011136375A JP 2011136375 A JP2011136375 A JP 2011136375A JP 2013003966 A JP2013003966 A JP 2013003966A
- Authority
- JP
- Japan
- Prior art keywords
- data
- priority
- queue
- registered
- writing
- 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.)
- Pending
Links
Images
Abstract
Description
本発明は、例えば車両に搭載される電子制御装置等に用いられる不揮発性メモリに、車両等の情報を始め、優先度の異なる種々のデータを書き込むためのデータ書き込み装置およびデータ書き込み方法の技術分野に関するものである。 TECHNICAL FIELD The present invention relates to a technical field of a data writing device and a data writing method for writing various data having different priorities, such as information on a vehicle, etc., into a nonvolatile memory used for an electronic control device mounted on the vehicle, for example. It is about.
従来、車両のエンジン制御、変速機制御、クラッチ制御、チェンジレバー制御等の種々の制御には電子制御装置(ECU)が多々用いられている。このECUとして、不揮発性メモリ(EEPROM)を用いたECUが知られている(例えば、特許文献1参照)。この特許文献1に記載のECUに用いられているEEPROMには、制御中に習得した学習値やシステムの故障を判別するための故障コード(ダイヤグコード)等の情報のデータが記憶されている。
Conventionally, many electronic control units (ECUs) are used for various controls such as vehicle engine control, transmission control, clutch control, and change lever control. As this ECU, an ECU using a non-volatile memory (EEPROM) is known (for example, see Patent Document 1). The EEPROM used in the ECU described in
一方、種々のデータをEEPROMに記憶させるために、それらのデータをEEPROMに書き込むデータ書き込み装置が従来から多々提案されている。このデータ書き込み装置として、複数のデータに重要度を付与するとともに予め重要度の高い順にリストアップしておき、EEPROMへの各データの書き込みの際、リストアップ順(つまり、重要度の高い順)にEEPROMに書き込む方法や複数のデータに重要度を付与してリストアップしておき、EEPROMへの各データの書き込みの際、重要度の高い順に並べ替えるとともに並べ替えた順(つまり、重要度の高い順)にEEPROMに書き込む方法が提案されている(例えば、特許文献2参照)。 On the other hand, in order to store various data in the EEPROM, many data writing devices for writing the data in the EEPROM have been proposed. As this data writing device, importance is given to a plurality of data, and the data is listed in the order of importance in advance, and when writing each data to the EEPROM, the order of listing (that is, the order of importance) The method of writing to the EEPROM and assigning the importance to a plurality of data are listed, and when writing each data to the EEPROM, the data is rearranged in order of importance and rearranged in order (that is, the importance A method of writing data to the EEPROM in descending order has been proposed (see, for example, Patent Document 2).
図5(a)および(b)は、それぞれ特許文献2に記載のデータ書き込み方法を説明する図である。
図5(a)に示すデータ書き込み方法は、重要度がそれぞれ付与された複数のデータの書き込み要求101,102,103がリストアップされるとともに、リストアップ順(つまり、書き込み要求101,102,103の順)に各データをEEPROMに書き込む方法である。
FIGS. 5A and 5B are diagrams for explaining the data writing method described in
In the data writing method shown in FIG. 5 (a), a plurality of
また、図5(b)に示すデータ書き込み方法は、異なる重要度1,3,4(重要度1<重要度3<重要度4)がそれぞれ付与された複数のデータの書き込み要求201,202,203がリストアップされ、EEPROMへの各データの書き込みの際、書き込み要求201,202,203を重要度の高い順(つまり、書き込み要求203,書き込み要求201,書き込み要求202の順)に入れ替えるとともに入れ替えた順にデータをEEPROMに書き込む方法である。
In addition, the data writing method shown in FIG. 5B has a plurality of
しかしながら、前述のようにデータの書き込み順を制御するようにした場合、重要度の相違により新たな制御が必要となり、データの書き込み処理が複雑な処理になってしまう。その結果、データの書き込み処理の処理能力の低下や処理速度の低下を招くおそれがある。 However, when the data writing order is controlled as described above, new control is required due to the difference in importance, and the data writing process becomes complicated. As a result, there is a possibility that the processing capability of the data writing process and the processing speed may be reduced.
本発明はこのような事情に鑑みてなされたものであって、その目的は、優先度の異なるデータの書き込み処理の処理能力の低下や処理速度の低下を防ぎつつ、優先度の高いデータをより迅速に不揮発性メモリに書き込むことができるデータ書き込み装置およびデータ書き込み方法を提供することである。 The present invention has been made in view of such circumstances, and the purpose of the present invention is to prevent higher-priority data while preventing a decrease in processing performance and a decrease in processing speed of data writing processing with different priorities. To provide a data writing device and a data writing method capable of quickly writing to a nonvolatile memory.
前述の課題を解決するために、本発明に係るデータ書き込み装置は、互いに異なる複数に分類された優先度のいずれか1つの優先度が付与されたデータが前記データに付与された優先度に対応して登録されるように設けられた前記複数の優先度と同数のキューと、前記データに付与された前記優先度を判定するとともに前記データを判定した優先度に対応する前記キューに出力する書き込みデータ優先度判定部と、前記複数のキューのうち、優先度の高いデータが登録されるキューに登録されたデータから優先度の低いデータが登録されるキューに登録されたデータの順に前記データを選択するとともに、選択したデータを選択した順に前記不揮発性メモリに書き込む書き込みデータ選択処理部とを有することを特徴としている。 In order to solve the above-described problem, the data writing device according to the present invention corresponds to the priority given to the data, to which one of the priorities classified into a plurality of different ones is given. The same number of queues as the plurality of priorities provided to be registered, and the writing to determine the priority given to the data and output the data to the queue corresponding to the determined priority A data priority determination unit, and among the plurality of queues, the data is registered in the order of data registered in a queue in which low priority data is registered from data registered in a queue in which high priority data is registered. And a write data selection processor that writes the selected data to the nonvolatile memory in the order of selection.
また、本発明に係るデータ書き込み装置は、前記複数のキューが、高い優先度が付与されたデータが登録される第1のキューと、前記第1のキューに登録されるデータの優先度より低い優先度が付与されたデータが登録される第2のキューとからなり、前記書き込みデータ優先度判定部が、高い優先度が付与されたデータを前記第1のキューに出力するとともに低い優先度が付与されたデータを前記第2のキューに出力し、前記書き込みデータ選択処理部が、少なくとも前記第1のキューに登録されたデータがあるときは、最初に前記第1のキューに登録されたすべてのデータを選択して前記不揮発性メモリに書き込むとともに、前記第1のキューに登録されたデータがなくなったとき、前記第2のキューに登録されたデータを選択して前記不揮発性メモリに書き込むことを特徴としている。 In the data writing device according to the present invention, the plurality of queues are lower than a first queue in which data with high priority is registered and a priority of data registered in the first queue. The write data priority determination unit outputs data with a high priority to the first queue and has a low priority. The given data is output to the second queue, and when the write data selection processing unit has at least data registered in the first queue, all of the data registered in the first queue first Is selected and written to the nonvolatile memory, and when there is no data registered in the first queue, the data registered in the second queue is selected and the data is It is characterized in that writing to the volatile memory.
一方、本発明に係るデータ書き込み方法は、データに付与された互いに異なる複数の優先度と同数のキューを用い、前記優先度が付与されたデータの優先度を判定し、前記データを判定した優先度に対応した前記キューに登録し、前記複数のキューのうち、優先度の高いデータが登録されるキューに登録されたデータから優先度の低いデータが登録されるキューに登録されたデータの順に前記データを選択して不揮発性メモリに書き込むことを特徴としている。 On the other hand, the data writing method according to the present invention uses the same number of queues as a plurality of different priorities assigned to data, determines the priority of the data to which the priority is assigned, and determines the priority for which the data is determined. In the order corresponding to the data registered in the queue in which the low priority data is registered from the data registered in the queue in which the high priority data is registered among the plurality of queues. The data is selected and written to a nonvolatile memory.
このように構成された本発明に係るこの例のデータ書き込み装置およびデータ書き込み方法によれば、互いに異なる複数に分類された優先度と同数のキューが用いられる。その場合、これらの複数のキューのうち、複数の優先度のいずれか1つの優先度が付与されたデータが、このデータに付与された優先度に対応するキューに登録される。そして、書き込みデータ優先度判定部が、優先度が付与されたデータの優先度を判定するとともに判定した優先度に対応するキューにこのデータを出力する。更に、書き込みデータ選択処理部が、複数のキューのうち、優先度の高いデータが登録されるキューに登録されたデータから優先度の低いデータが登録されるキューに登録されたデータの順にデータを選択するとともに、選択したデータを選択した順に不揮発性メモリに書き込む。 According to the data writing apparatus and the data writing method of this example according to the present invention configured as described above, the same number of queues as the priorities classified into a plurality of different ones are used. In that case, among the plurality of queues, data to which any one of the plurality of priorities is assigned is registered in a queue corresponding to the priority assigned to the data. Then, the write data priority determination unit determines the priority of the data to which the priority is given and outputs this data to the queue corresponding to the determined priority. Further, the write data selection processing unit selects the data from the plurality of queues in the order of the data registered in the queue in which the high priority data is registered to the data registered in the queue in which the low priority data is registered. At the same time, the selected data is written to the nonvolatile memory in the selected order.
したがって、前述の従来のように1つのキューに先に優先度の低いデータが登録された後、優先度の高いデータが入力されたとき、この優先度の高いデータを先に登録された優先度の低いデータより前(データ取り出し側)に移動させることでデータの書き込み順を優先度に応じて制御しなくても済ませる事が可能となる。これにより、新たな制御が不要となるとともに、データの書き込み処理が簡単になる。その結果、データの書き込み処理
の処理能力の向上および処理速度の向上を効果的に図ることが可能となる。こうして、優先度の高いデータをより迅速に不揮発性メモリに書き込むことができる。
Therefore, when data with high priority is input after data with low priority is first registered in one queue as in the conventional case, the priority with which data with high priority is registered first is input. It is possible to eliminate the need to control the data writing order according to the priority by moving the data before the lower data (the data extracting side). This eliminates the need for new control and simplifies the data writing process. As a result, it is possible to effectively improve the processing capability and the processing speed of the data writing process. Thus, high priority data can be written to the nonvolatile memory more quickly.
以下、図面を用いて本発明を実施するための形態について説明する。
図1は本発明に係るデータ書き込み装置の実施の形態の一例を模式的に示すブロック図、図2は図1に示すデータ書き込み装置の制御部を模式的に示すブロック図である。なお、前述の図5(a),(b)に示すデータ書き込み装置の構成要素と同じ構成要素には同
じ符号を付すことで、その詳細な説明は省略する。
Hereinafter, embodiments for carrying out the present invention will be described with reference to the drawings.
FIG. 1 is a block diagram schematically showing an example of an embodiment of a data writing apparatus according to the present invention, and FIG. 2 is a block diagram schematically showing a control unit of the data writing apparatus shown in FIG. The same components as those of the data writing apparatus shown in FIGS. 5A and 5B described above are denoted by the same reference numerals, and detailed description thereof is omitted.
図1および図2に示すように、この例のデータ書き込み装置1は、書き込み行列である2つの第1および第2のキュー(QUEUE)2a,2b、不揮発性メモリ(EEPRO
M)3、EEPROM3への優先度が付与されたデータ4の書き込みを制御する制御部(電子制御ユニット;ECU)5を有する。この例のデータ書き込み装置1では、データに付与される優先度は、高低の2つに分類される。そして、2つの第1および第2のキュー2a,2bは、分類された2つの優先度の数と同数だけ配設される。なお、分類された優
先度の数が3以上の複数に分類される場合は、キューは、分類された優先度の数と同数設けられる。この例では、前述のように優先度は2つに分類されるものとし、キューは2つの第1および第2のキュー2a,2bが設けられる。
As shown in FIG. 1 and FIG. 2, the
M) 3, and a control unit (electronic control unit; ECU) 5 that controls writing of
第1および第2のキュー2a,2bは、いずれもn個のデータ部(1),(2),(3),(4),(5),…,(n)を有する。第1および第2のキュー2a,2bのうち、一方の第1のキュー2aは高い優先度が付与されたデータに対応して設けられたキューであり、また、他方の第2のキュー2bは低い優先度が付与されたデータに対応して設けられたキューである。すなわち、第1のキュー2aには高い優先度が付与されたデータが登録されるとともに、第1のキュー2aには高い優先度が付与されたデータが登録される。したがって、この例のデータ書き込み装置1では、データ4が優先度の高いデータと優先度の低いデータのいずれか一方に分類される。データ4への優先度の高低の付与は、一例として、予め定められた優先度の基準値に基づいて、この基準値より高いと判断されるデータ4には優先度高を付与し、また、この基準値より低いと判断されるデータ4には優先度低を付与する。
Each of the first and
ECU5は、書き込みデータ優先度判定部6、第1登録ポインタ7、第2登録ポインタ8、第1取り出しポインタ9、第2取り出しポインタ10、および書き込みデータ選択処理部11を有する。
The ECU 5 includes a write data
書き込みデータ優先度判定部6は、優先度が付与されたデータ4がデータ書き込み装置1に入力されたとき、入力されたデータ4の優先度が高いかあるいは低いかを判定する。そして、書き込みデータ優先度判定部6は、入力されたデータが優先度の高いデータであ
ると判定すると、第1のキュー2aにそのデータ4を出力し、また、入力されたデータが優先度の低いデータであると判定すると、第2のキュー2bにそのデータ4を出力する。
The write data
第1登録ポインタ7は、書き込みデータ優先度判定部6から出力された優先度高のデータ4を、先に出力されたデータ順に第1のキュー2aの各データ部(1),(2),(3),(4),(5),…,(n)に順次移動して入力し、それぞれ優先度高のデータ(a1)、優先度高のデータ(b1)、優先度高のデータ(c1)、…として第1のキュー2aに登録する(図1には、優先度高のデータ(d1)までが登録された状態が示されている)。
The
また、第2登録ポインタ8は、書き込みデータ優先度判定部6から出力された優先度低のデータ4を、先に出力されたデータ順に第2のキュー2bの各データ部(2),(3),(4),(5),…,(n)に順次移動して入力し、それぞれ優先度低のデータ(a2)、
優先度低のデータ(b2)、優先度低のデータ(c2)、…として第2のキュー2bに登録する(図1には、優先度低のデータ(d2)までが登録された状態が示されている)。
In addition, the second registration pointer 8 indicates that the
Registered in the
第1取り出しポインタ9は、第1のキュー2aの各データ部(1),(2),(3),(
4),(5),…,(n)に移動して各データ部(1),(2),(3),(4),(5),…,
(n)にそれぞれ登録された優先度高のデータ(a1)、優先度高のデータ(b1)、優先度高のデータ(c1)、…を取り出し、書き込みデータ選択処理部11に出力する。第2取り出しポインタ10は、第2のキュー2bの各データ部(1),(2),(3),(4
),(5),…,(n)に移動して各データ部(1),(2),(3),(4),(5),…,(
n)にそれぞれ登録された優先度低のデータ(a1)、優先度低のデータ(b1)、優先度低のデータ(c1)、…を取り出し、書き込みデータ選択処理部11に出力する。
The first fetch pointer 9 is used for each data part (1), (2), (3), (
4), (5),..., (N) to move to each data part (1), (2), (3), (4), (5),.
The high priority data (a1), high priority data (b1), high priority data (c1),... Registered in (n) are extracted and output to the write data
), (5),..., (N) to move to each data part (1), (2), (3), (4), (5),.
The low priority data (a1), low priority data (b1), low priority data (c1),... registered in n) are extracted and output to the write data
書き込みデータ選択処理部11は、まず、優先度高の第1のキュー2aにデータ4が登録されているかを判断する。そして、書き込みデータ選択処理部11は第1のキュー2aにデータ4が登録されていると判断すると、第1のキュー2aの各データ部から、優先度高のデータ(a1)、優先度高のデータ(b1)、優先度高のデータ(c1)、…を、先に入力されたデータから先入れ先出し(FIFO;First In First Out
)により順に取り出すとともに、取り出した優先度高のデータ4を順にEEPROM3に書き込む。また、書き込みデータ選択処理部11は第1のキュー2aにデータ4が登録されていないと判断すると、優先度低の第2のキュー2bにデータ4が登録されているかを判断する。そして、書き込みデータ選択処理部11は第2のキュー2bにデータ4が登録されていると判断すると、第2のキュー2bの各データ部から、優先度低のデータ(a2)、優先度低のデータ(b2)、優先度低のデータ(c2)、…を同様にFIFOにより順に取り出すとともに、取り出した優先度低のデータ4を順にEEPROM3に書き込む。
The write data
), And the high-
次に、この例のデータ書き込み装置1によるデータ書き込み方法について説明する。このデータ書き込み方法では、EEPROMへ書き込むデータのキューへの登録処理およびEEPROMへ書き込むデータの選択処理が行われる。図3は、EEPROMへ書き込むデータのキューへの登録処理を行うためのフローを示す図、図4は、EEPROMへ書き込むデータの選択処理を行うためのフローを示す図である。
Next, a data writing method by the
この例のデータ書き込み方法では、まず、EEPROMへ書き込むデータのキューへの登録処理が行われる。図3に示すように、優先度が付与されたデータ4がデータ書き込み装置1に入力されると、ステップS1で優先度が付与されたデータ4の優先度が高いか否かが書き込みデータ優先度判定部6で判断される。書き込みデータ優先度判定部6でデータ4の優先度が高いと判断されると、ステップS2で第1のキュー2aにそのデータ4が登録される。また、ステップS1において書き込みデータ優先度判定部6でデータ4の優
先度が高くない(つまり、優先度が低い)と判断されると、ステップS3で第2のキュー2bにそのデータ4が登録される。こうして、1つのデータ4についてデータ書き込み装置1の第1および第2キュー2a,2bへのデータ4の登録処理が終了する。そして、次
のデータ4以降のデータ4も同様に処理され、優先度の高いデータ4は第1のキュー2aの各データ部に順に登録されるとともに、優先度の低いデータ4は第2のキュー2bの各データ部に順に登録される。
In the data writing method of this example, first, registration processing of queued data to be written to the EEPROM is performed. As shown in FIG. 3, when
次に、この例のデータ書き込み方法では、EEPROMへ書き込むデータの選択処理が行われる。図4に示すように、ステップS11で、優先度の高いデータ4が登録される第1のキュー2aに登録されたデータ4があるか否かが判断される。第1のキュー2aにデータ4があると判断されると、ステップS12でこの第1のキュー2aのデータ4が選択されるとともに、ステップS13で選択された優先度高のデータ4がEEPROM3へ書き込まれる。その後、再びステップS11に移行し、このステップS11以降の処理が行われる。
Next, in the data writing method of this example, selection processing of data to be written to the EEPROM is performed. As shown in FIG. 4, in step S11, it is determined whether or not there is
ステップS11で第1のキュー2aにデータ4がないと判断されると、ステップS14で優先度の低いデータ4が登録される第2のキュー2bに登録されたデータ4があるか否かが判断される。第2のキュー2bにデータ4があると判断されると、ステップS15でこの第2のキュー2bのデータ4が選択されるとともに、ステップS16で選択された優先度低のデータ4がEEPROM3へ書き込まれる。その後、再びステップS11に移行し、このステップS11以降の各処理が行われる。ステップS14で第2のキュー2bにデータ4がないと判断されると、EEPROMへ書き込むデータの選択処理が終了する。
If it is determined in step S11 that there is no
このように、この例のデータ書き込み方法では、優先度の高いデータ4が優先度高のデータを登録する第1のキュー2aに登録されるとともに、優先度の低いデータ4が優先度低のデータを登録する第2のキュー2bに登録される。更に、この例のデータ書き込み方法では、まず最初に第1のキュー2aの優先度の高いデータ4が選択されかつ登録順に取り出されてEEPROM3へ書き込まれる。そして、第1のキュー2aに登録されたデータ4がなくなる、または第1のキュー2aに登録されたデータ4がないと、始めて第2のキュー2bのの優先度の低いデータ4が選択されかつ登録順に取り出されてEEPROM3へ書き込まれる。すなわち、この例のデータ書き込み方法では、優先度の高いデータ4がすべて優先度の低いデータ4より先にEEPROM3へ書き込まれる。
As described above, in the data writing method of this example, the
この例のデータ書き込み装置1およびデータ書き込み方法によれば、優先度の高いデータ4が登録される第1のキュー2aと優先度の低いデータ4が登録される第2のキュー2bとの2つのキューが用いられる。したがって、前述の従来のように1つのキュー2に先に優先度の低いデータ4が登録された後、優先度の高いデータ4が入力されたとき、この優先度の高いデータ4を先に登録された優先度の低いデータ4より前(データ取り出し側)に移動させてデータの書き込み順を優先度に応じて制御しなくても済ませる事が可能となる。これにより、新たな制御が不要となるとともに、データの書き込み処理が簡単になる。その結果、データの書き込み処理の処理能力の向上および処理速度の向上を効果的に図ることが可能となる。こうして、優先度の高いデータをより迅速にEEPROM3に書き込むことができる。
According to the
なお、本発明は前述の例に限定されることはなく、種々設計変更が可能である。例えば、前述の例では優先度を高低の2つに分類しているが、この優先度は高中低の3つを始め、任意の複数に分類することもできる。その場合には、分類した優先度の数と同数のキューが用いられるとともに、データに付与された優先度に対応するキューにそのデータが登録される。要は、本発明は、特許請求の範囲に記載された技術事項の範囲内で種々の設計変更が可能である。 In addition, this invention is not limited to the above-mentioned example, A various design change is possible. For example, in the above-described example, the priority is classified into two, high and low, but this priority can be classified into an arbitrary plurality including three, high, medium and low. In that case, the same number of queues as the number of classified priorities are used, and the data is registered in the queue corresponding to the priority assigned to the data. In short, the present invention can be modified in various ways within the scope of the technical matters described in the claims.
本発明に係るデータ書き込み装置およびデータ書き込み方法は、例えば車両等に搭載される電子制御装置に用いられる不揮発性メモリに、車両等の情報を始め、優先度の異なる種々のデータを書き込むためのデータ書き込み装置およびデータ書き込み方法に好適に利用可能である。 A data writing device and a data writing method according to the present invention include, for example, data for writing various data having different priorities, such as information on a vehicle, in a non-volatile memory used in an electronic control device mounted on the vehicle or the like. The present invention can be suitably used for a writing device and a data writing method.
1…データ書き込み装置、2a…第1のキュー(QUEUE)、2b…第2のキュー(QUEUE)、3…不揮発性メモリ(EEPROM)、4…データ、5…制御部(ECU)、6…書き込みデータ優先度判定部、7…第1登録ポインタ、8…第2登録ポインタ、9…第1取り出しポインタ、10…第2取り出しポインタ、11…書き込みデータ選択処理部
DESCRIPTION OF
Claims (3)
前記データに付与された前記優先度を判定するとともに前記データを判定した優先度に対応する前記キューに出力する書き込みデータ優先度判定部と、
前記複数のキューのうち、優先度の高いデータが登録されるキューに登録されたデータから優先度の低いデータが登録されるキューに登録されたデータの順に前記データを選択するとともに、選択したデータを選択した順に前記不揮発性メモリに書き込む書き込みデータ選択処理部と、
を有することを特徴とするデータ書き込み装置。 The same number as the plurality of priorities provided so that data to which any one of the priorities classified into a plurality of different priorities is assigned is registered corresponding to the priority given to the data Queue and
A write data priority determination unit that determines the priority assigned to the data and outputs the priority to the queue corresponding to the priority determined for the data;
Among the plurality of queues, the data is selected in the order of data registered in a queue in which low priority data is registered from data registered in a queue in which high priority data is registered, and the selected data A write data selection processing unit for writing to the non-volatile memory in the order selected.
A data writing apparatus comprising:
前記書き込みデータ優先度判定部は、高い優先度が付与されたデータを前記第1のキューに出力するとともに低い優先度が付与されたデータを前記第2のキューに出力し、
前記書き込みデータ選択処理部は、少なくとも前記第1のキューに登録されたデータがあるときは、最初に前記第1のキューに登録されたすべてのデータを選択して前記不揮発性メモリに書き込むとともに、前記第1のキューに登録されたデータがなくなったとき、前記第2のキューに登録されたデータを選択して前記不揮発性メモリに書き込むことを特徴とする請求項1に記載のデータ書き込み装置。 In the plurality of queues, a first queue in which data having a high priority is registered and data having a priority lower than that of data registered in the first queue are registered. A second queue,
The write data priority determination unit outputs data given a high priority to the first queue and outputs data given a low priority to the second queue,
When there is at least data registered in the first queue, the write data selection processing unit first selects all the data registered in the first queue and writes it to the nonvolatile memory; The data writing apparatus according to claim 1, wherein when there is no data registered in the first queue, the data registered in the second queue is selected and written to the nonvolatile memory.
前記優先度が付与されたデータの優先度を判定し、前記データを判定した優先度に対応した前記キューに登録し、
前記複数のキューのうち、優先度の高いデータが登録されるキューに登録されたデータから優先度の低いデータが登録されるキューに登録されたデータの順に前記データを選択して不揮発性メモリに書き込むことを特徴とするデータ書き込み方法。 Use the same number of different priority queues assigned to the data,
Determining the priority of the data to which the priority is given, registering the data in the queue corresponding to the determined priority;
Among the plurality of queues, the data is selected in the non-volatile memory by selecting the data in the order of the data registered in the queue in which the low priority data is registered from the data registered in the queue in which the high priority data is registered. A data writing method characterized by writing.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011136375A JP2013003966A (en) | 2011-06-20 | 2011-06-20 | Data writing device and data writing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2011136375A JP2013003966A (en) | 2011-06-20 | 2011-06-20 | Data writing device and data writing method |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2013003966A true JP2013003966A (en) | 2013-01-07 |
Family
ID=47672451
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2011136375A Pending JP2013003966A (en) | 2011-06-20 | 2011-06-20 | Data writing device and data writing method |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2013003966A (en) |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001325212A (en) * | 2000-03-30 | 2001-11-22 | Lucent Technol Inc | Method and device for transmitting data block from source processor to destination processor in multiprocessor system |
JP2007318497A (en) * | 2006-05-26 | 2007-12-06 | Oki Electric Ind Co Ltd | Wireless access controller and control method, wireless unit, and network |
JP2010173494A (en) * | 2009-01-29 | 2010-08-12 | Fujitsu Ten Ltd | Control device and control method |
-
2011
- 2011-06-20 JP JP2011136375A patent/JP2013003966A/en active Pending
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001325212A (en) * | 2000-03-30 | 2001-11-22 | Lucent Technol Inc | Method and device for transmitting data block from source processor to destination processor in multiprocessor system |
JP2007318497A (en) * | 2006-05-26 | 2007-12-06 | Oki Electric Ind Co Ltd | Wireless access controller and control method, wireless unit, and network |
JP2010173494A (en) * | 2009-01-29 | 2010-08-12 | Fujitsu Ten Ltd | Control device and control method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103222242B (en) | The dynamic flow redistribution of blocking for avoiding line end | |
US9335947B2 (en) | Inter-processor memory | |
US7127539B2 (en) | Statistic method for arbitration | |
US9898334B1 (en) | Method and apparatus for scheduling processing tasks in a pipelined engine | |
US9665412B2 (en) | Programmable logic controller and event-driven programming method thereof | |
WO2013069191A1 (en) | Analysis process system | |
US20070283131A1 (en) | Processing of high priority data elements in systems comprising a host processor and a co-processor | |
CN105302766B (en) | The mechanism and device of the reconfigurable inter-processor communication of embedded controller | |
CN110519180B (en) | Network card virtualization queue scheduling method and system | |
JP2009217750A (en) | Computer system, input/output priority control method, and program | |
US20080147906A1 (en) | DMA Transferring System, DMA Controller, and DMA Transferring Method | |
US8156265B2 (en) | Data processor coupled to a sequencer circuit that provides efficient scalable queuing and method | |
JP2013003966A (en) | Data writing device and data writing method | |
JP4047783B2 (en) | Task control method and task switching device | |
CN103154894B (en) | For the method managing the task in microprocessor or microprocessor components | |
JP4882116B2 (en) | Buffer control device and buffer control method | |
US9619280B2 (en) | Method for selecting one of several queues | |
EP3110091B1 (en) | Output arbitration control method and device | |
TW201621675A (en) | Data processing method and system with application-level information awareness | |
KR101907007B1 (en) | Method and apparatus for processing page using priority of process | |
JP5428653B2 (en) | Memory access processing apparatus and method | |
US9116742B1 (en) | Systems and methods for reducing interrupt latency | |
US11228457B2 (en) | Priority-arbitrated access to a set of one or more computational engines | |
US8185898B2 (en) | Method of streaming remote procedure invocation for multi-core systems | |
JP2023119512A (en) | Control device, control method, control program, and vehicle |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
RD05 | Notification of revocation of power of attorney |
Free format text: JAPANESE INTERMEDIATE CODE: A7425 Effective date: 20131219 |
|
A621 | Written request for application examination |
Free format text: JAPANESE INTERMEDIATE CODE: A621 Effective date: 20140521 |
|
A977 | Report on retrieval |
Free format text: JAPANESE INTERMEDIATE CODE: A971007 Effective date: 20141112 |
|
A131 | Notification of reasons for refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A131 Effective date: 20141218 |
|
A02 | Decision of refusal |
Free format text: JAPANESE INTERMEDIATE CODE: A02 Effective date: 20150508 |