Domain controller and starting control method and device thereof, electronic equipment and storage medium
By using the power management module to control the processor startup sequence in the vehicle domain controller, using a flash memory to meet the needs of multiple processors, the problems of increasing computing power and increasing costs of the vehicle domain controller are solved, and efficient system startup and capability are achieved Consumption management.
Patent Information
- Application Number
- CN202411051409.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-12-06
AI Technical Summary
Due to the increased computing power demand of vehicle domain controllers, the prior art improves computing power through multi-processor superposition, but it leads to an increase in production costs and the use of multiple flash memories increases additional overhead.
Design a domain controller, using a power management module to control the startup sequence of the processor, realize the startup requirements of multiple processors through a flash memory, and flexibly control the power supply of the auxiliary processor according to task pressure, reducing the use of flash memory.
It reduces the production cost of domain controllers and reduces system energy consumption when not required, achieving efficient startup and collaborative work of multiprocessor systems.
Smart Images

Figure CN119078693A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a domain controller and a startup control method, device, electronic device and storage medium thereof. Background Art
[0002] With the development of vehicle electronic architecture and intelligent driving technology, vehicles have higher and higher requirements for the computing power of domain controllers. In order to handle more complex tasks, domain controllers require higher computing power. Due to the computing power limitations of a single processor, it is currently common to use multiple processors to superimpose to improve the computing power of domain controllers. Among them, each processor forms a minimum system through peripheral components, and the minimum system consists of a power supply, a processor, a flash memory, and an EMMC (Embedded MultiMedia Card) memory. In this way, when building the domain controller through multiple processors, multiple flash memories are required. For industrial production, each additional expense means a considerable cost increase, and the multiple flash memories required for multiple processors will inevitably increase production costs. Summary of the invention
[0003] In view of this, the present application provides a domain controller and a startup control method, device, electronic device and storage medium thereof, which are used to reduce production costs.
[0004] In order to achieve the above objectives, the proposed solution is as follows:
[0005] A domain controller is applied to a vehicle, the domain controller comprising a power management module, a first processor module respectively connected to the power management module, at least one second processor module, and a flash memory respectively connected to the first processor module and the second processor module, wherein:
[0006] The power management module is used to supply power to the first processing unit when the domain controller is started;
[0007] The first processor module is used to obtain the uboot program code from the flash memory when powered, and determine whether to start the second processor module according to the task pressure, and control the power management module to power on one or more of the second processor modules when it is determined that the second processor module needs to be started;
[0008] One or more of the second processor modules are used to obtain the uboot program code from the flash storage area when powered on, and the second processor module works in conjunction with the first processor module after completing the startup.
[0009] Optionally, the first processor module includes at least one first processor and a first EMMC memory connected to the first processor, and the second processor module includes at least one second processor and an EMMC memory connected to the second processor module.
[0010] A startup control method is applied to the domain controller as described above, and the startup control method comprises the steps of:
[0011] In response to the startup control request, controlling the power management module to power on the first processor module;
[0012] Controlling the first processor module to execute startup based on the uboot program code in the flash memory after being powered on;
[0013] Determine whether the second processor module needs to be started according to the current task pressure, and terminate the startup if not necessary;
[0014] If it is determined that the second processor module still needs to be started, controlling the power management module to power on one or more of the second processor modules;
[0015] The second processor module is controlled to start up based on the uboot program code in the flash memory after being powered on.
[0016] Optionally, controlling the first processor module to execute startup based on the uboot program code in the flash memory after being powered on comprises the steps of:
[0017] Initializing the flash memory;
[0018] And read the uboot program code from the flash memory, so that the first processor completes startup based on the uboot program code.
[0019] Optionally, the first processor module performs startup based on the uboot program code in the flash memory after being powered on, further comprising the steps of:
[0020] Perform a deinitialization operation on the flash memory.
[0021] Optionally, the controlling the second processor module to execute startup based on the uboot program code in the flash memory after being powered on comprises the steps of:
[0022] Initializing the flash memory;
[0023] And read the uboot program code from the flash memory, so that the second processor completes startup based on the uboot program code.
[0024] Optionally, the second processor module performs startup based on the uboot program code in the flash memory after being powered on, further comprising the steps of:
[0025] Perform a deinitialization operation on the flash memory.
[0026] Optionally, the following steps are also included:
[0027] Determining whether the current task pressure can be borne by the first processor module alone;
[0028] If yes, the power management module is controlled to power off the second processor module.
[0029] A startup control device is applied to the domain controller as described above. Optionally, the startup control device includes:
[0030] A first power-on module, configured to control the power management module to power on the first processor module in response to a start-up control request;
[0031] A first startup module is configured to control the first processor module to execute startup based on the uboot program code in the flash memory after being powered on;
[0032] A first judgment module is configured to determine whether the second processor module needs to be started according to the current task pressure, and terminate the startup if it is not necessary;
[0033] A second power-on module is configured to control the power management module to power on one or more of the second processor modules if it is determined that the second processor module still needs to be started;
[0034] The second startup module is configured to control the second processor module to execute startup based on the uboot program code in the flash memory after being powered on.
[0035] Optionally, also include:
[0036] A second judgment module is configured to judge whether the current task pressure can be borne by the first processor module alone;
[0037] The power-off control module is configured to control the power management module to perform a power-off operation on the second processor module if possible.
[0038] An electronic device, comprising at least one processor and a memory connected to the processor, wherein:
[0039] The memory is used to store computer programs or instructions;
[0040] The processor is used to execute the computer program or instruction so that the electronic device implements the startup control method as described above.
[0041] A computer-readable storage medium is applied to an electronic device, wherein the storage medium carries one or more computer programs, and the one or more computer programs can be executed by the electronic device, so that the electronic device implements the startup control method as described above.
[0042] It can be seen from the above technical solutions that the present application discloses a domain controller and its startup control method, device, electronic device and storage medium. The domain controller is applied to a vehicle, including a power management module, a first processor module connected to the power management module, at least one second processor module, and a flash memory connected to the first processor module and the second processor module. The power management module is used to supply power to the first processor module when the domain controller is started; when the first processor module is powered on, it is used to obtain the uboot program code from the flash memory, and determine whether to start the second processor module according to the task pressure, and when it is determined that the second processor module needs to be started, the power management module is controlled to power on one or more second processor modules; when one or more second processor modules are powered on, they are used to obtain the uboot program code from the flash storage area, and the second processor module works in conjunction with the first processor module after completing the startup. It can be seen from the system that the system only needs one flash memory to meet the startup requirements of multiple processor modules without configuring multiple flash storages, thereby reducing the production cost of the domain controller. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0044] Figure 1 A schematic diagram of a domain controller according to an embodiment of the present application;
[0045] Figure 2 A schematic diagram of another domain controller according to an embodiment of the present application;
[0046] Figure 3 A flowchart of a startup control method according to an embodiment of the present application;
[0047] Figure 4 A flowchart of another startup control method according to an embodiment of the present application;
[0048] Figure 5 A block diagram of a startup control device according to an embodiment of the present application;
[0049] Figure 6 A block diagram of another startup control device according to an embodiment of the present application;
[0050] Figure 7 A block diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0051] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0052] The present application provides a multi-processor domain controller and a startup control method and device thereof, which uses a power management chip to control the sequential startup of the processors of the domain controller, reduces the use of flash chips in the multi-processor domain controller, and thus achieves the purpose of reducing the production and manufacturing cost of the domain controller. For the auxiliary processor therein, it is not necessary to participate in the processing of tasks under certain tasks. When it does not participate in task processing, the power supply of the auxiliary processor is flexibly controlled by controlling the power management chip to reduce system energy consumption.
[0053] Figure 1 A structural block diagram of a domain controller according to an embodiment of the present application;
[0054] like Figure 1 As shown, the domain controller provided in this embodiment is applied to a vehicle, and the vehicle may be a passenger car, a motorcycle, an engineering vehicle, a military vehicle, etc. The domain controller comprises at least a power management module 10, a first processor module 20, one or more second processor modules 30, and a flash memory 40. The power management module is respectively connected to the first processor module and the second processor module, and is used to power on or off the first processor module and the second processor module respectively.
[0055] The flash memory in the present application stores the uboot program code required for the first processor module and the second processor module to start up. The above processor modules can only run normally after being powered on and reading the uboot (boot loader) program code. The first processor module and the second processor module respectively include corresponding processors and EMMC memories connected thereto. For example, the first processor module includes a first processor 21 and a first EMMC memory 22, and the second processor module includes a second processor 31 and a second EMMC memory 32. Figure 2 After the processor module is powered on, the kernel image is read from the EMMC memory, thereby entering a normal working state.
[0056] After the first processor module is powered on by the power management module, the first processor module obtains the uboot program code from the flash memory to complete the startup work. Specifically, after powering on, the first processor module first initializes the flash memory, that is, configures the parameters of the flash so that it can establish a normal connection with itself and read the code, and reads the uboot program code from the flash after completing the initialization.
[0057] In addition, after the first processor module is started, it also determines whether it needs to start the second processor module based on the task pressure of the current task. If the task pressure is not large and it is fully capable of doing it, it will not start the second processor module. If the pressure is too great and it is unable to do it, it will control the power management module to power on one or more second processor modules to start the second processor module to work with itself, so as to better complete the tooling. When the second processor module is powered on and started, it is the same as the startup of the first processor module, and it also completes the startup by obtaining the uboot program code from the flash.
[0058] In addition, if the current system is operating normally, and if the first processor module is working in collaboration with one or more second processor modules, when it is found that the current task pressure is relatively small, the power management module can be controlled to power off one or more second processor modules, thereby reducing system energy consumption. This is even more important for mobile devices.
[0059] It can be seen from the above technical solution that this embodiment provides a domain controller, which is applied to a vehicle, including a power management module, a first processor module connected to the power management module, at least one second processor module, and a flash memory connected to the first processor module and the second processor module. The power management module is used to supply power to the first processor module when the domain controller is started; when the first processor module is powered on, it is used to obtain the uboot program code from the flash memory, and determine whether to start the second processor module according to the task pressure, and when it is determined that the second processor module needs to be started, the power management module is controlled to power on one or more second processor modules; when one or more second processor modules are powered on, they are used to obtain the uboot program code from the flash storage area, and the second processor module works in conjunction with the first processor module after completing the startup. It can be seen from the system that the system only needs one flash memory to meet the startup requirements of multiple processor modules without configuring multiple flash storages, thereby reducing the production cost of the domain controller.
[0060] The present application also provides a startup control method, which is applied to the domain controller, specifically as follows: Figure 3 As shown, the startup control method includes the following steps:
[0061] S1. Power on the first processor module according to a startup control request.
[0062] When receiving a start-up control request from the user, the power management module is controlled to power on the first processor module, so that the processor and the EMMC memory of the first processor module are powered on normally.
[0063] S2. Control the first processor to start based on the uboot program code of the flash memory.
[0064] That is, after the first processor module is powered on, it is controlled to read the uboot program code for startup from the flash memory, and perform a startup operation based on the code, so that the domain controller completes partial or complete startup. The specific process of the startup control is as follows:
[0065] First, the flash memory is initialized, that is, the operating parameters of the flash memory are configured to match the requirements of the first processor module for performing a read operation on the flash memory.
[0066] Then, the uboot program code is read from the flash memory, and a startup operation is performed based on the code after the code is read.
[0067] In addition, the solution of the present application may further include the following steps:
[0068] That is, after completing the reading of the uboot program code, the flash memory is deinitialized to restore it to its initial state before the initialization operation, so as to facilitate the subsequent reading operation of the second processor.
[0069] S3: Determine whether the second processor module needs to be started.
[0070] That is, after the first processor module is started, a judgment is made based on the computing demand of the current task pressure to determine whether the system requirements are met when only the first processor module is started. If not, it is determined that the second processor module needs to be started. If not, the startup process ends.
[0071] S4. Power on the second processor module if necessary.
[0072] That is, after determining that other second processor modules need to intervene to meet the system's requirements for computing resources, the power management module is controlled to power on one or more second processor modules.
[0073] S5. Control the second processor module to start based on the uboot program code in the flash memory.
[0074] That is, after the second processor module is powered on, it is controlled to read the uboot program code for startup from the flash memory, and perform a startup operation based on the code, so that the domain controller completes partial or complete startup. The specific process of the startup control is as follows:
[0075] First, the flash memory is initialized, that is, the operating parameters of the flash memory are configured to match the requirements of the second processor module for performing a read operation on the flash memory.
[0076] Then, the uboot program code is read from the flash memory, and a startup operation is performed based on the code after the code is read.
[0077] In addition, the solution of the present application may further include the following steps:
[0078] That is, after completing the reading of the uboot program code, the flash memory is deinitialized to restore it to its initial state before the initialization operation, so as to facilitate subsequent reading operations of other second processors thereon.
[0079] It can be seen from the above technical solution that the present application provides a startup control method, which is applied to the above domain controller. Specifically, in response to the startup control request, the power management module is controlled to power on the first processor module; the first processor module is controlled to start based on the uboot program code in the flash memory after being powered on; it is determined whether the second processor module needs to be started according to the current task pressure, and the startup is terminated if not; if it is determined that the second processor module still needs to be started, the power management module is controlled to power on one or more second processor modules; the second processor module is controlled to start based on the uboot program code in the flash memory after being powered on. Through the above steps, the domain controller can be started normally and the system energy consumption can be reduced to a certain extent.
[0080] In addition, the startup control method also includes the following steps: Figure 4 shown.
[0081] S6. Determine whether the first processor module can bear the current task pressure.
[0082] That is, when at least one second processor module is started, it is determined whether the current task pressure can be borne by the first processor module alone, that is, whether the current computing demand can be borne when only the first processor module is started. If not, no other processing is performed.
[0083] S7: Power off the second processor module.
[0084] That is, if the first processor module can already meet the current task pressure, it indicates that the computing power of the second processor module is redundant, and continuing to run it is a meaningless energy consumption for the system. At this time, the power management module is controlled to power off one or all of the second processor modules, thereby further reducing system energy consumption.
[0085] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0086] Although operations are depicted in a particular order, this should not be understood as requiring that the operations be performed in the particular order shown or in a sequential order.Multitasking and parallel processing may be advantageous under certain circumstances.
[0087] It should be understood that the various steps described in the method embodiments of the present disclosure may be performed in different orders and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this respect.
[0088] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or a combination thereof, including, but not limited to, object-oriented programming languages, such as Java, Smalltalk, C++, and conventional procedural programming languages, such as C or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer.
[0089] The present application also provides a startup control device, which is applied to the domain controller, specifically as follows Figure 5 As shown, the startup control device includes a first power-on module 100 , a first startup module 200 , a first judgment module 300 , a second power-on module 400 and a second startup module 500 .
[0090] The first power-on module is used to power on the first processor module according to a startup control request.
[0091] When receiving a start-up control request from the user, the power management module is controlled to power on the first processor module, so that the processor and the EMMC memory of the first processor module are powered on normally.
[0092] The first startup module is used to control the first processor to start based on the uboot program code of the flash memory.
[0093] That is, after the first processor module is powered on, it is controlled to read the uboot program code for startup from the flash memory, and perform a startup operation based on the code, so that the domain controller completes partial or complete startup. The specific process of the startup control is as follows:
[0094] First, the flash memory is initialized, that is, the operating parameters of the flash memory are configured to match the requirements of the first processor module for performing a read operation on the flash memory.
[0095] Then, the uboot program code is read from the flash memory, and a startup operation is performed based on the code after the code is read.
[0096] In addition, the solution of the present application may further include the following steps:
[0097] That is, after completing the reading of the uboot program code, the flash memory is deinitialized to restore it to its initial state before the initialization operation, so as to facilitate the subsequent reading operation of the second processor.
[0098] The first judging module is used to judge whether the second processor module needs to be started.
[0099] That is, after the first processor module is started, a judgment is made based on the computing demand of the current task pressure to determine whether the system requirements are met when only the first processor module is started. If not, it is determined that the second processor module needs to be started. If not, the startup process ends.
[0100] The second power-on module is used to power on the second processor module if necessary.
[0101] That is, after determining that other second processor modules need to intervene to meet the system's requirements for computing resources, the power management module is controlled to power on one or more second processor modules.
[0102] The second startup module is used to control the second processor module to start based on the uboot program code of the flash memory.
[0103] That is, after the second processor module is powered on, it is controlled to read the uboot program code for startup from the flash memory, and perform a startup operation based on the code, so that the domain controller completes partial or complete startup. The specific process of the startup control is as follows:
[0104] First, the flash memory is initialized, that is, the operating parameters of the flash memory are configured to match the requirements of the second processor module for performing a read operation on the flash memory.
[0105] Then, the uboot program code is read from the flash memory, and a startup operation is performed based on the code after the code is read.
[0106] In addition, the solution of the present application may further include the following steps:
[0107] That is, after completing the reading of the uboot program code, the flash memory is deinitialized to restore it to its initial state before the initialization operation, so as to facilitate subsequent reading operations of the second processor.
[0108] It can be seen from the above technical solution that the present application provides a startup control device, which is applied to the above domain controller. Specifically, in response to the startup control request, the power management module is controlled to power on the first processor module; the first processor module is controlled to perform startup based on the uboot program code in the flash memory after being powered on; it is determined whether the second processor module needs to be started according to the current task pressure, and the startup is terminated if not; if it is determined that the second processor module still needs to be started, the power management module is controlled to power on one or more second processor modules; the second processor module is controlled to perform startup based on the uboot program code in the flash memory after being powered on. Through the above steps, the domain controller can be started normally and the system energy consumption can be reduced to a certain extent.
[0109] In addition, the startup control device further includes a second judgment module 600 and a power-off control module 700, as shown in the figure.
[0110] The second judgment module is used to judge whether the first processor module can bear the current task pressure.
[0111] That is, when at least one second processor module is started, it is determined whether the current task pressure can be borne by the first processor module alone, that is, whether the current computing demand can be borne when only the first processor module is started. If not, no other processing is performed.
[0112] The power-off control module is used to perform a power-off operation on the second processor module.
[0113] That is, if the first processor module can already meet the current task pressure, it indicates that the computing power of the second processor module is redundant, and continuing to run it is a meaningless energy consumption for the system. At this time, the power management module is controlled to power off one or all of the second processor modules, thereby further reducing system energy consumption.
[0114] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".
[0115] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.
[0116] Figure 7 This is a block diagram of an electronic device according to an embodiment of the present application. Figure 7 , which shows a schematic diagram of the structure of an electronic device suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. The electronic device is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0117] The electronic device may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 601, which can perform various appropriate actions and processes according to a program stored in a read-only memory ROM 602 or a program loaded from an input device 606 into a random access memory RAM 603. In the RAM, various programs and data required for the operation of the electronic device are also stored. The processing device, ROM, and RAM are connected to each other via a bus 604. An input / output (I / O) interface 605 is also connected to the bus 604.
[0118] Typically, the following devices may be connected to the I / O interface: input devices including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 608 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 609. The communication device 609 may allow the electronic device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows an electronic device with various devices, it should be understood that it is not required to implement or have all the devices shown. More or fewer devices may be implemented or have alternatively.
[0119] The present application also provides a computer-readable storage medium embodiment.
[0120] The computer-readable storage medium is applied to an electronic device and carries one or more computer programs. When the one or more computer programs are executed by the electronic device, the electronic device responds to the startup control request, controls the power management module to power on the first processor module; controls the first processor module to start up based on the uboot program code in the flash memory after being powered on; determines whether the second processor module needs to be started according to the current task pressure, and ends the startup if not; if it is determined that the second processor module still needs to be started, controls the power management module to power on one or more second processor modules; controls the second processor module to start up based on the uboot program code in the flash memory after being powered on. The above steps can enable the domain controller to start normally and reduce system energy consumption to a certain extent.
[0121] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.
[0122] In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0123] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0124] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.
[0125] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.
[0126] The technical solution provided by the present invention is introduced in detail above. Specific examples are used in this article to illustrate the principle and implementation mode of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation mode and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A domain controller, applied to a vehicle, It is characterized in that The domain controller includes a power management module, a first processor module and at least one second processor module respectively connected to the power management module, and also includes a flash memory respectively connected to the first processor module and the second processor module, wherein: The power management module is used to supply power to the first processing unit when the domain controller is started; The first processor module is used to obtain the uboot program code from the flash memory when powered, and determine whether to start the second processor module according to the task pressure, and control the power management module to power on one or more of the second processor modules when it is determined that the second processor module needs to be started; One or more of the second processor modules are used to obtain the uboot program code from the flash storage area when powered on, and the second processor module works in conjunction with the first processor module after completing the startup.
2. The domain controller according to claim 1, It is characterized in that The first processor module includes at least one first processor and a first EMMC memory connected to the first processor, and the second processor module includes at least one second processor and an EMMC memory connected to the second processor module.
3. A startup control method, applied to the domain controller as claimed in claim 1 or 2, It is characterized in that The startup control method comprises the steps of: In response to the startup control request, controlling the power management module to power on the first processor module; Controlling the first processor module to execute startup based on the uboot program code in the flash memory after being powered on; Determine whether the second processor module needs to be started according to the current task pressure, and terminate the startup if not necessary; If it is determined that the second processor module still needs to be started, controlling the power management module to power on one or more of the second processor modules; The second processor module is controlled to start up based on the uboot program code in the flash memory after being powered on.
4. The startup control method according to claim 3, It is characterized in that Controlling the first processor module to execute startup based on the uboot program code in the flash memory after being powered on, comprising the steps of: Initializing the flash memory; And read the uboot program code from the flash memory, so that the first processor completes startup based on the uboot program code.
5. The startup control method according to claim 4, It is characterized in that The first processor module performs startup based on the uboot program code in the flash memory after being powered on, and further comprises the steps of: Perform a deinitialization operation on the flash memory.
6. The startup control method according to claim 3, It is characterized in that The controlling the second processor module to start up based on the uboot program code in the flash memory after being powered on comprises the steps of: Initializing the flash memory; And read the uboot program code from the flash memory, so that the second processor completes startup based on the uboot program code.
7. The startup control method according to claim 6, It is characterized in that The second processor module performs startup based on the uboot program code in the flash memory after being powered on, and further comprises the steps of: Perform a deinitialization operation on the flash memory.
8. The startup control method according to any one of claims 3 to 5, It is characterized in that Also includes the steps: Determining whether the current task pressure can be borne by the first processor module alone; If yes, the power management module is controlled to power off the second processor module.
9. A startup control device, applied to the domain controller as claimed in claim 1 or 2, It is characterized in that The startup control device comprises: A first power-on module, configured to control the power management module to power on the first processor module in response to a start-up control request; A first startup module is configured to control the first processor module to execute startup based on the uboot program code in the flash memory after being powered on; A first judgment module is configured to determine whether the second processor module needs to be started according to the current task pressure, and terminate the startup if it is not necessary; A second power-on module is configured to control the power management module to power on one or more of the second processor modules if it is determined that the second processor module still needs to be started; The second startup module is configured to control the second processor module to execute startup based on the uboot program code in the flash memory after being powered on.
10. The startup control device according to claim 9, It is characterized in that Also includes: A second judgment module is configured to judge whether the current task pressure can be borne by the first processor module alone; The power-off control module is configured to control the power management module to perform a power-off operation on the second processor module if possible.
11. An electronic device, It is characterized in that The electronic device comprises at least one processor and a memory connected to the processor, wherein: The memory is used to store computer programs or instructions; The processor is used to execute the computer program or instruction so that the electronic device implements the startup control method according to any one of claims 3 to 8.
12. A computer-readable storage medium, applied to an electronic device, It is characterized in that The storage medium carries one or more computer programs, and the one or more computer programs can be executed by the electronic device, so that the electronic device implements the startup control method according to any one of claims 3 to 8.
