Image framing detection method, vehicle-mounted chip and electronic equipment

By using hard-isolated hardware domains and hash calculation modules in the vehicle chip to detect images collected by the camera, the problem of abnormal image output links in the automotive system is solved and the safety and stability of the automotive system are ensured.

CN118400518BActive Publication Date: 2024-10-25BEIJING SEMIDRIVE TECHNOLOGY LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410834238.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-10-25
Estimated Expiration
2044-06-26

AI Technical Summary

Technical Problem

The link between the image captured by the camera in the automotive system and the on-board chip may be abnormal, causing the screen image to become stuck or unable to be updated, affecting driving safety. It is difficult for existing technology to effectively detect and solve such problems.

Method used

Using the image freezing detection method, by setting up a hard-isolated first hardware domain and a second hardware domain in the vehicle chip, the hash calculation module and verification module are used to detect in real time whether the image freezing phenomenon occurs in the link from the camera to the vehicle chip. , ensuring that image anomalies can be detected accurately and timely, and corresponding measures can be taken through the error event management module and functional safety procedures.

Benefits of technology

It realizes real-time detection of whether image freezing occurs in the link from the camera to the on-board chip in a more secure hardware domain, ensuring the safe operation of the automotive system and avoiding driving safety risks caused by image anomalies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118400518B_ABST
    Figure CN118400518B_ABST
Patent Text Reader

Abstract

The present application discloses an image framing detection method, an on-board chip and an electronic device, wherein the method is applied to an on-board chip, wherein the on-board chip comprises a first hardware domain and a second hardware domain, wherein the first hardware domain and the second hardware domain share a memory; wherein the first hardware domain runs a first operating system, and the second hardware domain runs a second operating system, wherein a bus driver and an image recognition system application are run on the first operating system, and an input image detection application, a safety camera application and a functional safety program are run on the second operating system; wherein the method comprises: the image recognition system application acquires an image, sends the image to a memory for storage, and sends a first notification message to the input image detection application of the second hardware domain through inter-core communication so that the input image detection application acquires the image from the memory, and determines whether an image framing phenomenon occurs on the link from the camera to the on-board chip based on the image through a hash calculation module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of automotive chip technology, and in particular to an image framing detection method, an on-board chip and an electronic device. Background Art

[0002] With the increase in automotive camera applications, such as the increase in intelligent panoramic monitoring imaging systems and reversing image recognition systems, the demand for image processing by on-board chips is also gradually increasing. However, as a means of transportation, cars have extremely high safety requirements. If the car system screen is stuck and cannot be updated, it will affect driving safety. Therefore, it is necessary to detect whether there is an abnormality in the link from the image collected by the camera to the on-board chip. Summary of the invention

[0003] In view of this, the embodiments of the present application provide an access method and device to at least solve the above-mentioned technical problems existing in the prior art.

[0004] According to the first aspect of the present application, an embodiment of the present application provides an image framing detection method, which is applied to an on-board chip, wherein the on-board chip includes a first hardware domain and a second hardware domain that are hard-isolated from each other, and the security of the second hardware domain is higher than that of the first hardware domain; the first hardware domain includes a first processor and a display controller, and the display controller includes a timing controller and a verification module; the second hardware domain includes a second processor, an error event management module, and a hash calculation module; the first hardware domain and the second hardware domain share memory; the first hardware domain runs a first operating system, and the second hardware domain runs a second operating system, the first operating system runs a bus driver and an image recognition system application, and the second operating system runs an input image detection application, a security camera application, and a functional safety program; the bus driver obtains an image input by the camera, and sends it to the image recognition system application and the display controller respectively, the display controller processes the image through the timing controller, and sends the processed image to the display screen for display;

[0005] Methods include:

[0006] The image recognition system application obtains the image, sends the image to the memory for storage, and sends a first notification message to the input image detection application in the second hardware domain through inter-core communication, so that the input image detection application obtains the image from the memory, and determines whether image framing occurs on the link from the camera to the on-board chip based on the image through the hash calculation module.

