Control method of vehicle, electronic device, and vehicle

By determining target and non-target functional devices based on signal control commands in the vehicle, and synchronizing the device states using only state control commands, the problem of excessive LIN line load and low processing efficiency caused by independent control of multiple functional devices is solved, achieving more efficient data transmission and processing.

CN116923294BActive Publication Date: 2026-07-24GREAT WALL MOTOR CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
GREAT WALL MOTOR CO LTD
Filing Date
2023-08-07
Publication Date
2026-07-24

AI Technical Summary

Technical Problem

The independent control of multiple functional devices in existing vehicles leads to excessive LIN line load, long control cycles, and low processing efficiency of the body controller.

Method used

By acquiring control commands, target and non-target functional devices are determined based on signal control commands. The device status is synchronized based solely on status control commands, reducing LIN line load and data transmission cycle.

Benefits of technology

It effectively shortens the processing time of the vehicle body controller, improves processing efficiency, and reduces LIN line load and data transmission cycle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116923294B_ABST
    Figure CN116923294B_ABST
Patent Text Reader

Abstract

The application provides a control method of a vehicle, an electronic device and the vehicle. The method comprises: obtaining a control instruction; determining target functional devices and non-target functional devices based on the signal control instruction; and synchronously controlling the functional device states of the target functional devices and the non-target functional devices based on the state control instruction. The application determines the target functional devices based on the signal control instruction, and then controls the functional device states of the target functional devices and the non-target functional devices based on the state control instruction, without performing logical processing on each functional device and outputting a control signal to each functional device, thereby reducing the LIN line load, reducing the LIN line data transmission period, reducing the load rate of the vehicle body controller, effectively shortening the processing time and improving the processing efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of vehicle technology, and more particularly to a vehicle control method, electronic equipment, and vehicle. Background Technology

[0002] With advancements in technology, cars offer us an increasingly diverse range of features. A vehicle typically incorporates multiple identical functional components, such as interior lights, seats, or windows, providing a superior user experience and enhancing its competitiveness when consumers purchase a car. However, most of these existing systems control these identical components individually, resulting in excessive load on the LIN (Local Interconnect Network) lines, long control cycles, and low processing efficiency of the vehicle's controller, hindering practical control and usability. Summary of the Invention

[0003] In view of this, the purpose of this application is to provide a vehicle control method, electronic equipment, and vehicle.

[0004] To achieve the above objectives, the first aspect of this application provides a method for controlling a vehicle, the vehicle comprising multiple functional devices, including:

[0005] Acquire control commands, which include status control commands and signal control commands;

[0006] Based on the signal control commands, target functional devices and non-target functional devices are determined;

[0007] Based on the state control instructions, the states of the target functional device and the non-target functional device are controlled respectively.

[0008] Optionally, determining the target functional device and non-target functional devices based on the signal control command includes:

[0009] Based on the signal control command, multiple indication information is determined, and each of the multiple indication information corresponds to a multiple functional device;

[0010] Based on the multiple indications, target functional devices and non-target functional devices are determined.

[0011] Optionally, based on the plurality of indication information, determining the target functional device and non-target functional devices includes:

[0012] If the indication information conforms to the preset allowable control rules, then the functional device corresponding to the indication information is determined to be the target functional device;

[0013] If the indication information does not conform to the preset allowable control rules, then the functional device corresponding to the indication information is determined to be a non-target functional device.

[0014] Optionally, the state control instructions include target functional device control instructions and non-target functional device control instructions;

[0015] The step of synchronously controlling the states of the target functional device and the non-target functional device based on the state control command includes:

[0016] Based on the target functional device control command, control the functional device state of the target functional device;

[0017] Based on the control command for the non-target functional device, the non-target functional device is controlled to maintain its current functional device state.

[0018] Optionally, the target functional device control instructions include color control instructions, brightness control instructions, and / or mode control instructions; the functional device status includes functional device color, functional device brightness, and / or functional device mode;

[0019] The control of the functional device state of the target functional device based on the target functional device control command includes:

[0020] Based on the color control command, brightness control command, and / or mode control command, control the functional device color, functional device brightness, and / or functional device mode of the target functional device.

[0021] Optionally, the color control instructions include a first color control instruction, a second color control instruction, and / or a third color control instruction;

[0022] Based on the color control command, controlling the functional device color of the target functional device includes:

[0023] In response to the color control command being a first color control command, a second color control command, or a third color control command, the color of the functional device is controlled to be the first color, the second color, or the third color.

[0024] In response to the color control command including at least two of a first color control command, a second color control command, and a third color control command, the color of the functional device controlling the target functional device is a mixed color, which is formed by mixing at least two of the first color, the second color, and the third color.

[0025] Optionally, the target functional device control command includes a height command, a distance command, and / or an angle command; the functional device status includes the functional device height, the distance between the functional device and the preset origin, and / or the functional device angle;

[0026] The control of the functional device state of the target functional device based on the target functional device control command includes:

[0027] Based on the height command, distance command, and / or angle command, control the height of the target functional device, the distance between the functional device and the preset origin, and / or the angle of the functional device.

[0028] Optionally, the target functional device control command includes a position command; the functional device state includes a position state.

[0029] The control of the functional device state of the target functional device based on the target functional device control command includes:

[0030] Based on the position command, the position state of the target functional device is controlled.

