Bus system control method and device, traffic vehicle and storage medium

By allowing the target bus to enter a dormant state when other buses are not sleepy in the bus system and setting its input signal as the default signal, the energy consumption and feed accidents caused by unified control of multiple buses are solved, and more efficient energy management and system reliability are achieved.

CN119966760APending Publication Date: 2025-05-09GUANGZHOU AUTOMOBILE GROUP CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510021648.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-01-06
Publication Date
2025-05-09

AI Technical Summary

Technical Problem

In the prior art, the state of multiple buses is uniformly controlled. When one bus cannot sleep, other buses cannot enter the dormant state, resulting in large energy consumption and easy to cause power feed accidents.

Method used

In the bus system, the target bus switches to the specified gear and obtains the connected ECU status. If all ECUs are in sleep state, the target bus can enter sleep state, while the other buses set their input signal as the default signal.

Benefits of technology

Through the local dormancy scheme, the energy consumption of traffic vehicles is reduced, the probability of feed accidents is reduced, and the reliability of the system is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119966760A_ABST
    Figure CN119966760A_ABST
Patent Text Reader

Abstract

The invention discloses a bus system control method and device, a traffic vehicle and a storage medium. The bus system comprises a gateway module and multiple buses respectively connected with the gateway module, and the method comprises the following steps: switching a target bus in the multiple buses to a first specified gear; obtaining the state of an electronic controller ECU connected with the target bus; if the state of the ECU connected with the target bus is the dormant state, controlling the target bus to enter the dormant state; under the condition that the target bus is in the dormant state, other buses, in the working state, in the multiple buses are used for setting input signals from the target bus as default signals. According to the local dormancy scheme provided by the embodiment of the invention, the energy consumption of the traffic carrier can be reduced, and the probability of a feed accident of the traffic carrier is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle bus technology, and in particular to a control method, device, transportation vehicle and storage medium for a bus system. Background Art

[0002] A bus system is usually provided on the vehicle, and the bus system is composed of a gateway module and a multi-channel bus. Various functional nodes on the vehicle communicate through the above bus system.

[0003] In the related art, the states of multiple buses are controlled in a unified manner. When one bus cannot enter sleep mode, other buses cannot enter sleep mode either. This results in high energy consumption for the vehicle and is prone to cause power supply accidents. Summary of the invention

[0004] The present application proposes a control method, device, transportation vehicle and storage medium for a bus system.

[0005] In a first aspect, an embodiment of the present application provides a control method for a bus system, wherein the bus system includes a multi-way bus, and the method includes: switching a target bus in the multi-way bus to a first designated gear; obtaining the state of an electronic controller ECU connected to the target bus; if the states of the ECUs connected to the target bus are all in a sleep state, controlling the target bus to enter a sleep state; when the target bus is in a sleep state, other buses in the multi-way bus that are in a working state are used to set input signals from the target bus to default signals.

[0006] In the second aspect, an embodiment of the present application provides a control device for a bus system, the device comprising: a gear switching module, used to switch a target bus in a multi-way bus to a first specified gear; a state acquisition module, used to obtain the state of an electronic controller ECU connected to the target bus; a sleep control module, used to control the target bus to enter a sleep state if the states of the ECUs connected to the target bus are all in a sleep state; when the target bus is in a sleep state, other buses in the multi-way bus that are in a working state are used to set the input signal from the target bus to a default signal.

[0007] In a third aspect, an embodiment of the present application provides a transportation vehicle, comprising: a memory; one or more processors coupled to the memory; one or more programs, wherein one or more applications are stored in the memory and configured to be executed by one or more processors, and the one or more programs are configured for the method of the first aspect.

[0008] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which computer program instructions are stored. The computer program instructions can be called by a processor to execute the method of the first aspect.

[0009] In a fifth aspect, an embodiment of the present application provides a computer program product, which, when instructions in the computer program product are executed, is used to implement the method of the first aspect.