[0007] Optionally, if the hash value of the image is the same as the hash value of at least one previous frame of the image corresponding to the image, an image framing phenomenon occurs on the link from the camera to the on-board chip;

[0008] If the hash value of the image is different from the hash value of at least the previous frame of the image corresponding to the image, no image framing phenomenon occurs on the link from the camera to the on-board chip.

[0009] Optionally, the method further comprises:

[0010] The image processed by the timing controller is obtained through the verification module;

[0011] Based on the processed image, determine whether the image output by the vehicle-mounted chip has image framing phenomenon.

[0012] Optionally, determining whether an image output by the vehicle-mounted chip has an image framing phenomenon based on the processed image includes:

[0013] Performing a first check value calculation on the processed image;

[0014] Based on the first verification value and the second verification value of at least one previous frame of image corresponding to the processed image, it is determined whether the image output by the on-board chip has image framing phenomenon.

[0015] Optionally, determining whether the image output by the vehicle chip has an image framing phenomenon based on the first verification value and a second verification value of at least a previous frame image corresponding to the processed image includes:

[0016] If the first check value is the same as the second check value of at least one previous frame of the image corresponding to the processed image, it is determined that the image output by the on-board chip has an image framing phenomenon;

[0017] If the first check value is different from the second check value of at least one previous frame of image corresponding to the processed image, it is determined that the image output by the on-board chip does not have an image framing phenomenon.

[0018] Optionally, the image framing detection method further includes:

[0019] If the image output by the on-board chip is frozen, a second notification message is sent to the error event management module of the second hardware domain, so that the error event management module sends the second notification message to the safety camera application through the functional safety program.

[0020] According to the second aspect of the present application, an embodiment of the present application provides a vehicle-mounted chip, including:

[0021] A first hardware domain and a second hardware domain that are hard-isolated from each other, the second hardware domain being more secure than the first hardware domain;

[0022] The first hardware domain includes a first processor and a display controller, and the display controller includes a timing controller and a verification module; the second hardware domain includes a second processor, an error event management module, and a hash calculation module;

[0023] The first hardware domain runs a first operating system, the second hardware domain runs a second operating system, the first operating system runs a bus driver and an image recognition system application, and the second operating system runs an input image detection application, a security camera application, and a functional safety program;

[0024] The first processor is used to obtain an image input by the camera through an image recognition system application, send the image to a memory shared by the first hardware domain and the second hardware domain for storage, and send a first notification message to an input image detection application of the second hardware domain through inter-core communication;

[0025] The second processor is used to obtain an image from the memory by inputting an image detection application, and to determine whether image framing occurs on the link from the camera to the on-board chip based on the image through a hash calculation module.

[0026] According to a third aspect of the present application, an embodiment of the present application provides an electronic device, including:

[0027] Such as the second aspect of the vehicle-mounted chip.

[0028] According to the fourth aspect of the present application, an embodiment of the present application provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the image framing detection method in the first aspect or any implementation manner of the first aspect.

[0029] According to the fifth aspect of the present application, an embodiment of the present application provides a computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute the image framing detection method in the first aspect or any embodiment of the first aspect.

[0030] The image framing detection method, vehicle-mounted chip, electronic device, computer program product and readable storage medium provided in the embodiments of the present application are such that, due to the presence of camera noise in the image captured by the camera, it is normally impossible for multiple consecutive frames of the image to be the same. Therefore, by running an input image detection application on the second operating system of the second hardware domain, and allowing the image recognition system application to obtain the image input by the camera, the image is sent to the memory shared by the first hardware domain and the second hardware domain for storage, and a first notification message is sent to the input image detection application of the second hardware domain through inter-core communication, so that the input image detection application obtains the image from the memory, and determines whether image framing occurs on the link from the camera to the vehicle-mounted chip based on the image through the hash calculation module; thereby, it is possible to detect whether image framing occurs on the link from the camera to the vehicle-mounted chip in real time in the second hardware domain with higher security, ensuring that it is possible to accurately and timely detect whether the image at the input end of the vehicle-mounted chip is abnormal, so as to take corresponding measures to ensure the safe operation of the automobile system.

