CN116149755A - A method, device, equipment and storage medium for starting an automobile central control panel - Google Patents

A method, device, equipment and storage medium for starting an automobile central control panel Download PDF

Info

Publication number
CN116149755A
CN116149755A CN202310175284.7A CN202310175284A CN116149755A CN 116149755 A CN116149755 A CN 116149755A CN 202310175284 A CN202310175284 A CN 202310175284A CN 116149755 A CN116149755 A CN 116149755A
Authority
CN
China
Prior art keywords
central control
kernel
kernel image
control panel
starting
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310175284.7A
Other languages
Chinese (zh)
Inventor
高志刚
陈劼
王东阳
邢映彪
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Tongbada Electric Technology Co ltd
Guangzhou Tongda Auto Electric Co Ltd
Original Assignee
Guangzhou Tongbada Electric Technology Co ltd
Guangzhou Tongda Auto Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Tongbada Electric Technology Co ltd, Guangzhou Tongda Auto Electric Co Ltd filed Critical Guangzhou Tongbada Electric Technology Co ltd
Priority to CN202310175284.7A priority Critical patent/CN116149755A/en
Publication of CN116149755A publication Critical patent/CN116149755A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Stored Programmes (AREA)

Abstract

本发明公开一种汽车中控屏的启动方法、装置、设备及存储介质,该方法包括:在启动汽车的中控屏的过程中,加载压缩内核镜像,并对压缩内核镜像进行解压缩,获得内核镜像,基于内核镜像启动中控屏的内核,在内核中包括一个或多个必要驱动程序,可以减少对镜像空间的占用,仅启动必要驱动程序,减少了非必要的驱动程序的启动所需要的启动时间,实现汽车中控屏的启动时间显著减少,更能满足驾驶员对汽车中控屏的使用需求。

Figure 202310175284

The invention discloses a method, device, equipment and storage medium for starting a central control panel of an automobile. The method comprises: loading a compressed kernel image during the process of starting the central control panel of the automobile, and decompressing the compressed kernel image to obtain Kernel image, based on the kernel image to start the kernel of the central control screen, including one or more necessary drivers in the kernel, which can reduce the occupation of the image space, only start the necessary drivers, and reduce the need to start non-essential drivers The start-up time of the car's central control screen is significantly reduced, which can better meet the driver's needs for the use of the car's central control screen.

Figure 202310175284

Description

一种汽车中控屏的启动方法、装置、设备及存储介质A method, device, equipment and storage medium for starting an automobile central control panel

技术领域technical field

本发明属于汽车中控屏控制的技术领域,尤其涉及一种汽车中控屏的启动方法、装置、设备及存储介质。The invention belongs to the technical field of automobile central control panel control, and in particular relates to a starting method, device, equipment and storage medium of the automobile central control panel.

背景技术Background technique

对于汽车中控屏而言,其功能是显示汽车上的状态信息以及汽车前方以及汽车后方的摄像头画面,还有集成一些操作频次不高的控制按钮。For the car central control screen, its function is to display the status information on the car, the camera images in front of the car and the rear of the car, and integrate some control buttons that are not frequently operated.

目前的汽车中控屏,采用的是常规的Android显示芯片,启动过程需要加载大量资源,启动速度慢,无法满足驾驶员在启动车辆后,短时间内能查看到摄像头画面的需求。The current car central control screen uses a conventional Android display chip. The startup process needs to load a lot of resources, and the startup speed is slow, which cannot meet the driver's need to view the camera screen in a short time after starting the vehicle.

发明内容Contents of the invention

本发明提供了一种汽车中控屏的启动方法、装置、设备及存储介质,以解决目前汽车中控屏启动速度慢的问题。The invention provides a method, device, equipment and storage medium for starting a central control panel of an automobile, so as to solve the problem of slow starting speed of the central control panel of an automobile at present.

根据本发明的第一方面,提供了一种汽车中控屏的启动方法,所述方法包括:According to a first aspect of the present invention, a method for starting an automobile central control panel is provided, the method comprising:

在启动汽车的中控屏的过程中,加载压缩内核镜像,并对所述压缩内核镜像进行解压缩,获得内核镜像;In the process of starting the central control screen of the car, the compressed kernel image is loaded, and the compressed kernel image is decompressed to obtain the kernel image;

基于所述内核镜像启动所述中控屏的内核,在所述内核中包括一个或多个必要驱动程序。The kernel of the central control panel is started based on the kernel image, and one or more necessary driver programs are included in the kernel.

可选地,所述对所述压缩内核镜像进行解压缩,获得内核镜像,包括:Optionally, the decompressing the compressed kernel image to obtain the kernel image includes:

将所述压缩内核镜像输入至硬件解压缩单元,由所述硬件解压缩单元对所述压缩内核镜像进行解压缩;The compressed kernel image is input to a hardware decompression unit, and the compressed kernel image is decompressed by the hardware decompression unit;

从所述硬件解压缩单元读取解压缩后的内核镜像。Reading the decompressed kernel image from the hardware decompression unit.

可选地,在所述加载压缩内核镜像之前,所述方法还包括:Optionally, before loading the compressed kernel image, the method further includes:

启动中控屏的CPU,其中,所述CPU有多个。Start the CPU of the central control panel, wherein there are multiple CPUs.

可选地,所述基于所述内核镜像启动所述中控屏的内核,包括:Optionally, the starting the kernel of the central control screen based on the kernel image includes:

若所述必要驱动程序有多个,则采用多个所述CPU并行加载所述必要驱动程序。If there are multiple necessary drivers, multiple CPUs are used to load the necessary drivers in parallel.

可选地,在所述基于所述内核镜像启动所述中控屏的内核之后,所述方法还包括:Optionally, after starting the kernel of the central control screen based on the kernel image, the method further includes:

加载根文件系统;mount the root file system;

运行开机启动脚本,其中,若所述开启启动脚本中存在互相独立的多个开机启动脚本,则采用多个所述CPU并行运行所述开机启动脚本。Running the startup script, wherein, if there are multiple startup scripts independent of each other in the startup script, then using multiple CPUs to run the startup script in parallel.

可选地,在所述在后台运行开机启动脚本之后,所述方法还包括:Optionally, after the startup script is run in the background, the method further includes:

启动第一个应用程序;Start the first application;

加载一个或多个驱动单元,所述驱动单元为对非必要驱动程序进行编译后生成的单元。One or more driver units are loaded, and the driver units are units generated after compiling non-essential driver programs.

可选地,所述基于所述内核镜像启动所述中控屏的内核,包括:Optionally, the starting the kernel of the central control screen based on the kernel image includes:

在启动所述内核时,识别关键日志数据;identifying critical log data when the kernel is started;

将除所述关键日志数据以外的其他日志数据删除。Delete other log data except the key log data.

根据本发明的第二方面,提供了一种汽车中控屏的启动装置,所述装置包括:According to a second aspect of the present invention, there is provided a starting device for a central control panel of an automobile, the device comprising:

压缩内核镜像加载模块,用于在启动汽车的中控屏的过程中,加载压缩内核镜像;The compressed kernel image loading module is used to load the compressed kernel image during the process of starting the central control screen of the car;

解压缩模块,用于对所述压缩内核镜像进行解压缩,获得内核镜像;The decompression module is used to decompress the compressed kernel image to obtain the kernel image;

启动模块,用于基于所述内核镜像启动所述中控屏的内核,在所述内核中包括一个或多个必要驱动程序。A startup module, configured to start the kernel of the central control panel based on the kernel image, and include one or more necessary driver programs in the kernel.

根据本发明的第三方面,提供了一种电子设备,所述电子设备包括:According to a third aspect of the present invention, an electronic device is provided, and the electronic device includes:

至少一个处理器;以及at least one processor; and

与所述至少一个处理器通信连接的存储器;其中,a memory communicatively coupled to the at least one processor; wherein,

所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行本发明任一实施例所述的一种汽车中控屏的启动方法。The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor, so that the at least one processor can execute the method described in any embodiment of the present invention. A method for starting a central control panel of an automobile.

根据本发明的第四方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现本发明任一实施例所述的一种汽车中控屏的启动方法。According to a fourth aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement any of the embodiments of the present invention when executed. A method for starting a central control panel of a car.

本发明实施例的技术方案提供了一种汽车中控屏的启动方法,在启动汽车的中控屏的过程中,加载压缩内核镜像,可以减少对镜像空间的占用,并对压缩内核镜像进行解压缩,获得内核镜像,基于内核镜像启动中控屏的内核,在内核中包括一个或多个必要驱动程序,仅启动必要驱动程序,减少了非必要的驱动程序的启动所需要的启动时间,实现汽车中控屏的启动时间显著减少,更能满足驾驶员对汽车中控屏的使用需求。The technical solution of the embodiment of the present invention provides a method for starting the central control panel of the car. During the process of starting the central control panel of the car, the compressed kernel image is loaded, which can reduce the occupation of the image space and decompress the compressed kernel image. Compress, obtain the kernel image, start the kernel of the central control screen based on the kernel image, include one or more necessary drivers in the kernel, start only the necessary drivers, reduce the startup time required for the startup of non-essential drivers, and realize The start-up time of the car's central control screen is significantly reduced, which can better meet the driver's needs for the car's central control screen.

应当理解,本部分所描述的内容并非旨在标识本发明的实施例的关键或重要特征,也不用于限制本发明的范围。本发明的其它特征将通过以下的说明书而变得容易理解。It should be understood that the content described in this section is not intended to identify key or important features of the embodiments of the present invention, nor is it intended to limit the scope of the present invention. Other features of the present invention will be easily understood from the following description.

附图说明Description of drawings

为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1是根据本发明实施例一提供的一种汽车中控屏的启动方法流程图;FIG. 1 is a flow chart of a method for starting a central control panel of an automobile according to Embodiment 1 of the present invention;

图2是根据本发明实施例一提供的一种启动汽车的中控屏的流程图;Fig. 2 is a flow chart of a central control panel for starting a car according to Embodiment 1 of the present invention;

图3是根据本发明实施例二提供的一种汽车中控屏的启动装置结构示意图;Fig. 3 is a schematic structural diagram of a starting device for an automobile central control panel according to Embodiment 2 of the present invention;

图4是实现本发明实施例的一种汽车中控屏的启动方法的电子设备的结构示意图。FIG. 4 is a schematic structural diagram of an electronic device implementing a method for starting a central control panel of an automobile according to an embodiment of the present invention.

具体实施方式Detailed ways

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都应当属于本发明保护的范围。In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only It is an embodiment of a part of the present invention, but not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

需要说明的是,本发明的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便这里描述的本发明的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,例如,包含了一系列步骤或单元的过程、方法、系统、产品或设备不必限于清楚地列出的那些步骤或单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它步骤或单元。It should be noted that the terms "first" and "second" in the description and claims of the present invention and the above drawings are used to distinguish similar objects, but not necessarily used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein can be practiced in sequences other than those illustrated or described herein. Furthermore, the terms "comprising" and "having", as well as any variations thereof, are intended to cover a non-exclusive inclusion, for example, a process, method, system, product or device comprising a sequence of steps or elements is not necessarily limited to the expressly listed instead, may include other steps or elements not explicitly listed or inherent to the process, method, product or apparatus.

实施例一Embodiment one

图1为本发明实施例一提供的一种汽车中控屏的启动方法流程图。FIG. 1 is a flow chart of a method for starting a central control panel of an automobile provided by Embodiment 1 of the present invention.

随着汽车技术的发展,大部分汽车上都会配置汽车中控屏,驾驶员可以通过汽车中控屏很方便地对汽车进行驾驶控制操作,以及获得驾驶辅助。汽车中控屏已经成为整个汽车控制智能化发展的重点,随着中控屏上功能的不断集成,中控屏上可显示多种应用的展示内容,但是在准备启动汽车阶段,部分中控屏的展示内容对驾驶员的辅助性并不是很强,按照一般的驱动汽车的驾驶习惯而言,只有部分功能,如显示车身周围影像以实现安全、方便地开动汽车等,才是准备启动汽车阶段所必须的。With the development of automobile technology, most cars will be equipped with car central control screens. Drivers can easily control the car through the car central control screen and obtain driving assistance. The central control screen of the car has become the focus of the intelligent development of the entire car control. With the continuous integration of functions on the central control screen, the display content of various applications can be displayed on the central control screen. The display content of the display is not very helpful to the driver. According to the general driving habits of driving a car, only some functions, such as displaying images around the body to achieve safe and convenient driving, are the stage of preparing to start the car. necessary.

本申请实施例通过汽车启动阶段无需用到中控屏中的大量功能的特点,实现加快汽车中控屏启动的速度,以使驾驶员可以在最短的时间内使用中控屏以辅助完成驱动汽车。The embodiment of the present application realizes the acceleration of the start-up speed of the central control panel of the car through the characteristics that a large number of functions in the central control panel are not required during the start-up phase of the car, so that the driver can use the central control panel in the shortest time to assist in driving the car .

该方法可以由一种汽车中控屏的启动装置来执行,该用于汽车中控屏的启动装置可以采用硬件和/或软件的形式实现。The method can be executed by a starting device for a central control panel of a car, and the starting device for the central control panel of a car can be implemented in the form of hardware and/or software.

如图1所示,本实施例可以包括如下步骤:As shown in Figure 1, this embodiment may include the following steps:

S110,在启动汽车的中控屏的过程中,加载压缩内核镜像,并对压缩内核镜像进行解压缩,获得内核镜像;S110, during the process of starting the central control panel of the car, load the compressed kernel image, and decompress the compressed kernel image to obtain the kernel image;

S120,基于内核镜像启动中控屏的内核,在内核中包括一个或多个必要驱动程序。S120 starts the kernel of the central control panel based on the kernel image, and includes one or more necessary drivers in the kernel.

