JP2022057227A - Shared storage management apparatus and shared storage management method - Google Patents

Shared storage management apparatus and shared storage management method Download PDF

Info

Publication number
JP2022057227A
JP2022057227A JP2020165366A JP2020165366A JP2022057227A JP 2022057227 A JP2022057227 A JP 2022057227A JP 2020165366 A JP2020165366 A JP 2020165366A JP 2020165366 A JP2020165366 A JP 2020165366A JP 2022057227 A JP2022057227 A JP 2022057227A
Authority
JP
Japan
Prior art keywords
shared storage
data
storage
storage management
shared
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
Application number
JP2020165366A
Other languages
Japanese (ja)
Inventor
雄介 田中
Yusuke Tanaka
由佳 伊東
Yuka Ito
肇 野村
Hajime Nomura
大志 宮田
Daishi Miyata
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.)
Denso Corp
Original Assignee
Denso Corp
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 Denso Corp filed Critical Denso Corp
Priority to JP2020165366A priority Critical patent/JP2022057227A/en
Publication of JP2022057227A publication Critical patent/JP2022057227A/en
Pending legal-status Critical Current

Links

Images

Abstract

To provide a system having a shared storage shared by a plurality of applications, configured to allow for efficient use of storage areas of the shared storage.SOLUTION: A shared storage management apparatus (2) which is equipped in a system (1) having a shared storage (11) to be used by a plurality of applications (7, 8, 9) for writing or reading data, includes a storage management section (10) configured to adjust securing and releasing storage areas of the shared storage in response to requests from the applications. The storage management section executes compression processing of data written on the shared storage when free space in the shared storage is equal to or less than a predetermined amount of space or when a request for securement is received from an application and there is no sufficient storage area to be secured in the shared storage.SELECTED DRAWING: Figure 1

Description

本発明は、例えば自動車等の車両に搭載されるシステムにおける共用ストレージ管理装置及び共用ストレージ管理方法に関する。 The present invention relates to a shared storage management device and a shared storage management method in a system mounted on a vehicle such as an automobile.

例えば、自動車等の車両には、コンピュータを含んだ複数のECU(Electronic Control Unit)と称される各種の電子装置を、CANやイーサネット等によりネットワーク接続して構成されるシステムが設けられる。各ECUには、複数のアプリケーションが設けられ、それらアプリケーション間で相互に情報がやり取りされる。また、ECUのなかには、車外との通信可能な通信機器も含まれ、外部機器とのデータの送受信も行われる。例えば、ドライブレコーダのデータをクラウドにアップロードしたり、外部から更新プログラムや各種データをダウンロードしたりすることが行われる。 For example, a vehicle such as an automobile is provided with a system in which a plurality of electronic devices called ECUs (Electronic Control Units) including a computer are connected to a network by CAN, Ethernet, or the like. A plurality of applications are provided in each ECU, and information is exchanged between these applications. Further, the ECU includes a communication device capable of communicating with the outside of the vehicle, and data is transmitted / received to / from an external device. For example, the data of the drive recorder is uploaded to the cloud, and the update program and various data are downloaded from the outside.

このとき、各アプリケーションが、ダウンロードやアップロードを行う際には、一時的に記憶領域を使用するが、各ECUにおいて専用の記憶領域を用意することは無駄が多い事情がある。そこで、例えば一つのECUに共用ストレージを設け、複数のアプリケーションが任意のタイミングで共用ストレージに対するデータの書き込みや削除を行うようになっている。尚、特許文献1では、データをストレージに記録するに際し、システム内に設けられている複数のストレージから空き領域が存在するストレージを判定し、そのストレージに記録することで、複数のストレージをあたかも一つのストレージであるかのように利用することが提案されている。 At this time, when each application downloads or uploads, the storage area is temporarily used, but it is wasteful to prepare a dedicated storage area in each ECU. Therefore, for example, a shared storage is provided in one ECU, and a plurality of applications write or delete data in the shared storage at an arbitrary timing. In Patent Document 1, when recording data in a storage, a storage having a free area is determined from a plurality of storages provided in the system, and the storage is recorded in the storage, as if the plurality of storages were recorded. It is proposed to use it as if it were two types of storage.

特開2018-206454号公報Japanese Unexamined Patent Publication No. 2018-206454

ところで、各アプリケーションは、共用ストレージを用いたアップロード、ダウンロードの処理が終わった後には、そのデータが不要になったと判断し、共用ストレージの記憶領域から削除する処理を行う。上記のように、共用ストレージを複数のアプリケーションで共用して使用する場合、共用ストレージの利用が集中することがあると、別のアプリケーションが共用ストレージを利用しようとしても、記憶領域の空き容量が不足して利用できない事態が起こり得る。この場合、他のアプリケーションが共用ストレージの利用を終了するまで待てば領域が空き、共用ストレージの利用は可能となるが、共用ストレージの利用効率が悪化してしまう。 By the way, after the upload / download process using the shared storage is completed, each application determines that the data is no longer needed and performs a process of deleting the data from the storage area of the shared storage. As described above, when the shared storage is shared by multiple applications, if the shared storage usage is concentrated, even if another application tries to use the shared storage, the free storage space is insufficient. There may be situations where it cannot be used. In this case, if the area is freed and the shared storage can be used by waiting until the other application finishes using the shared storage, the efficiency of using the shared storage deteriorates.

本発明は上記事情に鑑みてなされたもので、その目的は、複数のアプリケーションが共用する共用ストレージを備えるシステムにおける、共用ストレージの記憶領域の効率の良い使用を可能とする共用ストレージ管理装置及び共用ストレージ管理方法を提供するにある。 The present invention has been made in view of the above circumstances, and an object thereof is a shared storage management device and shared storage that enable efficient use of a storage area of shared storage in a system including shared storage shared by a plurality of applications. To provide a storage management method.

上記目的を達成するために、本発明の共用ストレージ管理装置(2)は、 閉じたネットワーク(5)内に、外部との通信機能を備えたものを含む1つ以上のコンピュータ(2、3、4)を備え、前記各コンピュータ上の複数のアプリケーション(7、8、9)が相互に情報をやり取りすると共に、前記複数のアプリケーションがデータの書込み、読出しに利用する共用ストレージ(11)を有するシステム(1)に設けられるものであって、前記各アプリケーションの要求に従って前記共用ストレージの記憶領域の確保及び解放を調整するストレージ管理部(10)を備え、前記ストレージ管理部は、前記共用ストレージの空き容量が所定容量以下となったとき、或いは、前記アプリケーションからの確保の要求があった際に前記共用ストレージの確保すべき記憶領域が不足しているときに、当該共用ストレージに書込まれているデータの圧縮処理を実行する。 In order to achieve the above object, the shared storage management device (2) of the present invention includes one or more computers (2, 3, A system comprising 4), wherein a plurality of applications (7, 8, 9) on each computer exchange information with each other, and the plurality of applications have a shared storage (11) used for writing and reading data. It is provided in (1) and includes a storage management unit (10) that adjusts the securing and release of the storage area of the shared storage according to the request of each application, and the storage management unit is free of the shared storage. It is written in the shared storage when the capacity becomes less than or equal to a predetermined capacity, or when the storage area to be secured in the shared storage is insufficient when the application requests to secure the capacity. Performs data compression processing.