[0031] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0032] Figure 1 A schematic diagram of a flow chart of an image framing detection method in an embodiment of the present application;

[0033] Figure 2 Schematic diagram of another image framing detection method in an embodiment of the present application;

[0034] Figure 3 Schematic diagram of another image framing detection method in an embodiment of the present application;

[0035] Figure 4 This is a schematic diagram of the structure of the vehicle-mounted chip in the embodiment of the present application;

[0036] Figure 5 This is a schematic diagram of the hardware structure of an electronic device in an embodiment of the present application. DETAILED DESCRIPTION

[0037] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present application.

[0038] An embodiment of the present application provides an image framing detection method, which is applied to an on-board chip. The on-board chip includes a first hardware domain and a second hardware domain that are hard-isolated from each other, and the security of the second hardware domain is higher than that of the first hardware domain; the first hardware domain includes a first processor and a display controller, and the display controller includes a timing controller and a verification module; the second hardware domain includes a second processor, an error event management module, and a hash calculation module; the first hardware domain and the second hardware domain share memory; the first hardware domain runs a first operating system, and the second hardware domain runs a second operating system. The first operating system runs a bus driver and an image recognition system application, and the second operating system runs an input image detection application, a security camera application, and a functional safety program; the bus driver obtains the image input by the camera, and sends it to the image recognition system application and the display controller respectively, the display controller processes the image through the timing controller, and sends the processed image to the display screen for display.

[0039] Image frame detection method such as Figure 1 As shown, including:

[0040] S101, the image recognition system application obtains the image, sends the image to the memory for storage, and sends a first notification message to the input image detection application of the second hardware domain through inter-core communication, so that the input image detection application obtains the image from the memory, and determines whether image framing occurs on the link from the camera to the on-board chip based on the image through the hash calculation module.

[0041] In this embodiment, multiple hardware components are integrated in the vehicle chip, such as a central processing unit (CPU), a memory controller, a graphics processing unit (GPU), etc. These hardware resources are configured into multiple sets of different hardware components, called hardware domains, and each operating system runs independently in each hardware domain. Hard isolation between hardware domains means that each hardware domain works independently to prevent mutual interference or influence, thereby improving the reliability, stability and anti-interference ability of the vehicle chip. In some examples, the vehicle chip can be a system on chip (SOC) or a microcontroller unit (MCU).

[0042] In this embodiment, the first hardware domain may be an application domain (AP) with lower security than the second hardware domain. The application domain is one or more hardware domains, and the hardware domain is configured with a processor component with a certain processing capability, and specific hardware components that respond to a variety of different requirements, such as a graphics processor GPU and a display processor, for processing various types of tasks. The second hardware domain may be a safety domain (SAF) with higher security. The safety domain is one or more hardware domains, including at least one of the following features: having an architecture with high functional safety, running an operating system that meets high functional safety requirements, and processing tasks with high functional safety requirements.

[0043] In this embodiment, the first hardware domain includes a first processor and a display controller (Display Controller, DC). The display controller includes an Alpha Blend module, a timing controller and a verification module. The display controller is responsible for the display control of the image, including the synthesis control of various input layers, the Cyclic Redundancy Check (CRC) of the specified area of ​​the image, and the generation of output timing, such as synthesizing the data layer (data layer) and the interface layer (UI layer) corresponding to the camera input image, and then detecting and outputting the specified area.

[0044] In this embodiment, the second hardware domain includes a second processor, an error event management module and a hash calculation module. The error event management module is connected to the verification module of the first hardware domain through a hard line inside the vehicle chip, such as a hard line inside the SOC. The error event management module is responsible for managing various error events. The hash calculation module can be an image hash value calculation module, a general calculation module, an image comparison module, etc.