[0031] A second aspect of this application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that the processor, when executing the program, implements the method as described in any one of the first aspects above.

[0032] A third aspect of this application provides a vehicle that includes the electronic equipment described in the second aspect above.

[0033] As can be seen from the above, the vehicle control method, electronic device, and vehicle provided in this application determine the target functional device and non-target functional device based on signal control commands. Then, based solely on state control commands, different operations can be performed synchronously on the target functional device and non-target functional device, controlling the functional device states of the target functional device and non-target functional device respectively. There is no need to perform logic processing on each functional device separately, nor is there a need to output control signals to each functional device separately. This reduces the LIN line load, reduces the LIN line data transmission cycle, and reduces the load rate of the body controller, effectively shortening the processing time and improving the processing efficiency. Attached Figure Description

[0034] To more clearly illustrate the technical solutions in this application or related technologies, the drawings used in the description of the embodiments or related technologies will be briefly introduced below. Obviously, the drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0035] Figure 1 This is a schematic flowchart of a vehicle control method according to an embodiment of this application;

[0036] Figure 2 This is a schematic diagram of a vehicle control device according to an embodiment of this application;

[0037] Figure 3 This is a schematic diagram of an electronic device according to an embodiment of this application. Detailed Implementation

[0038] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with specific embodiments and the accompanying drawings.

[0039] It should be noted that, unless otherwise defined, the technical or scientific terms used in the embodiments of this application should have the ordinary meaning understood by one of ordinary skill in the art to which this application pertains. The terms "first," "second," and similar terms used in the embodiments of this application do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Terms such as "comprising" or "including" mean that the element or object preceding the word encompasses the elements or objects listed after the word and their equivalents, without excluding other elements or objects. Terms such as "connected" or "linked" are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. Terms such as "upper," "lower," "left," and "right" are only used to indicate relative positional relationships; when the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0040] A vehicle typically has multiple identical functional components, such as multiple interior lights, multiple seats, or multiple doors and windows. Currently, most of these identical functional components are controlled individually.

