CN117785087A - Method and system for displaying reversing image of automobile, automobile and storage medium - Google Patents

Method and system for displaying reversing image of automobile, automobile and storage medium Download PDF

Info

Publication number
CN117785087A
CN117785087A CN202311551051.9A CN202311551051A CN117785087A CN 117785087 A CN117785087 A CN 117785087A CN 202311551051 A CN202311551051 A CN 202311551051A CN 117785087 A CN117785087 A CN 117785087A
Authority
CN
China
Prior art keywords
cpu core
thread
image
reverse
displaying
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
CN202311551051.9A
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.)
Nanjing Desai Xiwei Automobile Electronics Co ltd
Original Assignee
Nanjing Desai Xiwei Automobile Electronics 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 Nanjing Desai Xiwei Automobile Electronics Co ltd filed Critical Nanjing Desai Xiwei Automobile Electronics Co ltd
Priority to CN202311551051.9A priority Critical patent/CN117785087A/en
Publication of CN117785087A publication Critical patent/CN117785087A/en
Pending legal-status Critical Current

Links

Landscapes

  • Closed-Circuit Television Systems (AREA)

Abstract

The application relates to the technical field of automobile auxiliary driving, in particular to a method and a system for displaying automobile reversing images, an automobile and a storage medium. The method comprises the following steps: the SOC system is powered on, and a boot loader is operated through a first CPU core which does not need to be initialized; the boot loader creates a reversing image thread and binds the reversing image thread to a second CPU core for execution; and running the reversing image thread according to the boot loader, and executing the reversing image thread by the second CPU core to finish quick reversing image display. The method optimizes the flow of displaying the reversing image, and can realize the displaying of the reversing image before the loading of the automobile entertainment operation system is completed when the microprocessor is not arranged in the SOC system, so that the reversing image can be displayed quickly.

Description

