Distributed power management method, device, vehicle and storage medium for vehicle

Through the distributed power management method, the problem of excessive power management module tasks and high development business coupling in the vehicle cockpit system is solved, which reduces the failure rate and cost, and improves system stability and development efficiency.

CN118323026BActive Publication Date: 2024-11-15LION AUTOMOTIVE TECH NANJING CO LTD +2
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202410778887.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-17
Publication Date
2024-11-15
Estimated Expiration
2044-06-17

AI Technical Summary

Technical Problem

The power management module of the existing vehicle cockpit system has overheated tasks and high development business coupling, resulting in confusion in power state management and increased failure rate and cost.

Method used

The distributed power management method is adopted to receive and translate the original voltage signal and bus power signal, match the software power status and send it to the message publishing and subscription publishing mechanism, broadcast and respond, reducing the business coupling between the power management module and each module. and development difficulty.

Benefits of technology

It effectively reduces the failure rate and cost of power management, improves system stability and development efficiency, and reduces the coupling degree and failure rate of power management with each module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118323026B_ABST
    Figure CN118323026B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of vehicle technology, and in particular to a distributed power management method, device, vehicle and storage medium for a vehicle, wherein the method comprises: receiving the original voltage signal and bus power signal translated by the current vehicle, then matching at least one software power state of the current vehicle, sending it to a pre-built message publishing and subscription publishing mechanism, and broadcasting at least one software power state; using a software module corresponding to at least one software power state, responding to the corresponding software power state according to a target instruction, generating and feeding back a response result. Thus, the problems of the power state management chaos of the entire cockpit system caused by the excessive task of the power management module and the high degree of development business coupling in the related technology are solved, thereby increasing the failure rate and cost of power management. By designing distributed power management, the business coupling degree, development difficulty and system failure rate of power management and each module are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of vehicle technology, and in particular to a distributed power management method and device for a vehicle, a vehicle and a storage medium. Background Art

[0002] As an important part of the electronic system, the reliability of power management is a necessary condition to ensure the stable operation of the electronic system. In the car cockpit system, there are some modules associated with the corresponding power management modules. Since the working status of these modules will affect driving safety, the software and hardware design of the power management system is very important in any environmental scenario.

[0003] In the related technology, a special power management module is designed through software to perform "centralized" management of the power status of modules involved in the cockpit system.

[0004] However, although "centralized" management can solve the complex power status management problem of the cockpit system, it also has some disadvantages: (1) The power management module is overloaded, which can easily cause problems in the central node, thereby making the power status management of the entire cockpit system chaotic; (2) The power management module is highly coupled with the corresponding modules during the development process, which can easily cause the power management development to require in-depth understanding of the business of each module, thereby increasing development and maintenance costs, which urgently needs to be improved. Summary of the invention

[0005] The present invention provides a distributed power management method, device, vehicle and storage medium for a vehicle to solve the problems in the related art that the power management module is overloaded with tasks and the high degree of coupling between development services leads to chaotic power status management of the entire cockpit system, thereby increasing the failure rate and cost of power management.

[0006] A first aspect of the present invention provides a distributed power management method for a vehicle, comprising the following steps:

[0007] Receive the original voltage signal and bus power signal translated by the current vehicle;

[0008] Matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, sending the at least one software power state to a pre-built message publishing and subscription publishing mechanism, and broadcasting the at least one software power state using the pre-built message publishing and subscription publishing mechanism;

[0009] The software module corresponding to the at least one software power state is utilized to respond to the corresponding software power state according to the target instruction, and a response result is generated and fed back.

[0010] According to one embodiment of the present invention, before receiving the original voltage signal and bus power signal translated by the current vehicle, the method further includes:

[0011] Determining whether the voltage original signal and bus power supply signal of the current vehicle are triggered;

[0012] When the voltage original signal and the bus power signal are triggered, the voltage original signal and the bus power signal are translated by an MCU (Micro Controller Unit) to obtain the translated voltage original signal and bus power signal.

[0013] According to one embodiment of the present invention, before matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, the method further includes:

[0014] classifying in software at least one software power state of the current vehicle;

[0015] The software module corresponding to each category is matched according to the classification result, and the software module and at least one software power state of the corresponding category are distributedly managed.