上記構成によれば、ストレージ管理部は、各アプリケーションの要求に従って共用ストレージの記憶領域の確保及び解放を調整する。このとき、例えば複数のアプリケーションにおいて共用ストレージの利用が集中しているようなことがあると、別のアプリケーションからの確保の要求があったときに、共用ストレージの確保すべき記憶領域が不足する場合が生ずる虞がある。ここで、記憶領域が不足していると判断された場合でも、仮に、共用ストレージ内の既存のデータを圧縮することにより、既存データが占有する記憶容量を削減して、空き容量を増やすことができ、新規データを保存する領域を確保することが可能となるケースが考えられる。 According to the above configuration, the storage management unit adjusts the allocation and release of the storage area of the shared storage according to the request of each application. At this time, for example, if the use of shared storage is concentrated in multiple applications, the storage area to be secured for shared storage may be insufficient when there is a request for securing from another application. May occur. Here, even if it is determined that the storage area is insufficient, it is possible to reduce the storage capacity occupied by the existing data and increase the free space by compressing the existing data in the shared storage. In some cases, it is possible to secure an area for storing new data.

従って、共用ストレージ管理部は、共用ストレージの既存データの圧縮処理を行うことにより、アプリケーションから領域確保の要求があったときに、空き容量の不足の発生を抑えることができる。これにより、他のアプリケーションの処理の終了による共用ストレージの記憶領域の空きが生ずることを待たずに、アプリケーションの要求に応じて、速やかに新規データの記憶領域を確保することが可能となる。この結果、複数のアプリケーションが共用する共用ストレージを備えるシステムにおける、共用ストレージの記憶領域の効率の良い使用を可能とするという優れた効果を奏する。 Therefore, the shared storage management unit can suppress the occurrence of insufficient free space when the application requests to secure an area by performing the compression process of the existing data of the shared storage. As a result, it is possible to quickly secure a storage area for new data in response to a request from the application without waiting for the storage area of the shared storage to become free due to the end of processing of another application. As a result, in a system having a shared storage shared by a plurality of applications, the storage area of the shared storage can be efficiently used, which is an excellent effect.

第1の実施形態を示すもので、車載システムの電気的構成を模式的に示すブロック図A block diagram schematically showing an electrical configuration of an in-vehicle system, showing the first embodiment. ストレージ管理部が実行する記憶領域の確保の処理手順を示すフローチャートA flowchart showing a processing procedure for securing a storage area executed by the storage management unit. 図2のステップS3の詳細な処理手順を示すフローチャートA flowchart showing the detailed processing procedure of step S3 of FIG. 共用ストレージ管理テーブルを模式的に示す図Diagram showing the shared storage management table schematically 第2の実施形態を示すもので、ストレージ管理部が実行する既存領域の圧縮要求の処理手順を示すフローチャートA flowchart showing a second embodiment and showing a procedure for processing an existing area compression request executed by the storage management unit.

(1)第1の実施形態
以下、自動車等の車両に搭載される車載システムにおける共用ストレージ管理装置に適用した第1の実施形態について、図1から図4を参照しながら説明する。図1は、本実施形態における車載システム1の構成を概略的に示している。ここで、車載システム1は、複数のECU(Electronic Control Unit)2、3、4を、例えばCAN(登録商標)やイーサネット(登録商標)等のネットワーク5により相互に接続して構成される。前記ECU2、3、4は、コンピュータを含んで構成される。尚、図1では、便宜上、3つのECU2、3、4のみを図示している。
(1) First Embodiment Hereinafter, the first embodiment applied to a shared storage management device in an in-vehicle system mounted on a vehicle such as an automobile will be described with reference to FIGS. 1 to 4. FIG. 1 schematically shows the configuration of the in-vehicle system 1 in the present embodiment. Here, the in-vehicle system 1 is configured by connecting a plurality of ECUs (Electronic Control Units) 2, 3 and 4 to each other by a network 5 such as CAN (registered trademark) or Ethernet (registered trademark). The ECUs 2, 3 and 4 are configured to include a computer. Note that FIG. 1 shows only three ECUs 2, 3 and 4 for convenience.

そのうちECU3は、車両外部との間の通信制御用のECUであり、DCM(Data Communication Module)と称される車外通信機6を備えると共に、アプリケーション7を搭載している。前記ECU4は、各種車載機器の制御用のECUであり、例えばエンジン制御等の走行制御系ECU、ボディ系制御用ECU、ナビゲーション制御用ECU、ETC制御用ECU、オーディオ制御用ECU、ドライブレコーダ制御用ECU等が含まれる。このECU4は、アプリケーション8を搭載している。 Among them, the ECU 3 is an ECU for controlling communication with the outside of the vehicle, and includes an external communication device 6 called a DCM (Data Communication Module) and an application 7. The ECU 4 is an ECU for controlling various in-vehicle devices, for example, a drive control system ECU for engine control, a body system control ECU, a navigation control ECU, an ETC control ECU, an audio control ECU, and a drive recorder control. ECU and the like are included. This ECU 4 is equipped with an application 8.

前記ECU2は、例えばセントラルゲートウェイ用のECUであり、車載システム1のネットワークにおけるハブとしての機能を有する。このECU2は、アプリケーション9を搭載している。各ECU2、3、4に、夫々複数のアプリケーションが設けられていても良い。詳しくは後述するように、本実施形態では、このECU2が共用ストレージ管理装置として機能するようになっている。尚、上記アプリケーション7、8、9を、必要に応じて単に「アプリ」と略称することがある。図1では、アプリケーション7を「アプリA」、アプリケーション8を「アプリB」、アプリケーション9を「アプリC」と表記している。 The ECU 2 is, for example, an ECU for a central gateway, and has a function as a hub in the network of the in-vehicle system 1. The ECU 2 is equipped with the application 9. A plurality of applications may be provided in each of the ECUs 2, 3 and 4, respectively. As will be described in detail later, in the present embodiment, the ECU 2 functions as a shared storage management device. The above applications 7, 8 and 9 may be simply abbreviated as "application" as necessary. In FIG. 1, application 7 is referred to as “app A”, application 8 is referred to as “app B”, and application 9 is referred to as “app C”.

本実施形態の車載システム1においては、前記各ECU2、3、4の複数のアプリケーション9、7、8が相互に情報をやり取りすると共に、詳しく図示はしないが、車外通信機6により通信ネットワークを介して外部のサービス会社のセンタ装置等との間で通信を行う。この場合、各ECU2、3、4の複数のアプリケーション9、7、8は、センタ装置に対し、アップロードやダウンロード等の処理を行う。 In the in-vehicle system 1 of the present embodiment, the plurality of applications 9, 7, and 8 of the ECUs 2, 3, and 4 exchange information with each other, and although not shown in detail, the external communication device 6 is used via a communication network. Communicate with the center equipment of an external service company. In this case, the plurality of applications 9, 7, and 8 of the ECUs 2, 3, and 4 perform processing such as uploading and downloading to the center device.

