A method and device for controlling missing recording

By analyzing the original burned data of the camera module OTP and adjusting the memory space of the marker before burning, the problems of poor compatibility and high cost of missing burned control in the existing technology are solved, and more efficient and accurate burned control is achieved.

CN114168161BActive Publication Date: 2025-03-11KUNSHAN Q TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202111244991.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-26
Publication Date
2025-03-11
Estimated Expiration
2041-10-26

AI Technical Summary

Technical Problem

In the prior art, when controlling OTP of the camera module, software customization is required for fixed projects, resulting in poor compatibility and high cost, and the accuracy of the burning cannot be accurately judged before burning.

Method used

By analyzing the original burned data before burning, obtaining the marked memory space, and splitting and adjusting the data according to the preset burned specifications, the burned analysis results are obtained to judge the correctness of burned recording.

Benefits of technology

It improves the efficiency and accuracy of missed recording control, avoids product qualification judgment after burning, reduces production costs, and does not require targeted customized software, and has good compatibility.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114168161B_ABST
    Figure CN114168161B_ABST
Patent Text Reader

Abstract

The present invention discloses a method and device for controlling missed burning, wherein the method comprises: obtaining original burning data stored in the original burning space; obtaining a marked memory space according to the original burning space; wherein the structure of the original burning space corresponds to the structure of the marked memory space; performing a split operation on the original burning data according to a preset burning specification to obtain a data segment; adjusting the data of a target position in the marked memory space according to the original position of the data segment in the original burning space to obtain a marked result; the original position corresponds to the target position; obtaining a burning analysis result according to the marked result; the burning analysis result represents the result of whether the burning can be performed correctly according to the burning specification. The present invention improves the efficiency and accuracy of missed burning control by analyzing the original burning data before burning; avoids making a qualified product judgment after burning, and does not require targeted customized software, has good compatibility, and reduces production costs.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of microelectronic technology, and in particular to a method and device for controlling leaky programming. Background Art

[0002] At present, due to the camera module process and device precision, it is difficult to manufacture products with consistent performance. Therefore, module manufacturers generally need to burn some correction parameters to the terminal OTP (One Time Programmable) storage for debugging and compensation, so that the performance of all camera modules can be basically consistent. Due to the different models of photosensitive chips, different pixels, and different burning and splitting methods of camera modules, the burning data generated by a certain correction item is often dynamically changing, which makes it difficult to control missing burning with a fixed data length. The method adopted by the prior art is to control missing burning by fixing the burning data length for fixed items; however, this makes the test software highly customized, compatibility deteriorates, software development efficiency slows down, and also increases the software error rate.

[0003] It can be seen that at present, when controlling the OTP leakage burning of the camera module, it is necessary to customize the software for fixed projects, which has poor compatibility and high cost, and it is impossible to accurately judge the correctness of burning before burning. Summary of the invention

[0004] In view of the above problems, the present invention proposes a method and device for controlling missed burning, which improves the efficiency and accuracy of missed burning control by analyzing the original burning data before burning, avoids product qualification judgment after burning, and does not require targeted customized software with good compatibility, thereby reducing production costs.

[0005] In the first aspect, the present application provides the following technical solution through an embodiment:

[0006] A method for controlling leaky burning, comprising:

[0007] The original burning data stored in the original burning space is obtained; according to the original burning space, a marked memory space is obtained; wherein the structure of the original burning space corresponds to that of the marked memory space one by one; the original burning data is split according to a preset burning specification to obtain data segments; according to the original position of the data segment in the original burning space, the data at the target position in the marked memory space is adjusted to obtain a marked result; the original position corresponds to the target position; according to the marked result, a burning analysis result is obtained; the burning analysis result represents whether the burning can be performed correctly according to the burning specification.

[0008] Optionally, obtaining the mark memory space according to the original burning space includes:

[0009] Allocate an initial memory space with the same structure as the original burning space; initialize all data in the initial memory space to a preset initial value to obtain a marked memory space.

