CN107920204B - Device and method for rapidly displaying reversing video in cold start - Google Patents

Device and method for rapidly displaying reversing video in cold start Download PDF

Info

Publication number
CN107920204B
CN107920204B CN201711231125.5A CN201711231125A CN107920204B CN 107920204 B CN107920204 B CN 107920204B CN 201711231125 A CN201711231125 A CN 201711231125A CN 107920204 B CN107920204 B CN 107920204B
Authority
CN
China
Prior art keywords
video
image
input module
module
video input
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.)
Active
Application number
CN201711231125.5A
Other languages
Chinese (zh)
Other versions
CN107920204A (en
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.)
Zhuhai Eeasy Electronic Tech Co ltd
Original Assignee
Zhuhai Eeasy Electronic Tech 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 Zhuhai Eeasy Electronic Tech Co ltd filed Critical Zhuhai Eeasy Electronic Tech Co ltd
Priority to CN201711231125.5A priority Critical patent/CN107920204B/en
Publication of CN107920204A publication Critical patent/CN107920204A/en
Application granted granted Critical
Publication of CN107920204B publication Critical patent/CN107920204B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N23/00Cameras or camera modules comprising electronic image sensors; Control thereof
    • H04N23/60Control of cameras or camera modules
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R1/00Optical viewing arrangements; Real-time viewing arrangements for drivers or passengers using optical image capturing systems, e.g. cameras or video systems specially adapted for use in or on vehicles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60RVEHICLES, VEHICLE FITTINGS, OR VEHICLE PARTS, NOT OTHERWISE PROVIDED FOR
    • B60R2300/00Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle
    • B60R2300/80Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the intended use of the viewing arrangement
    • B60R2300/806Details of viewing arrangements using cameras and displays, specially adapted for use in a vehicle characterised by the intended use of the viewing arrangement for aiding parking

Abstract

The invention relates to the technical field of automobile electronics and embedding, and provides a device and a method for rapidly displaying a reversing video through cold start. The traditional reversing video display has two methods, one is realized in a kernel, and the realization is simple but the speed is slow; secondly, the method is realized in bootloader, the speed is high, and the kernel cannot be started simultaneously when the reverse video is displayed. The invention adopts a software and hardware cooperative method, and provides a device comprising a video input and output module supporting automatic image address switching. The invention can quickly display the reversing video, and can normally start the kernel while displaying the reversing video.

Description

