CN113703854A - Quick starting method and device for all-liquid-crystal instrument - Google Patents

Quick starting method and device for all-liquid-crystal instrument Download PDF

Info

Publication number
CN113703854A
CN113703854A CN202111010807.XA CN202111010807A CN113703854A CN 113703854 A CN113703854 A CN 113703854A CN 202111010807 A CN202111010807 A CN 202111010807A CN 113703854 A CN113703854 A CN 113703854A
Authority
CN
China
Prior art keywords
coprocessor
starting
processor
linux
liquid crystal
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
CN202111010807.XA
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.)
Dianzhuang Guangting Automotive Electronics Wuhan Co ltd
Original Assignee
Dianzhuang Guangting Automotive Electronics Wuhan 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 Dianzhuang Guangting Automotive Electronics Wuhan Co ltd filed Critical Dianzhuang Guangting Automotive Electronics Wuhan Co ltd
Priority to CN202111010807.XA priority Critical patent/CN113703854A/en
Publication of CN113703854A publication Critical patent/CN113703854A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/4406Loading of operating system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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/451Execution arrangements for user interfaces

Abstract

The invention provides a quick starting method and a quick starting device of a full liquid crystal instrument, wherein the method comprises the following steps: electrifying a boot program of the starting instrument, booting the starting coprocessor in the boot program, and initializing peripheral resources through the coprocessor; starting a coprocessor application program to take over IO equipment of the processor, and establishing connection between the processor and the vehicle-mounted ECU; acquiring a vehicle-mounted ECU signal through IO equipment, judging whether emergency content needs to be displayed according to an ECU signal value, and drawing the emergency content through a coprocessor if the emergency content needs to be displayed; and booting and starting a Linux kernel through a bootstrap program, starting a Linux application program after initializing Linux equipment resources, and starting a 3D drawing engine to draw pre-display content. Therefore, the display of important contents can be ensured in time, and the display and starting speed of the liquid crystal instrument is improved.

Description