[0010] Optionally, the initial value is 0.

[0011] Optionally, adjusting the data at the target position in the marking memory space according to the original position of the data segment in the original burning space to obtain the marking result includes:

[0012] According to the original position of the data segment in the original burning space, a preset first adjustment value is added to the data at the target position to obtain the marking result.

[0013] Optionally, the first adjustment value is 1.

[0014] Optionally, adjusting the data at the target position in the marking memory space according to the original position of the data segment in the original burning space to obtain the marking result includes:

[0015] According to the original position of the data segment in the original burning space, the data at the target position is reduced by a preset second adjustment value to obtain the marking result.

[0016] Optionally, before obtaining the burning analysis result according to the marking result, the method further includes:

[0017] Determine whether a memory overflow error occurs in the marked memory space; if so, determine that the burning cannot be performed correctly according to the burning specification; if not, execute the step: obtain the burning analysis result according to the marking result.

[0018] Optionally, obtaining the burning analysis result according to the marking result includes:

[0019] If the marking results are all initial values, the obtained burning analysis result is that all the original burning data are not burned; if the marking results include initial values ​​and non-initial values, and each of the non-initial values ​​is the same, the obtained burning analysis result is that part of the data in the original burning data is not burned; if the marking results include initial values ​​and non-initial values, and there are differences between the non-initial values, the obtained burning analysis result is that there is an error in the splitting operation of the original burning data; if the marking results include non-initial values, and each of the non-initial values ​​is the same, the obtained burning analysis result is that the original burning data can be burned correctly; if the marking results include non-initial values, and there are differences between the non-initial values, the obtained burning analysis result is that there is an error in the splitting operation of the original burning data.

[0020] In the second aspect, based on the same inventive concept, the present application provides the following technical solution through an embodiment:

[0021] A leak burning control device, comprising:

[0022] The acquisition module is used to acquire the original burning data stored in the original burning space; the allocation module is used to obtain the marked memory space according to the original burning space; wherein the structure of the original burning space corresponds to the structure of the marked memory space one by one; the processing module is used to split the original burning data according to the preset burning specification to obtain data segments; the marking module is used to adjust the data at the target position in the marked memory space according to the original position of the data segment in the original burning space to obtain the marking result; the original position corresponds to the target position; the analysis module is used to obtain the burning analysis result according to the marking result; the burning analysis result represents the result of whether the burning can be performed correctly according to the burning specification.

[0023] In the third aspect, based on the same inventive concept, the present application provides the following technical solution through an embodiment:

[0024] An electronic device comprises a processor and a memory, wherein the memory is coupled to the processor and stores instructions, and when the instructions are executed by the processor, the electronic device executes the steps of any one of the methods described in the first aspect.

[0025] A method and device for controlling missed burning provided in an embodiment of the present invention obtains the original burning data stored in the original burning space; then, according to the original burning space, obtains the marked memory space; wherein the structure of the original burning space corresponds to the marked memory space one by one; then, according to the preset burning specification, the original burning data is split to obtain the data segment; then, according to the original position of the data segment in the original burning space, the data of the target position in the marked memory space is adjusted to obtain the marking result; the original position corresponds to the target position; finally, according to the marking result, the burning analysis result is obtained; the burning analysis result represents the result of whether the burning can be performed correctly according to the burning specification. The whole process of the embodiment of the present invention is an analysis performed before the formal burning, and the one-to-one correspondence between the structure of the original burning space and the marked memory space can ensure the analysis accuracy of each segment of data, and the specific problems existing in the burning, such as missed burning, split operation errors, etc., can be accurately determined through the obtained burning analysis results; the efficiency and accuracy of missed burning control are improved; it is avoided to judge the product qualification after burning, and there is no need for targeted customized software, which has good compatibility and reduces production costs.

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

[0027] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for describing 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 creative work. In the drawings:

[0028] Figure 1 A flow chart of a method for controlling missed programming provided by an embodiment of the present invention is shown;

[0029] Figure 2 A schematic diagram of the functional module structure of a missing programming control device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0030] The exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although the exemplary embodiments of the present disclosure are shown in the accompanying drawings, it should be understood that the present disclosure can be implemented in various forms and should not be limited by the embodiments set forth herein. On the contrary, these embodiments are provided to enable a more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0031] A missing burning control method provided in the present invention can be applied to a host computer, and the execution of steps is realized in the form of a software program. In an achievable application scenario, it can be used to verify the original burning data to be burned before the camera module performs OTP burning, so as to avoid missing burning or burning errors. The missing burning control method can be used to verify the correctness of burning before the actual burning, so as to avoid the situation of missing burning, and has a wide range of applications. The present invention will explain the implementation means and effects of the missing burning control method by means of the following specific embodiments.

[0032] See also Figure 1 , shows a flow chart of a missing programming control method provided by a first embodiment of the present invention, the missing programming control method comprising:

[0033] Step S10: Acquire the original burning data stored in the original burning space;

[0034] Step S20: obtaining a marked memory space according to the original burned space; wherein the structure of the original burned space corresponds to the structure of the marked memory space one by one;

[0035] Step S30: splitting the original burning data according to a preset burning specification to obtain data segments;

[0036] Step S40: adjusting the data at the target position in the marking memory space according to the original position of the data segment in the original burning space to obtain a marking result; the original position corresponds to the target position;

[0037] Step S50: Obtain a burning analysis result according to the marking result; the burning analysis result indicates whether the burning can be performed correctly according to the burning specification.

[0038] In the present embodiment, the split operation corresponding to the record value of the original burning data is newly allocated in the mark memory space through steps S10-S50; when each operation is performed on a section of the original burning data, a data adjustment can be performed at the corresponding target position in the mark memory space to obtain a mark result, thereby realizing the information marking of each operation. In this way, as long as the data segments operated in the original burning data can be reflected in the mark memory space, the operated data can be correctly burned, and then the mark result can be counted and analyzed to obtain whether the original burning data can be correctly burned. This method is not targeted at a specific burning medium, has good compatibility, low cost, and the judgment result is faster and more accurate. The specific implementation of each step in the present embodiment is described in detail below.

[0039] Step S10: Acquire the original burning data stored in the original burning space.

[0040] In step S10, the original burning space can be a space divided in the memory of the host computer, and the host computer can be a computer or server running the detection program. The original burning data can be pre-loaded into the original burning space of the host computer. Taking the OTP storage burning of the camera module as an example, the original burning data can be the data to be burned into the OTP storage. The data length of the original burning data can be the same as the size of the original burning space, which can facilitate the subsequent marking and verification of the original burning data one by one.

[0041] Step S20: obtaining a tag memory space according to the original burned space; wherein the structure of the original burned space corresponds to the structure of the tag memory space one by one.

[0042] In step S20, the tag memory space can also be allocated from the memory of the host computer. When allocating, the structure and size of the original burning space and the tag memory space should be consistent, so that when the original burning data is split in the subsequent steps, one-to-one data adjustment can be performed to achieve information tagging. Specifically, step S20 may include the following execution process:

[0043] First, allocate an initial memory space with the same structure as the original burning space; when executing, a space with the same structure as the original burning space can be allocated in the memory of the host computer as the initial content space. Then, initialize all data in the initial memory space to the preset initial value to obtain the marked memory space. Therefore, the data in the marked memory space are all initialized data and known data, so that after modifying these data, it can be known which data has been modified according to the specific values.

[0044] Specifically, the initial values ​​in the tag memory space can be initialized to 0, so that in the subsequent process, it can be directly determined whether the value of each position in the tag memory space is 0 or non-0; when it is non-0, whether the data value is consistent; the judgment process will be simpler, faster, more efficient, and have low computational overhead.