[0045] In this embodiment, inter-core communication refers to the communication between different hardware domains inside the vehicle chip, including asynchronous message transmission through a mailbox mechanism and data sharing and transmission across hardware domains through a shared memory mechanism.

[0046] In this embodiment, the image recognition system application can be used to manage the camera. The security camera application is responsible for detecting and responding to the image framing phenomenon of the image input by the camera. For example, when the image input by the camera has the image framing phenomenon, a prompt message is issued. The functional safety program is a software development kit corresponding to the security camera application, such as FusaLib.

[0047] In some embodiments, the image captured by the camera can first be transmitted to the data interface of the vehicle chip, such as the camera interface MIPI-CSI, through a serializer / deserializer (SERializer / DESerializer, SerDES) and a connecting line. After the data interface of the vehicle chip receives the image input by the camera, it sends the image to the camera driver (CAM Driver) of the first hardware domain AP, such as Figure 2 shown.

[0048] In some embodiments, the camera includes but is not limited to a camera of an intelligent panoramic monitoring imaging system (AVMCAM) and a camera of a reversing imaging system (RVC CAM).

[0049] In this embodiment, the camera driver obtains the image input by the camera and sends it to the image recognition system application and the display controller respectively. The image recognition system application corresponds to the camera. For example, if the camera is a camera of an intelligent panoramic monitoring image system, the image recognition system application may be an AVM app; if the camera is a camera of a reversing image recognition system, the image recognition system application may be an RVC app.

[0050] In some embodiments, Figure 2 As shown, the second operating system can also run a body network access server application, which is responsible for vehicle body network access information management. The first operating system can also run a body network access client application and a guideline program (Dynamic Guideline) included in the image recognition system application. The body network access server application obtains vehicle information and then sends it to the body network access client application through inter-core communication. The body network access client application sends the vehicle information (speed / turn) to the guideline program. The guideline program draws a dynamic guideline as an interface layer and sends it to the display controller; the image recognition system application sends the collected camera data to the display controller as another data layer.

[0051] In some embodiments, Figure 2 As shown, the display controller also includes a timing controller. After the display controller obtains the UI layer corresponding to the guide line and the Data layer corresponding to the image, it forms a layer combination, such as layer 1, layer 2...layer 5, and then synthesizes the input layer through the layer synthesis module (Alpha Blend), and generates the display interface timing through the timing controller to send the synthesized image to the vehicle display interface (MIPI_DSI or LVDS), and sends the image data to the display screen (Display) through the data interface for display.

[0052] In this embodiment, the first hardware domain and the second hardware domain share a memory. The shared memory is generally set outside the vehicle-mounted chip, but may also be set inside the vehicle-mounted chip. The memory may be a memory inside the vehicle-mounted chip, or a memory of an electronic device where the vehicle-mounted chip is located.

[0053] In this embodiment, the image recognition system application obtains the image, sends the image to the memory for transmission, and sends a first notification message to the input image detection application (Freezedetection (input)) of the second hardware domain through inter-core communication.

[0054] In this embodiment, the input image detection application of the second hardware domain obtains the first notification message, obtains the image from the memory, and then calls the hash calculation module to determine whether the image framing phenomenon occurs on the link from the camera to the on-board chip based on the image. In some embodiments, the input image detection application can call the hash calculation module to calculate the hash value of the image. The hash value of the image is then compared with the hash value of at least the previous frame of the image corresponding to the image to determine whether the image input by the camera has a framing phenomenon, that is, whether the image framing phenomenon occurs on the link from the camera to the on-board chip.

[0055] In some embodiments, Figure 2 As shown, if the input image detection application of the second hardware domain SAF determines that image framing occurs in the link from the camera to the on-board chip, it can send a notification message to the safety camera application (SafetyCamera APP). The safety camera application can issue a prompt message based on the notification message to facilitate taking corresponding measures to ensure the safe operation of the vehicle system.