[0041] Taking vehicle seats as an example, in a four-seater car, the driver and front passenger seats are adjustable, while in a seven-seater car, the driver, front passenger, and two middle seats are all adjustable. For an adjustable seat, the seat height, distance from a preset origin (i.e., the seat's fore-aft position), and backrest angle are all adjustable. During signal transmission, for convenience, all signals for one seat correspond to one message. The number of messages needed to send the corresponding signals equals the number of seats. If a car has four adjustable seats, then four corresponding messages are needed. These four messages are transmitted sequentially, each requiring 10ms. Therefore, the data cycle on the LIN bus is 10ms × 4 = 40ms. This not only overloads the LIN bus and results in a long data transmission cycle, but also requires the vehicle controller to receive and process the four messages corresponding to the four adjustable seats separately, and then output control signals to each of the four adjustable seats based on the processing results to control their seat height, fore-aft position, and backrest angle. This process is time-consuming and inefficient.

[0042] Taking vehicle interior lights as an example, a vehicle typically includes multiple interior lights, such as germicidal lamps, armrest lights, four door floor lights, four door handle lights, vanity mirror lights, reading lights, and trunk lights. An interior light can display different colors (red, green, blue, etc.), different brightness levels (bright, dim, etc.), and different modes (e.g., static, dynamic, breathing, rhythmic modes). The color of the interior light is controlled by three color signals: R (red), G (green), and B (blue). During signal transmission, each of signals R, G, and B occupies 8 bits of the message, so the RGB primary color signals require a total of 24 bits. The brightness of the interior light is adjusted by a brightness signal, which requires 8 bits during signal transmission. The mode of the interior light is controlled by a mode signal. Since there are at least three modes for an interior light, at least three mode signals are needed, requiring at least 3 bits during signal transmission. The light's own identification signal requires 1 bit, so a single light requires at least 36 bits in the LIN message. If there are two lights, obviously a single 64-bit message cannot contain the signals for both lights; two messages are needed. Therefore, in practical applications, for convenience, all signals for one light are sent with a single message. The number of messages needed corresponds to the number of lights. If a vehicle has 20 interior lights, then 20 corresponding messages are required. These 20 messages are transmitted sequentially, and each message transmission takes 10ms. Therefore, the data cycle on the LIN bus is 10ms × 20 = 200ms. This not only overloads the LIN bus and causes excessively long data transmission cycles, but also requires the vehicle controller to receive and process 20 messages corresponding to each of the 20 interior lights separately, and then output control signals to each of the 20 interior lights based on the processing results in order to control the status, color, and brightness of these 20 interior lights. This process is time-consuming and inefficient.

[0043] Based on this, this application provides a vehicle control method, electronic device, and vehicle, which can synchronously control the functional device states of target functional devices and non-target functional devices based solely on state control commands, reducing LIN line load and data transmission cycle, and effectively shortening the processing time of the vehicle body controller.

[0044] Specifically, see Figure 1 This application provides a vehicle control method, wherein the vehicle includes multiple functional devices that can be executed by a body controller, including:

[0045] Step S100: Obtain control commands, the control commands including status control commands and signal control commands;

[0046] Step S200: Based on the signal control command, determine the target functional device and the non-target functional device;

[0047] Step S300: Based on the state control command, synchronously control the state of the target functional device and the non-target functional device.

[0048] Specifically, the vehicle includes multiple identical functional components, which may be interior lights (including germicidal lamps, armrest box lights, four door ground lights, four door handle lights, vanity mirror lights, reading lights, and trunk lighting, etc.), seats, doors and windows, button backlights, door handles, wipers, electric side steps, ambient lighting, etc.

[0049] The control commands can be issued by the user, and after the user issues the control command, the body controller receives the control command. The control commands include at least status control commands and signal control commands. The signal control commands are used to indicate the specific controlled object, that is, which functional devices need to be controlled. The status control commands are used to indicate the specific control content, that is, what aspects of the color, brightness, and / or mode of the functional devices of the controlled object need to be controlled.

[0050] The control commands can be issued by the user via voice or by clicking on relevant options on the vehicle's central control screen. The vehicle's body controller receives the control commands issued by the user. For example, the user issues a control command via voice, "Control the color of the 10th functional device to green." In this control command, the signal control command is "the 10th functional device," and the status control command is "color to green." The vehicle's voice recognition module recognizes the user's voice control command, generates voice information, and sends the voice information to the body controller. After receiving the voice information, the body controller executes subsequent steps.

[0051] After receiving the control command, the body controller determines the target functional devices and non-target functional devices based on the signal control command. Since the signal control command is used to indicate a specific controlled object, it can distinguish between objects that need to be controlled and objects that do not need to be controlled, thereby identifying the objects that need to be controlled as target functional devices and the objects that do not need to be controlled as non-target functional devices.

[0052] Then, based on the state control instructions, different control instructions are executed synchronously on the target functional device and other non-functional devices to put the target functional device and non-target functional devices in different functional device states.

[0053] In this application, target and non-target functional devices can be determined based on a single control command. Then, based solely on the state control command within the control command, different control strategies can be simultaneously executed on the target and non-target functional devices, controlling their respective functional device states. This eliminates the need for separate logic processing and control signal output for each functional device, thereby reducing LIN bus load, shortening LIN bus data transmission cycles, and lowering the load rate of the vehicle body controller, effectively shortening processing time and improving processing efficiency.

[0054] In some embodiments, step S200, based on the signal control command, determines the target functional device and non-target functional devices, including:

[0055] Step S210: Based on the signal control command, determine multiple indication information, and the multiple indication information corresponds one-to-one with multiple functional devices;

[0056] Step S220: Based on the multiple indication information, determine the target functional device and the non-target functional device.

[0057] Specifically, based on the signal control command, multiple indication information can be determined, such that the indication information of the object to be controlled differs from that of the object not to be controlled. Thus, the objects to be controlled and those not to be controlled can be distinguished solely based on the indication information. The indication information of the objects to be controlled and those not to be controlled is preset according to actual needs. For example, the indication information of the object to be controlled can be preset to "1", and the indication information of the object not to be controlled can be preset to "0"; or the indication information of the object to be controlled can be preset to "100", and the indication information of the object not to be controlled can be preset to "200", etc. The specific content of the indication information is not limited, as long as the indication information of the object to be controlled and the indication information of the object not to be controlled are different.

[0058] Since the signal control command is used to indicate a specific controlled object, the object that needs to be controlled and the object that does not need to be controlled can be determined based on the signal control command. Then, the indication information of the object that needs to be controlled is determined as the pre-set indication information of the object that needs to be controlled, and the indication information of the object that does not need to be controlled is determined as the pre-set indication information of the object that does not need to be controlled. In this way, the object that needs to be controlled and the object that does not need to be controlled can be distinguished based on the indication information.

[0059] For example, if a user issues a control command via voice, "Control the color of the 10th functional device to green," and the signal control command in this command is "the 10th functional device," then the indication information of the 10th functional device can be set differently from the indication information of other functional devices. Based solely on the indication information, the 10th functional device can be distinguished from other functional devices, facilitating subsequent different operations on the 10th functional device and other functional devices.

[0060] Multiple indication messages correspond one-to-one with multiple functional devices. These indication messages serve as identification signals. Different functional devices may have different or the same indication messages. Therefore, multiple functional devices can be grouped based on these indication messages. Devices with the same indication messages are grouped together and subjected to the same control operation based on state control commands, maintaining the same state for these devices. Conversely, different control operations are performed on functional devices with different indication messages, controlling their states differently. This allows for simultaneous control of the states of all functional devices based on only multiple indication messages and a single control command. Different control strategies are applied to devices with different indication messages, effectively shortening the processing time of the vehicle body controller and improving processing efficiency. Furthermore, the LIN cable only needs to transmit one control command and multiple indication messages, reducing the LIN cable load and data transmission cycle.

[0061] Since different functional devices may have the same or different indication information, target functional devices and non-target functional devices can be determined based on the multiple indication information. For example, multiple indication information can be judged; if the indication information conforms to a preset allowable control rule, the functional device corresponding to that indication information is determined to be a target functional device; if the indication information does not conform to the preset allowable control rule, the functional device corresponding to that indication information is determined to be a non-target functional device. In this way, target functional devices and non-target functional devices can be determined based on multiple indication information. Then, based on the target functional device control command, the functional device state of the target functional device is controlled; and based on the non-target functional device control command, the functional device state of the non-target functional device is controlled.

[0062] The preset permission control rule is a preset rule for allowing control of functional devices. When the indication information conforms to the preset permission control rule, it means that control of the functional device corresponding to the indication information is allowed, and the functional device corresponding to the indication information is the target functional device. When the indication information does not conform to the preset permission control rule, it means that control of the functional device corresponding to the indication information is not allowed, and the functional device corresponding to the indication information is a non-target functional device.

[0063] The preset allowed control rule can be that the indication information is the same as the preset allowed control information. The preset allowed control information is information preset based on testing experience or actual application. When the indication information is the same as the preset allowed control information, it indicates that control of the functional device corresponding to the indication information is allowed, and the functional device corresponding to the indication information is the target functional device. When the indication information is different from the preset allowed control information, it indicates that control of the functional device corresponding to the indication information is not allowed, and the functional device corresponding to the indication information is a non-target functional device. For example, if the preset allowed control information is "1", then when the indication information is "1", the functional device corresponding to the indication information is the target functional device. When the indication information is "0", it indicates that the functional device corresponding to the indication information is a non-target functional device.

[0064] The preset allowable control rule can also be that the indication information is an odd multiple of the preset allowable control information. The preset allowable control information is information preset based on testing experience or actual application. When the indication information is an odd multiple of the preset allowable control information, it indicates that the indication information conforms to the preset allowable control rule, and the functional device corresponding to the indication information is the target functional device. When the indication information is not an odd multiple of the preset allowable control information, it indicates that the indication information does not conform to the preset allowable control rule, and the functional device corresponding to the indication information is a non-target functional device. For example, if the preset allowable control information is "1", then when the indication information is "1", the functional device corresponding to the indication information is the target functional device. When the indication information is "3", the functional device corresponding to the indication information is the target functional device. When the indication information is "2", the functional device corresponding to the indication information is a non-target functional device. When the indication information is "6", the functional device corresponding to the indication information is a non-target functional device.

[0065] In this application, by judging whether each indication information conforms to the preset allowable control rules, it can be determined whether the functional device corresponding to each indication information is a target functional device, and then all functional devices are divided into two categories: target functional devices and non-target functional devices. Then, based on the state control command, the functional device states of the target functional devices and non-target functional devices are controlled synchronously.

[0066] In specific implementation, assuming the vehicle is equipped with 10 functional devices, the preset allowable control rule is "the indication information is the same as the preset allowable control information", and the preset allowable control information is "1".

[0067] The user issues a control command via voice: "Control the color of the second and third functional devices to red." The signal control command in the control command is "Control the second and third functional devices," and the target functional device control command is "Color to red."

[0068] After receiving the control command, the body controller determines that the indication information of the second and third functional devices is set to "1" based on the signal control instruction "control the second and third functional devices" in the control command, and at the same time determines that the indication information of the other 8 functional devices is "2".

[0069] The system determines whether each indication message conforms to the preset allowable control rule, specifically whether each indication message is the same as the preset allowable control message "1". After this determination, the indication messages for the second and third functional devices are both "1", which is the same as the preset allowable control message and conforms to the preset allowable control rule. Therefore, the second and third functional devices are determined to be target functional devices. The indication messages for the other eight functional devices are all "2", which is different from the preset allowable control message and does not conform to the preset allowable control rule. Therefore, the other eight functional devices are determined to be non-target functional devices.

[0070] Based on the target functional device control command "color is red", the color of the target functional device (i.e. the second and third functional devices) is set to red.

[0071] In this application, the body controller can determine multiple indication information based solely on signal control instructions, and then determine target functional devices and non-target functional devices based on the multiple indication information. Finally, based on state control instructions, different control strategies are executed synchronously on the target functional devices and non-target functional devices, which greatly reduces the load and data transmission time of the LIN line, shortens the processing time of the body controller, and improves processing efficiency.

[0072] In some embodiments, the state control instructions include target functional device control instructions and non-target functional device control instructions. The target functional device control instructions are used to indicate specific control content for a target functional device, and the non-target functional device control instructions are used to indicate specific control content for a non-target functional device.

[0073] Step S300, based on the state control command, controls the functional device states of the target functional device and the non-functional device respectively, including:

[0074] Step S310: Based on the target functional device control command, control the functional device state of the target functional device;

[0075] Step S320: Based on the non-target functional device control command, control the non-target functional device to maintain its current functional device state.

[0076] Specifically, the non-target functional device control instruction is used to indicate specific control content for the non-target functional device. When the state control instruction only includes the target functional device control instruction, the non-target functional device control instruction defaults to a preset instruction, which is "control the functional device state of the non-functional device to maintain its current functional device state". For example, when the received control instruction is "control the color of the second and third functional devices to be red, while other functional devices remain unchanged", then the target functional device control instruction in this control instruction is "color to red", and the non-target functional device control instruction is "other functional devices remain unchanged". When the received control instruction is "control the color of the second and third functional devices to be red", then the target functional device control instruction in this control instruction is "color to red", and the non-target functional device control instruction defaults to the preset instruction, that is, "control the functional device state of other functional devices to maintain its current functional device state".

[0077] Once the target functional device is determined, the functional device state of the target functional device is controlled based on the target functional device control command. At the same time, the non-target functional device is controlled to maintain its current functional device state based on the non-target functional device control command.

[0078] In this application, a single control command can control the state of the target functional device to change while simultaneously keeping the state of the non-target functional devices unchanged, thus maintaining their current state. In other words, a single control command can simultaneously control the state of all functional devices to meet user requirements. The body controller only needs to process based on one control command and output two execution signals, one for the target functional device and one for the non-target functional device. There is no need to receive and process messages for each functional device separately, nor to output control signals to each functional device separately, which greatly improves the processing efficiency of the body controller and shortens the processing time.

[0079] In some embodiments, the target functional device control instructions include color control instructions, brightness control instructions, and / or mode control instructions; the functional device state includes functional device color, functional device brightness, and / or functional device mode. For example, the functional device may be vehicle interior lights (including germicidal lamps, armrest box lights, four door puddle lights, four door handle lights, vanity mirror lights, reading lights, and trunk lighting, etc.), button backlights, ambient lights, etc.

[0080] Step S310 controls the functional device state of the target functional device based on the target functional device control command, including: controlling the functional device color, functional device brightness and / or functional device mode of the target functional device based on the color control command, brightness control command and / or mode control command.

[0081] Specifically, the color control instructions include a first color control instruction, a second color control instruction, and / or a third color control instruction. The first, second, and third colors are different colors, and can be one of red, green, and blue, respectively.

[0082] Based on the color control command, controlling the color of the target functional device includes:

[0083] In response to the color control command being a first color control command, a second color control command, or a third color control command, the color of the functional device is controlled to be the first color, the second color, or the third color.

[0084] In response to the color control command including at least two of a first color control command, a second color control command, and a third color control command, the color of the functional device controlling the target functional device is a mixed color, which is formed by mixing at least two of the first color, the second color, and the third color.

[0085] In specific implementation, assume the first color is red, the second color is green, and the third color is blue. When the color control command is the first color control command and the second color control command, the color of the functional device controlling the target functional device is a mixed color formed by mixing the first color and the second color, that is, yellow formed by mixing red and green.

[0086] The brightness control command sets the brightness value to XX, where XX can be a specific parameter value. A larger XX indicates greater brightness, and a smaller XX indicates less brightness. For example, the brightness value can range from 1 to 100; a brightness of 1 indicates lower brightness, and a brightness of 100 indicates higher brightness.

[0087] Based on the brightness control command, the brightness of the target functional device is controlled, specifically including: obtaining the brightness value in the brightness control command and setting the brightness value of the target functional device as the brightness value.

[0088] The functional device modes include a first mode, a second mode, or a third mode. The first mode, the second mode, and the third mode are different. The first mode, the second mode, and the third mode can be one of the following: static mode, dynamic mode, breathing mode, and rhythmic mode, respectively.

[0089] Based on the mode control command, controlling the functional device mode of the target functional device includes:

[0090] In response to the mode control command being a first mode control command, the functional device is controlled to be in the first mode;

[0091] In response to the mode control command being a second mode control command, the functional device is controlled to be in the second mode;

[0092] In response to the mode control command being a third mode control command, the functional device mode is controlled to the third mode.

[0093] In this application, the functional device states of all functional devices can be controlled based on a single control command. The control command includes signal control commands and state control commands, with the state control commands including target functional device control commands and non-target functional device control commands. Multiple indication messages are generated based on the signal control commands. The target functional device control commands include color control commands, brightness control commands, and / or mode control commands. The color control commands include a first color control command, a second color control command, and / or a third color control command, and the mode control commands include a first mode control command, a second mode control command, and / or a third mode control command.

[0094] In other words, the signals required to control the functional devices are: signals for multiple indication messages (the number of indication messages is the same as the number of functional devices), a signal for the first color control command, a signal for the second color control command, a signal for the third color control command, a signal for the brightness control command, a signal for the first mode control command, a signal for the second mode control command, and a signal for the third mode control command. During signal transmission, the signals for the first, second, and third color control commands each occupy 8 bits, the brightness control command signal occupies 8 bits, and the signals for the first, second, and third mode control commands each occupy 1 bit, for a total of 35 bits. These 35 bits are shared by all functional devices.

[0095] Furthermore, each indication signal occupies 1 bit. Therefore, in a 64-bit message, after deducting the 35 bits already used, 29 bits remain to store the indication signals. Assuming a vehicle has 20 functional devices, the signals required by these 20 devices are only the shared 35 bits plus the 20 indication signals, totaling 55 bits. This means the signals of these 20 functional devices can be placed in a single message, significantly reducing the LIN bus load and shortening the LIN bus data transmission cycle. Simultaneously, the body controller only needs to process the content of one message to control the functional device states of these 20 devices, greatly reducing the load rate of the body controller and improving processing efficiency.

[0096] In practice, it is assumed that the vehicle has 6 internal lights, which correspond to 6 indicator messages from Node1 to Node6. These 6 internal lights have the same color signal (including signals of three colors: Red, Green and Blue), brightness signal and mode signal.

[0097] When the control command is "light up all 6 inner lights and the brightness value of the inner lights is 100", Node1 to Node6 are all assigned the value 1 (which conforms to the preset allowed control rules). Then, the brightness data of the 6 inner lights is controlled to be 100, so that the 6 inner lights are lit at the same time.

[0098] When the control command is "turn off all 6 inner lights and set the brightness value of the inner lights to 0", Node1 to Node6 are all assigned a value of 1 (which conforms to the preset allowed control rules). Then, the brightness data of the 6 inner lights is controlled to be 0, thus turning off the 6 inner lights at the same time.

[0099] When the control command is "Turn off the 6th inner light and set the brightness of the 6th inner light to 0", Node1 to Node5 are all assigned a value of 0 (which does not comply with the preset allowed control rules), and Node6 is assigned a value of 1 (which complies with the preset allowed control rules). Then, the brightness of the 6th inner light is set to 0, and the state of the other inner lights remains the same as at the current moment. This achieves the goal of turning off the 6th inner light while keeping the other 5 inner lights lit at the current moment.

[0100] In this application, a single control command can control the state of the target functional device to change while simultaneously keeping the state of the non-target functional devices unchanged, maintaining their current state. In other words, a single control command can simultaneously control the state of all functional devices to meet user requirements. The body controller only needs to process based on one control command and output two execution signals, corresponding to the target and non-target functional devices respectively. There is no need to separately receive and process messages corresponding to each functional device, nor to output control signals to each functional device separately. This significantly improves the processing efficiency of the body controller, shortens processing time, and reduces LIN bus load and data transmission cycle.

[0101] In some embodiments, the target functional device control commands include height commands, distance commands, and / or angle commands; the functional device state includes the functional device height, the distance between the functional device and a preset origin, and / or the functional device angle. For example, the functional device may be an adjustable seat in a vehicle.

[0102] The control of the functional device state of the target functional device based on the target functional device control command includes: controlling the functional device height, the distance between the functional device and the preset origin, and / or the functional device angle of the target functional device based on the height command, distance command, and / or angle command.

[0103] Specifically, the height instruction includes a height value, namely the height between the target functional device and the vehicle floor. Controlling the height of the target functional device based on the height instruction includes adjusting the height of the target functional device to the stated height value.

[0104] The distance command includes a distance value, namely the distance between the target functional device and a preset origin. The preset origin is a preset measurement origin, which can be the position of the center of the bottom slide rail of the seat. Controlling the distance between the target functional device and the preset origin based on the distance command includes: adjusting the distance between the target functional device and the preset origin to the distance value.

[0105] The angle command includes an angle value, namely the angle between the back of the target functional device and a preset reference surface. The preset reference surface is a preset reference plane, which can be the plane where the vehicle floor is located. Controlling the functional device angle of the target functional device based on the angle command includes adjusting the functional device angle of the target functional device to the angle value.

[0106] In specific implementation, assuming that the functional device is an adjustable seat of a vehicle, the control commands for the target functional device include height commands, distance commands, and angle commands. The height command is 2cm, the distance command is 1cm, the angle command is 120°, the preset origin is the position of the center of the bottom slide rail of the seat, and the preset reference surface is the plane where the vehicle floor is located.

[0107] Based on the height command, distance command, and / or angle command, the height of the target functional device, the distance between the functional device and the preset origin, and the angle of the functional device are controlled, including: controlling the height between the target seat and the vehicle floor to be 2cm, controlling the distance between the target seat and the center of the corresponding seat bottom slide rail to be 1cm, and controlling the angle between the back of the target seat and the plane where the vehicle floor is located to be 120°.

[0108] In this application, different target functional device control instructions are set for different functional devices to control various functional devices in different ways, which improves the flexibility of the control method and makes it applicable to various scenarios, thereby enhancing the user's vehicle experience.

[0109] In some embodiments, the target functional device control command includes a position command; the functional device state includes a position state. For example, the functional device may be a vehicle's doors and windows (including doors and windows on the four doors, a sunroof, and a window between the rear seat and the truck bed of a pickup truck), exterior rearview mirrors, door handles, or electric side steps, etc.

[0110] The step of controlling the functional device state of the target functional device based on the target functional device control command includes: controlling the position state of the target functional device based on the position command.

[0111] Specifically, the position status may include the position status of doors and windows, the position status of exterior rearview mirrors, the position status of door handles, or the position status of electric side steps.

[0112] The door and window position status includes door and window position information, i.e., the location of the doors and windows. For example, the door and window position information can be 0%, 50%, 80%, and 100%, representing that the area of ​​the doors and windows raised accounts for 0% of the total area of ​​the doors and windows (i.e., the doors and windows are fully open), 50% of the total area of ​​the doors and windows raised accounts for 50% of the total area of ​​the doors and windows (i.e., the doors and windows are half open), 80% of the total area of ​​the doors and windows raised accounts for 80% of the total area of ​​the doors and windows, and 100% of the total area of ​​the doors and windows raised accounts for 100% of the total area of ​​the doors and windows (i.e., the doors and windows are fully closed).

[0113] Based on the position status of the doors and windows, control the functional device status of the target functional device, including: adjusting the ratio of the area of ​​the doors and windows raised by the target functional device to the total area of ​​the doors and windows as the door and window position information.

[0114] The position status of the exterior rearview mirror includes the angle information of the exterior rearview mirror, that is, the angle between the exterior rearview mirror and the plane on the side of the vehicle. For example, the position information of the exterior rearview mirror can be 40°, 50°, 60°, etc., which respectively represent that the angle between the exterior rearview mirror and the plane on the side of the vehicle is 40°, 50°, 60°, etc.

[0115] Based on the exterior rearview mirror angle information, control the functional device state of the target functional device, including: adjusting the angle between the exterior rearview mirror of the target functional device and the plane where the side of the vehicle is located to the exterior rearview mirror angle information.

[0116] In this application, different target functional device control commands are set for different functional devices to control various aspects of these devices, improving the flexibility of the control method and making it applicable to various scenarios, thus enhancing the user's driving experience. For example, for vehicle seats, the height, fore-and-aft position, and backrest angle can be controlled by setting corresponding target functional device control commands to better meet actual needs. For vehicle windows, the degree of opening can be controlled by setting corresponding target functional device control commands to better meet actual needs and provide greater flexibility.

[0117] It should be noted that the method in this embodiment can be executed by a single device, such as a computer or server. The method can also be applied in a distributed scenario, where multiple devices cooperate to complete the task. In such a distributed scenario, one of these devices may execute only one or more steps of the method in this embodiment, and the multiple devices will interact with each other to complete the method described.

[0118] It should be noted that the above description describes some embodiments of this application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in a different order than that shown in the above embodiments and still achieve the desired result. Furthermore, the processes depicted in the drawings do not necessarily require a specific or sequential order to achieve the desired result. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0119] Based on the same inventive concept, corresponding to any of the above embodiments, this application also provides a vehicle control device.