[0045] In addition, the initial values ​​in the tag memory space can also be initialized to other values, such as 1, 2, 3, etc.; they can also be initialized to other different values. Finally, the size of the value change can be used to determine whether the original burned data corresponding to the position has been split.

[0046] Step S30: splitting the original burning data according to a preset burning specification to obtain data segments.

[0047] In step S30, whether it is EEPROM (Electrically Erasable Programmable read only memory) storage or OTP storage, it must be burned in bytes, and the original burned data may be multi-byte; therefore, the multi-byte data (i.e., the original burned data) must be split into single-byte data (i.e., data segments) according to a pre-agreed protocol or specification, and then the split single-byte data is burned, so that all the original burned data can be accurately and effectively burned into the designated memory.

[0048] The burning specification includes the size of the data segment of each burning. Before each burning, the original burning data needs to be split and processed to ensure that the original burning data can be burned into the OTP storage. Therefore, the reliability of the split operation is the key to the burning success. In the present embodiment, the split operation needs to be verified and recorded, so as to analyze and obtain the burning analysis result. That is, the split operation is recorded and verified by steps S40 and S50 next.

[0049] Step S40: According to the original position of the data segment in the original burning space, the data at the target position in the marking memory space is adjusted to obtain a marking result; the original position corresponds to the target position.

[0050] In step S40, the data segments obtained by splitting all have corresponding storage coordinates, i.e., original positions; and have storage positions corresponding to the original positions in the mark memory space, i.e., target positions. The data segments at the original positions are marked by adjusting the data at the target positions; that is, each data segment obtained by splitting can be correctly burned during actual burning, so a mark can be made once at the target position in the mark memory space corresponding to the data segment.

[0051] Specifically, at least two marking methods are provided in this embodiment:

[0052] One is: in the mark memory space, the data at the target position is added. Specifically, according to the original position of the data segment in the original burning space, a preset first adjustment value is added to the data at the target position to obtain the marking result. The marking result is the value of the data at the target position after adjustment. For example, if all the initial values ​​in the mark memory space are 0, the first adjustment value is 1; after splitting the original burning data to obtain a certain target data segment, the initial value of the target position corresponding to the target data segment can be added by 1, and the marking result corresponding to the target data segment is 1. Then, in the case of certain errors, if the target data segment is split again, the current value of the target position corresponding to the target data segment is still added by 1, and the marking result is 2. By analogy, all split operations of the original burning data can be marked, and the number of markings for the same data segment is not limited, that is, the number of adjustments to the data at the target position is not limited, and the error type of the split operation can be more conveniently verified.

[0053] The second is: in the mark memory space, a subtraction operation is performed on the data at the target position. Specifically, according to the original position of the data segment in the original burning space, the data at the target position is reduced by a preset second adjustment value to obtain the marking result. For example, if all the initial values ​​in the mark memory space are 0, the first adjustment value is 1; after splitting the original burning data to obtain a certain target data segment, the initial value of the target position corresponding to the target data segment can be subtracted by 1, and the marking result corresponding to the target data segment is -1. Then, in the case of certain errors, if the target data segment is split again, the current value of the target position corresponding to the target data segment is still subtracted by 1, and the marking result is -2. And so on, the marking of all the split data segments is completed.

[0054] It should be noted that the magnitudes of the first adjustment value and the second adjustment value are not limited and can be any non-zero value, for example, 1, -1, 2, 3, etc.

[0055] In addition, in this embodiment, the adjustment operation on the data at the target position in the tag memory space may also include but is not limited to multiplication, quotient, exponentiation, etc.

[0056] Before executing step S50 in this embodiment, the length of the original burning data can also be verified to determine whether the size of the original burning data meets the requirements. The verification process is as follows:

[0057] Whether the size of the original burning data meets the requirements can be determined by judging whether a memory overflow error occurs in the tag memory space. If a memory overflow error occurs in the tag memory space, it means that the original burning data is too long to match the corresponding OTP storage space, and it is determined that it cannot be burned correctly according to the burning specification. If there is no memory overflow error in the tag memory space, it means that the length of the original burning data meets the requirements, and subsequent marking result analysis can be performed. By judging the length of the original burning data, the judgment efficiency of the original burning data can be further improved. Only when the length of the original burning data meets the requirements, the subsequent marking result analysis process can be continued, reducing the consumption of computing resources.

[0058] Step S50: Obtain a burning analysis result according to the marking result; the burning analysis result indicates whether the burning can be performed correctly according to the burning specification.

[0059] In step S50, the burning analysis results include at least the following four types:

[0060] 1. If the marking results are all initial values, the burning analysis result is that none of the original burning data has been burned. If the marking results are all initial values, it means that the original data has not been split to obtain data segments, and the data at the target position has not been adjusted; in this case, the original burning data cannot be burned correctly, and there is a possibility of missing burning.

[0061] 2. If the marking result includes initial value and non-initial value, and each non-initial value is the same, the obtained burning analysis result is that part of the original burning data is not burned. In this case, burning will result in only part of the original burning data being burned correctly, and part of the original burning data is not correctly split and will not be burned, resulting in missing burning.

[0062] 3. If the marking result includes initial value and non-initial value, and there are differences between the non-initial values, the obtained burning analysis result is that there is an error in the splitting operation of the original burning data. In this case, only part of the data can be burned correctly, part of the data will have a burning error, and part of the original burning data corresponding to the target position that is still the initial value will be missed.

[0063] 4. If the marking result includes non-initial values, and each non-initial value is the same, the obtained burning analysis result is that the original burning data can be burned correctly. In this case, all the split operations on the original burning data are correct, and when burning, the original burning data can be burned correctly.

[0064] 5. If the marking result includes non-initial values, and there are differences between the non-initial values, the obtained burning analysis result is that there is an error in the splitting operation of the original burning data. In this case, there is an error in the splitting operation of the original burning data, and burning errors will occur after burning. Reverse decoding according to the burning specification will not be able to restore the original burning data.

[0065] By using the above-mentioned at least five analysis and judgment methods on the marking results, the burning status of the original burning data can be accurately judged before the actual burning is performed, and the problems of data splitting errors and missing burning can be effectively controlled.

[0066] In summary, a missing burning control method provided in this embodiment obtains the original burning data stored in the original burning space; then, according to the original burning space, obtains the marked memory space; wherein the structure of the original burning space and the marked memory space corresponds one to one; then, according to the preset burning specification, the original burning data is split to obtain the data segment; then, according to the original position of the data segment in the original burning space, the data of the target position in the marked memory space is adjusted to obtain the marking result; the original position corresponds to the target position; finally, according to the marking result, the burning analysis result is obtained; the burning analysis result represents the result of whether the burning can be performed correctly according to the burning specification. The whole process of this embodiment is an analysis performed before the formal burning, and the one-to-one correspondence between the structure of the original burning space and the marked memory space can ensure the analysis accuracy of each segment of data, and the specific problems existing in the burning, such as missing burning, splitting operation errors, etc., can be accurately determined through the obtained burning analysis results; the efficiency and accuracy of missing burning control are improved; it is avoided to make a qualified product judgment after burning, and there is no need for targeted customized software with good compatibility, which reduces production costs.

[0067] Based on the same inventive concept, another embodiment of the present invention further provides a missing programming control device 300, the missing programming control device 300 comprising:

[0068] The acquisition module 301 is used to acquire the original burning data stored in the original burning space; the allocation module 302 is used to obtain the marked memory space according to the original burning space; wherein the structure of the original burning space corresponds to the structure of the marked memory space one by one; the processing module 303 is used to split the original burning data according to the preset burning specification to obtain data segments; the marking module 304 is used to adjust the data at the target position in the marked memory space according to the original position of the data segment in the original burning space to obtain the marking result; the original position corresponds to the target position; the analysis module 305 is used to obtain the burning analysis result according to the marking result; the burning analysis result represents the result of whether the burning can be performed correctly according to the burning specification.

