Vehicle control method and device and vehicle
Patent Information
- Application Number
- CN202280095639.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-20
- Publication Date
- 2024-12-10
AI Technical Summary
During the vehicle software upgrade process, the vehicle was unable to provide basic services normally, resulting in poor user experience.
By receiving the signal from the target unit during the vehicle software upgrade process, it determines whether there is anyone in the vehicle, and controls the basic service unit to provide basic services, such as air conditioning, audio, lights, etc., ensuring that users can still use these services during the upgrade process.
During the vehicle software upgrade process, users' basic service needs are met, user experience is improved, and the impact on the upgrade process is reduced.
Smart Images

Figure CN119110938A_ABST
Abstract
Description
Vehicle control method, device and vehicle Technical Field
[0001] The present application relates to the field of automotive technology, and in particular to a vehicle control method, device, and vehicle. Background Art
[0002] With the advancement of the "four modernizations" of automobiles—electrification, connectivity, intelligence, and sharing—the electronic components are becoming increasingly common. The proportion of automotive electronics costs to the overall vehicle cost is gradually increasing, with new energy vehicles significantly higher than traditional vehicles. "Software-defined cars" have become a trend in automotive development, and the complexity of automotive software has also increased significantly. To ensure timely repairs of software glitches and updates to meet personalized needs, vehicle software upgrades are becoming increasingly frequent. Vehicle software upgrades include wired software upgrades and over-the-air (OTA) technology. However, during the vehicle software upgrade process, the vehicle often becomes unusable, resulting in a poor user experience.
[0003] Summary of the Invention
[0004] The embodiments of the present application disclose a vehicle control method, device, and vehicle, which can provide normal basic services during the vehicle software upgrade process.
[0005] In a first aspect, the present application provides a vehicle control method, the method comprising:
[0006] During the vehicle software upgrade process, the control unit of the aforementioned vehicle receives a signal from a target unit; the aforementioned target unit is used to sense whether there is a person in the aforementioned vehicle;
[0007] When it is determined based on the signal that there is a person in the vehicle, the control unit controls the basic service unit in the vehicle to provide basic services.
[0008] Optionally, the aforementioned control unit includes one or more of a vehicle controller VDC, a cockpit domain controller CDC, a vehicle integration unit VIU or a gateway.
[0009] Optionally, the aforementioned target unit is one or more of the vehicle lock controller, vehicle key controller, seat controller, camera or vehicle-mounted T-BOX of the aforementioned vehicle.
[0010] Optionally, the aforementioned basic service units include one or more of the air conditioning, audio, car screen, horn, wipers, lights or instruments in the vehicle.
[0011] This solution can still receive signals from the target unit during the vehicle software upgrade process. If the received signal indicates that someone is inside the vehicle, the basic service unit in the vehicle can be controlled to provide basic services to the user. Compared to existing solutions that disable vehicle services during the upgrade process, this solution can meet users' basic service needs during the vehicle software upgrade process, improving the user experience.
[0012] In a possible implementation manner, the control unit is connected to the target unit via a signal line; the signal line is used to transmit the signal from the target unit to the control unit during the vehicle software upgrade process.
[0013] This solution allows for a direct signal line between the control unit and the target unit, specifically designed to transmit signals from the target unit to the control unit during the vehicle software upgrade process. This allows the control unit to sense whether there are people inside the vehicle and, when there are people inside, control the basic service units in the vehicle to provide basic services to the user. This solution can still transmit signals from the target unit to the control unit even if other communication channels are closed during the vehicle software upgrade, reducing reliance on Controller Area Network (CAN) communications and providing a foundation for meeting users' basic service needs during the vehicle software upgrade process.
[0014] In a possible implementation manner, the aforementioned method further includes:
[0015] The control unit receives a communication control message; the communication control message is used to instruct the control unit to shut down a controller area network (CAN) communication function;
[0016] After receiving the communication control message, the control unit retains the CAN communication function between the control unit and the target unit according to the first preset configuration;
[0017] The control unit of the aforementioned vehicle receives a signal from the target unit, including:
[0018] The control unit receives the signal from the target unit via the controller area network, where the signal is a CAN signal.
[0019] Optionally, the first preset configuration indicates that only the control unit is allowed to receive a target signal from the target unit through the controller area network, where the target signal is used to determine whether there is a person in the vehicle.
[0020] In a possible implementation manner, the aforementioned method further includes:
[0021] After receiving the communication control message, the control unit retains the CAN communication function with the basic service unit according to the second preset configuration;
[0022] The control unit controls the basic service unit in the vehicle to provide basic services, including:
[0023] The control unit sends a message to the basic service unit through the controller area network. The message is used to instruct the basic service unit to provide basic services. The message is a CAN message.
[0024] In the above-mentioned solution of retaining the CAN communication function according to the preset configuration, during the vehicle software upgrade process, the specified CAN communication function is retained through the pre-configuration, so that the signal from the target unit can be transmitted to the control system, so that basic services can be provided during the vehicle software upgrade process. In addition, during the vehicle software upgrade process, only the CAN communication function necessary to provide basic services can be retained, and the CAN communication functions of other signals or vehicle components are still closed. This can minimize the impact on data flashing during the vehicle software upgrade process. That is, in this application, basic services can be provided during the vehicle software upgrade process while minimizing the impact on the vehicle software upgrade service, thereby improving the user experience.
[0025] In a possible implementation, the control unit controls the basic service unit in the vehicle to provide basic services, including: the control unit sends a message to the basic service unit via the unified diagnostic service UDS protocol, wherein the message is used to instruct the basic service unit to provide basic services.
[0026] During the vehicle software upgrade process, data flashing uses the UDS protocol to transmit data for flashing. This solution uses the UDS protocol to transmit messages from the control unit to the basic service unit, which can achieve synchronous transmission of the upgrade data and the message. That is, it can control the basic service unit to provide basic services without affecting the flashing of the upgrade data, thereby improving the user experience.
[0027] In one possible embodiment, the target unit includes a vehicle key controller, and the signal from the target unit includes a signal from the vehicle key controller indicating whether the key of the vehicle is placed in the vehicle; wherein, the signal indicating that the key of the vehicle is placed in the vehicle indicates that there is someone in the vehicle, and the signal indicating that the key of the vehicle is not placed in the vehicle indicates that there is no one in the vehicle.
[0028] In one possible embodiment, the aforementioned target unit includes a seat controller, and the aforementioned signal from the target unit includes a signal from the aforementioned seat controller indicating whether there is someone sitting in the seat of the aforementioned vehicle; wherein, the signal indicating that there is someone sitting in the seat of the aforementioned vehicle indicates that there is someone in the aforementioned vehicle, and the signal indicating that there is no one sitting in the seat of the aforementioned vehicle indicates that there is no one in the aforementioned vehicle.
[0029] In a possible implementation, the target unit includes a vehicle-mounted T-BOX, and the signal from the target unit includes a signal from the vehicle-mounted T-BOX indicating whether there is a person in the vehicle.
[0030] In one possible embodiment, the aforementioned target unit also includes a vehicle lock controller; the aforementioned signal from the target unit also includes a signal from the aforementioned vehicle lock controller indicating that the vehicle lock of the aforementioned vehicle is in an unlocked or locked state; wherein, the signal indicating that the vehicle lock of the aforementioned vehicle is in an unlocked state indicates that there is someone in the aforementioned vehicle, and the signal indicating that the vehicle lock of the aforementioned vehicle is in a locked state indicates that there is no one in the aforementioned vehicle.
[0031] In one possible implementation, the signal from the aforementioned vehicle key controller, seat controller, camera, or vehicle T-BOX has a higher priority than the signal from the aforementioned vehicle lock controller;
[0032] The aforementioned determining that there is a person in the aforementioned vehicle based on the aforementioned signal includes:
[0033] When it is determined that there is no one in the vehicle based on the signal from the vehicle lock controller and that there is someone in the vehicle based on the signal from the vehicle key controller, seat controller, camera or vehicle-mounted T-BOX, the control unit determines that there is someone in the vehicle.
[0034] The above-mentioned determination of whether there is a person in the vehicle using signals from one or more target units allows for timely perception of the presence of people in the vehicle, and can then quickly and responsively control the corresponding basic service units to provide basic services, thereby improving the user experience. Furthermore, the above-mentioned comprehensive determination of whether there is a person in the vehicle using signals from multiple target units can improve the accuracy of the determination, avoiding the waste of resources caused by controlling the basic service units to provide basic services due to misjudgment of a person being present, and also avoiding the poor user experience caused by not providing basic services due to misjudgment of no one being present.
[0035] In a second aspect, the present application provides a vehicle control method, the method comprising:
[0036] During the vehicle software upgrade process, when the target unit senses that there is someone in the aforementioned vehicle, it sends a signal to the control unit of the aforementioned vehicle; the aforementioned signal is used to instruct the aforementioned control unit to control the basic service unit in the aforementioned vehicle to provide basic services.
[0037] Optionally, the aforementioned control unit includes one or more of a vehicle controller VDC, a cockpit domain controller CDC, a vehicle integration unit VIU or a gateway.
[0038] Optionally, the aforementioned target unit is one or more of the vehicle lock controller, vehicle key controller, seat controller, camera or vehicle-mounted T-BOX of the aforementioned vehicle.
[0039] During the vehicle software upgrade process, this solution allows the target unit to continue sending signals to the control unit. This allows the control unit to control the basic service unit in the vehicle to provide basic services to the user if the signal received by the control unit indicates that someone is inside the vehicle. Compared to existing solutions that disable vehicle services during the upgrade process, this solution can meet users' basic service needs during the vehicle software upgrade process, improving the user experience.
[0040] In a possible implementation manner, the target unit is connected to the control unit via a signal line; the signal line is used to transmit the signal from the target unit to the control unit during the vehicle software upgrade process.
[0041] This solution allows for a direct signal line between the target unit and the control unit to be used specifically to transmit signals from the target unit to the control unit during the vehicle software upgrade process. This allows the control unit to sense whether there are people inside the vehicle and, if so, control the basic service units in the vehicle to provide basic services to the user. This solution can still transmit signals from the target unit to the control unit even if other communication channels are closed during the vehicle software upgrade, providing a foundation for meeting users' basic service needs during the vehicle software upgrade process.
[0042] In a possible implementation manner, the aforementioned method further includes:
[0043] The target unit receives the communication control message; the communication control message is used to instruct the target unit to turn off the controller area network (CAN) communication function;
[0044] After receiving the communication control message, the target unit retains the CAN communication function with the control unit according to the preset configuration;
[0045] The target unit sends a signal to the control unit of the vehicle, including:
[0046] The target unit sends the signal to the control unit via the controller area network, where the signal is a CAN signal.
[0047] Optionally, the preset configuration indicates that only the target unit is allowed to send a target signal to the control unit through the controller local area network, and the target signal is used to determine whether there is anyone in the vehicle.
[0048] In the above-mentioned solution of retaining the CAN communication function according to the preset configuration, during the vehicle software upgrade process, the specified CAN communication function is retained through the pre-configuration, so that the signal from the target unit can be transmitted to the control system, so that basic services can be provided during the vehicle software upgrade process. In addition, during the vehicle software upgrade process, only the CAN communication function necessary to provide basic services can be retained, and the CAN communication functions of other signals or vehicle components are still closed. This can minimize the impact on data flashing during the vehicle software upgrade process. That is, in this application, basic services can be provided during the vehicle software upgrade process while minimizing the impact on the vehicle software upgrade service, thereby improving the user experience.
[0049] In a third aspect, the present application provides a vehicle control method, the method comprising:
[0050] The vehicle's OTA controller broadcasts a communication control message to the aforementioned vehicle according to a preset configuration; the aforementioned communication control message is used to instruct the deactivation of all CAN communication functions in the aforementioned vehicle except for a target CAN communication function; the aforementioned target CAN communication function includes a first CAN communication function for transmitting a target signal between a control unit of the aforementioned vehicle and a aforementioned target unit, the aforementioned target unit being used to sense whether there is a person in the aforementioned vehicle, and the aforementioned target signal is a signal from the aforementioned target unit used to determine whether there is a person in the aforementioned vehicle;
[0051] The first CAN communication function is used to send the target signal to the control unit during the vehicle software upgrade.
[0052] Generally, in order to reduce the impact of other data transmission on the upgraded data transmission during the vehicle upgrade process, the OTA controller can broadcast a communication control message to the vehicle to shut down the CAN communication function of the entire vehicle. In this case, the basic services of the entire vehicle will not be available. In this solution, when broadcasting the communication control message, the OTA controller can indicate that the above-mentioned target CAN communication function should not be shut down, and all other CAN communication functions except the target CAN communication function are shut down. In this way, while minimizing the impact on the upgraded data transmission, the signal communication between the target unit and the basic control unit can still be maintained, that is, the signal from the target unit can be transmitted to the control unit, so that during the vehicle upgrade process, the control unit can control the basic service unit to provide basic services according to the signal, thereby improving the user experience.
[0053] In one possible implementation, the target CAN communication function further includes a second CAN communication function for transmitting a target message between the control unit and the basic service unit; the target message is used to instruct the basic service unit to provide a basic service;
[0054] The aforementioned second CAN communication function is used to send the aforementioned target message to the aforementioned basic service unit during the aforementioned vehicle software upgrade process.
[0055] In this solution, the above-mentioned target CAN communication function also includes the CAN communication function for transmitting target messages between the above-mentioned control unit and the basic service unit, so that during the vehicle software upgrade, the control system can send messages to the basic service unit through the CAN communication function to instruct it to provide basic services, thereby improving the user experience.
[0056] In a fourth aspect, the present application provides a vehicle control device, which is located in a vehicle and includes:
[0057] a receiving module, configured to receive a signal from a target unit during the vehicle software upgrade process; the target unit being configured to sense whether there is a person in the vehicle;
[0058] The control module is used to control the basic service unit in the vehicle to provide basic services when it is determined that there is a person in the vehicle based on the signal.
[0059] In a possible implementation manner, the aforementioned control device is connected to the aforementioned target unit via a signal line;
[0060] The signal line is used to transmit the signal from the target unit to the control device during the vehicle software upgrade process.
[0061] In a possible implementation manner, the aforementioned receiving module is further configured to receive a communication control message; the aforementioned communication control message is used to instruct the aforementioned control device to disable a controller area network (CAN) communication function;
[0062] The aforementioned control device further includes a reservation module for retaining the CAN communication function between the aforementioned control device and the aforementioned target unit according to a first preset configuration after receiving the aforementioned communication control message;
[0063] The aforementioned receiving module is specifically used for:
[0064] The signal from the target unit is received via the controller area network, where the signal is a CAN signal.
[0065] In a possible implementation, the first preset configuration indicates that the control device is only allowed to receive a target signal from the target unit via the controller area network, where the target signal is used to determine whether there is a person in the vehicle.
[0066] In a possible implementation manner, the aforementioned reservation module is further configured to: after receiving the aforementioned communication control message, retain the CAN communication function with the aforementioned basic service unit according to a second preset configuration;
[0067] The aforementioned control device further includes a sending module, and the aforementioned control module is specifically configured to:
[0068] The sending module is controlled to send a message to the basic service unit through the controller area network, where the message is used to instruct the basic service unit to provide basic services, and the message is a CAN message.
[0069] In a possible implementation, the control device further includes a sending module, and the control module is specifically configured to:
[0070] The sending module is controlled to send a message to the basic service unit through the unified diagnostic service UDS protocol, where the message is used to instruct the basic service unit to provide basic services.
[0071] In a possible implementation, the aforementioned control device includes one or more of a vehicle controller VDC, a cockpit domain controller CDC, a vehicle integration unit VIU or a gateway.
[0072] In a possible implementation manner, the aforementioned target unit is one or more of a vehicle lock controller, a vehicle key controller, a seat controller, a camera, or a vehicle-mounted T-BOX of the aforementioned vehicle.
[0073] In one possible embodiment, the target unit includes a vehicle key controller, and the signal from the target unit includes a signal from the vehicle key controller indicating whether the key of the vehicle is placed in the vehicle; wherein, the signal indicating that the key of the vehicle is placed in the vehicle indicates that there is someone in the vehicle, and the signal indicating that the key of the vehicle is not placed in the vehicle indicates that there is no one in the vehicle.
[0074] In one possible embodiment, the aforementioned target unit includes a seat controller, and the aforementioned signal from the target unit includes a signal from the aforementioned seat controller indicating whether there is someone sitting in the seat of the aforementioned vehicle; wherein, the signal indicating that there is someone sitting in the seat of the aforementioned vehicle indicates that there is someone in the aforementioned vehicle, and the signal indicating that there is no one sitting in the seat of the aforementioned vehicle indicates that there is no one in the aforementioned vehicle.
[0075] In a possible implementation, the target unit includes a vehicle-mounted T-BOX, and the signal from the target unit includes a signal from the vehicle-mounted T-BOX indicating whether there is a person in the vehicle.
[0076] In one possible embodiment, the aforementioned target unit also includes a vehicle lock controller; the aforementioned signal from the target unit also includes a signal from the aforementioned vehicle lock controller indicating that the vehicle lock of the aforementioned vehicle is in an unlocked or locked state; wherein, the signal indicating that the vehicle lock of the aforementioned vehicle is in an unlocked state indicates that there is someone in the aforementioned vehicle, and the signal indicating that the vehicle lock of the aforementioned vehicle is in a locked state indicates that there is no one in the aforementioned vehicle.
[0077] In one possible implementation, the signal from the aforementioned vehicle key controller, seat controller, camera, or vehicle T-BOX has a higher priority than the signal from the aforementioned vehicle lock controller;
[0078] The control device further includes a judgment unit, which is configured to judge whether there is a person in the vehicle based on the signal:
[0079] When it is determined that there is no one in the vehicle based on the signal from the vehicle lock controller and that there is someone in the vehicle based on the signal from the vehicle key controller, seat controller, camera or vehicle-mounted T-BOX, it is determined that there is someone in the vehicle.
[0080] In a fifth aspect, the present application provides a vehicle device, the vehicle device comprising:
[0081] The sending module is used to send a signal to the control unit of the aforementioned vehicle when it senses that there is someone in the aforementioned vehicle during the process of upgrading the aforementioned vehicle software; the aforementioned signal is used to instruct the aforementioned control unit to control the basic service unit in the aforementioned vehicle to provide basic services.
[0082] In one possible implementation, the aforementioned vehicle device is connected to the aforementioned control unit via a signal line;
[0083] The signal line is used to transmit the signal from the vehicle device to the control unit during the vehicle software upgrade process.
[0084] In a possible implementation manner, the aforementioned vehicle device further includes:
[0085] A receiving module, configured to receive a communication control message, wherein the communication control message is used to instruct the vehicle device to disable a controller area network (CAN) communication function;
[0086] A reservation module, configured to retain the CAN communication function with the control unit according to a preset configuration after receiving the communication control message;
[0087] The aforementioned sending module is specifically used for:
[0088] The signal is sent to the control unit via the controller area network, and the signal is a CAN signal.
[0089] In a possible implementation, the preset configuration indicates that only the vehicle device is allowed to send a target signal to the control unit via the controller area network, where the target signal is used to determine whether there is a person in the vehicle.
[0090] In a possible implementation, the aforementioned control unit includes one or more of a vehicle controller VDC, a cockpit domain controller CDC, a vehicle integration unit VIU or a gateway.
[0091] In a possible implementation, the aforementioned vehicle device is one or more of a vehicle lock controller, a vehicle key controller, a seat controller, a camera, or a vehicle-mounted T-BOX of the aforementioned vehicle.
[0092] In a sixth aspect, the present application provides a vehicle control device, the control device comprising:
[0093] a broadcast module configured to broadcast a communication control message to the vehicle according to a preset configuration; the communication control message being configured to instruct the deactivation of all CAN communication functions in the vehicle except a target CAN communication function; the target CAN communication function comprising a first CAN communication function for transmitting a target signal between a control unit of the vehicle and a target unit, the target unit being configured to sense whether a person is in the vehicle, the target signal being a signal from the target unit for determining whether a person is in the vehicle;
[0094] The first CAN communication function is used to send the target signal to the control unit during the vehicle software upgrade.
[0095] In one possible implementation, the target CAN communication function further includes a second CAN communication function for transmitting a target message between the control unit and the basic service unit; the target message is used to instruct the basic service unit to provide a basic service;
[0096] The aforementioned second CAN communication function is used to send the aforementioned target message to the aforementioned basic service unit during the aforementioned vehicle software upgrade process.
[0097] In a seventh aspect, the present application provides a vehicle control device, which is included in the vehicle and includes a processor and a memory. The memory is coupled to the processor, and when the processor executes a computer program stored in the memory, the vehicle control method described in any one of the first aspects can be implemented. The device may also include a communication interface for communicating with other devices. Exemplarily, the communication interface may be a transceiver, circuit, bus, module, or other type of communication interface.
[0098] In one possible implementation, the apparatus may include:
[0099] memory for storing computer programs;
[0100] Processor for:
[0101] During the vehicle software upgrade process, a signal from a target unit is received via a communication interface; the target unit is used to sense whether there is a person in the vehicle;
[0102] When it is determined based on the signal that there is a person in the vehicle, the basic service unit in the vehicle is controlled to provide basic services.
[0103] It should be noted that the computer program in the memory in this application can be pre-stored or downloaded from the Internet and stored when the device is used. This application does not specifically limit the source of the computer program in the memory. The coupling in the embodiments of this application is an indirect coupling or connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
[0104] In an eighth aspect, the present application provides a vehicle device, which is included in the vehicle and includes a processor and a memory. The memory is coupled to the processor, and when the processor executes a computer program stored in the memory, the vehicle control method described in any one of the second aspects above can be implemented. The device may also include a communication interface, which is used for the device to communicate with other devices. Exemplarily, the communication interface can be a transceiver, circuit, bus, module, or other type of communication interface.
[0105] In one possible implementation, the apparatus may include:
[0106] memory for storing computer programs;
[0107] Processor for:
[0108] During the vehicle software upgrade process, when it is sensed that there is someone in the aforementioned vehicle, a signal is sent to the control unit of the aforementioned vehicle through the communication interface; the aforementioned signal is used to instruct the aforementioned control unit to control the basic service unit in the aforementioned vehicle to provide basic services.
[0109] It should be noted that the computer program in the memory in this application can be pre-stored or downloaded from the Internet and stored when the device is used. This application does not specifically limit the source of the computer program in the memory. The coupling in the embodiments of this application is an indirect coupling or connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
[0110] In a ninth aspect, the present application provides a vehicle control device, which is included in the vehicle and includes a processor and a memory. The memory is coupled to the processor, and when the processor executes a computer program stored in the memory, the vehicle control method described in any one of the third aspects above can be implemented. The device may also include a communication interface, which is used for the device to communicate with other devices. Exemplarily, the communication interface can be a transceiver, circuit, bus, module, or other type of communication interface.
[0111] In one possible implementation, the apparatus may include:
[0112] memory for storing computer programs;
[0113] Processor for:
[0114] A communication control message is broadcast to the aforementioned vehicle according to a preset configuration; the aforementioned communication control message is used to instruct to shut down all CAN communication functions in the aforementioned vehicle except the target CAN communication function; the aforementioned target CAN communication function includes a first CAN communication function for transmitting a target signal between the control unit of the aforementioned vehicle and the aforementioned target unit, the aforementioned target unit is used to sense whether there is someone in the aforementioned vehicle, and the aforementioned target signal is a signal from the aforementioned target unit for judging whether there is someone in the aforementioned vehicle; the aforementioned first CAN communication function is used to send the aforementioned target signal to the aforementioned control unit during the software upgrade of the aforementioned vehicle.
[0115] It should be noted that the computer program in the memory in this application can be pre-stored or downloaded from the Internet and stored when the device is used. This application does not specifically limit the source of the computer program in the memory. The coupling in the embodiments of this application is an indirect coupling or connection between devices, units or modules, which can be electrical, mechanical or other forms, and is used for information exchange between devices, units or modules.
[0116] In a tenth aspect, the present application provides a vehicle comprising a control device and a vehicle device, wherein the control device is the control device described in any one of the fourth aspects, and the vehicle device is the vehicle device described in any one of the fifth aspects.
[0117] In an eleventh aspect, the present application provides a computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the method described in the first aspect or any possible implementation of the first aspect.
[0118] In a twelfth aspect, the present application provides a computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the method described in the second aspect or any possible implementation method of the second aspect.
[0119] In a thirteenth aspect, the present application provides a computer-readable storage medium storing a computer program, wherein the computer program is executed by a processor to implement the method described in the third aspect or any possible implementation method of the third aspect.
[0120] In a fourteenth aspect, the present application provides a computer program software. When the computer program software is executed by a processor, the method described in the above-mentioned first aspect or any possible implementation of the first aspect will be executed.
[0121] In a fifteenth aspect, the present application provides a computer program software. When the computer program software is executed by a processor, the method described in the above second aspect or any possible implementation of the second aspect will be executed.
[0122] In the sixteenth aspect, the present application provides a computer program software. When the computer program software is executed by a processor, the method described in the third aspect or any possible implementation of the third aspect will be executed.
[0123] The solutions provided in the above-mentioned fourth to sixteenth aspects are used to implement or cooperate with the corresponding methods provided in the above-mentioned first, second or third aspects, and therefore can achieve the same or corresponding beneficial effects as the corresponding methods in the first, second or third aspects, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0124] FIG1 is a schematic diagram showing the structure of an intelligent automobile system according to an embodiment of the present application;
[0125] FIG2 is a schematic diagram showing the structure of an in-vehicle network according to an embodiment of the present application;
[0126] FIG3 is a schematic diagram of a method flow chart provided in an embodiment of the present application;
[0127] FIG4A is a schematic diagram of a communication channel within a vehicle provided by an embodiment of the present application;
[0128] FIG4B is a schematic diagram of another in-vehicle communication channel provided by an embodiment of the present application;
[0129] FIG4C is a schematic diagram showing another in-vehicle communication channel provided by an embodiment of the present application;
[0130] FIG4D is a schematic diagram showing a connection relationship between vehicle components according to an embodiment of the present application;
[0131] FIG4E is a schematic diagram of an interaction process provided by an embodiment of the present application;
[0132] FIG5A is a schematic diagram of another in-vehicle communication channel provided by an embodiment of the present application;
[0133] FIG5B is a schematic diagram of another in-vehicle communication channel provided by an embodiment of the present application;
[0134] FIG5C is a schematic diagram showing another in-vehicle communication channel provided by an embodiment of the present application;
[0135] FIG6 is a schematic diagram of another interaction process provided in an embodiment of the present application;
[0136] FIG7 is a schematic diagram showing the logical structure of a control device provided in an embodiment of the present application;
[0137] FIG8 is a schematic diagram showing the logical structure of a vehicle device provided in an embodiment of the present application;
[0138] FIG9 is a schematic diagram showing the logical structure of another control device provided in an embodiment of the present application;
[0139] FIG10 is a schematic diagram showing the hardware structure of a control device provided in an embodiment of the present application;
[0140] FIG11 is a schematic diagram showing the hardware structure of a vehicle device provided in an embodiment of the present application;
[0141] FIG12 is a schematic diagram showing the hardware structure of another control device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0142] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0143] Referring to Figure 1, it illustrates a schematic diagram of the structure of an automotive intelligent system. The automotive intelligent system includes an over-the-air technology (OTA) module, a gateway (GW) or a vehicle integration unit (VIU), a vehicle domain controller (VDC), a cockpit domain controller (CDC), a lock controller, and a seat controller. The OTA module, VDC, CDC, lock controller, and seat controller are connected to the gateway (or VIU).
[0144] The OTA module and gateway (or VIU) can be connected via Ethernet and Controller Area Network (CAN) buses. Furthermore, the VDC and gateway (or VIU), as well as the CDC and gateway (or VIU), can also be connected via Ethernet and CAN buses. The lock controller and gateway (or VIU), as well as the seat controller and gateway (or VIU), are connected via CAN buses.
[0145] The automobile intelligent system may include multiple gateways (or VIUs), which may be distributedly deployed in the automobile intelligent system. For ease of understanding, please refer to Figure 2 for example. Figure 2 takes four gateways (or VIUs) as an example. As shown in Figure 2, the distributed gateways (or VIUs) can provide a high-speed Ethernet bus for interconnection to form a ring network. The ring network provides highly reliable communication performance. When any VIU fails, the entire ring network can ensure the communication security of the entire system through a loopback route. Figure 2 is only an example and does not constitute a limitation on the embodiments of the present application.
[0146] In one possible implementation, the gateway could be a core component of the vehicle's electrical and electronic architecture. Serving as the data exchange hub for the vehicle's network, it can route network data across different networks, such as the CAN network, the Local Interconnect Network (LIN), and the Media Oriented System Transport (MOST) network. Specifically, the gateway could implement functions such as protocol conversion, protocol encapsulation and forwarding, and data format conversion.
[0147] In a specific implementation, the VIU can provide some or all of the data processing or control functions for multiple vehicle components. The following examples illustrate the functions of the VIU. It should be understood that the VIU can have one or more of the following functions:
[0148] ① Electronic control functions: The VIU is used to implement some or all of the electronic control functions provided by the electronic control unit (ECU) within the aforementioned vehicle components. For example, the control functions required by a specific vehicle component, or the data processing functions required by a specific vehicle component.
[0149] ② The same functions as the gateway, that is, the VIU can also have some or all of the same functions as the gateway, such as protocol conversion function, protocol encapsulation and forwarding function, and data format conversion function.
[0150] ③ The function of processing data across vehicle components, that is, the function of processing or calculating data obtained from actuators of multiple vehicle components.
[0151] It should be noted that the data involved in the above functions may include operating data of actuators in vehicle components, such as the motion parameters of the actuators, the operating status of the actuators, etc. The data involved in the above functions may also be data collected by data acquisition units (e.g., sensitive elements or sensors) of vehicle components. For example, information about the road the vehicle is traveling on or weather information collected by the vehicle's sensitive elements is not specifically limited in this embodiment of the application.
[0152] The above-mentioned OTA module can be used to implement OTA upgrades for the entire vehicle. The OTA module can communicate wirelessly with the OTA server. Specifically, a secure channel can be established between the OTA server and the OTA module. For example, a secure channel such as hyper text transfer protocol over secure socket layer (HTTPS), transport layer security (TLS) or datagram transport layer security (DTLS) is established. Information can be securely transmitted between the OTA server and the OTA module through the established secure channel. For example, policy packages and upgrade packages of components to be upgraded can be securely transmitted. The OTA server can be deployed on an electronic device with wireless communication and storage functions, and can also be deployed on a virtual machine (VM) or container in the cloud, where the cloud can be a cluster composed of multiple electronic devices.
[0153] The VDC is used to provide services for vehicle components in the body domain and vehicle components in the chassis domain. Vehicle components in the body domain include door and window lift controllers, electric rearview mirrors, air conditioning, or central door locking. Vehicle components in the chassis domain include components in the braking system, steering system, and acceleration system (such as the accelerator).
[0154] The CDC is used to provide services for vehicle components in the cockpit domain, including head-up display, instrument display, radio, navigation or camera, etc.
[0155] The vehicle lock controller can be used to communicate with the vehicle key, receiving and processing signals sent by the vehicle key. For example, the vehicle lock controller can receive an unlock (or lock) signal sent by the vehicle key and control the vehicle lock to open (or close) based on the unlock (or lock) signal.
[0156] The seat controller may be used to sense whether there is someone on the seat, etc., through sensors or sensitive elements.
[0157] In one possible implementation, the above-mentioned vehicle intelligent system may further include an autonomous driving domain controller or a car key controller. The autonomous driving domain controller is used to provide services for vehicle components that implement autonomous driving functions. Among them, the vehicle components that implement autonomous driving functions include monocular cameras, binocular cameras, millimeter-wave radars, lidars, ultrasonic radars, etc. Exemplarily, the functions of the above-mentioned autonomous driving domain controller can be implemented by a mobile data center (MDC). The car key control is used to sense whether the car key is in the car through sensors or sensitive elements.
[0158] The above-mentioned VDC, CDC and MDC are all used to provide services for components within a certain area of the vehicle, and therefore can be called the vehicle's domain controller.
[0159] In one possible implementation, the above-mentioned automobile intelligent system may further include a central controller, which includes a vehicle mode management function and can be used to coordinate and control various domain controllers or vehicle components in the vehicle.
[0160] The above is an illustrative introduction to the components of the automobile intelligent system. The specific implementation is not limited to the components introduced above, and this application does not list them one by one here.
[0161] According to the description of the above-mentioned car intelligent system, it can be known that the OTA module can be used to realize the OTA upgrade of the whole vehicle. In the existing OTA upgrade scheme, after the OTA module receives the upgrade package and other data from the OTA server, it can use the unified diagnostic services (UDS) protocol to transmit the message to rewrite the software data in the electronic control unit (ECU) to realize the software upgrade. The ECU refers to the general term for various controllers in the car intelligent system. For example, the VDC, CDC, VIU, gateway, car lock controller or seat controller in the above-mentioned car intelligent system, as well as the controllers of other vehicle components are all ECUs.
[0162] However, in the existing automotive intelligent system architecture, both UDS protocol messages and CAN messages are transmitted on the CAN bus, and CAN messages have a higher priority than UDS protocol messages. In order to avoid frame loss of UDS messages used to flash ECU data, the OTA module will send a communication control message to each ECU through vehicle broadcast before sending the UDS message. This communication control message is used to instruct the ECU to turn off the CAN communication function, that is, no longer process CAN messages. For example, the communication control message can be sent through the 28 service of the UDS protocol. After receiving the communication control message, the gateway (or VIU) will also turn off the routing and forwarding function of the CAN message to make way for the UDS protocol message.
[0163] Once the CAN communication function of the entire vehicle is disabled, the underlying business communication will be disconnected, making the vehicle unable to provide normal basic services. For example, after the CAN communication function is disabled, the vehicle cannot sense whether there are people inside the vehicle. Therefore, when there are people inside the vehicle, it cannot provide basic services such as sound, light, and electricity, affecting users' normal use of vehicle services.
[0164] In addition to the above-mentioned OTA module to achieve vehicle software upgrades, you can also use wired flashing to upgrade the vehicle software, such as on-site vehicle software upgrades at a repair shop. The process of software upgrades via wired flashing will also shut down the vehicle's CAN communication function, resulting in the inability to provide basic services normally.
[0165] In order to solve the above-mentioned problem of not being able to provide basic services normally during the process of automobile software upgrade, the embodiment of the present application provides a processing method for providing basic services in a vehicle. For example, as shown in Figure 3, the method includes but is not limited to the following steps:
[0166] S301. During a vehicle software upgrade, a control unit of the vehicle receives a signal from a target unit; the target unit is used to sense whether there is someone in the vehicle.
[0167] In a specific implementation, the control unit may include one or more of a VDC, a CDC, a VIU, or a gateway. The target unit may include one or more of a vehicle lock controller, a vehicle key controller, a seat controller, a camera, or a vehicle-mounted T-BOX.
[0168] S302: When it is determined according to the signal that there is a person in the vehicle, the control unit controls the basic service unit in the vehicle to provide basic services.
[0169] In a specific implementation, the above-mentioned basic service unit includes one or more of the sound, light, electricity or entertainment control units in the vehicle. Exemplarily, the basic service unit can be one or more of the air conditioner, headlights, car screen, horn, wiper, audio or instrument in the vehicle. The air conditioner can provide air conditioner usage services, the headlights can provide headlight usage services, the car screen can provide car screen usage services, the horn can provide horn usage services, the wiper can provide wiper usage services, the audio can provide audio usage services, and the instrument can provide instrument usage services. This is only an example, and the embodiments of the present application do not limit the basic service unit.
[0170] For the convenience of subsequent description, the signal received by the control unit from the target unit may be referred to as a notification signal.
[0171] For example, the process of determining whether there is a person in the vehicle based on the signal may include one or more of the following situations:
[0172] Case 1: The target unit includes a vehicle lock controller. Exemplarily, when a user wishes to enter the vehicle, they can use a car key or other device to send a signal to the vehicle lock controller to unlock the vehicle locks. The vehicle lock controller receives the unlock signal and unlocks the vehicle locks, allowing the user to enter the vehicle. Furthermore, after receiving the unlock signal, the vehicle lock controller generates the aforementioned notification signal based on the unlock signal and transmits the generated notification signal to the control unit. Exemplarily, the generated notification signal can indicate that the vehicle locks are unlocked. Upon receiving the notification signal, the control unit can determine that someone is inside the vehicle based on the unlock signal. Alternatively, the generated notification signal can be generated by the vehicle lock controller based on the unlock signal according to a preset signal generation rule. For example, the preset signal generation rule can include marking a field in the generated signal with an identifier, such as "1," to indicate that someone is inside the vehicle. Of course, the identifier can be any identifier, not limited to the "1" shown here. Upon receiving the notification signal carrying the identifier, the control unit can determine that someone is inside the vehicle based on the specific identifier.
[0173] In another implementation, for example, when a user leaves the vehicle, they can send a lock-closing signal to the vehicle lock controller using a vehicle key or other means. Upon receiving the lock-closing signal, the vehicle lock controller closes the vehicle lock. Furthermore, after receiving the lock-closing signal, the vehicle lock controller generates the aforementioned notification signal based on the lock-closing signal and transmits the generated notification signal to the control unit. For example, the generated notification signal can indicate that the vehicle locks are locked. After receiving the notification signal, the control unit can determine that no one is inside the vehicle based on the lock-closing signal. Alternatively, for example, the generated notification signal can be generated by the vehicle lock controller based on a preset signal generation rule based on the lock-closing signal, indicating that no one is inside the vehicle. For example, the preset signal generation rule can include marking a field in the generated signal with an identifier such as "0" to indicate that no one is inside the vehicle. Of course, the identifier can be any identifier, not limited to the "0" shown here as an example. Then, after receiving the notification signal carrying the identifier, the control unit can determine that no one is inside the vehicle based on the specific identifier.
[0174] Case 2: The target unit includes a vehicle key controller. The vehicle key controller can sense whether the vehicle key is inside the vehicle using a vehicle key sensor or sensor. If the vehicle key is inside the vehicle, it indicates that someone is inside the vehicle; if the vehicle key is not inside the vehicle, it indicates that no one is inside the vehicle. When the vehicle key sensor or sensor detects the presence of the vehicle key, it sends a signal to the vehicle key controller indicating that the vehicle key is inside the vehicle. After receiving the signal indicating that the vehicle key is inside the vehicle, the vehicle key controller generates the notification signal based on the signal and sends the generated notification signal to the control unit. The generated notification signal can indicate that the vehicle key is inside the vehicle, and the control unit can determine that someone is inside the vehicle based on the notification signal. Alternatively, the generated notification signal can be generated by the vehicle key controller based on the signal indicating that the vehicle key is inside the vehicle according to a preset signal generation rule. For example, the preset signal generation rule may include marking a field in the generated signal with an identifier such as "1" to indicate that someone is inside the vehicle. Of course, this identifier can be any identifier and is not limited to the "1" shown here as an example. Then, after receiving the notification signal carrying the identifier, the control unit can determine that there is someone in the vehicle based on the specific identifier.
[0175] If the above-mentioned car key sensor or sensitive element senses that the car key is not in the vehicle, it will send a signal to the car key controller indicating that the car key is not in the vehicle. After the car key controller receives the signal indicating that the car key is not in the vehicle, it generates a second signal based on the signal indicating that the car key is not in the vehicle. The generated notification signal can indicate that the car key is not in the vehicle, and the control unit can determine that there is no one in the vehicle based on the notification signal after receiving the notification signal. Or, illustratively, the generated notification signal can be a signal indicating that there is no one in the vehicle generated by the car key controller based on the signal indicating that the car key is not in the vehicle according to a preset signal generation rule. For example, the preset signal generation rule can be, for example, marking a certain field in the generated signal with an identifier such as "0" to indicate that there is no one in the vehicle. Of course, the identifier can be any identifier, not limited to the "0" given here as an example. Then, after the control unit receives the notification signal carrying the identifier, it can determine that there is no one in the vehicle based on the specific identifier.
[0176] Case 3: The target unit includes a seat controller. The seat controller can detect whether a seat is occupied using a seat sensor or sensor. If the seat sensor or sensor detects an occupant, it sends a signal to the seat controller indicating that the seat is occupied. After receiving the signal, the seat controller generates the notification signal based on the occupant signal and transmits the generated notification signal to the control unit. Exemplarily, the generated notification signal can be a signal indicating that a seat in the vehicle is occupied. After receiving the notification signal, the control unit can determine that a person is inside the vehicle based on the seat occupancy signal. Alternatively, the generated notification signal can be generated by the seat controller based on a preset signal generation rule based on the seat occupancy signal according to a preset signal generation rule. For example, the preset signal generation rule can be to mark a field in the generated signal with an identifier such as "1" to indicate that a person is inside the vehicle. Of course, the identifier can be any identifier, not limited to the "1" shown here. Then, after receiving the notification signal carrying the identifier, the control unit can determine that a person is inside the vehicle based on the specific identifier.
[0177] If the seat sensor or sensitive element detects that no one is in the seat, it will send a signal to the seat controller indicating that the seat is unoccupied. After receiving the signal indicating that the seat is unoccupied, the seat controller generates a second signal based on the signal indicating that the seat is unoccupied, and sends the generated notification signal to the control unit. Exemplarily, the generated notification signal can be a signal indicating that the vehicle seat is unoccupied. After receiving the notification signal, the control unit can determine that no one is in the vehicle based on the signal that the seat is unoccupied. Alternatively, exemplarily, the generated notification signal can be a signal indicating that no one is in the vehicle generated by the seat controller based on the signal that the seat is unoccupied according to a preset signal generation rule. For example, the preset signal generation rule can be marking a field in the generated signal with an identifier such as "0" to indicate that no one is in the vehicle. Of course, the identifier can be any identifier and is not limited to the "0" given here as an example. Then, after receiving the notification signal carrying the identifier, the control unit can determine that no one is in the vehicle based on the specific identifier.
[0178] Case 4: The target unit includes a camera. The camera can capture images of the vehicle interior and analyze whether the images contain human faces. If the camera image contains a human face, the notification signal can be generated. This generated notification signal is then transmitted to the control unit. Exemplarily, the generated notification signal can indicate that the captured image contains a human face. Upon receiving this notification signal, the control unit can determine that a person is inside the vehicle based on the presence of a human face in the captured image. Alternatively, the generated notification signal can be generated by the camera based on the presence of a human face in the captured image according to a preset signal generation rule. For example, the preset signal generation rule can include marking a field in the generated signal with an identifier such as "1" to indicate that a person is inside the vehicle. Of course, this identifier can be any identifier, not limited to the "1" shown here. Upon receiving this notification signal carrying the identifier, the control unit can determine that a person is inside the vehicle based on this specific identifier.
[0179] In the case that the camera image does not include a human face, a notification signal can be generated. And the generated notification signal is sent to the above-mentioned control unit. Exemplarily, the generated notification signal can be a signal indicating that the captured image does not include a human face, then after receiving the notification signal, the control unit can determine that there is no one in the vehicle based on the signal that the captured image does not include a human face. Or, exemplarily, the generated notification signal can be a signal indicating that there is no one in the vehicle generated by the camera based on the situation that the captured image does not include a human face according to a preset signal generation rule. For example, the preset signal generation rule can be, for example, marking a certain field in the generated signal with an identifier such as "0" to indicate that there is someone in the vehicle. Of course, the identifier can be any identifier, not limited to the "0" given here as an example. Then, after receiving the notification signal carrying the identifier, the control unit can determine that there is someone in the vehicle based on the specific identifier.
[0180] In a possible implementation, the camera may include an image capturing component and an image processing component.
[0181] Case 5. The above-mentioned target unit includes a vehicle-mounted T-BOX. Specifically, the vehicle-mounted T-BOX can receive a signal from a remote control unit. If the signal indicates that there is someone in the vehicle or indicates to activate the basic services of the vehicle, the vehicle-mounted T-BOX generates the above-mentioned notification signal. And the generated notification signal is sent to the above-mentioned control unit. Exemplarily, the generated notification signal can be a signal indicating that there is someone in the vehicle generated by the vehicle-mounted T-BOX according to a preset signal generation rule based on the situation that indicates that there is someone in the vehicle or indicates to activate the basic services of the vehicle. For example, the preset signal generation rule can be, for example, marking a certain field in the generated signal with an identifier such as "1" to indicate that there is someone in the vehicle. Of course, the identifier can be any identifier, not limited to the "1" given as an example here. Then, after the control unit receives the notification signal carrying the identifier, it can determine that there is someone in the vehicle based on the specific identifier.
[0182] In a possible implementation, when the situation in which the notification signal indicates that there is someone in the vehicle includes the multiple situations described above, the control unit may combine the notification signals of the multiple situations to determine whether there is someone in the vehicle.
[0183] For example, if the control unit determines that no one is in the vehicle based on a signal received from the vehicle lock controller, and determines that someone is in the vehicle based on a signal received from at least one of the vehicle key controller, seat controller, camera, or vehicle T-BOX, then the control unit can perform a comprehensive analysis and determine that someone is in the vehicle. For example, this may be caused by a user sitting in the vehicle and locking the vehicle locks.
[0184] For another example, if the control unit determines that someone is inside the vehicle based on a signal received from the vehicle lock controller, and determines that no one is inside the vehicle based on a signal received from at least one of the vehicle key controller, seat controller, camera, or vehicle T-BOX, then the control unit can perform a comprehensive analysis and determine that no one is inside the vehicle. For example, this situation may be caused by the user unlocking the vehicle but not entering the vehicle.
[0185] For another example, if the control unit determines that no one is in the vehicle based on a signal received from the vehicle key controller, and determines that someone is in the vehicle based on a signal received from at least one of the vehicle key controller, seat controller, camera, or vehicle T-BOX, then the control unit can perform a comprehensive analysis and determine that someone is in the vehicle. For example, this situation may be caused by the user being in the vehicle but not placing the vehicle key on the dedicated key placement device.
[0186] In summary, the priority of the signal from the car key controller, seat controller, camera or vehicle T-BOX is higher than the signal from the vehicle lock controller. As long as it is determined that there is someone in the vehicle based on the signal received from at least one of the car key controller, seat controller, camera or vehicle T-BOX, it can be determined that there is someone in the vehicle.
[0187] In a possible implementation, when the target unit only includes a vehicle lock controller, the control unit may determine whether there is a person in the vehicle based solely on a signal received from the vehicle lock controller.
[0188] The above-mentioned comprehensive judgments are merely examples and do not constitute a limitation on the embodiments of this application. In a specific implementation, the control unit may receive one or more notification signals. In the event that multiple notification signals are received, the control unit may comprehensively analyze the multiple notification signals before determining whether there is a person in the vehicle. This application does not impose a limit on the specific number of notification signals received.
[0189] The following describes several implementations of the vehicle control method provided by the embodiments of the present application. The following uses OTA upgrade of vehicle software as an example. Wired flashing is also applicable to vehicle software upgrades, which will not be described in detail later.
[0190] Implementation method 1: By adding a signal line for communication between the above-mentioned control unit and the above-mentioned target unit, the signal line can transmit the above-mentioned notification signal from the target unit to the control unit during the above-mentioned OTA upgrade of the software in the vehicle. This is because during the OTA software upgrade process, the CAN communication in the vehicle is turned off, resulting in the inability to transmit signals through the CAN bus. Therefore, the signal between the control unit and the target unit can be transmitted through another signal line. Exemplarily, one end of the signal line is connected to the above-mentioned control unit, and the other end of the signal line is connected to the above-mentioned target unit. Exemplarily, the above-mentioned signal line can be a hard line.
[0191] For ease of understanding, please refer to Figure 4A, Figure 4B and Figure 4C for example. In Figure 4A, Figure 4B and Figure 4C, an "×" in a small square indicates that the CAN communication function is disabled.
[0192] In Figure 4A, the VDC in the control unit is taken as an example. At least one of the target units, such as the vehicle lock controller and the seat controller, can be connected to the VDC via a signal line. Then, in the process of the above-mentioned OTA upgrade of the software in the vehicle, the vehicle lock controller and / or the seat controller can send a notification signal to the VDC via the signal line to indicate whether there is someone in the vehicle. It should be noted that target units such as cameras or car key controllers can also be connected to the VDC via signal lines, and notification signals have been transmitted, which will not be repeated here. In a specific implementation, one or more of the above-mentioned target units such as the vehicle lock controller, seat controller, camera or car key controller can be connected to the VDC via a signal line, and this application does not limit the number of target units connected by specific signal lines.
[0193] In Figure 4B, the CDC in the control unit is taken as an example. At least one of the target units, such as the vehicle lock controller and the seat controller, can be connected to the CDC via a signal line. Then, in the process of the above-mentioned OTA upgrade of the software in the vehicle, the vehicle lock controller and / or the seat controller can send a notification signal to the CDC via the signal line to indicate whether there is someone in the vehicle. It should be noted that target units such as cameras or car key controllers can also be connected to the CDC via signal lines, and notification signals have been transmitted, which will not be repeated here. In a specific implementation, one or more of the above-mentioned target units such as the vehicle lock controller, seat controller, camera or car key controller can be connected to the CDC via a signal line, and this application does not limit the number of target units connected by specific signal lines.
[0194] In Figure 4C, the gateway (or VIU) in the control unit is taken as an example. At least one of the target units, such as the car lock controller and the seat controller, can be connected to the gateway (or VIU) via a signal line. Then, in the process of the above-mentioned OTA upgrade of the software in the vehicle, the car lock controller and / or the seat controller can send a notification signal to the gateway (or VIU) via the signal line to indicate whether there is someone in the vehicle. It should be noted that target units such as cameras or car key controllers can also be connected to the gateway (or VIU) via signal lines, and notification signals have been transmitted, which are not described here. In a specific implementation, one or more of the above-mentioned target units such as the car lock controller, seat controller, camera or car key controller can be connected to the gateway (or VIU) via a signal line, and this application does not limit the number of target units connected by specific signal lines.
[0195] In one possible implementation, the target unit can be connected to one or more of the VDC, CDC or gateway (or VIU) via a signal line, and this application does not limit this. For ease of understanding, please refer to Figure 4D. Figure 4D exemplarily shows a schematic diagram in which a target unit (such as a car lock controller and / or a seat controller) can be connected to one or more of the VDC, CDC or gateway (or VIU) via a signal line. The solid arrows in Figure 4D indicate that the car lock controller and the seat controller are connected to the VDC via a signal line. The dotted arrows in Figure 4D indicate that in another possible implementation, the car lock controller and the seat controller and the VDC can also be connected to another control unit (i.e., CDC and / or gateway (or VIU)) via a signal line.
[0196] In a specific implementation, after the control unit determines that the vehicle is occupied based on the received notification signal, it may send a notification message to the basic service unit in the vehicle to instruct the basic service unit to provide basic services. The specific implementation of the control unit determining that the vehicle is occupied based on the received notification signal can be referred to the corresponding description in S302 above and is not repeated here.
[0197] In one possible implementation, the control unit includes a VDC. As described above, the VDC can provide services for basic service units such as air conditioning. Then, after determining that there is someone in the vehicle, the VDC sends a notification message to the basic service unit, such as the air conditioning. After receiving the notification message, the basic service unit, such as the air conditioning, activates a specific basic service based on the notification message, such as turning on the air conditioning. In one possible implementation, the VDC can send a notification message to the basic service unit, such as the air conditioning, via the UDS protocol. That is, the notification message can be a UDS protocol message.
[0198] For example, when the VDC determines that there is someone in the vehicle, the notification message sent to the basic service unit such as the air conditioner may include information indicating that there is someone in the vehicle. Then, the basic service unit such as the air conditioner activates the corresponding basic service based on the information indicating that there is someone in the vehicle. Alternatively, the notification message may include information instructing the basic service unit such as the air conditioner to activate a service. Then, the basic service unit such as the air conditioner activates the corresponding service based on the activation instruction information. The notification message instructing the basic service unit to provide a basic service described later is similar and will not be repeated here.
[0199] If the VDC determines that the vehicle is unoccupied based on the received notification signal, it can also send a notification message to basic service units, such as the air conditioner. This notification message instructs the basic service unit to shut down basic services. Upon receiving the notification message, the basic service unit, such as the air conditioner, shuts down specific basic services based on the notification message, such as the air conditioner. In one possible implementation, the notification message can be a UDS protocol message.
[0200] Similarly, for example, when the VDC determines that there is no one in the vehicle, the notification message sent to the basic service unit such as the air conditioner may include information indicating that there is no one in the vehicle. Then, the basic service unit such as the air conditioner shuts down the corresponding basic service based on the information indicating that there is no one in the vehicle. Alternatively, the notification message may include information instructing the basic service unit such as the air conditioner to shut down the service, and then the basic service unit such as the air conditioner shuts down the corresponding service based on the shutdown instruction information. The notification message instructing the basic service unit to shut down the basic service described later is similar and will not be repeated here.
[0201] In one possible implementation, for the case where the control unit includes a CDC. According to the previous description, the CDC can provide services for the basic service units in the cockpit domain. The basic service units in the cockpit domain include, for example, head-up display, instrument display, radio, navigation or camera and other basic service units. Then, after determining that there is someone in the vehicle, the CDC sends a notification message to the basic service unit in the cockpit domain. After receiving the notification message, the basic service unit in the cockpit domain starts a specific basic service according to the notification message, such as turning on the head-up display, instrument display, radio, navigation or camera. In a possible implementation, the CDC can send a notification message to the basic service unit in the cockpit domain through the UDS protocol. That is, the notification message can be a UDS protocol message.
[0202] For example, when the CDC determines that a person is present in the vehicle, the notification message sent to the basic service unit in the cockpit domain may include information indicating that a person is present in the vehicle. The basic service unit in the cockpit domain then activates the corresponding basic service based on the information indicating that a person is present in the vehicle. Alternatively, the notification message may include information instructing the basic service unit in the cockpit domain to activate a service. In this case, the basic service unit in the cockpit domain activates the corresponding service based on the service activation instruction.
[0203] If the CDC determines that the vehicle is unoccupied based on the received notification signal, it may also send a notification message to the basic service unit in the cockpit domain. This notification message instructs the basic service unit to shut down basic services. Upon receiving the notification message, the basic service unit in the cockpit domain shuts down specific basic services based on the notification message, such as the heads-up display, instrument display, radio, navigation, or camera. In one possible implementation, the notification message may be a UDS protocol message.
[0204] Similarly, for example, when the CDC determines that the vehicle is unoccupied, the notification message sent to the basic service unit in the cockpit domain may include information indicating that the vehicle is unoccupied. The basic service unit in the cockpit domain then shuts down the corresponding basic service based on the information indicating that the vehicle is unoccupied. Alternatively, the notification message may include information instructing the basic service unit in the cockpit domain to shut down the service. In this case, the basic service unit in the cockpit domain shuts down the corresponding service based on the shutdown instruction.
[0205] In a possible implementation, the CDC sends a notification message to a basic service unit in the cockpit domain, which may be a notification message sent to one or more basic service units in the cockpit domain. This application does not limit the specific basic service unit to which the CDC sends the notification message.
[0206] In one possible implementation, the control unit includes a gateway (or VIU). After determining that there is someone in the vehicle, the gateway (or VIU) may first send a notification message to the VDC and / or CDC indicating that there is someone in the vehicle. Then, the VDC and / or CDC sends a notification message to the basic service unit in its respective domain indicating the provision of basic services. According to the description related to Figure 1 above, there is an Ethernet bus connection between the gateway (or VIU) and the VDC, and between the gateway (or VIU) and the CDC. Since the CAN communication is turned off during the OTA upgrade process, the gateway (or VIU) can send a notification message to the VDC and / or CDC via the Ethernet bus. Exemplarily, the notification message sent by the gateway (or VIU) to the VDC and / or CDC is a message based on the scalable service-oriented middleware over IP (SOME / IP) protocol.
[0207] After receiving the notification message from the gateway (or VIU), the VDC and / or CDC sends the notification message instructing the basic service unit in its respective domain to provide the basic service. For the specific implementation, please refer to the above description and will not be repeated here.
[0208] For example, when the gateway (or VIU) determines that a person is in a vehicle, the notification message sent to the VDC and / or CDC may include information indicating that there is a person in the vehicle. Then, based on the information indicating that there is a person in the vehicle, the VDC and / or CDC sends a notification message instructing the basic service units in their respective domains to provide basic services. Alternatively, the notification message may include information instructing the basic service units in the VDC and / or CDC domain to start a service. Then, based on the information indicating that there is a person in the vehicle, the VDC and / or CDC sends a notification message instructing the basic service units in their respective domains to provide basic services.
[0209] If the gateway (or VIU) determines that the vehicle is unoccupied based on the received notification signal, it may first send a notification message to the VDC and / or CDC indicating that the vehicle is unoccupied. The VDC and / or CDC then sends a notification message to the basic service units within their respective domains, instructing them to shut down basic services. Similarly, illustratively, the notification message sent by the gateway (or VIU) to the VDC and / or CDC is a SOME / IP protocol message.
[0210] Similarly, illustratively, when the gateway (or VIU) determines that no one is in the vehicle, the notification message sent to the VDC and / or CDC may include information indicating that no one is in the vehicle. Then, based on the information indicating that no one is in the vehicle, the VDC and / or CDC sends a notification message instructing the basic service units in their respective domains to shut down the basic service. Alternatively, the notification message may include information instructing the basic service units in the VDC and / or CDC domain to shut down the service. Then, based on the instruction information for shutting down the service, the VDC and / or CDC sends a notification message instructing the basic service units in their respective domains to shut down the basic service.
[0211] In one possible implementation, when a central controller is included in the automobile intelligent system, the VDC, CDC, or gateway (or VIU), after determining that there is someone in the vehicle, may first send a notification message to the central controller indicating that there is someone in the vehicle. Then, the central controller sends a notification message to each basic service unit instructing the provision of basic services. Similarly, illustratively, the notification message sent by the VDC, CDC, or gateway (or VIU) to the central controller is a message of the SOME / IP protocol. In addition, illustratively, the notification message sent by the central controller to the basic service unit may be a UDS protocol message, etc.
[0212] For example, when the VDC, CDC, or gateway (or VIU) determines that there is someone in the vehicle, the notification message sent to the central controller may include information indicating that there is someone in the vehicle. Then, based on the information indicating that there is someone in the vehicle, the central controller sends a notification message instructing the basic service units in their respective domains to provide basic services. Alternatively, the notification message may include information instructing the basic service units in the central controller's domain to start a service. Then, based on the instruction information for starting the service, the central controller sends a notification message instructing the basic service units in the domain to provide basic services.
[0213] If the VDC, CDC, or gateway (or VIU) determines that the vehicle is unoccupied based on the received notification signal, it may first send a notification message to the central controller indicating that the vehicle is unoccupied. The central controller then sends a notification message to each basic service unit instructing the shutdown of basic services. Similarly, illustratively, the notification message sent by the VDC, CDC, or gateway (or VIU) to the central controller is a message using the SOME / IP protocol. In addition, illustratively, the notification message sent by the central controller to the basic service unit may be a UDS protocol message, etc.
[0214] Similarly, for example, when the gateway (or VIU) determines that there is no one in the vehicle, the notification message sent to the central controller may include information indicating that there is no one in the vehicle. Then, the central controller sends a notification message instructing the basic service unit in the domain to shut down the basic service based on the information indicating that there is no one in the vehicle. Alternatively, the notification message may include information instructing the basic service unit in the domain of the central controller to shut down the service. Then, the central controller sends a notification message instructing the basic service unit in the domain to shut down the basic service based on the instruction information for shutting down the service.
[0215] In order to facilitate understanding of the above-mentioned process of controlling the basic service unit to provide basic services through the central controller, you can refer to Figure 4E for example. As can be seen in Figure 4E, the VDC, CDC or gateway (or VIU) can determine whether there is someone in the vehicle based on the notification signal from the target unit, and generate a corresponding notification message based on the judgment result. The notification message can indicate whether there is someone in the vehicle. Then, the VDC, CDC or gateway (or VIU) can send the notification message to the central controller through the SOME / IP protocol. The central controller then sends a notification message to the basic service unit through the UDS protocol to indicate whether there is someone in the vehicle. Then, the basic service unit can determine whether there is someone in the vehicle based on the notification message, and start the service when there is someone in the vehicle. Optionally, the basic service unit can also shut down or suppress the startup of the service when it is informed that there is no one in the vehicle based on the notification message.
[0216] In another possible implementation, as can be seen in FIG. 4E above, the central controller can also send a notification message to the VDC, CDC, or gateway (or VIU) via the UDS protocol to indicate whether there is someone in the vehicle, thereby instructing the basic service units within the control domain of the VDC, CDC, or gateway (or VIU) to provide basic services. The VDC, CDC, or gateway (or VIU) can determine whether there is someone in the vehicle based on the notification message received from the central controller, and when there is someone in the vehicle, the basic service units within the control domain provide basic services. Optionally, when there is no one in the vehicle, the basic service units within the control domain shut down or inhibit the startup of services.
[0217] In the above implementation, the notification signal from the target unit to the control unit is transmitted by adding a signal line between the control unit and the target unit. This allows the transmission of the notification signal during the above OTA upgrade of the vehicle's software without relying on CAN communication. This implementation method can still transmit the target unit's notification signal to the control unit even if the vehicle's CAN communication function is turned off during the OTA upgrade, which does not affect the flashing of data during the OTA upgrade. This allows basic services to be provided during the OTA upgrade process, thereby improving the user experience.
[0218] Implementation Method 2: Before upgrading the vehicle's software via OTA, the control unit and the target unit receive a communication control message instructing the closure of CAN communication. CAN communication between the target unit and the control unit may be retained according to a preset configuration. In one possible implementation, except for the CAN communication between the target unit and the control unit, which is retained according to the preset configuration, CAN communication between other vehicle components and the control unit remains disabled.
[0219] In one possible embodiment, the preset configuration indicates that the target unit is only allowed to send a target notification signal to the control unit via the CAN network (i.e., via the CAN bus). The preset configuration indicates that the control unit is only allowed to receive a target notification signal via the CAN network (i.e., via the CAN bus). The target notification signal is a notification signal from the target unit indicating whether a person is inside the vehicle.
[0220] To facilitate understanding of the second implementation, reference may be made to FIG. 5A , FIG. 5B , and FIG. 5C for example.
[0221] In Figure 5A, the VDC in the control unit is taken as an example. Before upgrading the software in the vehicle via OTA, the above-mentioned OTA module sends a communication control message to the VDC and the target unit indicating that CAN communication is to be turned off. In Figure 5A, one or more of the vehicle lock controller and the seat controller are the target units. Since the VDC and the target unit are configured in advance, they are allowed to maintain CAN communication during the OTA upgrade process. In addition, the gateway (or VIU) is also configured in advance to allow it to forward CAN messages between the VDC and the target unit during the OTA upgrade process. Therefore, even if the VDC and the target unit receive a communication control message indicating that CAN communication is to be turned off, CAN communication can still be maintained between the VDC and the target unit during the OTA upgrade process.
[0222] It should be noted that the target units mentioned above may also include, for example, cameras or car key controllers, which are not described in detail here. In a specific implementation, one or more of the target units such as the car lock controller, seat controller, camera, or car key controller may maintain CAN communication with the VDC during the OTA upgrade process, and this application does not impose specific restrictions on this.
[0223] In one possible implementation, as shown in FIG5A , the pre-configured configuration of the VDC, target unit, and gateway (or VIU) can allow only these two to maintain the transmission and reception of the target notification signal during the OTA upgrade process. Signals other than the target notification signal cannot be transmitted to the VDC via the CAN network during the OTA upgrade process. In other words, only the CAN notification signal indicating whether there is a person in the vehicle is allowed to be processed during the OTA upgrade process, while processing of other CAN signals is stopped. This reduces the impact on UDS messages during the OTA upgrade process while still being able to sense whether there is a person in the vehicle to provide corresponding basic services.
[0224] Exemplarily, the above configuration of the VDC, target unit and gateway (or VIU) can be to configure the network segment or logical address of the component that allows CAN communication in the VDC, target unit and gateway (or VIU). For example, the network segment or logical address of the target unit that allows CAN communication can be configured in the VDC. The network segment or logical address of the VDC that allows CAN communication can be configured in the target unit. The network segment or logical address of the VDC and the target unit that allow CAN communication can be configured in the gateway (or VIU). Then, during the OTA upgrade process, the target unit can send the above-mentioned target notification signal to the VDC through the CAN network based on the configured network segment or logical address of the VDC. The gateway (or VIU) can forward the target notification signal from the target unit to the VDC based on the configured network segment or logical address of the VDC and the target unit. The VDC receives the target notification signal based on the configured network segment or logical address of the target unit.
[0225] In Figure 5B, the CDC in the control unit is taken as an example. Before upgrading the software in the vehicle via OTA, the above-mentioned OTA module sends a communication control message to the CDC and the target unit indicating that CAN communication is turned off. In Figure 5B, one or more of the car lock controller and the seat controller are the target units. Since the CDC and the target unit are configured in advance, they are allowed to maintain CAN communication during the OTA upgrade process. In addition, the gateway (or VIU) is also configured in advance to allow it to forward CAN messages between the CDC and the target unit during the OTA upgrade process. Therefore, even if the CDC and the target unit receive a communication control message indicating that CAN communication is turned off, CAN communication can still be maintained between the CDC and the target unit during the OTA upgrade process.
[0226] It should be noted that the above-mentioned target units may also include, for example, cameras or car key controllers, which are not described in detail here. In a specific implementation, one or more of the above-mentioned target units such as the car lock controller, seat controller, camera or car key controller can maintain CAN communication with the CDC during the OTA upgrade process, and this application does not impose specific restrictions on this.
[0227] In one possible implementation, in FIG5B , the pre-configured configuration of the CDC, target unit, and gateway (or VIU) can be such that only these two are allowed to continue sending and receiving the target notification signal during the OTA upgrade process. Signals other than the target notification signal cannot be transmitted to the CDC via the CAN network during the OTA upgrade process. That is, during the OTA upgrade process, only the CAN notification signal indicating whether there is someone in the vehicle is allowed to be processed, and other CAN signals are stopped from being processed. This can reduce the impact on UDS messages during the OTA upgrade process while still being able to sense whether there is someone in the vehicle to provide corresponding basic services.
[0228] Exemplarily, the above configuration of the CDC, target unit and gateway (or VIU) can be to configure the network segment or logical address of the component that allows CAN communication in the CDC, target unit and gateway (or VIU). For example, the network segment or logical address of the target unit that allows CAN communication can be configured in the CDC. The network segment or logical address of the CDC that allows CAN communication can be configured in the target unit. The network segment or logical address of the CDC and the target unit that allow CAN communication can be configured in the gateway (or VIU). Then, during the OTA upgrade process, the target unit can send the above-mentioned target notification signal to the CDC through the CAN network according to the configured network segment or logical address of the CDC. The gateway (or VIU) can forward the target notification signal from the target unit to the CDC according to the configured network segment or logical address of the CDC and the target unit. The CDC receives the target notification signal according to the configured network segment or logical address of the target unit.
[0229] In Figure 5C, the gateway (or VIU) in the control unit is taken as an example. Before upgrading the software in the vehicle via OTA, the above-mentioned OTA module sends a communication control message to the gateway (or VIU) and the target unit to instruct to turn off CAN communication. In Figure 5C, one or more of the car lock controller and the seat controller are the target units. Since the gateway (or VIU) and the target unit are configured in advance, they are allowed to maintain CAN communication during the OTA upgrade process. Therefore, even if the gateway (or VIU) and the target unit receive a communication control message instructing to turn off CAN communication, CAN communication can still be maintained between the gateway (or VIU) and the target unit during the OTA upgrade process.
[0230] It should be noted that the above-mentioned target units may also include, for example, cameras or car key controllers, which are not described here. In a specific implementation, one or more of the above-mentioned target units such as the car lock controller, seat controller, camera or car key controller may maintain CAN communication with the gateway (or VIU) during the OTA upgrade process, and this application does not impose specific restrictions on this.
[0231] In one possible implementation, in FIG5C , the configuration of the gateway (or VIU) and the target unit in advance may be to allow only the two to maintain the sending and receiving of the target notification signal during the OTA upgrade process. Signals other than the target notification signal cannot be transmitted to the gateway (or VIU) via the CAN network during the OTA upgrade process. That is, during the OTA upgrade process, only the CAN notification signal indicating whether there is someone in the vehicle is allowed to be processed, and other CAN signals are stopped from being processed. This can reduce the impact on the UDS message during the OTA upgrade process, while being able to sense whether there is someone in the vehicle to provide corresponding basic services.
[0232] Exemplarily, the above configuration of the target unit and the gateway (or VIU) may be to configure the network segment or logical address of the component that allows CAN communication in the target unit and the gateway (or VIU). For example, the network segment or logical address of the gateway (or VIU) that allows CAN communication may be configured in the target unit. The network segment or logical address of the target unit that allows CAN communication may be configured in the gateway (or VIU). Then, during the OTA upgrade process, the target unit may send the above target notification signal to the gateway (or VIU) through the CAN network according to the configured network segment or logical address of the gateway (or VIU). The gateway (or VIU) may receive the target notification signal from the target unit according to the configured network segment or logical address of the target unit.
[0233] In one possible implementation, before upgrading the software in the vehicle via OTA, the OTA module may send a communication control message to one or more of the VDC, CDC, or gateway (or VIU) in the control unit, instructing to shut down CAN communication. This application does not impose any specific restrictions on this.
[0234] In a possible implementation, before upgrading the software in the vehicle via OTA, the OTA module may partially shut down the CAN communication function in the vehicle according to a preset configuration.
[0235] In a specific implementation, the vehicle's OTA controller broadcasts a communication control message to the vehicle according to a preset configuration. The communication control message is used to instruct to shut down all CAN communication functions in the vehicle except the target CAN communication function. The target CAN communication function includes a first CAN communication function for transmitting a target notification signal between the control unit and the target unit. The target unit is a vehicle component used to sense whether there is someone in the vehicle. The target notification signal is a notification signal from the target unit indicating whether there is someone in the vehicle. The first CAN communication function is used to send the target notification signal to the control unit during the process of upgrading the software in the vehicle via OTA.
[0236] In addition, the target CAN communication function also includes a second CAN communication function for transmitting a target notification message between the control unit and the basic service unit. The target notification message is generated by the control unit based on the target notification signal. When the target notification signal indicates that there is someone in the vehicle, the target notification message is used to instruct the basic service unit to provide basic services. The second CAN communication function is used to send the target notification message to the basic service unit during the process of upgrading the software in the vehicle via OTA.
[0237] The above-mentioned preset configuration can be a network segment or logical address of a component that is required to shut down the CAN communication function during the OTA upgrade process, configured in the OTA module. Alternatively, the above-mentioned preset configuration can be a network segment or logical address of a component that is required to retain the CAN communication function during the OTA upgrade process, configured in the OTA module. The network segment or logical address that retains the CAN communication function can be used to transmit the above-mentioned target notification signal and target notification message. Then, the OTA module broadcasts a communication control message to the component that requires the corresponding CAN communication function to be shut down during the OTA upgrade process according to the configured network segment or logical address. So that during the OTA upgrade process, the components in the vehicle shut down their corresponding CAN communication function according to the received communication control message. Thereby, the influence of the CAN signal on the UDS signal is reduced during the OTA upgrade process.
[0238] In a specific implementation, after the control unit determines that the vehicle is occupied based on the target notification signal received via the CAN network, it may send a notification message to the basic service unit in the vehicle to instruct the basic service unit to provide basic services. The specific implementation of the control unit determining that the vehicle is occupied based on the received notification signal can be referred to the corresponding description of S302 above and is not repeated here.
[0239] In a possible implementation, the control unit may send a notification message to the basic service unit via the UDS protocol, and the notification message may be a UDS protocol message.
[0240] In another possible implementation, the basic service unit can also be preset. The preset configuration indicates that the CAN communication function of the basic service unit is retained during the OTA upgrade of the software in the vehicle. So that during the OTA upgrade of the software in the vehicle, the basic service unit can receive CAN notification messages from the control unit. Then, before upgrading the software in the vehicle via OTA, even if the above-mentioned OTA module sends a communication control message indicating the closure of CAN communication to the basic service unit, since the basic service unit has been configured in advance, it is allowed to maintain CAN communication during the OTA upgrade. Therefore, even if the basic service unit receives a communication control message indicating the closure of CAN communication, the basic service unit can still maintain the CAN communication function during the OTA upgrade.
[0241] Optionally, in a possible implementation, the above-mentioned preset configuration of the basic service unit may be to only allow the basic service unit to receive target notification messages from the control unit. The target notification message is a notification message sent by the control unit to indicate whether there is someone in the vehicle. Alternatively, the notification message is a notification message sent by the control unit to instruct the basic service unit to start or shut down. For messages other than the target notification message, they cannot be transmitted to the basic service unit through the CAN network during the OTA upgrade process. That is, during the OTA upgrade process, the basic service unit is only allowed to process the target notification message transmitted through the CAN network, and other CAN messages stop processing, thereby reducing the impact on the UDS message during the OTA upgrade process, and being able to sense whether there is someone in the vehicle to provide corresponding basic services. Based on this, the above-mentioned control unit can send a notification message to the basic service unit through the CAN network, that is, the notification message can be a CAN message.
[0242] For ease of understanding, the following describes the situation by way of example.
[0243] In one possible implementation, the control unit includes a VDC. As described above, the VDC can provide services to basic service units such as air conditioning. After determining that a person is present in the vehicle based on the target notification signal received via the CAN network, the VDC sends a notification message to the basic service unit, such as the air conditioning unit. Upon receiving the notification message, the basic service unit, such as the air conditioning unit, activates a specific basic service based on the notification message, such as turning on the air conditioning.
[0244] For example, the VDC sends a notification message to a basic service unit such as an air conditioner, which may be a notification message indicating that someone is in the vehicle. Alternatively, the notification message may be a notification message instructing the basic service unit to start a service.
[0245] In a possible implementation, the VDC may send a notification message to a basic service unit such as an air conditioner via the UDS protocol. That is, the notification message may be a UDS protocol message.
[0246] In another possible implementation, as described above, during an OTA vehicle software upgrade, the basic service unit can receive and process CAN messages from the control unit according to a preset configuration. Therefore, the VDC can send notification messages to basic service units such as the air conditioner via the CAN network. In other words, the notification message can be a CAN message.
[0247] If the above-mentioned VDC determines that there is no one in the vehicle based on the received notification signal, then a notification message may also be sent to basic service units such as air conditioning. The notification message instructs the basic service unit to shut down the basic service. After receiving the notification message, the basic service unit such as air conditioning shuts down specific basic services according to the notification message, such as turning off the air conditioning. In one possible implementation, the notification message may be a UDS protocol message. In another possible implementation, the notification message may be a CAN message. Exemplarily, the notification message sent by the VDC to basic service units such as air conditioning may be a notification message indicating whether there is no one in the vehicle. Alternatively, the notification message may be a notification message instructing the basic service unit to shut down.
[0248] In one possible implementation, for the case where the control unit includes a CDC. According to the previous description, the CDC can provide services for the basic service units in the cockpit domain. The basic service units in the cockpit domain include, for example, head-up display, instrument display, radio, navigation or camera and other basic service units. Then, after the CDC determines that there is someone in the vehicle based on the target notification signal received through the CAN network, it sends a notification message to the basic service unit in the cockpit domain. After receiving the notification message, the basic service unit in the cockpit domain starts a specific basic service according to the notification message, such as turning on the head-up display, instrument display, radio, navigation or camera, etc.
[0249] For example, the CDC sends a notification message to the basic service unit in the cockpit domain, which may be a notification message indicating that someone is in the vehicle, or a notification message instructing the basic service unit to start a service.
[0250] In a possible implementation, the CDC may send a notification message to the basic service unit in the cockpit domain via the UDS protocol. That is, the notification message may be a UDS protocol message.
[0251] In another possible implementation, as described above, during an OTA vehicle software upgrade, the basic service unit can receive and process CAN messages from the control unit according to a preset configuration. Therefore, the CDC can send notification messages to the basic service unit within the cockpit domain via the CAN network. This notification message can be a CAN message.
[0252] If the CDC determines that there is no one in the vehicle based on the received notification signal, then a notification message may also be sent to the basic service unit in the cockpit domain. The notification message instructs the basic service unit to shut down the basic service. After receiving the notification message, the basic service unit in the cockpit domain shuts down specific basic services according to the notification message, such as turning off the head-up display, instrument display, radio, navigation or camera, etc. In one possible implementation, the notification message may be a UDS protocol message. In another possible implementation, the notification message may be a CAN message. Exemplarily, the notification message sent by the CDC to the basic service unit in the cockpit domain may be a notification message indicating that there is no one in the vehicle. Alternatively, the notification message may be a notification message instructing the basic service unit to shut down the service.
[0253] In a possible implementation, the CDC sends a notification message to a basic service unit in the cockpit domain, which may be a notification message sent to one or more basic service units in the cockpit domain. This application does not limit the specific basic service unit to which the CDC sends the notification message.
[0254] In one possible implementation, for the case where the control unit includes a gateway (or VIU). After the gateway (or VIU) determines that there is someone in the vehicle based on the target notification signal received through the CAN network, it can first send a notification message to the VDC and / or CDC indicating that there is someone in the vehicle. Then, the VDC and / or CDC sends a notification message indicating the provision of basic services to the basic service units in their respective domains (exemplarily, the notification message can be a UDS protocol message or a CAN message). Similarly, the gateway (or VIU) can send a notification message to the VDC and / or CDC via the Ethernet bus. Exemplarily, the notification message sent by the gateway (or VIU) to the VDC and / or CDC is a message based on the scalable service-oriented middleware over IP (SOME / IP) protocol.
[0255] After receiving the notification message from the gateway (or VIU), the VDC and / or CDC sends the notification message instructing the basic service unit in its respective domain to provide the basic service. For the specific implementation, please refer to the above description and will not be repeated here.
[0256] Exemplarily, the gateway (or VIU) sends a notification message to the VDC and / or CDC, which may be a notification message indicating that someone is in the vehicle. Alternatively, the notification message may be a notification message instructing the basic service unit to start a service.
[0257] If the above-mentioned gateway (or VIU) determines that there is no one in the vehicle based on the received notification signal, then it can also first send a notification message to the VDC and / or CDC indicating that there is no one in the vehicle (exemplarily, the notification message can be a UDS protocol message or a CAN message). Then, the VDC and / or CDC sends a notification message to the basic service unit in its respective domain to instruct the basic service to be shut down. Similarly, exemplarily, the notification message sent by the gateway (or VIU) to the VDC and / or CDC is a message of the SOME / IP protocol. Exemplarily, the notification message sent by the gateway (or VIU) to the VDC and / or CDC can be a notification message indicating that there is no one in the vehicle. Alternatively, the notification message can be a notification message instructing the basic service unit to shut down the service.
[0258] In one possible implementation, when the automotive intelligent system includes a central controller, upon determining that the vehicle is occupied, the gateway (or VIU) may first send a notification message to the central controller indicating that the vehicle is occupied. The central controller then sends a notification message to each basic service unit instructing them to provide basic services (illustratively, the notification message may be a UDS protocol message or a CAN message). Similarly, illustratively, the notification message sent by the gateway (or VIU) to the central controller is a SOME / IP protocol message.
[0259] To facilitate understanding of the above-mentioned process of controlling the basic service unit to provide basic services through the central controller, please refer to Figure 6 for an example. As can be seen in Figure 6, the VDC, CDC, or gateway (or VIU) can determine whether there is someone in the vehicle based on the notification signal from the target unit and generate a corresponding notification message based on the judgment result. The notification message can indicate whether there is someone in the vehicle. The VDC, CDC, or gateway (or VIU) can then send the notification message to the central controller via the SOME / IP protocol. The central controller then sends a notification message to the basic service unit via the CAN protocol to indicate whether there is someone in the vehicle. Specifically, the central controller can first send the notification message to the gateway (or VIU) via the CAN protocol, and the gateway (or VIU) further routes the notification message and sends it to the basic service unit via the CAN protocol. The basic service unit can then determine whether there is someone in the vehicle based on the notification message and start the service if there is someone in the vehicle. Optionally, the basic service unit can also shut down or suppress the start of the service when it learns that there is no one in the vehicle based on the notification message.
[0260] In another possible implementation, as can be seen in FIG6 above, the central controller can also send a notification message to the VDC, CDC, or gateway (or VIU) via the CAN protocol to indicate whether there is someone in the vehicle, so as to instruct the basic service units within the control domain of the VDC, CDC, or gateway (or VIU) to provide basic services. The VDC, CDC, or gateway (or VIU) can determine whether there is someone in the vehicle based on the notification message received from the central controller, and when there is someone in the vehicle, the basic service units within the control domain provide basic services. Optionally, when there is no one in the vehicle, the basic service units within the control domain shut down or inhibit starting services.
[0261] If the gateway (or VIU) determines that the vehicle is unoccupied based on the received notification signal, it may first send a notification message to the central controller indicating that the vehicle is unoccupied. The central controller then sends a notification message to each basic service unit instructing it to shut down basic services (illustratively, the notification message may be a UDS protocol message or a CAN message). Similarly, illustratively, the notification message sent by the gateway (or VIU) to the central controller is a SOME / IP protocol message.
[0262] In the above implementation, during the OTA upgrade of the vehicle's software, the specified CAN communication function is retained through pre-configuration, so that the notification signal of the target unit can be notified to the control unit, so that basic services can be provided during the OTA upgrade process. In addition, during the vehicle software upgrade process, only the CAN communication function necessary to provide basic services can be retained, and the CAN communication functions of other signals or vehicle components are still closed. This can minimize the impact on data flashing during the vehicle software upgrade process. That is, in this application, basic services can be provided during the vehicle software upgrade process while minimizing the impact on the vehicle software upgrade service, thereby improving the user experience.
[0263] The above mainly introduces the vehicle control method provided by the embodiment of the present application. It is understandable that, in order to realize the corresponding functions mentioned above, each device or equipment includes a hardware structure and / or software module corresponding to the execution of each function. In combination with the units and steps of each example described in the embodiments disclosed herein, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0264] The embodiment of the present application can divide the functional modules of the device according to the above method example. For example, each functional module can be divided according to each function, or two or more functions can be integrated into one module. The above integrated modules can be implemented in the form of hardware or in the form of software functional modules. It should be noted that the division of modules in the embodiment of the present application is schematic and is only a logical function division. In actual implementation, there may be other division methods.
[0265] FIG7 shows a possible logical structure diagram of a control device 700 in a vehicle, where each functional module is divided into corresponding functional modules. The control device 700 may be the above-mentioned control unit. The control device 700 includes a receiving module 701 and a control module 702.
[0266] The receiving module 701 is used to receive a signal from a target unit during the vehicle software upgrade process; the target unit is used to sense whether there is someone in the vehicle; the receiving module 701 can be used to execute the steps in S301 shown in FIG. 3 .
[0267] The control module 702 is configured to control the basic service unit in the vehicle to provide basic services when it is determined based on the signal that there is a person in the vehicle. The control module 702 can be configured to execute the steps in S302 shown in FIG3 .
[0268] In a possible implementation, the control device 700 is connected to the target unit via a signal line;
[0269] The signal line is used to transmit the signal from the target unit to the control device 700 during the vehicle software upgrade process.
[0270] In a possible implementation, the receiving module 701 is further configured to receive a communication control message; the communication control message is configured to instruct the control device 700 to disable a controller area network (CAN) communication function;
[0271] The control device 700 further includes a reservation module for retaining the CAN communication function between the control device 700 and the target unit according to a first preset configuration after receiving the communication control message;
[0272] The aforementioned receiving module 701 is specifically used for:
[0273] The signal from the target unit is received via the controller area network, where the signal is a CAN signal.
[0274] In a possible implementation, the first preset configuration indicates that only the control device 700 is allowed to receive a target signal from the target unit via the controller area network, where the target signal is used to determine whether there is a person in the vehicle.
[0275] In a possible implementation manner, the aforementioned reservation module is further configured to: after receiving the aforementioned communication control message, retain the CAN communication function with the aforementioned basic service unit according to a second preset configuration;
[0276] The control device 700 further includes a sending module. The control module 702 is specifically configured to:
[0277] The sending module is controlled to send a message to the basic service unit through the controller area network, where the message is used to instruct the basic service unit to provide basic services, and the message is a CAN message.
[0278] In a possible implementation, the control device 700 further includes a sending module, and the control module 702 is specifically configured to:
[0279] The sending module is controlled to send a message to the basic service unit through the unified diagnostic service UDS protocol, where the message is used to instruct the basic service unit to provide basic services.
[0280] In a possible implementation, the aforementioned control device 700 includes one or more of a vehicle controller VDC, a cockpit domain controller CDC, a vehicle integration unit VIU or a gateway.
[0281] In a possible implementation manner, the aforementioned target unit is one or more of a vehicle lock controller, a vehicle key controller, a seat controller, a camera, or a vehicle-mounted T-BOX of the aforementioned vehicle.
[0282] In one possible embodiment, the target unit includes a vehicle key controller, and the signal from the target unit includes a signal from the vehicle key controller indicating whether the key of the vehicle is placed in the vehicle; wherein, the signal indicating that the key of the vehicle is placed in the vehicle indicates that there is someone in the vehicle, and the signal indicating that the key of the vehicle is not placed in the vehicle indicates that there is no one in the vehicle.
[0283] In one possible embodiment, the aforementioned target unit includes a seat controller, and the aforementioned signal from the target unit includes a signal from the aforementioned seat controller indicating whether there is someone sitting in the seat of the aforementioned vehicle; wherein, the signal indicating that there is someone sitting in the seat of the aforementioned vehicle indicates that there is someone in the aforementioned vehicle, and the signal indicating that there is no one sitting in the seat of the aforementioned vehicle indicates that there is no one in the aforementioned vehicle.
[0284] In a possible implementation, the target unit includes a vehicle-mounted T-BOX, and the signal from the target unit includes a signal from the vehicle-mounted T-BOX indicating whether there is a person in the vehicle.
[0285] In one possible embodiment, the aforementioned target unit also includes a vehicle lock controller; the aforementioned signal from the target unit also includes a signal from the aforementioned vehicle lock controller indicating that the vehicle lock of the aforementioned vehicle is in an unlocked or locked state; wherein, the signal indicating that the vehicle lock of the aforementioned vehicle is in an unlocked state indicates that there is someone in the aforementioned vehicle, and the signal indicating that the vehicle lock of the aforementioned vehicle is in a locked state indicates that there is no one in the aforementioned vehicle.
[0286] In one possible implementation, the signal from the aforementioned vehicle key controller, seat controller, camera, or vehicle T-BOX has a higher priority than the signal from the aforementioned vehicle lock controller;
[0287] The control device 700 further includes a judgment unit, which is configured to judge whether there is a person in the vehicle based on the signal:
[0288] When it is determined that there is no one in the vehicle based on the signal from the vehicle lock controller and that there is someone in the vehicle based on the signal from the vehicle key controller, seat controller, camera or vehicle-mounted T-BOX, it is determined that there is someone in the vehicle.
[0289] The specific operations and beneficial effects of each unit in the control device 700 shown in FIG7 can be found in the corresponding descriptions in FIG3 and its possible embodiments, and will not be repeated here.
[0290] In the case of dividing each functional module into corresponding functional modules, FIG8 shows a possible logical structure diagram of a vehicle device 800, which can be the target unit mentioned above. The vehicle device 800 includes a sending module 801.
[0291] The sending module 801 is used to send a signal to the control unit of the aforementioned vehicle when it senses that there is someone in the aforementioned vehicle during the process of upgrading the aforementioned vehicle software; the aforementioned signal is used to instruct the aforementioned control unit to control the basic service unit in the aforementioned vehicle to provide basic services.
[0292] In one possible implementation, the aforementioned vehicle device is connected to the aforementioned control unit via a signal line;
[0293] The signal line is used to transmit the signal from the vehicle device to the control unit during the vehicle software upgrade process.
[0294] In a possible implementation manner, the aforementioned vehicle device further includes:
[0295] A receiving module, configured to receive a communication control message, wherein the communication control message is used to instruct the vehicle device to disable a controller area network (CAN) communication function;
[0296] A reservation module, configured to retain the CAN communication function with the control unit according to a preset configuration after receiving the communication control message;
[0297] The sending module 801 is specifically used for:
[0298] The signal is sent to the control unit via the controller area network, and the signal is a CAN signal.
[0299] In a possible implementation, the preset configuration indicates that only the vehicle device is allowed to send a target signal to the control unit via the controller area network, where the target signal is used to determine whether there is a person in the vehicle.
[0300] In a possible implementation, the aforementioned control unit includes one or more of a vehicle controller VDC, a cockpit domain controller CDC, a vehicle integration unit VIU or a gateway.
[0301] In a possible implementation, the aforementioned vehicle device is one or more of a vehicle lock controller, a vehicle key controller, a seat controller, a camera, or a vehicle-mounted T-BOX of the aforementioned vehicle.
[0302] The specific operations and beneficial effects of each unit in the vehicle device 800 shown in FIG8 can be found in the corresponding descriptions in FIG3 and its possible embodiments, and will not be repeated here.
[0303] In the case of dividing each functional module into corresponding functional modules, FIG9 shows a possible logical structure diagram of a control device 900 in a vehicle, which can be the above-mentioned OTA controller. The control device 900 includes a broadcast module 901. Among them:
[0304] A broadcast module 901 is configured to broadcast a communication control message to the vehicle according to a preset configuration; the communication control message is configured to instruct the vehicle to disable all CAN communication functions except a target CAN communication function; the target CAN communication function includes a first CAN communication function for transmitting a target signal between a control unit of the vehicle and a target unit; the target unit is configured to sense whether a person is in the vehicle; and the target signal is a signal from the target unit for determining whether a person is in the vehicle.
[0305] The first CAN communication function is used to send the target signal to the control unit during the vehicle software upgrade.
[0306] In one possible implementation, the target CAN communication function further includes a second CAN communication function for transmitting a target message between the control unit and the basic service unit; the target message is used to instruct the basic service unit to provide a basic service;
[0307] The aforementioned second CAN communication function is used to send the aforementioned target message to the aforementioned basic service unit during the aforementioned vehicle software upgrade process.
[0308] The specific operations and beneficial effects of each unit in the control device 900 shown in FIG9 can be referred to the corresponding descriptions in the above possible embodiments, which will not be repeated here.
[0309] Figure 10 shows a schematic diagram of a possible hardware structure of a vehicle control device provided by this application. This control device can be the control unit in the method described in the above embodiment. The control device 1000 includes: a processor 1001, a memory 1002, and a communication interface 1003. The processor 1001, the communication interface 1003, and the memory 1002 can be interconnected or connected via a bus 1004.
[0310] Exemplarily, the memory 1002 is used to store computer programs and data of the control device 1000. The memory 1002 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or portable read-only memory (CD-ROM), etc.
[0311] The software or program codes required for the functions of all or part of the control units in the above method embodiment are stored in the memory 1002 .
[0312] In one possible implementation, if the software or program code required for the functions of some units is stored in the memory 1002, the processor 1001, in addition to calling the program code in the memory 1002 to implement some functions, can also cooperate with other components (such as the communication interface 1003) to jointly complete other functions described in the method embodiment (such as the function of receiving or sending data).
[0313] There may be multiple communication interfaces 1003 for supporting the control device 1000 to communicate, such as receiving or sending data or signals.
[0314] Exemplarily, processor 1001 may be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic device (PLD), a transistor logic device (TLD), a hardware component, or any combination thereof. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on. Processor 1001 may be configured to read programs stored in memory 1002 and execute the operations performed by the control unit in the method described in FIG. 3 and its possible embodiments.
[0315] In a specific implementation, the processor 1001 may be configured to read the program stored in the memory 1002, so that the control device 1000 performs the following operations:
[0316] During the vehicle software upgrade process, the control unit of the aforementioned vehicle receives a signal from a target unit; the aforementioned target unit is used to sense whether there is someone in the aforementioned vehicle; when it is determined that there is someone in the aforementioned vehicle based on the aforementioned signal, the aforementioned control unit controls the basic service unit in the aforementioned vehicle to provide basic services.
[0317] The specific operations and beneficial effects of each unit in the control device 1000 shown in FIG10 can be found in the corresponding description in the above method embodiment, which will not be repeated here.
[0318] Figure 11 shows a schematic diagram of a possible hardware structure of a vehicle device provided herein, which may be the target unit in the methods described in the above embodiments. Vehicle device 1100 includes a processor 1101, a memory 1102, and a communication interface 1103. Processor 1101, communication interface 1103, and memory 1102 may be interconnected or connected via a bus 1104.
[0319] Exemplarily, the memory 1102 is used to store computer programs and data of the vehicle device 1100. The memory 1102 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), or portable compact disc read-only memory (CD-ROM).
[0320] The software or program codes required for the functions of all or part of the target units in the above method embodiments are stored in the memory 1102 .
[0321] In one possible implementation, if the software or program code required for the functions of some units is stored in the memory 1102, the processor 1101, in addition to calling the program code in the memory 1102 to implement some functions, can also cooperate with other components (such as the communication interface 1103) to jointly complete other functions described in the method embodiment (such as the function of receiving or sending data).
[0322] There may be multiple communication interfaces 1103 for supporting the vehicle device 1100 to communicate, such as receiving or sending data or signals.
[0323] Exemplarily, processor 1101 may be a central processing unit (CPU), a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic device (PLD), a transistor logic device (TLD), a hardware component, or any combination thereof. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on. Processor 1101 may be configured to read programs stored in memory 1102 and execute the operations performed by the target unit in the method described in FIG. 3 and its possible embodiments.
[0324] In a specific embodiment, the processor 1101 can be used to read the program stored in the above-mentioned memory 1102, so that the vehicle device 1100 performs the following operations: during the vehicle software upgrade process, when the target unit senses that there is someone in the aforementioned vehicle, it sends a signal to the control unit of the aforementioned vehicle; the aforementioned signal is used to instruct the aforementioned control unit to control the basic service unit in the aforementioned vehicle to provide basic services.
[0325] The specific operations and beneficial effects of each unit in the vehicle device 1100 shown in FIG11 can be found in the corresponding descriptions in the above method embodiments, which will not be repeated here.
[0326] Figure 12 shows a possible hardware structure diagram of a vehicle control device provided by this application. This control device can be the OTA controller in the method described in the above embodiment. The control device 1200 includes: a processor 1201, a memory 1202, and a communication interface 1203. The processor 1201, the communication interface 1203, and the memory 1202 can be interconnected or connected to each other via a bus 1204.
[0327] Exemplarily, the memory 1202 is used to store computer programs and data of the control device 1200. The memory 1202 may include, but is not limited to, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM) or portable read-only memory (CD-ROM), etc.
[0328] The software or program codes required for the functions of all or part of the units of the OTA controller in the above method embodiment are stored in the memory 1202 .
[0329] In one possible implementation, if the software or program code required for the functions of some units is stored in the memory 1202, the processor 1201, in addition to calling the program code in the memory 1202 to implement some functions, can also cooperate with other components (such as the communication interface 1203) to jointly complete other functions described in the method embodiment (such as the function of receiving or sending data).
[0330] There may be multiple communication interfaces 1203 , which are used to support the control device 1200 to communicate, such as receiving or sending data or signals.
[0331] Exemplarily, processor 1201 may be a central processing unit, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic device, a transistor logic device, a hardware component, or any combination thereof. A processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a digital signal processor and a microprocessor, and so on. Processor 1201 may be configured to read programs stored in memory 1202 and execute the operations performed by the OTA controller in the method described in FIG. 3 and its possible embodiments.
[0332] In a specific implementation, the processor 1201 may be configured to read the program stored in the memory 1202, so that the control device 1200 performs the following operations:
[0333] The vehicle's OTA controller broadcasts a communication control message to the aforementioned vehicle according to a preset configuration; the aforementioned communication control message is used to instruct the shutdown of all CAN communication functions in the aforementioned vehicle except the target CAN communication function; the aforementioned target CAN communication function includes a first CAN communication function for transmitting a target signal between the control unit of the aforementioned vehicle and the aforementioned target unit, the aforementioned target unit is used to sense whether there is someone in the aforementioned vehicle, and the aforementioned target signal is a signal from the aforementioned target unit for judging whether there is someone in the aforementioned vehicle; the aforementioned first CAN communication function is used to send the aforementioned target signal to the aforementioned control unit during the process of upgrading the software of the aforementioned vehicle.
[0334] The specific operations and beneficial effects of each unit in the control device 1200 shown in FIG12 can be referred to the corresponding description in the above method embodiment, which will not be repeated here.
[0335] An embodiment of the present application further provides a vehicle, which includes at least one of the control device 1000 shown in FIG. 10 , the vehicle device 1100 shown in FIG. 11 , or the control device 1200 shown in FIG. 12 .
[0336] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, which is executed by a processor to implement the operations performed by the control unit of any one of the above-mentioned embodiments and possible embodiments thereof.
[0337] An embodiment of the present application further provides a computer-readable storage medium storing a computer program, which is executed by a processor to implement the operations performed by the target unit of any one of the above-mentioned embodiments and possible embodiments thereof.
[0338] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. The computer program is executed by a processor to implement the operations performed by the OTA controller of any one of the above-mentioned embodiments and possible embodiments thereof.
[0339] The embodiment of the present application further provides a computer program software. When the computer program software is read and executed by a computer, the operations performed by the control unit of any one of the above-mentioned embodiments and possible embodiments thereof will be executed.
[0340] The embodiment of the present application further provides a computer program software. When the computer program software is read and executed by a computer, the operations performed by the target units of any one of the above-mentioned embodiments and possible embodiments thereof will be executed.
[0341] The embodiments of the present application also provide a computer program software. When the computer program software is read and executed by a computer, the operations performed by the OTA controller in any of the above-mentioned embodiments and possible embodiments thereof will be executed.
[0342] In summary, this solution can still receive signals from the target unit during the vehicle software upgrade process. This allows the basic service unit in the vehicle to provide basic services to the user if the received signal indicates that someone is inside the vehicle. Compared to existing solutions that disable vehicle services during the upgrade process, this solution can meet users' basic service needs during the vehicle software upgrade process, improving the user experience.
[0343] In this application, the terms "first," "second," and the like are used to distinguish between identical or similar items having substantially the same function or effect. It should be understood that "first," "second," and "nth" do not have a logical or temporal dependency, nor do they limit the quantity or order of execution. It should also be understood that although the following description uses the terms "first," "second," and the like to describe various elements, these elements should not be limited by these terms. These terms are simply used to distinguish one element from another.
[0344] It should also be understood that in the various embodiments of the present application, the size of the serial number of each process does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0345] It will also be understood that the term “comprise” (also known as “includes,” “including,” “comprises,” and / or “comprising”) when used in this specification specifies the presence of stated features, integers, steps, operations, elements, and / or components, but does not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and / or groups thereof.
[0346] It should also be understood that references throughout this specification to "one embodiment," "an embodiment," or "one possible implementation" mean that specific features, structures, or characteristics associated with that embodiment or implementation are included in at least one embodiment of the present application. Therefore, the appearance of "in one embodiment," "in an embodiment," or "one possible implementation" throughout this specification does not necessarily refer to the same embodiment. Furthermore, these specific features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0347] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A vehicle control method, characterized in that: The method comprises: During a vehicle software upgrade, the vehicle control unit receives a signal from a target unit; the target unit is used to sense whether there is someone in the vehicle; When it is determined according to the signal that there is a person in the vehicle, the control unit controls the basic service unit in the vehicle to provide basic services.
2. The method according to claim 1, characterized in that The control unit is connected to the target unit via a signal line; The signal line is used to transmit the signal from the target unit to the control unit during the vehicle software upgrade process.
3. The method according to claim 1, characterized in that The method further comprises: The control unit receives a communication control message; the communication control message is used to instruct the control unit to turn off the controller area network (CAN) communication function; After receiving the communication control message, the control unit retains the CAN communication function between the control unit and the target unit according to a first preset configuration; The control unit of the vehicle receives a signal from the target unit, including: The control unit receives the signal from the target unit through the controller area network, where the signal is a CAN signal.
4. The method according to claim 3, characterized in that The first preset configuration indicates that the control unit is only allowed to receive a target signal from the target unit via the controller area network, where the target signal is used to determine whether there is a person in the vehicle.
5. The method according to claim 3 or 4, characterized in that The method further comprises: After receiving the communication control message, the control unit retains the CAN communication function with the basic service unit according to the second preset configuration; The control unit controls the basic service unit in the vehicle to provide basic services, including: The control unit sends a message to the basic service unit through the controller area network, where the message is used to instruct the basic service unit to provide basic services, and the message is a CAN message.
6. The method according to any one of claims 1 to 4, characterized in that The control unit controls the basic service unit in the vehicle to provide basic services, including: The control unit sends a message to the basic service unit through a unified diagnostic service UDS protocol, where the message is used to instruct the basic service unit to provide a basic service.
7. The method according to any one of claims 1 to 6, characterized in that The control unit includes one or more of a vehicle controller VDC, a cockpit domain controller CDC, a vehicle integration unit VIU or a gateway.
8. The method according to any one of claims 1 to 7, characterized in that The target unit is one or more of a vehicle lock controller, a vehicle key controller, a seat controller, a camera, or a vehicle-mounted T-BOX of the vehicle.
9. The method according to claim 8, characterized in that The target unit includes a vehicle key controller, and the signal from the target unit includes a signal from the vehicle key controller indicating whether the vehicle key is placed in the vehicle; wherein, the signal indicating that the vehicle key is placed in the vehicle indicates that there is someone in the vehicle, and the signal indicating that the vehicle key is not placed in the vehicle indicates that there is no one in the vehicle.
10. The method according to claim 8 or 9, characterized in that The target unit includes a seat controller, and the signal from the target unit includes a signal from the seat controller indicating whether there is someone sitting in the seat of the vehicle; wherein, the signal indicating that there is someone sitting in the seat of the vehicle indicates that there is someone in the vehicle, and the signal indicating that there is no person sitting in the seat of the vehicle indicates that there is no one in the vehicle.
11. The method according to any one of claims 8 to 10, characterized in that: The target unit includes a vehicle-mounted T-BOX, and the signal from the target unit includes a signal from the vehicle-mounted T-BOX indicating whether there is a person in the vehicle.
12. The method according to any one of claims 9 to 11, characterized in that: The target unit also includes a vehicle lock controller; the signal from the target unit also includes a signal from the vehicle lock controller indicating that the vehicle lock is in an unlocked or locked state; wherein, the signal indicating that the vehicle lock is in an unlocked state indicates that there is someone in the vehicle, and the signal indicating that the vehicle lock is in a locked state indicates that there is no one in the vehicle.
13. The method according to claim 12, characterized in that The signal from the vehicle key controller, seat controller, camera or vehicle T-BOX has a higher priority than the signal from the vehicle lock controller; The determining, based on the signal, that there is a person in the vehicle includes: When it is determined that there is no one in the vehicle based on the signal from the vehicle lock controller and that there is someone in the vehicle based on the signal from the vehicle key controller, the seat controller, the camera or the vehicle-mounted T-BOX, the control unit determines that there is someone in the vehicle.
14. The method according to any one of claims 1 to 13, characterized in that The basic service unit includes one or more of the air conditioner, audio system, vehicle screen, horn, wiper, headlight or instrument in the vehicle.
15. A vehicle control method, characterized in that: The method comprises: During the vehicle software upgrade process, when the target unit senses that there is someone in the vehicle, it sends a signal to the control unit of the vehicle; the signal is used to instruct the control unit to control the basic service unit in the vehicle to provide basic services.
16. The method according to claim 15, characterized in that The target unit is connected to the control unit via a signal line; The signal line is used to transmit the signal from the target unit to the control unit during the vehicle software upgrade process.
17. The method according to claim 15 or 16, characterized in that The method further comprises: The target unit receives a communication control message; the communication control message is used to instruct the target unit to turn off a controller area network (CAN) communication function; After receiving the communication control message, the target unit retains the CAN communication function with the control unit according to the preset configuration; The target unit sends a signal to the control unit of the vehicle, comprising: The target unit sends the signal to the control unit through the controller area network, and the signal is a CAN signal.
18. The method according to claim 17, characterized in that The preset configuration indicates that only the target unit is allowed to send a target signal to the control unit via the controller area network, where the target signal is used to determine whether there is a person in the vehicle.
19. The method according to any one of claims 15 to 18, characterized in that: The control unit includes one or more of a vehicle controller VDC, a cockpit domain controller CDC, a vehicle integration unit VIU or a gateway.
20. The method according to any one of claims 15 to 19, characterized in that: The target unit is one or more of a vehicle lock controller, a vehicle key controller, a seat controller, a camera, or a vehicle-mounted T-BOX of the vehicle.
21. A vehicle control method, characterized in that: The method comprises: The vehicle's OTA controller broadcasts a communication control message to the vehicle according to a preset configuration; the communication control message is used to instruct the deactivation of all CAN communication functions in the vehicle except for a target CAN communication function; the target CAN communication function includes a first CAN communication function for transmitting a target signal between a control unit of the vehicle and a target unit, the target unit being used to sense whether there is a person in the vehicle, and the target signal is a signal from the target unit used to determine whether there is a person in the vehicle; The first CAN communication function is used to send the target signal to the control unit during the vehicle software upgrade.
22. The method according to claim 21, characterized in that The target CAN communication function also includes a second CAN communication function for transmitting a target message between the control unit and the basic service unit; the target message is used to instruct the basic service unit to provide a basic service; The second CAN communication function is used to send the target message to the basic service unit during the vehicle software upgrade process.
23. A vehicle control device, characterized in that: The control device is located in a vehicle, and includes: A receiving module, configured to receive a signal from a target unit during the vehicle software upgrade process; the target unit is configured to sense whether there is someone in the vehicle; The control module is used to control the basic service unit in the vehicle to provide basic services when it is determined that there is someone in the vehicle based on the signal.
24. The control device according to claim 23, characterized in that The control device is connected to the target unit via a signal line; The signal line is used to transmit the signal from the target unit to the control device during the vehicle software upgrade process.
25. The control device according to claim 23, characterized in that The receiving module is further configured to receive a communication control message; the communication control message is configured to instruct the control device to disable a controller area network (CAN) communication function; The control device further includes a reservation module for retaining the CAN communication function between the control device and the target unit according to a first preset configuration after receiving the communication control message; The receiving module is specifically used for: The signal from the target unit is received through the controller area network, where the signal is a CAN signal.
26. The control device according to claim 25, characterized in that The first preset configuration indicates that the control device is only allowed to receive a target signal from the target unit via the controller area network, where the target signal is used to determine whether there is a person in the vehicle.
27. The control device according to claim 25 or 26, characterized in that The reservation module is further configured to: after receiving the communication control message, retain the CAN communication function with the basic service unit according to a second preset configuration; The control device further includes a sending module, and the control module is specifically configured to: The sending module is controlled to send a message to the basic service unit through the controller area network, where the message is used to instruct the basic service unit to provide basic services, and the message is a CAN message.
28. The control device according to any one of claims 23 to 26, characterized in that: The control device further includes a sending module, and the control module is specifically configured to: The sending module is controlled to send a message to the basic service unit through a unified diagnostic service UDS protocol, where the message is used to instruct the basic service unit to provide a basic service.
29. The control device according to any one of claims 23 to 28, characterized in that: The control device includes one or more of a vehicle controller VDC, a cockpit domain controller CDC, a vehicle integration unit VIU or a gateway.
30. The control device according to any one of claims 23 to 29, characterized in that: The target unit is one or more of a vehicle lock controller, a vehicle key controller, a seat controller, a camera, or a vehicle-mounted T-BOX of the vehicle.
31. The control device according to claim 30, characterized in that The target unit includes a vehicle key controller, and the signal from the target unit includes a signal from the vehicle key controller indicating whether the vehicle key is placed in the vehicle; wherein, the signal indicating that the vehicle key is placed in the vehicle indicates that there is someone in the vehicle, and the signal indicating that the vehicle key is not placed in the vehicle indicates that there is no one in the vehicle.
32. The control device according to claim 30 or 31, characterized in that: The target unit includes a seat controller, and the signal from the target unit includes a signal from the seat controller indicating whether there is someone sitting in the seat of the vehicle; wherein, the signal indicating that there is someone sitting in the seat of the vehicle indicates that there is someone in the vehicle, and the signal indicating that there is no person sitting in the seat of the vehicle indicates that there is no one in the vehicle.
33. The control device according to any one of claims 30 to 32, characterized in that: The target unit includes a vehicle-mounted T-BOX, and the signal from the target unit includes a signal from the vehicle-mounted T-BOX indicating whether there is a person in the vehicle.
34. The control device according to any one of claims 30 to 33, characterized in that: The target unit also includes a vehicle lock controller; the signal from the target unit also includes a signal from the vehicle lock controller indicating that the vehicle lock is in an unlocked or locked state; wherein, the signal indicating that the vehicle lock is in an unlocked state indicates that there is someone in the vehicle, and the signal indicating that the vehicle lock is in a locked state indicates that there is no one in the vehicle.
35. The control device according to claim 34, characterized in that The signal from the vehicle key controller, seat controller, camera or vehicle T-BOX has a higher priority than the signal from the vehicle lock controller; The control device further includes a judgment unit, and the judgment unit is configured to judge, based on the signal, that there is someone in the vehicle: When it is determined that there is no one in the vehicle based on the signal from the vehicle lock controller and that there is someone in the vehicle based on the signal from the vehicle key controller, the seat controller, the camera or the vehicle-mounted T-BOX, it is determined that there is someone in the vehicle.
36. A vehicle device, characterized in that: The vehicle device comprises: A sending module is used to send a signal to the control unit of the vehicle when it senses that there is someone in the vehicle during the vehicle software upgrade process; the signal is used to instruct the control unit to control the basic service unit in the vehicle to provide basic services.
37. The vehicle device according to claim 36, characterized in that The vehicle device is connected to the control unit via a signal line; The signal line is used to transmit the signal from the vehicle device to the control unit during the vehicle software upgrade process.
38. The vehicle device according to claim 36 or 37, characterized in that The vehicle device further includes: A receiving module, configured to receive a communication control message; the communication control message is configured to instruct the vehicle device to disable a controller area network (CAN) communication function; A reservation module, configured to retain the CAN communication function with the control unit according to a preset configuration after receiving the communication control message; The sending module is specifically used for: The signal is sent to the control unit via the controller area network, and the signal is a CAN signal.
39. The vehicle device according to claim 38, characterized in that The preset configuration indicates that only the vehicle device is allowed to send a target signal to the control unit via the controller area network, where the target signal is used to determine whether there is a person in the vehicle.
40. The vehicle device according to any one of claims 36 to 39, characterized in that: The control unit includes one or more of a vehicle controller VDC, a cockpit domain controller CDC, a vehicle integration unit VIU or a gateway.
41. The vehicle device according to any one of claims 36 to 40, characterized in that: The vehicle device is one or more of a vehicle lock controller, a vehicle key controller, a seat controller, a camera, or a vehicle-mounted T-BOX of the vehicle.
42. A vehicle control device, characterized in that: The control device comprises: a broadcast module, configured to broadcast a communication control message to the vehicle according to a preset configuration; the communication control message is configured to instruct the deactivation of all CAN communication functions in the vehicle except a target CAN communication function; the target CAN communication function includes a first CAN communication function for transmitting a target signal between a control unit of the vehicle and a target unit, the target unit being configured to sense whether there is a person in the vehicle, and the target signal being a signal from the target unit for determining whether there is a person in the vehicle; The first CAN communication function is used to send the target signal to the control unit during the vehicle software upgrade.
43. The control unit according to claim 42, characterized in that The target CAN communication function also includes a second CAN communication function for transmitting a target message between the control unit and the basic service unit; the target message is used to instruct the basic service unit to provide a basic service; The second CAN communication function is used to send the target message to the basic service unit during the vehicle software upgrade process.
44. A vehicle, characterized in that The vehicle includes a control device and a vehicle device, the control device is the control device described in any one of claims 23-35, and the vehicle device is the vehicle device described in any one of claims 36-41.
45. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 1 to 14; Alternatively, the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method according to any one of claims 15 to 20; Alternatively, the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the method of claim 21 or 22.