[0120] refer to Figure 2 The vehicle control device includes:

[0121] The acquisition module 200 is configured to acquire control commands, the control commands including status control commands and signal control commands;

[0122] The determination module 300 is configured to determine target functional devices and non-target functional devices based on the signal control instructions;

[0123] The execution module 400 is configured to synchronously control the functional device states of the target functional device and the non-target functional device based on the state control instructions.

[0124] In some embodiments, the determining module 300 is further configured to determine a plurality of indication information based on the signal control command, wherein the plurality of indication information corresponds one-to-one with a plurality of functional devices;

[0125] Based on the multiple indications, target functional devices and non-target functional devices are determined.

[0126] In some embodiments, the determining module 300 is further configured to determine the functional device corresponding to the indication information as the target functional device in response to the indication information conforming to a preset allowable control rule.

[0127] In some embodiments, the state control instructions include target functional device control instructions and non-target functional device control instructions.

[0128] In some embodiments, the execution module 400 is further configured to:

[0129] Based on the target functional device control command, control the functional device state of the target functional device;

[0130] Based on the control command for the non-target functional device, the non-target functional device is controlled to maintain its current functional device state.

[0131] In some embodiments, the state control instructions include color control instructions, brightness control instructions, and / or mode control instructions; the functional device state includes functional device color, functional device brightness, and / or functional device mode.