可选地,对压缩内核镜像进行解压缩,获得内核镜像,包括如下步骤:Optionally, decompressing the compressed kernel image to obtain the kernel image includes the following steps:

将压缩内核镜像输入至硬件解压缩单元,由硬件解压缩单元对压缩内核镜像进行解压缩;The compressed kernel image is input to the hardware decompression unit, and the compressed kernel image is decompressed by the hardware decompression unit;

从硬件解压缩单元读取解压缩后的内核镜像。Read the decompressed kernel image from the hardware decompression unit.

可选地,在加载压缩内核镜像之前,该方法还包括如下步骤:Optionally, before loading the compressed kernel image, the method further includes the following steps:

启动中控屏的CPU,其中,CPU有多个。Start the CPU of the central control panel, where there are multiple CPUs.

可选地,基于内核镜像启动中控屏的内核,包括如下步骤:Optionally, starting the kernel of the central control panel based on the kernel image includes the following steps:

若必要驱动程序有多个,则采用多个CPU并行加载必要驱动程序。If there are multiple necessary drivers, multiple CPUs are used to load the necessary drivers in parallel.

可选地,在基于内核镜像启动中控屏的内核之后,该方法还包括如下步骤:Optionally, after starting the kernel of the central control screen based on the kernel image, the method further includes the following steps:

加载根文件系统;mount the root file system;

运行开机启动脚本,其中,若开启启动脚本中存在互相独立的多个开机启动脚本,则采用多个CPU并行运行开机启动脚本。Running the startup script, wherein, if there are multiple startup scripts independent of each other in the startup script, multiple CPUs are used to run the startup script in parallel.

可选地,在在后台运行开机启动脚本之后,该方法还包括如下步骤:Optionally, after running the startup script in the background, the method further includes the following steps:

启动第一个应用程序;Start the first application;

加载一个或多个驱动单元,驱动单元为对非必要驱动程序进行编译后生成的单元。Load one or more driver units, which are generated after compiling non-essential drivers.

可选地,基于内核镜像启动中控屏的内核,包括如下步骤:Optionally, starting the kernel of the central control panel based on the kernel image includes the following steps:

在启动内核时,识别关键日志数据;When starting the kernel, identify critical log data;

将除关键日志数据以外的其他日志数据删除。Delete other log data except critical log data.

在本实施例中,在启动汽车的中控屏的过程中,可以参考图2的一种启动汽车的中控屏的流程图,步骤S210,上电启动中控屏,可以先通过上电对中控屏进行启动,上电启动后,需要按照步骤S220,启动中控屏的CPU。然后可以按照步骤S230,加载内核镜像,具体的,内核镜像可以从远程镜像仓库服务的仓库中进行拉取的,其中,一个镜像仓库中可以包含多个镜像,可以预先确定需要拉取的内核镜像的名字和/或标签,通过名字和/或标签既可以在仓库中定位出需要加载的内核镜像。In this embodiment, in the process of starting the central control panel of the car, one can refer to the flow chart of starting the central control panel of the car in Figure 2, step S210, power on and start the central control The central control panel is started. After power-on and startup, it is necessary to start the CPU of the central control panel according to step S220. Then, the kernel image can be loaded according to step S230. Specifically, the kernel image can be pulled from the warehouse of the remote mirror warehouse service. Wherein, a mirror warehouse can contain multiple images, and the kernel image to be pulled can be determined in advance. The name and/or label of the kernel image that needs to be loaded can be located in the warehouse through the name and/or label.

在拉取内核镜像后,为了减少内核镜像的大小,可以对拉取得到的内核镜像采用压缩镜像的方式,对内核镜像进行压缩,然后生成压缩内核镜像,如图2中的步骤S240,对内核镜像进行压缩,得到压缩内核镜像。相比于未经过压缩的内核镜像,压缩后的内核镜像所占的空间会减少,具体的,可以减少40%左右。在后续读取时所耗费的时间也会大大减少,以达到加快开启中控屏的目的。After pulling the kernel image, in order to reduce the size of the kernel image, the kernel image obtained by pulling can be compressed by compressing the image, and then the compressed kernel image is generated, as shown in step S240 in Figure 2. The image is compressed to obtain a compressed kernel image. Compared with the uncompressed kernel image, the space occupied by the compressed kernel image will be reduced, specifically, it can be reduced by about 40%. The time spent on subsequent reading will also be greatly reduced, so as to speed up the opening of the central control screen.

在实现时,在对内核镜像进行压缩时,可以把压缩后得到的压缩内核镜像烧录到设备的存储器上面,具体的,可以是存储于电路板上面的EMMC中(EMMC,Embedded MultiMedia Card,嵌入式多媒体控制器)。During implementation, when compressing the kernel image, the compressed kernel image obtained after compression can be burned onto the memory of the device. Specifically, it can be stored in the EMMC (EMMC, Embedded MultiMedia Card, Embedded MultiMedia Card) on the circuit board. multimedia controller).

可以从存储压缩内核镜像的存储器中,加载压缩内核镜像,然后按照图2中的步骤S250,对压缩内核镜像进行解压缩,得到内核镜像。The compressed kernel image may be loaded from the memory storing the compressed kernel image, and then the compressed kernel image may be decompressed according to step S250 in FIG. 2 to obtain the kernel image.

在对压缩内核镜像进行解压缩时,可以将压缩内核镜像输入至硬件解压缩单元,通过硬件解压缩单元对压缩内核镜像进行解压。利用硬件解压缩单元,相比采用CPU软件解压缩而言,可以减少解压缩的时间。本实施例中,可以采用支持硬件加速的压缩解压缩算法,启用硬件解压缩单元加速后,对压缩内核镜像解压缩的时间会大大减少,具体的,解压缩的时间可以减少50%。When decompressing the compressed kernel image, the compressed kernel image can be input to the hardware decompression unit, and the compressed kernel image is decompressed by the hardware decompression unit. Utilizing the hardware decompression unit can reduce the decompression time compared with the CPU software decompression. In this embodiment, a compression and decompression algorithm that supports hardware acceleration can be used. After the acceleration of the hardware decompression unit is enabled, the time for decompressing the compressed kernel image will be greatly reduced. Specifically, the decompression time can be reduced by 50%.

另外,硬件解压缩单元还可以是相当于一组多级的寄存器,在解压缩时,第一级的寄存器为了提高存取速度,其存储容量会较小,可以将压缩内核镜像分割成若干份,分割后的每份压缩内核镜像大小与第一级的寄存器存储容量的大小相同,或者分割后的每份压缩内核镜像大小略小于第一级的寄存器存储容量的大小。In addition, the hardware decompression unit can also be equivalent to a set of multi-level registers. When decompressing, the storage capacity of the first-level registers will be smaller in order to improve the access speed, and the compressed kernel image can be divided into several parts. , the size of each divided compressed kernel image is the same as the size of the register storage capacity of the first level, or the size of each divided compressed kernel image is slightly smaller than the size of the first level register storage capacity.