具体的には、センタ装置に送信する情報としては、車内の各種センサが検出したダイアグデータや、ドライブレコーダのデータ等がある。また、センタ装置から受信する情報としては、各車載機器のソフトウエアの更新プログラムや、各車載機器が参照する情報のうち任意のタイミングで更新されるナビゲーション用の地図データや、オーディオ機器が再生する楽曲データ等がある。 Specifically, the information transmitted to the center device includes diagnostic data detected by various sensors in the vehicle, drive recorder data, and the like. In addition, as the information received from the center device, the software update program of each in-vehicle device, the map data for navigation updated at an arbitrary timing among the information referred to by each in-vehicle device, and the audio device play back. There is music data etc.

このとき、各アプリケーション7、8、9が、データのダウンロードやアップロードを行う際には、一時的に記憶領域を使用するが、各ECU2、3、4において専用の記憶領域を用意することは無駄が多い事情がある。そこで、例えば一つのECUこの場合セントラルゲートウェイ用のECU2に共用ストレージ11が設けられる。複数のアプリケーション7、8、9は、任意のタイミングで共用ストレージ11に対するデータの書き込みや削除を行う。 At this time, the applications 7, 8 and 9 temporarily use the storage area when downloading or uploading the data, but it is useless to prepare a dedicated storage area in each of the ECUs 2, 3 and 4. There are many circumstances. Therefore, for example, one ECU, in this case, the shared storage 11 is provided in the ECU 2 for the central gateway. The plurality of applications 7, 8 and 9 write or delete data to the shared storage 11 at an arbitrary timing.

さて、前記ECU2における、共用ストレージ管理装置として機能について述べる。上記したように、ECU2には、共用ストレージ11が設けられている。これと共に、ECU2には、各アプリケーション7、8、9の要求に従って前記共用ストレージ11の記憶領域の確保及び解放を調整するストレージ管理部10が設けられる。前記ストレージ管理部10は、共用ストレージ11の現在の利用状況を記録するストレージ管理テーブル12を備える。 Now, the function as a shared storage management device in the ECU 2 will be described. As described above, the ECU 2 is provided with the shared storage 11. At the same time, the ECU 2 is provided with a storage management unit 10 that adjusts the securing and release of the storage area of the shared storage 11 according to the requirements of the applications 7, 8 and 9. The storage management unit 10 includes a storage management table 12 that records the current usage status of the shared storage 11.

図4に、このストレージ管理テーブル12の記憶内容を例示している。本実施形態では、このストレージ管理テーブル12には、確保の要求順序即ち古いものから1、2、…、共用ストレージ11の確保を要求したアプリ、確保した記憶領域の容量、保存されるデータの形式、領域確保優先度の情報を含む等からなる管理情報が記憶される。ここでは、アプリ側或いはストレージ管理部10において、共用ストレージ11内の各データに関する領域確保優先度が設定されるようになっている。 FIG. 4 illustrates the storage contents of the storage management table 12. In the present embodiment, the storage management table 12 contains the order of request for securing, that is, 1, 2, ..., the application requesting the securing of the shared storage 11, the capacity of the reserved storage area, and the format of the data to be stored. , Management information including information on area reservation priority is stored. Here, the application side or the storage management unit 10 sets the area securing priority for each data in the shared storage 11.

この領域確保優先度は、保存されている既存データの重要度に応じて、例えば高、中、低の3段階のいずれかに設定される。例えば、データ形式を変換した後に元に戻せない等、後述するデータ圧縮をしたくないものについては、優先度が高く設定される。また、データの性質例えばアップロードの場合はダウンロードの場合よりも優先度を高くする、データ容量が多い場合に、少ない場合よりも優先度を低くすることなどが考えられる。尚、詳しく図示はしないが、ストレージ管理部10は、上記各データのデータ形式に対応した複数種類の圧縮プログラムを記憶しており、ストレージ管理テーブル12には、前記データ形式と圧縮プログラムとの対応関係を表にした対応表も含まれている。 This area reservation priority is set to one of three levels, for example, high, medium, and low, depending on the importance of the existing stored data. For example, if the data format cannot be restored after being converted, and the data compression described later is not desired, the priority is set high. Further, for example, in the case of uploading, the priority may be higher than in the case of downloading, and in the case of a large amount of data, the priority may be lower than in the case of a small amount of data. Although not shown in detail, the storage management unit 10 stores a plurality of types of compression programs corresponding to the data formats of the above data, and the storage management table 12 corresponds to the data formats and the compression programs. A correspondence table that shows the relationships is also included.

これと共に、前記ストレージ管理部10は、そのハードウエア及びソフトウエア構成により、要求受付部13、領域確保処理部14、領域管理部15、データ圧縮処理部16、優先度判定部17としての機能を実現する。詳しくは後の作用説明でも述べるように、前記要求受付部13は、前記各アプリ7、8、9から、共用ストレージ11の記憶領域の確保や解放の要求を受付ける処理を実行する。また、前記領域確保処理部14は、前記要求受付部13が受付けた新規データに対する記憶領域の確保要求に従って、共用ストレージ11の記憶領域の確保を行う。 At the same time, the storage management unit 10 functions as a request reception unit 13, an area reservation processing unit 14, an area management unit 15, a data compression processing unit 16, and a priority determination unit 17, depending on its hardware and software configuration. Realize. As will be described in detail later in the description of the operation, the request receiving unit 13 executes a process of receiving a request for securing or releasing the storage area of the shared storage 11 from the applications 7, 8 and 9. Further, the area reservation processing unit 14 secures the storage area of the shared storage 11 in accordance with the request for securing the storage area for the new data received by the request reception unit 13.

このとき、領域確保処理部14は、新規データの記憶領域を確保するにあたり、前記領域管理部15に共用ストレージ11の空き領域を問い合わせる。領域管理部15は、ストレージ管理テーブル12を参照し、前記共用ストレージ11の必要な記憶領域の確保が可能かを判断する。そして、共用ストレージ11の記憶容量が十分ある場合には、領域確保処理部14は、そのまま記憶領域の確保の処理を行う。ところが、例えば複数のアプリケーション7、8、9において共用ストレージ11の利用が集中しているような場合には、別のアプリケーション7、8、9からの確保の要求があったときに、共用ストレージ11の確保すべき記憶領域が不足してしまうケースが生ずる虞がある。 At this time, the area reservation processing unit 14 inquires the area management unit 15 of the free area of the shared storage 11 in order to secure the storage area for new data. The area management unit 15 refers to the storage management table 12 and determines whether or not the necessary storage area of the shared storage 11 can be secured. Then, when the storage capacity of the shared storage 11 is sufficient, the area reservation processing unit 14 performs the processing for securing the storage area as it is. However, for example, when the use of the shared storage 11 is concentrated in a plurality of applications 7, 8 and 9, when there is a request for securing from another application 7, 8 and 9, the shared storage 11 is used. There is a risk that the storage area to be secured will be insufficient.

そこで、本実施形態では、領域管理部15が、共用ストレージ11の必要な記憶領域が不足していると判断した場合には、データ圧縮処理部16に対し、共用ストレージ11において使用されている記憶領域の既存データに対する圧縮処理を要求する。データ圧縮処理部16は、データの圧縮処理の要求に従って、既存データのデータ圧縮の処理を実行する。ここでいうデータ圧縮の処理とは、一般的なデータ圧縮処理(可逆圧縮)に加え、データの間引き、データ形式の変更例えばビットマップデータをJPEGに変換する処理等(非可逆圧縮)も含まれ、データ量の削減を図ることができる処理全般を意味している。 Therefore, in the present embodiment, when the area management unit 15 determines that the required storage area of the shared storage 11 is insufficient, the storage used in the shared storage 11 is stored in the data compression processing unit 16. Request compression processing for existing data in the area. The data compression processing unit 16 executes data compression processing of existing data in accordance with a request for data compression processing. The data compression process referred to here includes not only general data compression process (reversible compression) but also data thinning, data format change, for example, process of converting bitmap data to PEG (irreversible compression). It means all the processing that can reduce the amount of data.