Device and method for rapidly displaying reversing video in cold start
Technical Field
The invention relates to the field of automotive electronics and embedded technology, in particular to a device and a method for displaying reversing video.
Background
With the popularization of automobiles, various auxiliary driving systems appear in succession, and the reversing video function is one of the auxiliary driving systems, so that the reversing driving of people is greatly facilitated, and the safety of the reversing driving is improved.
The traditional cold start backing video display method has two methods, firstly, the kernel is called by an application program after the kernel is started, the method is very simple to realize and flexible to use, but because the starting time is long, the backing video can be displayed on a display screen in a long time, and great inconvenience is brought to the use of a user. The improved method is directly realized in the kernel drive, the speed is improved, but the time consumption is still long.
And secondly, the method is realized in the bootloader, the speed of displaying the backing video is very high, but the defect is that the kernel cannot be continuously started when the backing video is displayed. After the user finishes backing up, if the user wants to use the function provided by the system, the user needs to wait for a long starting time, and the user experience is poor. If the kernel is forcibly started while the reverse video is displayed, the reverse video is in a static state due to the fact that software cannot take the task of processing video image refreshing into account during the startup of the kernel, and great potential safety hazards are brought to reverse driving.
Disclosure of Invention
In order to overcome the defects of the traditional method, the invention provides the device and the method for rapidly displaying the reversing video through cold starting, the reversing video can be rapidly displayed, the kernel can be still normally started while the reversing video is displayed, and when reversing is finished, the system interface is immediately switched to, so that a user can immediately use the functions provided by the system, and the experience is better.
In a first aspect, an embodiment of the present invention provides a device for rapidly displaying a reverse video in a cold start mode, including the following points.
The CPU 101, a central processing unit, is an execution unit of instructions corresponding to bootloader, kernel and reverse video related software.
The internal memory 102 stores image data of the reverse video and data of the related software during operation.
The reverse detection module 103 detects the reverse state in real time, and can interrupt the real-time notification software or be actively inquired by the software.
The video input module 104 may receive a camera video signal, and write the video signal into the internal memory after conversion. The module supports the designation of a plurality of image addresses, and received video data is written into memory spaces corresponding to the image addresses in turn according to a specific sequence. The time for switching the image address is when the acquisition of one frame of video image is finished.
The video output module 105 may read image data on the internal memory, convert the image data into a video signal that can be received by the display screen, and directly or indirectly drive the display screen to display a reverse video or a system interface. The module supports a plurality of image addresses to be appointed, and image data on the internal storage space corresponding to the image addresses are read in turn according to a specific sequence and are output to the display screen after being converted. The timing of the module switching the image address is the first vertical blanking region after receiving the synchronization signal sent by the video input module 104.
The synchronization signal 106, which is a signal sent from the video input module to the video output module, is used to synchronize the image addresses used by the video input module and the video output module, and ensure that the image address used by the video output module is the image address corresponding to the current latest internal storage space filled with image data by the video input module.
101. 102, 103, 104, and 105 are connected together by a system bus 107 through which software can initialize and configure the various modules by means of CPU 101, and through which the various modules can also transfer data between the modules.
In a second aspect, an embodiment of the present invention provides a method for rapidly displaying a reverse video in a cold start mode, which includes two stages.
The first stage is a bootloader stage, in the cold starting process of the system, under the condition of backing up, a bootloader program can prepare a plurality of memory spaces for the video input and output modules to use together, configure parameters of the memory spaces and the parameters of the memory spaces, display a backing-up video on a display screen, control the video input module to start outputting a synchronizing signal to the video output module, automatically synchronize image addresses used by the memory spaces and the video output module, continuously display the backing-up video on the display screen without software intervention, and finally load and start a kernel.
The second stage is a kernel stage, the kernel starts a kernel program firstly, then protects the memory space occupied by the reverse video through a memory management technology, prevents other software and hardware modules from using the memory space by mistake to cause abnormity, then initializes the module drive of the kernel and starts an application program, controls the video input module to stop outputting synchronous signals, closes the video input module, controls the video output module to switch to a system interface and display the system interface on a display screen until the reverse video is detected to be finished, and finally releases the memory space occupied by the reverse video.
The invention has the beneficial effects that: the reversing video can be rapidly displayed, the inner core can be normally started while the reversing video is displayed, and when reversing is finished, the system interface is immediately switched, so that a user can immediately use the functions provided by the system, and the experience is better.
Drawings
The invention is further illustrated with reference to the following figures and examples.
Fig. 1 is a schematic diagram of a device for rapidly displaying a reverse video in cold start.
Fig. 2 is a flow of stages of system startup.
Fig. 3 is a bootloader program startup flow.
Fig. 4 is a kernel program startup flow.
Detailed Description
In order to explain technical contents, structural features, and objects and effects of the present invention in detail, the following detailed description is made with reference to the accompanying drawings in conjunction with the embodiments.
Referring to fig. 1, the apparatus for rapidly displaying a reverse video by cold start includes a CPU 101, an internal memory 102, a reverse detection module 103, a video input module 104, and a video output module 105. Specifically, a synchronization signal 106 is connected between the video input module 104 and the video output module 105, and the modules are connected together by a system bus 107.
In practical application, the reverse detection module 103 is connected with a reverse signal line of an automobile, the video input module 104 is externally connected with a camera, and the video output module 105 is connected with a display screen through a specific signal line.
Referring to fig. 2, the system startup generally includes the following stages.
And 201, running bootloader.
202, running the kernel.
And 203, running the application program.
According to the embodiment of the present invention, the bootloader described in step 201 may be subdivided into two small stages, such as uboot-spl and u-boot, or may be completed in one stage, such as a single u-boot, according to the actual requirements and available resources.
Fig. 3 depicts the start-up procedure of the bootloader program in case of detecting a reverse signal.
301, several backing videos are requested for the required internal memory space, which will be used by the video input module 104 and the video output module 105 together.
302, initialize the video input module 104 and start to collect camera data.
303, initializing the video output module 105.
304, the display of the image of the reverse video is started.
305, controlling the video input module 104 to start outputting the synchronization signal to the video output module 105 according to the video timing thereof;
306, load and start the kernel.
According to an embodiment of the invention, the steps 302, 303 comprise: during the initialization process, the address corresponding to the memory space applied in 301 is configured to the video input module 104 and the video output module 105.
According to the embodiment of the present invention, after step 305, the video input module 104 automatically switches the used image addresses after completing the acquisition of one frame of video image, and simultaneously sends a synchronization signal to the video output module 105; the video output module 105 switches to a new image address in the first vertical blanking area after receiving the synchronization signal, so as to achieve the purpose of synchronizing the video images of the two.
According to the embodiment of the invention, if no reverse signal is detected during startup, 301, 302 and 305 are omitted, and no difference is found from normal bootloader startup.
Fig. 4 describes the startup flow of the kernel program.
401, the kernel core program is started.
And 402, judging whether the vehicle is in the condition of reversing video.
403, if the vehicle is in the reverse video, protecting the memory space used by the reverse video through a memory management technical means, and preventing the memory space from being mistakenly used by other software and hardware modules from being abnormal.
And 404, initializing a driver of the video input module.
The driver of the video output module is initialized 405.
406, other module drivers are initialized.
407, the application is started.
And 408, judging whether the vehicle is in the condition of backing video.
409, judging whether reversing is finished or not, and if not, circulating all the time.
And 410, if the reversing is finished, closing the video input module.
And 411, if the reversing is finished, controlling the image displayed by the video output module to be switched to a system interface, wherein the system interface comprises a started still picture, a started animation, a system main interface or other application interfaces.
And 412, if the reversing is finished, releasing the memory space occupied by the reversing video, and providing other modules for use.
According to the embodiment of the present invention, steps 406, 407 and 408, 409, 410, 411, 412 are processed in parallel, because the loop detection process in 409 will slow down the system startup speed if not done in parallel, and the parallel processing can be realized by multithreading, work queue, clock interrupt task or other technical means provided by the operating system. Parallel processing is a preferred embodiment provided by the invention, and in practical application, other embodiments can be provided, such as all serial processing, the implementation is simple, the deployment is not easy to cause problems, and for example, tasks 408, 409, 410, 411 and 412 related to the reverse video are replaced by an interrupt triggering mode from an active query triggering mode, so that the system consumption of software query can be reduced.