其中一份压缩内核镜像输入至该第一级的寄存器时,该第一级的寄存器可以启动解压缩,得到该份压缩内核镜像对应的内核镜像,然后将得到的内核镜像传输至下一级的存储器中进行存储,此时第一级的存储器为空,可以继续接收另一份的压缩内核镜像,继续进行解压缩。在第一级的存储器对分割后的所有压缩内核镜像分别完成解压缩后,可以从第一级的存储器对应的下一级存储器中可以读取得到完整的解压缩后的内核镜像。When one of the compressed kernel images is input to the first-level register, the first-level register can start decompression to obtain the kernel image corresponding to the compressed kernel image, and then transfer the obtained kernel image to the next-level Store in the memory, and the first-level memory is empty at this time, and you can continue to receive another compressed kernel image and continue to decompress it. After the first-level memory decompresses all the split compressed kernel images, the complete decompressed kernel image can be read from the lower-level memory corresponding to the first-level memory.

在本实施例中,对于图2中的步骤S220启动中控屏的CPU,其中,CPU可以有多个。具体的,中控屏上的处理器带有多个CPU核心,当中控屏的处理器启动时,其上面的多个CPU核心会相应的一起启动运行。由于中控屏的内核中包括一个或多个必要驱动程序,必要驱动程序对应的是对于驾驶员在启动汽车时,需要中控屏配合进行展示的内容、功能等,例如展示汽车周围的影像,以配合驾驶员将汽车驶离车位,又例如展示汽车周围与障碍物之间的距离,避免汽车在将汽车驶离车位的过程中发生剐蹭等等。In this embodiment, the CPU of the central control panel is activated for step S220 in FIG. 2 , where there may be multiple CPUs. Specifically, the processor on the central control panel has multiple CPU cores, and when the processor of the central control panel is started, the multiple CPU cores on it will start to run together correspondingly. Since the kernel of the central control screen includes one or more necessary drivers, the necessary drivers correspond to the content and functions that the driver needs to cooperate with the central control screen to display when starting the car, such as displaying images around the car, To cooperate with the driver to drive the car out of the parking space, for example, to show the distance between the car and obstacles, to avoid the car from scratching in the process of driving the car out of the parking space, etc.

对于图2中的步骤S260启动中控屏的内核,当必要驱动程序有多个时,则可以采用多个CPU并行加载必要驱动程序,每个不同的CPU分别对应一个不同的必要驱动程序实现加载,以及内存管理等。采用多个CPU并行加载必要驱动程序的方式,可以充分利用中控屏采用多核CPU的优势。示例性的,目前有A、B、C三个互不相关的必要驱动程序,A、B、C的加载时可以同时由不同的CPU进行的。目前所采用的方式中,大多数处理器虽然是多核,但是启动内核的时候始终是只使用一个CPU核心,即需要先处理A,再处理B最后再处理C。本实施例所提出的多个CPU并行处理的方式,相比起只使用一个CPU核心的方式,可以减少启动时间,具体的,多个CPU核心同时运行可以缩短2-3秒的内核启动时间。For step S260 in Figure 2 to start the kernel of the central control panel, when there are multiple necessary driver programs, multiple CPUs can be used to load the necessary driver programs in parallel, and each different CPU corresponds to a different necessary driver program to realize loading , and memory management, etc. Using multiple CPUs to load the necessary drivers in parallel can make full use of the advantages of the central control panel using multi-core CPUs. Exemplarily, there are currently three necessary driver programs A, B, and C that are not related to each other, and the loading of A, B, and C can be performed by different CPUs at the same time. In the currently adopted method, although most processors are multi-core, only one CPU core is always used when starting the kernel, that is, A needs to be processed first, then B is processed, and finally C is processed. Compared with the method of using only one CPU core, the parallel processing method of multiple CPUs proposed in this embodiment can reduce the startup time. Specifically, the simultaneous operation of multiple CPU cores can shorten the kernel startup time by 2-3 seconds.

在基于内核镜像启动中控屏的内核之后,还需要进行图2中的步骤S270加载根文件系统,根文件系统是一种文件系统,是内核启动时所挂载的第一个文件系统。而系统引导启动程序会在根文件系统挂载之后从中把一些基本的初始化脚本和服务等加载到内存中去运行,其中,就包括开机启动脚本,即图2中的步骤S280运行开机启动脚本,其中,若开启启动脚本中存在互相独立的多个开机启动脚本,则采用多个CPU并行运行开机启动脚本。After starting the kernel of the central control panel based on the kernel image, step S270 in FIG. 2 needs to be performed to load the root file system. The root file system is a file system and is the first file system mounted when the kernel is started. The system boot program will load some basic initialization scripts and services into the memory to run after the root file system is mounted, including the boot script, that is, step S280 in Figure 2 runs the boot script, Wherein, if there are multiple boot scripts independent of each other in the boot script, multiple CPUs are used to run the boot scripts in parallel.

具体的,当存在多个互相独立的开机启动脚本,则在运行开机启动脚本时,可以采用脚本后台运行的方式,采用多个CPU,实现多个开启启动脚本并行运行,由于处理器为多核处理器,并行运行可以减少启动时间。相比起运行开机启动脚本时逐个运行的方式,本实施例中并行运行的方式能够使得多个处理器同时运行几个脚本,减少运行开机启动脚本的时间。Specifically, when there are multiple boot scripts that are independent of each other, when running the boot script, the script can be run in the background, and multiple CPUs can be used to implement multiple boot scripts to run in parallel. Since the processor is multi-core processing servers, running in parallel can reduce startup time. Compared with the way of running the startup scripts one by one, the way of running in parallel in this embodiment can enable multiple processors to run several scripts at the same time, reducing the time for running the startup scripts.

在在后台运行开机启动脚本之后,可以执行图2中的步骤S290启动第一个应用程序,并加载一个或多个驱动单元,驱动单元为对非必要驱动程序进行编译后生成的单元,驱动单元是根据预先确定的非必要驱动程序,提前编译好的。After running the startup script in the background, step S290 in FIG. 2 can be executed to start the first application program, and load one or more driver units. The driver unit is a unit generated after compiling non-essential driver programs. The driver unit It is pre-compiled based on predetermined non-essential drivers.

