Information processing device
The information processing device addresses the mixing of execution results by stopping and clearing the memory of lower-priority processes, ensuring clean data transmission to the server when higher-priority requests occur.
Patent Information
- Application Number
- JP2021017251
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Filing Date
- 2021-02-05
- Publication Date
- 2025-08-26
- Estimated Expiration
- 2041-02-05
AI Technical Summary
Existing information processing devices in vehicles face the issue of execution results from lower-priority processes being mixed with higher-priority processes when interrupted, leading to incomplete or mixed data transmission to a server.
An information processing device with a control unit that stops and clears the memory of a lower-priority process upon receiving a request for a higher-priority process, ensuring separate execution and transmission of results.
Prevents the mixing of execution results from different processes by clearing the memory before executing a higher-priority process, maintaining data integrity and accurate transmission to the server.
Smart Images

Figure 0007729045000001 
Figure 0007729045000002 
Figure 0007729045000003
Abstract
Description
[Technical Field]
[0001] The present invention relates to an information processing device. [Background technology]
[0002] It has been disclosed that a driving diagnostic ECU mounted on a delivery vehicle transmits the remaining battery charge of the delivery vehicle to a server device installed outside the vehicle (for example, Patent Document 1). [Prior art documents] [Patent documents]
[0003] [Patent Document 1] Japanese Patent Publication No. 2020-144617 Summary of the Invention [Problem to be solved by the invention]
[0004] One aspect of the disclosure aims to provide an information processing device that can prevent the execution results of a first process from being mixed with the execution results of a second process when a request for a second process with a higher priority is received during the execution of a first process that sends the execution results to a specified server. [Means for solving the problem]
[0005] One aspect of the present disclosure is An information processing device mounted on a vehicle, When a request for a second process having a higher priority than the first process is received from a predetermined server during execution of a first process for transmitting information about the state of the vehicle to the predetermined server as a result of the execution of the first process, the first process is stopped and a memory for recording the execution result of the first process is cleared; executing the second processing and recording an execution result of the second processing in the memory; transmitting the execution result of the second process recorded in the memory to the predetermined server; A control unit that executes It is an information processing device. [Effects of the Invention]
[0006] According to the present disclosure, when a request for a second process with a higher priority is received during the execution of a first process that sends the execution results to a specified server, it is possible to prevent the execution results of the first process and the second process from being mixed together. [Brief explanation of the drawings]
[0007] [Figure 1] FIG. 1 is a diagram showing an example of a system configuration of a vehicle remote monitoring system according to the first embodiment. [Figure 2] FIG. 2 is a diagram illustrating an example of a hardware configuration of the in-vehicle device. [Figure 3] FIG. 3 is a diagram illustrating an example of a functional configuration of the in-vehicle device. [Figure 4] FIG. 4 is an example of a flowchart of a process for transmitting diagnostic information of an in-vehicle device. [Figure 5] FIG. 5 is an example of a flowchart of a diagnostic information transmission process of an in-vehicle device. [Figure 6] FIG. 6 is a diagram illustrating an example of a sequence of the diagnostic information transmission process. DETAILED DESCRIPTION OF THE INVENTION
[0008] There is a vehicle equipped with an information processing device with a communication function. Information about the vehicle's status is The information is transmitted by the information processing device to, for example, a predetermined server, and the predetermined server monitors the state of the vehicle. Monitoring the state of the vehicle by a predetermined server is called remote monitoring. Information about the vehicle transmitted to the predetermined server in remote monitoring includes, for example, the vehicle's mileage, information indicating whether each sensor mounted on the vehicle is operating normally, and, if the vehicle is an electric vehicle, the remaining battery charge.
[0009] In remote monitoring, the timing of the process in which an information processing device mounted on a vehicle transmits information about the vehicle's status to a predetermined server may be either periodically performed or one-off in response to a request or the like. Typically, one-off transmission processes are set to have a higher priority than periodic transmission processes. Therefore, if a request for one-off transmission processes is made while periodic transmission processes of information about the vehicle's status are being performed, the one-off transmission processes will interrupt and be executed with priority.
[0010] When a one-off transmission process is interrupted during the execution of a periodic transmission process, the data transmission process in the periodic transmission process may not be completed, and the information acquired by the previously executed periodic process may remain in the transmission memory. In this case, the information acquired by the one-off transmission process is added to the transmission memory, and when the data transmission process in the one-off transmission process is executed, all of the information in the transmission memory is transmitted to a specified server as a result of the execution of the one-off transmission process.
[0011] As a result, data containing a mixture of the execution results of periodic transmission processing and one-off transmission processing is sent to the specified server. For example, the content of the information about the vehicle status required by periodic transmission processing and one-off transmission processing is different, so mixing the execution results of these two processes is problematic.
[0012] Therefore, in one aspect of the present disclosure, an information processing device mounted on a vehicle is provided with a control unit that, when, while executing a first process that sends information regarding the vehicle's status to a specified server as a result of executing the process, receives a request from the specified server for a second process that has a higher priority than the first process, stops the first process, clears a memory that records the execution results of the first process, executes the second process, records the execution results of the second process in memory, and sends the execution results of the second process recorded in memory to the specified server.
[0013] The information processing device is a computer equipped with a communication function. The information processing device is, for example, a data communication device, a car navigation device, etc. The control unit is, for example, a processor such as a CPU (Central Processing Unit). The first process is, for example, The first process is a process of periodically transmitting information regarding the vehicle status to a specified server. The second process is a process of temporarily transmitting information regarding the vehicle status to a specified server. Note that the first process and the second process are not limited to processes of transmitting information regarding the vehicle status, but may be processes of transmitting the execution results of the processes to a specified server. Note that the execution results of the process of transmitting information regarding the vehicle status are the acquired information regarding the vehicle status.
[0014] According to one aspect of the present disclosure, even if a second process interrupts the execution of a first process, the memory that holds the data to be transmitted is cleared before the second process is performed, thereby preventing the execution results of the first process and the second process from being mixed in the memory. This also prevents the execution results of the first process and the second process from being mixed and sent to a predetermined server.
[0015] In addition, the present disclosure can also be specified as other aspects thereof as a method for a computer to execute the processing of the information processing device, a program for causing a computer to execute the processing of the information processing device, and a non-transitory computer-readable recording medium on which the program is recorded. It is possible.
[0016] DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS The following description of preferred embodiments of the present invention will be given with reference to the accompanying drawings. The following preferred embodiments are merely examples, and the present invention is not limited to the preferred embodiments.
[0017] First Embodiment FIG. 1 is a diagram showing an example of the system configuration of a vehicle remote monitoring system 100 according to the first embodiment. The vehicle remote monitoring system 100 is a system that remotely monitors the state of a vehicle equipped with an on-board device having a communication function. The vehicle remote monitoring system 100 includes an on-board device 1 mounted on a vehicle 10, and a center server 2. The on-board device 1 is capable of wireless communication and can communicate with the center server 2 via a public communication network such as the Internet, for example.
[0018] The in-vehicle device 1 transmits information about the vehicle state to the center server 2. Based on the information about the vehicle state received from the in-vehicle device 1, the center server 2 performs, for example, determining whether inspection and maintenance of the vehicle 10 is necessary and detecting any abnormalities in the parts of the vehicle 10. The information about the vehicle state is, for example, information indicating the mileage of the vehicle, information indicating the state of each part, and information indicating whether any abnormalities have occurred in each part. The information about the vehicle state is, for example, information obtained by a self-diagnosis function provided in the vehicle 10. Hereinafter, the information about the vehicle state will be referred to as "diagnosis information," an abbreviation of "diagnosis information."
[0019] The timing of the process of transmitting diagnostic information from the in-vehicle device 1 to the center server 2 can be either periodically or one-off. Hereinafter, the process of transmitting diagnostic information periodically will be referred to as periodic transmission process, and the process of transmitting diagnostic information one-off will be referred to as one-off transmission process.
[0020] The periodic transmission process is performed, for example, once every few hours to once a day. The one-time transmission process is performed, for example, when a request is received from an external source such as the center server 2, or when a request is generated internally in the vehicle 10, such as when the in-vehicle device 1 itself detects an abnormality in the vehicle 10. The content of the diagnostic information transmitted by the periodic transmission process is set in advance. On the other hand, the content of the diagnostic information transmitted by the one-time transmission process is specified by the request. Requests for one-time transmission process are often given a higher priority than periodic transmission process, since real-time performance is often important. Therefore, if a request for one-time transmission process is generated while periodic transmission process is being executed, the one-time transmission process is treated as an interrupt process and is executed with priority over the periodic transmission process that is currently being executed.
[0021] In both the periodic transmission process and the one-time transmission process of diagnostic information, the transmission data is written to the same transmission memory. In one diagnostic information transmission process, all data recorded in the transmission memory is converted into a file and transmitted. Therefore, for example, when an interruption of the one-time transmission process occurs during the execution of the periodic transmission process of diagnostic information, if the diagnostic information obtained by the periodic transmission process remains in the transmission memory, it is transmitted to the center server 2 as a single file together with the diagnostic information obtained by the one-time transmission process.
[0022] In the first embodiment, when an interruption of a one-time transmission process occurs during the execution of the periodic transmission process of diagnostic information, the in-vehicle device 1 stops the periodic transmission process and then clears the transmission memory. This empties the transmission memory, and it is possible to prevent the diagnostic information acquired by the periodic transmission process from being mixed in with the file transmitted to the center server 2 by the one-time transmission process.
[0023] The diagnostic information is an example of "information relating to the vehicle state." The periodic transmission process is an example of "first processing." The one-time transmission process is an example of "second processing." The execution result of the single transmission process is to transmit a file including the acquired diagnostic information to the center server 2.
[0024] 2 is a diagram showing an example of the hardware configuration of the in-vehicle device 1. The in-vehicle device 1 includes, as its hardware configuration, a CPU 101, a memory 102, an external storage device 103, a communication unit 104, a CAN (Controller Area Network) control unit 105, and an interface 107. The in-vehicle device 1 is also connected to a CAN 110 via an interface 107. The CAN 110 is also connected to various ECUs (Electronic Control Units) mounted on the vehicle 10. The memory 102 and the external storage device 103 are computer-readable. The in-vehicle device 1 is an example of an "information processing device."
[0025] The external storage device 103 stores various programs and data used by the CPU 101 when executing each program. The external storage device 103 is, for example, an EPROM (Erasable Programmable ROM) and / or a hard disk drive. The programs stored in the external storage device 103 include, for example, an operating system (OS), a remote monitoring program, a self-diagnostic program, and various other application programs. The remote monitoring program is a program for transmitting diagnostic information to an external device. The self-diagnostic program is a program for collecting diagnostic information.
[0026] The memory 102 is a storage device that provides the CPU 101 with a storage area and a working area for loading programs stored in the external storage device 103, and is used as a buffer. The memory 102 includes, for example, semiconductor memory such as a ROM (Read Only Memory) and a RAM (Random Access Memory).
[0027] The CPU 101 executes various processes by loading an OS and various application programs stored in an external storage device 103 into the memory 102 and executing them. The number of CPUs 101 is not limited to one, and multiple CPUs 101 may be provided. The CPU 101 is an example of a "control unit" of an "information processing device."
[0028] The communication unit 104 is an interface for inputting and outputting information to and from a network. The communication unit 104 connects to an access network by wireless communication, and connects to a public line network such as the Internet through the access network. Examples of wireless networks that the communication unit 104 connects to include LTE (Long Term Evolution), LTE-Advanced, Other examples include mobile communication methods such as 5G (5th Generation), WiFi, and DSRC (Dedicated Short Range Communications). Communication with the center server 2 is performed via the communication unit 104.
[0029] The CAN control unit 105 is, for example, an MCU (Micro Control Unit) that controls the CAN 110. An instruction for the CAN 110 is input to the CAN control unit 105 and output from the CAN control unit 105 to the CAN 110. A response to an instruction from the CAN 110 is input to the CAN control unit 105 and output from the CAN control unit 105 to the CPU 101.
[0030] The interface 107 connects the in-vehicle device 1 to hardware components other than the in-vehicle device 1. The interface 107 is connected to, for example, a CAN 110. 2 is an example of the hardware configuration of the in-vehicle device 1, and is not limited to this.
[0031] 3 is a diagram showing an example of the functional configuration of the in-vehicle device 1. The in-vehicle device 1 has the following functional configuration. The diagnostic management unit 11 includes a diagnostic management unit 11, a remote monitoring unit 12, a CAN control unit 13, and a transmission memory 14. The diagnostic management unit 11 is realized, for example, by the CPU 101 executing a self-diagnosis program. The diagnostic management unit 11 manages tasks related to self-diagnosis processing. In the first embodiment, when a task related to remote monitoring, i.e., a periodic transmission process or a one-time transmission process of diagnostic information, occurs, the diagnostic management unit 11 instructs the remote monitoring unit 12 to start the periodic transmission process or the one-time transmission process of diagnostic information. The diagnostic management unit 11 detects the occurrence of the periodic transmission process of diagnostic information at a predetermined cycle that has been set in advance. The diagnostic management unit 11 detects the occurrence of the one-time transmission process of diagnostic information by receiving a request to obtain diagnostic information from the center server 2.
[0032] The remote monitoring unit 12 is realized, for example, by the CPU 101 executing a remote monitoring program. The remote monitoring unit 12 controls the remote monitoring process, i.e., the process of transmitting diagnostic information. The remote monitoring unit 12 receives an input of an instruction to start the periodic transmission process or the one-time transmission process of diagnostic information from the diagnostic management unit 11. The periodic transmission process and the one-time transmission process of diagnostic information have the same processing content, and the processing content is as follows.
[0033] When the remote monitoring unit 12 receives an input of an instruction to start the periodic transmission process or the one-time transmission process of the diagnostic information, it outputs a command to acquire the diagnostic information to the CAN control unit 13, and receives the diagnostic information as a response from the CAN control unit 13. In the case of the periodic transmission process of the diagnostic information, the diagnostic information is acquired from the ECU 120 of the preset target. In the case of a single transmission process of diagnostic information, the diagnostic information is acquired from the ECU 120 designated by the request for acquiring diagnostic information. The remote monitoring unit 12 writes the acquired diagnostic information into the transmission memory 14, and when acquisition of diagnostic information from all of the target ECUs 120 is completed, The diagnostic information in the transmission memory 14 is converted into a file, and the file is Center Server 2After the remote monitoring unit 12 converts the diagnostic information in the transmission memory 14 into a file, it clears the transmission memory 14.
[0034] However, when the remote monitoring unit 12 receives an instruction from the diagnostic management unit 11 to start a one-time transmission process of diagnostic information, it determines whether or not a periodic transmission process of diagnostic information is currently being executed before starting the one-time transmission process. If the periodic transmission process of diagnostic information is currently being executed, the remote monitoring unit 12 stops the currently executing periodic transmission process because the one-time transmission process has a higher priority. Furthermore, the remote monitoring unit 12 determines whether the diagnostic information acquired by the periodic transmission process has been output, i.e., whether or not the transmission memory 14 has been cleared. If the transmission memory 14 has not been cleared, the remote monitoring unit 12 clears the transmission memory 14 before starting the one-time transmission process.
[0035] The CAN control unit 13 is a functional component equivalent to the CAN control unit 105. The CAN control unit 13 performs control related to the CAN 110. In the first embodiment, the output of commands to each ECU 120 connected to the CAN 110 and the input of data from each ECU 120 to the CPU 101 are performed via the CAN control unit 13.
[0036] The transmission memory 14 is part of the storage area within the memory 102. The transmission memory 14 is a temporary storage location for data to be transmitted. In the periodic transmission process and one-off transmission process of diagnostic information, the diagnostic information is written to the transmission memory 14, and when all the diagnostic information is collected, the diagnostic information in the transmission memory 14 is converted into a file, or the transmission memory 14 is cleared. Clearing the transmission memory 14 means that all data stored in the transmission memory 14 is deleted and the storage area reserved for the transmission memory 14 is released.
[0037] <Processing flow> Fig. 4 is an example of a flowchart of the process of transmitting diagnostic information of the in-vehicle device 1. The process shown in Fig. 4 is repeatedly executed at a predetermined cycle. The process shown in Fig. 4 is executed mainly by the CPU 101, but for convenience, the process will be described mainly by the functional components. The same applies to the subsequent flowcharts.
[0038] In OP101, the remote monitoring unit 12 determines whether or not an instruction to start a one-time transmission process has been input from the diagnostic management unit 11. For example, when the diagnostic management unit 11 receives a request to acquire diagnostic information from the center server 2, the diagnostic management unit 11 outputs an instruction to start a one-time transmission process to the remote monitoring unit 12. If an instruction to start a one-time transmission process has been input (OP101: YES), the process proceeds to OP104. If an instruction to start a one-time transmission process has not been input (OP101: NO), the process proceeds to OP102.
[0039] In OP102, the remote monitoring unit 12 determines whether or not an instruction to start periodic transmission processing has been input from the diagnostic management unit 11. The diagnostic management unit 11 outputs an instruction to start periodic transmission processing to the remote monitoring unit 12, for example, at a predetermined cycle. If an instruction to start periodic transmission processing has been input (OP102: YES), the process proceeds to OP103. If an instruction to start periodic transmission processing has not been input (OP102: NO), the process shown in FIG. 4 ends.
[0040] The processing from OP104 to OP107 is performed when an instruction to start a one-time transmission process is input. In OP104, the remote monitoring unit 12 determines whether or not the periodic transmission process is being executed. If the periodic transmission process is being executed (OP104: YES), the processing proceeds to OP105. If the periodic transmission process is not being executed (OP104: NO), the processing proceeds to OP103.
[0041] In OP105, the remote monitoring unit 12 stops the ongoing periodic transmission process. This causes the one-time transmission process to interrupt. In OP106, the remote monitoring unit 12 determines whether the transmission memory 14 is empty. If the transmission memory 14 is empty (OP106: YES), the process proceeds to OP103. If the transmission memory 14 is not empty (OP106: NO), the process proceeds to OP107. In OP107, the remote monitoring unit 12 clears the transmission memory 14.
[0042] In OP103, the remote monitoring unit 12 executes a diagnostic information transmission process for collecting and transmitting diagnostic information. The diagnostic information transmission process in OP103 will be described in detail later. When the diagnostic information transmission process ends, the process shown in FIG. 4 ends.
[0043] 5 is an example of a flowchart of the diagnostic information transmission process of the in-vehicle device 1. The process shown in FIG. 5 corresponds to the process of OP103 in FIG.
[0044] In OP201, the remote monitoring unit 12 acquires diagnostic information from the target ECU 120 via the CAN control unit 13 and writes it to the transmission memory 14. In OP202, the remote monitoring unit 12 generates a file containing all of the diagnostic information recorded in the transmission memory 14. The format of the file is not limited to a specific format. In OP103, the remote monitoring unit 12 transmits the generated file to the center server 2. Thereafter, the processing shown in FIG. 5 ends, and at the same time, the processing shown in FIG. 4 also ends.
[0045] 6 is a diagram showing an example of a sequence of a diagnostic information transmission process, in which a one-time transmission process interrupts the execution of a periodic transmission process of diagnostic information.
[0046] In S11, the diagnostic management unit 11 performs the following when the timing of a predetermined cycle is reached: An instruction to start the periodic transmission process is output to the remote monitoring unit 12. In S12, the remote monitoring unit 12 receives an input of the instruction to start the periodic transmission process from the diagnostic management unit 11 (FIG. 4, OP102: YES), and starts the periodic transmission process (FIG. 4, OP103). In S13, the remote monitoring unit 12 outputs a diagnostic information acquisition command to the CAN 110 through the CAN control unit 13, acquires diagnostic information in response to the diagnostic information acquisition command in S14, and writes the diagnostic information to the transmission memory 14 in S15. The processes from S13 to S15 are repeated until all the diagnostic information for the target ECU 120 is collected (FIG. 5, OP201).
[0047] In steps S21 to S23, the remote monitoring unit 12 transmits an acquisition command for the last diagnostic information via the CAN control unit 13 (S21), acquires the last diagnostic information (S22), and writes it into the transmission memory 14 (S23).
[0048] In S31, the center server 2 transmits a request for acquiring diagnostic information to the in-vehicle device 1. In x32, the diagnostic management unit 11 receives the request for acquiring diagnostic information from the center server 2 and outputs an instruction to the remote monitoring unit 12 to start a one-time transmission process.
[0049] In S33, the remote monitoring unit 12 receives an instruction to start a one-time transmission process (FIG. 4, OP101: YES). Since the periodic transmission process is currently being executed (FIG. 4, OP104: YES), the remote monitoring unit 12 stops the currently executed periodic transmission process (FIG. 4, OP105). In S34, since the diagnostic information written in S15, S23, etc. is recorded in the transmission memory 14 (FIG. 4, OP106: NO), the remote monitoring unit 12 clears the transmission memory 14 (FIG. 4, OP107). Thereafter, in S40, the remote monitoring unit 12 starts a one-time transmission process (FIG. 4, OP103). In S41 to S43, similar to S13 to S15, the remote monitoring unit 12 outputs a diagnostic information acquisition command to the CAN 110 through the CAN control unit 13 (S41), acquires diagnostic information in response to the diagnostic information acquisition command (S42), and writes the diagnostic information to the transmission memory 14 (S43). The processes from S41 to S43 are repeated until the diagnostic information of the ECU 120 specified by the diagnostic information acquisition request is collected (FIG. 5, OP201).
[0050] In steps S51 to S53, the remote monitoring unit 12 transmits an acquisition command for the last diagnostic information via the CAN control unit 13 (S51), acquires the last diagnostic information (S52), and writes it into the transmission memory 14 (S53).
[0051] In S61, the remote monitoring unit 12 generates a file including the diagnostic information recorded in the transmission memory 14 (FIG. 5, OP202). In S62, the remote monitoring unit 12 transmits the generated file to the center server 2 (FIG. 5, OP203). After that, the periodic transmission process may not be executed until the next execution timing, or may be restarted from the beginning.
[0052] <Effects of the First Embodiment> In the first embodiment, when a one-time transmission process interrupts the execution of a periodic transmission process of diagnostic information, the in-vehicle device 1 first clears the transmission memory 14 and then starts the one-time transmission process. This prevents the diagnostic information acquired by the periodic transmission process and the diagnostic information acquired by the one-time transmission process from being mixed in the transmission memory 14. As a result, it is possible to prevent the diagnostic information acquired by the one-time transmission process from being mixed in the file transmitted to the center server 2.
[0053] <Other embodiments> The above-described embodiment is merely an example, and the present invention can be implemented by appropriately modifying it within the scope that does not deviate from the gist of the present invention.
[0054] The processes and means described in this disclosure can be freely combined and implemented as long as no technical contradiction occurs.
[0055] Furthermore, a process described as being performed by one device may be shared and executed by multiple devices. Alternatively, a process described as being performed by different devices may be executed by a single device. In a computer system, the hardware configuration (server configuration) by which each function is realized can be flexibly changed.
[0056] The present invention can also be realized by supplying a computer program that implements the functions described in the above embodiments to a computer, and having one or more processors in the computer read and execute the program. Such a computer program may be provided to the computer on a non-transitory computer-readable storage medium connectable to the computer's system bus, or may be provided to the computer via a network. Non-transitory computer-readable storage media include, for example, any type of disk, such as a magnetic disk (e.g., a floppy disk, a hard disk drive (HDD), etc.), an optical disk (e.g., a CD-ROM, a DVD disk, a Blu-ray disk), a read-only memory (ROM), a random access memory (RAM), an EPROM, an EEPROM, a magnetic card, a flash memory, an optical card, or any type of medium suitable for storing electronic instructions. [Explanation of symbols]
[0057] 1...In-vehicle device 2. Center server 10. Vehicle 11. Diagnostic Management Department 12. Remote monitoring unit 13...CAN control section 14. Transmission memory 100··Vehicle remote monitoring system 101 CPU 102 Memory 103...External storage device 104··Communications Department 105...CAN control section 107··Interface 110··CAN 120··ECU
Claims
[Claim 1] An information processing device mounted on a vehicle, When a request for a second process having a higher priority than the first process is received from a predetermined server while the first process is being executed, the first process is stopped and the memory is cleared; executing the second process; a control unit that executes the the first process and the second process include collecting information about the state of the vehicle, recording the information in the memory, and transmitting the information to the predetermined server; Information processing device.
Citation Information
Patent Citations
On-vehicle data management device, and vehicular information supplying system
JP2006256457A
Failure diagnostic device for vehicle
JP2013028238A
Vehicle state diagnosis system, and vehicle state diagnosis method of movable body
JP2015184243A
Electronic control device
JP2017078375A
Processing arrangement control method, processing arrangement control system, processing arrangement control device, and server device
JP2020144617A