Information processing device, information processing method, and information processing program
The information processing device addresses storage inefficiencies by prioritizing data transmission to a data center, ensuring all data is written efficiently without overwriting low-priority data.
Patent Information
- Application Number
- JP2022190555
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2042-11-29
AI Technical Summary
Existing storage systems face inefficiencies when shared areas become full, leading to the risk of low-priority data being unable to be written due to insufficient free space, and high-priority data overwriting low-priority data.
An information processing device that sets higher write priorities for data destined for a data center over other applications, ensuring low-priority data can be written by dynamically adjusting priorities and managing storage space.
Ensures efficient utilization of shared storage by prioritizing data transmission to a data center, allowing all data to be written without overwriting low-priority data.
Smart Images

Figure 0007800399000001 
Figure 0007800399000002 
Figure 0007800399000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to an information processing device, an information processing method, and an information processing program. [Background technology]
[0002] For example, Patent Document 1 describes a device having a shared storage that is used by multiple applications to write and read data. [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Publication No. 2022-57227 Summary of the Invention [Problem to be solved by the invention]
[0004] To efficiently utilize the storage capacity of a storage device, it is conceivable to designate a portion of the storage area as a shared area to allow various applications to write data. However, if the amount of data stored by each application increases and the free space in the shared area becomes insufficient, further data writing becomes impossible. Therefore, data of low-priority applications must be deleted from the shared area according to a data writing priority preset for each application. If data writing priorities are set in this manner, there is a risk that data of low-priority applications will not be able to be written. Furthermore, even if the entire shared area is filled with data of low-priority applications, when a data write request is made by a high-priority application, the data of the low-priority application will be deleted. If the shared area becomes full of data and free space becomes insufficient, there is a risk that data of low-priority applications will not be able to be written to the shared area. [Means for solving the problem]
[0005] An information processing device that solves the above problem controls the writing of data by multiple applications to a storage device installed in a vehicle. The information processing device includes an execution device. The storage area has a shared area that is shared by multiple applications, and a priority for allowing data to be written to the shared area is set for each of the multiple applications. The execution device executes the following: when writing transfer data, which is data of the application written to the shared area and is to be transmitted to a data center, to the shared area, the write priority of the transfer data is set to be higher than the write priority of data of the multiple applications.
[0006] According to this configuration, the priority of the transfer data to be sent to the data center when it is written to the shared area is set higher than the priorities of multiple applications, so that data from applications with low priority included in the transfer data can also be written to the storage. [Brief explanation of the drawings]
[0007] [Figure 1] FIG. 1 is a schematic diagram illustrating a configuration of an information processing device according to an embodiment. [Figure 2] 10 is a flowchart illustrating a procedure of a process executed by the information processing apparatus of the embodiment. [Figure 3] 10 is a flowchart illustrating a procedure of a process executed by the information processing apparatus of the embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0008] Hereinafter, an information processing device, an information processing method, and an information processing program according to an embodiment will be described with reference to the drawings. <Configuration of information processing device> As shown in FIG. 1, the vehicle 10 includes an information processing device 70.
[0009] The information processing device 70 includes a CPU 72, which is a central processing unit, a ROM 73, a RAM 74, a storage 75, a communication interface 76, a peripheral circuit 77, and the like, which are capable of communicating with each other via an internal bus.
[0010] The storage 75 is configured with, for example, a NAND memory, and is capable of being written to, read from, and deleted by multiple applications. The storage 75 has a storage area logically divided. For example, the storage area of the storage 75 is divided into a dedicated area 75a and a shared area 75b.
[0011] The dedicated area 75a is a storage area that is used exclusively by a specific application among multiple applications. The shared area 75b is a storage area that is shared by multiple applications, and the capacity of the storage area used by each application is dynamically changed.
[0012] The communication interface 76 is connected to an external bus. A communication device 80 is connected to the external bus. The communication device 80 is connected to a network N via wireless communication. A data center 200 including a server and the like is connected to the network N.
[0013] The peripheral circuit 77 includes a circuit that generates a clock signal that regulates internal operations, a power supply circuit, a reset circuit, and the like. The information processing device 70 controls the writing, reading, and deletion of data to and from the storage 75 by a plurality of applications by causing the CPU 72 to execute programs stored in the ROM 73. In this embodiment, the CPU 72 that performs such control is an execution device.
[0014] The information processing apparatus 70 executes a transmission process of transmitting the data of the application written in the shared area 75b to the data center 200. When executing this transmission process, the CPU 72 writes the data to be transmitted to the data center 200 as transfer data in the shared area 75b. Then, the written transfer data is transmitted to the data center 200. The writing of the transfer data to the shared area 75b is executed at a predetermined cycle during the operation of the CPU 72.
[0015] <Regarding the priority of write data> In the present embodiment, priorities for permitting writing of data to the shared area 75b are set for each of a plurality of applications.
[0016] More specifically, the priority is pre-assigned numerically for each application, and the smaller the number, the higher the priority of data writing. And the priority A for the static data write request by the user is the highest priority among the priorities. Note that the static data write request by the user includes, for example, the writing of application data when the user requests installation of a new application to the shared area 75b.
[0017] Also, for writing the above transfer data, all of the priorities X1 to Xn pre-assigned for each application are larger in number than the above priority A. Therefore, the priorities X1 to Xn are lower priorities than the priority A. Note that "n" corresponds to the number of applications. For example, if the number of applications for which data is transmitted to the data center 200 is "3", the priorities of the transfer data are priorities X1, X2, X3, and the magnitude relationship of the numbers of those priorities is "X1 < X2 < X3". Therefore, as the priorities of writing the transfer data, they are X1, X2, X3 in descending order.
[0018] Furthermore, the priority of each application when writing data to the shared area 75b is a number obtained by adding a default value B to the above-mentioned priorities X1 to Xn. The default value B is an integer greater than the value of "Xn-X1." For example, if "n" is "3," the default value B is a value greater than "2," i.e., a value equal to or greater than "3." As an example, if priority X1 is set to "51," priority X2 is set to "52," priority X3 is set to "53," and default value B is set to "1000," the priority of the application corresponding to priority X1 during normal writing is "X1+B=1051." The priority of the application corresponding to priority X2 during normal writing is "X2+B=1052." The priority of the application corresponding to priority X3 during normal writing is "X3+B=1053." Setting default value B in this manner prevents conflict between the priority during normal writing and the priority during writing of transfer data.
[0019] Next, the process executed by the information processing device 70 having the CPU 72, which is an execution device, will be described with reference to Fig. 2. The process shown in Fig. 2 starts when the ignition switch of the vehicle 10 is turned on or when the CPU 72 is started. The process is then repeatedly executed at predetermined intervals. In the following, the step number of each process is represented by a number preceded by "S."
[0020] 2, the information processing device 70 first executes a process of adding the above-mentioned predetermined value B to a priority value within a predetermined range (S100). The priority value within the predetermined range is a priority that is set in advance for writing transfer data, and corresponds to the above-mentioned priorities X1 to Xn.
[0021] Next, the information processing device 70 determines whether the ignition switch has been turned off or whether the CPU 72 is in a sleep state (S110). If the determination in S110 is negative, the information processing device 70 next determines whether or not there is a data write request (S120). The data write request in S120 refers to a write request for transfer data or a write request for static data by the user.
[0022] If the information processing device 70 determines that there is no data write request (S120: NO), it repeats the process of S120. Note that when a negative determination is made in the process of S120, the data write priority of each application follows the priority calculated in the process of S100.
[0023] On the other hand, in the process of S120, if it is determined that there is a data write request (S120: YES), the information processing device 70 determines whether the writable capacity of the shared area 75b is equal to or less than a predetermined value L (S130). The predetermined value L is the minimum free space required when writing data to the shared area 75b, and is set in advance.
[0024] When the information processing device 70 determines that the writable capacity of the shared area 75b is equal to or less than the predetermined value L (S130: YES), it executes a process of deleting data of the application with the lowest priority from the shared area 75b (S140). In the process of S140, for example, data with the highest priority number among the priorities to which the predetermined value B has been added is deleted. By executing the process of S140, a data write area is secured in the shared area 75b.
[0025] On the other hand, if it is determined in the process of S130 that the writable capacity of the shared area 75b exceeds the predetermined value L (S130: NO) or if the process of S140 is executed, the information processing device 70 executes the process of S150. In S150, the information processing device 70 executes the process of determining whether or not there is a static data writing request from the user.
[0026] Then, when it is determined that there is a request to write static data from the user (S150: YES), the information processing device 70 writes the static data from the user to the shared area 75b according to priority A (S160).
[0027] On the other hand, if the information processing device 70 determines in the process of S150 that there is no static data write request from the user (S150: NO), the current data write request is a request to write transfer data. Therefore, the information processing device 70 writes the transfer data to the shared area 75b in accordance with the above-mentioned priority Xn (S170). Then, when writing of the transfer data to the shared area 75b is completed, the information processing device 70 executes a process to transmit the written transfer data to the data center 200 (S180).
[0028] If the determination in the process of S110 above is affirmative, or if the process of S160 above or the process of S180 above is executed, the information processing device 70 ends this process in the current execution cycle.
[0029] <Action and effect> The operation and effects of this embodiment will be described. (1) In the process of S100 shown in Fig. 2, a process is executed in which a predetermined value B is added to each value of the priorities X1 to Xn. As a result, when the transfer data to be transmitted to the data center 200 is written in the shared area 75b, the write priorities X1 to Xn of the transfer data become higher than the write priorities (X1+B) to (Xn+B) of the data of multiple applications.
[0030] In this way, the priority when writing transfer data to be sent to the data center 200 into the shared area 75b is set higher than the priority of writing data for multiple applications. Therefore, data of a low-priority application included in the transfer data can also be written into the shared area 75b of the storage 75.
[0031] (2) The series of processes shown in Fig. 2 are executed at predetermined intervals while the information processing device 70 is in operation, and therefore the writing of transfer data to the shared area 75b is executed at predetermined intervals while the information processing device 70 is in operation. Therefore, when transmitting data of each application to the data center 200, the most recent data possible can be transmitted.
[0032] The above embodiment can be modified as follows: The above embodiment and the following modifications can be combined with each other within the scope of technical compatibility.
[0033] In the above embodiment, the transfer data is written to the shared area 75b at predetermined intervals while the information processing device 70 is in operation, but the transfer data may be written at other times.
[0034] Such a modified example is shown in Fig. 3. As shown in Fig. 3, the information processing device 70 determines whether the ignition switch has been turned off (S200). If it is determined that the ignition switch has been turned off (S200: YES), the information processing device 70 executes a data write process (S210). This write process in S210 is the same as the processes from S120 to S170 shown in Fig. 2. Then, when writing of the transfer data to the shared area 75b is completed, the information processing device 70 executes a process of transmitting the written transfer data to the data center 200 (S220).
[0035] If the determination in the process of S200 above is affirmative, or if the process of S220 above is executed, the information processing device 70 ends this process in the current execution cycle. In this modification, the transfer data is written to the shared area 75b when the ignition switch of the vehicle 10 is turned off. Therefore, the number of times the transfer data write process is executed is reduced compared to when the transfer data is written to the shared area 75b at predetermined intervals while the information processing device 70 is operating. This reduces the computational load required to write the transfer data. Note that the transfer data may be written to the shared area 75b immediately before the information processing device 70 enters a sleep state.
[0036] The information processing device configured as a computer is not limited to one equipped with a CPU 72 and a ROM 73 and executing software processing. For example, it may be equipped with a dedicated hardware circuit, such as an ASIC, that performs hardware processing on at least a portion of what was processed by software in the above embodiments. That is, the information processing device may have any of the following configurations (a) to (c): (a) equipped with a processing device that executes all of the above processing in accordance with a program, and a program storage device, such as a ROM, that stores the program; (b) equipped with a processing device and program storage device that executes part of the above processing in accordance with a program, and a dedicated hardware circuit that executes the remaining processing; or (c) equipped with a dedicated hardware circuit that executes all of the above processing. Here, there may be multiple software execution devices equipped with a processing device and a program storage device, and multiple dedicated hardware circuits. [Explanation of symbols]
[0037] 10...Vehicle 70...Information processing device 72...CPU 73...ROM 74...RAM 75…Storage 75a...Dedicated area 75b…Shared area 76...Communication interface 77...Peripheral circuit 80...Communications equipment 200...Data center
Claims
1. An information processing device that controls writing of data by a plurality of applications to a storage device mounted on a vehicle, an execution device; The storage area of the storage includes a shared area that is shared by a plurality of applications, a priority for permitting writing of data to the shared area is set for each of the plurality of applications; An information processing device executed by the execution device to give a higher priority to writing transfer data, which is data of the application written in the shared area and is to be sent to a data center, when writing the transfer data in the shared area than the priority of writing data of multiple applications.
2. The transfer data is written to the shared area at predetermined intervals while the execution device is running. The information processing device according to claim 1 .
3. The transfer data is written to the shared area when the ignition switch of the vehicle is turned off. The information processing device according to claim 1 .
4. 1. An information processing method for controlling writing of data by a plurality of applications to a storage device mounted on a vehicle, comprising: The storage area of the storage includes a shared area that is shared by a plurality of applications, a priority for permitting writing of data to the shared area is set for each of the plurality of applications; An information processing method in which a computer executes a process of setting the writing priority of transfer data, which is data of the application written in the shared area and is to be sent to a data center, higher than the writing priority of data of multiple applications when writing the transfer data in the shared area.
5. An information processing program for controlling writing of data by a plurality of applications to a storage device mounted in a vehicle, The storage area of the storage includes a shared area that is shared by a plurality of applications, a priority for permitting writing of data to the shared area is set for each of the plurality of applications; On the computer, An information processing program for executing a process for setting the writing priority of transfer data, which is data of the application written in the shared area and is to be sent to a data center, higher than the writing priority of data of multiple applications when the transfer data is written in the shared area.
Citation Information
Patent Citations
Information transfer system, and image forming device
JP2006277363A
Terminal device
JP2014049912A
Vehicle information correction device and vehicle information correction method
JP2017142565A
Shared storage management apparatus and shared storage management method
JP2022057224A
Shared storage management apparatus and shared storage management method
JP2022057226A