Mobile body control device, mobile body, and control program

By introducing an analysis and determination unit into the mobile body control device, the safety of the application control instructions is determined, and the problem of the third-party application outputting the control instructions in an unsafe driving state is solved, ensuring the safety of the vehicle.

CN118973888APending Publication Date: 2024-11-15DENSO CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202380030885.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2022-03-30
Filing Date
2023-02-09
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The prior art cannot effectively determine whether the vehicle control indicators from applications manufactured by third parties are safe, resulting in the possible output of the control indicators in an improper driving state, affecting the safety of the vehicle.

Method used

A mobile body control device is designed, including an analysis unit and a determination unit, which analyzes the current driving state and determines whether the control instructions from the application program are safe, and only outputs the control instructions when they are determined to be safe, otherwise it will not be output.

Benefits of technology

Ensure that even if the mobile body is controlled by a third-party application, safety can be guaranteed in any driving state and prevent potential hazards caused by improper control instructions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118973888A_ABST
    Figure CN118973888A_ABST
Patent Text Reader

Abstract

The invention relates to a mobile body control device, a mobile body, and a control program. An application instruction output control device (12) is provided with: a driving state analysis unit (20) that analyzes the current driving state of a vehicle (10); and a safety determination unit (24) that determines whether or not the control instruction from the third-party application (18) is safe in the current driving state. The application instruction output control device (12) outputs the application instruction determined to be secure by the security determination unit (24) to the control object, and does not output the application instruction determined to be unsecure by the security determination unit (24) to the control object.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] CROSS-REFERENCE TO RELATED APPLICATIONS

[0002] This application claims the benefit of priority based on Japanese Patent Application No. 2022-055483 filed on March 30, 2022, and all the contents of that patent application are incorporated into this specification by reference. Technical Field

[0003] The present disclosure relates to a mobile body control device, a mobile body, and a control program. Background Art

[0004] In recent years, there has been an increase in vehicles that can connect applications made by a third party other than the vehicle manufacturer to the vehicle system. Examples of such third-party applications are Apple's CarPlay and Google's Automotive Android.

[0005] The above-mentioned applications use vehicle data to provide various services such as entertainment and fault diagnosis. In this service, there are also cases where the vehicle is controlled by the application, such as a service (in-card delivery) in which the delivery person opens the trunk of the vehicle and puts the goods in by registering the user's vehicle as the delivery destination of the goods. In addition to opening and closing the trunk, the objects controlled by the application are, for example, the opening and closing of windows or doors, and the turning on / off of lights and hazard lights. Even if the vehicle control instructions are output from such a third-party application, the safety of the vehicle must be ensured.

[0006] Patent Document 1 describes a vehicle control device that, upon receiving an application installation request from a processing server, notifies the processing server of a rule defining whether a communication frame received by a vehicle-side communication unit is unauthorized.

[0007] Patent document 2 describes an acceleration suppression device that suppresses acceleration by switching output signals representing the accelerator opening and brake pedal force when a suspected bad mental and physical state of the driver continues for more than a time judgment value and the driving state is judged to be a dangerous driving state.

[0008] Patent document 3 describes a control device that compares the depression amount based on the vehicle accelerator signal when the vehicle starts and the accelerator pedal force during vehicle driving with a predetermined threshold value to determine whether the accelerator pedal is stepped on incorrectly, and performs controls such as vehicle acceleration suppression when the accelerator pedal is stepped on incorrectly.

[0009] Patent Document 1: Japanese Patent Application Publication No. 2021-48495

[0010] Patent Document 2: Japanese Patent Application Publication No. 2021-49926

[0011] Patent Document 3: Japanese Patent Application Publication No. 2021-30882

[0012] The vehicle control device described in Patent Document 1 is a countermeasure against improper control caused by a cyber attack on a vehicle. On the other hand, since the control instructions from the application program manufactured by a third party are regular control instructions and not improper control instructions, the vehicle control device described in Patent Document 1 cannot cope with them.

[0013] Furthermore, Patent Documents 2 and 3 aim to prevent sudden acceleration of the vehicle caused by mis-stepping of the accelerator pedal and the brake pedal in order to ensure vehicle safety, but do not determine the safety of vehicle control instructions from an application program manufactured by a third party.