Quick starting method and device for all-liquid-crystal instrument
Technical Field
The invention belongs to the field of automobile instruments, and particularly relates to a quick starting method and device of a full liquid crystal instrument.
Background
The full liquid crystal instrument panel is a device for replacing a traditional mechanical instrument panel with a whole liquid crystal screen to display vehicle running information for a driver, a traditional physical pointer is cancelled, and all the information is displayed through an electronic screen. Basic information such as vehicle running speed, engine speed, residual oil quantity and the like of a traditional mechanical instrument panel can be displayed for a driver, the display effect is more gorgeous, the display content is richer, and the technology sense of the whole vehicle can be set individually and improved. The full liquid crystal instrument is not only a simple element for providing rotating speed and vehicle speed, but also can display more important automobile information and even can give out warning prompts.
However, the full liquid crystal meter has more display contents and higher complexity, which easily results in longer starting time of the meter. At present, the method for increasing the starting speed of the instrument system is to set the priority for starting the program, preferentially start the key program, but for some important prompt contents, the 3D display can be performed until the system is completely started, so that the important contents are not displayed timely.
Disclosure of Invention
In view of this, embodiments of the present invention provide a method and an apparatus for quickly starting an all-liquid-crystal instrument, so as to solve the problem that the important content of the existing all-liquid-crystal instrument is not displayed in time.
In a first aspect of the embodiments of the present invention, a method for quickly starting an all-liquid-crystal instrument is provided, including:
electrifying a boot program of the starting instrument, booting the starting coprocessor in the boot program, and initializing peripheral resources through the coprocessor;
starting a coprocessor application program to take over IO equipment of the processor, and establishing connection between the processor and the vehicle-mounted ECU;
acquiring a vehicle-mounted ECU signal through IO equipment, judging whether emergency content needs to be displayed according to an ECU signal value, and drawing the emergency content through a coprocessor if the emergency content needs to be displayed;
and booting and starting a Linux kernel through a bootstrap program, starting a Linux application program after initializing Linux equipment resources, and starting a 3D drawing engine to draw pre-display content.
In a second aspect of the embodiments of the present invention, there is provided a quick start device for an all-liquid-crystal instrument, including:
the coprocessor is used for initializing peripheral resources, starting a coprocessor application program to take over IO equipment of the processor, establishing connection between the processor and the vehicle-mounted ECU, acquiring a vehicle-mounted ECU signal through the IO equipment, judging whether emergency content needs to be displayed according to an ECU signal value, and drawing the emergency content through the coprocessor if the emergency content needs to be displayed;
the main processor is used for starting an instrument bootstrap program, booting and starting the coprocessor in the bootstrap program, booting and starting a Linux kernel through the bootstrap program, starting a Linux application program after initializing Linux equipment resources, and starting a 3D drawing engine to draw pre-display contents;
and the IO device is used for receiving the external ECU signal and outputting the pre-display content to the liquid crystal screen.
In a third aspect of the embodiments of the present invention, there is provided an electronic device, including a memory, a processor, and a computer program stored in the memory and executable by the processor, where the processor executes the computer program to implement the steps of the method according to the first aspect of the embodiments of the present invention.
In a fourth aspect of the embodiments of the present invention, a computer-readable storage medium is provided, which stores a computer program, which when executed by a processor implements the steps of the method provided by the first aspect of the embodiments of the present invention.
In the embodiment of the invention, the main core processor and the auxiliary core processor are adopted to respectively process the 2D display content and the 3D display content, the coprocessor carries out emergency content display processing before the Linux system is completely started, and the emergency prompt information is displayed in a 2D form, so that the display and starting speed of the liquid crystal instrument is accelerated, the important content can be timely displayed, and the use experience of a user is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings described below are only some embodiments of the present invention, and those skilled in the art can also obtain other drawings according to the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a method for quickly starting an all-liquid-crystal instrument according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a hardware structure design of a method for quickly starting an all-liquid-crystal instrument according to an embodiment of the present invention;
fig. 3 is another schematic flow chart of a method for quickly starting an all-liquid-crystal instrument according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a quick start device of an all-liquid-crystal instrument according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is obvious that the embodiments described below are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It should be understood that the terms "comprises" and "comprising," when used in this specification or claims and in the accompanying drawings, are intended to cover a non-exclusive inclusion, such that a process, method or system, or apparatus that comprises a list of steps or elements is not limited to the listed steps or elements. In addition, "first" and "second" are used to distinguish different objects, and are not used to describe a specific order.
Referring to fig. 1, a flow chart of a method for quickly starting an all-liquid-crystal instrument according to an embodiment of the present invention includes:
s101, electrifying to start an instrument bootstrap program, booting to start a coprocessor in the bootstrap program, and initializing peripheral resources through the coprocessor;
the boot program, i.e. the boot loader, is used to boot the computer to load a specific application program, and in this embodiment, the boot program may be a Uboot program. And booting the coprocessor in the boot program, and initializing peripheral resources through the coprocessor, such as initializing IO (input/output) equipment, storage equipment, resource files, display drivers and the like.
S102, starting a coprocessor application program to take over IO equipment of the processor, and establishing connection between the processor and a vehicle-mounted ECU;
the coprocessor application is used for realizing specific software functions such as drawing 2D display content, establishing connection of a vehicle-mounted ECU (electronic control unit) and the like based on data processing of the coprocessor.
The processor is the processor of the liquid crystal instrument and also starts the central processor of the vehicle. In this embodiment, the processor includes a main processor and a coprocessor, and the processor may be connected to an external ECU (Electronic Control Unit), receive signals transmitted from the external ECU, and Control display output on the liquid crystal screen.
Specifically, the processor comprises a main processor and a coprocessor, wherein a bootstrap program, a Linux kernel and a Linux application program are operated on the main processor, and the coprocessor application program is operated on the coprocessor.
The processor is an R-CAR E3 processor, the main processor is a core-A53 core, the coprocessor is a core-R7 core, the coprocessor is used for processing 2D display contents, and the main processor is used for processing 3D display contents.
In one embodiment, as shown in FIG. 2, where R-CAR E3 is a processor, cotex-A53 is a host processor, and cotex-R7 is a coprocessor, the boot program uBoot and Linux systems, including Linux kernel and applications, are run on the host processor cotex-A53. Coprocessor cotex-R7 also runs applications. The main processor and the coprocessor are directly connected with IO equipment and are respectively connected with an external signal and a liquid crystal screen through the IO equipment.
The IO device is a device for managing and controlling input and output of the computer, and the IO device can be connected with an external ECU (electronic control unit) to receive external ECU signals and can also be connected with a liquid crystal screen to output display contents.
S103, acquiring a vehicle-mounted ECU signal through IO equipment, judging whether emergency content needs to be displayed according to an ECU signal value, and drawing the emergency content through a coprocessor if the emergency content needs to be displayed;
the coprocessor reads the received external ECU signals in real time, and when the content needing emergency prompt is searched, if the vehicle fails, the coprocessor draws corresponding prompt information according to the failure content.
The emergency content can be set according to the failure level or the importance degree of the detected information, namely whether emergency prompt is performed or not is set when certain information of the vehicle is detected or certain failure occurs. The emergency prompt content may be pre-drawn and stored in the memory, and the coprocessor directly loads and draws the emergency prompt content, or the coprocessor draws the emergency prompt content by a predetermined drawing method, which is not limited herein.
And S104, booting and starting the Linux kernel through a bootstrap program, starting a Linux application program after initializing the Linux equipment resources, and starting a 3D drawing engine to draw the pre-display content.
After the boot program boots the coprocessor, the boot starts a Linux kernel (Linux kernel), and the Linux kernel initializes the device resources. The initialization of the Linux equipment resources at least comprises initialization of a CPU, storage management, process management, a file system, equipment management, equipment driving, network communication, Linux system and Linux system calling.
The Linux application program is used for realizing specific data processing functions such as liquid crystal instrument display setting, 3D display drawing and the like based on a main processor.
In the embodiment, the main processor and the coprocessor are used for respectively drawing the corresponding display contents, so that the emergency contents can be timely drawn and displayed through the coprocessor, and the display and starting speeds of the liquid crystal instrument are effectively improved.
In an embodiment, as shown in fig. 3, fig. 3 is another schematic flow chart of a method for quickly starting a liquid crystal meter according to an embodiment of the present invention, and the process thereof is as follows:
after the instrument is electrified, the uBoot is started, a coprocessor cotex-R7 is booted and started in the uBoot, and the coprocessor initializes the peripheral resources. And starting a cortex-R7 application program, taking over IO equipment of the R-CAR E3, and establishing connection with the vehicle-mounted ECU. The cotex-R7 acquires an external ECU signal through IO, judges whether emergency content needing to be displayed immediately exists according to the signal value, and if the emergency content exists, the cotex-R7 starts drawing to read drawing resources from the storage device and calculates and processes the 2D content needing to be displayed. The cotex-R7 starts the screen backlight through the display driver, outputs the content to be displayed to the screen, and displays the content to be displayed in advance on the liquid crystal screen.
And the uBoot guides to start the linux kernel, initializes storage management, CPU and process management, a file system, equipment management and drive, network communication, system call and the like. The linux application program is started, the 3D drawing engine is started, the drawing engine calculates and processes the content to be displayed, and the linux outputs the 3D content to be displayed to the screen through the display driver.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present invention.
Fig. 4 is a schematic structural diagram of a quick start device of an all-liquid-crystal instrument according to an embodiment of the present invention, where the quick start device includes:
the coprocessor 410 is used for initializing peripheral resources, starting a coprocessor application program to take over IO equipment of the processor, establishing connection between the processor and the vehicle-mounted ECU, acquiring a vehicle-mounted ECU signal through the IO equipment, judging whether emergency content needs to be displayed according to an ECU signal value, and drawing the emergency content through the coprocessor if the emergency content needs to be displayed;
the processor comprises a coprocessor 410 and a main processor 420, wherein the main processor 420 runs a bootstrap program, a Linux kernel and a Linux application program, and the coprocessor 410 runs a coprocessor application program.
Specifically, the coprocessor 410 turns on the backlight of the lcd screen by the display driver, and outputs the pre-displayed emergency content to the lcd screen.
The main processor 420 is used for starting an instrument bootstrap program, booting and starting the coprocessor in the bootstrap program, booting and starting a Linux kernel through the bootstrap program, starting a Linux application program after initializing Linux equipment resources, and starting a 3D drawing engine to draw pre-display content;
the processor is an R-CAR E3 processor, the main processor 420 is a core-A53 core, and the coprocessor 410 is a core-R7 core; the coprocessor 410 is configured to process 2D display content, and the main processor 420 is configured to process 3D display content.
The initialization of the Linux equipment resources at least comprises the steps of initializing a CPU, storing management, process management, a file system, equipment management, equipment driving, network communication, Linux system and Linux system calling.
And the IO device 430 is configured to receive an external ECU signal and output pre-display content to the liquid crystal screen.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the apparatus and the modules described above may refer to corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. The electronic equipment is used for realizing the quick start of the full liquid crystal instrument. As shown in fig. 5, the electronic apparatus 5 of this embodiment includes: a memory 510, a processor 520, and a system bus 530, the memory 510 including an executable program 5101 stored thereon, it being understood by those skilled in the art that the electronic device structure shown in fig. 5 does not constitute a limitation of an electronic device and may include more or fewer components than shown, or some components in combination, or a different arrangement of components.
The following describes each component of the electronic device in detail with reference to fig. 5:
the memory 510 may be used to store software programs and modules, and the processor 520 may execute various functional applications and data processing of the electronic device by operating the software programs and modules stored in the memory 510. The memory 510 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data (such as cache data) created according to the use of the electronic device, and the like. Further, the memory 510 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
Contained on the memory 510 is an executable program 5101, which executable program 5101 may be partitioned into one or more modules/units, which are stored in the memory 510 and executed by the processor 520 to implement an all liquid crystal meter display or the like, which may be a series of computer program instruction segments describing the execution of the computer program 5101 in the electronic device 5 capable of performing specific functions.
The processor 520 is a control center of the electronic device, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by operating or executing software programs and/or modules stored in the memory 510 and calling data stored in the memory 510, thereby performing overall state control of the electronic device. The processor 520 may be composed of a main processor and a coprocessor, and the main processor and the coprocessor respectively execute corresponding executable programs thereon.
The system bus 530 is used to connect various functional units inside the computer, and can transmit data information, address information, and control information, and can be, for example, a PCI bus, an ISA bus, a VESA bus, etc. The instructions of the processor 520 are transferred to the memory 510 through the bus, the memory 510 feeds data back to the processor 520, and the system bus 530 is responsible for data and instruction interaction between the processor 520 and the memory 510. Of course, other devices, such as network interfaces, display devices, etc., may also be accessed by the system bus 530.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. A quick starting method of an all-liquid crystal instrument is characterized by comprising the following steps:
electrifying a boot program of the starting instrument, booting the starting coprocessor in the boot program, and initializing peripheral resources through the coprocessor;
starting a coprocessor application program to take over IO equipment of the processor, and establishing connection between the processor and the vehicle-mounted ECU;
acquiring a vehicle-mounted ECU signal through IO equipment, judging whether emergency content needs to be displayed according to an ECU signal value, and drawing the emergency content through a coprocessor if the emergency content needs to be displayed;
and booting and starting a Linux kernel through a bootstrap program, starting a Linux application program after initializing Linux equipment resources, and starting a 3D drawing engine to draw pre-display content.
2. The method of claim 1, wherein the processor comprises a main processor on which a boot program, a Linux kernel, and a Linux application are running and a coprocessor on which a coprocessor application is running.
3. The method of claim 1, wherein the processor is an R-CAR E3 processor, the host processor is a core-a 53 core, and the coprocessor is a core-R7 core;
the coprocessor is used for processing 2D display contents, and the main processor is used for processing 3D display contents.
4. The method of claim 1, wherein the rendering of the urgent content by the coprocessor comprises:
the coprocessor starts the backlight of the liquid crystal screen through the display driver and outputs the pre-displayed emergency content to the liquid crystal screen.
5. The method according to claim 1, wherein the initializing Linux device resources comprises at least initializing CPU, storage management, process management, file system, device management, device driver, network communication, and Linux system, Linux system calls.
6. A quick starting device of a full liquid crystal instrument is characterized by at least comprising:
the coprocessor is used for initializing peripheral resources, starting a coprocessor application program to take over IO equipment of the processor, establishing connection between the processor and the vehicle-mounted ECU, acquiring a vehicle-mounted ECU signal through the IO equipment, judging whether emergency content needs to be displayed according to an ECU signal value, and drawing the emergency content through the coprocessor if the emergency content needs to be displayed;
the main processor is used for starting an instrument bootstrap program, booting and starting the coprocessor in the bootstrap program, booting and starting a Linux kernel through the bootstrap program, starting a Linux application program after initializing Linux equipment resources, and starting a 3D drawing engine to draw pre-display contents;
and the IO device is used for receiving the external ECU signal and outputting the pre-display content to the liquid crystal screen.
7. The apparatus of claim 6, wherein the processor is an R-CAR E3 processor, the host processor is a core-a 53 core, and the coprocessor is a core-R7 core;
the coprocessor is used for processing 2D display contents, and the main processor is used for processing 3D display contents.
8. The apparatus of claim 6, wherein the rendering of the urgent content by the coprocessor comprises:
the coprocessor starts the backlight of the liquid crystal screen through the display driver and outputs the pre-displayed emergency content to the liquid crystal screen.
9. An electronic device comprising a memory, a processor and a computer program stored in said memory and executable on said processor, wherein said processor when executing said computer program implements the steps of the fast start-up method for a full liquid crystal meter according to any of claims 1 to 5.
10. A computer-readable storage medium storing a computer program, wherein the computer program when executed implements the steps of a method for fast start-up of an all liquid crystal meter according to any one of claims 1 to 5.
CN202111010807.XA 2021-08-30 2021-08-30 Quick starting method and device for all-liquid-crystal instrument Pending CN113703854A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111010807.XA CN113703854A (en) 2021-08-30 2021-08-30 Quick starting method and device for all-liquid-crystal instrument

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111010807.XA CN113703854A (en) 2021-08-30 2021-08-30 Quick starting method and device for all-liquid-crystal instrument