また、本実施形態では、前記データ圧縮処理部16は、ストレージ管理テーブル12に記憶されている既存データのデータ形式、例えばデータの拡張子で示されるデータ形式に基づいて、当該既存のデータが圧縮可能かどうかを判定し、圧縮処理を実行する。この場合、ストレージ管理テーブル12を参照して、該当する既存データのデータ形式に対応した圧縮プログラムを用いて、圧縮処理を実行する。尚、本実施形態では、ストレージ管理テーブル12の対応表及び複数の圧縮プログラムは、外部から書替え可能に構成されており、新規に開発された或いはバージョンアップされたデータ形式や圧縮プログラムに関し、外部から書替え、追加が行われることにより、容易に対応することが可能となる。 Further, in the present embodiment, the data compression processing unit 16 compresses the existing data based on the data format of the existing data stored in the storage management table 12, for example, the data format indicated by the extension of the data. Determine if it is possible and execute the compression process. In this case, the compression process is executed by referring to the storage management table 12 and using the compression program corresponding to the data format of the corresponding existing data. In this embodiment, the correspondence table of the storage management table 12 and the plurality of compression programs are configured to be rewritable from the outside, and the newly developed or upgraded data format and the compression program are externally configured. By rewriting and adding, it will be possible to easily respond.

さらに本実施形態では、データ圧縮処理部16が既存データの圧縮を行うにあたっては、優先度判定部17に各既存データの領域確保優先度を問い合わせ、各既存データに付与されている優先度が低いものから順に、圧縮処理を実行する。データ圧縮処理部16が既存データの圧縮処理を行った後にも、新規データの保存に関する共用ストレージ11の空き容量が不足している場合には、他のアプリケーション7、8、9の使用が終了して記憶領域が解放されるのを待って処理が行われる。尚、領域管理部15は、記憶領域の確保や解放の処理が完了したら、前記ストレージ管理テーブル12の管理情報を書替える。 Further, in the present embodiment, when the data compression processing unit 16 compresses the existing data, the priority determination unit 17 is inquired about the area securing priority of each existing data, and the priority given to each existing data is low. The compression process is executed in order from the first one. If the free space of the shared storage 11 for storing new data is insufficient even after the data compression processing unit 16 performs the compression processing of the existing data, the use of the other applications 7, 8 and 9 ends. The processing is performed after waiting for the storage area to be released. The area management unit 15 rewrites the management information in the storage management table 12 when the processing for securing and releasing the storage area is completed.

次に、上記構成のストレージ管理部10の実行する処理について、図2、図3も参照して述べる。そのうち図2のフローチャートは、ストレージ管理部10が実行する記憶領域の確保の処理手順を示している。また、図3のフローチャートは、図2のステップS3の既存データの圧縮処理の詳細な処理手順を示している。これらの処理により、本実施形態に係る共用ストレージ管理方法が実行される。 Next, the process executed by the storage management unit 10 having the above configuration will be described with reference to FIGS. 2 and 3. Among them, the flowchart of FIG. 2 shows a processing procedure for securing a storage area executed by the storage management unit 10. Further, the flowchart of FIG. 3 shows a detailed processing procedure of the compression processing of the existing data in step S3 of FIG. By these processes, the shared storage management method according to this embodiment is executed.

即ち、まず、図2において、ステップS1では、アプリ7、8、9から新規データの確保の要求及びその要求データ量が受付けられる。ステップS2では、アプリ7、8、9が要求する記憶領域の容量に対し、共用ストレージ11に要求量以上の空き容量があるかどうかが判断される。共用ストレージ11にアプリが要求する記憶領域の容量を確保するために必要な空き容量があると判断された場合には(ステップS2にてYes)、次のステップS6にて、共用ストレージ11の必要な記憶容量が確保され、アプリ7、8、9によるデータの保存が行われる。これと共に、ステップS7にて、ストレージ管理テーブル12の管理情報の登録がなされる。 That is, first, in FIG. 2, in step S1, the request for securing new data and the requested data amount are received from the applications 7, 8 and 9. In step S2, it is determined whether or not the shared storage 11 has more free space than the requested amount with respect to the capacity of the storage area requested by the applications 7, 8 and 9. If it is determined that the shared storage 11 has the free space required to secure the storage area required by the application (Yes in step S2), the shared storage 11 is required in the next step S6. A large storage capacity is secured, and data is saved by apps 7, 8 and 9. At the same time, in step S7, the management information of the storage management table 12 is registered.

これに対し、ステップS2にて、共用ストレージ11にアプリが要求する記憶領域の容量を確保するために必要な空き容量がないと判断された場合には(ステップS2にてNo)、ステップS3にて、データ圧縮処理部16に対し既存データの圧縮の処理が要求される。このステップS3の圧縮の処理の詳細については、後に図3の説明にて詳述する。このデータ圧縮の処理により、既存データのデータ量を削減することができ、共用ストレージ11の空き容量を増やすことができる。尚、例えばドライブレコーダの画像データのような場合、フレームを半分に間引くことで、データ容量を50%程度に圧縮することができる。 On the other hand, if it is determined in step S2 that the shared storage 11 does not have the free space required to secure the capacity of the storage area requested by the application (No in step S2), step S3 is performed. Therefore, the data compression processing unit 16 is required to perform the processing of compressing the existing data. The details of the compression process in step S3 will be described in detail later in FIG. By this data compression process, the amount of existing data can be reduced and the free space of the shared storage 11 can be increased. In the case of image data of a drive recorder, for example, the data capacity can be compressed to about 50% by thinning out the frames in half.

既存データの圧縮の処理が終了すると、ステップS4にて、共用ストレージ11にアプリが要求する記憶領域の容量を確保するために必要な空き容量があるかどうかが再度判断される。共用ストレージ11にアプリが要求する記憶領域の容量を確保するために必要な空き容量があると判断された場合には(ステップS4にてYes)、上記したステップS6に進み、共用ストレージ11の必要な記憶容量が確保され、アプリ7、8、9による保存が行われる。既存データの圧縮処理を行ったにも関わらず、共用ストレージ11にアプリが要求する記憶領域の容量を確保するために必要な空き容量がないと判断された場合には(ステップS4にてNo)、ステップS5に進み、他のアプリ7、8、9による共用ストレージ11の使用が終了して記憶領域が解放されることを待ち、その後ステップS6に進む。 When the processing of compressing the existing data is completed, in step S4, it is determined again whether or not the shared storage 11 has the free space required to secure the capacity of the storage area requested by the application. If it is determined that the shared storage 11 has the free space required to secure the storage area required by the application (Yes in step S4), the process proceeds to step S6 described above, and the shared storage 11 is required. A large storage capacity is secured, and storage is performed by apps 7, 8 and 9. If it is determined that the shared storage 11 does not have the free space required to secure the storage area required by the application even though the existing data has been compressed (No in step S4). , Step S5, waits for the storage area to be released after the use of the shared storage 11 by the other applications 7, 8 and 9 ends, and then proceeds to step S6.