[0014] As described above, the vehicle control instruction from the application program manufactured by a third party may be output to the vehicle regardless of the driving state of the vehicle. In addition, the above-mentioned prior art cannot determine the safety of the vehicle control instruction from the application program. Summary of the invention

[0015] In view of the above background, the present disclosure aims to provide a mobile body control device, a mobile body, and a control program that can ensure the safety of the mobile body even if an application program can control the mobile body.

[0016] The present disclosure adopts the following technical means to solve the above-mentioned problems. The reference numerals in parentheses in the claims are examples of the correspondence relationship with specific elements described in the embodiments described later as one mode, and do not limit the technical scope of the present disclosure.

[0017] A mobile body control device of one embodiment of the present invention comprises: an analyzing unit, which analyzes the current driving state of the mobile body; and a determining unit, which determines whether a control instruction from an application is safe under the above-mentioned current driving state, and outputs the above-mentioned control instruction to a control object when the above-mentioned determining unit determines that it is safe, and does not output the above-mentioned control instruction to the control object when the above-mentioned determining unit determines that it is unsafe.

[0018] According to this structure, when it is determined that the control instruction from the application is unsafe for the current driving state of the mobile body, the control of the mobile body based on the control instruction is not performed. Therefore, this structure can ensure safety even if the mobile body can be controlled by an application manufactured by a third party.

[0019] A moving object according to one aspect of the present disclosure includes the moving object control device described above.

[0020] A control program of one method disclosed in the present invention is used to enable a computer of a mobile body to function as an analyzing unit and a determining unit, wherein the analyzing unit analyzes the current driving state of the mobile body, and the determining unit determines whether a control instruction from an application is safe under the current driving state, and when the determining unit determines that the control instruction is safe, the control instruction is output to the control object, and when the determining unit determines that the control instruction is unsafe, the control instruction is not output to the control object.

[0021] According to the present disclosure, even if the mobile object can be controlled by an application, the safety of the mobile object can be ensured. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] Figure 1 This is a functional block diagram of an application instruction output control device according to an embodiment.

[0023] Figure 2 This is a flowchart showing the flow of the driving state analysis process according to the embodiment.

[0024] Figure 3 This is a flowchart showing the flow of control permission determination processing according to the embodiment.

[0025] Figure 4 is a diagram showing a hazard matrix according to an embodiment.

[0026] Figure 5 It is a schematic diagram showing a specific example of control based on a third-party application according to an embodiment.

[0027] Figure 6 It is a schematic diagram showing a specific example of control based on a third-party application according to an embodiment. DETAILED DESCRIPTION

[0028] Hereinafter, the embodiments of the present disclosure will be described with reference to the accompanying drawings. In addition, the embodiments described below illustrate an example of implementing the present disclosure, and the present disclosure is not limited to the specific configurations described below. In the implementation of the present disclosure, specific configurations corresponding to the embodiments may be appropriately adopted.

[0029] In the present embodiment, a vehicle is described as an example of a mobile body, but the present invention is not limited thereto. The mobile body may be, for example, a two-wheeled motorcycle, heavy equipment used at a work site, an airplane, or the like.

[0030] Figure 1 This is a functional block diagram of the application instruction output control device 12 which is one of the control devices included in the vehicle 10 of the present embodiment.

[0031] The application instruction output control device 12 is one of the electronic control units (ECU) mounted on the vehicle 10. The application instruction output control device 12 sends and receives various data with the vehicle sensor 14, CAN (Controller Area Network) 16, and a third-party application (hereinafter referred to as "third-party application") 18.

[0032] The vehicle sensor 14 is a structure including multiple types of sensors mounted on the vehicle 10. The vehicle sensor 14 includes a vehicle speed sensor and an inertial sensor for detecting the driving state of the vehicle 10, an in-vehicle camera for detecting the driver's state or driving operation, a pedal sensor, and a steering sensor. In addition, the vehicle sensor 14 includes an out-of-vehicle camera, a millimeter wave radar, and a laser radar used for driving assistance or automatic driving.

[0033] The CAN 16 performs communication between other ECUs etc. mounted on the vehicle 10 and the application instruction output control device 12 .

[0034] As an example, the third-party application 18 of the present embodiment is application software manufactured by a third party different from the manufacturer of the vehicle 10. The third-party application 18 outputs a control instruction for the vehicle 10, that is, an application instruction, to the application instruction output control device 12. In the following description, the control instruction from the third-party application 18 is referred to as an application instruction.