Claims (12)

1. A device for rapidly displaying a reversing video in cold start is characterized by comprising a CPU, an internal memory, a reversing detection module, a video input module and a video output module;
the CPU is an execution unit of instructions corresponding to bootloader, a kernel and backing video related software;
the internal memory is used for storing image data of the reversing video and storing data of related software during operation;
the reverse detection module detects the reverse state in real time and can interrupt the real-time notification software or be actively inquired by the software;
the video input module receives a video signal of the camera, and writes the video signal into the internal memory after conversion;
the video output module reads the image data on the internal memory, converts the image data into a video signal which can be received by the display screen, and directly or indirectly drives the display screen to display the reversing video or a system interface;
the synchronous signal is a signal sent from the video input module to the video output module and is used for synchronizing the image addresses used by the video input module and the video output module, and the image addresses used by the video output module are ensured to be image addresses which are filled with image data by the video input module and correspond to the current latest internal storage space in terms of time.
2. The apparatus of claim 1, wherein the component modules are coupled together by a system bus, the system bus transmitting control information and data information.
3. The apparatus of claim 1, wherein the video input module refers to a controller or controllers for receiving video signals from a camera and writing the converted video signals into an internal memory, the module supports designation of a plurality of image addresses, and the received video data are written into the internal memory spaces corresponding to the image addresses in turn according to a specific sequence.
4. The apparatus of claim 1, wherein the video output module refers to a controller or controllers for reading image data in the internal memory and converting the image data into video signals capable of being received by the display screen, and the module supports configuration of a plurality of image addresses, and reads data in the internal memory space corresponding to the image addresses in turn according to a specific sequence, and outputs the converted data to the display screen.
5. The apparatus of claim 1, wherein the synchronization signal between the video input and output modules is a plurality of signal lines for transmitting information between the controllers; the image address switching time of the video input module is when the acquisition of one frame of video image is completed, and the image address switching time of the video output module is the first vertical blanking area after receiving the synchronous signal sent by the video input module.
6. A method for rapidly displaying a car-backing video through cold start is characterized in that in the cold start process of a system, under the condition of car backing, a bootloader program can prepare a plurality of memory spaces for a video input module and a video output module to jointly use, configure parameters of the memory spaces and the parameters of the video input module and the video output module, enable the car-backing video to be displayed on a display screen, then control the video input module to start outputting a synchronous signal to the video output module according to a video time sequence of the video input module so as to synchronize image addresses used by the video input module and the video output module, after that, the car-backing video is continuously displayed on the display screen without software intervention, and finally the bootloader loads and starts a kernel; when the reversing is detected to be finished after the kernel is started, the software controls the video input module to stop outputting the synchronous signal, closes the video input module, and then configures the video output module to be switched to a system interface and displayed on a display screen.
7. The method of claim 6, wherein the cold start refers to a system starting from a power-down state, all circuits except the real-time clock are in a power-down state when the system is powered down, or all circuits including the real-time clock are in a power-down state; all circuits, except the real time clock, include a CPU and internal memory.
8. The method of claim 6, wherein the bootloader is u-boot, e-boot, redboot, and vivi or a custom boot program.
9. The method of claim 6, wherein the kernel is a linux or windows operating system kernel.
10. The method of claim 6, wherein the image address switching of the video input module is performed by the video input module when the video image of one frame is acquired, without software intervention.
11. The method as claimed in claim 6, wherein the synchronization signal is sent by the video input module at a specific time after the video image is captured for one frame, and the video output module switches the first vertical blanking area to a new image address after receiving the synchronization signal, reads new image data, and completes the update of the video image without software intervention.
12. The method according to claim 6, wherein during the starting process of the kernel, under the condition of the reverse video display, the memory space occupied by the video image used by the video input and output module needs to be protected through a memory management technology, so that the exception caused by the fact that other software and hardware modules access the memory space by mistake is avoided, and the memory space occupied by the reverse video function is released when the reverse is finished.
CN201711231125.5A 2017-11-29 2017-11-29 Device and method for rapidly displaying reversing video in cold start Active CN107920204B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711231125.5A CN107920204B (en) 2017-11-29 2017-11-29 Device and method for rapidly displaying reversing video in cold start

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711231125.5A CN107920204B (en) 2017-11-29 2017-11-29 Device and method for rapidly displaying reversing video in cold start