図3のフローチャートは、図2のステップS3の処理、つまりストレージ管理部10において既存データの圧縮処理を行う場合の処理手順の詳細を示している。即ち、ステップS11では、ストレージ管理テーブル12を参照し、既存データの中から、それらのデータ形式に基づき、圧縮処理が可能な領域が抽出される。ステップS12では、ストレージ管理テーブル12の各既存データの領域確保優先度を参照して優先度が最も低い領域が選択される。この場合、領域確保優先度に加えて、他の情報例えば領域の確保順序の古さ、データ容量の大小などを参照して、圧縮すべき既存データを選ぶようにしても良い。 The flowchart of FIG. 3 shows the details of the processing of step S3 of FIG. 2, that is, the processing procedure when the storage management unit 10 performs the compression processing of the existing data. That is, in step S11, the storage management table 12 is referred to, and an area that can be compressed is extracted from the existing data based on those data formats. In step S12, the area with the lowest priority is selected with reference to the area reservation priority of each existing data in the storage management table 12. In this case, in addition to the area reservation priority, other information such as the age of the area reservation order, the size of the data capacity, and the like may be referred to to select the existing data to be compressed.

次のステップS13にて、選択された既存データの圧縮方法即ち圧縮プログラムが選択され、ステップS14では、データ圧縮処理が実行される。ステップS15では、データ圧縮処理後の共用ストレージ11に、新規データに関する要求量以上の空き容量があるかどうかが判断される。アプリが要求する記憶領域の容量を確保するために必要な空き容量があると判断された場合は(ステップS15にてYes)、リターンされる。リターンの後は、ステップS6にて共用ストレージ11に要求された記憶領域が確保される。 In the next step S13, the selected existing data compression method, that is, the compression program is selected, and in step S14, the data compression process is executed. In step S15, it is determined whether or not the shared storage 11 after the data compression process has a free space equal to or larger than the requested amount for the new data. If it is determined that there is free space required to secure the storage area capacity requested by the application (Yes in step S15), the application is returned. After the return, the storage area requested for the shared storage 11 in step S6 is secured.

これに対し、ステップS15で、未だ共用ストレージ11の空き領域が不足すると判断された場合には(ステップS15にてNo)、ステップS16にて、共用ストレージ11に圧縮可能な既存データを保存する領域が残っているかどうかが判断される。圧縮可能な既存データが残っている場合には(ステップS16にてYes)、次のステップ17にて、優先度が次に低い既存データの領域が、次の圧縮対象として選択され、ステップS13に戻り、ステップS13からの処理が繰返される。一方、圧縮可能な既存データが残っていない場合には(ステップS16にてNo)、リターンされる。 On the other hand, if it is determined in step S15 that the free area of the shared storage 11 is still insufficient (No in step S15), the area for storing the existing compressible data in the shared storage 11 in step S16. Is determined if is left. If the existing data that can be compressed remains (Yes in step S16), in the next step 17, the area of the existing data having the next lowest priority is selected as the next compression target, and in step S13. Returning, the process from step S13 is repeated. On the other hand, if there is no existing data that can be compressed (No in step S16), the data is returned.

このような本実施形態の共用ストレージ管理装置及び共用ストレージ管理方法によれば、次のような作用、効果を得ることができる。即ち、ストレージ管理部10は、各アプリケーション7、8、9の要求に従って共用ストレージ11の記憶領域の確保及び解放を調整する。このとき、例えば複数のアプリケーション7、8、9において共用ストレージ11の利用が集中することがあると、別のアプリケーション7、8、9からの確保の要求があったときに、新規データに関する共用ストレージ11の確保すべき記憶領域が不足する場合が生ずる虞がある。ここで、記憶領域が不足していると判断された場合でも、仮に、共用ストレージ11内の既存のデータを圧縮することにより、既存データが占有する記憶容量を削減して、空き容量を増やすことができ、新規データを保存する領域を確保することが可能となるケースが考えられる。 According to the shared storage management device and the shared storage management method of the present embodiment, the following actions and effects can be obtained. That is, the storage management unit 10 adjusts the securing and release of the storage area of the shared storage 11 according to the requests of the applications 7, 8 and 9. At this time, for example, if the use of the shared storage 11 is concentrated in a plurality of applications 7, 8 and 9, when another application 7, 8 or 9 requests to secure the shared storage 11, the shared storage related to new data is requested. There is a possibility that the storage area to be secured of 11 may be insufficient. Here, even if it is determined that the storage area is insufficient, the storage capacity occupied by the existing data is reduced and the free space is increased by compressing the existing data in the shared storage 11. In some cases, it is possible to secure an area for storing new data.

従って、共用ストレージ管理部10は、共用ストレージ11の既存データの圧縮処理を行うことにより、アプリケーション7、8、9から領域確保の要求があったときに、空き容量の不足の発生を抑えることができる。これにより、他のアプリケーション7、8、9の処理の終了による共用ストレージ11の記憶領域の空きが生ずることを待たずに、アプリケーション7、8、9の要求に応じて、速やかに新規データの記憶領域を確保することが可能となる。この結果、複数のアプリケーション7、8、9が共用する共用ストレージ11を備える車載システム1における、共用ストレージ11の記憶領域の効率の良い使用を可能とするという優れた効果を奏する。 Therefore, the shared storage management unit 10 can suppress the occurrence of insufficient free space when the applications 7, 8 and 9 request to secure the area by performing the compression processing of the existing data of the shared storage 11. can. As a result, new data is promptly stored in response to the request of the applications 7, 8 and 9 without waiting for the storage area of the shared storage 11 to become free due to the end of the processing of the other applications 7, 8 and 9. It is possible to secure an area. As a result, the in-vehicle system 1 including the shared storage 11 shared by the plurality of applications 7, 8 and 9 has an excellent effect of enabling efficient use of the storage area of the shared storage 11.

特に本実施形態では、ストレージ管理部10は、ストレージ管理テーブル12を参照し、共用ストレージ11に書込まれている既存データのデータ形式に基づいて、当該既存データが圧縮可能かどうかを容易かつ確実に判定することができ、既存データのデータ圧縮の処理を効率的に行うことができる。ストレージ管理部10は、ストレージ管理テーブル12を参照して、該当する既存データに対応した圧縮プログラムを用いて圧縮処理を実行するので、圧縮プログラムを複数の中から確実に選択し、容易に圧縮処理を実行することができる。ストレージ管理テーブル12の対応表、及び、圧縮プログラムは、外部から書替え可能に構成されているので、新規に開発された或いはバージョンアップされたデータ形式や圧縮プログラムに関し、外部から書き換えることにより、容易に対応することが可能となり、利便性を高めることができる。 In particular, in the present embodiment, the storage management unit 10 refers to the storage management table 12 and easily and surely determines whether or not the existing data can be compressed based on the data format of the existing data written in the shared storage 11. It is possible to efficiently perform data compression processing of existing data. Since the storage management unit 10 refers to the storage management table 12 and executes the compression process using the compression program corresponding to the corresponding existing data, the compression program can be reliably selected from a plurality of compression programs and the compression process can be easily performed. Can be executed. Since the correspondence table of the storage management table 12 and the compression program are configured to be rewritable from the outside, it is easy to rewrite the newly developed or upgraded data format or compression program from the outside. It becomes possible to respond and the convenience can be improved.