[0132] In some embodiments, the execution module 400 is further configured to control the functional device color, functional device brightness, and / or functional device mode of the target functional device based on the color control instruction, brightness control instruction, and / or mode control instruction.

[0133] In some embodiments, the color control instructions include a first color control instruction, a second color control instruction, and / or a third color control instruction.

[0134] In some embodiments, the execution module 400 is further configured to:

[0135] In response to the color control command being a first color control command, a second color control command, or a third color control command, the color of the functional device is controlled to be the first color, the second color, or the third color.

[0136] In response to the color control command including at least two of a first color control command, a second color control command, and a third color control command, the color of the functional device controlling the target functional device is a mixed color, which is formed by mixing at least two of the first color, the second color, and the third color.

[0137] In some embodiments, the target functional device control commands include height commands, distance commands, and / or angle commands; the functional device status includes functional device height, distance between the functional device and a preset origin, and / or functional device angle.

[0138] In some embodiments, the execution module 400 is further configured to: control the functional device height, the distance between the functional device and a preset origin, and / or the functional device angle of the target functional device based on the height command, distance command, and / or angle command.

[0139] In some embodiments, the target functional device control command includes a position command; the functional device state includes a position state.

[0140] In some embodiments, the execution module 400 is further configured to control the position state of the target functional device based on the position command.