Method and system for displaying reversing image of automobile, automobile and storage medium
Technical Field
The application relates to the technical field of automobile auxiliary driving, in particular to a method and a system for displaying automobile reversing images, an automobile and a storage medium.
Background
In the design of the vehicle reversing function, reversing images are realized on a vehicle-mounted entertainment operation system, so that convenient rear observation is provided for a driver. However, the start-up speed of the in-vehicle entertainment operating system is relatively slow, which causes a problem: when a driver hangs up the reverse gear after starting the automobile, the driver needs to wait for the complete starting of the operating system before entering the reverse image mode. Typically, it takes about 3 seconds to enter reverse imaging mode, and this delay can have an impact on the driver's experience and safety, especially in emergency driving situations. For example, waiting for a few seconds to obtain a reverse image may affect the response speed and judgment of the driver when the driver needs to make an emergency avoidance of an obstacle or avoid a collision with other vehicles.
To address the above, some automobile manufacturers and technological companies have begun to develop and push faster-starting in-vehicle entertainment operating systems to reduce the latency of entering reverse image mode. For example, the patent application CN202110429813.2 proposes a solution by communication and cooperation between a first microprocessor disposed outside the SOC system and a second microprocessor disposed inside the SOC system, and processing and displaying of the reverse image by the second microprocessor.
The above scheme relies on a second microprocessor arranged in the SOC system to realize the start of the reverse image process of the automobile, however, in some cases, when the SOC system is not provided with the microprocessor mentioned by the above equipment, the transmission of the reverse instruction and the processing of the reverse image are hindered, which results in difficulty in realizing fast reverse.
Therefore, without the microprocessor mentioned by the above device, other solutions need to be considered to shorten the waiting time of the reverse image.
Disclosure of Invention
The application provides a method, a system, an automobile and a storage medium for displaying automobile reversing images, which are used for solving the technical problem that the quick reversing is difficult when a microprocessor is not arranged in an SOC system in the background art. According to the method and the system, the flow of displaying the reversing image is optimized, and when the microprocessor is not arranged in the SOC system, the reversing image can be displayed before the loading of the automobile entertainment operation system is completed, so that the reversing image can be displayed quickly.
In a first aspect, the present application provides a method for displaying a reverse image of an automobile, including:
the SOC system is powered on, and a boot loader is operated through a first CPU core which does not need to be initialized;
the boot loader creates a reversing image thread and binds the reversing image thread to a second CPU core for execution;
and running the reversing image thread according to the boot loader, and executing the reversing image thread by the second CPU core to finish quick reversing image display.
In some preferred embodiments, the binding the reverse image thread to the second CPU core for execution includes:
initializing a second CPU core and transmitting the address of the reversing image thread to a register of the second CPU core.
In some preferred embodiments, the register is a PC register.
In some preferred embodiments, the reverse image thread includes:
initializing a camera and a vehicle-mounted display screen;
receiving and processing a reverse signal;
and acquiring the image data of the camera, and transmitting the image data to the vehicle-mounted display screen for display.
In some preferred embodiments, the reverse image thread further includes an exit and release kernel thread.
In some preferred embodiments, the exiting and releasing the kernel thread includes:
determining whether the value of the signal value transmitted by the operating system is 0;
if yes, continuing to run the reversing image thread on the second CPU core;
if not, taking the non-zero value as an address to jump to an operating system to execute the reversing image thread, and releasing the second CPU core.
In a second aspect, the present application provides an in-vehicle entertainment operation system for performing the method for displaying a reverse image of an automobile according to the first aspect, the system at least comprising:
the micro control unit is used for master control of the operating system;
the SOC system is used for executing a reversing image thread;
a camera; and
a display.
In some preferred embodiments, the SOC system includes at least a first CPU core for running a boot loader and a second CPU core for executing a reverse image thread.
In a third aspect, the present application provides an automobile comprising the in-vehicle entertainment operating system according to the second aspect, the system being configured to perform the method of displaying reverse images of an automobile according to the first aspect.
In a fourth aspect, the present application provides a storage medium having a computer program stored thereon, where the computer program when executed by a processor implements the method for displaying a reverse image of an automobile according to the first aspect.
The beneficial effects are that:
the method and the device adopt the boot loader to create the reversing image thread and bind the reversing image thread to the second CPU core for execution so as to realize quick display of the reversing image of the automobile. After the SOC system is electrified, the first CPU core can be used, the boot loader creates a reversing image thread, the reversing image thread is bound to the second CPU core for execution, then the reversing image thread is operated in the first CPU core, and the second CPU core executes the reversing image thread. The method optimizes the flow of displaying the reversing image, and can realize the displaying of the reversing image before the loading of the automobile entertainment operation system is completed when the microprocessor is not arranged in the SOC system, so that the reversing image can be displayed quickly.
Drawings
Fig. 1 is a flowchart of an implementation of a method for displaying a reverse image of an automobile according to an embodiment of the present application.
Fig. 2 shows a flowchart of displaying a reverse image of an automobile according to an embodiment of the present application.
Fig. 3 shows a schematic structural diagram of an in-vehicle entertainment operation system according to an embodiment of the present application.
Wherein: an a-vehicle entertainment operation system, a b-micro control unit, a b-SOC system, a d-camera and an f-display.
Detailed Description
The preferred embodiments of the present application will be described in detail below with reference to the attached drawings so that the advantages and features of the present application will be more readily understood by those skilled in the art, thereby more clearly defining the scope of the present application.
Referring to the drawings, wherein like reference numbers refer to like elements throughout, the principles of the present application are illustrated as being implemented in a suitable computing environment. The following description is based on the illustrated embodiments of the present application and should not be taken as limiting other embodiments not described in detail herein.
The term "module" as used herein may be a software or hardware object executing on the computing system. The different components, modules, engines, and services described herein may be implemented as objects on the computing system. The apparatus and methods described herein may be implemented in software, but may also be implemented in hardware, which is within the scope of the present application.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment may be included in at least one embodiment of the present application. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. Those of skill in the art will explicitly and implicitly appreciate that the embodiments described herein may be combined with other embodiments.
In the description of the present application, it should be noted that, unless explicitly specified and limited otherwise, the terms "mounted," "connected," and "connected" are to be construed broadly, and may be either fixedly connected, detachably connected, or integrally connected, for example; can be mechanically connected, electrically connected or can be communicated with each other; can be directly connected or indirectly connected through an intermediate medium, and can be communicated with the inside of two elements or the interaction relationship of the two elements. The specific meaning of the terms in this application will be understood by those of ordinary skill in the art as the case may be.
Example 1
Referring to fig. 1, fig. 1 is a flowchart illustrating an implementation of a method for displaying a reverse image of an automobile according to an embodiment of the present application. The method comprises the following steps:
step S101, powering up the SOC system, and running a boot loader through a first CPU core which does not need to be initialized.
And step S102, the boot loader creates a reversing image thread and binds the reversing image thread to a second CPU core for execution.
Step S103, running the reversing image thread according to the guide loading program, and executing the reversing image thread by the second CPU core to finish quick reversing image display.
Referring to fig. 2, fig. 2 shows a flowchart of displaying a reverse image of an automobile according to an embodiment of the present application.
In step S101, when the vehicle is powered on by ignition, that is, the vehicle-mounted entertainment operating system of the vehicle is powered on, that is, the SOC system is also powered on, at this time, since the first CPU core is operated without initialization and loading, the boot loader set on the first CPU core is also operated immediately.
In this embodiment, since the vehicle-mounted entertainment operating system needs a certain time to be loaded for use when being powered on, the reversing image thread originally set on the vehicle-mounted entertainment operating system cannot be immediately used, and further operation can be performed after the system is powered on, loaded and initialized. At this time, the action of creating and executing the reverse image thread by the boot loader is faster than the loading speed of the system, so that the reverse image can be quickly displayed.
In step S102, after the boot loader is run, a reverse image thread is first created, and then the reverse image thread is bound to the second CPU core for execution.
In this embodiment, binding the reversing image thread to the second CPU core needs to initialize the second CPU core before the address of the reversing image thread is transferred to the register of the second CPU core.
In this embodiment, the register of the second CPU core is a PC register. Transmitting the address of the reverse image thread to the PC register of the second CPU core means that the start address of the reverse image thread is stored in the program counter of the second CPU core, so that when the second CPU core starts to execute, it reads the instruction from the address and executes the code of the reverse image thread.
In step S103, the reverse image thread is executed by initializing the camera and the vehicle-mounted display screen, detecting whether the operating system is loaded, and if not, continuing to receive and process the reverse signal. And when the gear is the reverse gear, acquiring the image data of the camera, and transmitting the image data to the vehicle-mounted display screen for display.
When the operating system is detected to be loaded, the reversing image thread executes the reversing and releasing kernel thread. That is, determining whether the value of the signal value transmitted by the operating system is 0; if yes, continuing to run the reversing image thread on the second CPU core; if not, taking the non-zero value as an address to jump to an operating system to execute the reversing image thread, releasing a second CPU core, and controlling the second CPU core by the operating system to realize the seamless connection of the reversing image thread to the operating system for controlling and using.
According to the embodiment of the application, the flow of displaying the reversing image is optimized, and when the microprocessor is not arranged in the SOC system, the reversing image can be displayed before the loading of the automobile entertainment operation system is completed, so that the reversing image can be displayed quickly.
Example two
Referring to fig. 3, fig. 3 shows a schematic structural diagram of an in-vehicle entertainment operating system a according to an embodiment of the present application. The system at least comprises a micro control unit b, an SOC system C, a camera d and a display f.
In this embodiment, the micro control unit b is used as a main control chip of the in-vehicle entertainment operation system a. The SOC system C may be configured to execute a reverse image thread. The camera d is used for acquiring images behind the automobile. The display f is used for displaying the image acquired by the camera d.
In the present embodiment, the SOC system C includes at least a first CPU core and a second CPU core. The first CPU core is mainly used for running a boot loader and can run without initializing loading. The second CPU core is mainly used for executing the reversing image thread.
In this embodiment, the method for displaying the reverse image of the vehicle executed by the vehicle-mounted entertainment operation system a is as follows:
step S101, the SOC system C is powered on, and a boot loader is operated through a first CPU core which does not need to be initialized.
And step S102, the boot loader creates a reversing image thread and binds the reversing image thread to a second CPU core for execution.
Step S103, running the reversing image thread according to the guide loading program, and executing the reversing image thread by the second CPU core to finish quick reversing image display.
In this embodiment, binding the reversing image thread to the second CPU core needs to initialize the second CPU core before the address of the reversing image thread is transferred to the register of the second CPU core.
In this embodiment, the register of the second CPU core is a PC register. Transmitting the address of the reverse image thread to the PC register of the second CPU core means that the start address of the reverse image thread is stored in the program counter of the second CPU core, so that when the second CPU core starts to execute, it reads the instruction from the address and executes the code of the reverse image thread.
And the reversing image thread is executed by initializing the camera d and the vehicle-mounted display screen, detecting whether the operating system a is loaded completely, and if not, continuously receiving and processing a reversing signal. And when the gear is the reverse gear, acquiring the image data of the camera d, and transmitting the image data to the vehicle-mounted display screen for display.
When the operating system a is detected to be loaded, the reversing image thread executes the exiting and releasing kernel thread. That is, determining whether the value of the signal value transmitted by the operating system a is 0; if yes, continuing to run the reversing image thread on the second CPU core; if not, taking the non-zero value as an address to jump to the operating system a to execute the reversing image thread, and releasing the second CPU core.
It should be noted that, after entering the operating system a, the operating system a only initializes and starts other cores except the first CPU core and the second CPU core. This is because the first CPU core does not need to be initialized and started, it is already executing the current operating system a. The second CPU core is occupied by the reversing image thread of the boot loader and is not used.
When the operating system a is complete and the image in the operating system a is processed, writing the address of the idle function to the physical address A, notifying the reversing image thread of the second CPU core to exit, and releasing the second CPU core to the operating system a, wherein the second CPU core executes the idle function of the operating system a, and the second CPU core has the operating system a control at the moment, so that the seamless connection of the reversing image thread to the operating system a control use can be realized.
Example III
The embodiment of the application provides an automobile, which comprises the vehicle-mounted entertainment operation system a according to the third embodiment, wherein the system is used for executing the method for displaying the reversing image of the automobile according to the first embodiment or the second embodiment.
The system comprises a micro control unit b, an SOC system C, a camera d and a display f. The micro control unit b is used as a main control chip of the vehicle-mounted entertainment operation system a. The SOC system C may be configured to execute a reverse image thread. The camera d is used for acquiring images behind the automobile. The display f is used for displaying the image acquired by the camera d.
In the present embodiment, the SOC system C includes at least a first CPU core and a second CPU core. The first CPU core is mainly used for running a boot loader and can run without initializing loading. The second CPU core is mainly used for executing the reversing image thread.
In this embodiment, the method for displaying the reverse image of the vehicle executed by the vehicle-mounted entertainment operation system a is as follows:
step S101, the SOC system C is powered on, and a boot loader is operated through a first CPU core which does not need to be initialized.
And step S102, the boot loader creates a reversing image thread and binds the reversing image thread to a second CPU core for execution.
Step S103, running the reversing image thread according to the guide loading program, and executing the reversing image thread by the second CPU core to finish quick reversing image display.
By the method, the starting of the reversing image thread is optimized, after a driver starts the automobile, the driver immediately hangs the R gear, and after receiving the R gear signal, the guide loading program immediately displays the reversing image without waiting until the system is up.
Example IV
The embodiment of the application provides a storage medium, and a computer program is stored on the storage medium, and when the computer program is executed by a processor, the method for displaying the reversing image of the automobile according to the first embodiment or the second embodiment is realized.
The embodiments of the present application have been described in detail above with reference to the drawings, but the present application is not limited to the above embodiments, and various changes can be made within the knowledge of one of ordinary skill in the art without departing from the spirit of the present application.

