Startup control method and device of image processing system based on SoC

By setting up SRAM in the SoC and maintaining power supply when the image processing system is in a sleep state, and using startup configuration information to quickly start the image processing system, the problem of complicated startup steps in the existing technology is solved, and fast and real-time image acquisition is achieved.

CN114035854BActive Publication Date: 2024-10-11ALLWINNER TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010702710.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-07-21
Publication Date
2024-10-11
Estimated Expiration
2040-07-21

AI Technical Summary

Technical Problem

The startup steps of the existing image acquisition system are complicated and cannot achieve quick startup, which affects the real-time performance of image acquisition.

Method used

By setting the SRAM in the SoC and keeping the SRAM powered when the image processing system is in sleep state, the startup configuration information is saved. When the sleep interrupt signal is obtained, the SoC controls the startup of the image processing system based on the startup configuration information, simplifying the startup steps and achieving fast startup. .

Benefits of technology

It realizes the quick startup of the image processing system under low power consumption operation state, improves the real-time performance and reliability of image collection, and is suitable for intelligent monitoring scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114035854B_ABST
    Figure CN114035854B_ABST
Patent Text Reader

Abstract

The present invention discloses a startup control method and device for an image processing system based on SoC. When the image processing system is in a dormant state, the method keeps power to the SRAM so that the startup configuration information can be stored in the SRAM. After the dormant interrupt signal is obtained and the image processing system is powered on, the SoC controls the startup of the image processing system according to the startup configuration information. It can be seen that the method has simple steps, and the image processing system is in a dormant state with low power consumption before startup, which is conducive to realizing the rapid startup of the image processing system in a low power consumption operation state, and further conducive to the image processing system to collect images in a timely and rapid manner.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of intelligent control, and in particular to a startup control method and device for an image processing system based on SoC. Background Art

[0002] In the application scenario of intelligent monitoring, in order to reduce power consumption, when there is no need to collect images, the SoC (System on Chip) controls the image acquisition system to enter a dormant state; when it is necessary to collect images, the SoC wakes up the dormant image acquisition system so that the image acquisition system can perform image acquisition and image processing operations. It can be seen that in order to ensure the real-time performance of image acquisition, the rapid startup of the image acquisition system is the key.

[0003] At present, the startup method of the image acquisition system is generally as follows: the SoC executes the boot loader program fixed in the chip, accesses the system memory to copy the startup program to the SRAM (Static Random-Access Memory) for execution, and performs initialization operations on the system to complete the startup of the image acquisition system. However, it has been found in practice that the startup steps of this method are complicated and cannot achieve the rapid startup of the image acquisition system, which is not conducive to the real-time performance of image acquisition. Summary of the invention

[0004] The technical problem to be solved by the present invention is to provide a startup control method and device for an image processing system based on SoC, which can simplify the startup steps of the image processing system and realize rapid startup of the image acquisition system under low power consumption operation state, thereby facilitating the real-time image acquisition of the image acquisition system.

[0005] In order to solve the above technical problems, the first aspect of the present invention discloses a startup control method of an image processing system based on SoC, wherein the SoC is provided with SRAM, and the method comprises:

[0006] When a sleep interrupt signal for the image processing system is obtained, the SoC controls the power management module to perform a power-on operation on the image processing system;

[0007] After determining that the image processing system is powered on, the SoC acquires startup configuration information of the image processing system, wherein when the image processing system is in a dormant state, the startup configuration information is stored in the SRAM, and when the image processing system is in the dormant state, the SRAM is in a power supply state;

[0008] The SoC controls the image processing system to start up according to the startup configuration information.

[0009] As an optional implementation, the image processing system also includes an image acquisition module, and the startup configuration information includes first configuration information, wherein the first configuration information includes resource configuration information of the image processing system and internal storage space configuration information of the SoC, the resource configuration information includes a combination of one or more of clock information, reset information, storage space information and gating information of the image processing system, and the resource configuration information is used to control the image acquisition module from an open state to a pass state, and the internal storage space configuration information is used to cache images acquired by the image acquisition module.

[0010] As an optional implementation manner, the SoC controls the startup of the image processing system according to the startup configuration information, including:

[0011] The SoC controls the image acquisition module to change from the open state to the open state according to the resource configuration information, and initializes the storage space of the SoC according to the internal storage space configuration information;

[0012] The SoC searches the determined configuration parameter database for target configuration parameters that match the current moment corresponding to the SoC, and configures the target configuration parameters to the image acquisition module, wherein the target configuration parameters at least include an exposure value;

[0013] The SoC controls the startup management module to switch to an external medium to start the image processing system.

[0014] As an optional implementation manner, the startup configuration information further includes a startup flag;

[0015] Furthermore, before the SoC controls the image acquisition module to change from the open state to the open state according to the resource configuration information, the method further includes:

[0016] The SoC determines whether the startup flag is used to indicate that the image processing system is not started for the first time. When the determination result is yes, it triggers the execution of the operation of controlling the image acquisition module from the open state to the pass state according to the resource configuration information.

[0017] As an optional implementation manner, the startup configuration information further includes a configuration program, the configuration program includes the length of the configuration program and / or a feature code corresponding to the configuration program, and the configuration program is used to configure the image acquisition module;

[0018] Wherein, after determining that the startup flag is used to indicate that the image processing system is not started for the first time, and before the SoC controls the image acquisition module to change from the open state to the open state according to the resource configuration information, the method further includes:

[0019] The SoC verifies the configuration program based on the determined verification information;

[0020] When the configuration program is verified to be passed, the SoC triggers the execution of the operation of controlling the image acquisition module to change from the open circuit state to the pass circuit state according to the resource configuration information.

[0021] As an optional implementation, the image processing system further includes a memory;

[0022] And, the method further comprises:

[0023] When it is determined that the startup flag is used to indicate that the image processing system is started for the first time, the SoC establishes a communication connection with the memory and obtains second configuration information from the memory, wherein the second configuration information includes initialization configuration information of the image processing system;

[0024] The SoC controls the image processing system to perform an initialization operation and start the image processing system according to the second configuration information;

[0025] As an optional implementation, the image processing system further includes a sensor module;

[0026] And, the method further comprises:

[0027] The SoC acquires a detection signal sent by the sensor module, and determines whether the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system;

[0028] When it is determined that the detection signal is used to indicate that there is an acquisition target within the image acquisition range of the image processing system, the SoC determines that a sleep interrupt signal for the image processing system is acquired.

[0029] A second aspect of an embodiment of the present invention discloses a startup control device for an image processing system based on SoC, wherein the device is applied to the SoC and the SoC is provided with an SRAM, and the device comprises:

[0030] A power-on control module, configured to control the power management module to perform a power-on operation on the image processing system when a sleep interrupt signal for the image processing system is obtained;

[0031] a startup configuration acquisition module, configured to acquire startup configuration information of the image processing system after the power-on control module controls the image processing system to be powered on, wherein when the image processing system is in a dormant state, the startup configuration information is stored in the SRAM, and when the image processing system is in the dormant state, the SRAM is in a power supply state;

[0032] A startup management module is used to control the startup of the image processing system according to the startup configuration information.

[0033] The third aspect of the present invention discloses another startup control device for an image processing system based on SoC, wherein the device is applied to the SoC and the SoC is provided with an SRAM, and the device comprises:

[0034] A memory storing executable program code;

[0035] a processor coupled to the memory;

[0036] The processor calls the executable program code stored in the memory to execute the startup control method of the SoC-based image processing system disclosed in the first aspect of the present invention.

[0037] The fourth aspect of the present invention discloses a computer storage medium, wherein the computer storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the startup control method of the SoC-based image processing system disclosed in the first aspect of the present invention.

[0038] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0039] The embodiment of the present invention can control the SRAM to be in a power supply state when the image processing system is in a sleep state, so that the startup configuration information can be stored in the SRAM. After obtaining the sleep interrupt signal and powering on the image processing system, the SoC controls the image processing system to start according to the startup configuration information. The method has simple steps, and the image processing system is in a sleep state with low power consumption before starting, which is conducive to realizing the rapid startup of the image processing system in a low power consumption operation state, and further conducive to the image processing system to collect images in a timely and rapid manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0041] Figure 1 is a structural schematic diagram of an image processing system disclosed in an embodiment of the present invention;

[0042] Figure 2 It is a flow chart of a startup control method of an image processing system based on SoC disclosed in an embodiment of the present invention;

[0043] Figure 3 It is a flow chart of another startup control method of an image processing system based on SoC disclosed in an embodiment of the present invention;

[0044] Figure 4 It is a structural schematic diagram of a startup control device of an image processing system based on SoC disclosed in an embodiment of the present invention;

[0045] Figure 5 It is a structural schematic diagram of another SoC-based image processing system startup control device disclosed in an embodiment of the present invention;

[0046] Figure 6 It is a structural schematic diagram of another startup control device of an image processing system based on SoC disclosed in an embodiment of the present invention. DETAILED DESCRIPTION

[0047] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0048] The terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, device, product or equipment that includes a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units that are not listed, or may optionally include other steps or units that are inherent to these processes, methods, products or equipment.

[0049] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0050] The present invention discloses a method and device for starting an image acquisition system based on SoC. When the image processing system is in a dormant state, the SRAM can be controlled to be in a power supply state, so that the startup configuration information can be stored in the SRAM. After the dormant interrupt signal is obtained and the image processing system is powered on, the SoC controls the image processing system to start according to the startup configuration information. It can be seen that the startup control method has simple steps, and the image processing system is in a dormant state with low power consumption before starting, which is conducive to realizing the rapid startup of the image processing system in a low power consumption operation state, and further conducive to the image processing system to collect images in a timely and rapid manner, and further conducive to the image acquisition system in the application scenario of intelligent monitoring, realizing the low power consumption operation of the image processing system and the reliability of image acquisition in the monitoring process, which are described in detail below.

[0051] In order to better understand the startup control method and device of the image processing system based on SoC described in the present invention, the image processing system of the startup control method of the image processing system based on SoC is first described. Specifically, the image processing system can be as follows Figure 1 As shown. Figure 1 As shown, the image processing system includes a sensor module, an image acquisition module, an external storage module and a power management module ( Figure 1 (not shown), further, it may also include a SoC, wherein the SoC is connected to the sensor module, the image acquisition module and the external storage module respectively, and the power management module supplies power to the SoC, the sensor module, the image acquisition module and the external storage module.

[0052] Optionally, the type of sensor corresponding to the sensor module may be different depending on the application scenario of the image processing system. For example, for an image processing system that requires voice control, the corresponding sensor may be a voice control type sensor; for an image processing system that is sensitive to light, the corresponding sensor may be a photosensitive sensor; for an image processing system that is sensitive to temperature in a specific area, the corresponding sensor may be an infrared temperature sensor, etc. Here, there is no limitation on the type of sensor corresponding to the sensor module.

[0053] Optionally, the image acquisition module is used to realize image acquisition and may include a camera, wherein the sensor in the camera may be a CCD (charge-coupled device) or a CMOS (complementary metal oxide semiconductor). Here, there is no limitation on the sensor in the camera.

[0054] Further optionally, the SoC may control the power management module to perform a power-on or power-off operation on the image processing system to start or shut down the image processing system.

[0055] Still further optionally, the SoC may control the image processing system to obtain data from an external storage module or store data in an external storage module, so as to realize the data reading and writing function of the image processing system.

[0056] Still further optionally, the SoC may be provided with an SRAM which may be used to cache data.

[0057] It should be noted that Figure 1 The image processing system structure diagram shown is only for representing the image processing system corresponding to the startup control method and device of the image processing system based on SoC. The devices involved are only schematically shown, and the specific structure / size / shape / location / installation method can be adaptively adjusted according to the actual scene. Figure 1 The structural diagram shown does not limit this.

[0058] The above describes the system corresponding to the startup control method of the image processing system based on SoC. The following describes the startup control method and device of the image processing system based on SoC in detail.

[0059] Embodiment 1

[0060] See also Figure 2 , Figure 2 : is a flow chart of a startup control method of an image processing system based on SoC disclosed in an embodiment of the present invention. Figure 2 The startup control method of the image processing system based on SoC is applicable to SoC, which can be included in the image processing system and used to implement Figure 1 The image processing system described herein is started and controlled. Figure 2 As shown, the startup control method of the SoC-based image processing system may include the following operations:

[0061] 101. When a sleep interrupt signal for the image processing system is obtained, the SoC controls the power management module to perform a power-on operation on the image processing system.

[0062] In the embodiment of the present invention, the sleep interrupt signal is used to indicate the interruption of the sleep state of the image processing system.

[0063] 102. After determining that the image processing system is powered on, the SoC obtains startup configuration information of the image processing system.

[0064] 103. The SoC controls the image processing system to start up according to the startup configuration information.

[0065] In an embodiment of the present invention, the SoC is provided with an SRAM, wherein the startup configuration information is stored in the SRAM when the image processing system is in a dormant state, and the SRAM is in a powered state when the image processing system is in a dormant state. The SoC controls the power management module to supply power to the SRAM so that the SRAM is in a powered state. Further optionally, in the process of controlling the power management module to supply power to the SRAM, the SoC controls the power management module to perform a power-off operation on other functional modules in the image processing system. The other functional modules may be a combination of one or more of an external storage medium, a display module, a human-computer interaction module, a communication module, and the like.

[0066] It can be seen that in the embodiment of the present invention, after obtaining the sleep interrupt signal and powering on the image processing system, the SoC controls the startup of the image processing system according to the startup configuration information stored in the SRAM, which can simplify the startup operation of the image processing system. The image processing system is in a sleep state with low power consumption before startup, which is conducive to realizing the rapid startup of the image processing system in a low power consumption operation state, and further facilitates the image processing system to collect images in a timely and rapid manner. It is also conducive to the image acquisition system in the application scenario of intelligent monitoring, so as to realize the low power consumption operation of the image processing system and improve the reliability of image acquisition in the monitoring process.

[0067] In an embodiment of the present invention, optionally, the image processing system further includes an image acquisition module, and the startup configuration information includes first configuration information, wherein the first configuration information includes resource configuration information of the image processing system and internal storage space configuration information of the SoC. Further optionally, the internal storage space configuration information may include the capacity of the internal storage space and / or the address corresponding to the storage space. Still further optionally, the capacity of the internal storage space may be predetermined according to the clarity of the image acquired by the image acquisition module. Specifically, the capacity of the internal storage space corresponding to the image with higher clarity is larger, and the capacity of the internal storage space corresponding to the image with lower clarity is smaller. Still further optionally, the resource configuration information includes a combination of one or more of the clock information, reset information, storage space information and gating information of the image processing system, and the resource configuration information is used to control the image acquisition module to change from an open circuit state to a pass state, and the internal storage space configuration information is used to cache the image acquired by the image acquisition module.

[0068] It can be seen that in the embodiment of the present invention, the SoC can control the startup of the image acquisition module of the image processing system in a low-power operation state according to the resource configuration information of the image processing system, thereby realizing the startup of the image processing system and improving the startup accuracy of the image processing system; and by configuring the internal storage space configuration information of the SoC in advance, it is beneficial to process the acquired images in time after the image processing system is started.

[0069] In the embodiment of the present invention, further optionally, after the SoC controls the image processing system to start up according to the startup configuration information, the method may include the following operations:

[0070] The SoC controls the image processing system to perform image processing operations on the images buffered in the internal memory.

[0071] In an optional implementation manner of the embodiment of the present invention, image processing may include one or more combinations of removing noise, enhancing, restoring, segmenting, extracting features, etc. from the image.

[0072] It can be seen that in the embodiment of the present invention, the SoC controls the image processing system to perform image processing operations on the images cached in the internal memory, which is beneficial for timely processing of the collected images after the image processing system in a low-power operation state is started, thereby facilitating improvement of the operation speed of the image processing system.

[0073] In the embodiment of the present invention, further optionally, the SoC controls the startup of the image processing system according to the startup configuration information, which may include the following operations:

[0074] The SoC controls the image acquisition module to change from an open circuit state to a closed circuit state according to the resource configuration information, and initializes the storage space of the SoC according to the internal storage space configuration information;

[0075] The SoC searches the determined configuration parameter database for target configuration parameters that match the current moment corresponding to the SoC, and configures the target configuration parameters into the image acquisition module;

[0076] The SoC controls the startup management module to switch to the external medium to complete the startup of the image processing system.

[0077] In the embodiment of the present invention, optionally, the target configuration parameter may include an exposure value, and may also include at least one of contrast, saturation, etc., which is not limited in the embodiment of the present invention. In practice, it is found that for the application scenario of intelligent monitoring, the change of light source caused by the alternation of day and night will have a significant impact on the image acquisition effect of the image processing system. Therefore, when controlling the startup of the image processing system, it is necessary to adjust the exposure value of the image acquisition module, which is conducive to improving the quality of the acquired image. Among them, the exposure value in the target configuration parameter can be obtained from a configuration parameter database composed of a list of exposure parameters corresponding to 24 hours. Optionally, the configuration parameter database can be empirical data formed by calibrating the image acquisition module during multiple startups. The empirical data can be dynamic, for example, it can be adjusted according to the current application scenario, which is conducive to the image acquisition module being able to automatically adapt to the environmental factors of the current application scenario, and further conducive to ensuring the quality of image acquisition.

[0078] In the embodiment of the present invention, further optionally, the external medium may be a memory with read and write functions, and the memory has sufficient storage capacity to store the data of the image processing system. Further optionally, the step of configuring the target configuration parameters to the image acquisition module and the step of switching the SoC control startup management module to the external medium may be performed in parallel, which is conducive to further shortening the startup time of the image processing system.

[0079] It can be seen that in the embodiment of the present invention, the SoC queries the target configuration parameters that match the current moment corresponding to the SoC from the determined configuration parameter database, and configures the target configuration parameters into the image acquisition module, thereby realizing the startup of the image processing system in a low-power operation state, and the target configuration parameters can automatically adapt to different application scenarios, which is beneficial to improve the quality of the acquired images in different application scenarios.

[0080] In the embodiment of the present invention, further optionally, the startup configuration information also includes a startup flag, and before the SoC controls the image acquisition module to change from an open circuit state to a pass circuit state according to the resource configuration information, the method may include the following operations:

[0081] The SoC determines whether the startup flag is used to indicate that the image processing system is not started for the first time. When the determination result is yes, it triggers the execution of an operation of controlling the image acquisition module from an open circuit state to a connected circuit state according to the resource configuration information.

[0082] In an embodiment of the present invention, the startup flag corresponding to the first startup of the image processing system may be a default value of 0, and after the image processing system is started for the first time, the startup flag may change. For example, the startup flag corresponding to a non-first startup may be a changed value of 1 set after the image processing system is started for the first time. In this way, judging whether the image processing system is not started for the first time by the startup flag is conducive to improving the accuracy and efficiency of judgment.

[0083] In an embodiment of the present invention, when the image processing system is started for the first time, since the startup configuration information is not stored in the SRAM, the image processing system cannot be quickly started by implementing the startup control method disclosed in the present invention. When the image processing system is not started for the first time, the startup configuration information is stored in the SRAM, which is conducive to the smooth startup of the image processing system.

[0084] It can be seen that the embodiment of the present invention can trigger the execution of an operation of controlling the image acquisition module from an open state to a connected state according to resource configuration information when it is determined through the startup flag that the image processing system is not started for the first time, which is conducive to the smooth startup of the image processing system in a low-power operation state.

[0085] In the embodiment of the present invention, further optionally, the SoC determines whether the startup flag is used to indicate that the image processing system is not started for the first time, and when the determination result is no, the SoC controls the image processing system to start for the first time. Further optionally, the image processing system also includes a memory, and the method may include the following operations:

[0086] When it is determined that the startup flag is used to indicate that the image processing system is started for the first time, the SoC establishes a communication connection with the memory and obtains second configuration information from the memory;

[0087] The SoC controls the image processing system to perform an initialization operation and start the image processing system according to the second configuration information.

[0088] In an embodiment of the present invention, further optionally, the second configuration information includes initialization configuration information of the image processing system, wherein the initialization configuration information of the image processing system is used to complete the initialization operation of the image processing system, and the initialization operation may include initialization configuration of the storage space of the image processing system, clock configuration information, reset configuration information, etc., or a combination of one or more.

[0089] It can be seen that the embodiment of the present invention can also judge whether the image processing system is started for the first time, and when the image processing system is started for the first time, the SoC controls the image processing system to perform an initialization operation according to the second configuration information, and starts the image processing system. It can select an effective startup method according to the startup situation of the image processing system, which is conducive to efficiently starting the image processing system.

[0090] In the embodiment of the present invention, further optionally, after determining that the startup flag is used to indicate that the image processing system is not started for the first time, and before the SoC triggers the execution of the above-mentioned operation of controlling the image acquisition module from the open circuit state to the open circuit state according to the resource configuration information, the method may include the following operations:

[0091] The SoC verifies the configuration program based on the determined verification information;

[0092] When the configuration program is verified to be passed, the SoC triggers and executes the above-mentioned operation of controlling the image acquisition module to change from an open circuit state to a connected circuit state according to the resource configuration information.

[0093] In an embodiment of the present invention, the startup configuration information also includes a configuration program, the configuration program includes the length of the configuration program and / or a feature code corresponding to the configuration program, the configuration program is used to configure the image acquisition module, wherein the feature code can be the starting line code, the last line code, or the marker line code of one or more code running nodes of the code corresponding to the configuration program.

[0094] In the embodiment of the present invention, further optionally, when the configuration program verification fails, the startup configuration information in the SRAM is cleared, and the image processing system is controlled to start for the first time. The detailed description of the first startup step can refer to the relevant description above, which is not repeated here.

[0095] It can be seen that in the embodiment of the present invention, when the configuration program is verified, the image acquisition module is controlled to change from an open state to a pass state according to the resource configuration information. This is beneficial to improving the accuracy of the configuration program acquired by the SoC, and further beneficial to the rapid startup of the image processing system in a low-power operation state, and further beneficial to ensuring the reliability of the operation of the image processing system.

[0096] In the embodiment of the present invention, further optionally, the method may include the following operations:

[0097] When a sleep prompt signal for the image processing system is obtained, the SoC controls the power management module to perform a power-on operation on the SRAM and perform a write operation on the startup configuration information on the SRAM;

[0098] After the startup configuration information is written into the SRAM, the SoC controls the power management module to supply power to the SRAM so that the startup configuration information is stored in the SRAM;

[0099] The SoC controls the power management module to perform a power-off operation on the image processing system, so that the image processing system enters a dormant state.

[0100] It can be seen that in the embodiment of the present invention, before the image processing system enters the sleep state, the SoC controls the power management module to perform a power-on operation on the SRAM, and performs a write operation on the startup configuration information on the SRAM, and when the image processing system is in the sleep state, the SRAM is kept powered on, so that the SRAM is in a data preservation state, thereby allowing the startup configuration information to be stored in the SRAM, which is beneficial for the image processing system to quickly obtain the startup configuration information after obtaining the sleep interrupt signal, and is further beneficial for the SoC to control the startup of the image processing system in a low-power operation state according to the startup configuration information.

[0101] In the embodiment of the present invention, optionally, before the SoC controls the power management module to perform a power-on operation on the SRAM and performs a write operation on the startup configuration information on the SRAM, the method may include the following operations:

[0102] SoC clears the storage space in SRAM used to store startup configuration information;

[0103] The SoC controls the image processing system to perform a change operation on the startup flag, so that the changed startup flag is used to indicate that the image processing system is not started for the first time, and triggers the above-mentioned step of controlling the power management module to perform a power-on operation on the SRAM.

[0104] It can be seen that in the embodiment of the present invention, the SoC clears the storage space in the SRAM used to store the startup configuration information, which is conducive to reserving sufficient storage space to write new startup configuration information. The SoC controls the image processing system to perform the change operation on the startup flag, which is conducive to timely updating the startup flag of the image processing system, and then is conducive to accurately judging whether the image processing system is not started for the first time based on the startup flag, which is further conducive to efficiently controlling the startup of the image processing system.

[0105] In the embodiment of the present invention, further optionally, after the SoC controls the power management module to supply power to the SRAM so that the startup configuration information is stored in the SRAM, and before the SoC controls the power management module to perform a power-off operation on the image processing system so that the image processing system enters a dormant state, the method may include the following operations:

[0106] The SoC obtains the startup configuration information stored in the SRAM, and performs an information comparison operation on the startup configuration information and the predetermined configuration information;

[0107] When the result of the information comparison operation indicates that the startup configuration information matches the predetermined configuration information, the SoC triggers the execution of the above-mentioned step of controlling the power management module to perform a power-off operation on the image processing system;

[0108] When the result of the information comparison indicates that the startup configuration information does not match the predetermined configuration information, the SoC performs an operation of rewriting the startup configuration information into the SRAM.

[0109] It can be seen that the embodiment of the present invention can perform an information comparison operation on the startup configuration information and the predetermined configuration information, which is beneficial to improving the accuracy and completeness of the startup configuration information written into the SRAM, and further beneficial to the image processing system to quickly start up from a low-power sleep state.

[0110] In the embodiment of the present invention, further optionally, after the SoC controls the power management module to perform a power-off operation on the image processing system so that the image processing system enters a dormant state, the method may include the following operations:

[0111] When receiving a start signal for the image processing system, the SoC obtains a start flag of the image processing system;

[0112] When the SoC determines that the startup flag is used to indicate that the image processing system is started for the first time, the SoC obtains the first startup program from the external storage medium;

[0113] The SoC controls the image processing system to run the first startup program to complete the initialization operation of the image processing system and controls the startup of the image processing system.

[0114] Optionally, the external storage medium may be a memory for storing the first startup program of the image processing system, such as a solid state drive, a mobile hard disk, a USB flash drive, etc.

[0115] It can be seen that the embodiment of the present invention can also determine whether the image processing system is started for the first time through the startup flag, and when it is determined that the image processing system is started for the first time, the SoC executes the first startup program of the external storage medium to control the startup of the image processing system and subdivide the startup status of the image processing system, which is beneficial to execute corresponding startup steps according to the startup status of the image processing system, and further beneficial to the stability and reliability of the image processing system.

[0116] Embodiment 2

[0117] See also Figure 3 , Figure 3 FIG. 1 is a flow chart of another method for starting and controlling an image processing system based on SoC disclosed in an embodiment of the present invention. Figure 3 The startup control method of the image processing system based on SoC is applicable to SoC, which can be included in the image processing system and used to implement Figure 1 The image processing system described herein is started and controlled. Figure 3 As shown, the startup control method of the SoC-based image processing system may include the following operations:

[0118] 201. The SoC obtains a detection signal sent by a sensor module.

[0119] 202. The SoC determines whether the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system. When it is determined that the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system, step 203 is executed.

[0120] In the embodiment of the present invention, the sensor module may be optionally integrated into the image acquisition module of the image processing system; or it may be a relatively independent module, for example, it may be arranged outside the image acquisition module, and the signal acquisition range of the sensor module matches the image acquisition range of the image processing system. The relevant description of the sensor module can refer to the detailed description of the image processing system to which the present invention is applicable, and will not be repeated here.

[0121] In the embodiment of the present invention, further optionally, the acquisition target may be a person and / or object whose image data needs to be collected in the application scenario, for example, a pedestrian or vehicle entering the monitoring area whose image needs to be collected in the intelligent monitoring scenario; or an animal or plant that needs to be sampled in the image sampling scenario. The acquisition target may vary depending on the application scenario, and the specific type of the acquisition target is not limited here.

[0122] In the embodiment of the present invention, further optionally, after the SoC acquires the detection signal sent by the sensor module, before determining whether the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system, the method may include the following operations:

[0123] The SoC performs a pre-processing operation on the acquired detection signal.

[0124] In the embodiment of the present invention, optionally, the preprocessing operation may include a filtering operation and / or a shaping operation for the corresponding waveform, wherein the filtering may include any one of Kalman filtering, nonlinear filtering, Wiener filtering, etc.

[0125] It can be seen that the embodiment of the present invention can pre-process the detection signal, which is beneficial to reduce the occurrence of misjudgment of the detection signal by the SoC due to signal drift in the sensor module, and further beneficial to the reliability of the image acquisition system.

[0126] 203. When it is determined that the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system, the SoC determines that a sleep interrupt signal for the image processing system is obtained.

[0127] 204. When a sleep interrupt signal for the image processing system is obtained, the SoC controls the power management module to perform a power-on operation on the image processing system.

[0128] In the embodiment of the present invention, further optionally, when the image processing system is in sleep mode, when the sensor module detects an event, such as a target being captured in the image capture area, a sleep interrupt signal is initiated and transmitted to the SoC; the SoC processes and identifies the interrupt signal, and when it is confirmed to be a sleep interrupt signal, the SoC controls the power management module to power on the image processing system. Further optionally, the sleep interrupt signal is an external trigger type, that is, the sleep interrupt signal is a signal sent to the SoC by the sensor module connected to the SoC.

[0129] In the embodiment of the present invention, the sleep interrupt signal may also be an internal trigger type. Specifically, the SoC triggers the sleep interrupt signal for the image processing system, which may include the following operations:

[0130] When the image processing system enters the sleep state, the SoC performs a sleep timing operation to obtain the current sleep duration of the image processing system and determines whether the current sleep duration is greater than or equal to the sleep duration threshold;

[0131] When it is determined that the current sleep time is greater than or equal to the sleep time threshold, the SoC triggers a sleep interrupt signal for the image processing system.

[0132] The sleep duration threshold can be set according to the sleep time interval predetermined by the image processing system. It can be seen that the SoC obtains the current sleep duration by executing the sleep timing, and further determines that the sleep interrupt signal is obtained when the current sleep duration is greater than or equal to the sleep duration threshold, which is conducive to controlling the sleep duration of the image processing system, and then is conducive to the image processing system running under the condition of the predetermined sleep time interval, and further is conducive to reducing the energy consumption required for the operation of the image processing system.

[0133] 205. After determining that the image processing system is powered on, the SoC obtains startup configuration information of the image processing system.

[0134] 206. The SoC controls the image processing system to start up according to the startup configuration information.

[0135] In the embodiment of the present invention, the related descriptions of step 204, step 205, and step 206 can refer to the detailed descriptions of step 101, step 102, and step 103 in the first embodiment, and will not be repeated here.

[0136] It can be seen that in the embodiment of the present invention, the SoC obtains the detection signal sent by the sensor module, and only when it is determined that the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system does it perform subsequent startup control operations on the image processing system in the low-power operation state, which is beneficial to improving the timeliness of image capture of the image processing system.

[0137] Embodiment 3

[0138] See also Figure 4 , Figure 4 The invention discloses a startup control device for an image processing system based on SoC. Figure 4 The startup control device of the image processing system based on SoC is suitable for SoC, which can be included in the image processing system and used to implement Figure 1 In the startup control of the image processing system described above, the SoC is provided with an SRAM. Figure 4 As shown, the startup control device of the SoC-based image processing system may include:

[0139] A power-on control module 301 is used to control the power management module to perform a power-on operation on the image processing system when a sleep interrupt signal for the image processing system is obtained;

[0140] A startup configuration acquisition module 302 is used to acquire startup configuration information of the image processing system after determining that the image processing system is powered on;

[0141] The startup management module 303 is used to control the startup of the image processing system according to the startup configuration information.

[0142] In the embodiment of the present invention, when the image processing system is in a dormant state, the startup configuration information is stored in the SRAM, and when the image processing system is in a dormant state, the SRAM is in a power supply state.

[0143] It can be seen that in the embodiment of the present invention, when the image processing system is in a sleep state, the SRAM is powered on so that the startup configuration information can be saved in the SRAM. After the sleep interrupt signal is obtained and the image processing system is powered on, the SoC controls the startup of the image processing system according to the startup configuration information. The startup control method has simple steps, and the image processing system is in a sleep state with low power consumption before startup, which is conducive to realizing the rapid startup of the image processing system in a low power consumption operation state, and further conducive to the image processing system to collect images in a timely and rapid manner, and further conducive to the image acquisition system in the application scenario of intelligent monitoring, so as to realize the low power consumption operation of the image processing system and the reliability of image acquisition in the monitoring process.

[0144] In an embodiment of the present invention, optionally, the image processing system also includes an image acquisition module, and the startup configuration information includes first configuration information, wherein the first configuration information includes resource configuration information of the image processing system and internal storage space configuration information of the SoC, the resource configuration information includes a combination of one or more of clock information, reset information, storage space information and gating information of the image processing system, and the resource configuration information is used to control the image acquisition module from an open state to a pass state, and the internal storage space configuration information is used to cache images acquired by the image acquisition module.

[0145] It can be seen that the embodiment of the present invention can control the startup of the image acquisition module during the process of the SoC controlling the startup of the image processing system in a low-power operation state according to the startup configuration information, and further facilitates the image acquisition module to cache the acquired images in the internal storage space, thereby facilitating the real-time image acquisition during the startup of the image processing system.

[0146] In the embodiment of the present invention, further optional, such as Figure 5 As shown, the startup management module 303 includes a control submodule 3031, an initialization submodule 3032, a configuration submodule 3033 and a switching submodule 3034;

[0147] The control submodule 3031 is used to control the image acquisition module to change from an open circuit state to a closed circuit state according to the resource configuration information;

[0148] Further, after the control submodule 3031 controls the image acquisition module to change from the open circuit state to the open circuit state according to the resource configuration information, the initialization submodule 3032 may be triggered to start;

[0149] Initialization submodule 3032, used to initialize the storage space of the SoC according to the internal storage space configuration information;

[0150] Further, after the initialization submodule 3032 initializes the storage space of the SoC according to the internal storage space configuration information, the configuration submodule 3033 may be triggered to start;

[0151] A configuration submodule 3033 is used to query the target configuration parameters that match the current moment corresponding to the SoC from the determined configuration parameter database, and configure the target configuration parameters into the image acquisition module, where the target configuration parameters at least include an exposure value;

[0152] Furthermore, after the configuration submodule 3033 searches the determined configuration parameter database for target configuration parameters that match the current moment corresponding to the SoC and configures the target configuration parameters into the image acquisition module, the switching submodule 3034 may be triggered to start.

[0153] The switching submodule 3034 is used to control the startup management module to switch to the external medium to start the image processing system.

[0154] It can be seen that in the embodiment of the present invention, the SoC queries the target configuration parameters that match the current moment corresponding to the SoC from the determined configuration parameter database, and configures the target configuration parameters into the image acquisition module, which is beneficial to obtaining the latest and matching configuration parameters when needed, and further helps to improve the quality of the acquired images.

[0155] In the embodiment of the present invention, further optionally, the startup configuration information also includes a startup flag; and Figure 5 As shown, the startup management module 303 also includes a judgment submodule 3035:

[0156] The judgment submodule 3035 is used to judge whether the startup flag is used to indicate that the image processing system is not started for the first time before the control submodule 3031 controls the image acquisition module from the open state to the through state according to the resource configuration information. When the judgment result is yes, the control submodule 3031 is triggered to execute the above-mentioned operation of controlling the image acquisition module from the open state to the through state according to the resource configuration information.

[0157] It can be seen that the embodiment of the present invention can also control the image acquisition module from the open state to the open state according to the resource configuration information when it is determined through the startup flag that the image processing system is not started for the first time, which is beneficial to improving the reliability of the image processing system.

[0158] In the embodiment of the present invention, further optionally, the image processing system further includes a memory, such as Figure 5 As shown, the startup management module 303 also includes an information acquisition submodule 3036;

[0159] The information acquisition submodule 3036 is used to establish a communication connection with the memory and acquire the second configuration information from the memory when the determination submodule 3035 determines that the startup flag is used to indicate that the image processing system is started for the first time;

[0160] The initialization submodule 3032 is further used to control the image processing system to perform an initialization operation and start the image processing system according to the second configuration information.

[0161] It can be seen that the embodiment of the present invention can also determine whether the image processing system is started for the first time, and when the image processing system is started for the first time, the SoC controls the image processing system to perform an initialization operation according to the second configuration information, and starts the image processing system. In this way, an effective startup method can be selected according to the startup situation of the image processing system, which is beneficial to efficiently starting the image processing system, and further beneficial to the stability of the image processing system.

[0162] In an optional implementation manner of the embodiment of the present invention, further optionally, the startup configuration information also includes a configuration program, the configuration program includes the length of the configuration program and / or a feature code corresponding to the configuration program, and the configuration program is used to configure the image acquisition module; and Figure 5 As shown, the startup management module 303 also includes a configuration program check submodule 3037:

[0163] The configuration program verification submodule 3037 is used to verify the configuration program based on the determined verification information after the judgment submodule 3035 determines that the startup flag is used to indicate that the image processing system is not started for the first time, and before the control submodule 3032 executes the above-mentioned startup management module to control the image acquisition module from the open state to the through state according to the resource configuration information, and when the configuration program verification passes, trigger the control submodule 3031 to execute the above-mentioned startup management module to control the image acquisition module from the open state to the through state according to the resource configuration information.

[0164] It can be seen that in the embodiment of the present invention, when the configuration program is verified, the image acquisition module is controlled to change from an open state to a pass state according to the resource configuration information. This is beneficial to improving the accuracy of the configuration program acquired by the SoC, and further beneficial to the rapid startup of the image processing system in a low-power operation state, and further beneficial to ensuring the reliability of the operation of the image processing system.

[0165] In the embodiment of the present invention, further optionally, the image processing system further includes a sensor module, and Figure 5 As shown, the device also includes a signal determination module 304;

[0166] The signal determination module 304 is used to obtain the detection signal sent by the sensor module, and determine whether the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system, and when the determination module determines that the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system, determine that a sleep interrupt signal for the image processing system is obtained.

[0167] It can be seen that in the embodiment of the present invention, the SoC obtains the detection signal sent by the sensor module, and only when it is determined that the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system does it perform subsequent startup control operations on the image processing system in a low-power operation state, which is beneficial to improving the timeliness of image capture of the image processing system.

[0168] Embodiment 4

[0169] See also Figure 6 , Figure 6 The invention is another startup control device of an image processing system based on SoC disclosed in an embodiment of the invention. Figure 6 The startup control device of the image processing system based on SoC is suitable for SoC, and the SoC can be included in the image processing system and used to implement Figure 1 The image processing system described herein is started and controlled. Figure 6 As shown, the startup control device of the SoC-based image processing system may include:

[0170] A memory 401 storing executable program codes;

[0171] a processor 402 coupled to the memory 401;

[0172] Furthermore, it may also include an input interface 403 and an output interface 404 coupled to the processor 402;

[0173] The processor 402 calls the executable program code stored in the memory 401 to execute the steps of the startup control method of the image processing system based on SoC described in the first or second embodiment.

[0174] Embodiment 5

[0175] An embodiment of the present invention discloses a computer storage medium storing a computer program for electronic data exchange, wherein the computer program enables a computer to execute the steps of the startup control method of an image processing system based on SoC described in the first or second embodiment.

[0176] Embodiment 6

[0177] An embodiment of the present invention discloses a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute the steps of the startup control method of the SoC-based image processing system described in Embodiment 1 or Embodiment 2.

[0178] The device embodiments described above are only illustrative, wherein the modules described as separate components may or may not be physically separated, and the components displayed as modules may or may not be physical modules, i.e., they may be located in one place, or they may be distributed on multiple network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Those of ordinary skill in the art may understand and implement it without creative work.

[0179] Through the specific description of the above embodiments, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on such an understanding, the above technical solution can be essentially or partly contributed to the prior art in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, and the storage medium includes a read-only memory (ROM), a random access memory (RAM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), a one-time programmable read-only memory (OTPROM), an electronically erasable rewritable read-only memory (EEPROM), a compact disc (CD-ROM) or other optical disc storage, magnetic disk storage, magnetic tape storage, or any other computer-readable medium that can be used to carry or store data.

[0180] Finally, it should be noted that the startup control method and device of the SoC-based image processing system disclosed in the embodiment of the present invention only disclose the preferred embodiments of the present invention, which are only used to illustrate the technical solution of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, it should be understood by those skilled in the art that the technical solutions described in the aforementioned embodiments can still be modified, or some of the technical features therein can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the various embodiments of the present invention.

Claims

1. A startup control method for an image processing system based on SoC, characterized in that: The SoC is provided with an SRAM, and the method comprises: When a sleep interrupt signal for the image processing system is obtained, the SoC controls the power management module to perform a power-on operation on the image processing system; After determining that the image processing system is powered on, the SoC acquires startup configuration information of the image processing system, wherein when the image processing system is in a dormant state, the startup configuration information is stored in the SRAM, and when the image processing system is in the dormant state, the SRAM is in a power supply state; The SoC controls the image processing system to start up according to the startup configuration information; The image processing system also includes a sensor module; And, the method further comprises: The SoC acquires a detection signal sent by the sensor module, and determines whether the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system; When it is determined that the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system, the SoC determines that a sleep interrupt signal for the image processing system is acquired.

2. The startup control method of the image processing system based on SoC according to claim 1, characterized in that: The image processing system also includes an image acquisition module, and the startup configuration information includes first configuration information, wherein the first configuration information includes resource configuration information of the image processing system and internal storage space configuration information of the SoC, the resource configuration information includes a combination of one or more of clock information, reset information, storage space information and gating information of the image processing system, and the resource configuration information is used to control the image acquisition module to change from an open state to a pass state, and the internal storage space configuration information is used to cache images acquired by the image acquisition module.

3. The startup control method of the SoC-based image processing system according to claim 2, characterized in that: The SoC controls the image processing system to start up according to the startup configuration information, including: The SoC controls the image acquisition module to change from the open state to the open state according to the resource configuration information, and initializes the storage space of the SoC according to the internal storage space configuration information; The SoC searches the determined configuration parameter database for target configuration parameters that match the current moment corresponding to the SoC, and configures the target configuration parameters to the image acquisition module, wherein the target configuration parameters at least include an exposure value; The SoC controls the startup management module to switch to an external medium to start the image processing system.

4. The startup control method of the SoC-based image processing system according to claim 3, characterized in that: The startup configuration information also includes a startup flag; Furthermore, before the SoC controls the image acquisition module to change from the open circuit state to the open circuit state according to the resource configuration information, the method further includes: The SoC determines whether the startup flag is used to indicate that the image processing system is not started for the first time. When the determination result is yes, it triggers the execution of the operation of controlling the image acquisition module from the open state to the pass state according to the resource configuration information.

5. The startup control method of the image processing system based on SoC according to claim 4, characterized in that: The startup configuration information also includes a configuration program, the configuration program includes the length of the configuration program and / or a feature code corresponding to the configuration program, and the configuration program is used to configure the image acquisition module; Wherein, after determining that the startup flag is used to indicate that the image processing system is not started for the first time, and before the SoC controls the image acquisition module to change from the open state to the open state according to the resource configuration information, the method further includes: The SoC verifies the configuration program based on the determined verification information; When the configuration program is verified to be passed, the SoC triggers the execution of the operation of controlling the image acquisition module to change from the open circuit state to the pass circuit state according to the resource configuration information.

6. The startup control method of the SoC-based image processing system according to claim 4 or 5, characterized in that: The image processing system also includes a memory; And, the method further comprises: When it is determined that the startup flag is used to indicate that the image processing system is started for the first time, the SoC establishes a communication connection with the memory and obtains second configuration information from the memory, wherein the second configuration information includes initialization configuration information of the image processing system; The SoC controls the image processing system to perform an initialization operation and starts the image processing system according to the second configuration information.

7. A startup control device for an image processing system based on SoC, characterized in that: The device is applied in the SoC and the SoC is provided with an SRAM, and the device comprises: A power-on control module, configured to control the power management module to perform a power-on operation on the image processing system when a sleep interrupt signal for the image processing system is obtained; a startup configuration acquisition module, configured to acquire startup configuration information of the image processing system after the power-on control module controls the image processing system to be powered on, wherein when the image processing system is in a dormant state, the startup configuration information is stored in the SRAM, and when the image processing system is in the dormant state, the SRAM is in a power supply state; A startup management module, used for controlling the startup of the image processing system according to the startup configuration information; The image processing system also includes a sensor module; And, the device further comprises: A signal determination module is used to obtain a detection signal sent by the sensor module and determine whether the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system; when it is determined that the detection signal is used to indicate that there is a capture target within the image capture range of the image processing system, it is determined that a sleep interrupt signal for the image processing system is obtained.

8. A startup control device for an image processing system based on SoC, characterized in that: The device is applied in the SoC and the SoC is provided with an SRAM, and the device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the startup control method of the SoC-based image processing system according to any one of claims 1 to 6.

9. A computer storage medium, characterized in that The computer storage medium stores computer instructions, and when the computer instructions are called, the startup control method of the SoC-based image processing system according to any one of claims 1 to 6 is executed.