对于部分在刚启动汽车时,驾驶员必须通过中控屏获取得到的辅助功能以外的功能,可以对应非必要驱动程序,例如以太网、USB等。将非必要驱动程序编译为驱动单元,可以在启动第一个应用程序后才加载与非必要驱动程序相对应的驱动单元。相比较于目前的方式是在加载内核的过程中,初始化所有的驱动单元,而部分驱动单元,如以太网PHY芯片驱动的加载时间长,并且存在部分驱动提供的功能并不是第一个应用程序所需要的,因此,本实施例所提供的方式可以将非必要驱动程序进行编译成为驱动单元,对这些驱动单元延后加载,可以加快启动速度。For some functions other than the auxiliary functions that the driver must obtain through the central control screen when the car is just started, it can correspond to non-essential drivers, such as Ethernet, USB, etc. By compiling the non-essential driver as a driver unit, the driver unit corresponding to the non-essential driver can be loaded after the first application program is started. Compared with the current method, all the driver units are initialized during the process of loading the kernel, and some driver units, such as the Ethernet PHY chip driver, take a long time to load, and there are functions provided by some drivers that are not the first application Therefore, the method provided by this embodiment can compile non-essential drivers into drive units, and delay loading of these drive units can speed up the startup speed.

驱动单元是预先编译好的,相比较于编译到镜像里面导致启动内核需要耗费更长的时间,编译为驱动单元并不消耗启动内核的启动时间,可以在内核启动之后再加载驱动单元,这样相当于缩短了内核启动的时间,可以实现更快地启动第一个应用程序。The driver unit is pre-compiled. Compared with compiling into the image, it takes longer to start the kernel. Compiling it as a driver unit does not consume the startup time of starting the kernel. You can load the driver unit after the kernel is started, which is quite Because of the shortened kernel startup time, the first application can be started faster.

在一种实施例中,在基于内核镜像启动中控屏的内核时,可以先在启动内核时,识别关键日志数据,其中,在识别关键日志数据时,可以是识别能够指示系统启动失败的原因的日志数据,由于日志数据仅在分析故障的时候有用,因此,除了可以指示系统启动失败的原因之外的其他的日志都是多余的,因此,将除关键日志数据以外的其他日志数据删除,可以减少启动时间。相比较于在没有将多余的日志数据进行删除的情况下打开内核日志功能,本实施例所提出的方式可以缩短内核启动时间,具体的,可以缩短3-5秒左右的内核启动时间。In one embodiment, when starting the kernel of the central control screen based on the kernel image, the key log data can be identified when starting the kernel, wherein, when the key log data is identified, it can be identified that can indicate the cause of the system startup failure log data, because the log data is only useful when analyzing failures, therefore, other logs are redundant except for the reasons for system startup failures, so delete other log data except key log data, Startup time can be reduced. Compared with enabling the kernel log function without deleting redundant log data, the method proposed in this embodiment can shorten the kernel startup time, specifically, the kernel startup time can be shortened by about 3-5 seconds.

本实施例中提供了一种汽车中控屏的启动方法,在启动汽车的中控屏的过程中,加载压缩内核镜像,可以减少对镜像空间的占用,并对压缩内核镜像进行解压缩,获得内核镜像,基于内核镜像启动中控屏的内核,在内核中包括一个或多个必要驱动程序,仅启动必要驱动程序,减少了非必要的驱动程序的启动所需要的启动时间,实现汽车中控屏的启动时间显著减少,更能满足驾驶员对汽车中控屏的使用需求。This embodiment provides a method for starting the central control panel of a car. During the process of starting the central control panel of the car, the compressed kernel image is loaded to reduce the occupation of the image space, and the compressed kernel image is decompressed to obtain Kernel image, based on the kernel image to start the kernel of the central control panel, including one or more necessary drivers in the kernel, only the necessary drivers are started, reducing the startup time required for the startup of non-essential drivers, and realizing the car's central control The start-up time of the screen is significantly reduced, which can better meet the driver's demand for the use of the car's central control screen.

实施例二Embodiment two

图3为本发明实施例二提供的一种汽车中控屏的启动装置结构示意图,如图3所示,装置包括:Fig. 3 is a schematic structural diagram of a starting device for an automobile central control panel provided in Embodiment 2 of the present invention. As shown in Fig. 3 , the device includes:

压缩内核镜像加载模块310,用于在启动汽车的中控屏的过程中,加载压缩内核镜像;The compressed kernel image loading module 310 is used to load the compressed kernel image during the process of starting the central control screen of the car;

解压缩模块320,用于对所述压缩内核镜像进行解压缩,获得内核镜像;The decompression module 320 is used to decompress the compressed kernel image to obtain the kernel image;

启动模块330,用于基于所述内核镜像启动所述中控屏的内核,在所述内核中包括一个或多个必要驱动程序。The startup module 330 is configured to start the kernel of the central control panel based on the kernel image, and the kernel includes one or more necessary driver programs.

在一种实施例中,所述解压缩模块320,包括如下子模块:In one embodiment, the decompression module 320 includes the following submodules:

输入子模块,用于将所述压缩内核镜像输入至硬件解压缩单元,由所述硬件解压缩单元对所述压缩内核镜像进行解压缩;The input submodule is used to input the compressed kernel image to a hardware decompression unit, and the compressed kernel image is decompressed by the hardware decompression unit;

读取子模块,用于从所述硬件解压缩单元读取解压缩后的内核镜像。The reading submodule is used for reading the decompressed kernel image from the hardware decompression unit.

在一种实施例中,所述装置还包括如下模块:In one embodiment, the device also includes the following modules:

CPU启动模块,用于启动中控屏的CPU,其中,所述CPU有多个。The CPU starting module is used to start the CPU of the central control panel, wherein there are multiple CPUs.

在一种实施例中,所述启动模块330,包括如下子模块:In one embodiment, the startup module 330 includes the following submodules:

并行加载子模块,用于当所述必要驱动程序有多个,则采用多个所述CPU并行加载所述必要驱动程序。The parallel loading submodule is used to load the necessary drivers in parallel by using multiple CPUs when there are multiple necessary drivers.

在一种实施例中,所述装置还包括如下模块:In one embodiment, the device also includes the following modules:

根文件系统加载模块,用于加载根文件系统;The root file system loading module is used to load the root file system;

开机启动脚本运行模块,用于运行开机启动脚本,其中,若所述开启启动脚本中存在互相独立的多个开机启动脚本,则采用多个所述CPU并行运行所述开机启动脚本。The boot script running module is used to run the boot script, wherein, if there are multiple boot scripts independent of each other in the boot script, multiple CPUs are used to run the boot script in parallel.

在一种实施例中,所述装置还包括如下模块:In one embodiment, the device also includes the following modules:

第一个应用程序启动模块,用于启动第一个应用程序;The first application program startup module is used to start the first application program;

驱动单元加载模块,用于加载一个或多个驱动单元,所述驱动单元为对非必要驱动程序进行编译后生成的单元。The driver unit loading module is used to load one or more driver units, which are generated after compiling non-essential driver programs.

在一种实施例中,所述启动模块330,包括如下子模块:In one embodiment, the startup module 330 includes the following submodules:

识别子模块,用于在启动所述内核时,识别关键日志数据;An identification submodule is used to identify key log data when starting the kernel;

删除子模块,用于将除所述关键日志数据以外的其他日志数据删除。The deletion submodule is used to delete other log data except the key log data.