[0010] Compared with the prior art, the technical solution provided by the embodiment of the present application allows the target bus to enter the sleep state when other buses are not in sleep state when the target bus in the bus system is in the first designated gear and all ECUs connected to the target bus are in sleep state. Compared with the unified control of multiple buses in the related art, the local sleep solution provided by the embodiment of the present application can reduce the energy consumption of transportation vehicles and reduce the probability of power supply accidents of transportation vehicles. In addition, after the target bus enters the sleep state, the other buses set the input signal from the target bus as the default signal, thereby avoiding the situation where other buses cannot work normally after the target bus goes into sleep state, thereby improving system reliability. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0012] Figure 1 It is a schematic diagram of the implementation environment provided by the embodiment of the present application.

[0013] Figure 2 It is a structural block diagram of a bus system provided by an embodiment of the present application.

[0014] Figure 3 This is a flowchart of a method for controlling a bus system provided in another embodiment of the present application.

[0015] Figure 4 This is a flowchart of a method for controlling a bus system provided in another embodiment of the present application.

[0016] Figure 5 This is a flowchart of a method for controlling a bus system provided in another embodiment of the present application.

[0017] Figure 6 It is a block diagram of a control device of a bus system provided by an embodiment of the present application.

[0018] Figure 7 This is a structural block diagram of a transportation vehicle provided in one embodiment of the present application. DETAILED DESCRIPTION

[0019] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present application, and cannot be understood as limiting the present application.

[0020] In order to enable those skilled in the art to better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without making creative work are within the scope of protection of the present application.

[0021] Please refer to Figure 1 , which shows a schematic diagram of an implementation environment shown in an embodiment of the present application. The implementation environment may include a transportation vehicle 100, and the transportation vehicle 100 may be a vehicle, an aircraft, etc. In the embodiment of the present application, only the transportation vehicle 100 is taken as an example for description.

[0022] The vehicle 100 includes a bus system 200, in conjunction with the reference Figure 2 , which shows a structural diagram of the bus system 100.

[0023] The bus system 200 includes a multi-channel bus and a gateway module 220. The multi-channel bus includes a driving assistance bus 211, a body control bus 212, a power bus 213, a new energy bus 214, and a remote control bus 215.

[0024] The driving assistance bus 211 is connected to multiple ECUs, namely the right rear radar module, the electric power steering module, the left rear radar module, the front radar module, the front camera module and the gateway module. The body control bus 212 is connected to multiple ECUs, namely the head-up display module, the smart Bluetooth module, the multimedia host, the light control module, the wireless charging module, the seat control module, the electric tailgate module, the door control module, the life radar module and the gateway module. The power bus 213 is connected to multiple ECUs, namely the engine management system, the wire control shift module, the electronic parking module, the airbag and the gateway module. The new energy bus 214 is connected to multiple ECUs, namely the vehicle control module, the drive electrical control module, the integrated power system, the engine control module, the oil pump motor control module, the battery management system and the gateway module. The remote control bus 215 is connected to multiple ECUs, namely the remote control module and the gateway module.

[0025] Since the gateway module 220 is connected to multiple buses, cross-bus transmission can be achieved through the gateway module 220 , for example, transmitting a signal on the body control bus 212 to the driving assistance bus 212 .

[0026] In the related art, multiple buses are controlled in a unified manner. When one bus cannot sleep, other buses cannot sleep either. This causes a large amount of energy consumption for the vehicle and is prone to cause power supply accidents.

[0027] Based on the problems existing in the related art, the embodiment of the present application provides a partial sleep solution. When the target bus in the bus system is in the first designated gear and all ECUs connected to the target bus are in sleep mode, the target bus is allowed to enter sleep mode when other buses are not in sleep mode, which can reduce the energy consumption of transportation vehicles and reduce the probability of power supply accidents in transportation vehicles. In addition, after the target bus enters sleep mode, other buses set the input signal from the target bus as the default signal, thereby avoiding the situation where other buses cannot work normally after the target bus goes into sleep mode, thereby improving system reliability.