[0069] As an optional implementation, the allocation module 302 is specifically configured to:

[0070] Allocate an initial memory space with the same structure as the original burning space; initialize all data in the initial memory space to a preset initial value to obtain a marked memory space.

[0071] As an optional implementation, the initial value is 0.

[0072] As an optional implementation manner, the marking module 304 is specifically used to:

[0073] According to the original position of the data segment in the original burning space, a preset first adjustment value is added to the data at the target position to obtain the marking result.

[0074] As an optional implementation, the first adjustment value is 1.

[0075] As an optional implementation manner, the marking module 304 is specifically used to:

[0076] According to the original position of the data segment in the original burning space, the data at the target position is reduced by a preset second adjustment value to obtain the marking result.

[0077] As an optional implementation, it further includes a memory judgment module, which is used for obtaining the burning analysis result according to the marking result:

[0078] Determine whether a memory overflow error occurs in the marked memory space; if so, determine that the burning cannot be performed correctly according to the burning specification; if not, execute the step: obtain the burning analysis result according to the marking result.

[0079] As an optional implementation manner, the analysis module 305 is specifically used to:

[0080] If the marking results are all initial values, the obtained burning analysis result is that all the original burning data are not burned; if the marking results include initial values ​​and non-initial values, and each of the non-initial values ​​is the same, the obtained burning analysis result is that part of the data in the original burning data is not burned; if the marking results include initial values ​​and non-initial values, and there are differences between the non-initial values, the obtained burning analysis result is that there is an error in the splitting operation of the original burning data; if the marking results include non-initial values, and each of the non-initial values ​​is the same, the obtained burning analysis result is that the original burning data can be burned correctly; if the marking results include non-initial values, and there are differences between the non-initial values, the obtained burning analysis result is that there is an error in the splitting operation of the original burning data.

[0081] It should be noted that the specific implementation and technical effects of the missing programming control device 300 provided in the embodiment of the present invention are the same as those of the aforementioned method embodiment. For the sake of brief description, for matters not mentioned in the device embodiment, reference may be made to the corresponding contents in the aforementioned method embodiment.

[0082] Based on the same inventive concept, an electronic device is also provided in an embodiment of the present invention, including a processor and a memory, wherein the memory is coupled to the processor, and the memory stores instructions, and when the instructions are executed by the processor, the electronic device executes the steps of any one of the method embodiments described above.

[0083] It should be noted that, in the electronic device provided by the embodiment of the present invention, when the instructions are executed by the processor, the specific implementation of each step and the technical effect produced are the same as those in the aforementioned method embodiment. For the sake of brief description, the parts not mentioned in this embodiment can be referred to the corresponding contents in the aforementioned method embodiment.

[0084] The term "and / or" that appears in this article is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the objects associated before and after are in an "or" relationship; the word "comprising" does not exclude the existence of elements or steps that are not listed in the claims. The word "one" or "an" placed before an element does not exclude the existence of multiple such elements. The present invention can be implemented with the aid of hardware including several different elements and with the aid of appropriately programmed computers. In a unit claim that lists several devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words can be interpreted as names.

[0085] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0086] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program 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 the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program 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 processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1A device that provides the functions specified in a block or multiple blocks.

[0087] These computer program 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 A function specified in one or more boxes.

[0088] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0089] Although the preferred embodiments of the present invention have been described, those skilled in the art may make other 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.

[0090] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.

Claims

