Reversing image display method and device, storage medium, and terminal in vehicle computer system
By initializing the operating system core when the vehicle system is started and initializing the camera and display driver module, the problem of waiting for the operating system to fully start after the vehicle system is started before the reversing image is displayed, which realizes fast real-time preview of the user when the vehicle system is reversed and improves the user experience.
Patent Information
- Application Number
- CN202011003869.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-22
- Publication Date
- 2025-04-15
- Estimated Expiration
- 2040-09-22
AI Technical Summary
After the existing car system is started, it needs to wait for the operating system to fully start before the reversing image is displayed, resulting in poor user experience.
When the vehicle system is started, the kernel of the operating system is initialized, and the camera module and display driver module are initialized in the kernel. After the initialization of the camera module and the display driver module is completed, the reverse signal is detected and the reverse image information is obtained and displayed when the signal is received.
It realizes that the reversing image can be displayed before the operating system is fully booted, improving the user's real-time preview ability and user experience when reversing.
Smart Images

Figure CN112078487B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of computer technology, and in particular to a method and device for displaying a reversing image in a vehicle system, a storage medium, and a terminal. Background Art
[0002] In the prior art, in order to facilitate drivers to drive vehicles, more and more vehicles are equipped with cameras. The reversing images collected by the cameras can be displayed on the display interface of the vehicle system for users to view and to facilitate users to reverse.
[0003] After the user starts the vehicle, if there is a need to reverse, they need to wait for the car system to start before they can preview the real-time image behind the car. However, the common operating system for car systems in the current market is the Android system, which takes a long time to start, usually more than 10 seconds. When the driver enters the car and starts it, shifting into reverse gear cannot achieve a quick preview of the real-time image behind the car, which affects the user experience.
[0004] Therefore, there is an urgent need for a display method that can quickly display a reversing image when the vehicle system is turned on. Summary of the invention
[0005] The technical problem solved by the embodiment of the present invention is that the reversing image display speed is slow.
[0006] To solve the above technical problems, an embodiment of the present invention provides a method for displaying a reversing image in a vehicle system, comprising: when it is detected that the vehicle system is started, initializing the kernel of the operating system, and completing the initialization of a camera module and a display driver module in the kernel; after the initialization of the camera module and the display driver module is completed, detecting whether a reversing signal is received; when a reversing signal is received, acquiring reversing image information collected by the camera; and displaying the reversing image information.
[0007] Optionally, completing the initialization of the camera module and the display driver module in the kernel includes: initializing a first type of configuration in the camera module and the display module, and delaying the initialization of a second type of configuration in the camera module and the display module.
[0008] Optionally, the reversing image display method in the vehicle system further includes: after completing the initialization of the first type of configuration in the camera module and the display module, initializing the second type of configuration in the camera module and the display module.
[0009] Optionally, the method for displaying a reversing image in a vehicle system further includes: before initializing the kernel, initializing a kernel boot module, wherein the kernel boot module is used to guide the startup of the kernel.
[0010] Optionally, during the initialization process of the kernel boot module, at least one of the following optimization operations is performed: removing the secure boot function of the kernel boot module from the startup phase of the kernel boot module; limiting the initialization of specified modules, the specified modules including at least one of the following: key detection, charging chip, and vibration unit; optimizing the configuration related to log printing and time statistics operations; optimizing the delay duration in the LCD initialization sequence.
[0011] Optionally, after the camera module and the display driver module are initialized, detecting whether a reversing signal is received includes: after the camera module and the display driver module are initialized, creating a first thread, and using the first thread to detect the reversing signal.
[0012] Optionally, when a reversing signal is received, reversing image information collected by a camera module is obtained, including: when the reversing signal is received, creating a second thread, using the second thread to start the camera and obtain the reversing image information.
[0013] Optionally, the obtaining of the reversing image information captured by the camera includes: obtaining the reversing image information captured by the camera from a memory unit.
[0014] Optionally, obtaining the reversing image information captured by the camera from the memory unit includes: after detecting that the camera module and the display driver module are initialized, applying for a shared memory from the memory unit, and obtaining the reversing image information captured by the camera from the shared memory.
[0015] Optionally, the reversing image display method in the vehicle system also includes: after the reversing signal is detected and before the gear shift signal is detected, shielding the application layer display information of the operating system; after the gear shift signal is detected, canceling the shielding of the application layer display information.
[0016] Optionally, the method for displaying a reversing image in the vehicle system further includes: when the reversing signal is not received for more than a preset time, starting the display interface in a default mode.
[0017] An embodiment of the present invention also provides a reversing image display device in a vehicle system, comprising: a startup unit, which is used to initialize the kernel of the operating system when it is detected that the vehicle system is started, and complete the initialization of the camera module and the display driver module in the kernel; a detection unit, which is used to detect whether a reversing signal is received after the initialization of the camera module and the display driver module is completed; an acquisition unit, which is used to acquire the reversing image information collected by the camera when a reversing signal is received; and a display unit, which is used to display the reversing image information.
[0018] An embodiment of the present invention further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of any of the above-mentioned methods for displaying a reversing image in a vehicle system are executed.
[0019] An embodiment of the present invention further provides a terminal, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor runs the computer program, the steps of any of the above-mentioned methods for displaying a reversing image in a vehicle system are executed.
[0020] Compared with the prior art, the technical solution of the embodiment of the present invention has the following beneficial effects:
[0021] When it is detected that the vehicle system is started, when the kernel of the operating system is initialized, the initialization of the camera module and the display driver module is completed in the kernel, and after the camera module and the display driver module are initialized, the reversing signal is detected. When the reversing signal is detected, the reversing image information collected by the camera is obtained and displayed. Since the initialization of the camera module and the display module is completed during the initialization of the kernel, when the reversing signal is detected, the reversing image information can be displayed during the startup of the operating system, without waiting for the operating system to be fully started. Therefore, after the user shifts into reverse gear, the real-time picture behind the vehicle can be quickly previewed, so as to accurately grasp the road conditions behind the vehicle and improve the user experience.
[0022] Furthermore, when the camera module and the display driver module are initialized in the kernel, the first type of configuration in the camera module and the display module is initialized, and the initialization of the second type of configuration in the camera module and the display module is delayed, thereby speeding up the initialization of the camera module and the display module, and further making the reversing image display faster.
[0023] Furthermore, during the initialization process of the kernel boot module, at least one of the following operations is performed: removing the secure boot function of the kernel boot module from the startup phase of the kernel boot module, limiting the initialization of specified modules, optimizing the configuration related to log printing and time statistics operations, optimizing the delay duration in the LCD initialization sequence, etc., thereby reducing the initialization duration of the kernel boot module and entering the kernel initialization phase faster, thereby further making the reversing image display faster.
[0024] Furthermore, after receiving the reversing signal and before detecting the gear shifting signal, the application layer display information of the operating system is shielded to prevent other application layer display information from affecting the display of the reversing image information during the reversing process. When the gear shifting signal is detected, the shielding of the application layer display information is canceled to restore the normal display of the application layer display information. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1 It is a schematic diagram of a hardware structure applicable to a method for displaying a reversing image in a vehicle system in an embodiment of the present invention;
[0026] Figure 2 is a flow chart of a method for displaying a reversing image in a vehicle system in an embodiment of the present invention;
[0027] Figure 3 is a flow chart of another method for displaying a reversing image in a vehicle system in an embodiment of the present invention;
[0028] Figure 4 It is a structural schematic diagram of a reversing image display device in a vehicle system in an embodiment of the present invention. DETAILED DESCRIPTION
[0029] After the user starts the vehicle, if there is a need to reverse, it is necessary to wait for the car system to start before previewing the real-time image behind the car. This is mainly because the car system relies on the operating system (such as the Android system) on the system to complete the initialization when displaying the reversing image. Specifically, only when the operating system (such as the Android system) is fully started, can the display service of the application layer (for example: the SurfaceFlinger service in the Android system) be called to display the reversing image. During the initialization of the operating system, the reversing image cannot be displayed. With the continuous development of the current operating system, the number of services and applications supported by the operating system continues to increase, and the number of services and drivers that need to be started and loaded when the operating system is initialized is also increasing. As a result, the initialization of the operating system usually takes a long time. After the device is turned on, it takes a certain amount of time to preview the multimedia information, resulting in the user not being able to preview the reversing image in real time when the device needs to be turned on and displayed quickly. The operating system commonly used by car systems in the current market is the Android system. The Android system takes a long time to start, usually more than 10s. For example, the initialization of the Android system generally takes more than 10 seconds. When the user starts the device equipped with the Android system, it takes a long time to wait. After the Android system is initialized, the display service in the Android system (such as SurfaceFlinger service) can be called for display. As a result, when the driver enters the car and starts it, after shifting into reverse gear, it is not possible to quickly preview the real-time picture behind the car, which is a user experience.
[0030] To solve the above problem, in an embodiment of the present invention, when it is detected that the vehicle system is started, when the kernel of the operating system is initialized, the initialization of the camera module and the display driver module is completed in the kernel, and after the camera module and the display driver module are initialized, the reversing signal is detected. When the reversing signal is detected, the reversing image information collected by the camera is obtained and displayed. Since the initialization of the camera module and the display module is completed during the initialization of the kernel, when the reversing signal is detected, the reversing image information can be displayed during the startup of the operating system without waiting for the operating system to be fully started. This allows the user to quickly preview the real-time picture behind the vehicle after shifting into reverse gear, so as to accurately grasp the road conditions behind the vehicle and improve user experience.
[0031] In order to make the above-mentioned purposes, features and beneficial effects of the embodiments of the present invention more obvious and understandable, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0032] The embodiment of the present invention provides a method for displaying a reversing image in a vehicle system, which can be executed by various devices equipped with an operating system, such as a vehicle-mounted device or a mobile device, but not limited thereto. The operating system can be various appropriate operating systems, such as an Android system, an IOS system, a UNIX system, etc., but not limited thereto.
[0033] For ease of understanding, refer to Figure 1 , a schematic diagram of the hardware structure applicable to a method for displaying a reversing image in a vehicle system in an embodiment of the present invention is given. Figure 1 , a hardware structure applicable to a reversing image display method in a vehicle system provided by an embodiment of the present invention is described.
[0034] The hardware structure used in the reversing image display method may include an application processor 11, and a memory unit 12, a camera module 13, a display module 14, a gear detection sensor 15, etc., which are respectively coupled to the application processor 11.
[0035] The memory unit 12 may be any appropriate storage unit, and the memory unit 12 may be used to store the reversing image information collected by the camera module 13 .
[0036] The camera module 13 can collect the reversing image information behind the vehicle in real time.
[0037] The application processor 11 may be any appropriate application processor, for example, an application processor based on the Advanced RISCMachine (Arm) architecture, an application processor based on the X86 architecture, or an application processor based on a reduced instruction set computer (RISV), but is not limited thereto.
[0038] The application processor 11 may include a display processor, which may be any processor capable of processing multimedia information, wherein the multimedia information may include reversing image information. The display processor may be used to process the multimedia information to be displayed, including updating the multimedia information to be displayed, encoding or formatting the multimedia information to be displayed, and sending the multimedia information to be displayed to the display module 14, but is not limited thereto.
[0039] The application processor 11 can obtain the reversing image information of the camera module 13 through the camera acquisition interface, and transmit the reversing image information to the display module 14 after processing.
[0040] The gear detection sensor 15 can detect a gear change signal and send the detected gear change signal to the application processor 11, so that the application processor 14 can determine whether to enter or exit the reversing image display according to the gear change signal.
[0041] Reference Figure 2 , a flowchart of a method for displaying a reversing image in a vehicle system in an embodiment of the present invention is given, which may specifically include the following steps:
[0042] Step S21, when it is detected that the vehicle system is started, the kernel of the operating system is initialized, and the initialization of the camera module and the display driver module is completed in the kernel.
[0043] In specific implementation, the car system is the abbreviation of the in-vehicle infotainment product installed in the vehicle, which can functionally realize information communication between people and vehicles, and between vehicles and the outside world.
[0044] When the vehicle system is detected to be started, the kernel of the operating system can be started, which can also be called initializing the kernel of the operating system. The kernel of the operating system can be a Linux kernel or another type of kernel. Initializing the kernel of the operating system can include one or more of the following: creating an initialization page table, initializing the paging memory management unit (Memory Management Unit, MMU), initializing the serial port driver and the network port driver, etc., but is not limited to these.
[0045] In a specific implementation, when the kernel of the operating system is initialized, the initialization of the camera module and the display driver module is completed in the kernel.
[0046] In the embodiment of the present invention, the camera module can be initialized in the following manner: the interface function for opening and configuring the camera is transplanted into the kernel, and the transplantation of the required interface function is completed, that is, the initialization of the camera module is completed. After the camera module is initialized, the kernel has a camera acquisition interface, and the application processor can obtain the reversing image information collected by the camera module through the camera acquisition interface, and transmit the reversing image information to the display module.
[0047] The display driver module can be used to configure various parameters of the interface and / or module in the reversing image display method, so that each interface and / or module is in a state where it can work normally. For example, the display driver module can be used to configure the display interface so that the reversing image information to be displayed can be sent to the display module, and the display driver module can also be used to configure the display module so that the display module can present the received reversing image information on the display screen.
[0048] In a specific implementation, in order to improve the initialization efficiency of the camera module and further improve the quick startup efficiency of the reversing image, in an embodiment of the present invention, the first type of configuration in the camera module and the display module can be initialized, and the initialization of the second type of configuration in the camera module and the display module can be delayed.
[0049] The first type of configuration related to the camera module may include: image sensor related configuration, focus configuration, etc. The second type of configuration related to the camera may include: exposure related configuration, flash related configuration, etc.
[0050] The first type of configuration related to the display module may include at least one of the following: a display processing unit (DPU), a display serial interface (DSI), a D-PHY, and a configuration related to a panel of a liquid crystal display (LCD), etc., wherein D-PHY is a high-speed, low-power source synchronous physical layer. The second type of configuration related to the display module may include: a configuration related to a direct rendering manager (DRM), etc.
[0051] In an embodiment of the present invention, in order to improve the efficiency of reversing image display while taking into account the performance of the camera and improving the quality of images captured by the camera, in an embodiment of the present invention, after completing the initialization of the first type of configuration in the camera module and the display module, the second type of configuration of the camera module and the display module is initialized.
[0052] Step S22: After the camera module and the display driver module are initialized, detecting whether a reversing signal is received.
[0053] In a specific implementation, after the camera module and the display module are initialized, it can be detected whether a reversing signal is received.
[0054] Specifically, after the camera module and the display driver module are initialized, a first thread may be created, and the first thread may be used to detect the reversing signal.
[0055] Specifically, a gear detection sensor can be used to detect gear changes. When the gear detection sensor detects a gear change, the gear change signal can be passed to the started kernel through the pin of the application processor. The application processor determines whether the gear change signal is a reversing signal. When it is a reversing signal, the reversing image display can be quickly started.
[0056] Step S23, when a reversing signal is received, obtaining reversing image information collected by the camera.
[0057] In a specific implementation, when the reversing signal is received, a second thread may be created, and the second thread may be used to start the camera and obtain the reversing image information. The second thread may display the reversing image information during the kernel startup process of the operating system.
[0058] Specifically, the second thread can be used for initialization configuration and startup of the image sensor kernel level in the camera, enable the camera framework (Dcamera) to receive data, configure the mobile industry processor interface (MIPI), and can also configure other types of interfaces to enable the image sensor data stream to obtain reversing image data.
[0059] The first thread is used to detect the reversing signal, and the second thread is used to start the camera module and obtain the reversing image information. The efficiency of the reversing image display can be further improved by processing the first thread and the second thread in parallel.
[0060] In a specific implementation, the reversing image information collected by the camera can be obtained from the memory unit.
[0061] In the embodiment of the present invention, the reversing image information can be transmitted by ION shared memory. ION is a popular memory allocation management mechanism in the current Linux system, and is most used in the multimedia part. For example, from the camera to the display, from the multimedia service (Mediaserver) to the Surfaceflinger, ION is used for memory allocation management. The most notable feature is that it can be shared between processes in the user space or between modules in the kernel space, and this sharing can be zero-copy.
[0062] Specifically, after the camera module and the display driver module are detected to be initialized, a buffer is applied from the memory unit as a shared memory, and the information collected by the camera is obtained from the shared memory.
[0063] In a specific implementation, the reversing image information collected by the camera can be stored in a shared memory. The address of the shared memory can be converted into a virtual address of the operating system kernel, or the address of the shared memory is mapped to a physical address, and the physical address is filled into the access address space of the display driver module. Through the method in the embodiment of the present invention, by converting the address of the shared memory into a virtual address of the operating system kernel or mapping it to a physical address. Based on the shared memory, the reversing image information can be transferred to the display module through zero copy to solve the problem of low efficiency caused by copying the reversing image information from one storage area to another storage area.
[0064] In the embodiment of the present invention, after the camera module and the display driver module are initialized in the kernel, the kernel has a reversing image display interface, through which the reversing image information to be displayed can be read from the shared memory.
[0065] Step S24, displaying the reversing image information.
[0066] From the above, it can be seen that when the vehicle system is detected to be started, when the kernel of the operating system is initialized, the initialization of the camera module and the display driver module is completed in the kernel, and after the camera module and the display driver module are initialized, the reversing signal is detected. When the reversing signal is detected, the reversing image information collected by the camera is obtained and displayed. Since the initialization of the camera module and the display module is completed during the initialization of the kernel, when the reversing signal is detected, the reversing image information can be displayed during the startup of the operating system. Compared with the prior art in which the camera module is initialized and started at the application layer, in the embodiment of the present invention, the initialization of the camera module and the display driver module can be completed without waiting until the operating system is fully started, so that the user can quickly preview the real-time picture behind the vehicle after shifting into reverse gear, so as to accurately grasp the road conditions behind the vehicle and improve the user experience.
[0067] In a specific implementation, before initializing the kernel in step S21, the kernel boot module may also be initialized. The kernel boot module (BootLoader) is used to guide the startup of the kernel. Specifically, BootLoader runs before the operating system kernel runs. It can initialize hardware devices and establish a memory space mapping map, thereby bringing the system's hardware and software environment to a suitable state, so as to prepare the correct environment for the final call to the operating system kernel.
[0068] In the embodiment of the present invention, Uboot may be used to boot the kernel. It is understandable that other types of kernel boot modules may also be used.
[0069] In order to further improve the efficiency of reversing image display, in an embodiment of the present invention, during the initialization process of the kernel boot module, at least one of the following optimization operations can be performed: removing the safe boot function of the kernel boot module from the startup phase of the kernel boot module; limiting the initialization of designated modules, the designated modules including at least one of the following: button detection, charging chip and vibration unit; optimizing the configuration related to log printing and time statistics operations; optimizing the delay duration in the LCD initialization sequence.
[0070] Among them, log printing and time statistics mainly print some information to the corresponding output interface to facilitate subsequent investigation. Optimizing the configuration related to log printing and time statistics operations can limit the log printing and time statistics corresponding to some information that cannot be seen in the user space, and retain the log printing and time statistics of some necessary information.
[0071] Optimizing the delay time in a liquid crystal display (LCD) initialization sequence may be to shorten the delay time of the LCD so that the LCD can quickly enter a working state.
[0072] In the specific implementation, while completing the initialization of the kernel boot module and optimizing some of the above-mentioned configurations in the kernel boot module, it is also necessary to ensure the completion of the initialization of the CPU, phase-locked loop (PLL), double-rate synchronous dynamic random access memory (DDR), cache and other hardware, so that the CPU and memory can run stably, complete the loading of drivers such as serial port, flash, network port, and build a shell environment to accept user input.
[0073] By optimizing the kernel boot module, the initialization time of the kernel boot module can be reduced, so that the kernel can be guided into initialization as quickly as possible, further improving the efficiency of reversing image display.
[0074] In a specific implementation, before the kernel boot module is initialized, the firmware module can also be initialized, wherein the firmware module initialization can include operations such as ROM Code segment initialization clock, on-chip RAM, related peripherals, and configuration of gear detection sensor signal receiving pin information.
[0075] In a specific implementation, during the reversing image display process, the operating system is also started. In order to prevent the reversing time from being greater than the operating system startup time, causing the display service to start refreshing the user interface, and to ensure that other application layer display information does not affect the display of the reversing image during the reversing process, in an embodiment of the present invention, after the reversing signal is detected and the gear shift signal is not detected, the application layer display information of the operating system is shielded, so that during the operating system startup process and after the operating system startup is completed, the application layer display information does not affect the display of the reversing image. Shielding the application layer display information can be achieved by setting the display priority of the reversing image to the highest, so that as long as there is a reversing image display, even if there is application layer display information, it will not be displayed. Alternatively, before the gear shift signal is detected, as long as there is reversing image information being displayed, the application layer information is restricted from being sent to the display module for display.
[0076] In a specific implementation, when no reversing signal is received for a set period of time, a default startup display interface may be used to display information from the application layer.
[0077] In a specific implementation, when the first thread is used to detect a reversing signal, if no reversing signal is received within a set time, the first thread is exited after the operating system is started, that is, the fast reversing image display is exited.
[0078] In a specific implementation, when the first thread is used to detect a reversing signal, if the first thread detects a reversing signal, a second thread is created to start the fast reversing function. When the first thread detects a gear shift signal, the reversing function is stopped and the next reversing signal is continued to be waited for until the operating system is fully started and the first thread is exited, that is, the fast reversing image display is exited.
[0079] In order to facilitate those skilled in the art to better understand and implement the embodiment of the present invention, the embodiment of the present invention also provides a flowchart of another method for displaying a reversing image in a vehicle system, which may specifically include the following steps:
[0080] Step S301, when it is detected that the vehicle system is started, initialize Uboot.
[0081] In a specific implementation, the kernel boot module adopts Uboot. The optimization operation of Uboot during the initialization process can refer to the description of the optimization scheme during the kernel boot module initialization process provided in the above embodiment of the present invention, which will not be repeated here.
[0082] Entering the Uboot stage, this stage is the optimization stage. The hardware modules need to be initialized normally, such as initializing the CPU, PLL, DDR, Cache and other hardware, so that the CPU and memory can run stably, and complete the loading of drivers such as serial port, flash, network port, and build a shell environment to accept user input.
[0083] Step S302, initializing the kernel.
[0084] Step S303, completing the initialization of the camera module in the kernel.
[0085] Step S304, after the initialization of the camera module is completed, the reversing image quick display thread is started.
[0086] The reversing image fast display thread is also the first thread in the above embodiment of the present invention, which is used to detect the reversing signal.
[0087] Step S305, determining whether a reversing signal is detected.
[0088] In a specific implementation, when the judgment result is yes, step S306 is executed; when the judgment result is no, step S310 is executed.
[0089] Step S306, creating a second thread, the second thread is used for initializing configuration and starting the camera.
[0090] Step S307, apply for ION Buffer.
[0091] Step S308, filling in display data.
[0092] Step S309, refresh the display screen.
[0093] Step S310, determining whether the set time period has been exceeded.
[0094] When the judgment result is yes, execute step S311; when the judgment result is no, continue to execute step S305.
[0095] Step S311, start the display interface normally.
[0096] The embodiment of the present invention also provides a reversing image display device in a vehicle system, referring to Figure 4 , a schematic diagram of the structure of a reversing image display device in a vehicle system according to an embodiment of the present invention is given. The reversing image display device 40 in the vehicle system may include:
[0097] The startup unit 41 is used to initialize the kernel of the operating system when it is detected that the vehicle system is started, and complete the initialization of the camera module and the display driver module in the kernel;
[0098] A detection unit 42, configured to detect whether a reversing signal is received after the camera module and the display driver module are initialized;
[0099] The acquisition unit 43 is used to acquire the reversing image information collected by the camera when receiving the reversing signal;
[0100] The display unit 44 is used to display the reversing image information.
[0101] In a specific implementation, the specific working principle and working process of the reversing image display device 40 in the vehicle system can refer to the description of the reversing image display method in the vehicle system provided in the above embodiment of the present invention, and will not be repeated here.
[0102] An embodiment of the present invention further provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the method for displaying a reversing image in a vehicle system provided in the above embodiment of the present invention are executed.
[0103] An embodiment of the present invention also provides a terminal, including a memory and a processor, wherein the memory stores a computer program that can be run on the processor, and when the processor runs the computer program, the steps of the reversing image display method in the vehicle system provided in the above embodiment of the present invention are executed.
[0104] Those skilled in the art will appreciate that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in any computer-readable storage medium, which may include: ROM, RAM, magnetic disk or optical disk, etc. The storage medium may also include a non-volatile memory or a non-transitory memory, etc.
[0105] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. A method for displaying a reversing image in a vehicle system, characterized in that: include: When it is detected that the vehicle system is started, the kernel of the operating system is initialized, and the initialization of the camera module and the display driver module is completed in the kernel; The initialization of the camera module and the display driver module is completed in the kernel, including: initializing the first type of configuration in the camera module and the display driver module, and delaying the initialization of the second type of configuration in the camera module and the display driver module, and after completing the initialization of the first type of configuration in the camera module and the display driver module, initializing the second type of configuration in the camera module and the display driver module; wherein the first type of configuration related to the camera module includes: image sensor related configuration, focus configuration; the second type of configuration related to the camera includes: exposure related configuration, flash related configuration; the first type of configuration related to the display driver module includes at least one of the following: display processing unit, display serial interface, D-PHY and configuration related to the panel of the liquid crystal display screen; the second type of configuration related to the display driver module includes: direct rendering manager related configuration; After the camera module and the display driver module are initialized, detecting whether a reversing signal is received; When a reversing signal is received, the reversing image information collected by the camera is obtained; Displaying the reversing image information; The initialization of the camera module is completed in the kernel, including: transplanting the interface function used to start and configure the camera into the kernel, completing the transplantation of the required interface function, that is, completing the initialization of the camera module.
2. The method for displaying a reversing image in a vehicle system as claimed in claim 1, characterized in that: Also includes: Before initializing the kernel, a kernel boot module is initialized, and the kernel boot module is used to guide the startup of the kernel.
3. The method for displaying a reversing image in a vehicle system as claimed in claim 2, characterized in that: During the initialization process of the kernel boot module, at least one of the following optimization operations is performed: Removing the secure boot function of the kernel boot module from the kernel boot module startup phase; Restricting the initialization of a designated module, wherein the designated module includes at least one of the following: a key detection, a charging chip, and a vibration unit; Optimize the configuration related to log printing and time statistics operations; Optimize the delay duration in LCD initialization sequence.
4. The method for displaying a reversing image in a vehicle system as claimed in claim 1, characterized in that: When the camera module and the display driver module are initialized, detecting whether a reversing signal is received includes: After the camera module and the display driver module are initialized, a first thread is created, and the first thread is used to detect the reversing signal.
5. The method for displaying a reversing image in a vehicle system as claimed in claim 4, characterized in that: When a reversing signal is received, obtaining reversing image information collected by the camera module includes: When the reversing signal is received, a second thread is created, and the second thread is used to start the camera and obtain the reversing image information.
6. The method for displaying a reversing image in a vehicle system as claimed in claim 1, characterized in that: The step of obtaining the reversing image information collected by the camera includes: The reversing image information collected by the camera is obtained from the memory unit.
7. The method for displaying a reversing image in a vehicle system as claimed in claim 6, characterized in that: The step of obtaining the reversing image information collected by the camera from the memory unit includes: After the camera module and the display driver module are detected to be initialized, a shared memory is requested from the memory unit, and the reversing image information collected by the camera is obtained from the shared memory.
8. The method for displaying a reversing image in a vehicle system as claimed in claim 1, characterized in that: Also includes: After detecting the reversing signal and before detecting the gear shifting signal, shielding the application layer display information of the operating system; After the gear shift signal is detected, the shielding of the application layer display information is cancelled.
9. The method for displaying a reversing image in a vehicle system as claimed in claim 1, characterized in that: Also includes: When the reversing signal is not received for more than a preset time, the display interface is started in a default mode.
10. A reversing image display device in a vehicle system, characterized in that: include: A startup unit, used to initialize the kernel of the operating system when it is detected that the vehicle system is started, and complete the initialization of the camera module and the display driver module in the kernel; The initialization of the camera module and the display driver module is completed in the kernel, including: initializing the first type of configuration in the camera module and the display driver module, and delaying the initialization of the second type of configuration in the camera module and the display driver module, and after completing the initialization of the first type of configuration in the camera module and the display driver module, initializing the second type of configuration in the camera module and the display driver module; wherein the first type of configuration related to the camera module includes: image sensor related configuration, focus configuration; the second type of configuration related to the camera includes: exposure related configuration, flash related configuration; the first type of configuration related to the display driver module includes at least one of the following: display processing unit, display serial interface, D-PHY and configuration related to the panel of the liquid crystal display screen; the second type of configuration related to the display driver module includes: direct rendering manager related configuration; A detection unit, configured to detect whether a reversing signal is received after the camera module and the display driver module are initialized; An acquisition unit, used to acquire the reversing image information collected by the camera when receiving a reversing signal; A display unit, used for displaying the reversing image information; The startup unit is used to transplant the interface function used to start and configure the camera into the kernel, completing the transplantation of the required interface function, that is, completing the initialization of the camera module.
11. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method for displaying a reversing image in a vehicle system according to any one of claims 1 to 9 are executed.
12. A terminal comprising a memory and a processor, wherein the memory stores a computer program that can be run on the processor, characterized in that: When the processor runs the computer program, the steps of the method for displaying a reversing image in a vehicle system according to any one of claims 1 to 9 are executed.
Citation Information
Patent Citations
Method and device for controlling vehicle backing image display
CN106043124A
Quick starting method of Linux vehicle-mounted information system
CN107291510A
Method for quickly achieving panoramic reversing of Android vehicle cold start
CN109532721A
Control apparatus for changing the screen and audio of AVN system according to vehicle mode
KR101656028B1