Claims (10)

1. A method for displaying an image of a vehicle in reverse, comprising:
the SOC system is powered on, and a boot loader is operated through a first CPU core which does not need to be initialized;
the boot loader creates a reversing image thread and binds the reversing image thread to a second CPU core for execution;
and running the reversing image thread according to the boot loader, and executing the reversing image thread by the second CPU core to finish quick reversing image display.
2. The method of displaying a reverse image of a vehicle according to claim 1, wherein the binding the reverse image thread to a second CPU core is performed, comprising:
initializing a second CPU core, and transmitting the address of the reversing image thread to a register of the second CPU core.
3. The method of displaying reverse images of a vehicle according to claim 1, wherein the register is a PC register.
4. The method of displaying a reverse image of a vehicle of claim 1, wherein the reverse image thread comprises:
initializing a camera and a vehicle-mounted display screen;
receiving and processing a reverse signal;
and acquiring the image data of the camera, and transmitting the image data to the vehicle-mounted display screen for display.
5. The method of displaying a reverse image of a vehicle of claim 4, wherein the reverse image thread further comprises exiting and releasing a kernel thread.
6. The method for displaying reverse images of a vehicle according to claim 5, wherein the exiting and releasing the kernel thread comprises:
determining whether the value of the signal value transmitted by the operating system is 0;
if yes, continuing to run the reversing image thread on the second CPU core;
if not, taking the non-zero value as an address to jump to an operating system to execute the reversing image thread, and releasing the second CPU core.
7. A vehicle entertainment operating system for performing a method of displaying a reverse image of a vehicle according to any one of claims 1 to 6, the system comprising at least:
the micro control unit is used for master control of the operating system;
the SOC system is used for executing a reversing image thread;
a camera; and
a display.
8. The in-vehicle entertainment operating system according to claim 7, characterized in that the SOC system includes at least a first CPU core for running a boot loader and a second CPU core for executing a reverse image thread.
9. An automobile comprising the in-vehicle entertainment operating system according to claim 7, said system being adapted to perform the method of displaying reverse images of an automobile according to any one of claims 1 to 6.
10. A storage medium having a computer program stored thereon, which when executed by a processor, implements a method for displaying reverse images of a vehicle according to any one of claims 1 to 6.
CN202311551051.9A 2023-11-20 2023-11-20 Method and system for displaying reversing image of automobile, automobile and storage medium Pending CN117785087A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311551051.9A CN117785087A (en) 2023-11-20 2023-11-20 Method and system for displaying reversing image of automobile, automobile and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311551051.9A CN117785087A (en) 2023-11-20 2023-11-20 Method and system for displaying reversing image of automobile, automobile and storage medium