[0141] For ease of description, the above devices are described in terms of function, divided into various modules. Of course, in implementing this application, the functions of each module can be implemented in one or more software and / or hardware.

[0142] The apparatus of the above embodiments is used to implement the corresponding vehicle control method in any of the foregoing embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0143] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle control method described in any of the above embodiments.

[0144] Figure 3This embodiment illustrates a more specific hardware structure of an electronic device, which may include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, memory 1020, input / output interface 1030, and communication interface 1040 are interconnected internally via the bus 1050.

[0145] The processor 1010 can be implemented using a general-purpose CPU (Central Processing Unit), microprocessor, application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0146] The memory 1020 can be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 can store the operating system and other applications. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0147] The input / output interface 1030 is used to connect input / output modules to realize information input and output. Input / output modules can be configured as components within the device (not shown in the figure) or externally connected to the device to provide corresponding functions. Input devices may include keyboards, mice, touchscreens, microphones, various sensors, etc., while output devices may include displays, speakers, vibrators, indicator lights, etc.

[0148] The communication interface 1040 is used to connect a communication module (not shown in the figure) to enable communication between this device and other devices. The communication module can communicate via wired means (such as USB, Ethernet cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0149] Bus 1050 includes a pathway for transmitting information between various components of the device, such as processor 1010, memory 1020, input / output interface 1030, and communication interface 1040.