[0056] The image framing detection method provided in the embodiment of the present application is that under normal circumstances, due to the existence of noise data of the camera module, any two frames of images cannot be the same, that is, it is impossible for any two frames of image data to have the same CRC value or hash value. Therefore, by running the input image detection application on the second operating system of the second hardware domain, and allowing the image recognition system application to obtain the image input by the camera, the image is sent to the memory shared by the first hardware domain and the second hardware domain for storage, and a first notification message is sent to the input image detection application of the second hardware domain through inter-core communication, so that the input image detection application obtains the image from the memory, and determines whether the image framing phenomenon occurs on the link from the camera to the on-board chip based on the image through the hash calculation module; thereby, it is possible to detect whether the image framing phenomenon occurs on the link from the camera to the on-board chip in real time in the second hardware domain with higher security, ensuring that it is possible to accurately and timely detect whether the image at the input end of the on-board chip is abnormal, so as to take corresponding measures to ensure the safe operation of the automobile system.

[0057] In an optional embodiment, if the hash value of the image is the same as the hash value of at least the previous frame of the image corresponding to the image, image framing occurs on the link from the camera to the vehicle chip; if the hash value of the image is different from the hash value of at least the previous frame of the image corresponding to the image, image framing does not occur on the link from the camera to the vehicle chip.

[0058] In this embodiment, by comparing the hash values ​​of multiple consecutive frames of images, it is possible to determine relatively simply and accurately whether image framing occurs in the link from the camera to the on-board chip.

[0059] In an alternative embodiment, the method is as follows Figure 3 As shown, it also includes:

[0060] S102, obtaining the image processed by the timing controller through the verification module.

[0061] S103, based on the processed image, determining whether the image output by the vehicle-mounted chip has a frame freeze phenomenon.

[0062] In this embodiment, the verification module is arranged on the data output channel of the display controller and can be used to verify whether the image to be displayed on the screen, that is, the image output by the vehicle-mounted chip, has a fixed frame phenomenon.

[0063] In this embodiment, the image recognition system application can be used to manage the verification module, configure the verification module to verify the image processed by the timing controller, and of course configure the image area for verification.

[0064] In some embodiments, the check module includes but is not limited to a CRC check module.

[0065] In some embodiments, the verification module may determine whether the image output by the on-board chip has image framing phenomenon based on the target area image of the processed image.

[0066] In this embodiment, since the verification module in the display controller is set on the data output channel of the timing controller, the verification module can be used to conveniently detect whether the image displayed on the upper screen has a framing phenomenon, and the bandwidth overhead when verifying whether the image output by the on-board chip has an image framing phenomenon can be saved.

[0067] In an optional embodiment, step S103, based on the processed image, determining whether the image output by the vehicle-mounted chip has an image framing phenomenon, includes:

[0068] A first check value is calculated for the processed image; based on the first check value and a second check value of at least a previous frame of image corresponding to the processed image, it is determined whether the image output by the on-board chip has an image framing phenomenon.

[0069] In this embodiment, the verification module may calculate a first verification value on the processed image.

[0070] In some implementations, the first check value calculation may be performed on a partial region image of the processed image, for example, the first check value calculation may be performed on a 32x rectangular region of the processed image.

[0071] In some implementations, the verification module may calculate a first verification value for the entire area of ​​the processed image.

[0072] In this embodiment, under normal circumstances, since it is impossible for multiple consecutive frames of the image input by the camera to be identical, it is possible to determine whether the image output by the on-board chip has image framing based on the first verification value and the second verification value of at least the previous frame of the processed image corresponding to the processed image.

[0073] In some implementations, determining whether an image output by the on-board chip has an image framing phenomenon based on the first verification value and a second verification value of at least a previous frame of an image corresponding to the processed image includes:

[0074] If the first verification value is the same as the second verification value of at least the previous frame image corresponding to the processed image, it is determined that the image output by the on-board chip has image framing phenomenon; if the first verification value is different from the second verification value of at least the previous frame image corresponding to the processed image, it is determined that the image output by the on-board chip has not image framing phenomenon.