[0035] Application instructions include, for example, turning the air conditioner on / off, adjusting the seat position, turning the wipers on / off, opening and closing the doors, opening and closing the windows, opening and closing the trunk, turning the entertainment function on / off, turning the agent dialogue function on / off, turning the lights on / off, turning the hazard lights on / off, etc.

[0036] For example, the application instruction may be output by the user operating the third-party application 18 installed on the vehicle 10 via a touch panel display of the vehicle 10 , or the application instruction may be output from the third-party application 18 by the user communicating with the vehicle 10 via a mobile terminal device such as a smartphone.

[0037] In addition, the third-party application 18 of this embodiment may have a function of operating independently of the control of the vehicle 10. Such functions include, for example, a function of playing music or video, a navigation function, etc. These functions are executed by operating the third-party application 18 by the user.

[0038] The application instruction output control device 12 has a function of determining the safety of the application instruction output by the third-party application 18. The application instruction output control device 12 of the present embodiment includes a driving state analyzing unit 20, a driving state managing unit 22, and a safety determining unit 24.

[0039] The driving state analyzing unit 20 analyzes the current driving state of the vehicle 10 . The driving state of the vehicle 10 analyzed by the driving state analyzing unit 20 refers to a scene of a predetermined series of driving actions, and indicates a control state of the vehicle 10 .

[0040] As an example, the control state of the vehicle 10 includes a driving mode and a driving state. Examples of driving modes include turning left, turning right, accelerating, changing the direction of travel, backing up, and going straight. Examples of driving states include driving at a speed of more than 20 km / h and less than 80 km / h, i.e., normal driving, driving at a speed of more than 80 km / h, i.e., high-speed driving, driving at a speed of less than 20 km / h, i.e., slow driving, idling, and parking. In addition, the control state of the vehicle 10 is determined based on the output value of the vehicle sensor 14, the output value of the ECU obtained via the CAN 16, and the like. In the following description, the output value of the vehicle sensor 14 and the output value of the ECU are collectively referred to as vehicle data.

[0041] In addition, the current driving state of the vehicle 10 also includes the driving environment of the vehicle 10. As an example, the driving environment of the vehicle 10 is weather and location. The weather is, for example, sunny, rainy, snowy, strong wind, etc. The location is a highway, a slope, a speed limit, etc. In addition, the driving environment of the vehicle 10 is determined based on data output from the vehicle sensor 14 or an external server that communicates with the vehicle 10.

[0042] The driving state management unit 22 registers the classification contents of the driving state for analyzing the current driving state of the vehicle 10, the risk level score described later, and the like. The registration mentioned here includes storage and update of setting contents and setting values.

[0043] The safety determination unit 24 determines whether the control instruction from the third-party application 18 is safe in the current driving state of the vehicle 10. If the safety determination unit 24 determines that the control instruction is safe, the application instruction output control device 12 outputs the application instruction to the control object, and if the safety determination unit 24 determines that the control instruction is not safe, the application instruction is not output to the control object.

[0044] The application instruction is directly output to the control object, or is output to the responsible ECU for controlling the control object via the CAN 16. In addition, the output application instruction can be appropriately converted into a command.

[0045] Figure 21 is a flowchart showing the flow of the driving state analysis process performed by the driving state management unit 22 of the present embodiment. For example, the driving state analysis process is repeatedly performed when the start button of the vehicle 10 is turned on. In addition, the driving state analysis process is performed by a program stored in a storage medium. By executing the program, a method corresponding to the program is executed.

[0046] As an example, Figure 2 It is a diagram for determining whether the control state of the vehicle 10 corresponds to left turn, idling, or the direction indicator is not lit. Figure 2 The same processing as shown determines other control states of the vehicle 10 .

[0047] First, in step 100, it is determined whether the vehicle 10 is running. If the determination is affirmative, the process proceeds to step 102 to start the left turn determination. On the other hand, if the determination is negative, the process proceeds to step 126 to start the idling determination.

[0048] In step 104 , which is transferred from step 102 , it is determined whether the steering angle changes to the left. If the determination is affirmative, the process proceeds to step 106 , and if the determination is negative, the process proceeds to step 108 .