[0028] Please refer to Figure 3 , which shows a flow chart of a control method of a bus system shown in an embodiment of the present application. The method includes the following process.

[0029] S301, a target bus among multiple buses is switched to a first designated gear position.

[0030] The bus usually has multiple gears, including ON, OFF and ACC. The gear of the target bus is determined based on the state of the transportation vehicle carrying the target bus. Specifically, when the transportation vehicle is in a completely power-off state, the target bus is in the OFF gear; when the transportation vehicle is powered on and the engine is not started, the target bus is in the ACC gear; when the transportation vehicle is powered on and the engine is started, the target bus is in the ON gear.

[0031] In the embodiment of the present application, when the target bus is a driving assistance bus, the first designated gear position is the OFF gear or the ACC gear; when the target bus is a body control bus, the first designated gear position is the OFF gear; when the target bus is a power bus, the first designated gear position is the OFF gear or the ACC gear; when the target bus is a new energy bus, the first designated gear position is the OFF gear; when the target bus is a remote control bus, the first designated gear position is the OFF gear.

[0032] S302, obtaining the status of the ECU connected to the target bus.

[0033] The ECU connected to the target bus refers to the ECU connected to the bus controller of the target bus, which can send and receive CAN signals through the target bus. Taking the target bus as the driving assistance bus as an example, the ECU connected to the driving assistance bus includes the right rear radar module, the electric power steering module, the left rear radar module, the front radar module, the front camera module and the gateway module.

[0034] The status of the ECU includes a working state and a sleeping state. Optionally, the vehicle reads the value of the sleep flag of the ECU locally. If the value of the sleep flag of the ECU is a specified value, it indicates that the ECU is in a sleeping state. If the value of the sleep flag of the ECU is not a specified value, it indicates that the ECU is in a working state. The specified value is pre-set, for example, the specified value is 1.

[0035] S303: If the states of the ECUs connected to the target bus are all in the sleep state, control the target bus to enter the sleep state.

[0036] When the sleep flags of all ECUs on the target bus have the specified values, it means that there is no CAN signal to be transmitted on the target bus, and the target bus meets the sleep condition. At this time, the target bus switches to the sleep state.

[0037] When the target bus is in a dormant state, the gateway module will not forward signals from other non-dormant buses to the target bus, to prevent the target bus from being awakened, thereby saving energy consumption of the transportation vehicle and reducing the probability of power feeding accidents of the transportation vehicle. Specifically, the gateway module can directly discard signals sent from other non-dormant buses to the target bus, or the gateway module can temporarily store signals sent from other non-dormant buses to the target bus, and then send them to the target bus after the target bus is awakened.

[0038] Further, when the gateway module obtains the target signal to be transmitted to the target bus, it can also obtain the priority of the target signal. When the priority of the target signal is the first priority, the gateway module wakes up the target bus and sends the target signal to the target bus. When the priority of the target signal is the second priority, the gateway module temporarily stores the target signal, and sends the target signal to the target bus after the target bus is awakened. When the priority of the target signal is the third priority, the gateway module can directly discard the target signal. Wherein, the first priority is higher than the second priority, and the second priority is higher than the third priority. The priority of the target signal can be configured according to the type of the target signal, the function corresponding to the target signal, the triggering mode of the target signal, etc., and the embodiment of the present application is not limited to this.

[0039] When the target bus is in a dormant state, other buses in the multi-channel bus that are in an active state set the input signal from the target bus as a default signal. The default signal may be preset, such as the last input signal provided before the target bus enters the dormant state, or an average of multiple recent input signals.

[0040] After the target bus enters the dormant state, the signal generated by the ECU connected to the target bus cannot be transmitted to other buses in the working state through the gateway module. In order to prevent the ECU on other buses from not working properly, other buses need to do a good job of logical processing of the signal loss from the target bus, that is, to set the input signal from the target bus as the default signal. In this way, even if the signal from the target bus is missing, other buses can work normally, improving system reliability. For example, after the driving assistance bus enters the dormant state, if the body control bus needs the image taken by the front camera module connected to the driving assistance bus, the body control bus can use the last image taken by the front camera module before the driving assistance bus goes into sleep as the default signal.