[0150] It should be noted that although the above-described device only shows the processor 1010, memory 1020, input / output interface 1030, communication interface 1040, and bus 1050, in specific implementations, the device may also include other components necessary for normal operation. Furthermore, those skilled in the art will understand that the above-described device may only include the components necessary for implementing the embodiments of this specification, and not necessarily all the components shown in the figures.

[0151] The electronic devices described above are used to implement the corresponding vehicle control methods in any of the foregoing embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0152] Based on the same inventive concept, corresponding to the methods of any of the above embodiments, this application also provides a computer-readable storage medium storing computer instructions for causing the computer to execute the vehicle control method as described in any of the above embodiments.

[0153] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, program modules, 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, magnetic magnetic disk storage or other magnetic storage devices, or any other non-transfer medium that can be used to store information accessible by a computing device.

[0154] The computer instructions stored in the storage medium of the above embodiments are used to cause the computer to execute the vehicle control method as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0155] Based on the same inventive concept, and corresponding to the methods of any of the above embodiments, this application also provides a vehicle, which includes the control device, electronic device, or computer-readable storage medium described in any of the above embodiments. The vehicle possesses the technical effects described in any of the above embodiments, which will not be elaborated upon here.

[0156] Those skilled in the art should understand that the discussion of any of the above embodiments is merely exemplary and is not intended to imply that the scope of this application (including the claims) is limited to these examples; within the framework of this application, the technical features of the above embodiments or different embodiments can also be combined, the steps can be implemented in any order, and there are many other variations of different aspects of the embodiments of this application as described above, which are not provided in the details for the sake of brevity.