[0075] In this embodiment, a first verification value is calculated for the processed image; based on the first verification value and a second verification value of at least the previous frame image corresponding to the processed image, it is determined whether the image output by the on-board chip has image framing phenomenon, thereby being able to quickly and accurately determine whether the image output by the on-board chip has image framing phenomenon.

[0076] In an optional embodiment, the image framing detection method further includes:

[0077] If the image output by the on-board chip is frozen, a second notification message is sent to the error event management module of the second hardware domain, so that the error event management module sends the second notification message to the safety camera application through the functional safety program.

[0078] In this embodiment, if Figure 2 As shown, the verification module (Freeze detect (output)) is set on the data output channel of the display controller. The verification module is wired to the error event management module of the second hardware domain. When the verification module determines that the image output by the on-board chip has an image freeze phenomenon, it sends a second notification message to the error event management module of the second hardware domain. The error event management module receives the second notification message, and the error event management module sends the second notification message to the functional safety program (Functional safety library, Fusa Lib). The functional safety program sends the second notification message to the safety camera application, and the safety camera application can issue a prompt message based on the second notification message.

[0079] In specific implementation, at the startup stage, the safety camera application in the second hardware domain can set the monitoring area through the functional safety program. For example, the image output by the camera is displayed in the left half of the display screen, and this area can be set to be monitored. When the error event management module receives the second notification message, it triggers the display error event of the left half of the display screen to the functional safety program. The functional safety program receives the display error event of the left half of the display screen and sends a notification message to the safety camera application that the image output by the on-board chip has a fixed frame phenomenon.

[0080] In this embodiment, if the image output by the on-board chip is frozen, a second notification message is sent to the error event management module of the second hardware domain, so that the error event management module sends the second notification message to the safety camera application through the functional safety program, so that the safety camera application can respond in time to take corresponding measures to ensure the safe operation of the automobile system.

[0081] The present application also provides a vehicle-mounted chip, such as Figure 4As shown, including:

[0082] The first hardware domain and the second hardware domain are hard-isolated from each other, and the security of the second hardware domain is higher than that of the first hardware domain; the first hardware domain includes a first processor 41 and a display controller 42, and the display controller 42 includes a timing controller 421 and a verification module 422; the second hardware domain includes a second processor 43, a hash calculation module 44, and an error event management module 45; the first hardware domain runs a first operating system, and the second hardware domain runs a second operating system, the first operating system runs a bus driver and an image recognition system application, and the second operating system runs an input image detection application, a security camera application, and a functional safety program; the first processor 41 is used to obtain an image input by the camera through the image recognition system application, send the image to the memory shared by the first hardware domain and the second hardware domain for storage, and send a first notification message to the input image detection application of the second hardware domain through inter-core communication; the second processor 43 is used to obtain an image from the memory through the input image detection application, and determine whether image framing occurs on the link from the camera to the on-board chip based on the image through the hash calculation module 44.

[0083] In this embodiment, the first hardware domain and the second hardware domain share a memory, which is generally arranged outside the vehicle-mounted chip, but may also be arranged inside the vehicle-mounted chip.

[0084] It should be noted that, in this embodiment, the shared memory is provided outside the vehicle-mounted chip as an example for explanation, but this does not limit the location of the shared memory.

[0085] The vehicle-mounted chip provided in the embodiment of the present application has camera noise in the image captured by the camera, and it is impossible for multiple consecutive frames of images to be the same under normal circumstances. Therefore, by running the input image detection application on the second operating system of the second hardware domain, and allowing the image recognition system application to obtain the image input by the camera, the image is sent to the memory shared by the first hardware domain and the second hardware domain for storage, and a first notification message is sent to the input image detection application of the second hardware domain through inter-core communication, so that the input image detection application obtains the image from the memory, and determines whether the image framing phenomenon occurs on the link from the camera to the vehicle-mounted chip based on the image through the hash calculation module; thereby, it is possible to detect whether the image framing phenomenon occurs on the link from the camera to the vehicle-mounted chip in real time in the second hardware domain with higher security, ensuring that it is possible to accurately and timely detect whether the image at the input end of the vehicle-mounted chip is abnormal, so as to take corresponding measures to ensure the safe operation of the automobile system.

