A control method and device
Patent Information
- Application Number
- CN202110784352.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-07-12
- Publication Date
- 2026-09-01
- Estimated Expiration
- 2041-07-12
AI Technical Summary
[0003]而车辆的功能日益丰富,导致车辆的控制报文中的控制信号组合复杂,且部分功能更新频繁导致车辆的控制报文需要经常进行改动
[0061]上述第二方面至第七方面的有益效果,具体请参照上述第一方面中相应设计可以达到的技术效果,这里不再重复赘述。
Smart Images

Figure CN115610342B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle networking technology, and in particular to a control method and device. Background Technology
[0002] With the continuous development of the automotive industry and the deepening of electrification, intelligence, connectivity, and sharing in automobiles, vehicle functions are becoming increasingly complex. To realize the functions of intelligent vehicles, controllers and electronic control units (ECUs) are installed. The controller can send control messages to the ECU, which can then control the actuators in the vehicle to perform corresponding functions based on these messages. Currently, communication between the controller and the ECU is mainly achieved through communication protocols such as Controller Area Network (CAN), Controller Area Network Flexible Data Rate (CAN FD), or Local Interconnect Network (LIN). These protocols use fixed-length encoding formats, and the content of the transmitted messages is fixed, as is the number and order of control signals within the messages.
[0003] As vehicle functions become increasingly sophisticated, the combinations of control signals in vehicle control messages become more complex, and frequent updates to some functions necessitate constant modifications to these control messages. Taking seat control functions as an example, if the aforementioned fixed-length encoding format is used to design control messages, even when only some motors or functions of the seat need to be controlled, the control message still needs to contain control information for all motors or all functions. This results in significant information redundancy, leading to wasted transmission bandwidth and low transmission efficiency. Furthermore, once vehicle functions are updated, extensive modifications to the control signals in the control message are required. Therefore, the aforementioned fixed-length encoding format is unsuitable for designing vehicle control messages with complex functions or frequent function upgrade requirements.
[0004] Therefore, how to flexibly design vehicle control messages, reduce information redundancy in control messages, thereby reducing communication resource overhead and improving the transmission efficiency of vehicle control messages is an urgent problem to be solved. Summary of the Invention
[0005] This application provides a control method and apparatus for reducing information redundancy in vehicle control messages when controlling multiple functions or actuators of a vehicle.
[0006] In a first aspect, embodiments of this application provide a control method that can be applied to a controller in a vehicle, the vehicle including a controller and an electronic control unit. In this method, the controller can generate a message and send the message to the electronic control unit. The message contains multiple bits and control information, the multiple bits being used to indicate whether the electronic control unit controls multiple objects (e.g., actuators or functions) based on the control information, and the multiple bits corresponding one-to-one with the multiple objects.
[0007] In this embodiment, the controller can control multiple objects of the vehicle by setting multiple bits in the message to indicate whether the electronic control unit controls multiple objects based on control information, and associating these multiple bits with multiple objects one by one. This effectively reduces information redundancy in the vehicle's control message, thereby effectively reducing communication resource overhead and effectively improving the transmission efficiency of the vehicle's control message.
[0008] In one possible design, the aforementioned plurality of bits includes at least one valid bit, which is used to instruct the electronic control unit to control at least one first object among the plurality of objects based on control information, and the at least one valid bit corresponds one-to-one with at least one first object.
[0009] In this design, by designing at least one valid bit in the multiple bits of the vehicle's control message, the electronic control unit can be instructed to control at least one first object that the user wants to control according to the user's needs.
[0010] In one possible design, the multiple bits include at least one invalid bit, which is used to indicate that the electronic control unit does not control at least one second object among the multiple objects based on control information, and the at least one invalid bit corresponds one-to-one with at least one second object.
[0011] In this design, by designing at least one invalid bit in the vehicle's control message, the electronic control unit can be instructed not to control at least one second object corresponding to at least one invalid bit.
[0012] In one possible design, the above message also includes a synchronization bit, in which case the control information is a single control message, and the synchronization bit is used to instruct the electronic control unit to control multiple objects based on this single control message.
[0013] In one possible design, the message may also include information indicating multiple objects.
[0014] In this design, by setting the information indicating the object in the vehicle's control message, the encoding of the object identification field is reduced, thereby effectively reducing information redundancy in the message.
[0015] In one possible design, the controller can determine multiple objects and control information for controlling said multiple objects based on user input.
[0016] In this design, the controller can determine multiple objects and control information that need to be controlled based on user input, enabling the controller to generate corresponding control messages according to user requirements.
[0017] In one possible design, the controller includes at least one of the following: a body domain controller, a cockpit domain controller, an intelligent driving domain controller, and a vehicle control domain controller. Of course, the controller can also be a whole vehicle controller; this application does not impose specific limitations on the embodiments thereof.
[0018] In one possible design, the actuator includes at least one of the following: a door, a window, a light, a chassis actuator, an energy system component, and a sensor. It should be understood that the actuator in this embodiment may also include other vehicle components or on-board equipment; this embodiment does not impose specific limitations.
[0019] In one possible design, the functions include at least one of the following: on-board equipment control function, body component control function, charging control function, and sensor control function. The on-board equipment control function can be understood as the control function of on-board equipment (e.g., seat control function, car audio control function, etc.); the body component control function can be understood as the control function of body components (e.g., controlling door opening, controlling light activation, etc.); the charging control function can be understood as the control of relevant components of the vehicle's energy system (e.g., on-board charger (OBC), motor control unit (MCU) to achieve charging function); and the sensor control function can be understood as the control function of sensors (e.g., controlling cameras or LiDAR to collect environmental image information around the vehicle). It should be understood that the functions in the embodiments of this application may also include other vehicle functions, and the embodiments of this application do not specifically limit them.
[0020] Secondly, embodiments of this application also provide a control method that can be applied to an electronic control unit in a vehicle. The vehicle includes a controller and an electronic control unit. The method includes: the electronic control unit receiving a message; the message contains multiple bits and control information, wherein the multiple bits are used to indicate whether the electronic control unit controls multiple objects (e.g., actuators or functions) based on the control information, and the multiple bits correspond one-to-one with the multiple objects; thereby, the electronic control unit can control the multiple objects according to the message.
[0021] In one possible design, the plurality of bits includes at least one valid bit, which is used to instruct the electronic control unit to control at least one first object among the plurality of objects based on the control information, and the at least one valid bit corresponds one-to-one with the at least one first object; the electronic control unit controls the plurality of objects according to the message, including: the electronic control unit controls the at least one first object based on the control information.
[0022] In one possible design, the multiple bits include at least one invalid bit, which is used to indicate that the electronic control unit does not control at least one second object among the multiple objects based on control information, and the at least one invalid bit corresponds one-to-one with at least one second object.
[0023] In one possible design, the message further includes a synchronization bit, and the control information is a single control message. The synchronization bit is used to instruct the electronic control unit to control the plurality of objects based on the single control message. The electronic control unit controls the plurality of objects according to the message, including: the electronic control unit controls the plurality of objects based on the single control message.
[0024] In one possible design, the message may also include information indicating multiple objects.
[0025] In one possible design, the controller includes at least one of the following: a body domain controller, a cockpit domain controller, an intelligent driving domain controller, and a vehicle control domain controller. Of course, the controller can also be a whole vehicle controller; this application does not impose specific limitations on the embodiments thereof.
[0026] In one possible design, the actuator includes at least one of the following: a window, a light, a chassis actuator, an energy system component, and a sensor.
[0027] In one possible design, the functions include at least one of the following: on-board equipment control function, body component control function, charging control function, and sensor control function. The on-board equipment control function can be understood as the control function of on-board equipment (e.g., seat control function, car audio control function, etc.); the body component control function can be understood as the control function of body components (e.g., controlling door opening, controlling light activation, etc.); the charging control function can be understood as the control of relevant components of the vehicle's energy system (e.g., on-board charger (OBC), motor control unit (MCU) to achieve charging function); and the sensor control function can be understood as the control function of sensors (e.g., controlling cameras or LiDAR to collect environmental image information around the vehicle). It should be understood that the functions in the embodiments of this application may also include other vehicle functions, and the embodiments of this application do not specifically limit them.
[0028] Thirdly, embodiments of this application provide a control device.
[0029] As an example, the device includes:
[0030] The processing module is used to generate a message; the message contains multiple bits and control information. The multiple bits are used to indicate whether the electronic control unit in the vehicle controls multiple objects based on the control information. The multiple bits correspond one-to-one with the multiple objects, which are actuators or functions.
[0031] The transceiver module is used to send messages to the electronic control unit.
[0032] In one possible design, the plurality of bits includes at least one valid bit, which is used to instruct the electronic control unit to control at least one first object among the plurality of objects based on control information, and the at least one valid bit corresponds one-to-one with at least one first object.
[0033] In one possible design, the plurality of bits includes at least one invalid bit, which is used to indicate that the electronic control unit does not control at least one second object among the plurality of objects based on control information, and the at least one invalid bit corresponds one-to-one with at least one second object.
[0034] In one possible design, the above message also includes a synchronization bit, and the control information is a single control message. This synchronization bit is used to instruct the electronic control unit to control multiple objects based on a single control message.
[0035] In one possible design, the message may also include information indicating multiple objects.
[0036] In one possible design, the processing module is further configured to determine multiple objects and control information for controlling the multiple objects based on user input.
[0037] In one possible design, the actuator includes at least one of the following: a door, a window, a light, a chassis actuator, an energy system component, and a sensor. It should be understood that the actuator in this embodiment may also include other vehicle components or on-board equipment; this embodiment does not impose specific limitations.
[0038] In one possible design, the functions include at least one of the following: on-board equipment control function, body component control function, charging control function, and sensor control function. The on-board equipment control function can be understood as the control function of on-board equipment (e.g., seat control function, car audio control function, etc.); the body component control function can be understood as the control function of body components (e.g., controlling door opening, controlling light activation, etc.); the charging control function can be understood as the control of relevant components of the vehicle's energy system (e.g., on-board charger (OBC), motor control unit (MCU) to achieve charging function); and the sensor control function can be understood as the control function of sensors (e.g., controlling cameras or LiDAR to collect environmental image information around the vehicle). It should be understood that the actuator in this application embodiment may also include other vehicle functions, and this application embodiment does not specifically limit them.
[0039] In one possible design, the device can be a chip or an integrated circuit.
[0040] In one possible design, the device includes a memory and a processor, the memory for storing a program executed by the processor, and when the program is executed by the processor, the device can perform the method described in the first aspect or any possible design of the first aspect.
[0041] In one possible design, the device can be a controller in a vehicle. This controller may include at least one of the following: a body domain controller, a cockpit domain controller, an intelligent driving domain controller, and a vehicle control domain controller. Of course, the controller can also be a whole vehicle controller; this application does not impose specific limitations on the embodiments thereof.
[0042] Fourthly, embodiments of this application provide another control device.
[0043] As an example, the device includes:
[0044] The transceiver module is used to receive messages from the controller in the vehicle. The message contains multiple bits and control information. The multiple bits are used to indicate whether the electronic control unit in the vehicle controls multiple objects based on the control information. The multiple bits correspond one-to-one with the multiple objects, which are actuators or functions.
[0045] A processing module is used to control multiple objects according to a message. In one possible design, the multiple bits include at least one valid bit, which is used to instruct the electronic control unit to control at least one first object among the multiple objects based on the control information, and the at least one valid bit corresponds one-to-one with the at least one first object; wherein, when the processing module is used to control multiple objects according to a message, it is specifically used to: control the at least one first object based on the control information.
[0046] In one possible design, the multiple bits include at least one invalid bit, which is used to indicate that the electronic control unit does not control at least one second object among the multiple objects based on control information, and the at least one invalid bit corresponds one-to-one with at least one second object.
[0047] In one possible design, the message also includes a synchronization bit, and the control information is a single control message. The synchronization bit is used to instruct the electronic control unit to control the plurality of objects based on the single control message. When the processing module controls the plurality of objects according to the message, it is specifically used to control the plurality of objects based on the single control message.
[0048] In one possible design, the message may also include information indicating multiple objects.
[0049] In one possible design, the controller includes at least one of the following: body domain controller, cockpit domain controller, intelligent driving domain controller, and vehicle control domain controller.
[0050] In one possible design, the actuator includes at least one of the following: a window, a light, a chassis actuator, an energy system component, and a sensor.
[0051] In one possible design, the functions include at least one of the following: on-board equipment control function, body component control function, charging control function, and sensor control function. The on-board equipment control function can be understood as the control function of on-board equipment (e.g., seat control function, car audio control function, etc.); the body component control function can be understood as the control function of body components (e.g., controlling door opening, controlling light activation, etc.); the charging control function can be understood as the control of relevant components of the vehicle's energy system (e.g., on-board charger (OBC), motor control unit (MCU) to achieve charging function); and the sensor control function can be understood as the control function of sensors (e.g., controlling cameras or LiDAR to collect environmental image information around the vehicle).
[0052] In one possible design, the device can be a chip or an integrated circuit.
[0053] In one possible design, the device includes a memory and a processor, the memory for storing a program executed by the processor, and when the program is executed by the processor, the device can perform the method described in the second aspect or any possible design of the second aspect.
[0054] In one possible design, the device could be an electronic control unit in a vehicle.
[0055] Fifthly, embodiments of this application provide a control system. As an example, the system includes: the control device described in the third aspect and the control device described in the fourth aspect.
[0056] Sixthly, embodiments of this application provide a vehicle, the vehicle comprising:
[0057] A controller for performing the control method described in the first aspect or any possible design of the first aspect;
[0058] An electronic control unit for performing the control method described in the second aspect or any possible design of the second aspect.
[0059] It should be understood that the number of controllers and electronic control units can be one or more, and the embodiments of this application do not impose a specific limitation.
[0060] In a seventh aspect, embodiments of this application provide a computer-readable storage medium comprising a computer program that, when read and executed by one or more processors, implements the control method described in the first aspect or any possible design of the first aspect, or the second aspect or any possible design of the second aspect.
[0061] For details of the beneficial effects of aspects two through seven mentioned above, please refer to the technical effects that can be achieved by the corresponding designs in aspect one above, which will not be repeated here. Attached Figure Description
[0062] Figure 1 This is a schematic diagram of the architecture applicable to the embodiments of this application;
[0063] Figure 2 This is a schematic diagram illustrating the applicable scenarios for the embodiments of this application;
[0064] Figure 3 A flowchart illustrating a control method provided in an embodiment of this application;
[0065] Figure 4A One of the message diagrams provided in the embodiments of this application;
[0066] Figure 4B This is the second schematic diagram of a message provided in an embodiment of this application;
[0067] Figure 5A A specific message diagram provided for an embodiment of this application;
[0068] Figure 5B Another specific message diagram provided for an embodiment of this application;
[0069] Figure 6A The third schematic diagram of the message provided in the embodiments of this application;
[0070] Figure 6B Another specific message diagram provided for an embodiment of this application;
[0071] Figure 6C The fourth schematic diagram of the message provided for the embodiments of this application;
[0072] Figure 6D Another specific message diagram provided for an embodiment of this application;
[0073] Figure 6E Another specific message diagram provided for an embodiment of this application;
[0074] Figure 7 This is a schematic diagram of the structure of a control device provided in an embodiment of this application;
[0075] Figure 8 This is a schematic diagram of another control device provided in an embodiment of this application. Detailed Implementation
[0076] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the embodiments of this application will be further described below with reference to the accompanying drawings.
[0077] The following explanations of some terms used in the embodiments of this application are provided to facilitate understanding by those skilled in the art.
[0078] 1) The object can be understood as the actuators or functions associated with the vehicle. Actuators can include chassis actuators, windows, doors, lights, or sensors, etc.; functions can include on-board equipment control functions, body component control functions, charging control functions, or sensor control functions, etc. On-board equipment control functions can be understood as the control functions of on-board equipment (e.g., seat control functions, car audio control functions, etc.); body component control functions can be understood as the control functions of body components (e.g., controlling door opening, controlling light activation, etc.); charging control functions can be understood as the control of related components in the vehicle's energy system (e.g., on-board charger (OBC), motor control unit (MCU) to achieve charging); sensor control functions can be understood as the control functions of sensors (e.g., controlling cameras or LiDAR to collect environmental image information around the vehicle).
[0079] 2) Control information can be understood as the information in the vehicle's control message used to control the vehicle's objects, also known as control signals.
[0080] 3) In the embodiments of this application, "at least one" refers to one or more, and "at least two" refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and c can represent: a, b, c, a and b, a and c, b and c, or a, b, and c, where a, b, and c can be single or multiple.
[0081] 4) In this application's embodiments, the modifiers such as "first" and "second" are used to distinguish multiple modified contents, and are not used to limit the size, shape, content, order, timing, priority, quantity, or importance of the multiple modified contents. For example, "first information" and "second information" are only used to distinguish different information, and do not indicate different priorities or importance of the information. Furthermore, in this application's embodiments, the term "exemplary" is used to indicate that it is used as an example, illustration, or explanation. Any embodiment or design scheme described as "exemplary" in this application should not be construed as being better or more advantageous than other embodiments or design schemes. Specifically, the use of the term "exemplary" is intended to present the concept in a concrete manner.
[0082] This application provides a control method applicable to a controller in a vehicle. The controller generates a message and sends it to an electronic control unit (ECU). The message contains multiple bits and control information. These bits indicate whether the ECU controls multiple objects (actuators or functions) based on the control information. Each bit corresponds one-to-one with one of the objects, enabling the ECU to control multiple objects based on the control information. This effectively reduces information redundancy in the vehicle's control messages, thereby reducing communication resource overhead and improving the transmission efficiency of the control messages.
[0083] Before introducing the control method provided in the embodiments of this application, the system architecture applicable to the embodiments of this application will be described in detail first.
[0084] Figure 1 A schematic diagram of a traditional system architecture for implementing electronic control functions in automobiles is shown. Figure 1 The system 100 shown includes a Controller Area Network Calibration Protocol (CCP) 110, n domain controllers (DCs) 120, and m automotive components 130, where n and m are positive integers.
[0085] The CCP 110 communicates with n DCs, receiving data from the DCs or sending control information to them. The CCP 110 can be understood as a central platform for automotive electronic control and information processing. By optimizing and integrating the vehicle's distributed computing and control systems (e.g., ECUs or DCs), it achieves networked, integrated control and management of various functional modules related to vehicle computing, control, and communication, maximizing real-time sharing of automotive computing, control, and other hardware and software resources.
[0086] DC 120: Each DC 120 manages a specific functional domain within the vehicle, meaning that the DC has communication connections with multiple vehicle components located within that functional domain. The DC 120 is used to control the vehicle components within its corresponding functional domain, or to provide data processing capabilities for those components.
[0087] The aforementioned functional domains are typically divided based on the functions of automotive components. Each functional domain has an independent domain controller, or DC. Generally, the DC in a vehicle can include an autonomous driving domain controller, a cockpit domain controller (CDC), and a vehicle domain controller (VDC), among others.
[0088] The aforementioned autonomous driving domain controller provides services to automotive components in the intelligent driving domain, including monocular cameras, binocular cameras, millimeter-wave radar, lidar, and ultrasonic radar. It should be noted that the functionality of the aforementioned autonomous driving domain controller can be implemented by a mobile data center (MDC).
[0089] The aforementioned CDC is used to provide services for automotive components in the cockpit domain, which include head-up displays, instrument displays, radios, navigation systems, surround-view cameras, etc.
[0090] The aforementioned VDC is used to provide services for automotive components in both the body and chassis domains. Body domain components include window and door controllers, power mirrors, air conditioning, and central locking systems. Chassis domain components include components in the braking system, steering system, and accelerator pedal.
[0091] Automotive component 130 may specifically include ECU 131 and actuator 132. For example, it may be a sensor or actuator in the vehicle.
[0092] ECU 131, located inside automotive component 130, provides electronic control functions for automotive component 130. Examples include the electronic control unit inside a windshield wiper or an electronic control unit located inside a door.
[0093] In one possible implementation, DC120 can be used to generate a message and send it to ECU131 in automotive component 130. This message contains multiple bits and control information. The multiple bits can then be used to indicate whether ECU131 controls multiple objects (e.g., actuators or functions) based on the control information. Each bit corresponds one-to-one with one of the multiple objects, enabling the ECU associated with each object to control it based on the control information. This allows for the control of multiple objects within the vehicle while effectively reducing information redundancy in the vehicle's control messages and significantly improving the transmission efficiency of the vehicle's control messages.
[0094] It should be understood that the aforementioned "object" can be an actuator or a function. An actuator can be understood as a window, headlight, chassis actuator, energy system components, and sensor, etc. Energy system components can include an on-board charger (OBC), a motor control unit (MCU), etc.; sensors can include millimeter-wave radar, lidar, cameras, etc. A function can be understood as an on-board equipment control function, a body component control function, a charging control function, a sensor control function, etc. Specifically, an on-board equipment control function can be understood as the control function of on-board equipment (e.g., seat control, car audio control); a body component control function can be understood as the control function of body components (e.g., controlling door opening, controlling light activation); a charging control function can be understood as controlling relevant components of the vehicle's energy system (e.g., the on-board charger (OBC) and motor control unit (MCU) to achieve charging); a sensor control function can be understood as the control function of sensors (e.g., controlling a camera or lidar to collect environmental image information around the vehicle).
[0095] It should be noted that the electronic control unit in the embodiments of this application can be an electronic control unit inside multiple automotive components in the engine system, or it can be a centralized controller located outside multiple automotive components in the engine system for controlling multiple automotive components in the engine system. No specific limitations are made here.
[0096] For example, Figure 2 The diagram illustrates a scenario applicable to the embodiments of this application. Figure 2 In the example of DC, the cockpit domain controller is connected to multiple ECUs, and each ECU can be used to control multiple actuators.
[0097] The cockpit domain controller can generate a message and send it to the ECU. This message contains multiple bits and control information. These bits indicate whether the ECU should control multiple objects based on the control information. Each bit corresponds one-to-one with an actuator or function, allowing the ECU to control these multiple objects based on the control information.
[0098] The ECU can receive messages and control multiple objects based on the control information. It should be understood that in this embodiment, the objects can be actuators or functions. Actuators can be understood as windows, lights, chassis actuators, energy system components, and sensors. Energy system components include on-board chargers (OBC), motor control units (MCUs), etc.; sensors can include millimeter-wave radar, lidar cameras, etc. The functions can be understood as on-board equipment control functions, body component control functions, charging control functions, sensor control functions, etc. Among them, the vehicle equipment control function can be understood as the control function of vehicle equipment (e.g., the control function of seats, the control function of car audio, etc.); the body component control function can be understood as the control function of body components (e.g., controlling the opening of doors, controlling the turning on of lights, etc.); the charging control function can be understood as the control of related components of the energy system in the vehicle (e.g., the on-board charger (OBC) and the motor control unit (MCU) to realize the charging function); the sensor control function can be understood as the control function of sensors (e.g., controlling cameras or lidar to collect environmental image information around the vehicle).
[0099] The network architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0100] The above describes the applicable scenarios and architectures of the embodiments of this application. The control methods provided by the embodiments of this application will be described in detail below with reference to the accompanying drawings.
[0101] Please see Figure 3 , Figure 3 This is a flowchart illustrating a control method provided in an embodiment of this application. This method can be applied to... Figure 2 In the scenario shown, the method includes the following steps:
[0102] S301: The controller generates a message.
[0103] The message contains multiple bits and control information. These multiple bits can be used to indicate whether the electronic control unit associated with the controller controls multiple objects based on the control information, and there is a one-to-one correspondence between the multiple bits and the multiple objects. For example, if the message needs to control 16 objects, then the message includes 16 bits.
[0104] It should be understood that in the embodiments of this application, the controller can be any one of the following: body domain controller, cockpit domain controller, intelligent driving domain controller, vehicle control domain controller, and vehicle controller. The embodiments of this application do not impose specific limitations. In the embodiments of this application, the "object" can be an actuator or a function. An actuator can be understood as a window, headlight, chassis actuator, energy system component, and sensor. Energy system components include on-board chargers (OBC), motor control units (MCUs), etc.; sensors can include millimeter-wave radar, lidar, cameras, etc. The function can be understood as an on-board equipment control function, a body component control function, a charging control function, a sensor control function, etc. Specifically, an on-board equipment control function can be understood as a control function for on-board equipment (e.g., seat control function, car audio control function, etc.); a body component control function can be understood as a control function for body components (e.g., controlling door opening, controlling headlights, etc.); and a charging control function can be understood as controlling related components of the energy system in the vehicle (e.g., on-board chargers (OBC), motor control units (MCUs), etc.). The electronic control unit (MCU) implements the charging function; the sensor control function can be understood as the control function of sensors (e.g., controlling a camera or lidar to collect environmental image information around the vehicle). It should be noted that the multiple bits in the above message may include valid bits and / or invalid bits. For example, a valid bit can be represented by "1", and an invalid bit can be represented by "0". Valid bits are used to instruct the electronic control unit to control the first object among multiple objects based on the control information, while invalid bits are used to instruct the electronic control unit not to control the second object among multiple objects based on the control information. It should be understood that the number of valid bits can be one or more, and one valid bit corresponds to one first object; the number of invalid bits can be zero or one or more, and one invalid bit corresponds to one second object. The following is a detailed discussion of different cases.
[0105] Case 1: The above message contains only valid bits among its multiple bit positions.
[0106] For example, as shown in Table 1, the effective bits are represented by "1". Table 1 includes only 16 effective bits, so the electronic control unit can control the 16 first objects indicated by these 16 bits.
[0107] Table 1
[0108] 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
[0109] Case 2: The above message contains both valid and invalid bits.
[0110] For example, as shown in Table 2, valid bits are represented by "1" and invalid bits are represented by "0". Table 2 includes 14 valid bits and 2 invalid bits. The electronic control unit can control the 14 first objects indicated by these 14 bits, but does not control the second objects indicated by these 2 invalid bits.
[0111] Table 2
[0112] 1 1 1 1 1 1 0 1 1 1 0 1 1 1 1 1
[0113] As another example, as shown in Table 3, valid bits are represented by "1" and invalid bits are represented by "0". Table 3 includes 15 valid bits and 1 invalid bit. The electronic control unit can control the 14 first objects indicated by these 15 bits, but does not control the second object indicated by this 1 invalid bit.
[0114] Table 3
[0115] 1 1 1 1 1 1 1 1 1 1 0 1 1 1 1 1
[0116] In this way, by setting valid and invalid bits in multiple valid bits of the message, the electronic control unit can control the relevant objects (i.e., functions or actuators) of the vehicle according to the user's needs, effectively meeting the user's needs, while reducing information redundancy in the message.
[0117] In one possible implementation, the message also includes information indicating multiple objects. The information indicating multiple objects differs depending on whether the object is an executor or a function; this will be explained in detail below for specific situations.
[0118] Scenario 1: When the object controlled by the message is an actuator, the information used to indicate multiple objects may include identifiers of multiple actuators and identifiers of the first function. As shown in Table 4, taking the door opening function as an example, the first function may include an identifier of the door opening function and identifiers of multiple door numbers.
[0119] Table 4
[0120] The first function identifier Actuator Identifier Door opening function indicator Door 1 sign, Door 2 sign, Door 3 sign
[0121] Scenario 2: When the object controlled by the message is a function, the information used to indicate multiple objects may include identifiers of multiple functions and the identifier of the first actuator. As shown in Table 5, taking seat number 1 as an example, the message may include the number identifier of seat number 1, the heating function identifier, the cooling function identifier, and the adjustment function identifier.
[0122] Table 5
[0123] Identification of the first actuator Functional identifier Seat No. 1 number label Heating function label, cooling function label, adjustment function label
[0124] It should be noted that the above-mentioned controller can generate messages in various ways, including but not limited to the following:
[0125] Method 1: The controller can determine multiple objects and control information based on user input, and then generate a message based on the identification information of the multiple objects and the control information. The user input can be voice commands, key presses, or text commands, etc., and this embodiment does not impose specific limitations.
[0126] In one possible implementation, the controller can obtain user input through a human-machine interface system in the vehicle, which can be used to provide audio and video communication between the vehicle and the user, obtain user input, and transmit the user input to the controller.
[0127] For example, if the human-computer interaction system receives a user input as a voice command "heat all seats", and transmits the voice command to the controller, the controller will determine that the object to be controlled is the heating device of all seats in the vehicle. The control information corresponding to this object is, for example, the target temperature to be heated by the heating device.
[0128] For example, if the human-computer interaction system receives a user input as a voice command "adjust the backrest of the passenger seat", and transmits this voice command to the controller, the controller will determine the object to be controlled based on the voice command, which is motor number 1 of the two motors of the passenger seat. The corresponding control information for this object is, for example, the target speed of motor number 1.
[0129] In Method 1, the controller can generate vehicle control messages based on user input, thus making the control of relevant objects in the vehicle more in line with user needs.
[0130] Method 2: The controller can automatically generate messages based on the vehicle user's usage information.
[0131] For example, if the controller analyzes the vehicle user's usage information and finds that the user often turns on the car speakers to play music when starting to use the car, the controller will automatically generate a message to control the car speakers to turn on the next time it detects that the user has started using the car.
[0132] For example, if the controller analyzes the vehicle user's usage information and finds that the user does not use the vehicle between 2 pm and 4 pm, the controller will automatically generate a message to control the vehicle to enable the charging function during that time period.
[0133] In Method 2, the controller analyzes the user's vehicle usage information and automatically generates vehicle control messages, thus effectively realizing intelligent control of the vehicle, improving the vehicle's intelligence level, and thereby effectively enhancing the user experience.
[0134] S302: The controller sends this message to the electronic control unit, and the electronic control unit receives the message.
[0135] In one possible implementation, the controller can transmit the message via short-range wireless communication (e.g., green tooth) or via Ethernet bus; this application does not impose any specific limitations.
[0136] S303: The electronic control unit controls multiple objects based on this message.
[0137] In the first scenario, when the object is an actuator, the electronic control unit controlling multiple objects can be understood as controlling multiple actuators to achieve the first function.
[0138] For example, the actuator is a seat, and its primary function is seat adjustment. The electronic control unit can control all or some of the seats to be adjusted according to the message.
[0139] For example, if the actuator is a car window or a car light, and its primary function is to open, the electronic control unit can control the opening of the car windows and car lights in the vehicle according to the message.
[0140] For example, if the actuator is a sensor and its primary function is information acquisition, the electronic control unit can control multiple sensors to acquire information based on the message.
[0141] In the second scenario, when the object is a function, the electronic control unit controlling multiple objects can be understood as controlling multiple functions of the first actuator.
[0142] For example, the first actuator is seat number 1, which has functions such as heating, adjustment, and opening. The electronic control unit can control seat number 1 to perform one or more of the functions such as heating, adjustment, and opening according to the message.
[0143] For example, the first actuator is motor No. 1, which has the function of adjusting direction and speed. The electronic control unit can control the adjustment direction and speed of motor No. 1 according to the message.
[0144] The structure of the message provided in the embodiments of this application is described below with reference to the specific accompanying drawings.
[0145] For example, please see Figure 4A When the object controlled by the above message is an actuator, the message can be... Figure 4A The message 1 shown includes a function identifier field (vehicle func type(T)), a length field (vehicle funclength(L / 16bit)), an actuator identifier field, and a control information field.
[0146] The function identifier field corresponds to the first function identifier, which is used to identify the first function controlled by message 1.
[0147] The length field corresponds to the length of message 1 and is used to identify the bit length of message 1.
[0148] The actuator identifier field corresponds to multiple bits, with each bit used to identify an actuator.
[0149] Please continue reading Figure 4A , Figure 4A In the message 1, taking 16 bits as an example, these 16 bits are set in the actuator identification field, and the 16 bits include 4 valid bits and 12 invalid bits. Then message 1 can be used to control 4 actuators to achieve the first function.
[0150] The control information field corresponds to multiple control information entries, each of which corresponds to an actuator identified by a valid bit, and is used to control the actuator identified by that valid bit. Figure 4A If the message contains 4 valid bits, then message 1 includes 4 control information bits. For example, when the actuators are door 1, door 2, window 1, and window 2, message 1 may include control information 1 for controlling door 1 to open, control information 2 for controlling door 2 to open, control information 3 for controlling window 1 to open, and control information 4 for controlling window 2 to open.
[0151] For example, please see Figure 4B When the object controlled by the above message is a function, the message can be... Figure 4BThe message 2 shown in the message 1 includes a function identifier field (vehicle func type(T)), a length field (vehicle funclength(L / 16bit)), an actuator identifier field, and a control information field.
[0152] The function identifier field corresponds to multiple bits, with each bit used to identify a function.
[0153] Please continue reading Figure 4B , Figure 4B Taking 16 bits as an example, multiple bits of message 2 are set in the function identifier field. These 16 bits include 2 valid bits and 14 invalid bits. Message 2 can be used to control two functions of the first actuator.
[0154] The length field corresponds to the length of message 2 and is used to identify the bit length of message 2.
[0155] The actuator identifier field corresponds to the first actuator identifier, which is used to identify the first actuator controlled by message 1.
[0156] The control information field corresponds to multiple control information entries, each of which corresponds to a valid bit identifier function used to control the function of that valid bit identifier. Figure 4B If message 2 contains two valid bits, then message 2 can correspond to two control messages. For example, taking seat number 1 as an example, message 2 can include control information 1 for controlling the adjustment function of seat number 1 and control information 2 for controlling the heating function of seat number 1.
[0157] To facilitate understanding, the messages provided in the embodiments of this application are described below with specific examples.
[0158] Example 1, please see Figure 5A ,exist Figure 5AIn this message, message 3 controls actuators, specifically seats. Message 3 controls the heating functions of seats 1, 2, 7, and 16. The function identifier field of message 3 is the seat heating function identifier (0001). The actuator identifier field includes the seat number identifiers (10000001) and 16 bits corresponding to seats 1-16, with only 4 valid bits (bits marked "1"). The control information field of message 3 includes control information 1, control information 2, control information 3, and control information 4. Control information 1 controls the temperature of seat 1 to 25 degrees Celsius; control information 2 controls the temperature of seat 2 to 25 degrees Celsius; control information 3 controls the temperature of seat 7 to 25 degrees Celsius; and control information 4 controls the temperature of seat 16 to 25 degrees Celsius.
[0159] Example 2, please see Figure 5B ,exist Figure 5B In message 4, the object to be controlled is a function. Message 4 is used to control the heating and adjustment functions of seat number 1 in the vehicle. The function identification field of message 3 includes a heating function identifier (0001) and an adjustment function identifier (0002), as well as 16 bits for identifying 16 functions of the seat. Only two of these 16 bits are valid (i.e., bits marked "1"). These two valid bits are used to identify the adjustment and heating functions of the seat, respectively. The actuator identification field in message 4 includes the number identifier of seat number 1 (000001). The control information field of message 4 includes control information 1 and control information 2. Control information 1 can be used to control the temperature adjustment of seat number 1 to 25 degrees Celsius, and control information 2 can control the adjustment of seat number 1 to an extended state. It should be understood that control information 2 may also include hierarchical control information for the adjustment function, such as control information for adjustment speed and adjustment direction, etc., which are not specifically limited in this embodiment.
[0160] In the above embodiments, the controller can control multiple objects of the vehicle by setting multiple bits in the message to indicate whether the electronic control unit controls multiple objects based on control information, and by associating multiple bits with multiple objects one by one. This can effectively reduce information redundancy in the vehicle's control message, thereby effectively reducing communication resource overhead and effectively improving the transmission efficiency of the vehicle's control message.
[0161] In some possible embodiments, the message may further include a synchronization bit. In this case, the control information in the message can be a single control message; that is, only one control message needs to be set in the message. The synchronization bit can be used to instruct the electronic control unit to control multiple objects based on a single control message. The value of the synchronization bit can be 0 or 1. When the synchronization bit is 1, the electronic control unit can control multiple objects based on a single control message; when the synchronization bit is 0, the electronic control unit cannot control multiple objects based on a single control message. This further optimizes the message structure and reduces information redundancy in the message.
[0162] Example 1, please see Figure 6A , Figure 6A The object controlled by message 5 is an actuator. The function identifier field in message 5 is the first function identifier, the length field is 65 bits, the synchronization bit in message 5 is "1", the actuator identifier field in message 5 includes 16 bits, of which 7 are valid bits, and the control information field includes control information 1. Therefore, message 5 can control the actuator corresponding to these 7 valid bits based on control information 1 to achieve the first function. For example... Figure 6B As shown, taking the seat as an example, the first function is the adjustment function. After receiving message 5, the electronic control unit can control the seven seats in the vehicle to achieve the adjustment function based on the control information 1 in message 5.
[0163] Example 2, please see Figure 6C The message shown, Figure 6C The object controlled by message 6 is an actuator. The function identifier field in message 6 consists of 16 bits, including 2 valid bits. The length field in message 6 is 65 bits, the synchronization bit is set to "1", the actuator identifier field is the first actuator identifier, and the control information field includes control information 1. Therefore, message 6 can control the actuator corresponding to these 7 valid bits based on control information 1 to achieve the first function. For example... Figure 6D As shown, taking seat number 1 as an example, and its functions as adjustment and heating, the electronic control unit, after receiving message 6, can control seat number 1 to perform the adjustment and heating functions based on control information 1 in message 6. For example... Figure 6E As shown, when the synchronization bit is "0", the control information corresponding to the heating function and the adjustment function are different. The control information field of this message carries control information 1 for controlling seat No. 1 to reach the target temperature, and control information 2 for controlling seat No. 1 to be adjusted to the folding state.
[0164] In this embodiment, by setting a synchronization bit in the message, the vehicle control message only needs to carry one control message to control multiple actuators or functions. This reduces data redundancy in the message, thereby significantly reducing data overhead.
[0165] Figure 7 This diagram illustrates a possible structure of the control device involved in the above embodiments of this application. The device 700 can be used to implement the above-described control device. Figure 3 The controller in the illustrated embodiment performs the following functions.
[0166] For example, device 700 may include:
[0167] The processing module 701 is used to generate a message; the message contains multiple bits and control information. The multiple bits are used to indicate whether the electronic control unit in the vehicle controls multiple objects based on the control information. There is a one-to-one correspondence between the multiple bits and the multiple objects, which are actuators or functions.
[0168] The transceiver module 702 is used to send messages to the electronic control unit.
[0169] In one possible design, the aforementioned plurality of bits includes at least one valid bit, which is used to instruct the electronic control unit to control at least one first object among the plurality of objects based on control information, and the at least one valid bit corresponds one-to-one with at least one first object.
[0170] In one possible design, the multiple bits include at least one invalid bit, which is used to indicate that the electronic control unit does not control at least one second object among the multiple objects based on control information, and the at least one invalid bit corresponds one-to-one with at least one second object.
[0171] In one possible design, the above message also includes a synchronization bit, and the control information is a single control message. This synchronization bit is used to instruct the electronic control unit to control multiple objects based on a single control message.
[0172] In one possible design, the message also includes information indicating multiple objects.
[0173] In one possible design, the processing module 701 can determine multiple objects and control information based on user input.
[0174] In one possible design, the device can be a chip or an integrated circuit.
[0175] In one possible design, the device includes a memory and a processor, the memory for storing a program executed by the processor, and when the program is executed by the processor, the device can perform the method described in the first aspect or any possible design of the first aspect.
[0176] In one possible design, the device can be a controller in a vehicle. This controller may include at least one of the following: a body domain controller, a cockpit domain controller, an intelligent driving domain controller, and a vehicle control domain controller. Of course, the controller can also be a whole vehicle controller; this application embodiment does not impose specific limitations. In one possible design, the actuator includes at least one of the following: a door, a window, a light, a chassis actuator, energy system components, and a sensor. It should be understood that the actuator in this application embodiment may also include other vehicle components or on-board equipment; this application embodiment does not impose specific limitations.
[0177] In one possible design, the functions include at least one of the following: on-board equipment control function, body component control function, charging control function, and sensor control function. The on-board equipment control function can be understood as the control function of on-board equipment (e.g., seat control function, car audio control function, etc.); the body component control function can be understood as the control function of body components (e.g., controlling door opening, controlling light activation, etc.); the charging control function can be understood as the control of relevant components of the vehicle's energy system (e.g., on-board charger (OBC), motor control unit (MCU) to achieve charging function); and the sensor control function can be understood as the control function of sensors (e.g., controlling cameras or LiDAR to collect environmental image information around the vehicle). It should be understood that the actuator in this application embodiment may also include other vehicle functions, and this application embodiment does not specifically limit them.
[0178] Figure 8 This diagram illustrates a possible structure of another control device involved in the above embodiments of this application. This device 800 can be used to implement the above... Figure 3 The functions performed by the electronic control unit in the illustrated embodiment.
[0179] For example, device 800 may include:
[0180] The transceiver module 801 is used to receive messages from the controller in the vehicle. The message contains multiple bits and control information. The multiple bits are used to indicate whether the electronic control unit in the vehicle controls multiple objects based on the control information. The multiple bits correspond one-to-one with the multiple objects, which are actuators or functions.
[0181] Processing module 802 is used to control multiple objects based on messages.
[0182] In one possible design, the plurality of bits includes at least one valid bit, which is used to instruct the electronic control unit to control at least one first object among the plurality of objects based on the control information, and the at least one valid bit corresponds one-to-one with the at least one first object; when the processing module 801 is used to control the plurality of objects according to the message, it is specifically used to: control the at least one first object based on the control information.
[0183] In one possible design, the multiple bits include at least one invalid bit, which is used to indicate that the electronic control unit does not control at least one second object among the multiple objects based on control information, and the at least one invalid bit corresponds one-to-one with at least one second object.
[0184] In one possible design, the message further includes a synchronization bit, and the control information is a single control message. The synchronization bit is used to instruct the electronic control unit to control the plurality of objects based on the single control message. When the processing module 802 controls the plurality of objects according to the message, it is specifically used to control the plurality of objects based on the single control message.
[0185] In one possible design, the message may also include information indicating multiple objects.
[0186] In one possible design, the controller includes at least one of the following: body domain controller, cockpit domain controller, intelligent driving domain controller, and vehicle control domain controller.
[0187] In one possible design, the actuator includes at least one of the following: a window, a light, a chassis actuator, an energy system component, and a sensor.
[0188] In one possible design, the functions include at least one of the following: on-board equipment control function, body component control function, charging control function, and sensor control function. The on-board equipment control function can be understood as the control function of on-board equipment (e.g., seat control function, car audio control function, etc.); the body component control function can be understood as the control function of body components (e.g., controlling door opening, controlling light activation, etc.); the charging control function can be understood as the control of relevant components of the vehicle's energy system (e.g., on-board charger (OBC), motor control unit (MCU) to achieve charging function); and the sensor control function can be understood as the control function of sensors (e.g., controlling cameras or LiDAR to collect environmental image information around the vehicle).
[0189] In one possible design, the device can be a chip or an integrated circuit.
[0190] In one possible design, the device includes a memory and a processor, the memory for storing a program executed by the processor, and when the program is executed by the processor, the device can perform the method described in the second aspect or any possible design of the second aspect.
[0191] In one possible design, the device could be an electronic control unit in a vehicle.
[0192] This application also provides a chip system including at least one processor, wherein when program instructions are executed in the at least one processor, the above-mentioned... Figure 3 The control method described in the illustrated embodiment is implemented.
[0193] In one possible design, the chip system also includes a communication interface for inputting or outputting information.
[0194] In one possible design, the chip system also includes a memory coupled to the processor via a communication interface for storing the aforementioned instructions, so that the processor can read the instructions stored in the memory via the communication interface.
[0195] For example, the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.
[0196] It should be understood that the memory mentioned in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static RAM (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate Synchronous DRAM (DDR SDRAM), Enhanced Synchronous DRAM (ESDRAM), Synchlink DRAM (SLDRAM), and Direct RAM (DR RAM).
[0197] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) can be integrated into the processor.
[0198] It should be noted that the memories described herein are intended to include, but are not limited to, these and any other suitable types of memories.
[0199] This application also provides a computer program product including instructions, which, when run on the aforementioned device, performs the above-described actions. Figure 3 The control method described in the illustrated embodiment.
[0200] This application provides a computer-readable storage medium storing a computer program that, when executed, performs the above-described functionality. Figure 3 The control method described in the illustrated embodiment.
[0201] The above embodiments can be combined with each other to achieve different technical effects.
[0202] Through the above description of the embodiments, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0203] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0204] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0205] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0206] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solution of this application embodiment, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks. The above descriptions are merely specific implementations of the embodiments of this application, but the protection scope of the embodiments of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be covered within the protection scope of the embodiments of this application. Therefore, the protection scope of the embodiments of this application should be determined by the protection scope of the claims.
Claims
1. A control method, characterized in that, A controller applied in a vehicle, the vehicle including an electronic control unit, the method comprising: The controller generates a message; the message contains multiple bits and control information, the multiple bits are used to indicate whether the electronic control unit controls multiple objects based on the control information, and the multiple bits correspond one-to-one with the multiple objects; The controller sends the message to the electronic control unit; The message includes a function identifier field, a length field, an actuator identifier field, and a control information field. The length field identifies the bit length of the message, and the control information field includes one or more control information entries. If the object is an actuator, the function identifier field is used to identify a first function, the actuator identifier field corresponds to the plurality of bits, each of the plurality of bits is used to identify an actuator, and each piece of control information in the one or more control information corresponds to an actuator identified by a valid bit, used to control the actuator identified by the valid bit to achieve the first function; or... If the object is a function, the actuator identifier field is used to identify the first actuator, the function identifier field corresponds to the plurality of bits, each of the plurality of bits is used to identify a function, and each of the one or more control information corresponds to a function identified by a valid bit, which is used to control the first actuator to realize the function identified by the valid bit.
2. The method according to claim 1, characterized in that, The plurality of bits includes at least one valid bit, which is used to instruct the electronic control unit to control at least one first object among the plurality of objects based on the control information, and the at least one valid bit corresponds one-to-one with the at least one first object.
3. The method according to claim 1 or 2, characterized in that, The plurality of bits includes at least one invalid bit, which is used to indicate that the electronic control unit does not control at least one second object among the plurality of objects based on the control information, and the at least one invalid bit corresponds one-to-one with the at least one second object.
4. The method according to claim 1 or 2, characterized in that, The message also includes a synchronization bit, and the control information field includes a control message. The synchronization bit is used to instruct the electronic control unit to control the plurality of objects based on the control message.
5. The method according to claim 1 or 2, characterized in that, The message also includes information for instructing the plurality of objects.
6. The method according to claim 1 or 2, characterized in that, The method further includes: The controller determines the plurality of objects and the control information based on user input.
7. The method according to claim 1 or 2, characterized in that, The controller includes at least one of the following: Body domain controller, cockpit domain controller, intelligent driving domain controller, and vehicle control domain controller.
8. The method according to claim 1 or 2, characterized in that, The actuator includes at least one of the following: Car windows, headlights, chassis actuators, energy system components and sensors.
9. The method according to claim 1 or 2, characterized in that, The function includes at least one of the following: Vehicle equipment control functions, body component control functions, charging control functions, and sensor control functions.
10. A control method, characterized in that, An electronic control unit applied in a vehicle, the vehicle including a controller, the method comprising: The electronic control unit receives a message sent by the controller; the message contains multiple bits and control information, the multiple bits are used to indicate whether the electronic control unit controls multiple objects based on the control information, and the multiple bits correspond one-to-one with the multiple objects; The electronic control unit controls the plurality of objects according to the message; The message includes a function identifier field, a length field, an actuator identifier field, and a control information field. The length field identifies the bit length of the message, and the control information field includes one or more control information entries. If the object is an actuator, the function identifier field is used to identify a first function, the actuator identifier field corresponds to the plurality of bits, each of the plurality of bits is used to identify an actuator, and each piece of control information in the one or more control information corresponds to an actuator identified by a valid bit, used to control the actuator identified by the valid bit to achieve the first function; or... If the object is a function, the actuator identifier field is used to identify the first actuator, the function identifier field corresponds to the plurality of bits, each of the plurality of bits is used to identify a function, and each of the one or more control information corresponds to a function identified by a valid bit, which is used to control the first actuator to realize the function identified by the valid bit.
11. The method according to claim 10, characterized in that, The plurality of bits includes at least one valid bit, which is used to instruct the electronic control unit to control at least one first object among the plurality of objects based on the control information, and the at least one valid bit corresponds one-to-one with the at least one first object; The electronic control unit controls the plurality of objects according to the message, including: The electronic control unit controls the at least one first object based on the control information.
12. The method according to claim 10 or 11, characterized in that, The plurality of bits includes at least one invalid bit, which is used to indicate that the electronic control unit does not control at least one second object among the plurality of objects based on the control information, and the at least one invalid bit corresponds one-to-one with the at least one second object.
13. The method according to claim 10 or 11, characterized in that, The message also includes a synchronization bit, and the control information field includes a control message. The synchronization bit is used to instruct the electronic control unit to control the plurality of objects based on the control message. The electronic control unit controls the plurality of objects according to the message, including: The electronic control unit controls the plurality of objects based on the aforementioned control information.
14. The method according to claim 10 or 11, characterized in that, The message also includes information for instructing the plurality of objects.
15. The method according to claim 10 or 11, characterized in that, The controller includes at least one of the following: Body domain controller, cockpit domain controller, intelligent driving domain controller, and vehicle control domain controller.
16. The method according to claim 10 or 11, characterized in that, The actuator includes at least one of the following: Car windows, headlights, chassis actuators, energy system components and sensors.
17. The method according to claim 10 or 11, characterized in that, The function includes at least one of the following: Vehicle equipment control functions, body component control functions, charging control functions, and sensor control functions.
18. A control device, characterized in that, include: A processing module is used to generate a message; the message contains multiple bits and control information, the multiple bits are used to indicate whether the electronic control unit in the vehicle controls multiple objects based on the control information, and the multiple bits correspond one-to-one with the multiple objects; The transceiver module is used to send the message to the electronic control unit; The message includes a function identifier field, a length field, an actuator identifier field, and a control information field. The length field identifies the bit length of the message, and the control information field includes one or more control information entries. If the object is an actuator, the function identifier field is used to identify a first function, the actuator identifier field corresponds to the plurality of bits, each of the plurality of bits is used to identify an actuator, and each piece of control information in the one or more control information corresponds to an actuator identified by a valid bit, used to control the actuator identified by the valid bit to achieve the first function; or... If the object is a function, the actuator identifier field is used to identify the first actuator, the function identifier field corresponds to the plurality of bits, each of the plurality of bits is used to identify a function, and each of the one or more control information corresponds to a function identified by a valid bit, which is used to control the first actuator to realize the function identified by the valid bit.
19. A control device, characterized in that, The device includes: A transceiver module is used to receive messages from a controller in a vehicle; the messages contain multiple bits and control information, the multiple bits are used to indicate whether the electronic control unit in the vehicle controls multiple objects based on the control information, and the multiple bits correspond one-to-one with the multiple objects; A processing module is used to control the plurality of objects according to the message; The message includes a function identifier field, a length field, an actuator identifier field, and a control information field. The length field identifies the bit length of the message, and the control information field includes one or more control information entries. If the object is an actuator, the function identifier field is used to identify a first function, the actuator identifier field corresponds to the plurality of bits, each of the plurality of bits is used to identify an actuator, and each piece of control information in the one or more control information corresponds to an actuator identified by a valid bit, used to control the actuator identified by the valid bit to achieve the first function; or... If the object is a function, the actuator identifier field is used to identify the first actuator, the function identifier field corresponds to the plurality of bits, each of the plurality of bits is used to identify a function, and each of the one or more control information corresponds to a function identified by a valid bit, which is used to control the first actuator to realize the function identified by the valid bit.
20. A vehicle, characterized in that, include: A controller for performing the method as described in any one of claims 1-9; An electronic control unit for performing the method as described in any one of claims 10-17.
21. A control system, characterized in that, It includes the control device as described in claim 18 and the control device as described in claim 19.
22. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the method as described in any one of claims 1-9 or the method as described in any one of claims 10-17.
23. A computer program product, characterized in that, The computer program product includes instructions that, when executed, cause the method as described in any one of claims 1-9 to be implemented, or cause the method as described in any one of claims 10-17 to be implemented.
Citation Information
Patent Citations
Control system
JP2018098617A
Dynamic vehicle bus subscription
US20160055116A1