Chip starting method and related device
By prohibiting the input of image data received by the deserializer to the second chip after the first chip is started in the image processing system until the second chip is powered on, the chip startup failure problem caused by current conduction is solved, ensuring that the second chip is in progress. The second chip can be successfully started.
Patent Information
- Application Number
- CN202411362451.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-26
- Publication Date
- 2024-12-27
AI Technical Summary
In an image processing system, a slower startup chip may be unable to start before powering on due to the reserializer and the port where the camera collects image data on, causing residual current, and thus cannot be started.
After the first chip is started, the image data received by the deserializer is prohibited from being input to the second chip until the second chip is powered on, and the data input is allowed to be avoided from turning on, and the startup time of the second chip is set to be less than that of the second chip. A chip and a residual current detection mechanism is set inside it.
It effectively solves the problem of chip startup failure caused by current conduction, ensuring that the second chip can be powered on successfully and started normally.
Smart Images

Figure CN119201249A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of chip startup technology, specifically, to the field of chip startup technology in an image processing system, and more particularly to a chip startup method and related devices. Background Art
[0002] Some smart devices, such as smart driving vehicles, drones, robots, etc., are generally equipped with cameras for target recognition, visual perception in autonomous driving or assisted driving, etc.
[0003] The startup of the camera and the processing of the captured images (such as image display) are generally completed by chips with higher computing power. However, the startup speed of such chips is slow, which affects the startup speed of the camera and the image display speed. In the prior art, in order to speed up the startup speed of the camera and the image display speed, a faster startup chip is usually used to replace a slower startup chip to first control the startup of the camera and run the display function of the camera image. After the slower startup chip completes the startup, the slower startup chip takes over the processing function of the camera image.
[0004] However, this processing method may cause residual current to be generated in the slow-starting chip that has not yet been powered on, thereby causing the slow-starting chip to fail to start. Summary of the invention
[0005] Based on the above defects and shortcomings of the prior art, the present application proposes a chip startup method and related devices, which can solve the problem that the chip with slow startup in the existing image processing system cannot be started because a certain residual current has been generated inside it before power-on.
[0006] According to a first aspect of an embodiment of the present application, a chip startup method is provided, which is applied to a first chip in an image processing system, and the method includes:
[0007] When the first chip is started up, controlling the deserializer in the image processing system to power on, and prohibiting the image data collected by the camera in the image processing system and received by the deserializer from being input into the second chip in the image processing system;
[0008] When it is detected that the second chip is powered on, the image data received by the deserializer is allowed to be input into the second chip; wherein the startup time of the second chip is shorter than the startup time of the first chip, and a residual current detection mechanism is provided in the second chip.
[0009] According to a second aspect of an embodiment of the present application, a chip startup device is provided, which is applied to a first chip in an image processing system, and the device includes:
[0010] A first control module is used to control the deserializer in the image processing system to power on when the first chip completes startup, and prohibit the image data collected by the camera in the image processing system and received by the deserializer from being input into the second chip in the image processing system;
[0011] The second control module is used to allow the image data received by the deserializer to be input into the second chip when it is detected that the second chip is powered on; wherein the startup time of the second chip is shorter than the startup time of the first chip, and a residual current detection mechanism is provided in the second chip.
[0012] According to a third aspect of an embodiment of the present application, there is provided an electronic device, including: a memory and a processor;
[0013] The memory is connected to the processor and is used to store programs;
[0014] The processor is used to implement the chip startup method as described in the first aspect by running the program in the memory.
[0015] According to a fourth aspect of an embodiment of the present application, there is provided an image processing system, including: a camera, a deserializer, a first chip, and a second chip;
[0016] The camera is connected to the deserializer, and the deserializer is connected to the first chip and the second chip respectively;
[0017] The startup time of the second chip is shorter than the startup time of the first chip, and a residual current detection mechanism is provided in the second chip;
[0018] When the first chip completes startup, the first chip is used to implement the chip startup method as described in the first aspect.
[0019] According to a fifth aspect of an embodiment of the present application, a vehicle is provided, comprising the image processing system as described in the fourth aspect, wherein the first chip in the image processing system is used to implement the chip startup method as described in the first aspect when the startup is completed.
[0020] According to a sixth aspect of an embodiment of the present application, a storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the chip startup method as described in the first aspect is implemented.
[0021] According to the seventh aspect of the embodiments of the present application, a computer program product or a computer program is provided, wherein the computer program product includes the computer program, and when the processor executes the computer program, the steps in the chip startup method as described in the first aspect are implemented. Optionally, the computer program can be stored in a readable storage medium or in the cloud of a computer device; the processor of the computer device reads the computer program from the readable storage medium or the cloud.
[0022] In the technical solution provided in the present application, for the second chip that starts slower in the image processing system, before it is powered on, the first chip that starts slower in the image processing system can be started to prohibit the image data collected by the camera in the image processing system and received by the deserializer from being input into the second chip, thereby solving the problem that the port of the second chip for inputting image data and the port of the deserializer for outputting image data are turned on due to the transmission of image data, resulting in residual current generated inside the second chip before it is powered on, which ultimately causes the second chip to fail to start. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0024] Figure 1 An image processing system in the prior art;
[0025] Figure 2 One of the schematic diagrams of the image processing system provided in the embodiment of the present application;
[0026] Figure 3 A second schematic diagram of an image processing system provided in an embodiment of the present application;
[0027] Figure 4 A schematic diagram of a chip startup method provided in an embodiment of the present application;
[0028] Figure 5 The third schematic diagram of the image processing system provided in the embodiment of the present application;
[0029] Figure 6 A fourth schematic diagram of an image processing system provided in an embodiment of the present application;
[0030] Figure 7 A block diagram of a chip startup device provided in an embodiment of the present application;
[0031] Figure 8A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0032] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only 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 ordinary technicians in this field without creative work are within the scope of protection of this application.
[0033] Application Overview
[0034] The startup of the camera in the smart device and the processing of the captured image (such as image display) are generally completed by chips with high computing processing capabilities (such as system on chip (SoC)). However, the startup speed of such chips is slow, which affects the startup speed of the camera, image display speed, etc.
[0035] In order to meet the requirements of fast camera startup and timely image display in smart devices, a chip with faster startup (such as a microcontroller unit (MCU)) can be used to control the camera to start in advance and control the display of camera images. After the chip with slower startup is started, the camera control link is switched, and the chip with slower startup but stronger computing and processing capabilities takes over the camera image processing function.
[0036] As smart devices have higher and higher requirements for chip security levels, some system-level chips are equipped with residual current detection mechanisms. Before such chips are powered on, if current is detected inside the chip, the chip will not start for safety reasons. For the aforementioned solutions for achieving fast camera startup and timely image display, it may cause the chip that starts slowly to have a certain amount of residual current inside before powering on, causing the chip to fail to start.
[0037] For example, Figure 1 As shown, after the first chip that starts faster starts, it can control the camera and deserializer to start, and then the first chip controls the deserializer to output the image data collected by the camera through the camera serial interface (CSI). At this time, the second chip that starts slower may not be powered on, but the CSI of the second chip and the CSI of the deserializer will be turned on, causing current to flow into the second chip, so that the second chip has a certain residual current inside before powering on, and finally the second chip fails to start. This situation can also be called a series current or leakage current problem between circuit components.
[0038] In order to solve the above technical problems, in an embodiment of the present application, for the second chip in the image processing system that starts slower, before it is powered on, the first chip in the image processing system that starts slower can be used to prohibit the image data collected by the camera in the image processing system and received by the deserializer from being input into the second chip, thereby solving the problem that the port of the second chip for inputting image data (such as CSI) and the port of the deserializer for outputting image data (such as CSI) are turned on due to the transmission of image data, resulting in residual current generated inside the second chip before it is powered on, ultimately causing the second chip to fail to start.
[0039] Exemplary Methods
[0040] An embodiment of the present application provides a chip startup method, which is applied to intelligent devices including an image processing system, such as intelligent driving vehicles, drones, robots, etc.
[0041] like Figure 2 As shown, the image processing system may include: a camera, a deserializer, a first chip, a second chip and other hardware structures. Among them, the startup time of the first chip is shorter than the startup time of the second chip, that is, the first chip starts faster and the second chip starts slower, but the computing processing capability of the second chip is higher than that of the first chip. In addition, a residual current detection mechanism is provided in the second chip.
[0042] The camera is connected to the deserializer, and the first chip and the second chip are connected to the deserializer respectively.
[0043] The camera is used to collect image data and send serial image data to the deserializer.
[0044] The deserializer is used to convert the received serial image data into parallel image data, and at least send the parallel image data to the second chip so that the second chip performs subsequent image processing. Figure 2 As shown, the deserializer can transmit the parallel image data to the second chip through the CSI.
[0045] Optionally, the deserializer may also send the parallel image data to the first chip so that the first chip can control the display of the camera image before the second chip completes startup.
[0046] Alternatively, the deserializer may also send the parallel image data to the third chip so that the third chip can control the display of the camera image before the second chip completes the startup. Figure 3 As shown, the deserializer may send the parallel image data to the second chip via CSI_1 and may send the parallel image data to the third chip via CSI_2.
[0047] In the case where the smart device is a smart driving vehicle, the first chip and the second chip may be chips in the smart driving control domain, and the second chip may be the main control chip in the smart driving control domain. Since smart driving has high requirements for data processing speed and accuracy, the second chip needs to be a chip with strong computing and processing capabilities, and therefore the internal system of the second chip is more complex, resulting in a slower startup speed. The third chip can be a chip that starts faster in the smart cockpit control domain, or it can be a system-level chip. The smart cockpit control logic is relatively simple, so there is no need for a system-level chip with too high computing and processing capabilities, and its internal system is also simpler than the second chip, so its startup speed is faster, and the smart cockpit control domain has lower requirements for the chip's safety level, and there is no need to set a residual current detection mechanism inside it, so before the second chip is powered on, the display of the camera image can be controlled by the third chip that starts faster. Among them, the first chip can be a power supply main control chip in a smart device, such as a chip that is mainly used to control the power supply of each chip in a smart device.
[0048] The first chip can control the camera and the deserializer to start, such as controlling the camera and the deserializer to power on, initialize, etc. The first chip and the second chip can both control the deserializer to output the image data collected by the camera. Optionally, the second chip can also control the camera and the deserializer to start (not shown in the figure). For example, in some cases, such as the failure of the first chip, the second chip may start before the first chip. At this time, the second chip can control the camera and the deserializer to start. Among them, the second chip can monitor whether the first chip is started.
[0049] Among them, the execution subject of the chip startup method provided in the embodiment of the present application can specifically be the aforementioned first chip.
[0050] The method is described in detail below through some embodiments. The following embodiments can be combined with each other, and the same or similar concepts or processes may not be described in detail in some embodiments.
[0051] like Figure 4 As shown, the method may include steps 401 to 402, as described below:
[0052] Step 401: When the first chip is started up, the deserializer is controlled to be powered on, and image data collected by the camera and received by the deserializer is prohibited from being input to the second chip.
[0053] In the embodiment of the present application, after the smart device is powered on, the image processing system starts to be powered on, and the first chip in the image processing system can be started at a faster speed. After that, the first chip can be enabled through the enable port (Enable port, i.e., Figure 2The EN port in the first chip controls the deserializer to enable, thereby powering on the deserializer. Of course, the first chip can also control the camera to start through the camera's use port so that the camera can collect image data.
[0054] After the camera is started, the collected image data can be sent to the deserializer. In order to avoid the port of the second chip used to input image data and the port of the deserializer used to output image data from being connected before the second chip is powered on, the first chip can prohibit the image data collected by the camera in the image processing system and received by the deserializer from being input into the second chip in the image processing system. In this way, the current will not be backflowed into the second chip due to the conduction between the two ports, making the second chip unable to start.
[0055] Step 402: when it is detected that the second chip is powered on, the image data collected by the camera and received by the deserializer is allowed to be input into the second chip.
[0056] In the embodiment of the present application, the first chip can detect whether the second chip is powered on. After the second chip is successfully powered on, the residual current detection mechanism will not be triggered, and the second chip can be successfully started. Therefore, at this time, the first chip can control the image data collected by the camera received by the deserializer to be input to the second chip. Since the second chip needs to be initialized after powering on, image processing cannot be performed during this period. Therefore, at this time, the deserializer can send the image data to Figure 2 The first chip in or Figure 3 The third chip in the display is used to display the camera image.
[0057] In some optional embodiments, “forbidding the image data collected by the camera and received by the deserializer from being input into the second chip” in step 401 may include:
[0058] Step A1: prohibiting the deserializer from outputting the image data collected by the camera.
[0059] In an embodiment of the present application, the first chip can prohibit the image data collected by the camera in the image processing system and received by the deserializer from being input into the second chip in the image processing system by prohibiting the deserializer from outputting the image data collected by the camera.
[0060] Accordingly, in step 402, “allowing the image data collected by the camera and received by the deserializer to be input into the second chip” may include:
[0061] Step B1: Allow the deserializer to output image data collected by the camera.
[0062] After the first chip detects that the second chip is powered on, the deserializer may be allowed to output the image data collected by the camera, thereby transmitting the image data to the second chip.
[0063] Optionally, step A1: prohibiting the deserializer from outputting image data collected by the camera may include: after the deserializer is powered on, prohibiting the deserializer from initializing so as to prohibit the deserializer from outputting image data.
[0064] After the deserializer is powered on, it needs to be initialized. Only after the initialization is completed can the image data collected by the camera be output externally. Therefore, in the embodiment of the present application, the first chip can control the initialization of the deserializer, temporarily prohibit the deserializer from entering the initialization process, thereby prohibiting the deserializer from outputting image data. After the second chip is powered on, the deserializer is allowed to initialize, so that the deserializer that has completed the initialization can output the image data collected by the camera externally.
[0065] Optionally, a PWDNB port is provided on the deserializer for initializing and controlling the deserializer, and can be configured: when the PWDNB port is in a low level state, it indicates that the deserializer initialization is prohibited; when the PWDNB port is in a high level state, it indicates that the deserializer can be initialized. Therefore, the first chip can prohibit the deserializer initialization by controlling the PWDNB port of the deserializer to be in a low level state. After the second chip is powered on, the PWDNB port is pulled high again, that is, the PWDNB port is controlled to be in a high level state, so as to initialize the deserializer.
[0066] Optionally, in the embodiment of the present application, a switch module may be provided between the first port of the deserializer and the second port of the second chip, that is, the switch module is connected to the first port of the deserializer and the second port of the second chip respectively. Figure 5 and Figure 6 As shown, a switch module is provided between the CSI of the deserializer and the CSI of the second chip. In addition, the switch module is also connected to the first chip, and the first chip can control the opening and closing of the switch module.
[0067] The first port of the deserializer described here is used to output image data collected by the camera, and the second port of the second chip described here is used to input image data collected by the camera.
[0068] In step 401, “prohibiting the image data collected by the camera and received by the deserializer from being input into the second chip” may include:
[0069] Step A2: Control the switch module to be in the disconnected state.
[0070] In the embodiment of the present application, a switch module can be set between the first port of the deserializer and the second port of the second chip, and then the first chip controls the on and off of the switch module. After the first chip is started, the switch module can be controlled to be in an off state, so that the connection circuit between the deserializer and the second chip is disconnected, so as to prohibit the image data output by the deserializer from being input to the second chip.
[0071] Accordingly, in step 402, “allowing the image data collected by the camera and received by the deserializer to be input into the second chip” may include:
[0072] Step B1: Control the switch module to be in a closed state.
[0073] After the first chip detects that the second chip is powered on, the switch module can be controlled to be in a closed state, so that the connection circuit between the deserializer and the second chip is turned on, thereby transmitting the image data collected by the camera output by the deserializer to the second chip.
[0074] It should be noted that the type of the switch module can also be selected according to actual needs, and the embodiment of the present application does not limit this. In addition, in addition to setting a switch module between the first port of the deserializer and the second port of the second chip, the switch module in this case is still electrically connected to the first chip, so that the first chip can control the on-off state of the switch module, especially before the second chip is powered on, by controlling the switch module to be in an off state, the image data output by the deserializer is prohibited from being input to the second chip.
[0075] In some optional embodiments, when the first chip completes startup, the chip startup method may further include:
[0076] The state of the input / output port of the second chip is obtained; when it is detected that the state of the input / output port of the second chip is at a high level, it is determined that the second chip is powered on.
[0077] The first chip is connected to the input and output ports of the second chip.
[0078] By detecting the state of the input and output ports of the second chip, it can be determined whether the second chip is powered on. Among them, it can be configured that: the input and output ports are in a low level state, indicating that they are not powered on; the input and output ports are in a high level state, indicating that they are powered on. Therefore, if the input and output ports of the second chip are in a low level state, it can be determined that the second chip is not powered on; if the input and output ports of the second chip are in a high level state, it can be determined that the second chip is powered on.
[0079] Alternatively, if Figure 2 and Figure 3 as well as Figure 5 and Figure 6As shown, the input / output port may be a general purpose input / output port (GPIO). Both the first chip and the second chip are provided with GPIO ports, and the GPIO ports of the two chips are connected, so the first chip can monitor the status of the GPIO port of the second chip.
[0080] In some optional embodiments, after disabling the deserializer from outputting an image, the chip startup method may further include: controlling the second chip to power on.
[0081] In the embodiment of the present application, the first chip can control the power-on of the second chip, for example, Figure 2 and Figure 3 as well as Figure 5 and Figure 6 As shown, the GPIO port of the first chip is connected to the EN port of the second chip, and the first chip can control the EN port of the second chip through the GPIO port to control the power-on timing of the second chip.
[0082] Specifically, the first chip can control the second chip to start powering on after prohibiting the deserializer from outputting the image collected by the camera, so that each component can be powered on in order. By reasonably controlling the power-on timing of each component, the problem that the second chip cannot start due to serial power can be better solved.
[0083] It is understandable that the power-on of the second chip may not be controlled by the first chip. After the image processing system is powered on, it can be powered directly by the power supply of the second chip. In this case, before prohibiting the deserializer from outputting the image captured by the camera, the first chip can first detect whether the second chip is powered on. If the second chip is not powered on, the step of "prohibiting the deserializer from outputting the image captured by the camera" is executed; if it is detected that the second chip is powered on, the deserializer can be directly controlled to output the image captured by the camera.
[0084] In some optional embodiments, after the deserializer is prohibited from outputting the image data collected by the camera, the chip startup method may further include:
[0085] If the second chip is not detected to be powered on within the detection time threshold, the image processing system is controlled to be powered on again.
[0086] In the embodiment of the present application, a detection time threshold can be set for the detection time of the second chip power-on. If the second chip power-on is not detected within the detection time threshold, it means that the second chip power-on time has timed out, and there may be a certain fault. At this time, the image processing system can be powered on again, and the steps in the chip startup method provided in the embodiment of the present application can be re-executed.
[0087] When the image processing system is repeatedly powered on for a number of times reaching a threshold, the power-on can be stopped and an alarm message can be output.
[0088] Among them, the above-mentioned detection time threshold can be set according to actual needs, and the embodiments of the present application do not specifically limit this.
[0089] Optionally, in an embodiment of the present application, within a detection time threshold, the first chip may periodically detect whether the second chip is powered on.
[0090] In some optional embodiments, the first chip is a micro control unit (MCU), and the second chip is a system-on-chip (SoC).
[0091] MCU chips are usually specially designed for embedded systems, with relatively simple functions and fewer integrated hardware resources. Therefore, their initialization process is relatively simple and fast. The initialization of SoC chips may involve multiple steps such as initialization of multiple processor cores, memory configuration, and peripheral initialization. Therefore, more time is required to complete the initialization process. Therefore, the initialization of MCU chips is usually faster than that of SoC chips, which makes the startup speed of MCU chips faster than that of SoC chips. Therefore, when the MCU chip completes initialization, it can enable the camera and deserializer one step earlier than the SoC chip, complete the startup of the camera and deserializer, and complete the display of the camera image.
[0092] Optionally, the first chip may also be a Field Programmable Gate Array (FPGA) chip.
[0093] To summarize, the chip startup method provided in the embodiment of the present application can control the deserializer to prohibit the external output of image data collected by the camera by starting the first chip faster, thereby solving the problem that before the second chip is powered on, its port for inputting image data and the port for outputting image data of the deserializer are turned on due to the transmission of image data, resulting in residual current generated inside the second chip before it is powered on, which ultimately causes the second chip to fail to start.
[0094] Exemplary Devices
[0095] Accordingly, the embodiment of the present application also provides a chip startup device, which is applied to an intelligent device including an image processing system, such as an intelligent driving vehicle, a drone, a robot, etc. The image processing system may include: a camera, a deserializer, a first chip, a second chip and other hardware structures.
[0096] The camera is connected to the deserializer, and the first chip and the second chip are connected to the deserializer respectively.
[0097] The startup time of the first chip is shorter than that of the second chip, that is, the first chip starts faster and the second chip starts slower, but the computing processing capability of the second chip is higher than that of the first chip. In addition, a residual current detection mechanism is provided in the second chip.
[0098] For more explanations about the image processing system, please refer to the aforementioned embodiments, which will not be repeated here.
[0099] like Figure 7 As shown, the device may include:
[0100] The first control module 701 is used to control the deserializer in the image processing system to power on when the first chip completes startup, and prohibit the image data collected by the camera in the image processing system and received by the deserializer from being input into the second chip in the image processing system.
[0101] The second control module 702 is configured to allow the image data received by the deserializer to be input into the second chip when it is detected that the second chip is powered on.
[0102] Optionally, the first control module 701 may be specifically configured to: prohibit the deserializer from outputting the image data collected by the camera.
[0103] The second control module 702 may be specifically configured to allow the deserializer to output the image data collected by the camera.
[0104] Optionally, the first control module 701 may be specifically configured to: after the deserializer is powered on, prohibit the deserializer from initializing so as to prohibit the deserializer from outputting image data.
[0105] Optionally, the first control module 701 may be specifically configured to: control a PWDNB port of the deserializer to be in a low level state, so as to prohibit initialization of the deserializer.
[0106] Optionally, the device may further include:
[0107] The acquisition module is used to acquire the state of the input and output ports of the second chip; wherein the first chip is connected to the input and output ports of the second chip.
[0108] The determination module is used to determine that the second chip is powered on when it is detected that the state of the input and output ports of the second chip is a high level.
[0109] Optionally, a switch module is arranged between the first port of the deserializer and the second port of the second chip, and the switch module is also connected to the first chip; wherein the first port is used to output image data collected by the camera, and the second port is used to input image data collected by the camera.
[0110] The first control module 701 may be specifically used to: control the switch module to be in an off state;
[0111] The second control module 702 may be specifically configured to control the switch module to be in a closed state.
[0112] Optionally, the device may further include:
[0113] The third control module is used to control the second chip to power on after the deserializer is prohibited from outputting the image data collected by the camera.
[0114] Optionally, the first chip is a micro control unit, and the second chip is a system-level chip.
[0115] The chip startup device provided in this embodiment belongs to the same application concept as the chip startup method provided in the above embodiments of this application, and can execute the chip startup method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in this embodiment, please refer to the specific processing content of the chip startup method provided in the above embodiments of this application, and will not be repeated here.
[0116] Exemplary Image Processing System
[0117] The present application embodiment provides an image processing system, such as Figure 2 or Figure 3 As shown, the image processing system includes: a camera, a deserializer, a first chip and a second chip.
[0118] The camera is connected to the deserializer, and the deserializer is connected to the first chip and the second chip respectively.
[0119] The startup time of the second chip is shorter than the startup time of the first chip, and a residual current detection mechanism is provided in the second chip;
[0120] When the first chip completes startup, the first chip is used to:
[0121] Control the deserializer in the image processing system to power on, and prohibit the image data collected by the camera in the image processing system and received by the deserializer from being input into the second chip in the image processing system; and when it is detected that the second chip is powered on, allow the image data received by the deserializer to be input into the second chip.
[0122] Optionally, the first chip is specifically used to: control the deserializer to power on and prohibit the deserializer from outputting image data collected by the camera; and when it is detected that the second chip is powered on, allow the deserializer to output image data collected by the camera.
[0123] Optionally, the first chip is specifically used to: after the deserializer is powered on, prohibit the deserializer from outputting image data by prohibiting the deserializer from initializing.
[0124] Optionally, the first chip is specifically used to: after the deserializer is powered on, prohibit the deserializer from outputting image data by prohibiting the deserializer from initializing.
[0125] Optionally, the first chip is specifically used to: prohibit the deserializer from initializing by controlling a PWDNB port of the deserializer to be in a low level state.
[0126] Optionally, a switch module is arranged between the first port of the deserializer and the second port of the second chip, and the switch module is also connected to the first chip; wherein the first port is used to output image data collected by the camera, and the second port is used to input image data collected by the camera.
[0127] The first chip is specifically used to control the deserializer to be powered on and the switch module to be in an open state, and to control the switch module to be in a closed state when it is detected that the second chip is powered on.
[0128] Optionally, the first chip is further used to: obtain the state of the input / output port of the second chip; and determine that the second chip is powered on when the state of the input / output port of the second chip is detected to be at a high level. The first chip is connected to the input / output port of the second chip.
[0129] Optionally, the first chip is further used to: control the second chip to power on after the deserializer is prohibited from outputting the image data collected by the camera.
[0130] The vehicle provided in this embodiment belongs to the same application concept as the chip startup method provided in the above embodiments of this application, and can execute the chip startup method provided in any of the above embodiments of this application, and has the corresponding functional modules and beneficial effects of the execution method. For technical details not fully described in this embodiment, please refer to the specific processing content of the chip startup method provided in the above embodiments of this application, and will not be repeated here.
[0131] Example Vehicles
[0132] An embodiment of the present application further provides a vehicle, comprising the image processing system described in the above embodiment, wherein the first chip in the image processing system is used to implement the chip startup method described in the above embodiment when the startup is completed.
[0133] Exemplary Electronic Devices
[0134] The present application also provides an electronic device, such as Figure 8 As shown, the electronic device includes: a memory 800 and a processor 810 .
[0135] The memory 800 is connected to the processor 810 and is used to store programs.
[0136] The processor 810 is used to implement the chip startup method in the above embodiment by running the program stored in the memory 800.
[0137] Specifically, the electronic device may further include: a communication interface 820 , an input device 830 , an output device 840 and a bus 850 .
[0138] The processor 810, the memory 800, the communication interface 820, the input device 830 and the output device 840 are connected to each other via a bus.
[0139] Bus 850 may include a pathway for transferring information between the various components of the computer system.
[0140] The processor 810 may be a general-purpose processor, such as a general-purpose central processing unit (CPU), a microprocessor, etc., or an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the program of the scheme of the present invention. It may 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, discrete hardware components.
[0141] The processor 810 may include a main processor, and may also include a baseband chip, a modem, and the like.
[0142] The memory 800 stores a program for executing the technical solution of the present invention, and may also store an operating system and other key services. Specifically, the program may include a program code, and the program code includes a computer operation instruction. More specifically, the memory 800 may include a read-only memory (ROM), other types of static storage devices that can store static information and instructions, a random access memory (RAM), other types of dynamic storage devices that can store information and instructions, a disk storage, a flash, and the like.
[0143] The input device 830 may include a device for receiving data and information input by a user, such as a keyboard, a mouse, a camera, a scanner, a light pen, a voice input device, a touch screen, a pedometer, or a gravity sensor.
[0144] Output device 840 may include devices that allow information to be output to a user, such as a display screen, printer, speaker, etc.
[0145] The communication interface 820 may include any transceiver or the like to communicate with other devices or communication networks, such as Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc.
[0146] The processor 810 executes the program stored in the memory 800 and calls other devices, which can be used to implement the various steps of the chip startup method provided in the above embodiments of the present application.
[0147] Exemplary computer program products and storage media
[0148] In addition to the above-mentioned method and device, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps in the chip startup method described in the embodiment of the present application.
[0149] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is embodied as a computer storage medium, and in another optional embodiment, the computer program product is embodied as a software product, such as a software development kit (SDK).
[0150] The computer program product may be written in any combination of one or more programming languages to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.
[0151] In addition, an embodiment of the present application may also be a storage medium on which a computer program is stored, and the computer program is executed by a processor to execute the steps of the chip startup method described in the embodiment of the present application.
[0152] In addition, the embodiment of the present application may also be a chip, which includes a processor and a data interface. The processor reads instructions stored in the memory through the data interface to execute the steps in the point of interest query method described in the embodiment of the present application.
[0153] For the aforementioned method embodiments, for the sake of simplicity, they are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
[0154] It should be noted that each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0155] The steps in the methods of each embodiment of the present application can be adjusted in order, combined and deleted according to actual needs, and the technical features recorded in each embodiment can be replaced or combined.
[0156] The modules and sub-modules in the devices and terminals in the embodiments of the present application can be combined, divided and deleted according to actual needs.
[0157] In the several embodiments provided in the present application, it should be understood that the disclosed terminals, devices and methods can be implemented in other ways. For example, the terminal embodiments described above are only schematic, for example, the division of modules or submodules is only a logical function division, and there may be other division methods in actual implementation, for example, multiple submodules or modules can be combined or integrated into another module, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0158] The modules or submodules described as separate components may or may not be physically separated, and the components of the modules or submodules may or may not be physical modules or submodules, that is, they may be located in one place, or they may be distributed on multiple network modules or submodules. Some or all of the modules or submodules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0159] In addition, each functional module or submodule in each embodiment of the present application may be integrated into one processing module, or each module or submodule may exist physically separately, or two or more modules or submodules may be integrated into one module. The above-mentioned integrated modules or submodules may be implemented in the form of hardware or in the form of software functional modules or submodules.
[0160] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0161] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly by hardware, software units executed by a processor, or a combination of the two. The software units may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0162] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
Claims
1. A chip startup method, characterized in that: A first chip applied to an image processing system, the method comprising: When the first chip is started up, controlling the deserializer in the image processing system to power on, and prohibiting the image data collected by the camera in the image processing system and received by the deserializer from being input into the second chip in the image processing system; When it is detected that the second chip is powered on, the image data received by the deserializer is allowed to be input into the second chip; wherein the startup time of the second chip is shorter than the startup time of the first chip, and a residual current detection mechanism is provided in the second chip.
2. The chip startup method according to claim 1, characterized in that: The method of prohibiting the image data collected by the camera in the image processing system and received by the deserializer from being input into the second chip in the image processing system includes: prohibiting the deserializer from outputting the image data collected by the camera; The allowing the image data received by the deserializer to be input to the second chip includes: The deserializer is allowed to output the image data collected by the camera.
3. The chip startup method according to claim 2, characterized in that: The prohibiting the deserializer from outputting the image data collected by the camera includes: After the deserializer is powered on, initialization of the deserializer is prohibited so as to prohibit the deserializer from outputting the image data.
4. The chip startup method according to claim 3, characterized in that: The prohibiting the deserializer from initializing includes: The deserializer is prohibited from initializing by controlling the PWDNB port of the deserializer to be in a low level state.
5. The chip startup method according to claim 1, characterized in that: A switch module is provided between the first port of the deserializer and the second port of the second chip, and the switch module is also connected to the first chip; wherein the first port is used to output the image data collected by the camera, and the second port is used to input the image data collected by the camera; The method of prohibiting the image data collected by the camera in the image processing system and received by the deserializer from being input into the second chip in the image processing system includes: Controlling the switch module to be in an off state; The allowing the image data received by the deserializer to be input to the second chip includes: The switch module is controlled to be in a closed state.
6. The chip startup method according to claim 1, 2 or 5, characterized in that: When the first chip completes startup, the method further includes: Acquiring the state of the input and output ports of the second chip; wherein the first chip is connected to the input and output ports of the second chip; When it is detected that the state of the input / output port of the second chip is at a high level, it is determined that the second chip is powered on.
7. The chip startup method according to claim 1, 2 or 5, characterized in that: The first chip is a micro control unit, and the second chip is a system-level chip.
8. An electronic device, characterized in that: include: Memory and processor; The memory is connected to the processor and is used to store programs; The processor is used to implement the chip startup method according to any one of claims 1 to 7 by running the program in the memory.
9. An image processing system, characterized in that: include: A camera, a deserializer, a first chip, and a second chip; The camera is connected to the deserializer, and the deserializer is connected to the first chip and the second chip respectively; The startup time of the second chip is shorter than the startup time of the first chip, and a residual current detection mechanism is provided in the second chip; When the first chip completes startup, the first chip is used to implement the chip startup method according to any one of claims 1 to 7.
10. A vehicle, characterized in that: The image processing system comprises the image processing system as claimed in claim 9, wherein the first chip in the image processing system is used to implement the chip startup method as claimed in any one of claims 1 to 7 when the startup is completed.
11. A computer program product, characterized in that The computer program product stores a computer program, and when the computer program is executed by a processor, the chip startup method according to any one of claims 1 to 7 is implemented.