Publications (2)

Publication Number Publication Date
CN107920204A CN107920204A (en) 2018-04-17
CN107920204B true CN107920204B (en) 2020-04-24

Family

ID=61898039

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711231125.5A Active CN107920204B (en) 2017-11-29 2017-11-29 Device and method for rapidly displaying reversing video in cold start

Country Status (1)

Country Link
CN (1) CN107920204B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110362518B (en) * 2019-04-15 2020-12-15 珠海全志科技股份有限公司 Method for drawing graph and smoothly transitioning to kernel during system boot
CN110245585A (en) * 2019-05-28 2019-09-17 艾贝科技(深圳)有限公司 Reverse backsight system implementation method, device, computer equipment and its storage medium
CN110650305A (en) * 2019-10-08 2020-01-03 深圳智者行天下科技有限公司 Method for rapidly processing reversing image by intelligent rearview mirror
CN110758291B (en) * 2019-11-13 2021-04-27 合肥杰发科技有限公司 Control method, controller, system and storage medium of reversing image system
CN111746400B (en) * 2020-06-29 2021-11-05 珠海全志科技股份有限公司 Method for rapidly displaying reverse cold start image, computer device and computer readable storage medium
CN112040173A (en) * 2020-07-20 2020-12-04 南斗六星系统集成有限公司 Method for rapidly displaying reversing video through Android car machine system
CN113071511A (en) * 2021-04-21 2021-07-06 中国第一汽车股份有限公司 Method and device for displaying reverse image, electronic equipment and storage medium
CN113434203A (en) * 2021-06-30 2021-09-24 东风汽车集团股份有限公司 Method for quickly starting automobile image equipment and automobile image system
CN114827453B (en) * 2022-03-08 2023-12-29 珠海亿智电子科技有限公司 Starting device and method
CN115061648A (en) * 2022-05-13 2022-09-16 合肥杰发科技有限公司 Operation method of vehicle-mounted display system and vehicle-mounted display system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102689610A (en) * 2012-06-19 2012-09-26 深圳乐投卡尔科技有限公司 Method and device for displaying back up video by virtue of vehicle-mounted Android platform
CN103019771A (en) * 2012-11-22 2013-04-03 惠州华阳通用电子有限公司 Method supporting fast vehicle-mounted android operating system start during backing-up
CN105187791A (en) * 2015-09-08 2015-12-23 深圳市安普尔科技有限公司 Vehicle-mounted reverse video display method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103150178A (en) * 2013-02-05 2013-06-12 联发科技(新加坡)私人有限公司 Starting-up display control device and processor chip

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102689610A (en) * 2012-06-19 2012-09-26 深圳乐投卡尔科技有限公司 Method and device for displaying back up video by virtue of vehicle-mounted Android platform
CN103019771A (en) * 2012-11-22 2013-04-03 惠州华阳通用电子有限公司 Method supporting fast vehicle-mounted android operating system start during backing-up
CN105187791A (en) * 2015-09-08 2015-12-23 深圳市安普尔科技有限公司 Vehicle-mounted reverse video display method and device