[0016] According to one embodiment of the present invention, after matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, the method further includes:

[0017] Build message publishing and subscription publishing mechanism;

[0018] The at least one software power state is signal-connected to the message publishing and subscription publishing mechanism, and after the signal connection is successful, the at least one software power state is received using the message publishing and subscription publishing mechanism.

[0019] According to an embodiment of the present invention, broadcasting the at least one software power state by using the pre-built message publishing and subscription publishing mechanism includes:

[0020] Establishing a broadcast mechanism corresponding to the at least one power state;

[0021] The at least one power state is broadcasted based on the broadcast mechanism and using the message publishing and subscription publishing mechanism.

[0022] According to an embodiment of the present invention, after using the software module corresponding to the at least one software power state to respond to the corresponding software power state according to the target instruction and generating and feeding back a response result, the method further includes:

[0023] Determine whether the response result meets the preset feedback result;

[0024] If the response result meets the preset feedback result, the response result is directly recorded.

[0025] According to an embodiment of the present invention, after determining whether the response result meets the preset feedback result, the method further includes:

[0026] If the response result does not conform to the preset feedback result, the software module corresponding to the at least one software power state is modified, and after the modification is successful, the response result is recorded.

[0027] According to the distributed power management method of the vehicle of the embodiment of the present invention, the original voltage signal and bus power signal after the current vehicle translation are received, and then at least one software power state of the current vehicle is matched, and it is sent to the pre-built message publishing and subscription publishing mechanism, and at least one software power state is broadcast; the software module corresponding to at least one software power state is used to respond to the corresponding software power state according to the target instruction, and the response result is generated and fed back. In this way, the problems such as the power management module being too heavy and the high coupling degree of the development business causing the power state management chaos of the entire cockpit system in the related technology, thereby increasing the failure rate and cost of power management, are solved. By designing distributed power management, the business coupling degree of power management with each module, the development difficulty and the system failure rate are reduced.

[0028] A second aspect of the present invention provides a distributed power management device for a vehicle, comprising:

[0029] A receiving module, used for receiving the original voltage signal and bus power signal translated by the current vehicle;

[0030] A broadcast module, used for matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, and sending the at least one software power state to a pre-built message publishing and subscription publishing mechanism, and broadcasting the at least one software power state by using the pre-built message publishing and subscription publishing mechanism;

[0031] The generating module is used to utilize the software module corresponding to the at least one software power state, respond to the corresponding software power state according to the target instruction, and generate and feed back a response result.

[0032] According to an embodiment of the present invention, before receiving the original voltage signal and bus power signal translated by the current vehicle, the receiving module is further used to:

[0033] Determining whether the voltage original signal and bus power supply signal of the current vehicle are triggered;

[0034] When the voltage original signal and the bus power signal are triggered, the voltage original signal and the bus power signal are translated by the MCU to obtain the translated voltage original signal and the bus power signal.

[0035] According to one embodiment of the present invention, before matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, the broadcast module is further used to:

[0036] classifying in software at least one software power state of the current vehicle;

[0037] The software module corresponding to each category is matched according to the classification result, and the software module and at least one software power state of the corresponding category are distributedly managed.

[0038] According to one embodiment of the present invention, after matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, the broadcast module is further used to:

[0039] Build message publishing and subscription publishing mechanism;

[0040] The at least one software power state is signal-connected to the message publishing and subscription publishing mechanism, and after the signal connection is successful, the at least one software power state is received using the message publishing and subscription publishing mechanism.

[0041] According to an embodiment of the present invention, the broadcast module is specifically used for:

[0042] Establishing a broadcast mechanism corresponding to the at least one power state;

[0043] The at least one power state is broadcasted based on the broadcast mechanism and using the message publishing and subscription publishing mechanism.

[0044] According to an embodiment of the present invention, after using the software module corresponding to the at least one software power state to respond to the corresponding software power state according to the target instruction and generating and feeding back a response result, the generating module is further used to:

[0045] Determine whether the response result meets the preset feedback result;

[0046] If the response result meets the preset feedback result, the response result is directly recorded.

[0047] According to an embodiment of the present invention, after determining whether the response result meets the preset feedback result, the generating module is further used to:

[0048] If the response result does not conform to the preset feedback result, the software module corresponding to the at least one software power state is modified, and after the modification is successful, the response result is recorded.

[0049] According to the distributed power management device of the vehicle of the embodiment of the present invention, the original voltage signal and bus power signal after the current vehicle translation are received, and then at least one software power state of the current vehicle is matched, and it is sent to the pre-built message publishing and subscription publishing mechanism, and at least one software power state is broadcast; the software module corresponding to at least one software power state is used to respond to the corresponding software power state according to the target instruction, and the response result is generated and fed back. In this way, the problems such as the power management module being too heavy and the high degree of coupling with the development business in the related technology causing the power state management chaos of the entire cockpit system, thereby increasing the failure rate and cost of power management, are solved. By designing distributed power management, the business coupling degree between power management and each module, the development difficulty and the system failure rate are reduced.

[0050] A third aspect of the present invention provides a vehicle, comprising: 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 distributed power management method for the vehicle as described in the above embodiment.

[0051] A fourth aspect of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the distributed power management method for a vehicle as described in the above embodiment.

[0052] Additional aspects and advantages of the present invention will be given in part in the following description and in part will be obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0054] Figure 1 A schematic diagram of a centralized power management method for a cockpit power supply in the related art;

[0055] Figure 2 A flowchart of a distributed power management method for a vehicle provided according to an embodiment of the present invention;

[0056] Figure 3 A schematic diagram of a distributed power management solution according to an embodiment of the present invention;

[0057] Figure 4 A schematic diagram illustrating an example of abstract definition of power states according to an embodiment of the present invention;

[0058] Figure 5 is a flowchart of a software execution process according to an embodiment of the present invention;

[0059] Figure 6 An exemplary diagram of a distributed power management device for a vehicle according to an embodiment of the present invention;

[0060] Figure 7 FIG. 4 is a schematic structural diagram of a vehicle according to an embodiment of the present invention. DETAILED DESCRIPTION

[0061] Embodiments of the present invention are described in detail below, examples of which 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 intended to be used to explain the present invention, and should not be construed as limiting the present invention.

[0062] The following describes the distributed power management method, device, vehicle and storage medium of the vehicle of the embodiment of the present invention with reference to the accompanying drawings. In view of the problem that the power management module in the related technology mentioned in the above background technology is too heavy and the development business coupling is high, which leads to the chaotic power state management of the entire cockpit system, thereby increasing the failure rate and cost of power management, the present invention provides a distributed power management method for a vehicle, in which the original voltage signal and bus power signal translated by the current vehicle are received, and then at least one software power state of the current vehicle is matched, and it is sent to a pre-built message publishing and subscription publishing mechanism, and at least one software power state is broadcast; using the software module corresponding to at least one software power state, responding to the corresponding software power state according to the target instruction, generating and feeding back the response result. Thus, the problems such as the power management module in the related technology is too heavy and the development business coupling is high, which leads to the chaotic power state management of the entire cockpit system, thereby increasing the failure rate and cost of power management, are solved, and the business coupling degree, development difficulty and system failure rate of power management and each module are reduced by designing distributed power management.

[0063] Specifically, before introducing the embodiments of the present invention, the power management scheme in the related art is first introduced. Figure 1As shown, in order to solve the power management problem of the cockpit system, a special power management module is designed in the software to perform "centralized" management of the power status of the modules involved in the cockpit. Although the centralized management in the related art can solve the complex power status management problem of the cockpit system, it also brings some disadvantages. For example, (1) the power management module is too heavy, which may cause the power status management of the entire cockpit system to be chaotic after the central node has problems, and may even cause bigger problems; at the same time, the heavy tasks of a single module are also the reason for the high software failure rate; (2) the power module development process is highly coupled with each module, which may easily cause the power management development to require in-depth understanding of the business of each module, thereby increasing the development cost and maintenance cost. Therefore, based on the problems of high failure rate, large fault impact range and high development business coupling brought by the centralized power management method, the embodiment of the present invention uses a distributed power management method to distribute the perception of the cockpit system power-related status, working state and mode switching, power status publishing and subscription, and power status migration response, and at the same time decouple the touch modules to reduce the power management and business coupling of each module. The specific implementation method is discussed in detail in the following embodiments.

