A function configuration signal transmission method, device, equipment and medium of a vehicle
By dividing the vehicle into functional domains and using the main control unit to parse global variable signals and generate functional configuration signals, the problems of low ECU signal transmission efficiency and inconsistent parsing are solved, thus optimizing computing power and power consumption.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- ZHEJIANG ZEEKR INTELLIGENT TECH CO LTD
- Filing Date
- 2023-06-25
- Publication Date
- 2026-04-24
AI Technical Summary
With the increase of electronic control units (ECUs) in vehicles, signal transmission efficiency is low, computing power consumption is high, and there is a risk of inconsistent function interpretation.
By dividing the vehicle into functional domains, the main control unit is responsible for parsing global variable signals and generating function configuration signals, which are then passed to the slave control unit, thus avoiding repeated parsing by the slave control unit.
It reduces wasted computing power and power consumption, improves parsing efficiency, and avoids the risk of inconsistent function parsing.
Smart Images

Figure CN116859882B_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of automotive electronics technology, and in particular to a method, device, equipment, and medium for transmitting functional configuration signals for a vehicle. Background Technology
[0002] With the development of automotive electronics technology, vehicles are becoming increasingly intelligent, which is inseparable from various electronic control units (ECUs) in vehicles. By adding ECUs, users' various functional needs in different scenarios can be met, thus improving the user experience.
[0003] Different ECUs have different responsibilities, but they all receive the same global variable signals. These ECUs perform their respective functions by parsing the global variable signals.
[0004] However, with the increase in the number of ECUs, the number of signals that need to be transmitted in the vehicle is also increasing, making the optimization of signal transmission an issue that must be considered.
[0005] For example, most of the global variable signals received by a single ECU are information unrelated to itself, and the global variable signals contain a large amount of data, so the time required to transmit the complete global variable signals is also relatively long.
[0006] Therefore, when the ECU analyzes global variable signals, it not only causes invalid calculations, increasing computing power consumption and energy loss, but also has low analysis efficiency due to the large amount of data. In addition, there may be duplicate calculations between different ECUs, and there may be a risk of inconsistent functional analysis. Summary of the Invention
[0007] In view of the above, this specification provides one or more embodiments of a vehicle function configuration signal transmission method, apparatus, device and medium to solve the problems existing in the related art.
[0008] To achieve the above objectives, one or more embodiments of this specification provide the following technical solutions:
[0009] According to a first aspect of the embodiments of this specification, a method for transmitting functional configuration signals for a vehicle is provided, applied to a main control unit of a vehicle, the vehicle including at least one functional domain, the functional domain including a main control unit and at least one slave control unit; the method includes:
[0010] Receive global variable signals transmitted by the vehicle's central control unit; wherein, the global variable signals include at least configuration parameters corresponding to the vehicle's functions;
[0011] The global variable signals are parsed, and the function to be executed is determined based on the configuration parameters;
[0012] Based on the pre-defined functions that each slave control unit is responsible for, the functions to be executed for each slave control unit are determined.
[0013] For any slave control unit, a function configuration signal is generated based on the function to be executed corresponding to that slave control unit, and transmitted to that slave control unit so that the slave control unit determines the function to be executed based on the function configuration signal.
[0014] According to a second aspect of the embodiments of this specification, a vehicle function configuration signal transmission device is provided, applied to a main control unit of a vehicle, the vehicle including at least one functional domain, the functional domain including a main control unit and at least one slave control unit; the device includes:
[0015] The receiving module receives global variable signals transmitted by the vehicle's central control unit; wherein the global variable signals include at least configuration parameters corresponding to the vehicle's functions.
[0016] The parsing module parses the global variable signals and determines the function to be executed based on the configuration parameters;
[0017] The module determines the functions to be executed for each slave control unit based on the pre-defined functions that each slave control unit is responsible for implementing.
[0018] The configuration module generates a function configuration signal for any slave control unit based on the function to be executed corresponding to that slave control unit, and transmits it to that slave control unit so that the slave control unit determines the function to be executed based on the function configuration signal.
[0019] According to a third aspect of the embodiments of this specification, an electronic device is provided, including a communication interface, a processor, a memory, and a bus, wherein the communication interface, the processor, and the memory are interconnected via the bus;
[0020] The memory stores machine-readable instructions, and the processor executes the above method by invoking the machine-readable instructions.
[0021] According to a fourth aspect of the embodiments of this specification, a machine-readable storage medium is provided, the machine-readable storage medium storing machine-readable instructions, which, when invoked and executed by a processor, implement the above-described method.
[0022] The technical solutions provided in the embodiments of this specification may include the following beneficial effects:
[0023] The above technical solution divides the vehicle into different functional domains, and within each functional domain, it further divides into a main control unit and slave control units. The main control unit parses global variable signals, avoiding redundant parsing by the slave control units. The main control unit determines the function to be executed for the corresponding slave control unit through parsing and generates a function configuration signal, which is then transmitted to the slave control unit. This allows the slave control unit to determine the function to be executed based on the function configuration signal. In this process, the slave control unit does not need to parse global variable signals; this is done by the main control unit, which performs fine-grained processing to determine the part corresponding to the slave control unit from the global data and transmits it to the slave control unit. This reduces wasted computing power and power consumption, improves parsing efficiency, and avoids the risk of inconsistent function parsing. Attached Figure Description
[0024] Figure 1 A schematic diagram of a vehicle topology provided for an exemplary embodiment of this specification;
[0025] Figure 2 A flowchart illustrating a method for transmitting functional configuration signals for a vehicle, provided as an exemplary embodiment of this specification;
[0026] Figure 3 A schematic diagram of the structure of an electronic device containing a vehicle function configuration signal transmission device, provided as an exemplary embodiment of this specification;
[0027] Figure 4 This is a block diagram of a vehicle function configuration signal transmission device provided for an exemplary embodiment of this specification. Detailed Implementation
[0028] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numerals in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with one or more embodiments of this specification. Rather, they are merely examples of apparatuses and methods consistent with some aspects of one or more embodiments of this specification as detailed in the appended claims.
[0029] It should be noted that the steps of the corresponding methods are not necessarily performed in the order shown and described in this specification in other embodiments. In some other embodiments, the methods may include more or fewer steps than described in this specification. Furthermore, a single step described in this specification may be broken down into multiple steps in other embodiments; and multiple steps described in this specification may be combined into a single step in other embodiments.
[0030] As mentioned earlier, in related technologies, different ECUs receive the same global variable signal, parse the global variable signal, and execute their respective functions.
[0031] Please see Figure 1 , Figure 1 This is a schematic diagram of a vehicle topology provided for an exemplary embodiment of this specification. For example... Figure 1 As shown, communication connections are established between the units, and signals are transmitted through these communication connections.
[0032] exist Figure 1 In this system, the central control unit can send global variable signals to control units in different functional domains, such as the control unit in the new energy domain, the control unit in the gateway domain, the control unit in the intelligent driving domain, and the control unit A in the intelligent connected domain.
[0033] Among them, control unit A in the intelligent connected domain can further transmit global variable signals to control units B, control units C, etc. in the intelligent connected domain.
[0034] After receiving the global variable signal, each of the above control units can determine the function it needs to perform by parsing it, and then perform the corresponding function.
[0035] For example, in the intelligent connected vehicle domain, control unit A can analyze global variable signals, execute the settings for the vehicle's front air conditioning functions based on the analysis results, and display them on the vehicle's front screen. Control unit B, on the other hand, can be the control unit for the vehicle's rear screen. By analyzing the global variable signals sent by control unit A, it executes the rear air conditioning functions based on the analysis results and displays them on the vehicle's rear screen.
[0036] In the above process, control unit A must first receive the global variable signal and then forward it to the rear screen control unit. Since the global variable signal of the vehicle usually contains a large amount of data, it takes a long time to transmit, resulting in low transmission efficiency. The rear screen control unit cannot parse and process it in time, which affects the timely execution of functions and is not conducive to improving the user experience.
[0037] Furthermore, when control unit A parses global variable signals indiscriminately, it also parses content related to the rear screen control unit. Therefore, when the rear screen control unit parses global variable signals again, it will similarly parse content beyond its own intended function, leading to redundant calculations and increased computational and power consumption. Additionally, there is a potential risk of inconsistent function parsing.
[0038] In view of this, this specification provides a technical solution in which the main control unit completes the parsing of global variable signals and performs fine processing, determines the corresponding functional part of the slave control unit from the global data, and transmits it to the slave control unit. This eliminates the need for slave control units within the same functional domain to parse global variable signals, thereby reducing computational waste and power consumption loss, improving parsing efficiency, and avoiding the risk of inconsistent functional parsing.
[0039] In implementation, it can receive global variable signals transmitted by the vehicle's central control unit.
[0040] The vehicle includes at least one functional domain, which includes a main control unit and at least one slave control unit; the global variable signal includes at least configuration parameters corresponding to the functions of the vehicle.
[0041] For example, the main control unit of a vehicle within any functional domain can receive global variable signals transmitted by the vehicle's central control unit through the vehicle's bus technology.
[0042] Then, the main control unit can parse the global variable signals and determine the function to be executed based on the configuration parameters.
[0043] For example, the main control unit can read multiple data frames included in the global variable signal and determine the vehicle's functions and corresponding configuration parameters based on the bytes in each data frame.
[0044] Then, the main control unit can determine the function to be executed for each slave control unit based on the functions that each slave control unit is responsible for implementing in advance.
[0045] For example, the functions that each master control unit and slave control unit is responsible for can be pre-defined and stored in the master control unit. The master control unit can then determine the functions to be executed for each slave control unit by searching for them.
[0046] Then, the main control unit can generate a function configuration signal for any slave control unit according to the function to be executed corresponding to that slave control unit, and transmit it to that slave control unit so that the slave control unit can determine the function to be executed according to the function configuration signal.
[0047] For example, for any slave control unit, the master control unit can generate a corresponding function configuration signal for the slave control unit according to the function to be executed, and transmit it to the control unit so that the slave control unit can determine the function to be executed according to the function configuration signal.
[0048] The above technical solution divides the vehicle into different functional domains, and within each functional domain, it further divides into a main control unit and slave control units. The main control unit parses global variable signals, avoiding redundant parsing by the slave control units. The main control unit determines the function to be executed for the corresponding slave control unit through parsing and generates a function configuration signal, which is then transmitted to the slave control unit. This allows the slave control unit to determine the function to be executed based on the function configuration signal. In this process, the slave control unit does not need to parse global variable signals; this is done by the main control unit, which performs fine-grained processing to determine the part corresponding to the slave control unit from the global data and transmits it to the slave control unit. This reduces wasted computing power and power consumption, improves parsing efficiency, and avoids the risk of inconsistent function parsing.
[0049] The following section, with reference to the accompanying drawings, provides a detailed description of the vehicle's functional configuration signal transmission method.
[0050] Please see Figure 2 , Figure 2 This is a flowchart illustrating a method for transmitting functional configuration signals in a vehicle, provided as an exemplary embodiment of this specification. The method is applied to a main control unit of a vehicle, the vehicle including at least one functional domain, the functional domain including a main control unit and at least one slave control unit; the method includes the following steps:
[0051] Step 201: Receive global variable signals transmitted by the vehicle's central control unit; wherein the global variable signals include at least configuration parameters corresponding to the vehicle's functions;
[0052] Step 202: Analyze the global variable signal and determine the function to be executed based on the configuration parameters;
[0053] Step 203: Based on the pre-defined functions that each slave control unit is responsible for, determine the functions to be executed for each slave control unit.
[0054] Step 204: For any slave control unit, generate a function configuration signal according to the function to be executed corresponding to the slave control unit, and transmit it to the slave control unit so that the slave control unit determines the function to be executed according to the function configuration signal.
[0055] It should be noted that a master control unit can be specified in each functional domain, and other control units can be designated as slave control units.
[0056] by Figure 1 For example, in the intelligent connected domain of a vehicle, control unit A can be designated as the master control unit, and control units B and C can be designated as slave control units.
[0057] In this embodiment, the main control unit can receive global variable signals transmitted by the vehicle's central control unit.
[0058] The global variable signals include at least configuration parameters corresponding to the vehicle's functions.
[0059] For example, the vehicle's central control unit can generate global variable signals, also known as global function configuration signals. The global variable signals can include at least configuration parameters corresponding to the vehicle's functions. The vehicle's central control unit can transmit the global variable signals to the main control units of each functional domain.
[0060] For example, Figure 1 The central control unit can transmit global variable signals to the main control unit in the intelligent connected domain, namely control unit A.
[0061] In this embodiment, the main control unit can parse the global variable signal and determine the function to be executed based on the configuration parameters.
[0062] For example, Figure 1 The main control unit in the intelligent connected domain can parse the received global variable signals, read the configuration parameters corresponding to the vehicle's functions, and determine the functions to be executed in the intelligent connected domain based on the configuration parameters. These functions include those executed by various control units in the intelligent connected domain.
[0063] In one embodiment shown, the global variable signal includes multiple data frames, each data frame having a length of multiple bytes; wherein, a first type of bytes is used to represent the vehicle's functions, and a second type of bytes is used to represent the configuration parameters corresponding to the vehicle's functions.
[0064] Furthermore, multiple data frames of the global variable signal can be parsed, the vehicle function can be determined based on the first type of bytes in each data frame, and the presence of valid configuration parameters for the function can be determined based on the second type of bytes; if they exist, the function is determined as the function to be executed.
[0065] For example, a global variable signal can include multiple data frames, each of which can be multiple bytes long. These bytes can be divided into a first type of byte and a second type of byte. The first type of byte can be used to represent the vehicle's functions, and the second type of byte can be used to represent the configuration parameters corresponding to the vehicle's functions.
[0066] Continuing with the example, each data frame can include 8 bytes, namely Byte1 to Byte8. Byte1 can be used as the first type of byte to represent the vehicle's functions, thus Byte1 can indicate up to 64 functions. Byte2 to Byte7 can be used as the second type of byte to represent the configuration parameters corresponding to the vehicle's functions, supporting a maximum of 7 * 64 = 448 configuration parameters.
[0067] Furthermore, the main control unit can parse multiple data frames in the global variable signal. Based on the first type of bytes, the vehicle's function can be determined, such as the vehicle's air conditioning function. Based on the second type of bytes, it can be determined whether the function has valid configuration parameters. For example, if the vehicle's air conditioning function uses mechanical air vents, then the air conditioning function can be determined as the function to be executed.
[0068] In this embodiment, the main control unit can determine the function to be executed for each slave control unit based on the functions that each slave control unit is responsible for implementing in a pre-defined manner.
[0069] For example, with Figure 1 For example, control unit B and control unit C in the intelligent connected domain are responsible for implementing different functions. After the main control unit of the intelligent connected domain determines the functions to be executed in the intelligent connected domain based on the global variable signals, it can determine which of these functions to be executed are executed by control unit B and which are executed by control unit C, based on the functions that control unit B and control unit C are responsible for implementing respectively.
[0070] In addition, the above Figure 1 The intelligent connected domain in this specification is merely an illustrative example, and this specification does not limit the number of control units in the intelligent connected domain.
[0071] In one embodiment shown, the functional domain includes a human-machine interaction functional domain, the main control unit includes a main display screen control unit, the slave control unit includes a slave display screen control unit, and the function to be executed includes configuration parameters of the vehicle's functions displayed on the main screen, and configuration parameters of the functions implemented by the slave screen displayed on the slave screen.
[0072] For example, a human-machine interaction functional domain can be defined within the vehicle. This domain includes a main control unit and slave control units. The main control unit is the main display screen control unit, used to display the configuration parameters of the vehicle's functions on the main screen. The slave control units are slave display screen control units, used to display the configuration parameters of the functions implemented by the slave screen on the slave screen. When the vehicle has multiple slave displays, there can also be multiple slave control units.
[0073] In one embodiment shown, the functional domain includes a body functional domain, the main control unit includes a region controller of the body functional domain, and the slave control unit includes an electronic control unit of the body functional domain.
[0074] Different functional domains in a vehicle can be configured based on the principles of this solution. For example, in the divided body functional domains, the area controller of the body functional domain can act as the main control unit, while other electronic control units in the body functional domain can act as slave control units.
[0075] In one embodiment shown, the mapping relationship between the functions implemented by each slave control unit and the functions of the vehicle can be obtained, and the functions to be executed corresponding to each slave control unit can be determined according to the functions to be executed.
[0076] For example, the mapping relationship between the functions implemented by each slave control unit and the functions of the vehicle can be stored in advance in the main control unit. For example, the mapping relationship table between control unit B and the functions of the vehicle can be shown in Table 1 below:
[0077] Table 1
[0078] Function ID Function Name Vehicle function ID in global variable signals 1 Function 1 471 2 Function 2 25 3 Function 3 184 4 Function 4 176 … … …
[0079] Taking Table 1 above as an example, when the function to be executed is determined based on the global variable signal, the function ID of the function in the global variable signal can be matched with Table 1 above. For example, when the function ID to be executed is 25, it can be matched that control unit B is responsible for implementing the function, and the corresponding function ID of the function in control unit B is 2.
[0080] In one embodiment shown, the implementation conditions corresponding to the functions implemented by each slave control unit can be obtained, and it can be determined whether the implementation conditions are met based on the current state of the vehicle; wherein, the implementation conditions include at least vehicle mode and vehicle use mode.
[0081] For example, Table 1 above can be expanded by adding the following content, as shown in Table 2:
[0082] Table 2
[0083]
[0084] As shown in Table 2 above, the implementation conditions may include vehicle mode and vehicle usage mode. Vehicle mode may include transportation mode, collision mode, and normal mode, while vehicle usage mode may include sleep mode, convenience mode, and driving mode. Of course, those skilled in the art can also set other modes as needed.
[0085] Continuing with the example, the main control unit can obtain the preset implementation conditions corresponding to the functions that the slave control units are responsible for implementing, and determine whether the implementation conditions are met based on the current state of the vehicle.
[0086] In this embodiment, the main control unit can generate a function configuration signal for any slave control unit based on the function to be executed corresponding to that slave control unit, and transmit it to the slave control unit so that the slave control unit can determine the function to be executed based on the function configuration signal.
[0087] For example, with Figure 1 For example, for control unit B, the main control unit can generate a function configuration signal corresponding to control unit B based on the function to be executed, and then transmit it to control unit B. Similarly, for control unit C, the main control unit can generate a function configuration signal corresponding to control unit C based on the function to be executed, and then transmit it to control unit C. After receiving the function configuration signal, each slave control unit can determine the function to be executed based on the function configuration signal.
[0088] In one embodiment shown, the function configuration signal includes a third type of byte and a fourth type of byte; wherein the third type of byte is used to indicate whether the function exists, and the fourth type of byte is used to indicate whether the function meets the implementation conditions;
[0089] Furthermore, for any slave control unit, determine the target function to be executed corresponding to that slave control unit, determine whether the vehicle has the target function, and determine whether the target function meets the implementation conditions;
[0090] An indicator bit is configured in the third type of bytes to indicate whether the target function exists, and an indicator bit is configured in the fourth type of bytes to indicate whether the implementation conditions are met, so as to generate a function configuration signal.
[0091] For example, for a function implemented by the control unit, two bytes can be set to represent it: one byte is a third type of byte, used to indicate whether the function exists, and the other byte is a fourth type of byte, used to indicate whether the function meets the implementation conditions.
[0092] Continuing with the example, for any slave control unit located in the same functional domain as the main control unit, the target function to be executed corresponding to each slave control unit can be determined, and it can be determined whether the vehicle possesses the target function and whether the target function meets the implementation conditions. Based on the results of the determination, an indicator bit for indicating whether the target function exists can be configured in the third type of bytes, and an indicator bit for indicating whether the implementation conditions are met can be configured in the fourth type of bytes, thereby generating a function configuration signal.
[0093] In one embodiment shown, the control unit can read the third type of bytes and the fourth type of bytes in the function configuration signal, determine whether the target function exists based on the indicator bits in the third type of bytes, and determine whether the implementation conditions are met based on the indicator bits in the fourth type of bytes; if the target function exists and the implementation conditions are met, then the target function is executed.
[0094] For example, from the perspective of the screen control unit, the third and fourth types of bytes can be read from the received function configuration signals. Assume that in the third type of bytes, 1 indicates the function exists, and 0 indicates the function does not exist; in the fourth type of bytes, 1 indicates the function meets the implementation conditions, and 0 indicates the function does not meet the implementation conditions. Therefore, if the target function does not exist, the interface may not be displayed on the screen. If the target function exists but does not meet the implementation conditions, the interface may not be displayed on the screen. However, if the target function exists and meets the implementation conditions, the interface corresponding to that function can be displayed on the screen, providing operation options.
[0095] In one embodiment shown, the global variable signal or the function configuration signal is transmitted based on bus technology; the bus technology includes at least one or more combinations of the following:
[0096] Serial communication network LIN, controller area network CAN, vehicle network FlexRay, and Ethernet ETH.
[0097] The aforementioned Local Interconnect Network (LIN) is typically used to connect some relatively simple electrical and electronic components inside a vehicle. It is a low-speed, low-complexity, low-cost, and easy-to-implement control bus, widely used in basic electronic controller communications such as door control, headlight control, wiper control, and window control.
[0098] The aforementioned Controller Area Network (CAN) is typically used to connect advanced electronic control systems in vehicles, such as engine control modules, braking control modules, and air conditioning control modules. CAN features high speed, multiple nodes, congestion detection, and fault tolerance, ensuring stable communication and interaction between the vehicle's advanced electronic control systems.
[0099] The aforementioned FlexRay in-vehicle network is a network communication protocol used in automobiles. It is typically used to provide real-time data transmission and high security for highly distributed control systems, such as high-speed communication between electronic control units in a vehicle, and features high security and reliability.
[0100] Ethernet (ETH), as described above, is typically used for high-speed data transmission and network communication. In the automotive field, it can be used to connect in-vehicle multimedia and infotainment systems, such as vehicle-to-everything (V2X) and smartphone connectivity, with communication speeds reaching 100Mbps or 1Gbps, supporting a wide range of network applications.
[0101] The above technical solution divides the vehicle into different functional domains, and within each functional domain, it further divides into a main control unit and slave control units. The main control unit parses global variable signals, avoiding redundant parsing by the slave control units. The main control unit determines the function to be executed for the corresponding slave control unit through parsing and generates a function configuration signal, which is then transmitted to the slave control unit. This allows the slave control unit to determine the function to be executed based on the function configuration signal. In this process, the slave control unit does not need to parse global variable signals; this is done by the main control unit, which performs fine-grained processing to determine the part corresponding to the slave control unit from the global data and transmits it to the slave control unit. This reduces wasted computing power and power consumption, improves parsing efficiency, and avoids the risk of inconsistent function parsing.
[0102] In an exemplary embodiment of this specification, an apparatus capable of implementing the above-described method is also provided.
[0103] Figure 3 This is a schematic structural diagram of a device provided in an exemplary embodiment. Please refer to... Figure 3 At the hardware level, the device includes a processor 302, an internal bus 304, a network interface 306, memory 308, and non-volatile memory 310, and may also include other hardware required for business operations. One or more embodiments of this specification can be implemented in software, such as the processor 302 reading the corresponding computer program from the non-volatile memory 310 into memory 308 and then running it. Of course, in addition to software implementation, one or more embodiments of this specification do not exclude other implementation methods, such as logic devices or a combination of hardware and software, etc. That is to say, the execution subject of the following processing flow is not limited to each logic unit, but can also be hardware or logic devices.
[0104] Please refer to Figure 4 In one software implementation, a vehicle function configuration signal transmission device 400 is provided, applied to the vehicle's main control unit. The vehicle includes at least one functional domain, which includes a main control unit and at least one slave control unit. Figure 4 As shown, the device 400 includes:
[0105] The receiving module 401 receives global variable signals transmitted by the vehicle's central control unit; wherein, the global variable signals include at least configuration parameters corresponding to the vehicle's functions;
[0106] The parsing module 402 parses the global variable signal and determines the function to be executed based on the configuration parameters.
[0107] The determination module 403 determines the function to be executed for each slave control unit based on the pre-defined functions that each slave control unit is responsible for implementing.
[0108] The configuration module 404 generates a function configuration signal for any slave control unit based on the function to be executed corresponding to that slave control unit, and transmits it to the slave control unit so that the slave control unit determines the function to be executed based on the function configuration signal.
[0109] Optionally, the global variable signal or the function configuration signal is transmitted based on bus technology; the bus technology includes at least one or more of the following combinations:
[0110] Serial communication network LIN, controller area network CAN, vehicle network FlexRay, and Ethernet ETH.
[0111] Optionally, the global variable signal includes multiple data frames, each data frame having a length of multiple bytes; wherein, the first type of bytes is used to represent the vehicle's functions, and the second type of bytes is used to represent the configuration parameters corresponding to the vehicle's functions;
[0112] Furthermore, the aforementioned parsing module 402 further includes:
[0113] The system parses multiple data frames of the global variable signal, determines the vehicle's function based on the first type of bytes in each data frame, and determines whether the function has valid configuration parameters based on the second type of bytes.
[0114] If it exists, the function is identified as the function to be executed.
[0115] Optionally, the functional domain includes a human-machine interaction functional domain, the main control unit includes a main display screen control unit, the slave control unit includes a slave display screen control unit, and the function to be executed includes configuration parameters of the vehicle's functions displayed on the main screen, and configuration parameters of the functions implemented by the slave screen displayed on the slave screen.
[0116] Optionally, the functional domain includes a body functional domain, the main control unit includes a region controller of the body functional domain, and the slave control unit includes an electronic control unit of the body functional domain.
[0117] Optionally, the determining module 403 further includes:
[0118] The mapping relationship between the functions implemented by each slave control unit and the functions of the vehicle is obtained, and the functions to be executed corresponding to each slave control unit are determined according to the functions to be executed.
[0119] Optionally, the device 400 further includes:
[0120] The judgment module 405 (not shown in the figure) obtains the implementation conditions corresponding to the functions implemented by each slave control unit, and determines whether the implementation conditions are met based on the current state of the vehicle; wherein, the implementation conditions include at least vehicle mode and vehicle use mode.
[0121] Optionally, the function configuration signal includes a third type of byte and a fourth type of byte; wherein the third type of byte is used to indicate whether the function exists, and the fourth type of byte is used to indicate whether the function meets the implementation conditions;
[0122] Furthermore, the configuration module 404 further includes:
[0123] For any slave control unit, determine the target function to be executed corresponding to that slave control unit, determine whether the vehicle has the target function, and determine whether the target function meets the implementation conditions;
[0124] An indicator bit is configured in the third type of bytes to indicate whether the target function exists, and an indicator bit is configured in the fourth type of bytes to indicate whether the implementation conditions are met, so as to generate a function configuration signal.
[0125] Optionally, the function to be executed by the control unit based on the function configuration signal includes:
[0126] The third type of byte and the fourth type of byte in the function configuration signal are read from the control unit. The existence of the target function is determined according to the indicator bit in the third type of byte, and the implementation condition is determined according to the indicator bit in the fourth type of byte.
[0127] If the target function exists and the implementation conditions are met, then the target function is executed.
[0128] The implementation process of the functions and roles of each module in the above-mentioned device 400 is detailed in the implementation process of the corresponding steps in the above-mentioned vehicle function configuration signal transmission method. For relevant parts, please refer to the description of the method implementation method. It will not be repeated here.
[0129] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the units or modules can be selected to achieve the purpose of the solution described in this specification, depending on actual needs. Those skilled in the art can understand and implement this without any inventive effort.
[0130] The systems, devices, modules, or units described in the above embodiments can be implemented by computer chips or entities, or by products with certain functions. A typical implementation device is a computer, which can take the form of a personal computer, laptop computer, cellular phone, camera phone, smartphone, personal digital assistant, media player, navigation device, email sending and receiving device, game console, tablet computer, wearable device, or any combination of these devices.
[0131] In a typical configuration, a computer includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.
[0132] Memory may include non-persistent storage in computer-readable media, such as random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM. Memory is an example of computer-readable media.
[0133] Computer-readable media, including both permanent and non-permanent, removable and non-removable media, can store information using any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase-change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, CD-ROM, digital versatile optical disc (DVD) or other optical storage, magnetic tape, disk storage, quantum memory, graphene-based storage media or other magnetic storage devices, or any other non-transferable medium that can be used to store information accessible by a computing device. As defined herein, computer-readable media does not include transient computer-readable media, such as modulated data signals and carrier waves.
[0134] It should also be noted that the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes said element.
[0135] The foregoing has described specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recited in the claims may be performed in a different order than that shown in the embodiments and may still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require the specific or sequential order shown to achieve the desired result. In some embodiments, multitasking and parallel processing are possible or may be advantageous.
[0136] The terminology used in one or more embodiments of this specification is for the purpose of describing particular embodiments only and is not intended to limit the scope of one or more embodiments of this specification. The singular forms “a,” “described,” and “the” used in one or more embodiments of this specification and in the appended claims are also intended to include the plural forms unless the context clearly indicates otherwise. It should also be understood that the term “and / or” as used herein refers to and includes any or all possible combinations of one or more associated listed items.
[0137] It should be understood that although the terms first, second, third, etc., may be used to describe various information in one or more embodiments of this specification, such information should not be limited to these terms. These terms are only used to distinguish information of the same type from one another. For example, first information may also be referred to as second information without departing from the scope of one or more embodiments of this specification, and similarly, second information may also be referred to as first information. Depending on the context, the word "if" as used herein may be interpreted as "when," "in response to a determination," or "when," or "in the event of a determination."
[0138] The above description is merely a preferred embodiment of one or more embodiments of this specification and is not intended to limit the scope of one or more embodiments of this specification. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of one or more embodiments of this specification should be included within the scope of protection of one or more embodiments of this specification.
Claims
1. A method for transmitting functional configuration signals for a vehicle, applied to a main control unit of a vehicle, the vehicle including at least one functional domain, the functional domain including a main control unit and at least one slave control unit; the method comprising: Receive global variable signals transmitted by the vehicle's central control unit; wherein, the global variable signals include at least configuration parameters corresponding to the vehicle's functions; The global variable signals are parsed, and the function to be executed is determined based on the configuration parameters; Based on the pre-defined functions that each slave control unit is responsible for, the functions to be executed for each slave control unit are determined. For any slave control unit, a function configuration signal is generated based on the function to be executed corresponding to that slave control unit, and transmitted to that slave control unit so that the slave control unit determines the function to be executed based on the function configuration signal; wherein, the function configuration signal is a variable signal in the global variable signal that is related to the function to be executed corresponding to the slave control unit.
2. The method according to claim 1, wherein the global variable signal or the function configuration signal is transmitted based on bus technology; the bus technology includes at least one or more of the following combinations: Serial communication network LIN, controller area network CAN, vehicle network FlexRay, and Ethernet ETH.
3. The method according to claim 1, wherein the global variable signal comprises multiple data frames, each data frame having a length of multiple bytes; wherein, The first type of bytes is used to represent the vehicle's functions, and the second type of bytes is used to represent the configuration parameters corresponding to the vehicle's functions; The step of parsing the global variable signal and determining the function to be executed based on the configuration parameters includes: The system parses multiple data frames of the global variable signal, determines the vehicle's function based on the first type of bytes in each data frame, and determines whether the function has valid configuration parameters based on the second type of bytes. If it exists, the function is identified as the function to be executed.
4. The method according to claim 1, wherein the functional domain includes a human-machine interaction functional domain, the main control unit includes a main display screen control unit, the slave control unit includes a slave display screen control unit, and the function to be executed includes configuration parameters of the vehicle's functions displayed on the main screen, and configuration parameters of the functions implemented by the slave screen displayed on the slave screen.
5. The method according to claim 1, wherein the functional domain includes a vehicle body functional domain, the main control unit includes a region controller of the vehicle body functional domain, and the slave control unit includes an electronic control unit of the vehicle body functional domain.
6. The method according to claim 1, wherein determining the function to be executed corresponding to each slave control unit based on the pre-defined functions to be implemented by each slave control unit includes: The mapping relationship between the functions implemented by each slave control unit and the functions of the vehicle is obtained, and the functions to be executed are determined according to the functions to be executed.
7. The method according to claim 6, further comprising: The implementation conditions corresponding to the functions implemented by each slave control unit are obtained, and it is determined whether the implementation conditions are met based on the current state of the vehicle; wherein, the implementation conditions include at least vehicle mode and vehicle use mode.
8. The method according to claim 7, wherein the function configuration signal includes a third type of byte and a fourth type of byte; wherein, The third type of byte is used to indicate whether the function exists, and the fourth type of byte is used to indicate whether the function meets the implementation conditions; The step of generating a function configuration signal for any slave control unit, based on the function to be executed corresponding to that slave control unit, includes: For any slave control unit, determine the target function to be executed corresponding to that slave control unit, determine whether the vehicle has the target function, and determine whether the target function meets the implementation conditions; An indicator bit is configured in the third type of bytes to indicate whether the target function exists, and an indicator bit is configured in the fourth type of bytes to indicate whether the implementation conditions are met, so as to generate a function configuration signal.
9. The method according to claim 8, wherein the step of determining the function to be executed from the control unit based on the function configuration signal includes: The third type of byte and the fourth type of byte in the function configuration signal are read from the control unit. The existence of the target function is determined according to the indicator bit in the third type of byte, and the implementation condition is determined according to the indicator bit in the fourth type of byte. If the target function exists and the implementation conditions are met, then the target function is executed.
10. A vehicle function configuration signal transmission device, applied to a vehicle's main control unit, the vehicle including at least one functional domain, the functional domain including a main control unit and at least one slave control unit; the device comprising: The receiving module receives global variable signals transmitted by the vehicle's central control unit; wherein the global variable signals include at least configuration parameters corresponding to the vehicle's functions. The parsing module parses the global variable signals and determines the function to be executed based on the configuration parameters; The module determines the functions to be executed for each slave control unit based on the pre-defined functions that each slave control unit is responsible for implementing. The configuration module generates a function configuration signal for any slave control unit based on the function to be executed corresponding to that slave control unit, and transmits it to the slave control unit so that the slave control unit determines the function to be executed based on the function configuration signal; wherein, the function configuration signal is a variable signal in the global variable signal that is related to the function to be executed corresponding to the slave control unit.
11. An electronic device, comprising: processor; Memory used to store processor-executable instructions; The processor implements the method as described in any one of claims 1-9 by executing the executable instructions.
12. A machine-readable storage medium having stored thereon machine-readable instructions that, when executed by a processor, implement the steps of the method as claimed in any one of claims 1-9.
Citation Information
Patent Citations
Vehicle configuration system, vehicle and production device
CN112526971A
Task synchronization method, device and equipment for vehicle control unit
CN113771914A