Burning control method, device, equipment and readable storage medium
By establishing a field database and focusing coefficient comparison method, the field mismatch problem during the camera driver firmware burning process is solved, achieving higher file accuracy and reliability of the burning process.
Patent Information
- Application Number
- CN202211513491.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-29
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2042-11-29
Smart Images

Figure CN115866376B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of verification technology, and in particular to a burning control method, device, equipment and readable storage medium. Background Art
[0002] With the vigorous development of the mobile phone industry, the technical requirements for cameras are becoming higher and higher, and the camera driver firmware is becoming increasingly complex.
[0003] Cameras are typically driven by a VCM (Voice Coil Motor). The firmware that drives the VCM must be pre-burned into the camera's driver chip. The transition from single-platform burning to multi-platform burning, and from single-mode burning to multi-mode burning, significantly changes the burning data requirements. For cameras that support PDAF (Phase Detection AutoFocus), due to the varying travel lengths of the VCM, even when burning the same code coefficient, the data will vary regularly during PDAF testing.
[0004] In order to avoid the same PDAF code value burned into voice coil motors with different strokes, it is necessary to detect the changes in the burned coefficients to meet the requirements of burning cameras with different motor strokes. Summary of the Invention
[0005] The embodiments of the present invention solve the technical problem of field mismatch in the process of burning camera driver firmware in the prior art by providing a burning control method, device, equipment and readable storage medium.
[0006] In a first aspect, the present invention provides a burning control method through an embodiment of the present invention, which is applied to a target camera, wherein the target camera includes a voice coil motor, a lens module, and a driver integrated circuit, wherein the voice coil motor is used to drive the lens module to move, and the driver integrated circuit is used to store driver firmware for controlling the voice coil motor; the method includes:
[0007] Pre-establishing a field database, wherein the field database includes a plurality of different preset fields;
[0008] Determining a field to be burned based on the usage requirements of the target camera, and generating a file to be burned based on the field to be burned when the field to be burned is consistent with any of the preset fields; wherein the file to be burned includes the driver firmware;
[0009] A current focus coefficient in the driver integrated circuit is acquired, and when the current focus coefficient is consistent with the focus coefficient to be burned, the file to be burned is burned into the driver integrated circuit.
[0010] As an optional embodiment, the method further includes: pre-setting multiple different reference focus code coefficients; if the to-be-burned field includes the to-be-burned focus code coefficient, then after the to-be-burned field is consistent with any of the preset fields, comparing whether the to-be-burned focus code coefficient is consistent with the multiple reference focus code coefficients.
[0011] As an optional implementation, if the focus code coefficient is inconsistent with the intended burning focus coefficient, an error message is generated and the intended burning file is not generated; if the focus code coefficient is consistent with the intended burning focus coefficient, the intended burning file is generated based on the intended burning field.
[0012] As an optional implementation, generating the file to be burned based on the field to be burned includes: mapping the address of the preset field to the address of the field to be burned, and mapping the value of the preset field to the value of the field to be burned to generate the file to be burned.
[0013] As an optional implementation, before burning the file to be burned into the driver integrated circuit, it also includes: obtaining permission information of the target step to be executed, the target step including burning the file to be burned into the driver integrated circuit; the permission information includes the first permission or the second permission; if the current focus coefficient is inconsistent with the focus coefficient to be burned, and the permission information includes the first permission, then generating an error log and executing the step of burning the file to be burned into the driver integrated circuit; if the current focus coefficient is inconsistent with the focus coefficient to be burned, and the permission information includes the second permission, then generating an error message and not generating the file to be burned.
[0014] As an optional implementation manner, after generating the to-be-burned file based on the to-be-burned field, the method further includes: checking whether the to-be-burned focus coefficient exists in the to-be-burned file.
[0015] In a second aspect, the present invention provides a burning control device according to an embodiment of the present invention, which is applied to a target camera, wherein the target camera includes a voice coil motor, a lens module, and a driver integrated circuit, wherein the voice coil motor is used to drive the lens module to move, and the driver integrated circuit is used to store driver firmware for controlling the voice coil motor; the device includes:
[0016] A field database creation unit, configured to pre-establish a field database, wherein the field database includes a plurality of preset fields;
[0017] A file-to-be-burned generating unit, configured to determine a field to be burned based on the usage requirements of the target camera, and generate a file to be burned based on the field to be burned when the field to be burned is consistent with the preset field; wherein the file to be burned includes the driver firmware;
[0018] The burning control unit is used to obtain the current focus coefficient in the driver integrated circuit, and burn the file to be burned into the driver integrated circuit when the current focus coefficient is consistent with the focus coefficient to be burned.
[0019] As an optional implementation, the file to be burned generating unit is specifically used to: map the address of the preset field to the address of the field to be burned, and map the value of the preset field to the value of the field to be burned, so as to generate the file to be burned.
[0020] In a third aspect, the present invention provides a burning control device through an embodiment of the present invention, including a memory, a processor, and a code stored in the memory and executable on the processor, wherein when the processor executes the code, any implementation of the first aspect described above is implemented.
[0021] In a fourth aspect, the present invention provides a computer-readable storage medium through an embodiment of the present invention, on which a computer program is stored, and when the computer program is executed by a processor, any implementation method of the above-mentioned first aspect is implemented.
[0022] One or more technical solutions provided in the embodiments of the present invention have at least the following technical effects or advantages:
[0023] First, a field database is pre-established, and the field database includes a plurality of different preset fields. Then, the field to be burned is determined based on the use requirements of the target camera, and when the field to be burned is consistent with any preset field, a file to be burned is generated based on the field to be burned; wherein, the file to be burned includes driver firmware. Finally, the current focus coefficient in the driver integrated circuit is obtained, and when the current focus coefficient is consistent with the field to be burned, the file to be burned is burned into the driver integrated circuit. By comparing the field to be burned and the focus coefficient to be burned in the process of generating the file to be burned, the correctness of the file to be burned is guaranteed, and the field to be burned is compared again in the process of burning the file to be burned into the driver integrated circuit, thereby further improving the accuracy of the file burned into the camera. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following is a brief introduction to the drawings required for use in the description of the embodiments. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0025] Figure 1 Flowchart of the burning control method in an embodiment of the present invention;
[0026] Figure 2 This is a schematic diagram of the tag0 field database in one implementation of an embodiment of the present invention;
[0027] Figure 3 A schematic diagram of the structure of a file to be burned in one embodiment of the present invention;
[0028] Figure 4 A schematic diagram of the relationship between the phase difference and the DAC value in one implementation of an embodiment of the present invention;
[0029] Figure 5 A schematic diagram of the structure of a burning control device according to an embodiment of the present invention;
[0030] Figure 6 A schematic diagram of the structure of a burning control device according to an embodiment of the present invention;
[0031] Figure 7 Schematic diagram of a computer-readable storage medium structure in an embodiment of the present invention. DETAILED DESCRIPTION
[0032] The embodiments of the present invention solve the technical problem of field mismatch in the process of burning camera driver firmware in the prior art by providing a burning control method, device, equipment and readable storage medium.
[0033] The technical solution provided by the embodiments of the present invention is to solve the above technical problems, and the overall idea is as follows:
[0034] First, a field database is pre-established, containing multiple different preset fields. Next, the intended programming field is determined based on the target camera's usage requirements. If the intended programming field matches any of the preset fields, a programming file is generated based on the intended programming field; the programming file includes driver firmware. Finally, the current focus coefficient of the driver integrated circuit is obtained. Only when the current focus coefficient matches the intended programming field is the programming file programmed into the driver integrated circuit.
[0035] In order to better understand the above technical solution, the above technical solution will be described in detail below with reference to the accompanying drawings and specific implementation methods.
[0036] First, the term "and / or" as used herein simply describes a relationship between associated objects, indicating that three possible relationships exist. For example, "A and / or B" can represent: A alone, A and B together, or B alone. Furthermore, the character " / " in this document generally indicates an "or" relationship between the associated objects.
[0037] It should be noted that the terms "first," "second," and the like in the specification and claims of the present invention and the accompanying drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, such that the embodiments of the present invention described herein can be implemented in an order other than that illustrated or described herein.
[0038] In the first aspect, the present invention provides a burning control method through an embodiment of the present invention, which is applied to a target camera. The target camera includes a voice coil motor, a lens module and a driver integrated circuit. The voice coil motor is used to drive the movement of the lens module, and the driver integrated circuit is used to store the driver firmware for controlling the voice coil motor.
[0039] See Figure 1 As shown, the burning control method may include the following steps:
[0040] Step S101: pre-establishing a field database, which includes a plurality of different preset fields.
[0041] Specifically, a field database may be established for the tag0 field.
[0042] In some optional implementations, the tag0 field database can be found in Figure 2 shown.
[0043] During the specific implementation process, the field database may be pre-established using burning software, and the burning software may be a JSON (JavaScript Object Notation) configuration tool.
[0044] Step S102: determining a field to be burned based on the usage requirements of the target camera, and generating a file to be burned based on the field to be burned when the field to be burned is consistent with any preset field.
[0045] The file to be burned includes the driver firmware. Of course, the file to be burned may also include the focus coefficient to be burned, tag0, burning address, burning order, and burning usage.
[0046] In some optional implementations, the files to be burned can be found in Figure 3 shown.
[0047] Specifically, the corresponding intended burning fields may also vary depending on the target camera's usage requirements. After determining the intended burning fields, a query can be made in the field database to determine whether there is a preset field that is consistent with the intended burning field. If at least one preset field in the field database is consistent with the intended burning field, a file to be burned is generated based on the intended burning field.
[0048] In the specific implementation process, the UI (User Interface) of the proprietary configuration tool (JSON) can be used to pre-create a focus coefficient (Automatic Focus Code) configuration file. The focus coefficient configuration file contains multiple focus coefficients to be burned in, and the fields to be burned in correspond to the multiple focus coefficients to be burned in.
[0049] After determining the intended burning field, a search is performed in the field database to determine whether there is a subfield that is consistent with the intended burning field, wherein the field database corresponds to multiple preset focus coefficients. If a subfield that is consistent with the intended burning field exists, the intended burning focus coefficient corresponding to the intended burning field is compared with the preset focus coefficients corresponding to the subfield, and an error message is generated if the comparison is inconsistent.
[0050] Regarding how to generate the to-be-burned file based on the to-be-burned field, specifically, the to-be-burned file can be generated by mapping the address of the preset field to the address of the to-be-burned field, and mapping the value of the preset field to the value of the to-be-burned field.
[0051] It should be noted that the burning process in the prior art generates a burning file when the field name to be configured is the same as the preset field name. This burning process does not support the addition of four arithmetic operations to compare field names. It directly obtains the data to be burned when the field names are consistent, and burns these data directly into the driver integrated circuit. Therefore, it will not determine whether the data to be burned requires four arithmetic operations.
[0052] In an embodiment of the present invention, a proprietary configuration tool (JSON) is used to burn the card control. When the field name to be configured is the same as the preset field name, a file to be burned is generated, and the data in the file to be burned is compared. The file to be burned is no longer directly burned into the driver integrated circuit.
[0053] The prerequisite for burning card control is to pre-configure the file to be burned.
[0054] In order to prevent the intended burning file from being incomplete and missing certain functions, for example, to prevent the intended burning file from missing the focus function, as an optional implementation method, after generating the intended burning file based on the intended burning field, it is also possible to check whether the intended burning focus coefficient exists in the intended burning file.
[0055] Step S103: obtaining the current focus coefficient in the driver integrated circuit, and when the current focus coefficient is consistent with the focus coefficient to be burned, burning the file to be burned into the driver integrated circuit.
[0056] Specifically, the focus coefficient stored in the shared register of the driver integrated circuit can be obtained by using the burning software to obtain the current focus coefficient of the driver integrated circuit. After obtaining the current focus coefficient of the driver integrated circuit, the current focus coefficient is compared to see whether it is consistent with the focus coefficient to be burned.
[0057] As an optional implementation, in order to perform different burning controls for different burning purposes, before burning the file to be burned into the driver integrated circuit, the authority information of the target step to be executed can also be obtained, and the target step includes burning the file to be burned into the driver integrated circuit.
[0058] Wherein, the permission information includes the first permission or the second permission. If the current focus coefficient is inconsistent with the field to be burned, and the permission information includes the first permission, an error log is generated and the step of burning the file to be burned into the driver integrated circuit is executed. If the current focus coefficient is inconsistent with the field to be burned, and the permission information includes the second permission, an error message is generated and the file to be burned is not generated.
[0059] In the specific implementation process, the authority information can be set according to the burning personnel and the actual burning requirements. In some embodiments, the first authority can be the operator authority, and the second authority can be the camera engineer authority.
[0060] Among them, the operator authority can be authorized to the burning operator. When any of the above comparison results are inconsistent, the file to be burned can still be burned into the driver integrated circuit, which will not affect the burning process. It will only be fed back to the operator in the form of pop-up error information, comparison error logs, etc.; and the camera engineer authority is authorized to the engineer responsible for developing the camera. When any of the above comparison results are inconsistent, the file to be burned cannot be burned into the driver integrated circuit, and error prompt information such as pop-up error information and comparison error logs will be fed back to the engineer so that the engineer can modify the file to be burned according to the error prompt information.
[0061] As an optional implementation, multiple different reference focus code coefficients may be pre-set to control the burn-in of a camera supporting the PDAF function. If the intended burn-in field includes the intended burn-in focus code coefficient, then after the intended burn-in field matches any preset field, the intended burn-in focus code coefficient is compared to see if it matches the multiple reference focus code coefficients.
[0062] Because some pixels in cameras that support PDAF are covered, the light energy signals of these covered pixels are weaker than those of normal pixels. Therefore, in order to achieve the energy efficiency level of normal pixels, additional gain needs to be added to the covered pixels.
[0063] When focusing, the PDAF system converts the detected phase difference into a defocus value. The camera can have multiple focus points. Focus is performed at each focus DAC (current value) position, and the phase difference at the current DAC position is recorded. As the voice coil motor focuses at each focus point, it obtains multiple sets of DAC values and phase differences. The ratio of these multiple DAC values to the multiple phase differences is the defocus value.
[0064] In some optional embodiments, the focus code coefficient may include a phase difference and a DAC value. The displacement of the voice coil motor is related to the DAC value. The relationship between the phase difference and the DAC value can be seen in FIG. Figure 4 shown.
[0065] Specifically, if the focus code coefficient is inconsistent with the intended burning field, an error message is generated and the intended burning file is not generated; if the focus code coefficient is consistent with the intended burning field, the intended burning file is generated based on the intended burning field.
[0066] During implementation, reference focus code coefficients can be added using the programming software. For example, reference focus code coefficients may include: (0-1023)-1X, (0-2047)-2X, (0-4095)-4X, and 0-0 (0X). The aforementioned error messages may include pop-up messages and error logs, helping camera engineers promptly identify errors during programming.
[0067] On the second aspect, based on the same inventive concept, the present invention provides a burning control device through an embodiment of the present invention, which is applied to a target camera. The target camera includes a voice coil motor, a lens module and a driver integrated circuit. The voice coil motor is used to drive the movement of the lens module, and the driver integrated circuit is used to store the driver firmware for controlling the voice coil motor.
[0068] See Figure 5 As shown, the above-mentioned burning control device may include:
[0069] The field database creation unit 501 is used to pre-establish a field database, which includes a plurality of preset fields.
[0070] The intended burning file generating unit 502 is used to determine the intended burning field based on the use requirements of the target camera, and generate the intended burning file based on the intended burning field when the intended burning field is consistent with the preset field; wherein the intended burning file includes driver firmware.
[0071] The burning control unit 503 is used to obtain the current focus coefficient in the driver integrated circuit, and burn the file to be burned into the driver integrated circuit when the current focus coefficient is consistent with the field to be burned.
[0072] As an optional implementation manner, the proposed burning file generating unit 502 is further configured to:
[0073] A plurality of different reference focus code coefficients are preset; if the intended burning field includes the intended burning focus code coefficient, after the intended burning field is consistent with any preset field, the intended burning focus code coefficient is compared to see whether it is consistent with the plurality of reference focus code coefficients.
[0074] Specifically, if the focus code coefficient is inconsistent with the intended burning focus coefficient, an error message is generated and the intended burning file is not generated; if the focus code coefficient is consistent with the intended burning focus coefficient, the intended burning file is generated based on the intended burning field.
[0075] As an optional implementation, the to-be-burned file generating unit 502 is specifically configured to map the address of the preset field to the address of the to-be-burned field, and map the value of the preset field to the value of the to-be-burned field, so as to generate the to-be-burned file.
[0076] As an optional implementation manner, the burning control unit 503 is specifically configured to:
[0077] Before burning the file to be burned into the driver integrated circuit, obtain the permission information of the target step to be executed, and the target step includes burning the file to be burned into the driver integrated circuit; the permission information includes the first permission or the second permission; if the current focus coefficient is inconsistent with the focus coefficient to be burned, and the permission information includes the first permission, then generate an error log and execute the step of burning the file to be burned into the driver integrated circuit; if the current focus coefficient is inconsistent with the focus coefficient to be burned, and the permission information includes the second permission, then generate an error message and do not generate the file to be burned.
[0078] As an optional implementation manner, the proposed burning file generating unit 502 is further configured to:
[0079] After generating a file to be burned based on the field to be burned, it is checked whether the file to be burned contains a focus coefficient to be burned.
[0080] Since the burning control device described in the present embodiment is an electronic device for implementing the burning control method in the embodiment of the present invention, those skilled in the art will understand the specific implementation methods and various variations of the electronic device of the present embodiment based on the burning control method described in the embodiment of the present invention. Therefore, how this electronic device implements the method in the embodiment of the present invention will not be described in detail here. As long as those skilled in the art implement the electronic device adopted by the burning control method in the embodiment of the present invention, it falls within the scope of protection of the present invention.
[0081] On the third aspect, based on the same inventive concept, an embodiment of the present invention provides a burning control device that can be applied to a target camera. The target camera includes a voice coil motor, a lens module, and a driver integrated circuit. The voice coil motor is used to drive the movement of the lens module, and the driver integrated circuit is used to store the driver firmware for controlling the voice coil motor.
[0082] refer to Figure 6 As shown, the burning control device provided by the embodiment of the present invention includes: a memory 601, a processor 602 and code stored in the memory and executable on the processor 602. When executing the code, the processor 602 implements any implementation of the above-mentioned burning control method.
[0083] Among them, Figure 6 In the embodiment of the present invention, a bus architecture (represented by bus 600) is shown. Bus 600 may include any number of interconnected buses and bridges, and bus 600 links together various circuits including one or more processors represented by processor 602 and memory represented by memory 601. Bus 600 may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and therefore will not be described further herein. Bus interface 605 provides an interface between bus 600 and receiver 603 and transmitter 604. Receiver 603 and transmitter 604 may be the same component, namely a transceiver, which provides a unit for communicating with various other devices over a transmission medium. Processor 602 is responsible for managing bus 600 and general processing, while memory 601 may be used to store data used by processor 602 when performing operations.
[0084] Fourthly, Figure 7 As shown, based on the same inventive concept, the present invention provides a computer-readable storage medium 700 through an embodiment of the present invention, on which a computer program 701 is stored. When the computer program 701 is executed by a processor, any implementation method of the above-mentioned burning control method is implemented.
[0085] The technical solutions in the above embodiments of the present invention have at least the following technical effects or advantages:
[0086] The embodiment of the invention ensures the correctness of the file to be burned by comparing the fields to be burned and the focus coefficients to be burned in the process of generating the file to be burned, and compares the fields to be burned again in the process of burning the file to be burned into the driver integrated circuit, thereby further improving the accuracy of the file burned into the camera.
[0087] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable code.
[0088] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as combinations of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer instructions. These computer instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the process in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0089] These computer instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0090] These computer instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 The steps for the function specified in one or more boxes.
[0091] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the present invention.
[0092] Obviously, those skilled in the art may make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if such changes and modifications fall within the scope of the claims and their equivalents, the present invention is intended to include such changes and modifications.
Claims
1. A burning control method, characterized in that: The method is applied to a target camera, the target camera including a voice coil motor, a lens module, and a driver integrated circuit, the voice coil motor being used to drive the lens module to move, and the driver integrated circuit being used to store driver firmware for controlling the voice coil motor; the method comprising: Pre-establishing a field database, wherein the field database includes a plurality of different preset fields; Determining a field to be burned based on the usage requirements of the target camera, and generating a file to be burned based on the field to be burned when the field to be burned is consistent with any of the preset fields; wherein the file to be burned includes a focus coefficient to be burned and the driver firmware; Acquire the current focus coefficient in the driver integrated circuit, and when the current focus coefficient is consistent with the to-be-burned focus coefficient, burn the to-be-burned file into the driver integrated circuit; wherein, The method also includes: Pre-set multiple different reference focus code coefficients; If the field to be burned includes a focus code coefficient to be burned, after the field to be burned is consistent with any of the preset fields, comparing whether the focus code coefficient to be burned is consistent with the multiple reference focus code coefficients; If the focus code coefficient is inconsistent with the intended burning focus coefficient, an error message is generated and the intended burning file is not generated.
2. The method according to claim 1, wherein If the focus code coefficient is consistent with the intended burning focus coefficient, the intended burning file is generated based on the intended burning field.
3. The method according to claim 1 or 2, wherein: The generating of the file to be burned based on the field to be burned includes: The address of the preset field is mapped to the address of the field to be burned, and the value of the preset field is mapped to the value of the field to be burned, so as to generate the file to be burned.
4. The method according to claim 1, wherein Before burning the file to be burned into the driver integrated circuit, the method further includes: Obtaining permission information for a target step to be executed, wherein the target step includes burning the file to be burned into the driver integrated circuit; the permission information includes a first permission or a second permission; If the current focus coefficient is inconsistent with the intended burning focus coefficient, and the permission information includes the first permission, an error log is generated and the step of burning the intended burning file into the driver integrated circuit is performed; If the current focus coefficient is inconsistent with the intended burning focus coefficient, and the permission information includes the second permission, an error message is generated and the intended burning file is not generated.
5. The method according to claim 1, wherein After generating the to-be-burned file based on the to-be-burned field, the method further includes: Check whether the focus coefficient to be burned exists in the file to be burned.
6. A burning control device, characterized in that: The device is applied to a target camera, the target camera including a voice coil motor, a lens module, and a driver integrated circuit. The voice coil motor is used to drive the lens module to move, and the driver integrated circuit is used to store driver firmware for controlling the voice coil motor. The device includes: A field database creation unit, configured to pre-establish a field database, wherein the field database includes a plurality of preset fields; A file-to-be-burned generating unit, configured to determine a field to be burned based on the usage requirements of the target camera, and generate a file to be burned based on the field to be burned when the field to be burned is consistent with the preset field; wherein the file to be burned includes a focus coefficient to be burned and the driver firmware; The burning control unit is used to obtain the current focus coefficient in the driver integrated circuit, and burn the file to be burned into the driver integrated circuit when the current focus coefficient is consistent with the focus coefficient to be burned; wherein, The unit for generating files to be burned is also used for: Pre-setting a plurality of different reference focus code coefficients; if the intended burning field includes the intended burning focus code coefficient, then after the intended burning field is consistent with any preset field, comparing whether the intended burning focus code coefficient is consistent with the plurality of reference focus code coefficients; If the focus code coefficient is inconsistent with the focus coefficient to be burned, an error message is generated and the file to be burned is not generated.
7. The device according to claim 6, characterized in that The proposed burning file generation unit is specifically used for: The address of the preset field is mapped to the address of the field to be burned, and the value of the preset field is mapped to the value of the field to be burned, so as to generate the file to be burned.
8. A burning control device, comprising a memory, a processor, and a code stored in the memory and executable on the processor, characterized in that: When the processor executes the code, the method according to any one of claims 1 to 6 is implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
Data burning method for camera equipment, burning equipment and storage medium
CN110750272A
Fool-proof detection method and system for data burning of camera module
CN115002328A