Publications (1)

Publication Number Publication Date
CN113703854A true CN113703854A (en) 2021-11-26

Family

ID=78657685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111010807.XA Pending CN113703854A (en) 2021-08-30 2021-08-30 Quick starting method and device for all-liquid-crystal instrument

Country Status (1)

Country Link
CN (1) CN113703854A (en)

Similar Documents

Publication Publication Date Title
CN109478135B (en) Computer system and method for rebooting a computer system
US7363480B1 (en) Method, system, and computer-readable medium for updating the firmware of a computing device via a communications network
US9389875B2 (en) Selectable graphics controllers to display output
CN112764872B (en) Computer device, virtualization acceleration device, remote control method, and storage medium
CN114461287B (en) Operating system starting method and device, electronic equipment and storage medium
EP3418890A1 (en) Early logo display in a multiprocessor architecture
AU2018384097B2 (en) Firmware publication of multiple binary images
CN113703854A (en) Quick starting method and device for all-liquid-crystal instrument
CN111045789B (en) Virtual machine starting method and device, electronic equipment and storage medium
CN112199272A (en) Intelligent terminal testing method and device, terminal equipment and medium
US11868784B2 (en) Information processing apparatus and information processing method
CN110321179B (en) Application program starting method, system, device and computer storage medium
Karthik et al. Hypervisor based approach for integrated cockpit solutions
CN111258477B (en) Tab configuration method, system, device and storage medium
CN109408407B (en) Display memory allocation method and device
US8949857B2 (en) Value provider subscriptions for sparsely populated data objects
CN112764822A (en) Operating system starting method, device, equipment and medium
CN115576807B (en) Virtual ECU implementation method and device, electronic equipment and storage medium
CN116069279B (en) Screen display method and vehicle-mounted terminal
CN113656085B (en) Meter starting method, apparatus, device, storage medium and program product
CN116176461B (en) Display method, system, electronic equipment and storage medium of vehicle-mounted instrument interface
CN113722019B (en) Display method, device and equipment of platform program
CN117472393A (en) Multi-operating system burning method, device, terminal and storage medium
CN116932144A (en) Control method and system for virtual machine of vehicle machine
CN112297841A (en) Full liquid crystal instrument system, starting method thereof and vehicle

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