[0086] According to an embodiment of the present application, the present application also provides an electronic device, a computer program product and a readable storage medium.

[0087] Figure 5 A schematic block diagram of an example electronic device 800 that can be used to implement an embodiment of the present application is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workbenches, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The electronic device can be a traffic device such as a smart car, which is provided with components such as doors and chassis, and the component includes the on-board chip of any of the above-mentioned embodiments. The components shown herein, their connections and relationships, and their functions are only examples, and are not intended to limit the implementation of the present application described and / or required herein.

[0088] like Figure 5 As shown, the electronic device 800 includes an onboard chip 801, which can perform various appropriate actions and processes according to a computer program stored in a read-only memory (ROM) 802 or a computer program loaded from a storage unit 808 to a random access memory (RAM) 803. In the RAM 803, various programs and data required for the operation of the electronic device 800 can also be stored. The onboard chip 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0089] Multiple components in the electronic device 800 are connected to the I / O interface 805, including: an input unit 806, such as a keyboard, a mouse, a camera, etc.; an output unit 807, such as various types of displays, speakers, etc.; a storage unit 808, such as a disk, an optical disk, etc.; and a communication unit 809, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 809 allows the electronic device 800 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0090] The on-board chip 801 includes a first hardware domain and a second hardware domain that are hard-isolated from each other, and the security of the second hardware domain is higher than that of the first hardware domain; the first hardware domain includes a first processor and a display controller, and the display controller includes a timing controller and a check module; the second hardware domain includes a second processor, an error event management module, and a hash calculation module; the first hardware domain and the second hardware domain share memory. The on-board chip 801 performs the various methods and processes described above, such as the image framing detection method. For example, in some embodiments, the image framing detection method can be implemented as a computer software program, which is tangibly contained in a machine-readable medium, such as a storage unit 808. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 800 via the ROM 802 and / or the communication unit 809. When the computer program is loaded into the RAM 803 and executed by the on-board chip 801, one or more steps of the image framing detection method described above can be performed. Alternatively, in other embodiments, the on-board chip 801 can be configured to perform the image framing detection method in any other appropriate manner (for example, by means of firmware).

[0091] In the present application, a computer program product includes a computer program / instruction, and when the computer program / instruction is executed by a processor, the image framing detection method in the above embodiment is implemented.

[0092] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0093] The program code for implementing the method of the present application can be written in any combination of one or more programming languages. These program codes can be provided to a processor or controller of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that the program code, when executed by the processor or controller, implements the functions / operations specified in the flow chart and / or block diagram. The program code can be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.

[0094] In the context of the present application, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or device, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0095] To provide interaction with a user, the systems and techniques described herein can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user can provide input to the computer. Other types of devices can also be used to provide interaction with the user; for example, the feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including acoustic input, voice input, or tactile input).

[0096] The systems and techniques described herein may be implemented in a computing system that includes back-end components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes front-end components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such back-end components, middleware components, or front-end components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), and the Internet.

[0097] A computer system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The relationship of client and server is generated by computer programs running on respective computers and having a client-server relationship with each other. The server may be a cloud server, a server of a distributed system, or a server combined with a blockchain.

[0098] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps recorded in this application can be executed in parallel, sequentially or in different orders, as long as the expected results of the technical solution disclosed in this application can be achieved, and this document is not limited here.

[0099] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined.