[0157] Additionally, to simplify the description and discussion, and to avoid obscuring the embodiments of this application, the well-known power / ground connections to integrated circuit (IC) chips and other components may or may not be shown in the provided drawings. Furthermore, the apparatus may be shown in block diagram form to avoid obscuring the embodiments of this application, and this also takes into account the fact that the details of the implementation of these block diagram apparatuses are highly dependent on the platform on which the embodiments of this application will be implemented (i.e., these details should be fully understood by those skilled in the art). While specific details (e.g., circuits) have been set forth to describe exemplary embodiments of this application, it will be apparent to those skilled in the art that the embodiments of this application can be implemented without these specific details or with variations thereof. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0158] Although this application has been described in conjunction with specific embodiments thereof, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may be used with the embodiments discussed.

[0159] The embodiments of this application are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of the embodiments of this application should be included within the protection scope of this application.

Claims

1. A method for controlling a vehicle, the vehicle comprising a plurality of functional devices, characterized in that, include: Acquire control commands, which include status control commands and signal control commands, wherein the status control commands include target functional device control commands and non-target functional device control commands; Based on the signal control commands, target functional devices and non-target functional devices are determined; Based on the state control instructions, the functional device states of the target functional device and the non-target functional device are synchronously controlled, including: controlling the functional device state of the target functional device based on the target functional device control instructions; and controlling the non-target functional device to maintain its current functional device state based on the non-target functional device control instructions. The target functional device control instructions include color control instructions, brightness control instructions, and / or mode control instructions; the functional device status includes functional device color, functional device brightness, and / or functional device mode. The control of the functional device state of the target functional device based on the target functional device control command includes: controlling the functional device color, functional device brightness and / or functional device mode of the target functional device based on the color control command, brightness control command and / or mode control command.

2. The control method according to claim 1, characterized in that, The step of determining the target functional device and non-target functional device based on the signal control command includes: Based on the signal control command, multiple indication information is determined, and each of the multiple indication information corresponds to a multiple functional device; Based on the multiple indications, target functional devices and non-target functional devices are determined.

3. The control method according to claim 2, characterized in that, Based on the multiple indications, the target functional device and the non-target functional device are determined, including: If the indication information conforms to the preset allowable control rules, then the functional device corresponding to the indication information is determined to be the target functional device; If the indication information does not conform to the preset allowable control rules, then the functional device corresponding to the indication information is determined to be a non-target functional device.

4. The control method according to claim 1, characterized in that, The color control instructions include a first color control instruction, a second color control instruction, and / or a third color control instruction; Based on the color control command, controlling the functional device color of the target functional device includes: In response to the color control command being a first color control command, a second color control command, or a third color control command, the color of the functional device is controlled to be the first color, the second color, or the third color. In response to the color control command including at least two of a first color control command, a second color control command, and a third color control command, the color of the functional device controlling the target functional device is a mixed color, which is formed by mixing at least two of the first color, the second color, and the third color.

5. The control method according to claim 1, characterized in that, The target functional device control commands include height commands, distance commands, and / or angle commands; the functional device status includes the functional device height, the distance between the functional device and the preset origin, and / or the functional device angle. The control of the functional device state of the target functional device based on the target functional device control command includes: Based on the height command, distance command, and / or angle command, control the height of the target functional device, the distance between the functional device and the preset origin, and / or the angle of the functional device.

6. The control method according to claim 1, characterized in that, The target functional device control commands include position commands; the functional device status includes position status. The control of the functional device state of the target functional device based on the target functional device control command includes: Based on the position command, the position state of the target functional device is controlled.

7. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the method as described in any one of claims 1 to 6.

8. A vehicle comprising the electronic device of claim 7.