[0041] When the target bus is in sleep mode, the gateway module will also disconnect from the target bus, thereby saving energy consumption of the transportation vehicle and reducing the probability of power supply accidents of the transportation vehicle.

[0042] In some embodiments, when a transportation vehicle is in a charging state, controlling the new energy bus to be in an awake state, and controlling other buses in a multi-way bus except the new energy bus to be in a sleep state can reduce the energy consumption of the transportation vehicle and improve the charging efficiency of the transportation vehicle.

[0043] In summary, the technical solution provided by the embodiment of the present application allows the target bus to enter a dormant state when other buses are not in a dormant state, when the target bus in the bus system is in the first designated gear and all ECUs connected to the target bus are in a dormant state. Compared with the unified control of multiple buses in the related art, the local dormancy solution provided by the embodiment of the present application can reduce the energy consumption of transportation vehicles and reduce the probability of power feeding accidents in transportation vehicles. In addition, after the target bus enters the dormant state, the other buses set the input signal from the target bus as the default signal, thereby avoiding the situation where other buses cannot work normally after the target bus goes into a dormant state, thereby improving system reliability.

[0044] Please refer to Figure 4 , which shows a flow chart of a control method of a bus system shown in an embodiment of the present application. The method includes the following process.

[0045] S401, a target bus among the multiple buses is switched to a second designated gear position.

[0046] The first designated gear position includes a second designated gear position. Optionally, the second designated gear position is the OFF gear position.

[0047] S402, when the duration of the target bus switching to the second designated gear is greater than the preset duration, if there is a target ECU on the target bus in a working state, control the target ECU to switch to a sleep state.

[0048] The preset duration is set based on experiments or experience, for example, the preset duration is 35 minutes.

[0049] In the embodiment of the present application, when the target bus is in the second designated gear position for a long time, if there is still a target ECU in a working state, the target ECU is controlled to be forced to sleep so that the target bus can sleep smoothly.

[0050] Among them, the traffic vehicle reads the value of the sleep flag of the target ECU. If the value of the sleep flag of the target ECU is not a specified value, the target ECU is in a working state.

[0051] Optionally, the transportation vehicle controls the target ECU to force sleep through the following sub-steps: controlling the target ECU to send the target object to the remote control bus through the gateway module; controlling the target ECU to disconnect the target object; and assigning the sleep flag of the target ECU to a specified value.

[0052] The remote control module in the remote control bus is used to send the target object to the cloud. In this way, the target object is monitored by the cloud instead of the target ECU, so that the target ECU does not need to maintain a working state without affecting the normal operation of the transportation vehicle, thereby ensuring that the target ECU can be forced to sleep.

[0053] The target object is used to maintain the target ECU in a networked state, and is also called a maintenance source.

[0054] S403, controlling the target bus to enter a sleep state.

[0055] After the target ECU is forced to sleep, all ECUs on the target bus enter the sleep state, and the sleep conditions are met, and the target bus enters the sleep state.

[0056] In summary, the technical solution provided by the embodiment of the present application controls the target ECU to be forced to sleep when the target bus is in the second designated gear for a long time, if there is still a target ECU in the working state, so that the target bus can smoothly enter the sleep state, which can reduce the energy consumption of the transportation vehicle and reduce the probability of power supply accidents of the transportation vehicle. In addition, by sending the target object on the target ECU to the cloud, and then disconnecting the connection with the target object, the target object is monitored by the cloud instead of the target ECU, so that the target ECU does not need to maintain the working state without affecting the normal operation of the transportation vehicle, thereby ensuring that the target ECU can be forced to sleep.

[0057] Please refer to Figure 5 , which shows a flow chart of a control method of a bus system provided by an embodiment of the present application. The method includes the following process.

[0058] S501, a target bus in a multi-channel bus is switched to a first designated gear position.

[0059] S502, obtaining the switch status of the local sleep function.

[0060] The partial sleep function is a function that allows part of the buses in the multi-channel bus to enter the sleep state. The switch state of the partial sleep function includes an open state and an closed state.

[0061] Optionally, the transportation vehicle includes a local sleep function flag, and the switch state of the local sleep function can be determined by reading the value of the local sleep function flag. When the value of the local sleep function flag is a first value, the switch state of the local sleep function is an on state; when the value of the local sleep function flag is a second value, the switch state of the local sleep function is an off state. The first value and the second value are set values, for example, the first value is 1 and the second value is 0.

[0062] The value of the local sleep function flag can be set by the user or by the default setting of the transportation vehicle.

[0063] In the case where the value of the local sleep function flag is set by the user, the transportation vehicle is provided with a local sleep function switch. When the local sleep function switch is turned off, if a first trigger signal corresponding to the local sleep function switch is received, the switch state of the local sleep function is switched from the off state to the on state, and at this time the transportation vehicle modifies the value of the local sleep function flag from the second value to the first value; when the local sleep function switch is turned on, if a second trigger signal corresponding to the local sleep function switch is received, the switch state of the local sleep function is switched from the on state to the off state, and at this time the transportation vehicle modifies the value of the local sleep function flag from the first value to the second value. The local sleep function switch can be a physical control provided on the central control panel of the transportation vehicle, or it can be a virtual control provided on the touch panel of the transportation vehicle. In other possible implementations, the user can also control the switch state of the local sleep function through voice commands.

[0064] When the value of the local sleep function flag is the default setting of the transportation vehicle, the transportation vehicle can obtain its own residual energy. When its own residual energy is less than the preset ratio, the switch state of the local sleep function is controlled to switch from the off state to the on state. The preset ratio is set according to experiments or experience. For example, the preset ratio is 50%. In this way, when the residual energy of the transportation vehicle is sufficient, a local sleep solution is not provided, thereby avoiding signal loss. When the residual energy of the transportation vehicle is not sufficient, a local sleep solution is provided, saving the energy consumption of the transportation vehicle and reducing the probability of power feeding accidents of the transportation vehicle.

[0065] S503 , when the switch state of the local sleep function is on, obtaining the state of the ECU connected to the target bus.

[0066] S504: If the states of the ECUs connected to the target bus are all in the sleep state, control the target bus to enter the sleep state.

[0067] In summary, the technical solution provided by the embodiment of the present application allows users to customize the on / off state of the local sleep function to meet the personalized needs of users. In addition, the transportation vehicle can also automatically turn on the local sleep function when the remaining energy is insufficient, saving the energy consumption of the transportation vehicle and reducing the probability of power feeding accidents of the transportation vehicle. When the remaining energy is sufficient, the local sleep function is turned off, thereby avoiding signal loss.

[0068] Please refer to Figure 6 , which shows a block diagram of a control device of a bus system provided by an embodiment of the present application. The bus system includes a multi-channel bus, and the device includes: a gear switching module 610, a state acquisition module 620 and a sleep control module 630.

[0069] The gear switching module 610 is used to switch the target bus in the multiplexed bus to the first designated gear. The state acquisition module 620 is used to acquire the state of the electronic controller ECU connected to the target bus. The sleep control module 630 is used to control the target bus to enter the sleep state if the states of the ECUs connected to the target bus are all in the sleep state. When the target bus is in the sleep state, the other buses in the multiplexed bus that are in the working state are used to set the input signal from the target bus to the default signal.

[0070] In some embodiments, the state acquisition module 620 is used to obtain the value of the sleep flag of the ECU connected to the target bus; when the value of the sleep flag of the ECU connected to the target bus is a specified value, it is determined that the state of the ECU connected to the target bus is in a sleep state.

[0071] In some embodiments, the device further includes: a forced sleep module (not shown in the figure). The forced sleep module is used to control the target ECU to switch to a sleep state if there is a target ECU in the target bus that is in a working state when the target bus is in the second designated gear for a period longer than a preset period. A sleep control module 630 is used to control the target bus to enter a sleep state.

[0072] In some embodiments, the bus system also includes a gateway module connected to the multiple buses respectively, and the multiple buses include a remote control bus; a forced sleep module, specifically used to control the target ECU to send the target object to the remote control bus through the gateway module, the remote control module in the remote control bus is used to send the target object to the cloud, and the target object is used to maintain the target ECU in an online state; control the target ECU to disconnect the target object; assign the sleep flag of the target ECU to a specified value.

[0073] In some embodiments, the bus system is applied to a transportation vehicle, and the multiple buses include a new energy bus. The sleep control module 630 is used to control the new energy bus to be in an awake state when the transportation vehicle is in a charging state, and to control other buses in the multiple buses except the new energy bus to be in a sleep state.

[0074] In some embodiments, the device further includes: a switch state acquisition module (not shown in the figure). The switch state acquisition module is used to obtain the switch state of the local sleep function. The state acquisition module 620 is used to execute the step of acquiring the state of the electronic controller ECU connected to the target bus when the switch state of the local sleep function is in the on state.

[0075] In some embodiments, the bus system is applied to a transportation vehicle, and the device further includes: an energy acquisition module and a switch control module (not shown in the figure). The energy acquisition module is used to acquire the remaining energy of the transportation vehicle. The switch control module is used to control the switch state of the local sleep function to switch to the on state when the remaining energy of the transportation vehicle is less than a preset ratio.

[0076] In summary, the technical solution provided by the embodiment of the present application allows the target bus to enter a dormant state when other buses are not in a dormant state, when the target bus in the bus system is in the first designated gear and all ECUs connected to the target bus are in a dormant state. Compared with the unified control of multiple buses in the related art, the local dormancy solution provided by the embodiment of the present application can reduce the energy consumption of transportation vehicles and reduce the probability of power feeding accidents in transportation vehicles. In addition, after the target bus enters the dormant state, the other buses set the input signal from the target bus as the default signal, thereby avoiding the situation where other buses cannot work normally after the target bus goes into a dormant state, thereby improving system reliability.

[0077] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the above-described devices and modules can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here.

[0078] In several embodiments provided in the present application, the coupling between modules may be electrical, mechanical or other forms of coupling.

[0079] In addition, each functional module in each embodiment of the present application can be integrated into a processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The above integrated modules can be implemented in the form of hardware or software functional modules.

[0080] See also Figure 6 , which shows that the embodiment of the present application also provides a transportation vehicle 600, which includes: one or more multi-core processors 610, a memory 620, and one or more applications. Among them, the one or more applications are stored in the memory 620 and are configured to be executed by the one or more multi-core processors 610, and the one or more applications are configured to execute the method described in the above embodiment.

[0081] The multi-core processor 610 may include one or more processing cores. The multi-core processor 610 uses various interfaces and lines to connect various parts of the entire battery management system, and executes various functions and processes data of the battery management system by running or executing instructions, programs, code sets or instruction sets stored in the memory 620, and calling data stored in the memory 620. Optionally, the multi-core processor 610 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The multi-core processor 610 can integrate one or more combinations of a central multi-core processor 610 (Central Processing Unit, CPU), an image multi-core processor 610 (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It can be understood that the above-mentioned modem may not be integrated into the multi-core processor 610, and may be implemented separately through a communication chip.

[0082] The memory 620 may include a random access memory 620 (Random Access Memory, RAM), and may also include a read-only memory 620 (Read-Only Memory). The memory 620 may be used to store instructions, programs, codes, code sets, or instruction sets. The memory 620 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the various method embodiments described below, etc. The data storage area may also store data created by the traffic vehicle map during use (such as a phone book, audio and video data, chat record data), etc.

[0083] An embodiment of the present application further provides a computer-readable storage medium, in which computer program instructions are stored. The computer program instructions can be called by a processor to execute the method described in the above embodiment.

[0084] The computer-readable storage medium may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk or a ROM. Optionally, the computer-readable storage medium includes a non-transitory computer-readable storage medium. The computer-readable storage medium has storage space for computer program instructions for executing any method step in the above method. These computer program instructions may be read from or written to one or more computer program products. The computer program instructions may be compressed in an appropriate form.

[0085] The above are only preferred embodiments of the present application, and are not intended to limit the present application in any form. Although the present application has been disclosed as above with preferred embodiments, it is not intended to limit the present application. Any technical personnel in the field can make some changes or modify the technical contents disclosed above into equivalent embodiments without departing from the scope of the technical solution of the present application. However, any brief modifications, equivalent changes and modifications made to the above embodiments based on the technical essence of the present application without departing from the content of the technical solution of the present application are still within the scope of the technical solution of the present application.

Claims

1. A method for controlling a bus system, characterized in that: The bus system includes a multi-channel bus, and the method includes: Switching a target bus among the plurality of buses to a first designated gear position; Acquire the state of the electronic controller ECU connected to the target bus; If the states of the ECUs connected to the target bus are all in a sleep state, controlling the target bus to enter a sleep state; When the target bus is in the dormant state, other buses in the plurality of buses that are in the working state are used to set the input signal from the target bus as a default signal.

2. The method according to claim 1, characterized in that The step of obtaining the state of an electronic controller ECU connected to the target bus includes: Obtaining the value of the sleep flag of the ECU connected to the target bus; When the value of the sleep flag of the ECU connected to the target bus is a specified value, it is determined that the state of the ECU connected to the target bus is in the sleep state.

3. The method according to claim 1, characterized in that The method further comprises: When the target bus is in the second designated gear for a time period longer than a preset time period, if there is a target ECU in the target bus in a working state, controlling the target ECU to switch to a dormant state; Control the target bus to enter a sleep state.

4. The method according to claim 3, characterized in that: The bus system further includes a gateway module connected to the plurality of buses respectively, and the plurality of buses include a remote control bus; and the control of switching the target ECU to a dormant state includes: Control the target ECU to send the target object to the remote control bus through the gateway module, the remote control module in the remote control bus is used to send the target object to the cloud, and the target object is used to maintain the target ECU in a networked state; Controlling the target ECU to disconnect the target object; Assign the sleep flag of the target ECU to a specified value.

5. The method according to any one of claims 1 to 4, characterized in that: The bus system is applied to a transportation vehicle, and the multiple buses include a new energy bus. The method further includes: When the transportation vehicle is in a charging state, the new energy bus is controlled to be in an awake state, and other buses among the multiple buses except the new energy bus are controlled to be in the sleep state.

6. The method according to any one of claims 1 to 4, characterized in that Before acquiring the state of the electronic controller ECU connected to the target bus, the method further includes: Get the switch status of the local sleep function; In a case where the switch state of the local sleep function is on, the step of acquiring the state of the electronic controller ECU connected to the target bus is performed.

7. The method according to any one of claims 1 to 4, characterized in that The bus system is applied to a transportation vehicle, and the method further comprises: Obtaining the remaining energy of the transportation vehicle; When the remaining energy of the transportation vehicle is less than a preset ratio, the switch state of the local sleep function is controlled to be switched to an on state.

8. A control device for a bus system, characterized in that: The device comprises: A gear switching module, used for switching a target bus in the plurality of buses to a first designated gear; A state acquisition module, used for acquiring the state of the electronic controller ECU connected to the target bus; A sleep control module is used to control the target bus to enter a sleep state if all ECUs connected to the target bus are in a sleep state; when the target bus is in the sleep state, other buses in the multiple buses that are in a working state are used to set the input signal from the target bus as a default signal.

9. A transportation vehicle, characterized in that: include: Memory; One or more processors coupled to the memory; One or more programs, wherein the one or more application programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs are configured to execute the method according to any one of claims 1-7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer program instructions, and the computer program instructions can be called by a processor to execute the method according to any one of claims 1 to 7.