本发明实施例所提供的一种汽车中控屏的启动装置可实现本发明实施例一提供的一种汽车中控屏的启动方法,具备执行方法相应的功能模块和有益效果。The starting device for the central control panel of a car provided by the embodiment of the present invention can realize the starting method for the central control panel of a car provided in the first embodiment of the present invention, and has corresponding functional modules and beneficial effects for executing the method.

实施例三Embodiment Three

图4示出了可以用来实施本发明的实施例的电子设备10的结构示意图。电子设备旨在表示各种形式的数字计算机,诸如,膝上型计算机、台式计算机、工作台、个人数字助理、服务器、刀片式服务器、大型计算机、和其它适合的计算机。电子设备还可以表示各种形式的移动装置,诸如,个人数字处理、蜂窝电话、智能电话、可穿戴设备(如头盔、眼镜、手表等)和其它类似的计算装置。本文所示的部件、它们的连接和关系、以及它们的功能仅仅作为示例,并且不意在限制本文中描述的和/或者要求的本发明的实现。FIG. 4 shows a schematic structural diagram of an electronic device 10 that can be used to implement an embodiment of the present invention. Electronic device is intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. Electronic devices may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (eg, helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are by way of example only, and are not intended to limit implementations of the inventions described and/or claimed herein.

如图4所示,电子设备10包括至少一个处理器11,以及与至少一个处理器11通信连接的存储器,如只读存储器(ROM)12、随机访问存储器(RAM)13等,其中,存储器存储有可被至少一个处理器执行的计算机程序,处理器11可以根据存储在只读存储器(ROM)12中的计算机程序或者从存储单元18加载到随机访问存储器(RAM)13中的计算机程序,来执行各种适当的动作和处理。在RAM13中,还可存储电子设备10操作所需的各种程序和数据。处理器11、ROM12以及RAM13通过总线14彼此相连。输入/输出(I/O)接口15也连接至总线14。As shown in FIG. 4, the electronic device 10 includes at least one processor 11, and a memory connected in communication with the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores There is a computer program executable by at least one processor, and the processor 11 can operate according to a computer program stored in a read-only memory (ROM) 12 or loaded from a storage unit 18 into a random access memory (RAM) 13. Various appropriate actions and processes are performed. In the RAM 13, various programs and data necessary for the operation of the electronic device 10 can also be stored. The processor 11 , ROM 12 , and RAM 13 are connected to each other via a bus 14 . An input/output (I/O) interface 15 is also connected to the bus 14 .

电子设备10中的多个部件连接至I/O接口15,包括:输入单元16,例如键盘、鼠标等;输出单元17,例如各种类型的显示器、扬声器等;存储单元18,例如磁盘、光盘等;以及通信单元19,例如网卡、调制解调器、无线通信收发机等。通信单元19允许电子设备10通过诸如因特网的计算机网络和/或各种电信网络与其他设备交换信息/数据。Multiple components in the electronic device 10 are connected to the I/O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a magnetic disk, an optical disk etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, and the like. The communication unit 19 allows the electronic device 10 to exchange information/data with other devices through a computer network such as the Internet and/or various telecommunication networks.

处理器11可以是各种具有处理和计算能力的通用和/或专用处理组件。处理器11的一些示例包括但不限于中央处理单元(CPU)、图形处理单元(GPU)、各种专用的人工智能(AI)计算芯片、各种运行机器学习模型算法的处理器、数字信号处理器(DSP)、以及任何适当的处理器、控制器、微控制器等。处理器11执行上文所描述的各个方法和处理,例如一种汽车中控屏的启动方法。Processor 11 may be various general and/or special purpose processing components having processing and computing capabilities. Some examples of processor 11 include, but are not limited to, central processing units (CPUs), graphics processing units (GPUs), various dedicated artificial intelligence (AI) computing chips, various processors that run machine learning model algorithms, digital signal processing processor (DSP), and any suitable processor, controller, microcontroller, etc. The processor 11 executes various methods and processes described above, for example, a method for starting a central control panel of a car.

在一些实施例中,一种汽车中控屏的启动方法可被实现为计算机程序,其被有形地包含于计算机可读存储介质,例如存储单元18。在一些实施例中,计算机程序的部分或者全部可以经由ROM12和/或通信单元19而被载入和/或安装到电子设备10上。当计算机程序加载到RAM13并由处理器11执行时,可以执行上文描述的一种汽车中控屏的启动方法的一个或多个步骤。备选地,在其他实施例中,处理器11可以通过其他任何适当的方式(例如,借助于固件)而被配置为执行一种汽车中控屏的启动方法。In some embodiments, a method for activating a vehicle central control panel can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as the storage unit 18 . In some embodiments, part or all of the computer program may be loaded and/or installed on the electronic device 10 via the ROM 12 and/or the communication unit 19 . When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the method for starting the vehicle central control panel described above can be executed. Alternatively, in other embodiments, the processor 11 may be configured in any other appropriate way (for example, by means of firmware) to execute a method for starting a vehicle central control panel.

本文中以上描述的系统和技术的各种实施方式可以在数字电子电路系统、集成电路系统、场可编程门阵列(FPGA)、专用集成电路(ASIC)、专用标准产品(ASSP)、芯片上系统的系统(SOC)、负载可编程逻辑设备(CPLD)、计算机硬件、固件、软件、和/或它们的组合中实现。这些各种实施方式可以包括:实施在一个或者多个计算机程序中,该一个或者多个计算机程序可在包括至少一个可编程处理器的可编程系统上执行和/或解释,该可编程处理器可以是专用或者通用可编程处理器,可以从存储系统、至少一个输入装置、和至少一个输出装置接收数据和指令,并且将数据和指令传输至该存储系统、该至少一个输入装置、和该至少一个输出装置。Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips Implemented in a system of systems (SOC), load programmable logic device (CPLD), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include being implemented in one or more computer programs executable and/or interpreted on a programmable system including at least one programmable processor, the programmable processor Can be special-purpose or general-purpose programmable processor, can receive data and instruction from storage system, at least one input device, and at least one output device, and transmit data and instruction to this storage system, this at least one input device, and this at least one output device an output device.

用于实施本发明的方法的计算机程序可以采用一个或多个编程语言的任何组合来编写。这些计算机程序可以提供给通用计算机、专用计算机或其他可编程数据处理装置的处理器,使得计算机程序当由处理器执行时使流程图和/或框图中所规定的功能/操作被实施。计算机程序可以完全在机器上执行、部分地在机器上执行,作为独立软件包部分地在机器上执行且部分地在远程机器上执行或完全在远程机器或服务器上执行。Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing apparatus, so that the computer program causes the functions/operations specified in the flowcharts and/or block diagrams to be implemented when executed by the processor. A computer program may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.

在本发明的上下文中,计算机可读存储介质可以是有形的介质,其可以包含或存储以供指令执行系统、装置或设备使用或与指令执行系统、装置或设备结合地使用的计算机程序。计算机可读存储介质可以包括但不限于电子的、磁性的、光学的、电磁的、红外的、或半导体系统、装置或设备,或者上述内容的任何合适组合。备选地,计算机可读存储介质可以是机器可读信号介质。机器可读存储介质的更具体示例会包括基于一个或多个线的电气连接、便携式计算机盘、硬盘、随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或快闪存储器)、光纤、便捷式紧凑盘只读存储器(CD-ROM)、光学储存设备、磁储存设备、或上述内容的任何合适组合。In the context of the present invention, a computer readable storage medium may be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus or device. A computer readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. Alternatively, a computer readable storage medium may be a machine readable signal medium. More specific examples of machine-readable storage media would include one or more wire-based electrical connections, portable computer discs, hard drives, random access memory (RAM), read only memory (ROM), erasable programmable read only memory (EPROM or flash memory), optical fiber, compact disk read only memory (CD-ROM), optical storage, magnetic storage, or any suitable combination of the foregoing.

