Method and device for compatibility of automotive image system with external view system, and medium
By starting the fast process and external view system in the car image system, the problem of long start-up time of the car reversing assist system is solved, the camera image is quickly output after the device is powered on, and the camera use is supported after normal startup, satisfying the needs of fast reversing and requirements for normal use.
Patent Information
- Application Number
- PCT/CN2023/133686
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-19
- Filing Date
- 2023-11-23
- Publication Date
- 2024-10-24
AI Technical Summary
The existing car reversing assistance system takes a long time to start, mainly due to the slow startup time of the virtual machine, which results in the inability to output the camera image within 3 seconds after the device is powered on, and the car image system and the native Camera framework cannot be used at the same time, which cannot meet the needs of fast reversing. and the requirements for camera use after normal startup.
Start the quick start process by obtaining the power-on signal, use the car image system service to start the camera, and start the external view system through the initialization process before the virtual machine starts, establish communication between the application layer and the car image system service, and achieve quick start and normal operation of the camera. use.
It realizes the output of the camera image within 3 seconds after the device is powered on, and supports the normal use of the native Camera framework after the virtual machine starts normally, meeting the needs of the camera after fast reversing and normal startup, and avoiding the conflict between the AIS framework and the native Camera framework. Improved scalability.
Smart Images

Figure CN2023133686_24102024_PF_FP_ABST
Abstract
Description
Compatibility method, device and medium of automobile image system and external view system
[0001] Citation of Related Applications
[0002] This disclosure claims all rights and interests in the invention patent application with application number 202310468846.7 filed with the State Intellectual Property Office of the People's Republic of China on April 19, 2023, entitled "Compatibility Method, Device and Medium for Automobile Image System and External View System", and incorporates the entire contents thereof into this disclosure by reference.
[0003] field
[0004] The present disclosure generally relates to the field of vehicle equipment technology, and more particularly to a method, apparatus, and medium for compatibility between an automobile image system and an external viewing system.
[0005] background
[0006] Currently, there is a problem that it takes a long time to start the reversing assistance system in vehicles. The main reason is that the virtual machine startup time is slow. Based on the consideration of safe driving, the vehicle needs to respond to the reversing signal immediately when starting and display the current reversing image in real time.
[0007] In some current solutions, if you need to use the camera, you must follow the Android native camera framework: application layer - framework layer (Framework layer) - hardware abstraction layer (HAL layer) - driver layer - camera hardware, and initiate calls from top to bottom for operation. Since this framework relies on the Android Framework framework, it needs to be started after the Android virtual machine (hereinafter referred to as the virtual machine) is started. Currently, it takes about 15 seconds for the device to start normally.
[0008] However, for some special application scenarios (such as fast reversing), the camera image needs to be displayed within 3 seconds after the device is powered on. For this special scenario, some solutions include an Automotive Image System (AIS) framework. After the real-time operating system (Kernel) is started during the boot process, a process can be directly started to start the camera to achieve the effect of displaying the image within 3 seconds. However, since the AIS framework occupies the video front end (VFE) when opening the camera, the native Camera framework cannot open the camera after normal startup. Therefore, the AIS framework and the native Camera framework cannot coexist at present, that is, they cannot simultaneously meet the needs of quickly displaying images after the device is powered on and using the camera normally after normal startup.
[0009] Overview
[0010] In a first aspect, the present disclosure provides a method for compatibility between an automobile image system and an external view system, comprising:
[0011] Obtaining a power-on start signal, and starting a quick start process according to the power-on start signal, wherein the quick start process can start a camera through a vehicle image system service; and
[0012] After determining that the quick start process is started, the initialization process is started. The initialization process is used to start the external view system. The external view system can establish communication between the application layer and the car image system service so that the camera can be started through the application layer and the car image system service.
[0013] In some embodiments, obtaining a power-on start signal and starting a fast start process according to the power-on start signal includes:
[0014] Obtaining a completion signal of the real-time operating system; using the completion signal as a power-on signal; and
[0015] A fast start process is initiated according to the completion signal.
[0016] In certain embodiments, initiating a fast start process includes:
[0017] activating a reversing image trigger, wherein the reversing image trigger is configured to activate the vehicle image system service and monitor a reverse gear signal;
[0018] After confirming that the vehicle image system service is started, turning on the camera;
[0019] Accordingly, after starting the quick start process, the method further includes:
[0020] After receiving the reverse gear signal, collecting a reverse image through the camera; and
[0021] The reversing image is displayed.
[0022] In some embodiments, after initiating the external viewing system, the method further comprises:
[0023] Obtain an opening instruction, and call an opening function according to the opening instruction to turn on the camera;
[0024] After determining that the camera is successfully turned on, calling set surface parameters and set parameters to set the parameters of the camera;
[0025] Obtaining a preview instruction or a recording instruction, and performing preview or recording through the camera according to the setting surface parameters and the setting parameters;
[0026] Obtaining a stop instruction; the stop instruction is used to stop the preview or the recording; and
[0027] A close function is called according to the stop instruction, and the close function is used to close the camera.
[0028] In some embodiments, after initiating the external viewing system, the method further comprises:
[0029] Obtaining a preset mapping relationship, wherein the mapping relationship is a mapping relationship between a camera category and an identity identifier of the camera;
[0030] Get the target category corresponding to the operation instruction;
[0031] Determining a target identity of the camera corresponding to the operation instruction according to the target category and the mapping relationship; and
[0032] The camera corresponding to the target identity is controlled according to the operation instruction.
[0033] In some embodiments, the external view system is configured with a plurality of client interfaces, the plurality of client interfaces including at least one hardware abstraction layer interface;
[0034] The hardware abstraction layer interface is configured for the application layer to communicate with the automotive imaging system service.
[0035] In some embodiments, before starting the initialization process, the method further includes: determining the hardware abstraction layer interface among the plurality of client interfaces.
[0036] In a second aspect, the present disclosure provides a compatible device of an automobile image system and an external view system, comprising: an automobile image system, an external view system, and a camera;
[0037] The external view system is connected to the vehicle image system, and the vehicle image system is connected to the camera;
[0038] The automobile imaging system is configured to start the camera via a quick start process; the quick start process is started according to a power-on start signal;
[0039] The external view system can establish communication between the application layer and the automobile image system so as to start the camera through the application layer and the automobile image system; after determining that the quick start process is started, the external view system starts the initialization process for initialization and then starts.
[0040] In a third aspect, the present disclosure provides a compatible device of an automobile image system and an external view system, comprising:
[0041] A first startup module is configured to obtain a startup signal and start a quick startup process according to the startup signal, wherein the quick startup process can start the camera through the vehicle image system service;
[0042] The second startup module is configured to start an initialization process after determining that the quick startup process is started. The initialization process is used to start the external view system. The external view system can establish communication between the application layer and the automobile image system service so as to be able to start the camera through the application layer and the automobile image system service.
[0043] In a fourth aspect, the present disclosure provides an electronic device comprising: a processor, a memory, and a communication bus, wherein the processor and the memory communicate with each other via the communication bus;
[0044] The memory is configured to store a computer program;
[0045] The processor is configured to execute the program stored in the memory to implement the compatibility method of the automobile image system and the external viewing system described in the present disclosure.
[0046] In a fifth aspect, the present disclosure provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the compatibility method of the automobile image system and the external view system described in the present disclosure.
[0047] BRIEF DESCRIPTION OF THE DRAWINGS
[0048] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0049] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following briefly introduces the drawings required for the embodiments. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0050] FIG1 is a system architecture diagram of a method for compatibility between an automobile image system and an external viewing system provided by an embodiment of the present disclosure;
[0051] FIG2 is a flow chart of a method for compatibility between an automobile image system and an external viewing system according to an embodiment of the present disclosure;
[0052] FIG3 is a flowchart of a startup method for compatibility between an automobile image system and an external viewing system provided by an embodiment of the present disclosure;
[0053] FIG4 is an application layer calling flow chart of a compatibility method between an automobile image system and an external view system provided by an embodiment of the present disclosure;
[0054] FIG5 is a schematic diagram of a structure of a compatible device of an automobile image system and an external viewing system provided by an embodiment of the present disclosure;
[0055] FIG6 is a schematic structural diagram of a compatible device of an automobile image system and an external viewing system provided by another embodiment of the present disclosure; and
[0056] FIG7 is a schematic structural diagram of an electronic device provided in an embodiment of the present disclosure.
[0057] Details
[0058] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure more clear, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the accompanying drawings. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. All other embodiments obtained by ordinary technicians in this field based on the embodiments of the present disclosure without making any creative efforts shall fall within the scope of protection of the present disclosure.
[0059] Since the native Camera framework can only be used after the device is fully started, it cannot meet the requirement of outputting images within 3 seconds after the device is powered on. In some implementation schemes, the AIS framework can output images within 3 seconds of powering on, but since turning on the camera will occupy the VFE, it will conflict with the native Camera framework, which will cause the application layer to be unable to call the native Camera API to operate the camera after the device is powered on. Moreover, since the AIS framework only implements the native layer interface, it cannot be called by the upper layer, has poor scalability, is not easy for subsequent development, and cannot be used normally. Because the AIS architecture and native Camera framework of the relevant solutions only support fixed calling methods: AIS only supports native layer calls, and the native Camera framework only supports calls from upper-layer applications, they are not compatible.
[0060] The method provided by the present disclosure can be applied to the system architecture shown in FIG1 , which includes a control system 11 and at least one camera 12. The control system 11 can control the camera 12 based on the compatibility method between the vehicle imaging system and the external viewing system, so that the camera 12 can simultaneously meet the requirements of rapid image output and normal camera use after normal startup.
[0061] The method provided by the present disclosure can be applied to electronic devices. In certain embodiments, the electronic device can be a module capable of realizing a communication function or a terminal device comprising the module, etc., and the terminal device can be a mobile terminal or a smart terminal. In certain embodiments, the mobile terminal can be at least one of a mobile phone, a tablet computer, a laptop computer, etc. In certain embodiments, the smart terminal can be a terminal containing a wireless communication module such as a smart car, a smart watch, a shared bicycle, a smart cabinet, etc. In certain embodiments, the module can be a wireless communication module, such as any one of a 2G communication module, a 3G communication module, a 4G communication module, a 5G communication module, and a NB-IOT communication module.
[0062] Next, based on the system architecture or electronic device, a method for compatibility between the vehicle image system and the external view system is described in detail, as shown in FIG2 . The method includes:
[0063] Step 201: obtaining a power-on signal, and starting a quick start process according to the power-on signal. The quick start process can start a camera through a vehicle image system service; and
[0064] Step 202, after determining that the quick start process is started, start the initialization process, which is used to start the external view system. The external view system can establish communication between the application layer and the car image system service so that the camera can be started through the application layer and the car image system service.
[0065] The boot signal may be a completion signal of a kernel during the boot phase. In certain embodiments, obtaining the boot signal and initiating a fast boot process according to the boot signal may include: obtaining a completion signal of the kernel, using the completion signal as the boot signal, and initiating a fast boot process (init_early process) according to the completion signal.
[0066] The init_early process is started, including starting the reverse image trigger (rvc_trigger). rvc_trigger starts the car image system service (ais_server, also referred to as the car image system) and monitors the reverse gear signal. After confirming that ais_server is started, the camera is turned on. When the reverse gear signal is received, the camera captures the reverse image and displays it through a display process, such as the qcarcam_edrm_rvc process.
[0067] The init_early process can be used to quickly display the reversing image captured by the camera before the virtual machine is started, meeting the user's need for quick reversing.
[0068] In certain embodiments, after determining that the init_early process is started, the initialization process (init process) is started. The init process is used to start the external view system (ExteriorView System, referred to as EVS). The EVS is configured with multiple client interfaces. The client interface is used to communicate with the framework layer (Framework layer) in the external view system framework so that the camera can be started through the Framework layer.
[0069] In this embodiment, a Camera framework solution based on the AIS architecture extension is proposed. The Camera driver is operated by AIS. The native EVS framework is used on AIS to encapsulate a set of interfaces for upper-layer calls, and then the EVS Service is started in the EVS framework to manage the camera, which can solve the incompatibility problem. Regardless of whether fast reversing is called during the boot phase, the Camera framework solution based on the AIS architecture extension can use the native Camera framework to open the camera normally after the virtual machine starts normally. It can support both Native and Java interface solutions. If you need to quickly output the image, you can use the original AIS Native APP for display. After the system starts, if you need to use the camera, switch to the upper-layer application for display. At the same time, retain the Native and Java interfaces, which can solve the problem of poor scalability.
[0070] It should be noted that the startup time of the car image system framework can meet the needs of fast reversing, such as within 3 seconds or less. The startup time of the external view system framework is longer than the startup time of the car image system framework because it includes the startup time of the virtual machine.
[0071] In certain embodiments, FIG3 is a flowchart illustrating a method for achieving compatibility between an automotive image system and an external viewing system according to an embodiment of the present disclosure. The client interface includes a hardware abstraction layer interface (HAL interface) and a native layer interface (Native layer interface, or simply Native interface).
[0072] The HAL interface is used for communication between the vehicle imaging system and the application layer. Specifically, it communicates with the application layer (APP layer) through the Framework layer. The Native interface is used for communication with the Native layer. Native interfaces include the DMS interface and the AVM interface.
[0073] In some embodiments, after initiating the external viewing system, the method further comprises:
[0074] Get the opening instruction, and call the opening function (open function) according to the opening instruction to open the camera;
[0075] After confirming that the camera is successfully opened, call setSurface and setParameters to set the camera parameters.
[0076] Get preview instructions or recording instructions, and preview or record through the camera according to the set surface parameters and setting parameters;
[0077] Get a stop command; the stop command is used to stop previewing or recording; and
[0078] The close function (close function) is called according to the stop instruction, and the close function is used to close the camera.
[0079] In certain implementations, when the application layer needs to use the camera, it first calls the open function to open the camera. After the camera is successfully opened, it calls setSurface to pass the corresponding Surface created by the application to the native layer. The native layer then dumps the camera data into the Surface for display or recording, and then calls setParameters to set camera parameters such as image resolution. After previewing or recording is complete, the upper layer issues a stop preview or stop recording command, and then calls the close function to close the camera. Before receiving the stop command, if it is determined that the camera is occupied, communication with the camera is terminated.
[0080] In certain embodiments, the application layer call flow chart of the compatibility method between the vehicle image system and the external view system is shown in FIG4 , including:
[0081] Step 401, start (start calling process);
[0082] Step 402, open;
[0083] Step 403, determine whether the open function successfully opens the camera, if successful, execute step 405, if unsuccessful, jump to step 430;
[0084] Step 404, new Surface; if the open function carries a new Surface instruction, set the new Surface and jump to step 405;
[0085] Step 405, setSurface; pass the corresponding Surface created by the application to the native layer;
[0086] Step 406, new Parameters; set the new Parameters of the camera and jump to step 407;
[0087] Step 407, setParameters; call setParameters to set the camera parameters, and then execute steps 408 and 413;
[0088] Step 408, determine whether to record, if not, execute step 409, if yes, execute step 410;
[0089] Step 409, determine whether the camera is occupied, if so, execute step 430, if not, execute step 420;
[0090] Step 410, execute startRecord to start recording;
[0091] Step 411, determine whether an end recording instruction is received, if so, execute step 412;
[0092] Step 412, execute stopRecord to stop recording, and jump to step 420 after stopping;
[0093] Step 413, determine whether to preview, if not, execute step 409, if yes, execute step 414;
[0094] Step 414: execute startPreview to start preview;
[0095] Step 415, determining whether a stop preview instruction is received, if so, executing step 416;
[0096] Step 416, execute stopPreview to stop the preview, and jump to step 420 after stopping;
[0097] Step 420: Receive the close function, close the camera, and jump to step 430; and
[0098] Step 430, end the call.
[0099] In certain embodiments, after starting the external view system, the method further includes: obtaining a preset mapping relationship, which is a mapping relationship between a camera category and a camera identity; obtaining a target category corresponding to an operation instruction; determining a target identity of the camera corresponding to the operation instruction based on the target category and the mapping relationship; and controlling the camera corresponding to the target identity according to the operation instruction.
[0100] In certain implementations, after the EVS service is enabled, it handles the mapping between different camera categories and camera IDs, as well as the transfer of camera data. Camera categories include DVRs (Digital Video Recorders), DMSs (Driver Monitoring Systems), and AVMs (Around View Monitors), preventing the upper layer from using the wrong camera.
[0101] The EVS service contains multiple client interfaces, which are managed by the EVS service. The client interfaces include two types of interfaces: Native interface and HAL interface. The Native interface communicates with the Native layer, and the HAL interface communicates with the APP layer through the Framework layer. When recording is required, a Record Server is started for recording; if communication with the algorithm library is required, the corresponding algorithm library server is started to implement the corresponding function.
[0102] The transmission of camera data means that the camera data is obtained from ais_server and then transparently transmitted to different modules for processing.
[0103] In certain implementation schemes, the AIS framework replaces the native architecture to communicate with the Camera driver, and images can be produced without relying on the startup of the Android virtual machine. Cameras with different functions are managed separately in EVS, and API call entries are added to the Native and APP layers respectively. The APP layer interface design remains consistent with the native CameraAPI, making the camera compatible with the automotive image system framework that supports fast startup and the external view system framework with native camera functions, which can meet the needs of fast image production and normal use of the camera after normal startup.
[0104] In some implementation schemes, the problem of AIS occupying the camera and causing the APP layer to be unable to operate and the incompatibility between the two can be avoided. The upper layer can be prevented from using the wrong camera. At the same time, the Native and Java interfaces are retained and can be expanded according to different needs. The APP layer interface is similar to the native CameraAPI in usage, which can reduce the learning cost of application developers.
[0105] In some embodiments, before starting the initialization process, the method further includes: determining a hardware abstraction layer interface among a plurality of client interfaces.
[0106] A HAL interface is determined among multiple client interfaces, identification information can be set for the interface, and a mapping relationship between the identification information and the HAL interface is saved. When the HAL interface needs to be used, the HAL interface can be called according to the identification information.
[0107] Based on the same concept, the present disclosure also provides a compatible device of an automobile image system and an external view system, comprising: an automobile image system, an external view system, and a camera;
[0108] The external view system is connected to the vehicle image system, and the vehicle image system is connected to the camera;
[0109] The car image system is used to start the camera in a quick start process; the quick start process is started according to the power-on start signal;
[0110] The external view system can establish communication between the application layer and the vehicle image system so as to start the camera through the application layer and the vehicle image system; after determining that the quick start process is started, the external view system starts the initialization process for initialization and then starts.
[0111] In related technologies, the default system-default Camera framework is used, driven by the application layer (framework-hardware). This framework has a drawback: the camera cannot be used until the system is fully booted. The AIS framework is a built-in framework of Qualcomm's vehicle baseline that enables quick camera access after the system is powered on. It directly interacts with the driver layer to use the camera, typically for fast reverse functions. However, this framework is native and cannot be directly called by the application layer, making it unusable in some scenarios.
[0112] The relevant Qualcomm vehicle baseline has two frameworks, and the framework used can be switched through configuration and debugging. However, due to the hardware characteristics of the camera, only one framework can be used at the same time. For example, after turning on the camera through the AIS framework, the camera's VFE is occupied and the default Camera framework cannot call the camera.
[0113] In certain implementation schemes, as shown in FIG5 , in order to enable quick use of the camera after power-on and to continue to use the camera through the application layer without conflict after power-on, a line of "application layer-framework-hardware-driver" is opened on the basis of the AIS framework, so that the application layer can continue to use the camera. The implemented process is "application layer-framework-hardware-EVS-AIS-driver".
[0114] In some implementation schemes, the interface of the AIS framework is extended to EVS for calling, and EVS is then called by the hardware. EVS needs to manage all camera-related functions, including turning the camera on and off, obtaining data streams, etc., and also opens up the "application layer-framework-hardware-EVS" process to facilitate control of the camera.
[0115] Based on the same concept, the present disclosure also provides a compatible device for an automobile image system and an external view system. The specific implementation of the device can be found in the description of the method embodiment, and the repeated parts will not be repeated. As shown in FIG6 , the device includes:
[0116] A first starting module 601 is configured to obtain a power-on start signal and start a quick start process according to the power-on start signal, wherein the quick start process can start a camera through a vehicle image system service; and
[0117] The second startup module 602 is configured to start an initialization process after determining that the quick startup process is started. The initialization process is used to start the external view system. The external view system can establish communication between the application layer and the automobile image system service so as to be able to start the camera through the application layer and the automobile image system service.
[0118] In certain embodiments, the device disclosed herein can make the camera compatible with a car image system framework that supports quick startup and an external view system framework with native camera functions, thereby simultaneously meeting the needs of quick image output and normal use of the camera after normal startup.
[0119] Based on the same concept, the present disclosure further provides an electronic device, as shown in FIG7 , which includes: a processor 701, a memory 702, and a communication bus 703. The processor 701 and the memory 702 communicate with each other via the communication bus 703. The memory 702 stores a program executable by the processor 701. The processor 701 executes the program stored in the memory 702 to implement the following steps:
[0120] Obtaining a power-on start signal, and starting a quick start process according to the power-on start signal, wherein the quick start process can start a camera through a vehicle image system service; and
[0121] After determining that the quick start process is started, the initialization process is started. The initialization process is used to start the external view system. The external view system can establish communication between the application layer and the car image system service so that the camera can be started through the application layer and the car image system service.
[0122] The communication bus 703 mentioned in the electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus. The communication bus 703 can be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, FIG7 shows only one thick line, but this does not mean that there is only one bus or only one type of bus.
[0123] The memory 702 may include random access memory (RAM) or non-volatile memory, such as at least one disk storage. In some embodiments, the memory may also be at least one storage device located away from the processor 701.
[0124] The above-mentioned processor 701 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc., and can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.
[0125] The present disclosure further provides a computer-readable storage medium having a computer program stored therein. When the computer program is executed on a computer, the computer executes the method for compatibility between an automobile image system and an external viewing system described in the present disclosure, including:
[0126] Obtaining a power-on start signal, and starting a quick start process according to the power-on start signal, wherein the quick start process can start a camera through a vehicle image system service; and
[0127] After determining that the quick start process is started, the initialization process is started. The initialization process is used to start the external view system. The external view system can establish communication between the application layer and the car image system service so that the camera can be started through the application layer and the car image system service.
[0128] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in accordance with the embodiment of the present disclosure is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions are transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape, etc.), an optical medium (e.g., a DVD) or a semiconductor medium (e.g., a solid-state hard disk), etc.
[0129] It should be noted that, in this document, relational terms such as "first" and "second" are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "comprising a ..." does not exclude the presence of other identical elements in the process, method, article, or device comprising the element.
[0130] The foregoing description is intended only to provide specific embodiments of the present disclosure, which will enable those skilled in the art to understand and implement the present disclosure. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure is not intended to be limited to the embodiments shown herein, but rather to be construed in the broadest manner consistent with the principles and novel features disclosed herein.
Claims
1. A method for compatibility between an automobile image system and an external view system, comprising: Obtaining a power-on start signal, and starting a quick start process according to the power-on start signal, wherein the quick start process can start a camera through a vehicle image system service; as well as After determining that the quick start process is started, start the initialization process, the initialization process is used to start the external view system, and the external view system can establish communication between the application layer and the car image system service so as to be able to start the camera through the application layer and the car image system service.
2. The method according to claim 1, wherein obtaining a power-on start signal and starting a fast start process according to the power-on start signal comprises: Get the completion signal of the real-time operating system; Using the completion signal as a power-on start signal; as well as A quick start process is initiated according to the completion signal.
3. The method according to claim 1 or 2, wherein starting the quick start process comprises: Starting a reversing image trigger, wherein the reversing image trigger is configured to start the vehicle image system service and monitor a reverse gear signal; After confirming that the vehicle image system service is started, turning on the camera; Accordingly, after starting the quick start process, the method further includes: After receiving the reverse gear signal, collecting a reverse image through the camera; as well as The reversing image is displayed.
4. The method according to any one of claims 1 to 3, wherein after starting the external view system, the method further comprises: Obtain an opening instruction, and call an opening function according to the opening instruction to turn on the camera; After determining that the camera is successfully turned on, calling setting surface parameters and setting parameters to set the parameters of the camera; Obtaining a preview instruction or a recording instruction, and performing preview or recording through the camera according to the setting surface parameters and the setting parameters; Obtain a stop instruction; the stop instruction is used to stop the preview or the recording; as well as A close function is called according to the stop instruction, and the close function is used to close the camera.
5. The method according to any one of claims 1 to 3, wherein after starting the external view system, the method further comprises: Obtaining a preset mapping relationship, where the mapping relationship is a mapping relationship between a camera category and an identity identifier of the camera; Get the target category corresponding to the operation instruction; Determine the target identity of the camera corresponding to the operation instruction according to the target category and the mapping relationship; as well as The camera corresponding to the target identity is controlled according to the operation instruction.
6. The method according to any one of claims 1 to 5, wherein the external view system is configured with a plurality of client interfaces, the plurality of client interfaces comprising at least one hardware abstraction layer interface; and The hardware abstraction layer interface is configured for the application layer to communicate with the automotive imaging system service.
7. The method according to any one of claims 1 to 6, wherein before starting the initialization process, the method further comprises: The hardware abstraction layer interface is determined among the plurality of client interfaces.
8. A compatible device for an automotive image system and an external view system, comprising: Automotive imaging systems, exterior view systems and cameras; The external view system is connected to the vehicle image system, and the vehicle image system is connected to the camera; The automobile image system is used to quickly start the process to start the camera; The quick start process is started according to the power-on start signal; The external view system can establish communication between the application layer and the automobile image system so as to start the camera through the application layer and the automobile image system; after determining that the quick start process is started, the external view system starts the initialization process for initialization and then starts.
9. An electronic device comprising: A processor, a memory and a communication bus, wherein the processor and the memory communicate with each other via the communication bus; The memory is configured to store a computer program; The processor is configured to execute the program stored in the memory to implement the compatibility method of the automobile image system and the external view system as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium storing a computer program, wherein the computer program, when executed by a processor, implements the compatibility method of the vehicle image system and the external view system according to any one of claims 1 to 7.
Citation Information
Patent Citations
Method, system and car machine system for rapidly starting car backing up images
CN103522961A
Method and device for starting reverse image
CN105282510A
Method for quickly starting reversing image based on Android system
CN111045752A
Reversing image display method and device in vehicle machine system, storage medium and terminal
CN112078487A
Reversing image display method, device and equipment and storage medium
CN114248687A
Cited By
Rapid image display method, cabin operation system and storage medium
CN120994263A
Vehicle look-around picture display method and device, electronic equipment and medium
CN121531103A