[0049] In step 106, the left turn counter C indicating that the steering angle is left is set. L Increment itself by 1 and move to step 110.

[0050] In step 108, by setting the left turn counter C L Set to 0, thereby turning the left counter C L Reset and move to step 100.

[0051] In step 110 , it is determined whether the turn signal lamp is on. If the determination is affirmative, the process proceeds to step 112 , and if the determination is negative, the process proceeds to step 118 .

[0052] In step 112, a turn indicator non-lighting counter C indicating that the turn indicator is not lit is set. NW Set to 0, thereby setting the direction indicator light off counter C NW Reset and move to step 114.

[0053] In step 114, the left turn counter C is determined. L Whether it is 5 or more, if it is affirmative, the process proceeds to step 116, and if it is negative, the process proceeds to step 100.

[0054] In step 116 , it is determined that the control state of the vehicle 10 is the left turn state, and the process proceeds to step 100 .

[0055] If a negative determination is made in step 110, the process proceeds to step 118, and the turn indicator non-lighting counter C is set. NW Increment itself by 1 and move to step 118 and step 120.

[0056] In step 120, the turn indicator non-lighting determination is started. In the next step 122, the turn indicator non-lighting counter C is determined. NW Whether it is 5 or more, if it is affirmative, the process proceeds to step 124, and if it is negative, the process proceeds to step 100.

[0057] In step 124 , it is determined that the control state of the vehicle 10 is the turn indicator light off state, and the process proceeds to step 100 .

[0058] If a negative determination is made in step 100, the process proceeds to step 126, where an idle determination is started. In the next step 128, an idle counter C indicating an idle state is set. I Increment itself by 1 and move to step 130.

[0059] In step 130, the idle speed counter C is determined. I Whether it is 5 or more, if it is affirmative, the process proceeds to step 132, and if it is negative, the process proceeds to step 100.

[0060] In step 132 , it is determined that the control state of the vehicle 10 is the idle state, and the process proceeds to step 100 .

[0061] In this way, the driving state analysis process of this embodiment analyzes the current driving state based on the pre-classified driving states. Figure 2 In the example of FIG. 1 , the driving state is classified in advance, such as steps 102 to 118 for left turn determination, steps 120 to 124 for turn indicator lighting determination, and steps 126 to 132 for idling determination, and it is determined which of the classified driving states the current driving state corresponds to. Thus, the driving state analysis process can easily and accurately determine the current driving state.

[0062] In addition, the driving state analysis processing of the present embodiment analyzes which driving state the vehicle 10 is in based on whether the same control is performed continuously. L , Direction indicator light off counter C NW And idle speed counter C I In this way, the counter serving as a criterion for determining the driving state is incremented or reset to determine whether the same control is being performed continuously. Thus, the driving state analysis process can analyze the driving state of the vehicle 10 simply and in real time.

[0063] In addition, each determination of the driving state analysis process is performed at a predetermined time interval such as one second. Thus, the counter can be incremented or reset at one second intervals to determine whether the same control is performed continuously. In addition, there are cases where a shorter determination interval is required for the determination of the driving state related to the driving control. Therefore, the determination interval is determined based on the output frequency of the observed object.

[0064] In addition, although the threshold value of whether the current driving state meets a driving state is 5 according to each counter, this is just an example and other values ​​may be used, and the threshold value may also be different according to each driving state. Figure 2 The processing is just an example and may appropriately include processing for resetting the counter and other processing.

[0065] In addition, the classified driving state, the above threshold value, etc. are stored in the driving state management unit 22. In addition, the application instruction output control device 12 of this embodiment can also be used as long as it can determine the control state of the vehicle 10. Figure 2 Other processing different from the driving state analysis processing described above.

[0066] Figure 3 The flowchart shows the flow of the control possibility determination process performed by the application instruction output control device 12 of the present embodiment. The control possibility determination process is repeatedly performed when the start button of the vehicle 10 is turned on. In addition, the control possibility determination process is performed by a program stored in a storage medium. By executing the program, a method corresponding to the program is executed.

[0067] First, in step 200 , the driving state analysis unit 20 acquires vehicle data from the vehicle sensor 14 and the CAN 16 .

[0068] In the next step 202 , the driving state analyzing unit 20 performs a driving state analysis process of the vehicle 10 .