[0100] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An image framing detection method, characterized in that: Applied to an on-board chip, the on-board chip includes a first hardware domain and a second hardware domain which are hard-isolated from each other, and the security of the second hardware domain is higher than that of the first hardware domain; the first hardware domain includes a first processor and a display controller, and the display controller includes a timing controller and a verification module; The second hardware domain includes a second processor, an error event management module, and a hash calculation module; the first hardware domain and the second hardware domain share a memory; the first hardware domain runs a first operating system, the second hardware domain runs a second operating system, the first operating system runs a bus driver and an image recognition system application, and the second operating system runs an input image detection application, a security camera application, and a functional safety program; The bus driver obtains the image input by the camera and sends it to the image recognition system application and the display controller respectively. The display controller processes the image through the timing controller and sends the processed image to the display screen for display; The method comprises: The image recognition system application obtains the image, sends the image to the memory for storage, and sends a first notification message to the input image detection application of the second hardware domain through inter-core communication, so that the input image detection application obtains the image from the memory, and determines whether an image framing phenomenon occurs on the link from the camera to the on-board chip based on the image through the hash calculation module; Acquire the image processed by the timing controller through the verification module; Based on the processed image, determining whether the image output by the vehicle-mounted chip has an image framing phenomenon; If the image output by the on-board chip is frozen, a second notification message is sent to the error event management module of the second hardware domain, so that the error event management module sends the second notification message to the safety camera application through the functional safety program.

2. The image framing detection method according to claim 1, characterized in that: If the hash value of the image is the same as the hash value of at least one previous frame of the image corresponding to the image, an image framing phenomenon occurs on the link from the camera to the on-board chip; If the hash value of the image is different from the hash value of at least one previous frame of the image corresponding to the image, no image framing phenomenon occurs on the link from the camera to the on-board chip.

3. The image framing detection method according to claim 1, characterized in that: Determining whether the image output by the vehicle-mounted chip has a frozen frame phenomenon based on the processed image includes: Performing a first check value calculation on the processed image; Based on the first verification value and a second verification value of at least a previous frame image corresponding to the processed image, it is determined whether the image output by the on-board chip has an image framing phenomenon.

4. The image framing detection method according to claim 3, characterized in that: Determining whether the image output by the vehicle-mounted chip has an image framing phenomenon based on the first verification value and a second verification value of at least a previous frame image corresponding to the processed image includes: If the first check value is the same as the second check value of at least one previous frame of the image corresponding to the processed image, it is determined that the image output by the on-board chip has an image framing phenomenon; If the first verification value is different from the second verification value of at least one previous frame image corresponding to the processed image, it is determined that the image output by the on-board chip does not have an image framing phenomenon.

5. A vehicle-mounted chip, characterized in that: include: A first hardware domain and a second hardware domain that are hard-isolated from each other, the second hardware domain being more secure than the first hardware domain; The first hardware domain includes a first processor and a display controller, and the display controller includes a timing controller and a verification module; The second hardware domain includes a second processor, an error event management module, and a hash calculation module; The first hardware domain runs a first operating system, the second hardware domain runs a second operating system, the first operating system runs a bus driver and an image recognition system application, and the second operating system runs an input image detection application, a security camera application, and a functional safety program; The first processor is used to obtain an image input by a camera through an image recognition system application, send the image to a memory shared by the first hardware domain and the second hardware domain for storage, and send a first notification message to an input image detection application of the second hardware domain through inter-core communication; obtain the image processed by the timing controller through the verification module; and determine whether the image output by the on-board chip has an image framing phenomenon based on the processed image; If a frozen frame phenomenon occurs in the image output by the vehicle-mounted chip, a second notification message is sent to the error event management module of the second hardware domain; The second processor is used to obtain the image from the memory through the input image detection application, and determine whether image framing occurs on the link from the camera to the on-board chip based on the image through the hash calculation module; receive the second notification message through the error event management module, and send the second notification message to the safety camera application through the functional safety program.

6. An electronic device comprising: The vehicle-mounted chip as claimed in claim 5.

7. A computer program product, characterized in that The method comprises a computer program / instruction, which, when executed by a processor, implements the image framing detection method according to any one of claims 1 to 4.

8. A computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable a computer to execute the image framing detection method according to any one of claims 1 to 4.