更に本実施形態では、ストレージ管理部10は、共用ストレージ11内の各既存データに付与されている優先度が低いものから順に、圧縮処理を実行する構成とした。これによれば、優先度が低いものから順にデータ圧縮の処理を行うことにより、新規データに関する記憶領域の確保を行うことができる。この場合、データ圧縮により、既存データの品質の低下やデータの復元が不可能となる等の不都合を招くケースがあるが、データ品質を高い状態で確保しておきたいものについては、優先度を高くしておくことができる。これにより、優先度の高い既存データに関しては、後回しにされることになり、データ圧縮を極力行わずに済ませることが期待できる。 Further, in the present embodiment, the storage management unit 10 is configured to execute the compression process in order from the one having the lowest priority given to each existing data in the shared storage 11. According to this, it is possible to secure a storage area for new data by performing data compression processing in order from the one having the lowest priority. In this case, data compression may cause inconveniences such as deterioration of the quality of existing data and inability to restore the data, but if you want to ensure the data quality in a high state, give priority to it. It can be kept high. As a result, existing data with high priority will be postponed, and it can be expected that data compression will be avoided as much as possible.

(2)第2の実施形態、その他の実施形態
次に、図5を参照して、第2の実施形態について述べる。この第2の実施形態においては、ストレージ管理部10の実行する共用ストレージ1の記憶領域の確保の処理が、上記第1の実施形態と異なっている。図5のフローチャートは、本実施形態におけるストレージ管理部10が実行する既存データの圧縮処理手順、つまり図2のステップS3の処理の詳細を示している。この実施形態では、ストレージ管理部10は、圧縮処理を施す既存データの範囲を、アプリが要求する記憶領域の容量を確保するために必要な最小限の範囲に留めながら、共用ストレージ11内の複数の既存データに対する圧縮処理を同時に並行して実行するようになっている。
(2) Second Embodiment, Other Embodiments Next, the second embodiment will be described with reference to FIG. In the second embodiment, the process of securing the storage area of the shared storage 1 executed by the storage management unit 10 is different from that of the first embodiment. The flowchart of FIG. 5 shows the details of the existing data compression processing procedure executed by the storage management unit 10 in the present embodiment, that is, the processing of step S3 of FIG. In this embodiment, the storage management unit 10 limits the range of existing data to be compressed to the minimum range necessary for securing the capacity of the storage area required by the application, and the storage management unit 10 has a plurality of data in the shared storage 11. The compression process for the existing data of is executed in parallel at the same time.

図5において、ステップS21では、ストレージ管理テーブル12を参照し、既存データの中から、それらのデータ形式に基づき、圧縮処理が可能な領域が抽出される。ステップS22では、ストレージ管理テーブル12の各既存データの領域確保優先度を参照して優先度が最も低い領域が選択される。ステップS23にて、選択された既存データの圧縮方法即ち圧縮プログラムが選択される。ステップS24では、該当する既存データに対するデータ圧縮処理の指示が行われる。 In FIG. 5, in step S21, the storage management table 12 is referred to, and an area capable of compression processing is extracted from the existing data based on those data formats. In step S22, the area with the lowest priority is selected with reference to the area reservation priority of each existing data in the storage management table 12. In step S23, the selected existing data compression method, that is, the compression program is selected. In step S24, an instruction for data compression processing is given to the corresponding existing data.

そして、ステップS25では、該当する既存データのデータ圧縮によって、共用ストレージ11の空き領域が、新規データの記憶領域確保の要求容量以上となりそうかどうかが判断される。この場合、実際の圧縮処理が完了しないと、圧縮後の容量は確定しないため、見込み容量で判断することが行われる。見込み容量の推定は、一律で圧縮率を一定値、例えば50%に仮定しておく、データ形式毎或いはアプリ毎に見込み圧縮率を何%と仮定しておくといった方法が用いられる。 Then, in step S25, it is determined whether or not the free area of the shared storage 11 is likely to exceed the required capacity for securing the storage area for new data by compressing the existing data. In this case, since the capacity after compression is not determined until the actual compression process is completed, the determination is made based on the estimated capacity. For the estimation of the estimated capacity, a method is used in which the compression rate is uniformly assumed to be a constant value, for example, 50%, or the estimated compression rate is assumed to be what percentage for each data format or application.

データ圧縮後に、新規データに関する要求量以上の空き容量が得られる見込みである場合には(ステップS25にてYes)、ステップS26に進み、データ圧縮の処理が完了するまで待ち、データ圧縮の処理完了後、ステップS27にて、共用ストレージ11の空き領域が、新規データの記憶領域確保の要求容量以上となったかどうかが判断され、アプリが要求する記憶領域の容量を確保するために必要な空き容量があると判断された場合は(ステップS27にてYes)、リターンされる。リターンの後は、ステップS6にて共用ストレージ11に要求された記憶領域が確保される。 If it is expected that more free space than the requested amount for new data will be obtained after data compression (Yes in step S25), the process proceeds to step S26, waits until the data compression process is completed, and the data compression process is completed. Later, in step S27, it is determined whether or not the free area of the shared storage 11 exceeds the required capacity for securing the storage area for new data, and the free space required for securing the capacity of the storage area requested by the application is determined. If it is determined that there is (Yes in step S27), it is returned. After the return, the storage area requested for the shared storage 11 in step S6 is secured.

上記ステップS25にて、要求量以上の空き容量が得られる見込みがない場合には(ステップS25にてNo)、ステップS28に進む。また、上記ステップS27にて、要求容量以上の空き容量が得られなかった場合にも(ステップS27にてNo)、ステップS28に進む。ステップS28では、共用ストレージ11に圧縮可能な既存データを保存する領域が残っているかどうかが判断される。 If there is no possibility that more free space than the required amount can be obtained in step S25 (No in step S25), the process proceeds to step S28. Further, even if a free capacity equal to or larger than the required capacity cannot be obtained in step S27 (No in step S27), the process proceeds to step S28. In step S28, it is determined whether or not the area for storing the existing compressible data remains in the shared storage 11.

圧縮可能な既存データが残っている場合には(ステップS28にてYes)、次のステップ29にて、優先度が次に低い既存データの領域が、次の圧縮対象として選択され、ステップS23に戻る。この場合には、ステップS23にて、選択された既存データの圧縮方法即ち圧縮プログラムが選択され、ステップS24にて、該当する既存データに対するデータ圧縮処理の指示が行われる。これにより、前の既存データの圧縮処理の完了を待たずに、次の既存データに対する圧縮処理の指示がなされ、複数の既存データに対する圧縮処理が並行して実行される。この後、ステップS25からの処理が繰返される。一方、上記ステップS28にて、圧縮可能な既存データが残っていない場合には(ステップS28にてNo)、ステップS30にて、全てのデータ圧縮処理の完了を待った後、リターンされる。 If the existing data that can be compressed remains (Yes in step S28), in the next step 29, the area of the existing data having the next lowest priority is selected as the next compression target, and in step S23. return. In this case, in step S23, the selected existing data compression method, that is, a compression program is selected, and in step S24, an instruction for data compression processing is given to the corresponding existing data. As a result, without waiting for the completion of the compression process of the previous existing data, the instruction of the compression process for the next existing data is given, and the compression process for a plurality of existing data is executed in parallel. After that, the process from step S25 is repeated. On the other hand, if the existing data that can be compressed does not remain in step S28 (No in step S28), the data is returned after waiting for the completion of all the data compression processing in step S30.