[0069] In the next step 204 , the safety determination unit 24 determines whether an application instruction is output from the third-party application 18 . If the determination is positive, the process proceeds to step 206 . If the determination is negative, the process returns to step 200 , and the acquisition of vehicle data and the determination of the driving state are repeated.

[0070] In step 206 , the safety determination unit 24 performs a safety determination to determine whether the application instruction output from the third-party application 18 is safe for the current driving state of the vehicle 10 .

[0071] In the next step 208 , it is determined based on the result of the safety determination whether control based on the application instruction can be performed. If the determination is affirmative, the process proceeds to step 210 , and if the determination is negative, the process proceeds to step 212 .

[0072] In step 210, the safety determination unit 24 outputs an application instruction to the control target via the CAN 16, and the process proceeds to step 200. Thus, the vehicle 10 performs control based on the application instruction.

[0073] In step 212 , the security determination unit 24 reports to the user via the third-party application 18 that control cannot be performed based on the application instruction, and the process returns to step 200 .

[0074] Here, the process of step 206 , that is, the safety determination will be described. The safety determination unit 24 of the present embodiment determines the safety based on the control target based on the output application instruction and the degree of danger of the current driving state of the vehicle 10 .

[0075] The risk level in the present embodiment is calculated based on a set value (hereinafter referred to as a “risk level score”) set for each control object according to the driving state of the vehicle 10 . Figure 4 is the hazard matrix representing the hazard scores. Figure 4 As shown, a risk score is set for the control object according to the driving state of the vehicle 10, that is, the control state and the driving environment, and as an example, it is set between 0 and 1 in 0.1 scales. Figure 4 The risk level score shown is an example and is set according to other control objects or other driving conditions.

[0076] Then, when the sum of the risk scores corresponding to the control object for which the application instruction is output and the current driving state of the vehicle 10 is equal to or greater than a predetermined value, the safety determination unit 24 determines that the vehicle is unsafe. The predetermined value is 1, for example.

[0077] exist Figure 4 In the example of FIG. 1 , when an application instruction to turn on the air conditioner is output from the third-party application 18 while the vehicle 10 is traveling, the total of the risk scores is 0, which is less than 1, so the safety determination unit 24 determines that the application instruction is safe.

[0078] On the other hand, when the vehicle 10 is stopped and the driving environment is rainy and on a slope, when an application instruction to close the open door is output from the third-party application 18, the total of the hazard scores is 1 (0.5+0.3+0.2), which is above 1, so the safety judgment unit 24 judges the application instruction as unsafe.

[0079] In addition, 1 is set as the risk score for a combination of a control object and a driving state with a high risk level, such as opening and closing of a door during vehicle travel.

[0080] Figure 5 , 6 It is a schematic diagram showing a specific example of control of the third-party application 18 according to the present embodiment.

[0081] Figure 5 The flow is shown in the case where the trunk of the vehicle 10 is unlocked in order to deliver the delivered goods to the user into the trunk.

[0082] First, if the user's smartphone receives a delivery notification from the delivery company, the third-party application 18 outputs the trunk unlocking as an application instruction. Assuming that the result of the driving state analysis by the application instruction output control device 12 is that the vehicle 10 is stopped and the trunk unlocking control can be implemented, the application instruction is output to the responsible ECU via CAN16. If the responsible ECU completes the trunk unlocking, the application instruction output control device 12 outputs information indicating the completion of the implementation to the third-party application 18. Then, the third-party application 18 notifies the user's smartphone that the trunk unlocking is completed.

[0083] Figure 6 The flow is shown in the case where the user sets the sunroof to be opened for regular ventilation.

[0084] First, the user sets the sunroof to be opened at a specified time for regular ventilation. The third-party application 18 outputs an application instruction for opening the sunroof at the set time. Assuming that the result of the driving state analysis performed by the application instruction output control device 12 is that the vehicle 10 is driving and it is raining, it is determined that the sunroof opening control cannot be implemented, and the third-party application 18 is notified that it cannot be implemented. The third-party application 18 receives the notification and reports to the user that the sunroof cannot be opened.

[0085] As described above, the application instruction output control device 12 of the present embodiment does not control the vehicle 10 based on the application instruction when it is determined that the control instruction from the third-party application 18, that is, the application instruction, is unsafe for the current driving state of the vehicle 10. Therefore, the application instruction output control device 12 of the present embodiment can ensure safety even if the third-party application 18 can control the vehicle 10.

