Information processing device, information processing method, information processing program, and vehicle
The information processing device addresses the complexity of user-storage area relationships by separating classes, enabling efficient processing and reducing design change impact in systems with multiple users.
Patent Information
- Application Number
- JP2022005361
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2022-01-17
- Publication Date
- 2025-09-09
- Estimated Expiration
- 2042-01-17
AI Technical Summary
Conventional systems fail to consider the relationship between users and storage areas when multiple users store data, leading to complexity and inefficiency.
An information processing device that separates user and storage area classes, allowing for processing that takes into account the relationship between users and storage areas by generating objects corresponding to these classes based on request signals.
Enables efficient processing that considers user-storage area relationships, reducing complexity and the scale of design changes due to user additions or storage capacity changes.
Smart Images

Figure 0007736582000001 
Figure 0007736582000002 
Figure 0007736582000003
Abstract
Description
[Technical Field]
[0001] The present disclosure relates to an information processing device, an information processing method, an information processing program, and a vehicle. [Background technology]
[0002] Conventionally, an object-oriented vehicle control system is known that can minimize the impact on applications and data even when the design of a storage medium is changed (for example, Patent Document 1). Patent Document 1 discloses that a method for converting data into persistence-compatible data, which is the storage format of the data, is incorporated into a persistence-compatible data conversion processing class (for example, see [Abstract]).
[0003] Also, an information processing device capable of efficiently changing the specifications of an object is known (for example, Patent Document 2). The information processing device of Patent Document 2 sets attribute information corresponding to the type of a generated predetermined object to the predetermined object based on first definition information (for example, see [Abstract]). [Prior art documents] [Patent documents]
[0004] [Patent Document 1] Japanese Patent Application Laid-Open No. 2008-077220 [Patent Document 2] Japanese Patent Application Laid-Open No. 2005-301985 Summary of the Invention [Problem to be solved by the invention]
[0005] However, when a system is used by multiple users, the system may store data used by the users. In this case, the system needs to reserve a storage area for each user, which is likely to make the system complex. For this reason, it is preferable that the system takes into consideration the relationship between users and storage areas.
[0006] The technology of Patent Document 1 is a technology that incorporates a method that converts data into persistence-compatible data into a persistence-compatible data conversion processing class. However, the technology of Patent Document 1 does not take into consideration the relationship between users and storage areas. Similarly, the technology of Patent Document 2 does not take into consideration the relationship between users and storage areas.
[0007] Therefore, conventional technology has the problem that when a system is used by multiple users and data used by the users is stored in the system, it is not possible to perform processing that takes into account the relationship between users and storage areas.
[0008] The present disclosure has been made in consideration of the above facts, and aims to perform processing that takes into account the relationship between users and storage areas when a system is used by multiple users and data used by the users is stored in the system. [Means for solving the problem]
[0009] In order to achieve the above object, a first aspect of the present disclosure is an information processing device including: a reception unit that receives a request signal; a generation unit that reads the user class or the storage area class from a memory unit based on whether the request signal received by the reception unit is a request signal for a user class, which is a class related to a user, or a storage area class, which is a class related to a storage area used by the user, and generates an object corresponding to the read class; a data acquisition unit that acquires data corresponding to the request signal by executing a method corresponding to the object based on the object generated by the generation unit and the request signal; and an output unit that outputs the data acquired by the data acquisition unit.
[0010] An information processing device according to a first aspect of the present disclosure receives a request signal, reads a user class or a storage area class from a storage unit based on whether the received request signal is for a user class, which is a class related to a user, or a storage area class, which is a class related to a storage area used by the user, and generates an object corresponding to the read class. The information processing device acquires data corresponding to the request signal by executing a method corresponding to the object based on the generated object and the request signal. The information processing device then outputs the acquired data. This allows for processing that takes into account the relationship between users and storage areas when a system is used by multiple users and data used by the users is stored in the system.
[0011] The user class of the second aspect of the present disclosure is a class that has information about the user as attribute information and has processing related to the user as a method, and the storage area class is a class that has information about the storage area as attribute information and has processing related to the storage area as a method. According to the second aspect of the present disclosure, the attribute information and methods about the user are separated from the attribute information and methods about the storage area, making it possible to appropriately execute processing that takes into account the relationship between the user and the storage area.
[0012] In a third aspect of the present disclosure, the storage unit further stores a user group class, which is a class that manages the user class, has information about multiple users as attribute information, and has processes related to the multiple users as methods, and a storage area group class, which is a class that manages the storage area class, has attribute information about multiple storage areas, and has processes related to the multiple storage areas as methods, and the generation unit determines that the request signal is a request signal for the user class if the request signal is a request signal for the user group class, and determines that the request signal is a request signal for the storage area class if the request signal is a request signal for the storage area group class. According to the third aspect of the present disclosure, attribute information and methods related to user groups and attribute information and methods related to storage area groups are separated, making it possible to appropriately execute processing that takes into account the relationship between user groups and storage area groups.
[0013] In a fourth aspect of the present disclosure, the storage unit further stores a file class, which is a class having information about a file stored in the storage area as attribute information and having processing related to the file as a method, and the generation unit further determines whether the request signal is a request signal for the file class, and generates the object corresponding to the file class if the request signal indicates that it is a request signal for the file class. According to the fourth aspect of the present disclosure, the attribute information and methods related to the file are separated from other attribute information and methods, and processing can be appropriately performed taking into account the relationship between the file class and other classes.
[0014] A fifth aspect of the present disclosure is a vehicle equipped with the above-described information processing device. According to the fifth aspect of the present disclosure, when a vehicle is used by multiple users and data used by the users is stored in the vehicle's information processing device, processing can be performed taking into account the relationship between the users and the storage areas.
[0015] An information processing method according to a sixth aspect of the present disclosure is an information processing method in which a computer executes the following process: receiving a request signal; reading a user class or a storage area class from a storage unit based on whether the received request signal is for a user class, which is a class related to a user, or a storage area class, which is a class related to a storage area used by the user; generating an object corresponding to the read class; and executing a method corresponding to the object based on the generated object and the request signal, thereby acquiring data corresponding to the request signal and outputting the acquired data. According to the sixth aspect of the present disclosure, similar to the first aspect, when a system is used by multiple users and data used by the users is stored in the system, it is possible to execute a process that takes into account the relationship between users and storage areas.
[0016] An information processing program according to a seventh aspect of the present disclosure is an information processing program for causing a computer to execute a process of receiving a request signal, reading the user class or the storage area class from a storage unit based on whether the received request signal is for a user class, which is a class related to a user, or a storage area class, which is a class related to a storage area used by the user, generating an object corresponding to the read class, and executing a method corresponding to the object based on the generated object and the request signal, thereby acquiring data corresponding to the request signal, and outputting the acquired data. According to the seventh aspect of the present disclosure, similar to the first aspect, when a system is used by multiple users and data used by the users is stored in the system, it is possible to execute a process that takes into account the relationship between users and storage areas. [Effects of the Invention]
[0017] As described above, according to the present disclosure, when a system is used by multiple users and data used by the users is stored in the system, it is possible to perform processing that takes into account the relationship between the users and the storage area. [Brief explanation of the drawings]
[0018] [Figure 1] 1 is a block diagram illustrating an example of a functional configuration of an information processing system according to an embodiment. [Figure 2] FIG. 2 is a diagram illustrating an example of each class. [Figure 3] FIG. 10 is a diagram illustrating an example of method execution. [Figure 4] FIG. 10 is a diagram illustrating an example of method execution. [Figure 5] FIG. 2 is a diagram illustrating an example of the configuration of a computer of each device according to the embodiment. [Figure 6] FIG. 2 is a diagram illustrating an example of a flow of processing performed by an ECU according to the embodiment. DETAILED DESCRIPTION OF THE INVENTION
[0019] Hereinafter, embodiments of the present disclosure will be described in detail with reference to the drawings.
[0020] <Embodiment> Fig. 1 is a block diagram showing an example of the functional configuration of an information processing system 10 according to an embodiment. As shown in Fig. 1, the information processing system 10 includes a vehicle 12 and a server 14. The vehicle 12 and the server 14 are connected to each other via a predetermined communication network 16 so as to be able to communicate with each other.
[0021] An ECU (Electronic Control Unit) 18, which is an example of an information processing device, is mounted on the vehicle 12. As shown in FIG. 1, the ECU 18 includes an information storage unit 20, a reception unit 22, a determination unit 24, a generation unit 26, a data acquisition unit 28, and an output unit 30.
[0022] The vehicle 12 may be used by multiple users. Furthermore, when the ECU 18 of the vehicle 12 and the server 14 cooperate with each other, the vehicle 12 may be used by multiple users via the server 14. For example, when multiple users each listen to music in the vehicle 12, the music data or related data may be stored in a storage unit (not shown) of the ECU 18 of the vehicle 12. In addition, it is also conceivable that various data for each user is stored in the storage unit (not shown) of the ECU 18. In such a case, the ECU 18 needs to reserve a storage area for each user, and the configuration of the ECU 18 is likely to be complex.
[0023] Therefore, in this embodiment, a user class, which is a class related to the user of the vehicle 12, and a storage area class, which is a class related to the storage area used by the user, are separated. As a result, when the vehicle 12 is used by multiple users and data used by the users is stored in the ECU 18 of the vehicle 12, processing is executed taking into account the relationship between the users and the storage area. Specifically, even if a design change occurs due to the addition of a user or a change in storage capacity, the scale of the change can be reduced. This will be explained in detail below.
[0024] The information storage unit 20 stores a data structure corresponding to a user group class, a data structure corresponding to a user class, a data structure corresponding to a storage area group class, a data structure corresponding to a storage area class, and a data structure corresponding to a file class. Each of these classes is a class in an object-oriented program.
[0025] Figure 2 shows a diagram for explaining each class.
[0026] As shown in Figure 2, the storage area group class 40 is a class that manages the storage area class 42. The storage area group class 40 has attribute information related to multiple storage areas, and has methods for processing related to multiple storage areas. For example, the storage area group class 40 has attribute information related to multiple storage areas, such as a list of storage areas and the sizes of all storage areas. The storage area group class 40 also has methods for processing related to multiple storage areas, such as setting a new storage area and deleting a storage area.
[0027] 2, the storage area class 42 is a class that manages the file class 44. The storage area class 42 has information about the storage area as attribute information, and has processes related to the storage area as methods. For example, the storage area class 42 has information about the storage area, such as a list of files stored in the storage area and the size of the storage area, as attribute information. The storage area class 42 also has methods for processes related to the storage area, such as setting the storage area and deleting the storage area.
[0028] 2, the file class 44 has information about the file stored in the storage area as attribute information, and has processing related to the file as methods. For example, the file class 44 has information about the file, such as a file identifier, as attribute information. The file class 44 also has processing related to the file, such as referencing the file, as methods.
[0029] 2, the user group class 46 is a class that manages user classes. The user group class 46 has information about multiple users as attribute information, and has processes related to multiple users as methods. For example, the user group class 46 has information about multiple users, such as a list of users, as attribute information. The user group class 46 also has methods for processes related to multiple users, such as setting the ID of a new storage area used by a user, obtaining the ID of a storage area used by a user, or deleting the ID of a storage area used by a user.
[0030] 2, the user class 48 has information about the user as attribute information and has processes related to the user as methods. For example, the user class 48 has information about the user as attribute information, such as the ID of the user's shared storage area and the ID of the user's unique storage area. The user class 48 also has processes related to the user, such as obtaining the ID of the user's shared storage area and the ID of the user's unique storage area, as methods.
[0031] The receiving unit 22 receives a request signal output from a predetermined application program. For example, the receiving unit 22 receives a request signal output from an application program executed on the server 14.
[0032] The determining unit 24 determines, based on the request signal received by the receiving unit 22, whether the request signal is directed to the user group class 46 or the storage area group class 40.
[0033] The generation unit 26 reads out the user group class 46 or the storage area group class 40 from the information storage unit 20 based on the determination result obtained by the determination unit 24. The generation unit 26 then generates an object corresponding to the read class. For example, if the request signal is for a user class and includes the user ID "00001", the generation unit 26 generates an object corresponding to the user ID "00001".
[0034] The data acquisition unit 28 acquires data corresponding to the request signal by executing a method corresponding to the object based on the object generated by the generation unit 26 and the request signal.
[0035] 3 and 4 are diagrams for explaining the execution of a method.
[0036] For example, if the request signal is a signal for the user group class 46, each method shown in Fig. 3 is executed. The example shown in Fig. 3 is a case where the request signal requests acquisition of the ID of the user's storage area.
[0037] First, in step S200, an object corresponding to the user group class 46 is generated, and an instruction signal for specifying the ID of the user's storage area is output as its method.
[0038] In step S202, an object corresponding to the user class 48 is created, and the ID of the storage area of the user is specified as its method.
[0039] In step S204, the object corresponding to the user class 48 outputs the ID of the storage area of the user.
[0040] In step S206, the object corresponding to the user group class 46 outputs the ID of the storage area of the user.
[0041] Also, for example, if the request signal is a signal to the storage area group class 40, each method as shown in Fig. 4 is executed. The example shown in Fig. 4 is an example where the request signal requests that a specific file be opened.
[0042] First, in step S300, an object corresponding to the storage area group class 40 is created, and an instruction signal to open a specified file is output as its method.
[0043] In step S302, an object corresponding to the storage area class 42 is created, and an instruction signal to refer to a predetermined file is output as its method.
[0044] In step S304, an object corresponding to the file class 44 is created, and a predetermined file is opened as its method.
[0045] In step S306, the object corresponding to the file class 44 outputs a signal permitting access to the file.
[0046] In step S308, the object corresponding to the storage area class 42 outputs a signal relating to the access path to the file.
[0047] In step S310, the object corresponding to the storage area group class 40 outputs a signal relating to the access path to the file.
[0048] In this way, by separating the classes related to users from the classes related to storage areas, processing is performed taking into account the relationship between users and storage areas. Specifically, even if design changes occur due to the addition of users or changes in storage capacity, the scale of the changes can be reduced. Furthermore, by modularizing the processing related to users and the processing related to storage areas, it becomes clear how each class should behave with respect to the other classes.
[0049] The output unit 30 outputs the data acquired by the data acquisition unit 28 as a result.
[0050] The ECU 18 and the server 14 can be realized by, for example, a computer 50 as shown in Fig. 5. The computer 50 includes a central processing unit (CPU) 51, a memory 52 as a temporary storage area, and a non-volatile storage unit 53. The computer 50 also includes an input / output interface (I / F) 54 to which input / output devices (not shown) are connected, and a read / write (R / W) unit 55 that controls reading and writing of data from and to a recording medium 59. The computer 50 also includes a network I / F 56 that is connected to a network such as the Internet. The CPU 51, memory 52, storage unit 53, input / output I / F 54, R / W unit 55, and network I / F 56 are connected to one another via a bus 57.
[0051] The storage unit 53 can be realized by a hard disk drive (HDD), a solid state drive (SSD), a flash memory, etc. The storage unit 53 as a storage medium stores a program for causing the computer 50 to function. The CPU 51 reads the program from the storage unit 53, loads it into the memory 52, and sequentially executes the processes contained in the program.
[0052] Next, the operation of the ECU 18 of the embodiment will be described.
[0053] For example, consider a case where a user in vehicle 12 uses a certain application program via server 14. In this case, when server 14 executes a certain application program, the application program outputs a predetermined request signal to ECU 18. When the request signal is output from the application program, ECU 18 executes a processing routine shown in FIG.
[0054] In step S400, the receiving unit 22 receives a request signal.
[0055] In step S402, the determination unit 24 determines, based on the request signal received in step S400, whether the request signal is for the user group class 46 or the storage area group class 40. If the determination unit 24 determines that the request signal is for the user group class 46, it may also determine that the request signal is for the user class 48. If the determination unit 24 determines that the request signal is for the storage area group class 40, it may also determine that the request signal is for the storage area class 42.
[0056] In step S404, based on the determination result obtained in step S402, the generation unit 26 reads out the user group class 46 or the storage area group class 40 from the information storage unit 20. Then, the generation unit 26 generates an object corresponding to the read class.
[0057] In step S406, the data acquisition unit 28 acquires data corresponding to the request signal by executing a method corresponding to the object based on the object generated in step S404 and the request signal.
[0058] In step S408, the output unit 30 outputs the data acquired in step S406 as a result.
[0059] As described above, the ECU according to the embodiment receives a request signal and determines, based on the received request signal, whether the request signal is for a user class, which is a class related to a user, or a storage area class, which is a class related to a storage area used by the user. Based on the determination result, the ECU reads the user class or storage area class from an information storage unit in which the user class and the storage area class are stored, and generates an object corresponding to the read class. Based on the generated object and the request signal, the ECU executes a method corresponding to the object to obtain data corresponding to the request signal and output the obtained data. This allows for processing that takes into account the relationship between users and storage areas when a system is used by multiple users and data used by the users is stored in the system. Furthermore, even if design changes occur due to the addition of users or changes in storage capacity, the scale of the changes can be reduced. Furthermore, by modularizing user-related processing and storage area-related processing, it becomes clear how each class should behave with respect to other classes.
[0060] Although the processes performed by each device in the above embodiments have been described as software processes performed by executing a program, they may be performed by hardware. Alternatively, they may be processes that combine both software and hardware. Furthermore, the programs stored in ROM may be stored in various storage media and distributed.
[0061] Furthermore, the present invention is not limited to the above-described embodiment, and it goes without saying that the present invention can be implemented in various modifications other than the above-described embodiment without departing from the spirit of the present invention.
[0062] For example, in the above embodiment, the ECU 18 determines whether the request signal is directed to the user group class 46 or the storage area group class 40, but this is not limiting. For example, the ECU 18 may determine whether the request signal is directed to the user class 48 or the storage area class 42. This allows predetermined processing to be executed without going through the user group class 46 or the storage area group class 40.
[0063] The ECU 18 may further determine whether the request signal is a request signal for the file class 44. In this case, if the request signal indicates that it is a request signal for the file class 44, the ECU 18 generates an object corresponding to the file class 44. This allows predetermined processing to be executed without going through the user group class 46, the user class 48, the storage area group class 40, and the storage area class 42. [Explanation of symbols]
[0064] 10 Information Processing Systems 12 vehicles 14 Servers 20 Information storage section 22 Reception 24 Judgment section 26 Generation part 28 Data Acquisition Section 30 Output section 40 Storage Group Class 42 Storage Classes 44 File Class 46 User Group Class 48 User Classes 50 Computers
Claims
1. a reception unit that receives a request signal; a generation unit that reads out the user class or the storage area class from a storage unit based on whether the request signal received by the reception unit is for a user class, which is a class related to a user, or a storage area class, which is a class related to a storage area used by the user, and generates an object corresponding to the read class; a data acquisition unit that acquires data corresponding to the request signal by executing a method corresponding to the object based on the object generated by the generation unit and the request signal; an output unit that outputs the data acquired by the data acquisition unit; An information processing device comprising:
2. the user class is a class that has information about the user as attribute information and has processing related to the user as a method, The storage area class is a class that has information about the storage area as attribute information and has processing related to the storage area as methods. The information processing device according to claim 1 .
3. The storage unit includes: a user group class that is a class for managing the user classes, has information about the plurality of users as attribute information, and has processes related to the plurality of users as methods; a storage area group class that is a class for managing the storage area classes, has attribute information relating to a plurality of the storage areas, and has processes relating to the plurality of the storage areas as methods; the generation unit determines that the request signal is a request signal for the user class when the request signal is a request signal for the user group class, and determines that the request signal is a request signal for the storage area class when the request signal is a request signal for the storage area group class.
3. The information processing device according to claim 1.
4. The storage unit includes: a file class is further stored, which is a class having information about a file stored in the storage area as attribute information and having a process related to the file as a method; the generation unit further determines whether the request signal is a request signal for the file class, and generates the object corresponding to the file class when the request signal indicates that the request signal is a request signal for the file class.
4. The information processing device according to claim 1.
5. A vehicle equipped with the information processing device according to any one of claims 1 to 4.
6. Accepts a request signal, reads out the user class or the storage area class from a storage unit based on whether the received request signal is for a user class, which is a class related to a user, or a storage area class, which is a class related to a storage area used by the user, and generates an object corresponding to the read class; Based on the generated object and the request signal, a method corresponding to the object is executed to obtain data corresponding to the request signal; outputting the acquired data; An information processing method in which processing is performed by a computer.
7. Accepts a request signal, reads out the user class or the storage area class from a storage unit based on whether the received request signal is for a user class, which is a class related to a user, or a storage area class, which is a class related to a storage area used by the user, and generates an object corresponding to the read class; Based on the generated object and the request signal, a method corresponding to the object is executed to obtain data corresponding to the request signal; outputting the acquired data; An information processing program that causes a computer to execute a process.
Citation Information
Patent Citations
Structured document preparation supporting method and system therefor, storage medium for storing program and device therefor and object directional structured document preparation supporting system
JP1999259299A
Distributed shared memory system
JP2001331457A
JP2005‐301985A
Visual display unit, visual display program, visual display server, and visual display system
JP2006268171A
Object-oriented vehicle control system
JP2008077219A