Also Published As

Publication number Publication date
CN107920204A (en) 2018-04-17

Similar Documents

Publication Publication Date Title
CN107920204B (en) Device and method for rapidly displaying reversing video in cold start
CN105282510A (en) Method and device for starting reverse image
WO2019091206A1 (en) Method and apparatus for controlling refresh frequency, timing controller, and display apparatus
US9363468B2 (en) Vehicle video display system
CN105657369B (en) The video frequency monitoring method and system of quick response based on linux system
US20170015246A1 (en) Early rear view camera video display in a multiprocessor architecture
US10395541B2 (en) Integrated fault-tolerant augmented area viewing system
CN202035097U (en) Back-up video fast display system and corresponding vehicle information system
CN103522949A (en) Method and car machine system for rapidly starting car backing up images
WO2007075294A1 (en) Method and apparatus for displaying rotated images
US10631051B2 (en) Method and system for starting smart television
CN112235519B (en) Video display method and device, electronic equipment and storage medium
CN112199222B (en) Video display method and device, electronic equipment and storage medium
US10569726B2 (en) In-vehicle system
CN108351775B (en) Method and system for optimizing starting time of embedded multiprocessor system
CN111552516A (en) Rapid starting method of automobile electronic instrument integrated with backing image module
US11842673B2 (en) Control method and system for display switching, electronic device and storage medium
JP6272579B2 (en) Application execution apparatus and application execution method
JP7350655B2 (en) Surround view and method with seamless transition to 3D viewing system
US9778937B1 (en) Method and implementation for starting and stopping the playing of media content during booting process
JP6272580B2 (en) Application execution apparatus and application execution method
JP6272578B2 (en) Application execution apparatus and application execution method
WO2023185168A1 (en) Display method for vehicle detection image, and in-car entertainment apparatus
CN115866320A (en) Method and system for quickly starting car backing image function
US10037169B2 (en) Image processing semiconductor device and image processing device

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
GR01 Patent grant
GR01 Patent grant