[0064] Specifically, Figure 2 A schematic flow chart of a distributed power management method for a vehicle provided in an embodiment of the present invention.

[0065] like Figure 2 As shown, the distributed power management method of the vehicle includes the following steps:

[0066] In step S201, the translated original voltage signal and bus power signal of the current vehicle are received.

[0067] According to one embodiment of the present invention, before receiving the translated original voltage signal and bus power signal of the current vehicle, it also includes: judging whether the original voltage signal and bus power signal of the current vehicle are triggered; when the original voltage signal and the bus power signal are triggered, translating the original voltage signal and the bus power signal through the MCU to obtain the translated original voltage signal and the bus power signal.

[0068] Specifically, Figure 2As shown, the hardware system of the embodiment of the present invention supports the collection of power supply signals. Therefore, when a power supply event is triggered, including the voltage signal and bus power supply signal of the vehicle, such as ignition, shutdown and other power supply times, the MCU first receives the original voltage signal and bus power supply signal of the current vehicle, and translates the received original voltage signal and bus power supply signal to obtain the translated original voltage signal and bus power supply signal; secondly, the translated original voltage signal and bus power supply signal are sent to the SOC (System On Chip, system on chip) so that the translated original voltage signal and bus power supply signal are sent to the SOC through the SOC for distributed power management.

[0069] In step S202, at least one software power state of the current vehicle is matched according to the translated original voltage signal and the bus power signal, and at least one software power state is sent to a pre-built message publishing and subscription publishing mechanism, and at least one software power state is broadcast using the pre-built message publishing and subscription publishing mechanism.

[0070] According to one embodiment of the present invention, before matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, it also includes: classifying at least one software power state of the current vehicle in the software; matching the software module corresponding to each category according to the classification result, and distributing the software module and at least one software power state of the corresponding category.

[0071] Specifically, Figure 3 As shown, first, the embodiment of the present invention needs to classify and abstract at least one software power state of the current vehicle in the software. For example, music players, Bluetooth and other devices can be classified into the audio management category, video players, picture displays can be classified into the multimedia category, etc.; secondly, corresponding software modules are set according to each category. For example, the audio management category corresponds to the audio management module, and the multimedia category corresponds to the multimedia management module, and the audio management module and the multimedia management module respectively perform distributed management on the corresponding at least one software power state.

[0072] For example, Figure 4As shown, after receiving the translated voltage original signal and bus power signal sent by the MCU, the SOC matches the translated voltage original signal and the bus power signal to at least one software power state of the current vehicle. For example, the translated voltage original signal and the bus power signal show that the voltage of the current vehicle is operating normally, and the software power state of the current vehicle is matched to the normal working state, or the translated voltage original signal and the bus power signal show that the host of the current vehicle enters a low power consumption state but is not powered off, and the software power state of the current vehicle is matched to the sleep state, or the translated voltage original signal and the bus power signal show that the voltage of the current vehicle is lower than the normal operating range but is not powered off, and the software power state of the current vehicle is matched to the low voltage state.

[0073] According to one embodiment of the present invention, after matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, it also includes: building a message publishing and subscription publishing mechanism; connecting at least one software power state with the message publishing and subscription publishing mechanism by signal connection, and after the signal connection is successful, receiving at least one software power state by using the message publishing and subscription publishing mechanism.

[0074] Specifically, after matching at least one software power state of the current vehicle according to the translated original voltage signal and the bus power signal, the embodiment of the present invention requires the SOC to construct a low-coupling power management core distribution mechanism and a message publishing and subscription publishing mechanism to realize dynamic transmission and reception between the power management core and each module; at the same time, at least one software power state is signal-connected with the message publishing and subscription publishing mechanism, and after the signal connection is successful, at least one software power state is received using the message publishing and subscription publishing mechanism.

[0075] According to one embodiment of the present invention, at least one software power state is broadcasted using a pre-built message publishing and subscription publishing mechanism, including: building a broadcast mechanism corresponding to at least one power state; broadcasting at least one power state based on the broadcast mechanism and using the message publishing and subscription publishing mechanism.