[0086] The present disclosure is described above using the above-mentioned embodiments, but the technical scope of the present disclosure is not limited to the scope described in the above-mentioned embodiments. Various changes or improvements can be applied to the above-mentioned embodiments without departing from the scope of the disclosure, and the methods after applying the changes or improvements are also included in the technical scope of the present disclosure.

[0087] Although the above embodiment has been described assuming that the application program installed in the mobile body such as the vehicle 10 is an application program manufactured by a third party, the present invention is not limited thereto, and the application program may be manufactured by the manufacturer of the mobile body such as the vehicle 10 .

[0088] The functions provided by the application instruction output control device 12 of the above-mentioned embodiment can be provided by software and hardware executing the software, by software alone, by hardware alone, or by a combination of these. When such functions are provided by an electronic circuit as hardware, the functions can also be provided by a digital circuit including a large number of logic circuits or an analog circuit.

[0089] Each processor such as the ECU in the above-mentioned embodiment may be a structure including at least one CPU (Central Processing Unit) and GPU (Graphics Processing Unit) and other computing cores. In addition, the processor may be configured to further include an FPGA (Field-Programmable Gate Array) and other IP cores with dedicated functions.

[0090] The storage unit used as the above-mentioned embodiment can be changed appropriately in the form of the storage medium storing each program related to the data storage method of the present disclosure. For example, the storage medium is not limited to the structure provided on the circuit substrate, and can be provided in the form of a memory card, etc., inserted into the socket, and electrically connected to the bus of the computer. In addition, the storage medium can also be an optical disk and a hard disk drive, etc., which are the basis for copying the program to the computer.

[0091] The control unit and method of this embodiment can also be implemented by a dedicated computer that is programmed to execute one or more functions embodied by a computer program. Alternatively, the device and method described in this embodiment can also be implemented by a dedicated hardware logic circuit. Alternatively, the device and method described in this embodiment can also be implemented by one or more dedicated computers composed of a combination of a processor that executes a computer program and one or more hardware logic circuits. In addition, the computer program can also be stored in a computer-readable non-migratable tangible recording medium as an instruction executed by a computer.

[0092] Furthermore, the processing flow described in the above embodiment is only an example, and unnecessary steps may be deleted, new steps may be added, or the processing order may be changed without departing from the gist of the present disclosure.

Claims

1. A mobile body control device (12), comprising: An analyzing unit (20) for analyzing the current driving state of the moving object (10); and a determination unit (24) for determining whether the control instruction from the application program (18) is safe in the current driving state; When the determination unit determines that it is safe, the control instruction is output to the controlled object, and when the determination unit determines that it is unsafe, the control instruction is not output to the controlled object.

2. The mobile body control device according to claim 1, wherein: The above applications are manufactured by third parties.

3. The mobile body control device according to claim 1 or 2, wherein: The determination unit determines safety based on the control target for outputting the control instruction and the degree of danger of the current driving state.

4. The mobile body control device according to claim 3, wherein: The risk level is calculated based on a setting value set for each of the control objects according to the driving state of the mobile body.

5. The mobile body control device according to claim 4, wherein: The driving state is the control state of the mobile body and the driving environment of the mobile body. The above setting value is set according to each of the above driving conditions, The determination unit determines that it is unsafe when the sum of the set values ​​corresponding to the control target to which the control instruction is output and the current driving state of the mobile body is equal to or larger than a predetermined value.

6. The mobile body control device according to any one of claims 1 to 5, wherein: The analyzing unit analyzes the current driving state based on the pre-classified driving state.

7. The mobile body control device according to any one of claims 1 to 6, wherein: The analyzing unit analyzes the current driving state based on whether the same control is continuously performed.

8. A mobile body, A mobile body control device according to any one of claims 1 to 7.

9. A control program for causing a computer provided in a mobile body to function as an analyzing unit and a determining unit, wherein: The analyzing unit analyzes the current driving state of the mobile body, and the determining unit determines whether the control instruction from the application is safe in the current driving state. When the determination unit determines that it is safe, the control instruction is output to the controlled object, and when the determination unit determines that it is unsafe, the control instruction is not output to the controlled object.