1. A method for controlling missing recording, characterized in that: include: Get the original burning data stored in the original burning space; According to the original burning space, a marked memory space is obtained; wherein the structure of the original burning space corresponds to the structure of the marked memory space one by one; Splitting the original burning data according to a preset burning specification to obtain data segments; According to the original position of the data segment in the original burning space, the data at the target position in the marking memory space is adjusted to obtain a marking result; the original position corresponds to the target position; the marking result is the value of the data at the target position after adjustment, including an initial value and / or a non-initial value, wherein each non-initial value is the same or there are differences between each non-initial value; Obtaining a burning analysis result according to the marking result; the burning analysis result indicates whether the burning can be performed correctly according to the burning specification; The step of obtaining the mark memory space according to the original burning space includes: Allocating an initial memory space having the same structure as the original burning space; All data in the initial memory space are initialized to preset initial values ​​to obtain a tag memory space, wherein the data in the tag memory space are all initialized data.

2. The method according to claim 1, characterized in that The initial value is 0.

3. The method according to any one of claims 1 to 2, characterized in that: The step of adjusting the data at the target position in the marking memory space according to the original position of the data segment in the original burning space to obtain the marking result includes: According to the original position of the data segment in the original burning space, a preset first adjustment value is added to the data at the target position to obtain the marking result.

4. The method according to claim 3, characterized in that The first adjustment value is 1.

5. The method according to claim 1, characterized in that The step of adjusting the data at the target position in the marking memory space according to the original position of the data segment in the original burning space to obtain the marking result includes: According to the original position of the data segment in the original burning space, the data at the target position is reduced by a preset second adjustment value to obtain the marking result.

6. The method according to claim 1, characterized in that Before obtaining the burning analysis result according to the marking result, the method further includes: Determine whether a memory overflow error occurs in the marked memory space; If so, it is determined that the correct burning cannot be performed according to the burning specification; If not, the step of obtaining a burning analysis result is performed according to the marking result.

7. The method according to claim 1, characterized in that The step of obtaining the burning analysis result according to the marking result includes: If the marking results are all initial values, the obtained burning analysis result is that all the original burning data are not burned; If the marking result includes an initial value and a non-initial value, and each of the non-initial values ​​is the same, then the obtained burning analysis result is that part of the data in the original burning data is not burned; If the marking result includes an initial value and a non-initial value, and there are differences between the non-initial values, then the obtained burning analysis result is that there is an error in the splitting operation of the original burning data; If the marking result includes non-initial values, and each of the non-initial values ​​is the same, then the obtained burning analysis result is that the original burning data can be burned correctly; If the marking result includes non-initial values, and there are differences between the non-initial values, the obtained burning analysis result is that there is an error in the splitting operation of the original burning data.

8. A missing burning control device, characterized in that: include: An acquisition module, used for acquiring the original burning data stored in the original burning space; An allocation module, used for obtaining a marked memory space according to the original burning space; wherein the structure of the original burning space corresponds to the structure of the marked memory space one by one; The allocation module is specifically used for: Allocate an initial memory space with the same structure as the original burning space; initialize all data in the initial memory space to a preset initial value to obtain a marked memory space, wherein the data in the marked memory space are all initialized data; A processing module, used for splitting the original burning data according to a preset burning specification to obtain data segments; a marking module, configured to adjust the data at the target position in the marking memory space according to the original position of the data segment in the original burning space to obtain a marking result; the original position corresponds to the target position; the marking result is the value of the data at the target position after adjustment, including an initial value and / or a non-initial value, wherein each non-initial value is the same or there are differences between each non-initial value; The analysis module is used to obtain a burning analysis result according to the marking result; the burning analysis result represents whether the burning can be performed correctly according to the burning specification.

9. An electronic device, characterized in that: The electronic device comprises a processor and a memory, wherein the memory is coupled to the processor and stores instructions, and when the instructions are executed by the processor, the electronic device executes the steps of the method according to any one of claims 1 to 7.

Citation Information

Patent Citations

  • Data burning system and data burning method

    CN105448337A

  • MCU system and burning method capable of correcting OTP (One Time Programmable) burning problem

    CN105653332A