このような第2の実施形態によれば、上記第1の実施形態と同様に、複数のアプリケーション7、8、9が共用する共用ストレージ11を備えるシステムにおける、共用ストレージ11の記憶領域の効率の良い使用を可能とするという効果が得られる。これに加えて、ストレージ管理部10は、新規データに関する要求量以上の空き容量が得られることが見込まれる必要最小限の、共用ストレージ11内の複数の既存データに対する圧縮処理を同時に並行して実行する構成とした。 According to such a second embodiment, similarly to the first embodiment, the efficiency of the storage area of the shared storage 11 in the system including the shared storage 11 shared by the plurality of applications 7, 8 and 9. The effect of enabling good use is obtained. In addition to this, the storage management unit 10 simultaneously executes compression processing for a plurality of existing data in the shared storage 11 in parallel, which is the minimum necessary that is expected to obtain more free space than the required amount for new data. It was configured to be.

これにより、複数の既存データの圧縮処理を並行して行うことにより、短時間でより多くの空き容量の確保を行うことが可能となり、より効率的な処理を行うことができる。このとき、各既存データに関する、データ圧縮処理により、共用ストレージ11にどれくらいの空き容量を確保できるかを予測計算する構成としたので、データ圧縮による必要な記憶容量の確保を、必要最小限のデータ以外のデータに対する余分な処理を行うことなく確実に行うことができる。これにより、非可逆圧縮によって生じるデータの欠落を最小限にとどめることができるといった利点も得ることができる。 As a result, by performing the compression processing of a plurality of existing data in parallel, it is possible to secure a larger amount of free space in a short time, and it is possible to perform more efficient processing. At this time, since the configuration is such that the amount of free space that can be secured in the shared storage 11 is predicted and calculated by the data compression process for each existing data, the necessary storage capacity is secured by the data compression, which is the minimum necessary data. It can be surely performed without performing extra processing for data other than. This also has the advantage of minimizing the loss of data caused by lossy compression.

尚、上記各実施形態では、新規データの確保の要求があったときに、空き容量があるかの判断を行うように構成し、その判断に基づいて、既存データの圧縮の処理を行うように構成した。これに対し、共用ストレージ11の空き容量を常に監視し、空き容量が所定容量例えば200MB未満になった場合に、上記と同様なデータの圧縮処理を実行するように構成しても良い。この構成によれば、いわば先回りしてデータ圧縮を行うことにより、共用ストレージ11の空き容量を確保することができ、上記各実施形態と同様の効果を得ることができる。 In each of the above embodiments, when there is a request to secure new data, it is configured to determine whether or not there is free space, and based on the determination, the existing data is compressed. Configured. On the other hand, the free space of the shared storage 11 may be constantly monitored, and when the free space becomes less than a predetermined capacity, for example, 200 MB, the same data compression process as described above may be executed. According to this configuration, the free capacity of the shared storage 11 can be secured by performing data compression in advance, so to speak, and the same effect as that of each of the above-described embodiments can be obtained.

そして、上記実施形態では、既存データのデータ形式に基づいて、圧縮可能かどうかを判定するようにしたが、データを書込んだアプリケーションの種類に基づいて、圧縮可能かどうかを判定するように構成してもよい。これによれば、例えばA社製のハードウエアで得られたデータをA社のアプリによって書込んだ場合と、B社製のハードウエアで得られたデータをB社のアプリによって書込んだ場合とが混在するような場合でも、それらアプリの種類によりデータを区別し、圧縮可能かどうかの判定を行うことが可能となる。 Then, in the above embodiment, whether or not the data can be compressed is determined based on the data format of the existing data, but it is configured to determine whether or not the data can be compressed based on the type of the application in which the data is written. You may. According to this, for example, when the data obtained by the hardware of company A is written by the application of company A, and when the data obtained by the hardware of company B is written by the application of company B. Even in the case where and are mixed, it is possible to distinguish the data according to the type of those applications and determine whether or not the data can be compressed.

また、上記実施形態では、車載システム1を構成するECUのうち、セントラルゲートウェイ用のECU2に、共用ストレージ11を設けると共に、ストレージ管理部10の機能を設けるようにしたが、別のECUにそれらの機能を設けることも可能である。上記実施形態では、複数のECUをネットワーク接続した車載システム1に本発明を適用するようにしたが、閉じたネットワークに1以上のコンピュータを備える様々な用途、種類のシステム全般に適用することが可能である。 Further, in the above embodiment, among the ECUs constituting the in-vehicle system 1, the shared storage 11 is provided in the ECU 2 for the central gateway, and the function of the storage management unit 10 is provided in another ECU. It is also possible to provide a function. In the above embodiment, the present invention is applied to the in-vehicle system 1 in which a plurality of ECUs are connected to a network, but it can be applied to various applications and types of systems in which one or more computers are provided in a closed network. Is.

本開示は、実施例に準拠して記述されたが、本開示は当該実施例や構造に限定されるものではないと理解される。本開示は、様々な変形例や均等範囲内の変形をも包含する。加えて、様々な組み合わせや形態、さらには、それらに一要素のみ、それ以上、あるいはそれ以下、を含む他の組み合わせや形態をも、本開示の範疇や思想範囲に入るものである。 The present disclosure has been described in accordance with the examples, but it is understood that the present disclosure is not limited to the examples and structures. The present disclosure also includes various variations and variations within a uniform range. In addition, various combinations and forms, as well as other combinations and forms that include only one element, more, or less, are within the scope and scope of the present disclosure.

図面中、1は車載システム(システム)、2はECU(コンピュータ、共用ストレージ管理装置)、3、4はECU(コンピュータ)、5はネットワーク、6は車載通信機、7、8、9はアプリケーション、10はストレージ管理部、11は共用ストレージ、12はストレージ管理テーブル、13は要求受付部、14は領域確保処理部、15は領域管理部、16はデータ圧縮処理部、17は優先度判定部を示す。 In the drawing, 1 is an in-vehicle system (system), 2 is an ECU (computer, shared storage management device), 3 and 4 are ECUs (computers), 5 is a network, 6 is an in-vehicle communication device, and 7, 8 and 9 are applications. 10 is a storage management unit, 11 is a shared storage, 12 is a storage management table, 13 is a request reception unit, 14 is an area reservation processing unit, 15 is an area management unit, 16 is a data compression processing unit, and 17 is a priority determination unit. show.

Claims (8)