Publications (1)

Publication Number Publication Date
CN117785087A true CN117785087A (en) 2024-03-29

Family

ID=90388015

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311551051.9A Pending CN117785087A (en) 2023-11-20 2023-11-20 Method and system for displaying reversing image of automobile, automobile and storage medium

Country Status (1)

Country Link
CN (1) CN117785087A (en)

Similar Documents

Publication Publication Date Title
CN105282510A (en) Method and device for starting reverse image
CN103150178A (en) Starting-up display control device and processor chip
CN103975315B (en) Method and system for improving responsiveness in a vehicle computing platform
CN112078487A (en) Method and device for displaying backing image in vehicle-mounted system, storage medium and terminal
CN111752684A (en) Display method and device
JP7259571B2 (en) VEHICLE CONTROL DEVICE, VEHICLE DISPLAY SYSTEM, AND VEHICLE DISPLAY CONTROL METHOD
CN111552516B (en) Rapid starting method of automobile electronic instrument integrated with backing image module
CN115767038A (en) Data transmission method, image acquisition device on vehicle and system-on-chip
CN117785087A (en) Method and system for displaying reversing image of automobile, automobile and storage medium
WO2020250607A1 (en) Vehicular control device, vehicular display system, and vehicular display control method
CN112416280B (en) Multi-display-screen control method of vehicle-mounted terminal
US10162647B2 (en) Information apparatus
CN111746400B (en) Method for rapidly displaying reverse cold start image, computer device and computer readable storage medium
CN111216634B (en) Vehicle-mounted device
WO2023185168A1 (en) Display method for vehicle detection image, and in-car entertainment apparatus
US11868784B2 (en) Information processing apparatus and information processing method
CN107924317B (en) Application program execution device and application program execution method
CN110641478A (en) Automobile domain controller display method and device, automobile and readable storage medium
CN115042822B (en) Parking control method, system, electronic device and storage medium
CN114633622A (en) Automobile digital instrument, panoramic image system and vehicle
JP7151643B2 (en) vehicle equipment
JP6252881B1 (en) Car camera
JP7500749B2 (en) Electronic control system for vehicle and program update method used therein
WO2023241185A1 (en) Human-computer interaction method and apparatus
CN116594696A (en) RVC multi-operation system sharing method, system, medium and vehicle-mounted terminal based on time-sharing multiplexing

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication