Fast convergence method, device, electronic device and computer readable storage medium

By employing a dual-core processing approach, combined with automatic exposure and white balance algorithms, the network camera achieves rapid convergence, solving the problems of long image processing time and inaccurate brightness conversion in existing technologies, and improving system startup speed and image quality.

CN115883975BActive Publication Date: 2025-12-09HUNAN GOKE MICROELECTRONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211524046.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-11-30
Publication Date
2025-12-09
Estimated Expiration
2042-11-30

AI Technical Summary

Technical Problem

Existing fast convergence processing solutions take a long time to process images and have inaccurate brightness conversion, which cannot meet the high requirements of network camera systems for startup speed, capture speed and image clarity.

Method used

A dual-core processing approach is adopted. The first core runs automatic exposure and white balance algorithms to process image files and obtain convergence results, while the second core starts the business system to output usable frames, thus achieving fast convergence.

Benefits of technology

While quickly starting the system, it outputs images with normal output quality, ensuring accurate image brightness and color consistency, adapting to different lighting environments, and improving system startup speed and image quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115883975B_ABST
    Figure CN115883975B_ABST
Patent Text Reader

Abstract

Embodiments of the present application disclose a fast convergence method and device, electronic equipment and computer readable storage medium, comprising: obtaining a start signal and an image file; starting a first kernel and a second kernel according to the start signal; processing the image file through the first kernel to obtain a convergence result; starting a business system through the second kernel and reading the convergence result; when the convergence result is complete, starting a preset fast start business through the business system to output a usable frame. The fast convergence method disclosed in the present application realizes the fast start business of the network camera through the dual-kernel mode, processes the image file through the first kernel, starts the business system through the second kernel, and thus can output the image with normal effect while starting the system quickly.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the technical field of camera equipment, and in particular to a fast convergence method and device, electronic equipment and a computer readable storage medium. BACKGROUND

[0002] Currently, the requirements for the system startup speed, snapshot speed and image clarity of an IP camera (IPC) are increasingly high. The system startup speed of an IPC device is usually evaluated in terms of the time from the power-on of the IPC device to the first output of a usable frame. Therefore, in order to improve the system startup speed performance of the IP camera, the fast convergence processing scheme for the image is mainly optimized.

[0003] The existing fast convergence processing scheme includes a hard light-sensitive fast convergence scheme, a soft light-sensitive fast convergence scheme and a sensor fast convergence scheme. The existing fast convergence processing scheme takes a long time to process the image, and the brightness conversion of the processed image is not accurate.

[0004] Therefore, there is an urgent need for a fast convergence scheme that can accurately process brightness conversion services and quickly output images. SUMMARY

[0005] To solve the above technical problems, the present application provides a fast convergence method, device, electronic equipment and computer readable storage medium, and the specific scheme is as follows:

[0006] In a first aspect, the present application provides a fast convergence method, comprising:

[0007] obtaining a startup signal and an image file;

[0008] starting a first kernel and a second kernel according to the startup signal;

[0009] processing the image file by running an auto exposure algorithm through the first kernel to obtain a convergence result;

[0010] starting a business system through the second kernel and reading the convergence result;

[0011] when the convergence result is complete, starting a preset quick start business through the business system to output a usable frame.

[0012] According to a specific embodiment of the present application, the "processing the image file by running an auto exposure algorithm through the first kernel to obtain a convergence result" comprises:

[0013] processing the image file by sequentially running an auto exposure algorithm and a white balance processing algorithm through the first kernel to obtain a convergence result.

[0014] According to a specific embodiment of the present application, the "processing the image file by sequentially running the automatic exposure algorithm and the white balance processing algorithm by the first kernel to obtain a convergence result" comprises:

[0015] processing the image file based on the automatic exposure algorithm to obtain a first convergence file;

[0016] judging whether the brightness of the first convergence file belongs to a preset adjustment brightness range;

[0017] if the first convergence file belongs to the preset adjustment brightness range, processing the first convergence file based on the white balance processing algorithm to obtain a second convergence file, and taking the second convergence file as the convergence result.

[0018] According to a specific embodiment of the present application, the "processing the image file based on the automatic exposure algorithm to obtain a first convergence file" comprises:

[0019] processing current frame data of the image file by the automatic exposure algorithm to obtain a current frame brightness;

[0020] judging whether the current frame brightness belongs to a preset exposure brightness range;

[0021] if the current frame brightness belongs to the preset exposure brightness range, generating the first convergence file according to the current frame brightness;

[0022] if the current frame brightness value does not belong to the preset exposure brightness range, processing next frame data according to the automatic exposure algorithm until the current frame brightness belongs to the preset exposure brightness range.

[0023] According to a specific embodiment of the present application, the method further comprises:

[0024] judging whether the convergence result comprises a convergence completion mark;

[0025] if the convergence result comprises the convergence completion mark, determining that the convergence is completed, and outputting a completion signal;

[0026] if the convergence result does not comprise the convergence completion mark, determining that the convergence is not completed, and outputting an incomplete signal.

[0027] According to a specific embodiment of the present application, the "obtaining a start signal" comprises:

[0028] obtaining a start signal sent by a preset infrared detection device.

[0029] According to a specific embodiment of the present application, the method further comprises:

[0030] waiting for a preset time when the convergence result is convergence incomplete;

[0031] jumping to execute the "starting a quick start service through the service system to output a usable frame" when it is determined that the convergence result is convergence complete within the preset time;

[0032] resetting the first kernel and starting a preset media service through the service system to output the usable frame when it is determined that the convergence result is convergence incomplete within the preset time.

[0033] In a second aspect, an embodiment of the present application provides a fast convergence device, comprising:

[0034] an acquisition module, configured to acquire a starting signal and an image file;

[0035] a kernel starting module, configured to start a first kernel and a second kernel according to the starting signal;

[0036] a convergence module, configured to process the image file through the first kernel running an auto exposure algorithm to obtain a convergence result;

[0037] a system starting module, configured to start a service system through the second kernel and read the convergence result;

[0038] an execution module, configured to start a preset quick start service through the service system to output a usable frame when the convergence result is convergence complete.

[0039] In a third aspect, an embodiment of the present application provides an electronic device, which comprises a processor and a memory, and the memory stores a computer program, and the computer program performs the fast convergence method in the first aspect and any implementation manner of the first aspect when running on the processor.

[0040] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, which stores a computer program, and the computer program performs the fast convergence method in the first aspect and any implementation manner of the first aspect when running on a processor.

[0041] The embodiment of the application provides a fast convergence method, device, electronic equipment and computer readable storage medium, including: obtaining a starting signal and an image file; starting a first kernel and a second kernel according to the starting signal; processing the image file through the first kernel to obtain a convergence result; starting a business system through the second kernel, and reading the convergence result; when the convergence result is completed, starting a preset fast start business through the business system to output a usable frame. The fast convergence method provided by the application realizes the fast start business of the network camera through the dual-kernel mode, processes the image file through the first kernel, starts the business system through the second kernel, so that the system can be started quickly and the image with normal effect can be output. BRIEF DESCRIPTION OF DRAWINGS

[0042] In order to more clearly illustrate the technical solutions of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as limiting the scope of protection of the present application. In each drawing, similar components are denoted by similar reference numerals.

[0043] Figure 1 A method flow diagram of a fast convergence method provided by the embodiment of the application is shown;

[0044] Figure 2 A first kernel and a second kernel of a fast convergence method provided by the embodiment of the application are shown in the interaction diagram;

[0045] Figure 3 A first kernel and a second kernel of a fast convergence method provided by the embodiment of the application are shown in the application diagram;

[0046] Figure 4 A device module diagram of a fast convergence device provided by the embodiment of the application is shown. DETAILED DESCRIPTION

[0047] The technical solutions in the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all the embodiments.

[0048] The components of the embodiments of the present application generally described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.

[0049] Hereinafter, the terms "include", "have", and their conjugates, used in various embodiments of the present application, merely indicate the presence of the features, numbers, steps, operations, elements, components, or combinations thereof, and do not preclude the presence or addition of one or more other features, numbers, steps, operations, elements, components, or combinations thereof.

[0050] In addition, the terms "first", "second", "third", and the like are used only to distinguish descriptions, and cannot be understood as indicating or implying relative importance.

[0051] Unless otherwise defined, all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which various embodiments of the present application belong. The terms (such as those defined in commonly used dictionaries) will be interpreted as having a meaning that is the same as the contextual meaning in the relevant technical field and will not be interpreted as having an idealized or overly formal meaning, unless clearly defined in various embodiments of the present application.

[0052] Reference Figure 1 A method flowchart of a fast convergence method provided by an embodiment of the present application, the fast convergence method provided by the embodiment of the present application, as shown in Figure 1 includes:

[0053] Step S101, obtaining a start signal and an image file;

[0054] Specifically, the fast convergence method proposed in the embodiment of the present application is applied to an image processing device that needs to perform exposure adjustment processing, such as an IP camera (IPC) and the like. The type of the IP camera device is not limited in the present application, for example, it can be a doorbell, a cat eye, a hunting camera, an infrared camera, and the like.

[0055] The IP camera device is usually provided with a corresponding IP camera system to adjust the picture parameters of the image file. In actual application, the IP camera device generates the start signal when it starts to work. The image file in the embodiment is a file captured by the IP camera device when it works, which can be a picture or a video collected by the IP camera device. When the image file is a video, the fast convergence processing in the embodiment is performed on each frame of picture in the video.

[0056] In some embodiments, when the fast convergence method is applied to other image processing devices, the image processing device generates the start signal when it obtains the image file.

[0057] In an embodiment, the start signal is generated by an infrared detection device loaded in the network camera, for example, by a human body infrared sensor loaded in the network camera to sense whether a human body is close, and when a human body is close, the start signal is sent to the network camera by the human body infrared sensor, and the network camera captures an image file of the human body.

[0058] In step S102, the first core and the second core are started according to the start signal.

[0059] Specifically, the fast convergence method proposed in the embodiment sets a dual-core processing mode of the first core and the second core at the kernel level to improve the efficiency and speed of the system for image processing. The first core and the second core are started in parallel according to the start signal and perform corresponding function processing. The first core is a slave core, and the second core is a master core.

[0060] In a specific application process, the first core and the second core can use different processor chips, or can use the same processor chip. In the embodiment, the first core can use a Cortex-M4 chip, and the second core can use a Cortex-A7 chip. The chip types of the first core and the second core can also be adaptively replaced according to the working frequency needs in the actual application scenario, which is not limited in the embodiment.

[0061] The first core and the second core communicate and interact through the DDR memory to ensure that there is no communication signal interruption when the first core and the second core are running. Figure 2 and Figure 3 As shown in the figures, the embodiment can reserve part of the DDR memory in the DDR memory bar of the device to realize information communication between the first core and the second core.

[0062] In actual application process, as shown in the figure, Figure 2 The network camera device in the embodiment also includes a Flash chip, a RAM memory and other hardware. The embodiment can also optimize the performance of each hardware to realize the fast start of the network camera system.

[0063] Specifically, optimizing the hardware circuit design of the network camera device shortens the single-board power-on and chip power-on time, which can accelerate the time of power stabilization. The FLASH chip in the embodiment can select a high-speed flash device supporting 4-line DTR FLASH read mode to improve the image and file read performance, so as to facilitate the second core to quickly read the image firmware of the first core from the Flash chip, and significantly improve the system start performance.

[0064] Specifically, when the second core receives the start signal, the firmware (Firmware) of the first core image will be read from the Flash chip immediately, and the firmware of the first core will be written into the RAM memory, so that the first core loads the firmware from the RAM memory, so that the first core performs IR_CUT switching (dual filter switching), infrared fill light switching, CMOS sequence initialization and algorithm running and other processing.

[0065] In the embodiment, as shown in Figure 3 After the first core is started, it will initialize the processor chip to initialize the IR_CUT switching parameter and the infrared fill light switching parameter. And the first core only accesses the MIPI file, VI file or I2C file and other files related to Auto Exposure (AE) algorithm and Auto White Balance (AWB) algorithm and the chip logic in the internal RAM memory. In addition, the first core in the embodiment also sets the fixed frame rate and exposure parameter of the image sensor (sensor), so as to perform automatic exposure processing on the image file through the fixed frame rate and exposure parameter.

[0066] After the second core is started, it is responsible for starting the Boot ROM interface, starting the Uboot program, starting the Kernel core and loading the build-in driver and other business system startup processes, and reading the convergence result of the slave core after starting the corresponding business system, and finally starting the corresponding image processing business through the business system.

[0067] In the embodiment, the business system is Figure 3 The build-in module in the build-in module can start the corresponding image processing business according to the convergence result sent by the first core.

[0068] Specifically, the embodiment can further reduce the system startup speed through some hardware and software level adjustment methods. For example, the CONFIG_DTR_MODE_SUPPORT macro in the Uboot program is enabled, and the working frequency of the FPGA Mezzanine Card (FMC) in the FPGA intermediate layer board is increased to 150MHz. The Boot ROM interface is optimized, and the training speed of the DDR memory is improved.

[0069] When the second core starts the Uboot program, it can modify the related startup code in the Uboot program, for example, trimming the command line related code, trimming the environment variable line pipe code, and trimming the driver code of the unused module, to achieve the effect of reducing the Uboot startup time.

[0070] When starting the kernrl kernel, the starting time of the Kernel kernel is improved by reducing the size of the Kernrl image and cutting the post-starting process.

[0071] In step S103, the first kernel is used to run an automatic exposure algorithm to process the image file to obtain a convergence result.

[0072] Specifically, after the IR_CUT switching judgment and the infrared fill light switching judgment, the first kernel of the embodiment sets a fixed frame rate and exposure parameters in the CCD / CMOS sensor, and then performs automatic exposure processing on the image file. The exposure parameters include exposure time, exposure gain, and sensitivity data.

[0073] According to a specific embodiment of the present application, the "first kernel is used to run an automatic exposure algorithm to process the image file to obtain a convergence result" includes: the first kernel is used to sequentially run an automatic exposure algorithm and a white balance processing algorithm to process the image file to obtain a convergence result.

[0074] Specifically, the embodiment not only processes the brightness value of the image file through the automatic exposure algorithm, but also optimizes the picture display through the white balance processing algorithm, so that when processing the image file, the color deviation of the first frame output image picture is avoided.

[0075] According to a specific embodiment of the present application, the "first kernel is used to sequentially run an automatic exposure algorithm and a white balance processing algorithm to process the image file to obtain a convergence result" includes: the image file is processed based on the automatic exposure algorithm to obtain a first convergence file; it is judged whether the brightness of the first convergence file belongs to a preset adjustment brightness range; if it belongs to the preset adjustment brightness range, the first convergence file is processed based on the white balance processing algorithm to obtain a second convergence file, and the second convergence file is taken as the convergence result.

[0076] In a specific embodiment, the processing process of the white balance processing algorithm depends on the processing result of the automatic exposure algorithm. When the brightness of the first convergence file is too bright, i.e., the brightness of the first convergence file does not belong to the preset adjustment brightness range, the white balance processing algorithm does not need to be used to adjust the brightness of the first convergence file, and the first convergence file can be directly determined as the convergence result. For example, in actual application, when the image file is an image file collected under the condition of sufficient daytime light intensity, the white balance processing algorithm does not need to be used to further adjust the brightness of the image file to adjust the color deviation of the first frame image output by the network camera device.

[0077] If the brightness of the first convergent file belongs to the preset adjusted brightness range, that is, when the image file is an image file collected in the night or in the daytime with insufficient light intensity, further brightness processing is required on the image file through a white balance processing algorithm to maximize the adjustment of the color deviation of the first frame image output by the webcam device, so as to obtain a second convergent file, and the second convergent file is determined as the convergent result.

[0078] According to a specific embodiment of the present application, the "processing the image file based on the automatic exposure algorithm to obtain a first convergent file" includes: processing current frame data of the image file based on the automatic exposure algorithm to obtain current frame brightness; determining whether the current frame brightness belongs to a preset exposure brightness range; if the current frame brightness belongs to the preset exposure brightness range, generating the first convergent file according to the current frame brightness; and if the current frame brightness value does not belong to the preset exposure brightness range, processing next frame data based on the automatic exposure algorithm until the current frame brightness belongs to the preset exposure brightness range.

[0079] In a specific embodiment, the first kernel calculates the brightness value of the current frame data of the image file in the order of frame number of the image file starting from the first frame image file according to the preset automatic exposure algorithm, and compares the current frame brightness value with the preset standard exposure brightness range when the brightness value of the current frame data is calculated.

[0080] If the current frame brightness value belongs to the preset standard exposure brightness range, the current frame brightness is derived as the first convergent file, indicating that the automatic exposure algorithm converges.

[0081] If the current frame brightness value does not belong to the preset standard exposure brightness range, the exposure time and exposure gain of the next frame data are automatically calculated according to the difference between the current frame brightness and the preset exposure brightness range and the preset exposure table, and are set into the corresponding CMOS sensor or CCD sensor to perform exposure brightness adjustment processing on the next frame data.

[0082] In the specific implementation process, appropriately increasing the fixed frame rate of the image sensor can make the automatic exposure algorithm converge faster.

[0083] The fast convergence method proposed in the embodiment can be compatible with various automatic exposure algorithms, and running the automatic exposure algorithm in the first kernel to process image data can effectively improve the efficiency of the webcam in processing pictures.

[0084] In step S104, the second kernel is started to start the business system, and the convergent result is read.

[0085] Step S105, when the convergence result is convergence completion, starting preset quick start service through the service system to output available frames.

[0086] Specifically, the second kernel starts the service system by starting a Boot ROM interface, starting a Uboot program, starting a kernel, loading a build-in driver, and a series of system starting processes. For details, refer to the description in the above embodiments, which will not be repeated here.

[0087] As shown in Figure 3 After starting the service system, the second kernel reads the convergence result sent by the first kernel through the DDR memory to determine whether to start the preset quick start service.

[0088] Specifically, the preset quick start service includes, but is not limited to, turning off all boot printing functions, and deleting network camera system starting services after debugging information. The preset quick start service can also be customized according to actual application requirements, and this embodiment does not limit it.

[0089] According to a specific embodiment of the present application, after reading the convergence result, it further includes: determining whether the convergence result includes a convergence completion mark; if the convergence result includes the convergence completion mark, determining that the convergence is completed, and outputting a completion signal; if the convergence result does not include the convergence completion mark, determining that the convergence is not completed, and outputting an incomplete signal.

[0090] Specifically, as shown in Figure 3 When the second kernel processes the image file using the automatic exposure algorithm, it will make a real-time judgment on the brightness value of the first convergence file. When the brightness value of the first convergence file meets the requirements, the first kernel will generate a corresponding convergence completion mark and send it to the DDR memory. When the second kernel reads the convergence result, it synchronously reads the convergence completion mark. If the second kernel reads the convergence completion mark, it means that the convergence is completed, the second kernel outputs a completion signal, and starts the corresponding quick start service according to the completion signal.

[0091] According to a specific embodiment of the present application, the method further includes:

[0092] When the convergence result is convergence completion, waiting for a preset time; if it is determined that the convergence result is convergence completion within the preset time, executing the "starting quick start service through the service system to output available frames"; if it is determined that the convergence result is convergence not completed within the preset time, resetting the first kernel, starting a preset media service through the service system to output the available frames.

[0093] Specifically, as shown in Figure 3 if the build-in module established by the second core, i.e. the main core, does not receive the convergence completion mark within the preset time, the build-in module will immediately reset the preset processor chip and start the general media service in the webcam device to ensure that the webcam system can be started normally. In the embodiment, the preset media service can be customized according to user requirements to realize general graphic processing. The embodiment is not limited in this regard.

[0094] The fast convergence method provided in the embodiment can effectively improve the startup speed of the webcam system while ensuring the quality of the output picture of the webcam by setting the dual-core parallel processing mode of the first core and the second core, simultaneously starting the service system and adjusting the image brightness. Meanwhile, the fast convergence method provided in the embodiment can effectively prevent the color deviation of the first frame of image output by the webcam by simultaneously using the automatic exposure algorithm and the AWB algorithm, and can accurately adapt to the use environment of day and night.

[0095] Reference Figure 4 A device module schematic diagram of a fast convergence device 400 provided in the embodiment of the application, the fast convergence device 400 provided in the embodiment of the application, as shown in Figure 4 comprises:

[0096] The acquisition module 401 is configured to acquire a startup signal and an image file.

[0097] The core startup module 402 is configured to start a first core and a second core according to the startup signal.

[0098] The convergence module 403 is configured to process the image file by running an automatic exposure algorithm by the first core to obtain a convergence result.

[0099] The system startup module 404 is configured to start a service system by the second core and read the convergence result.

[0100] The execution module 405 is configured to start a preset fast startup service by the service system to output a usable frame when the convergence result is a convergence completion.

[0101] In addition, the embodiment of the application further provides an electronic device, which comprises a processor and a memory, and the memory stores a computer program, and the computer program executes the fast convergence method in the foregoing embodiments when running on the processor.

[0102] The electronic device in the embodiment is mainly a camera device, and can also be other image processing devices, and the embodiment is not limited in this regard.

[0103] The embodiment of the present application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program performs the fast convergence method in the foregoing embodiment when running on a processor.

[0104] To sum up, the embodiment of the present application provides a fast convergence method, device, electronic equipment and computer readable storage medium, and the present application optimizes and improves the hardware layer and the kernel layer at the same time, effectively shortens the startup running speed of the system and the loading speed of the kernel algorithm, so that the network camera system of the network camera device can be started more quickly. Through the automatic exposure algorithm and the white balance processing algorithm, the brightness of each frame of the image or video is effectively adjusted, so that the overall picture is clear and visible, and the first frame of image picture does not appear color deviation. And the present application sets the brightness range, so that the network camera device can accurately identify day and night environment, and will not appear the case of mis-cutting infrared light due to brightness influence. In addition, the specific implementation process of the fast convergence device, the electronic equipment and the computer readable storage medium mentioned in the above embodiment can be referred to the specific implementation process of the method embodiment, which will not be repeated here.

[0105] In several embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are only schematic, for example, the flowcharts and structural diagrams in the drawings show the possible implementation architectures, functions and operations of the devices, methods and computer program products according to the embodiments of the present application. In this regard, each block in the flowchart or block diagram can represent a module, a program segment or a part of code, which contains one or more executable instructions for implementing the specified logical function. It should also be noted that, in alternative implementation ways, the functions noted in the blocks can also occur in different order from that noted in the drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and sometimes they can be executed in reverse order, depending on the functions involved. It should also be noted that each block in the structural diagram and / or flowchart, and the combination of blocks in the structural diagram and / or flowchart, can be implemented by a dedicated hardware-based system for executing the specified functions or actions, or can be implemented by a combination of special hardware and computer instructions.

[0106] In addition, each functional module or unit in the embodiments of the present application can be integrated together to form an independent part, or each module can exist independently, or two or more modules can be integrated to form an independent part.

[0107] If the functions are implemented in the form of software function modules and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the parts of the present application that essentially contribute to the prior art or the parts of the technical solutions can be embodied in the form of software products. The computer software product is stored in a storage medium and includes a plurality of instructions for causing a computer device (which can be a smart phone, a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the method described in the various embodiments of the present application. The aforementioned storage medium includes a U disk, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, and various media that can store program codes.

[0108] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art can easily think of changes or replacements within the technical range disclosed by the present application, which should be covered within the protection scope of the present application.

Claims

1. A fast convergence method, characterized in that, include: Obtain the startup signal and image file; The first kernel and the second kernel are started according to the startup signal; The image file is processed by sequentially running the automatic exposure algorithm and the white balance processing algorithm through the first kernel to obtain a converged result; The business system is started through the second kernel, and the convergence result is read. When the convergence result is that convergence is complete, the preset quick start service is started through the business system to output a usable frame. The usable frame includes the first frame, and the output screen of the first frame will not have color deviation.

2. The method according to claim 1, characterized in that, The phrase "processing the image file by sequentially running the automatic exposure algorithm and the white balance processing algorithm through the first kernel to obtain a converged result" includes: The image file is processed based on the automatic exposure algorithm to obtain a first converged file; Determine whether the brightness of the first converged file falls within the preset brightness adjustment range; If the value falls within the preset brightness adjustment range, the first converged file is processed based on the white balance processing algorithm to obtain a second converged file, and the second converged file is used as the convergence result.

3. The method according to claim 2, characterized in that, The phrase "processing the image file based on the automatic exposure algorithm to obtain a first converged file" includes: The current frame data of the image file is processed by an automatic exposure algorithm to obtain the current frame brightness; Determine whether the brightness of the current frame falls within the preset exposure brightness range; If the brightness of the current frame is within the preset exposure brightness range, generate the first converged file based on the brightness of the current frame; If the current frame brightness value does not belong to the preset exposure brightness range, the next frame data is processed according to the automatic exposure algorithm until the current frame brightness belongs to the preset exposure brightness range.

4. The method according to claim 1, characterized in that, The method further includes: Determine whether the convergence result includes a convergence completion marker; If the convergence result includes the convergence completion flag, then convergence is determined to be complete, and a completion signal is output. If the convergence result does not include the convergence completion flag, then convergence is determined to be incomplete, and an incomplete signal is output.

5. The method according to claim 1, characterized in that, The "acquiring of a startup signal" includes: Obtain the start signal sent by the preset infrared detection device.

6. The method according to claim 1, characterized in that, The method further includes: If the convergence result indicates that convergence is incomplete, wait for a preset time. If the convergence result is determined to be convergence complete within the preset time, the process jumps to "start the fast start service through the business system to output a usable frame"; If the convergence result is determined to be incomplete within a preset time, the first kernel is reset, and a preset media service is started through the business system to output the available frames.

7. A fast convergence device, characterized in that, include: The acquisition module is used to acquire the startup signal and image file; A kernel boot module is used to boot the first kernel and the second kernel according to the boot signal; The convergence module is used to process the image file by sequentially running the automatic exposure algorithm and the white balance processing algorithm through the first kernel to obtain the convergence result; The system startup module is used to start the business system through the second kernel and read the convergence result; The execution module is used to start a preset fast-start service through the business system when the convergence result is convergence complete, so as to output an available frame. The available frame includes a first frame, and the output screen of the first frame will not have color deviation.

8. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing a computer program that, when executed on the processor, performs the fast convergence method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when run on a processor, executes the fast convergence method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Device and starting method of device

    CN113094111A

  • Electronic camera

    JP2003289472A