[0076] Furthermore, after receiving at least one power state of the current vehicle, the message publishing and subscription publishing mechanism of the embodiment of the present invention broadcasts at least one power state based on the broadcast mechanism corresponding to at least one power state and utilizes the message publishing and subscription publishing mechanism to broadcast at least one power state to broadcast at least one power state of the current vehicle.

[0077] In step S203, at least one software module corresponding to the software power state is used to respond to the software power state corresponding to the target instruction, and a response result is generated and fed back.

[0078] Specifically, after the message publishing and subscription publishing mechanism of the embodiment of the present invention broadcasts at least one power state, the software module that has subscribed to the corresponding power state message will receive the relevant power message. Therefore, the software module corresponding to at least one software power state can be used to respond to the corresponding software power state according to the target instruction.

[0079] For example, the embodiment of the present invention can utilize the audio management module to respond to the audio power state as mute according to the target instruction, utilize the navigation module to respond to the navigation system as on according to the target instruction, utilize the multimedia module to respond to the multimedia power state as off according to the target instruction, etc.

[0080] According to one embodiment of the present invention, after utilizing at least one software module corresponding to a software power state to respond to the corresponding software power state according to a target instruction, generating and feeding back a response result, it also includes: determining whether the response result meets the preset feedback result; if the response result meets the preset feedback result, directly recording the response result.

[0081] According to an embodiment of the present invention, after determining whether the response result meets the preset feedback result, it also includes: if the response result does not meet the preset feedback result, correcting the software module corresponding to at least one software power state, and recording the response result after the correction is successful.

[0082] Among them, the preset feedback result can be a response result set by technical personnel in this field according to the corresponding setting of the target instruction, and is not specifically limited here.

[0083] Specifically, after the embodiment of the present invention obtains a feedback response result according to the software power state corresponding to the target instruction response, it is necessary to further determine whether the response result meets the preset feedback result. If the response result meets the preset feedback result, that is, the response result is consistent with the preset feedback result, for example, the audio management module responds to the audio power state as on, and the feedback result is also that the audio power state is on. At this time, the power state machine in the SOC is notified to directly record the response result; if the response result does not meet the preset feedback result, that is, the response result is inconsistent with the preset feedback result, for example, the audio management module responds to the audio power state as on, and the feedback result is that the audio power state is mute, or no feedback is given after timeout, it is considered that the execution has failed, and the software module corresponding to at least one software power state can be corrected, and the corresponding power response can continue to be executed according to the target instruction after correction until the response is successful and the response result is recorded.

[0084] In summary, in order to facilitate those skilled in the art to more clearly understand the implementation of the embodiments of the present invention, Figure 5 Further explanation:

[0085] S1: MCU collects power signals and translates them into SOC;

[0086] S2: The SOC power state machine maps the power signal to the abstract power state;

[0087] S3: Publish the power status to each software module through the subscription and publishing mechanism;

[0088] S4: Each software module executes a response corresponding to the power state according to its own business needs;

[0089] S5: Each power state feeds back the execution result to the power state machine through the message subscription mechanism.

[0090] Therefore, the embodiment of the present invention can reduce the business coupling degree and development difficulty of power management and each module based on the distributed power management solution, solve the decentralization problem of cockpit power management, reduce systemic failures, and problems can be quickly located and solved.

[0091] According to the distributed power management method of the vehicle of the embodiment of the present invention, the original voltage signal and bus power signal after the current vehicle translation are received, and then at least one software power state of the current vehicle is matched, and it is sent to the pre-built message publishing and subscription publishing mechanism, and at least one software power state is broadcast; the software module corresponding to at least one software power state is used to respond to the corresponding software power state according to the target instruction, and the response result is generated and fed back. In this way, the problems such as the power management module being too heavy and the high coupling degree of the development business causing the power state management chaos of the entire cockpit system in the related technology, thereby increasing the failure rate and cost of power management, are solved. By designing distributed power management, the business coupling degree of power management with each module, the development difficulty and the system failure rate are reduced.

[0092] Next, a distributed power management device for a vehicle according to an embodiment of the present invention will be described with reference to the accompanying drawings.

[0093] Figure 6 It is a block diagram of a distributed power management device for a vehicle according to an embodiment of the present invention.

[0094] like Figure 6 As shown, the distributed power management device 10 of the vehicle includes: a receiving module 100 , a broadcasting module 200 and a generating module 300 .