为了提供与用户的交互,可以在电子设备上实施此处描述的系统和技术,该电子设备具有:用于向用户显示信息的显示装置(例如,CRT(阴极射线管)或者LCD(液晶显示器)监视器);以及键盘和指向装置(例如,鼠标或者轨迹球),用户可以通过该键盘和该指向装置来将输入提供给电子设备。其它种类的装置还可以用于提供与用户的交互;例如,提供给用户的反馈可以是任何形式的传感反馈(例如,视觉反馈、听觉反馈、或者触觉反馈);并且可以用任何形式(包括声输入、语音输入或者、触觉输入)来接收来自用户的输入。In order to provide interaction with the user, the systems and techniques described herein can be implemented on an electronic device having a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display)) for displaying information to the user. monitor); and a keyboard and pointing device (eg, a mouse or a trackball) through which the user can provide input to the electronic device. Other kinds of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and can be in any form (including Acoustic input, speech input or, tactile input) to receive input from the user.

可以将此处描述的系统和技术实施在包括后台部件的计算系统(例如,作为数据服务器)、或者包括中间件部件的计算系统(例如,应用服务器)、或者包括前端部件的计算系统(例如,具有图形用户界面或者网络浏览器的用户计算机,用户可以通过该图形用户界面或者该网络浏览器来与此处描述的系统和技术的实施方式交互)、或者包括这种后台部件、中间件部件、或者前端部件的任何组合的计算系统中。可以通过任何形式或者介质的数字数据通信(例如,通信网络)来将系统的部件相互连接。通信网络的示例包括:局域网(LAN)、广域网(WAN)、区块链网络和互联网。The systems and techniques described herein can be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., as a a user computer having a graphical user interface or web browser through which a user can interact with embodiments of the systems and techniques described herein), or including such backend components, middleware components, Or any combination of front-end components in a computing system. The components of the system can be interconnected by any form or medium of digital data communication, eg, a communication network. Examples of communication networks include: local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.

计算系统可以包括客户端和服务器。客户端和服务器一般远离彼此并且通常通过通信网络进行交互。通过在相应的计算机上运行并且彼此具有客户端-服务器关系的计算机程序来产生客户端和服务器的关系。服务器可以是云服务器,又称为云计算服务器或云主机,是云计算服务体系中的一项主机产品,以解决了传统物理主机与VPS服务中,存在的管理难度大,业务扩展性弱的缺陷。A computing system can include clients and servers. Clients and servers are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also known as a cloud computing server or a cloud host. It is a host product in the cloud computing service system to solve the problems of difficult management and weak business expansion in traditional physical hosts and VPS services. defect.

应该理解,可以使用上面所示的各种形式的流程,重新排序、增加或删除步骤。例如,本发明中记载的各步骤可以并行地执行也可以顺序地执行也可以不同的次序执行,只要能够实现本发明的技术方案所期望的结果,本文在此不进行限制。It should be understood that steps may be reordered, added or deleted using the various forms of flow shown above. For example, each step described in the present invention may be executed in parallel, sequentially, or in a different order, as long as the desired result of the technical solution of the present invention can be achieved, there is no limitation herein.

上述具体实施方式,并不构成对本发明保护范围的限制。本领域技术人员应该明白的是,根据设计要求和其他因素,可以进行各种修改、组合、子组合和替代。任何在本发明的精神和原则之内所作的修改、等同替换和改进等,均应包含在本发明保护范围之内。The above specific implementation methods do not constitute a limitation to the protection scope of the present invention. It should be apparent to those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made depending on design requirements and other factors. Any modifications, equivalent replacements and improvements made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1.一种汽车中控屏的启动方法,其特征在于,所述方法包括:1. A method for starting an automobile central control panel, characterized in that the method comprises: 在启动汽车的中控屏的过程中,加载压缩内核镜像,并对所述压缩内核镜像进行解压缩,获得内核镜像;In the process of starting the central control screen of the car, the compressed kernel image is loaded, and the compressed kernel image is decompressed to obtain the kernel image; 基于所述内核镜像启动所述中控屏的内核,在所述内核中包括一个或多个必要驱动程序。The kernel of the central control panel is started based on the kernel image, and one or more necessary driver programs are included in the kernel. 2.根据权利要求1所述的方法,其特征在于,所述对所述压缩内核镜像进行解压缩,获得内核镜像,包括:2. The method according to claim 1, wherein the decompressing the compressed kernel image to obtain the kernel image includes: 将所述压缩内核镜像输入至硬件解压缩单元,由所述硬件解压缩单元对所述压缩内核镜像进行解压缩;The compressed kernel image is input to a hardware decompression unit, and the compressed kernel image is decompressed by the hardware decompression unit; 从所述硬件解压缩单元读取解压缩后的内核镜像。Reading the decompressed kernel image from the hardware decompression unit. 3.根据权利要求1或2所述的方法,其特征在于,在所述加载压缩内核镜像之前,所述方法还包括:3. The method according to claim 1 or 2, wherein, before the loaded compressed kernel image, the method further comprises: 启动中控屏的CPU,其中,所述CPU有多个。Start the CPU of the central control panel, wherein there are multiple CPUs. 4.根据权利要求3所述的方法,其特征在于,所述基于所述内核镜像启动所述中控屏的内核,包括:4. The method according to claim 3, wherein the starting the kernel of the central control panel based on the kernel image comprises: 若所述必要驱动程序有多个,则采用多个所述CPU并行加载所述必要驱动程序。If there are multiple necessary drivers, multiple CPUs are used to load the necessary drivers in parallel. 5.根据权利要求3所述的方法,其特征在于,在所述基于所述内核镜像启动所述中控屏的内核之后,所述方法还包括:5. The method according to claim 3, characterized in that, after starting the kernel of the central control panel based on the kernel image, the method further comprises: 加载根文件系统;mount the root file system; 运行开机启动脚本,其中,若所述开启启动脚本中存在互相独立的多个开机启动脚本,则采用多个所述CPU并行运行所述开机启动脚本。Running a startup script, wherein, if there are multiple startup scripts independent of each other in the startup script, multiple CPUs are used to run the startup script in parallel. 6.根据权利要求5所述的方法,其特征在于,在所述在后台运行开机启动脚本之后,所述方法还包括:6. The method according to claim 5, characterized in that, after the startup script is run in the background, the method further comprises: 启动第一个应用程序;Start the first application; 加载一个或多个驱动单元,所述驱动单元为对非必要驱动程序进行编译后生成的单元。One or more driver units are loaded, and the driver units are units generated after compiling non-essential driver programs. 7.根据权利要求1所述的方法,其特征在于,所述基于所述内核镜像启动所述中控屏的内核,包括:7. The method according to claim 1, wherein the starting the kernel of the central control panel based on the kernel image comprises: 在启动所述内核时,识别关键日志数据;identifying critical log data when the kernel is started; 将除所述关键日志数据以外的其他日志数据删除。Delete other log data except the key log data. 8.一种汽车中控屏的启动装置,其特征在于,所述装置包括:8. A starting device for an automobile central control panel, characterized in that the device comprises: 压缩内核镜像加载模块,用于在启动汽车的中控屏的过程中,加载压缩内核镜像;The compressed kernel image loading module is used to load the compressed kernel image during the process of starting the central control screen of the car; 解压缩模块,用于对所述压缩内核镜像进行解压缩,获得内核镜像;The decompression module is used to decompress the compressed kernel image to obtain the kernel image; 启动模块,用于基于所述内核镜像启动所述中控屏的内核,在所述内核中包括一个或多个必要驱动程序。A startup module, configured to start the kernel of the central control panel based on the kernel image, and include one or more necessary driver programs in the kernel. 9.一种电子设备,其特征在于,所述电子设备包括:9. An electronic device, characterized in that the electronic device comprises: 至少一个处理器;以及与所述至少一个处理器通信连接的存储器;其中,所述存储器存储有可被所述至少一个处理器执行的计算机程序,所述计算机程序被所述至少一个处理器执行,以使所述至少一个处理器能够执行权利要求1-7中所述的一种汽车中控屏的启动方法。At least one processor; and a memory connected in communication with the at least one processor; wherein the memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor , so that the at least one processor can execute the method for starting a central control panel of an automobile described in claims 1-7. 10.一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机指令,所述计算机指令用于使处理器执行时实现权利要求1-7中所述的一种汽车中控屏的启动方法。10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the vehicle described in claims 1-7 when executed How to start the central control screen.
CN202310175284.7A 2023-02-28 2023-02-28 A method, device, equipment and storage medium for starting an automobile central control panel Pending CN116149755A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310175284.7A CN116149755A (en) 2023-02-28 2023-02-28 A method, device, equipment and storage medium for starting an automobile central control panel

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310175284.7A CN116149755A (en) 2023-02-28 2023-02-28 A method, device, equipment and storage medium for starting an automobile central control panel