閉じたネットワーク(5)内に、外部との通信機能を備えたものを含む1つ以上のコンピュータ(2、3、4)を備え、前記各コンピュータ上の複数のアプリケーション(7、8、9)が相互に情報をやり取りすると共に、前記複数のアプリケーションがデータの書込み、読出しに利用する共用ストレージ(11)を有するシステム(1)に設けられるものであって、
前記各アプリケーションの要求に従って前記共用ストレージの記憶領域の確保及び解放を調整するストレージ管理部(10)を備え、
前記ストレージ管理部は、前記共用ストレージの空き容量が所定容量以下となったとき、或いは、前記アプリケーションからの確保の要求があった際に前記共用ストレージの確保すべき記憶領域が不足しているときに、当該共用ストレージに書込まれているデータの圧縮処理を実行する共用ストレージ管理装置。
A closed network (5) comprises one or more computers (2, 3, 4) including one having a function of communicating with the outside, and a plurality of applications (7, 8, 9) on each of the computers. Is provided in a system (1) having a shared storage (11) used by the plurality of applications for writing and reading data while exchanging information with each other.
A storage management unit (10) for adjusting the securing and release of the storage area of the shared storage according to the request of each application is provided.
When the free space of the shared storage becomes less than or equal to a predetermined capacity, or when the storage management unit has insufficient storage area to be secured by the shared storage when there is a request for securing from the application. A shared storage management device that executes compression processing of the data written in the shared storage.
前記ストレージ管理部は、前記共用ストレージに書込まれているデータのデータ形式に基づいて、当該データが圧縮可能かどうかを判定し、圧縮処理を実行する請求項1記載の共用ストレージ管理装置。 The shared storage management device according to claim 1, wherein the storage management unit determines whether or not the data can be compressed based on the data format of the data written in the shared storage, and executes the compression process. 前記ストレージ管理部は、複数種類の圧縮プログラムを記憶していると共に、前記共用ストレージの現在の利用状況を記録するストレージ管理テーブル(12)を備え、
前記ストレージ管理テーブルは、前記各データと前記圧縮プログラムとの対応表を含んでおり、
前記ストレージ管理部は、前記ストレージ管理テーブルを参照して、該当するデータに対応した圧縮プログラムを用いて、圧縮処理を実行する請求項1又は2記載の共用ストレージ管理装置。
The storage management unit includes a storage management table (12) that stores a plurality of types of compression programs and records the current usage status of the shared storage.
The storage management table includes a correspondence table between the data and the compression program.
The shared storage management device according to claim 1 or 2, wherein the storage management unit refers to the storage management table and executes compression processing by using a compression program corresponding to the corresponding data.
前記ストレージ管理テーブルの対応表、及び、前記圧縮プログラムは、外部から書替え可能に構成されている請求項3記載の共用ストレージ管理装置。 The shared storage management device according to claim 3, wherein the correspondence table of the storage management table and the compression program are configured to be rewritable from the outside. 前記ストレージ管理部は、前記共用ストレージにデータを書込んだアプリケーションの種類に基づいて、当該データが圧縮可能かどうかを判定し、圧縮処理を実行する請求項1記載の共用ストレージ管理装置。 The shared storage management device according to claim 1, wherein the storage management unit determines whether or not the data can be compressed based on the type of the application that has written the data to the shared storage, and executes the compression process. 前記ストレージ管理部は、前記共用ストレージ内の各データに付与されている優先度が低いものから順に、圧縮処理を実行する請求項1から5のいずれか一項に記載の共用ストレージ管理装置。 The shared storage management device according to any one of claims 1 to 5, wherein the storage management unit executes compression processing in order from the one having the lowest priority assigned to each data in the shared storage. 前記ストレージ管理部は、前記共用ストレージ内の複数のデータに対する圧縮処理を同時に並行して実行する請求項6記載の共用ストレージ管理装置。 The shared storage management device according to claim 6, wherein the storage management unit simultaneously executes compression processing for a plurality of data in the shared storage in parallel. 閉じたネットワーク(5)内に、外部との通信機能を備えたものを含む1つ以上のコンピュータ(2、3、4)を備え、前記各コンピュータ上の複数のアプリケーション(7、8、9)が相互に情報をやり取りすると共に、前記複数のアプリケーションがデータの書込み及び読出しに利用する共用ストレージ(11)を有するシステム(1)における、
前記各アプリケーションの要求に従って前記共用ストレージの記憶領域の確保を調整する方法であって、
前記共用ストレージの空き容量が所定容量以下となったとき、或いは、前記アプリケーションからの確保の要求があった際に前記共用ストレージの確保すべき記憶領域が不足しているときに、当該共用ストレージに書込まれているデータの圧縮処理を実行する共用ストレージ管理方法。
A closed network (5) comprises one or more computers (2, 3, 4) including one having a function of communicating with the outside, and a plurality of applications (7, 8, 9) on each of the computers. In a system (1) having a shared storage (11) used by the plurality of applications for writing and reading data while exchanging information with each other.
A method of adjusting the storage area of the shared storage according to the request of each application.
When the free space of the shared storage becomes less than or equal to a predetermined capacity, or when the storage area to be secured by the shared storage is insufficient when the application requests to secure the shared storage, the shared storage is used. A shared storage management method that performs compression processing for written data.
JP2020165366A 2020-09-30 2020-09-30 Shared storage management apparatus and shared storage management method Pending JP2022057227A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020165366A JP2022057227A (en) 2020-09-30 2020-09-30 Shared storage management apparatus and shared storage management method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2020165366A JP2022057227A (en) 2020-09-30 2020-09-30 Shared storage management apparatus and shared storage management method

Publications (1)

Publication Number Publication Date
JP2022057227A true JP2022057227A (en) 2022-04-11

Family

ID=81111390

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020165366A Pending JP2022057227A (en) 2020-09-30 2020-09-30 Shared storage management apparatus and shared storage management method

Country Status (1)

Country Link
JP (1) JP2022057227A (en)

Similar Documents

Publication Publication Date Title
US9557928B2 (en) Autonomic reclamation processing on sequential storage media
US20100005225A1 (en) Nonvolatile memory device, nonvolatile memory system, and host device
US20200249930A1 (en) Onboard system and ecu
US11126422B2 (en) Program update system, control system, mobile body, program update method, recording medium
WO2017036183A1 (en) Differential upgrade package processing method and device, upgrade method, system and device
CN114968102B (en) Data caching method, device, system, computer equipment and storage medium
US8595430B2 (en) Managing a virtual tape library domain and providing ownership of scratch erased volumes to VTL nodes
CN113467719B (en) Data writing method and device
US11698735B2 (en) Common storage management device and common storage management method
CN105141696A (en) File uploading method and device
US11870868B2 (en) Common storage management device and common storage management method
JP2022057227A (en) Shared storage management apparatus and shared storage management method
US20070150527A1 (en) File transfer system, file storage apparatus, method for storing file, and program
US11836045B2 (en) Electronic control device having a non-volatile memory with a reserved area storing failure data
JP7429792B2 (en) Data transmission methods, terminals and computer-readable storage media
US20220027097A1 (en) Recording apparatus, recording method, storage medium, and memory card
CN104346101A (en) Dynamic storage space allocation system and method
CN113127438B (en) Method, apparatus, server and medium for storing data
JP6631676B2 (en) In-vehicle update device, update system and update processing program
KR102555907B1 (en) A vehicle and method for controlling communication thereof
JP6891603B2 (en) Backup system, storage device, data transfer method and program
JP4660404B2 (en) Data transfer apparatus and data transfer method
CN110968328A (en) Method and device for realizing application loading, computer storage medium and terminal
JP2020160845A (en) Application installation apparatus, and installation method
JP7373521B2 (en) Communication systems and communication terminals

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20230215

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20231222

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240123

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20240312

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20240402