[0095] The receiving module 100 is used to receive the original voltage signal and bus power signal translated by the current vehicle;

[0096] The broadcast module 200 is used to match at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, and send the at least one software power state to a pre-built message publishing and subscription publishing mechanism, and broadcast the at least one software power state using the pre-built message publishing and subscription publishing mechanism;

[0097] The generating module 300 is used to utilize at least one software module corresponding to the software power state to generate and feed back a response result according to the software power state corresponding to the target instruction response.

[0098] According to one embodiment of the present invention, before receiving the original voltage signal and the bus power signal translated by the current vehicle, the receiving module 100 is further used to:

[0099] Determine whether the current vehicle voltage raw signal and bus power signal are triggered;

[0100] When the voltage original signal and the bus power signal are triggered, the voltage original signal and the bus power signal are translated by the MCU to obtain the translated voltage original signal and the bus power signal.

[0101] According to one embodiment of the present invention, before matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, the broadcast module 200 is further configured to:

[0102] classifying in software at least one software power state of the current vehicle;

[0103] The software module corresponding to each category is matched according to the classification result, and the software module and at least one software power state of the corresponding category are distributedly managed.

[0104] According to one embodiment of the present invention, after matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, the broadcast module 200 is further used to:

[0105] Build message publishing and subscription publishing mechanism;

[0106] At least one software power state is signal-connected to a message publishing and subscription publishing mechanism, and after the signal connection is successful, at least one software power state is received using the message publishing and subscription publishing mechanism.

[0107] According to one embodiment of the present invention, the broadcast module 200 is specifically used for:

[0108] Build at least one broadcast mechanism corresponding to the power state;

[0109] At least one power state is broadcasted based on a broadcast mechanism and using a message publishing and subscription publishing mechanism.

[0110] According to an embodiment of the present invention, after using at least one software module corresponding to the software power state to respond to the corresponding software power state according to the target instruction, generating and feeding back the response result, the generating module 300 is further used to:

[0111] Determine whether the response result meets the preset feedback result;

[0112] If the response result meets the preset feedback result, the response result will be directly recorded.

[0113] According to an embodiment of the present invention, after determining whether the response result meets the preset feedback result, the generating module 300 is further used to:

[0114] If the response result does not conform to the preset feedback result, the software module corresponding to at least one software power state is corrected, and after the correction is successful, the response result is recorded.

[0115] According to the distributed power management device of the vehicle of the embodiment of the present invention, the original voltage signal and bus power signal after the current vehicle translation are received, and then at least one software power state of the current vehicle is matched, and it is sent to the pre-built message publishing and subscription publishing mechanism, and at least one software power state is broadcast; the software module corresponding to at least one software power state is used to respond to the corresponding software power state according to the target instruction, and the response result is generated and fed back. In this way, the problems such as the power management module being too heavy and the high degree of coupling with the development business in the related technology causing the power state management chaos of the entire cockpit system, thereby increasing the failure rate and cost of power management, are solved. By designing distributed power management, the business coupling degree between power management and each module, the development difficulty and the system failure rate are reduced.

[0116] Figure 7 A schematic diagram of the structure of a vehicle provided in an embodiment of the present invention. The vehicle may include:

[0117] A memory 701 , a processor 702 , and a computer program stored in the memory 701 and executable on the processor 702 .

[0118] When the processor 702 executes the program, the distributed power management method for the vehicle provided in the above embodiment is implemented.

[0119] Furthermore, the vehicle also includes:

[0120] The communication interface 703 is used for communication between the memory 701 and the processor 702 .

[0121] The memory 701 is used to store computer programs that can be executed on the processor 702 .

[0122] The memory 701 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0123] If the memory 701, the processor 702 and the communication interface 703 are implemented independently, the communication interface 703, the memory 701 and the processor 702 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0124] Optionally, in a specific implementation, if the memory 701, the processor 702 and the communication interface 703 are integrated on a chip, the memory 701, the processor 702 and the communication interface 703 can communicate with each other through an internal interface.

[0125] The processor 702 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present invention.

[0126] This embodiment also provides a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, the distributed power management method for a vehicle as described above is implemented.

[0127] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0128] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of the present invention, the meaning of "N" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0129] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0130] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purposes of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples (non-exhaustive list) of computer-readable media include the following: an electrical connection with one or N wirings (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or otherwise processing in a suitable manner if necessary, and then stored in a computer memory.

[0131] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0132] A person skilled in the art may understand that all or part of the steps in the above-mentioned embodiment method may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0133] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0134] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present invention have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present invention. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present invention.

Claims

1. A distributed power management method for a vehicle, characterized in that: The following steps are involved: Receive the original voltage signal and bus power signal translated by the current vehicle; Matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, sending the at least one software power state to a pre-built message publishing and subscription publishing mechanism, and broadcasting the at least one software power state using the pre-built message publishing and subscription publishing mechanism; Using the software module corresponding to the at least one software power state, responding to the software power state corresponding to the target instruction, generating and feeding back a response result; Before matching the at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, the method further includes: classifying the at least one software power state of the current vehicle in software; matching the software module corresponding to each category according to the classification result, and distributing the software module and the at least one software power state of the corresponding category; After matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, the method further includes: constructing a message publishing and subscription publishing mechanism; connecting the at least one software power state with the message publishing and subscription publishing mechanism by signal connection, and after the signal connection is successful, receiving the at least one software power state by using the message publishing and subscription publishing mechanism; The method of broadcasting at least one of the software power states by using the pre-built message publishing and subscription publishing mechanism includes: constructing a broadcast mechanism corresponding to the at least one power state; broadcasting the at least one power state based on the broadcast mechanism and using the message publishing and subscription publishing mechanism.

2. The distributed power management method for a vehicle according to claim 1, characterized in that: Before receiving the original voltage signal and bus power signal translated by the current vehicle, the method further includes: Determining whether the voltage original signal and bus power supply signal of the current vehicle are triggered; When the voltage original signal and the bus power signal are triggered, the voltage original signal and the bus power signal are translated by a micro control unit MCU to obtain the translated voltage original signal and bus power signal.

3. The distributed power management method for a vehicle according to claim 1, characterized in that: After using the software module corresponding to the at least one software power state to respond to the corresponding software power state according to the target instruction, and generating and feeding back a response result, the method further includes: Determine whether the response result meets the preset feedback result; If the response result meets the preset feedback result, the response result is directly recorded.

4. The distributed power management method for a vehicle according to claim 3, characterized in that: After determining whether the response result meets the preset feedback result, the method further includes: If the response result does not conform to the preset feedback result, the software module corresponding to the at least one software power state is modified, and after the modification is successful, the response result is recorded.

5. A distributed power management device for a vehicle, characterized in that: include: A receiving module, used for receiving the original voltage signal and bus power signal translated by the current vehicle; A broadcast module, used for matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, and sending the at least one software power state to a pre-built message publishing and subscription publishing mechanism, and broadcasting the at least one software power state by using the pre-built message publishing and subscription publishing mechanism; A generating module, configured to generate and feed back a response result by using a software module corresponding to the at least one software power state and responding to the software power state corresponding to the target instruction; Before matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, the broadcast module is further used to: classify at least one software power state of the current vehicle in software; match the software module corresponding to each category according to the classification result, and perform distributed management of the software module and at least one software power state of the corresponding category; After matching at least one software power state of the current vehicle according to the translated voltage original signal and the bus power signal, the broadcast module is further used to: construct a message publishing and subscription publishing mechanism; connect the at least one software power state with the message publishing and subscription publishing mechanism by signal connection, and after the signal connection is successful, receive the at least one software power state by using the message publishing and subscription publishing mechanism; The broadcast module is specifically used to: construct a broadcast mechanism corresponding to the at least one power state; broadcast the at least one power state based on the broadcast mechanism and using the message publishing and subscription publishing mechanism.

6. A vehicle, characterized in that: include: 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 distributed power management method for a vehicle as described in any one of claims 1 to 4.

7. A computer-readable storage medium having a computer program stored thereon, characterized in that: The program is executed by a processor to implement the distributed power management method for a vehicle as described in any one of claims 1 to 4.

Citation Information

Cited By

  • Vehicle power management method and apparatus, vehicle, and storage medium

    EP4699869A1

  • Vehicle power management method and apparatus, vehicle, and storage medium

    WO2025260955A1