Publications (1)

Publication Number Publication Date
CN116149755A true CN116149755A (en) 2023-05-23

Family

ID=86354276

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310175284.7A Pending CN116149755A (en) 2023-02-28 2023-02-28 A method, device, equipment and storage medium for starting an automobile central control panel

Country Status (1)

Country Link
CN (1) CN116149755A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2685237A1 (en) * 2007-04-25 2008-11-06 Pixon Imaging, Llc Image compression and decompression using the pixon method
CN104598254A (en) * 2015-02-17 2015-05-06 福州瑞芯微电子有限公司 Method and device for rapidly powering on Android system
CN110647753A (en) * 2019-09-30 2020-01-03 Oppo广东移动通信有限公司 Method, device and equipment for acquiring kernel file and storage medium
CN111475191A (en) * 2020-04-04 2020-07-31 东风越野车有限公司 Automobile controller software upgrading system and method based on multi-core technology
CN113741986A (en) * 2021-08-23 2021-12-03 珠海亿智电子科技有限公司 Linux system startup acceleration method, device and readable storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CA2685237A1 (en) * 2007-04-25 2008-11-06 Pixon Imaging, Llc Image compression and decompression using the pixon method
CN104598254A (en) * 2015-02-17 2015-05-06 福州瑞芯微电子有限公司 Method and device for rapidly powering on Android system
CN110647753A (en) * 2019-09-30 2020-01-03 Oppo广东移动通信有限公司 Method, device and equipment for acquiring kernel file and storage medium
CN111475191A (en) * 2020-04-04 2020-07-31 东风越野车有限公司 Automobile controller software upgrading system and method based on multi-core technology
CN113741986A (en) * 2021-08-23 2021-12-03 珠海亿智电子科技有限公司 Linux system startup acceleration method, device and readable storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
MOHAMED FARAG: "Multicore Dynamic Kernel Modules Attachment Technique for Kernel Performance Enhancement", 《INTERNATIONAL JOURNAL OF COMPUTER SCIENCE & INFORMATION TECHNOLOGY (IJCSIT)》, 30 June 2012 (2012-06-30), pages 47 - 59 *

Similar Documents

Publication Publication Date Title
US20100306774A1 (en) Instant-On Computing System
WO2022134428A1 (en) Applet page rendering method and apparatus, electronic device, and storage medium
CN113570033B (en) Neural network processing unit, neural network processing method and device
CN111292387A (en) Dynamic picture loading method and device, storage medium and terminal equipment
CN114416295A (en) Application control method, device, equipment, medium and program product
CN115269025A (en) Kernel quick starting method and device, electronic equipment and storage medium
JP2022028879A (en) Voice data processing method, apparatus, device, and storage medium
CN114936173B (en) Read-write method, device, equipment and storage medium of eMMC device
CN114422799A (en) Video file decoding method and device, electronic equipment and program product
CN116301997A (en) A controller upgrade method, device, equipment and medium
CN116302154A (en) A file processing method, device, electronic device and storage medium thereof
CN116962813A (en) A YUV data rendering system and method, electronic device and storage medium
CN115686748B (en) Service request response method, device, equipment and medium under virtualization management
CN116594708A (en) Method, device, equipment and medium for generating multi-model loading configuration file
CN116186450A (en) A micro-frontend application system, application rendering method, device, and storage medium
CN116737478A (en) A DRAM chip stability testing method, device, equipment and storage medium
CN117742798A (en) Method for shortening cold start time of panoramic image system by optimizing call time sequence
CN116627516A (en) Quick start method, device, electronic device and storage medium for vehicle-mounted system
CN116149755A (en) A method, device, equipment and storage medium for starting an automobile central control panel
CN114237444A (en) Application program starting method and device, electronic equipment and storage medium
CN115858432B (en) Access method, device, electronic equipment and readable storage medium
CN115794132A (en) Operating system deployment method, device, equipment and storage medium
CN119025170A (en) Multi-core operating system startup method, device, equipment, medium and product
CN117950751A (en) A kernel embedded product adaptation method, device, equipment and medium
CN116700807A (en) Optimized startup method, device, equipment and medium for embedded system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination