CN110928559A - Data burning method and device, electronic equipment and storage medium - Google Patents
Data burning method and device, electronic equipment and storage medium Download PDFInfo
- Publication number
- CN110928559A CN110928559A CN201911156389.8A CN201911156389A CN110928559A CN 110928559 A CN110928559 A CN 110928559A CN 201911156389 A CN201911156389 A CN 201911156389A CN 110928559 A CN110928559 A CN 110928559A
- Authority
- CN
- China
- Prior art keywords
- key code
- burning
- target
- key
- basic data
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 65
- 238000004806 packaging method and process Methods 0.000 claims abstract description 21
- 238000004519 manufacturing process Methods 0.000 claims abstract description 20
- 238000012545 processing Methods 0.000 claims description 9
- 238000004590 computer program Methods 0.000 claims description 8
- 238000004458 analytical method Methods 0.000 claims description 3
- 238000010586 diagram Methods 0.000 description 10
- 230000003287 optical effect Effects 0.000 description 6
- 230000006870 function Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 239000013307 optical fiber Substances 0.000 description 2
- 238000005192 partition Methods 0.000 description 2
- 230000002093 peripheral effect Effects 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 238000003491 array Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008707 rearrangement Effects 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000002699 waste material Substances 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/60—Software deployment
- G06F8/61—Installation
- G06F8/63—Image based installation; Cloning; Build to order
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K7/00—Methods or arrangements for sensing record carriers, e.g. for reading patterns
- G06K7/10—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation
- G06K7/14—Methods or arrangements for sensing record carriers, e.g. for reading patterns by electromagnetic radiation, e.g. optical sensing; by corpuscular radiation using light without selection of wavelength, e.g. sensing reflected white light
- G06K7/1404—Methods for optical code recognition
- G06K7/1408—Methods for optical code recognition the method being specifically adapted for the type of code
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Electromagnetism (AREA)
- General Health & Medical Sciences (AREA)
- Toxicology (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Stored Programmes (AREA)
Abstract
The embodiment of the invention discloses a data burning method, a data burning device, electronic equipment and a storage medium, wherein the method comprises the following steps: based on the current order, packaging each KEY code file to be burned and a configuration file for analyzing each KEY code file into a KEY code basic data packet; in a main program burning stage of target equipment, respectively burning the KEY code basic data packet and the main program to a set storage position of a main memory of the target equipment of a current order; in the mainboard production stage of the target equipment, scanning an identification bar code pasted on the current mainboard through a bar code scanning gun, and analyzing the KEY code basic data packet according to the scanned bar code identification through the main program of the current mainboard to obtain a target KEY code file matched with the bar code identification; and burning the target KEY code file to a target position through the main program of the current mainboard. By adopting the technical scheme, the data burning efficiency is improved.
Description
Technical Field
The embodiment of the invention relates to the technical field of smart televisions, in particular to a data burning method and device, electronic equipment and a storage medium.
Background
Today, with the rapid development of technology, smart televisions are hot spots, the number of required smart televisions is increasing day by day, and production is eager for efficient operation. The burning of the KEY code data is a necessary process of production and manufacturing, and also becomes a necessary guarantee for high-definition data protection and authentication of the smart television. Meanwhile, as more and more factory products are produced, different clients may require to burn their designated data content, for example, some clients require to paste a MAC (Media Access Control) on the motherboard, and the pasted MAC needs to be consistent with the MAC burned in the current motherboard.
At present, a commonly used data burning method is to burn KEY code data files into an eprom or a flash specially set in a motherboard one by using a burner, for example, if 2000 KEY codes exist, 2000 KEY code files are corresponded, and each KEY code file is different.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
(1) when the burning of the KEY code is wrong, the new KEY code cannot be pushed and upgraded through the background, and burning can only be carried out again by matching with a burner, so that the efficiency is low; (2) because each KEY code file is different, the burner cannot verify the burnt chip and cannot ensure the correctness of the burnt data; (3) in some mainboard systems, eeprom is only used for storing a KEY code file, and after system software loads a KEY code when the mainboard system is started for the first time, the eeprom cannot be reused, so that cost waste is caused; (4) the specific KEY code burned in each eprom cannot be determined, and therefore, the requirement that the MAC pasted on the main board and the MAC burned in the current main board are consistent cannot be met.
Disclosure of Invention
The embodiment of the invention provides a data burning method, a data burning device, electronic equipment and a storage medium, improves the data burning efficiency, and achieves the purpose that a bar code identifier pasted on a mainboard is consistent with a KEY code burnt in the current mainboard.
In a first aspect, an embodiment of the present invention provides a data burning method, where the method includes:
based on the current order, packaging each KEY code file to be burned and a configuration file for analyzing each KEY code file into a KEY code basic data packet;
in a main program burning stage of target equipment, respectively burning the KEY code basic data packet and the main program to a set storage position of a main memory of the target equipment of a current order;
in the mainboard production stage of the target equipment, scanning an identification bar code pasted on the current mainboard through a bar code scanning gun, and analyzing the KEY code basic data packet according to the scanned bar code identification through the main program of the current mainboard to obtain a target KEY code file matched with the bar code identification;
burning the target KEY code file to a target position through the main program of the current mainboard;
among other things, current motherboards include main memory.
Further, before the main program through the current motherboard analyzes the KEY code basic data packet according to the scanned bar code identifier, the method further includes:
judging whether the bar code identification belongs to the current order or not according to the initial section of the scanned bar code identification through the main program of the current mainboard;
if so, continuing to execute the step of analyzing the KEY code basic data packet by the main program of the current mainboard according to the scanned bar code identification, otherwise, sending error reporting information.
Further, the burning the target KEY code file to a target position through the main program of the current motherboard includes:
obtaining various KEY codes from the target KEY code file according to the initial addresses of various KEY codes defined in the configuration file;
and burning the obtained various KEY codes to a target position.
Further, after the KEY code files to be burned and the configuration file for analyzing the KEY code files are packaged into a KEY code basic data packet based on the current order, the method further includes:
and respectively generating a first KEY check code corresponding to the KEY code basic data packet and a first main check code corresponding to the main program through burning software of a burner.
Further, in the step of burning the main program of the target device, before burning the KEY code basic data packet and the main program to the set storage location of the main memory of the target device of the current order, respectively, the method further includes:
respectively generating a second KEY check code corresponding to the KEY code basic data packet and a second main check code corresponding to the main program through burning software of a burner;
determining the correctness of the KEY code basic data packet by comparing the second KEY check code with the first KEY check code;
and determining the correctness of the burning software by comparing the second main check code with the first main check code.
Further, the method further comprises:
pushing a KEY code basic data upgrading packet to the target equipment with the same order through a background so as to replace the KEY code basic data packet with the KEY code basic data upgrading packet.
Further, the method further comprises: setting the flag bit of the upgrade KEY code;
when the target equipment is restarted, if the set upgrading KEY code flag bit is detected, acquiring a target KEY code upgrading file from the set storage position of the main memory based on the bar code identification of the current target equipment;
and burning the target KEY code upgrading file to a target position.
In a second aspect, an embodiment of the present invention provides a data burning apparatus, where the apparatus includes:
the system comprises a packaging module, a recording module and a processing module, wherein the packaging module is used for packaging each KEY code file to be burned and a configuration file for analyzing each KEY code file into a KEY code basic data packet based on a current order;
the first burning module is used for burning the KEY code basic data packet and the main program to a set storage position of a main memory of the target equipment of a current order at the main program burning stage of the target equipment;
the analysis module is used for scanning an identification bar code pasted on the current mainboard through a bar code scanning gun in the mainboard production stage of the target equipment, and analyzing the KEY code basic data packet according to the scanned bar code identification through the main program of the current mainboard to obtain a target KEY code file matched with the bar code identification;
the second burning module is used for burning the target KEY code file to a target position through the main program of the current mainboard;
among other things, current motherboards include main memory.
In a third aspect, an embodiment of the present invention provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the data burning method according to the first aspect.
In a fourth aspect, an embodiment of the present invention provides a storage medium containing computer-executable instructions, which when executed by a computer processor implement the data burning method according to the first aspect.
According to the data burning method provided by the embodiment of the invention, each KEY code file to be burnt and a configuration file for analyzing each KEY code file are packaged into a KEY code basic data packet based on the current order; in a main program burning stage of target equipment, respectively burning the KEY code basic data packet and the main program to a set storage position of a main memory of the target equipment of a current order; in the mainboard production stage of the target equipment, scanning an identification bar code pasted on the current mainboard through a bar code scanning gun, and analyzing the KEY code basic data packet according to the scanned bar code identification through the main program of the current mainboard to obtain a target KEY code file matched with the bar code identification; burning the target KEY code file to a target position through the main program of the current mainboard; the technical means that the current mainboard comprises the main memory improves the data burning efficiency, and achieves the purpose that the bar code identification pasted on the mainboard is consistent with the KEY code burnt in the current mainboard.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments of the present invention will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the contents of the embodiments of the present invention and the drawings without creative efforts.
Fig. 1 is a schematic flow chart of a data burning method according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a configuration file according to an embodiment of the present invention;
FIG. 3 is a schematic flow chart illustrating another data burning method according to an embodiment of the present invention;
fig. 4 is a schematic flow chart of a data burning method according to a second embodiment of the present invention;
FIG. 5 is a flowchart illustrating another data burning method according to a second embodiment of the present invention;
fig. 6 is a schematic structural diagram of a data recording device according to a third embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device according to a fourth embodiment of the present invention.
Detailed Description
In order to make the technical problems solved, technical solutions adopted and technical effects achieved by the present invention clearer, the technical solutions of the embodiments of the present invention will be described in further detail below with reference to the accompanying drawings, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example one
Fig. 1 is a schematic flow chart of a data burning method according to an embodiment of the present invention. The data burning method provided by the embodiment is suitable for a scene of burning data of target equipment manufactured in batch. It can be understood that different orders have different manufacturing requirements, that is, different data to be burned is different, and correspondingly different burning software is used. Therefore, in order to ensure the correctness of data burning, it is necessary to ensure that the specific burning data is correct on one hand, and to ensure that the adopted burning software is correct on the other hand. The burning data generally includes a main program of a target device, i.e., system software, and for example, the target device is an intelligent television, the burning data further includes data information such as a High-bandwidth digital content Protection KEY (HDCP KEY) code, an MAC code of the intelligent television, and a barcode of the intelligent television.
The data burning method disclosed in the present embodiment can be executed by a data burning apparatus, wherein the apparatus can be implemented by software and/or hardware. Referring specifically to fig. 1, the method comprises the steps of:
and 110, packaging each KEY code file to be burned and a configuration file for analyzing each KEY code file into a KEY code basic data packet based on the current order.
One target device corresponds to one KEY code file, and if the current order is 5000 target devices, 5000 KEY code files correspond to the target devices. A complete KEY code file may specifically include, for example, HDCP1.4, HDCP2.2, MAC, barcode, CI, and widevine, etc. The file names of the KEY code files are 1.bin, 2.bin, … …, 2000.bin and the like. The configuration file is generally marked as chatssconfig.ini, and includes information such as a type of a KEY code to be burned, an address of each KEY code, an SN start number, an MAC start address, an end address, and the like, which may be specifically referred to as a schematic diagram of a configuration file shown in fig. 2. In the same order, the number of the configuration files is 1. In the data burning process, the main program obtains specific KEY code data according to the starting address and the ending address of various KEY codes recorded in the configuration file and writes the specific KEY code data into the corresponding position, so that the data burning is completed.
The method includes the steps that all KEY code files to be burnt of a current order and configuration files used for analyzing the KEY code files are packaged into a KEY code basic data packet, so that the data packets to be burnt of all target devices under the current order are the same, when the KEY code basic data packet is opened by burning software of a burner, a check code used for checking whether the KEY code basic data packet belongs to the current order can be generated, and when data are burnt, correctness checking of the burnt data packet can be achieved through comparison of the check codes, and therefore the problem that in the prior art, due to the fact that each KEY code file is different, the burner cannot check correctness of burnt data is solved.
And 120, in a main program burning stage of the target equipment, respectively burning the KEY code basic data packet and the main program to a set storage position of a main memory of the target equipment of the current order.
The set storage location is a block of storage space divided in a main memory of the target device, and the storage space is specially used for storing the KEY code basic data packet. It should be noted that, as the main memory of the target device is larger and larger, dividing a space dedicated for storing the KEY code basic data packet in the main memory does not affect the use of the user. Importantly, the KEY code basic data packet is burnt to the set storage position of the main memory of the target device, so that an eeprom or a flash specially used for storing the KEY code basic data packet does not need to be additionally arranged, the device cost is reduced, and the original KEY code basic data packet is forcibly upgraded because the KEY code basic data packets of the same order are identical and are stored in a partition which is independently divided in the main memory.
Specifically, assuming that the KEY code file corresponding to the initial section of the barcode identifier is 50C1 XXX-H000531-50C 1XXX-H001630 is 1. bin-1100. bin, the barcode identifier obtained by scanning the identifier barcode pasted on the current motherboard by the barcode scanning gun is 50C1XXX-H000540, and the corresponding KEY code file is 10. bin.
Further, before the main program through the current motherboard analyzes the KEY code basic data packet according to the scanned bar code identifier, the method further includes:
judging whether the bar code identification belongs to the current order or not according to the initial section of the scanned bar code identification through the main program of the current mainboard;
if so, continuing to execute the step of analyzing the KEY code basic data packet by the main program of the current mainboard according to the scanned bar code identification, otherwise, sending error reporting information, thereby solving the problem that partial equipment background pushing and upgrading fails due to the fact that the KEY code is used by a moving order during production at present.
For example, the burning the target KEY code file to the target location through the main program of the current motherboard includes:
obtaining various KEY codes from the target KEY code file according to the initial addresses of various KEY codes defined in the configuration file;
and burning the obtained various KEY codes to a target position.
On the basis of the above technical solution, in order to ensure the correctness of the KEY code basic data packet to be burned, after packaging each KEY code file to be burned and a configuration file for analyzing each KEY code file into one KEY code basic data packet based on the current order, the method further includes:
respectively generating a first KEY check code corresponding to the KEY code basic data packet and a first main check code corresponding to the main program through burning software of a burner;
in a main program burning stage of the target device, before the KEY code basic data packet and the main program are respectively burned to a set storage position of a main memory of the target device of a current order, the method further includes:
respectively generating a second KEY check code corresponding to the KEY code basic data packet and a second main check code corresponding to the main program through burning software of a burner;
determining the correctness of the KEY code basic data packet by comparing the second KEY check code with the first KEY check code;
and determining the correctness of the burning software by comparing the second main check code with the first main check code.
In the data burning method provided by this embodiment, each KEY code file to be burned and a configuration file for analyzing each KEY code file are packaged into a KEY code basic data packet based on a current order; in a main program burning stage of target equipment, respectively burning the KEY code basic data packet and the main program to a set storage position of a main memory of the target equipment of a current order; in the mainboard production stage of the target equipment, scanning an identification bar code pasted on the current mainboard through a bar code scanning gun, and analyzing the KEY code basic data packet according to the scanned bar code identification through the main program of the current mainboard to obtain a target KEY code file matched with the bar code identification; burning the target KEY code file to a target position through the main program of the current mainboard; the technical means that the current mainboard comprises the main memory improves the data burning efficiency, and achieves the purpose that the bar code identification pasted on the mainboard is consistent with the KEY code burnt in the current mainboard.
On the basis of the above technical solution, referring to a flow diagram of another data burning method shown in fig. 3, the method specifically includes:
various original KEY codes are input, such as an MAC start address, an SN start number, and an HDCP KEY.
And generating a KEY code file and a configuration file according to the order, packaging each KEY code file and the configuration file into a KEY code basic data packet, and generating a burning check code. The KEY code basic data packet comprises all KEY code files and configuration files of the same order, wherein the configuration files comprise related information required for analyzing the KEY code files. The burning check code of the KEY code basic data packet is used for checking the accuracy of the burning order KEY code.
Outputting the corresponding relation of each KEY code, such as client SN, MAC, HDCP index number and the like, recording the corresponding relation of the KEY codes (such as client SN, MAC, HDCP index number and the like) without re-acquisition at the back end, meeting the requirements of all the existing clients on KEY code burning and KEY data acquisition, and only newly adding the initial address of the corresponding KEY in the ChassisConfig. ini configuration file if new KEY codes need burning, without special equipment, which is supported by the existing burner.
And in the recording link, opening order recording software by using upper computer software of a recorder, setting a recording address of a KEY code basic data packet, opening the KEY code basic data packet, generating two groups of check codes by clicking a check code generation button, checking the order recording software check codes by using the order recording software check codes and the KEY code basic data packet check codes by using the KEY code basic data packet check codes, respectively checking the accuracy of the order recording software and the accuracy of the KEY code basic data packet by using the two groups of check codes, and then recording data.
And a KEY code loading link, starting up after the production of the mainboard is finished, inserting a USB bar code gun into the television, scanning a bar code pasted on the mainboard, reading a configuration file in a KEY code basic data packet after the television receives a bar code identifier to obtain a bar code starting number and an MAC starting section for judging whether the bar code belongs to the batch of orders, if so, analyzing the KEY code file corresponding to the bar code, loading the KEY code file, simultaneously obtaining various KEY code data from the KEY code file according to the starting addresses of various KEY codes defined in the configuration file, writing the various KEY code data into corresponding addresses to finish KEY code burning, and if not, reporting an error.
Example two
Fig. 4 is a schematic flow chart of a data burning method according to a second embodiment of the present invention, and on the basis of the foregoing embodiments, an operation of upgrading a KEY code basic data packet by background push is added in this embodiment, so that the advantage of the configuration is that the background push upgrade is realized, and for a burning error occurring during burning, the operation of background upgrade can be used to remedy the burning error without reworking and burning again, thereby improving the data burning efficiency. Referring specifically to fig. 4, the method includes:
and step 410, packaging each KEY code file to be burned and a configuration file for analyzing each KEY code file into a KEY code basic data packet based on the current order.
And step 420, in a main program burning stage of the target device, respectively burning the KEY code basic data packet and the main program to a set storage position of a main memory of the target device of the current order.
And 430, scanning an identification bar code pasted on the current mainboard through a bar code scanning gun in the mainboard production stage of the target equipment, and analyzing the KEY code basic data packet according to the scanned bar code identification through the main program of the current mainboard to obtain a target KEY code file matched with the bar code identification.
And 450, pushing a KEY code basic data upgrading packet to the target equipment with the same order through a background so as to replace the KEY code basic data upgrading packet with the KEY code basic data upgrading packet.
The data burning method provided by the embodiment supports background pushing of the upgrade KEY code basic data packet, and in the mass production process of the target device, if a non-fatal burning error is found, the error can be corrected by pushing the upgrade KEY code basic data packet through the background without reworking and burning again, so that the data burning efficiency is improved.
On the basis of the above technical solution, referring to another method flow diagram for pushing upgrade KEY basic data in the background shown in fig. 5, the method flow diagram specifically includes:
the background server installs an MAC address section corresponding to the order number and pushes a new KEY code basic data packet to the television equipment of the order in the batch through a network;
and the television equipment receives the new KEY code basic data packet, writes the new KEY code basic data packet into a KEY code partition in a main memory, and simultaneously restarts the updated KEY code at the position 1.
And in the automatic loading step, the flag bit of the upgrade KEY code is automatically detected in the starting process of the television, if the flag bit is detected to be 1, new KEY code data is analyzed from the KEY code basic data packet according to the MAC address of the television and written into the corresponding position, and meanwhile, the flag bit of the upgrade KEY code is reset to complete automatic KEY code upgrading.
EXAMPLE III
Fig. 6 is a schematic diagram of a data recording device according to a third embodiment of the present invention. Referring to fig. 6, the apparatus includes: the system comprises a packaging module 610, a first burning module 620, a resolving module 630 and a second burning module 640;
the packaging module 610 is configured to package, based on a current order, each KEY code file to be burned and a configuration file used for analyzing each KEY code file into a KEY code basic data packet; the first burning module 620 is configured to, in a main program burning stage of a target device, respectively burn the KEY code basic data packet and the main program to a set storage location of a main memory of the target device of a current order; the analysis module 630 is configured to scan an identification barcode pasted to the current motherboard by using a barcode scanning gun in a motherboard production stage of the target device, and analyze the KEY code basic data packet according to the scanned barcode identification by using the main program of the current motherboard to obtain a target KEY code file matched with the barcode identification; a second burning module 640, configured to burn the target KEY code file to a target location through the main program of the current motherboard; among other things, current motherboards include main memory.
Further, the apparatus further comprises: the judging module is used for judging whether the bar code identification belongs to the current order or not through the main program of the current mainboard according to the initial section of the scanned bar code identification before analyzing the KEY code basic data packet through the main program of the current mainboard according to the scanned bar code identification; if so, continuing to execute the step of analyzing the KEY code basic data packet by the main program of the current mainboard according to the scanned bar code identification, otherwise, sending error reporting information.
Further, the second burning module 640 is specifically configured to: obtaining various KEY codes from the target KEY code file according to the initial addresses of various KEY codes defined in the configuration file;
and burning the obtained various KEY codes to a target position.
Further, the apparatus further comprises: and the generating module is used for respectively generating a first KEY check code corresponding to each KEY code basic data packet and a first main check code corresponding to the main program through burning software of a burner after packaging each KEY code file to be burned and the configuration file for analyzing each KEY code file into one KEY code basic data packet based on the current order.
Further, the apparatus further comprises: the verification module is used for respectively generating a second KEY verification code corresponding to the KEY code basic data packet and a second main verification code corresponding to the main program through burning software of a burner before the KEY code basic data packet and the main program are respectively burned to a set storage position of a main memory of the target equipment of a current order in the main program burning stage of the target equipment;
determining the correctness of the KEY code basic data packet by comparing the second KEY check code with the first KEY check code;
and determining the correctness of the burning software by comparing the second main check code with the first main check code.
Further, the apparatus further comprises: and the pushing module is used for pushing a KEY code basic data upgrading packet to the target equipment with the same order through a background so as to replace the KEY code basic data upgrading packet with the KEY code basic data upgrading packet.
Further, the apparatus further comprises: the setting module is used for setting the flag bit of the upgrade KEY code; the upgrading module is used for acquiring a target KEY code upgrading file from the set storage position of the main memory based on the bar code identification of the current target equipment if the set upgrading KEY code flag bit is detected when the target equipment is restarted; and burning the target KEY code upgrading file to a target position.
In the data burning device provided in this embodiment, each KEY code file to be burned and a configuration file for analyzing each KEY code file are packaged into a KEY code basic data packet based on a current order; in a main program burning stage of target equipment, respectively burning the KEY code basic data packet and the main program to a set storage position of a main memory of the target equipment of a current order; in the mainboard production stage of the target equipment, scanning an identification bar code pasted on the current mainboard through a bar code scanning gun, and analyzing the KEY code basic data packet according to the scanned bar code identification through the main program of the current mainboard to obtain a target KEY code file matched with the bar code identification; burning the target KEY code file to a target position through the main program of the current mainboard; the technical means that the current mainboard comprises the main memory improves the data burning efficiency, and achieves the purpose that the bar code identification pasted on the mainboard is consistent with the KEY code burnt in the current mainboard.
The data burning device provided by the embodiment of the invention can execute the data burning method provided by any embodiment of the invention, and has the corresponding functional module and beneficial effect of the execution method. For details of the data burning method provided by any embodiment of the present invention, reference may be made to the technical details not described in detail in the above embodiments.
Example four
Fig. 7 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention. FIG. 7 illustrates a block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention. The electronic device 12 shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiment of the present invention.
As shown in FIG. 7, electronic device 12 is embodied in the form of a general purpose computing device. The components of electronic device 12 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 that couples various system components including the system memory 28 and the processing unit 16.
The system memory 28 may include computer system readable media in the form of volatile memory, such as Random Access Memory (RAM)30 and/or cache memory 32. The electronic device 12 may further include other removable/non-removable, volatile/nonvolatile computer system storage media. By way of example only, storage system 34 may be used to read from and write to non-removable, nonvolatile magnetic media (not shown in FIG. 7, and commonly referred to as a "hard drive"). Although not shown in FIG. 7, a magnetic disk drive for reading from and writing to a removable, nonvolatile magnetic disk (e.g., a "floppy disk") and an optical disk drive for reading from or writing to a removable, nonvolatile optical disk (e.g., a CD-ROM, DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to bus 18 by one or more data media interfaces. Memory 28 may include at least one program product having a set of program modules (e.g., packaging module 610, first burning module 620, parsing module 630, and second burning module 640 of the data burning device) configured to perform the functions of embodiments of the present invention.
A program/utility 40 having a set of program modules 42 (e.g., a packaging module 610, a first burning module 620, a parsing module 630, and a second burning module 640 of a data burning device) may be stored, for example, in memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination of which may comprise an implementation of a network environment. Program modules 42 generally carry out the functions and/or methodologies of the described embodiments of the invention.
The processing unit 16 executes various functional applications and data processing by running the program stored in the system memory 28, for example, implementing the data burning method provided by the embodiment of the present invention, the method includes:
based on the current order, packaging each KEY code file to be burned and a configuration file for analyzing each KEY code file into a KEY code basic data packet;
in a main program burning stage of target equipment, respectively burning the KEY code basic data packet and the main program to a set storage position of a main memory of the target equipment of a current order;
in the mainboard production stage of the target equipment, scanning an identification bar code pasted on the current mainboard through a bar code scanning gun, and analyzing the KEY code basic data packet according to the scanned bar code identification through the main program of the current mainboard to obtain a target KEY code file matched with the bar code identification;
burning the target KEY code file to a target position through the main program of the current mainboard;
among other things, current motherboards include main memory.
The processing unit 16 executes various functional applications and data processing, such as implementing the data burning method provided by the embodiment of the present invention, by executing the program stored in the system memory 28.
Of course, those skilled in the art can understand that the processor can also implement the technical solution of the data burning method provided by any embodiment of the present invention.
EXAMPLE five
The fifth embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program, when executed by a processor, implements the data burning method provided in the fifth embodiment of the present invention, where the method includes:
based on the current order, packaging each KEY code file to be burned and a configuration file for analyzing each KEY code file into a KEY code basic data packet;
in a main program burning stage of target equipment, respectively burning the KEY code basic data packet and the main program to a set storage position of a main memory of the target equipment of a current order;
in the mainboard production stage of the target equipment, scanning an identification bar code pasted on the current mainboard through a bar code scanning gun, and analyzing the KEY code basic data packet according to the scanned bar code identification through the main program of the current mainboard to obtain a target KEY code file matched with the bar code identification;
burning the target KEY code file to a target position through the main program of the current mainboard;
among other things, current motherboards include main memory.
Of course, the computer program stored on the computer-readable storage medium provided in the embodiments of the present invention is not limited to the method operations described above, and may also perform related operations in the data burning method provided in any embodiment of the present invention.
Computer storage media for embodiments of the invention may employ any combination of one or more computer-readable media. The computer readable medium may be a computer readable signal medium or a computer readable storage medium. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
A computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device.
Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
Computer program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, Smalltalk, C + + or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or the connection may be made to an external computer (for example, through the Internet using an Internet service provider).
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims (10)
1. A data burning method is characterized by comprising the following steps:
based on the current order, packaging each KEY code file to be burned and a configuration file for analyzing each KEY code file into a KEY code basic data packet;
in a main program burning stage of target equipment, respectively burning the KEY code basic data packet and the main program to a set storage position of a main memory of the target equipment of a current order;
in the mainboard production stage of the target equipment, scanning an identification bar code pasted on the current mainboard through a bar code scanning gun, and analyzing the KEY code basic data packet according to the scanned bar code identification through the main program of the current mainboard to obtain a target KEY code file matched with the bar code identification;
burning the target KEY code file to a target position through the main program of the current mainboard;
among other things, current motherboards include main memory.
2. The method of claim 1, wherein before parsing the KEY code basic data packet according to the scanned barcode identifier by the main program of the current motherboard, the method further comprises:
judging whether the bar code identification belongs to the current order or not according to the initial section of the scanned bar code identification through the main program of the current mainboard;
if so, continuing to execute the step of analyzing the KEY code basic data packet by the main program of the current mainboard according to the scanned bar code identification, otherwise, sending error reporting information.
3. The method of claim 1, wherein burning the target KEY code file to a target location through the main program of a current motherboard comprises:
obtaining various KEY codes from the target KEY code file according to the initial addresses of various KEY codes defined in the configuration file;
and burning the obtained various KEY codes to a target position.
4. The method of claim 1, wherein after packaging each KEY code file to be burned and a configuration file for parsing each KEY code file into a KEY code basic data packet based on the current order, the method further comprises:
and respectively generating a first KEY check code corresponding to the KEY code basic data packet and a first main check code corresponding to the main program through burning software of a burner.
5. The method as claimed in claim 4, wherein before the step of burning the KEY code basic data packet and the main program to the set storage location of the main memory of the target device of the current order respectively in the main program burning stage of the target device, the method further comprises:
respectively generating a second KEY check code corresponding to the KEY code basic data packet and a second main check code corresponding to the main program through burning software of a burner;
determining the correctness of the KEY code basic data packet by comparing the second KEY check code with the first KEY check code;
and determining the correctness of the burning software by comparing the second main check code with the first main check code.
6. The method of any one of claims 1-5, further comprising:
pushing a KEY code basic data upgrading packet to the target equipment with the same order through a background so as to replace the KEY code basic data packet with the KEY code basic data upgrading packet.
7. The method of claim 6, further comprising:
setting the flag bit of the upgrade KEY code;
when the target equipment is restarted, if the set upgrading KEY code flag bit is detected, acquiring a target KEY code upgrading file from the set storage position of the main memory based on the bar code identification of the current target equipment;
and burning the target KEY code upgrading file to a target position.
8. A data burning apparatus, comprising:
the system comprises a packaging module, a recording module and a processing module, wherein the packaging module is used for packaging each KEY code file to be burned and a configuration file for analyzing each KEY code file into a KEY code basic data packet based on a current order;
the first burning module is used for burning the KEY code basic data packet and the main program to a set storage position of a main memory of the target equipment of a current order at the main program burning stage of the target equipment;
the analysis module is used for scanning an identification bar code pasted on the current mainboard through a bar code scanning gun in the mainboard production stage of the target equipment, and analyzing the KEY code basic data packet according to the scanned bar code identification through the main program of the current mainboard to obtain a target KEY code file matched with the bar code identification;
the second burning module is used for burning the target KEY code file to a target position through the main program of the current mainboard;
among other things, current motherboards include main memory.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the data burning method according to any one of claims 1 to 7 when executing the computer program.
10. A storage medium containing computer-executable instructions, which when executed by a computer processor implement the data burning method of any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911156389.8A CN110928559B (en) | 2019-11-22 | 2019-11-22 | Data burning method and device, electronic equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911156389.8A CN110928559B (en) | 2019-11-22 | 2019-11-22 | Data burning method and device, electronic equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN110928559A true CN110928559A (en) | 2020-03-27 |
CN110928559B CN110928559B (en) | 2024-05-24 |
Family
ID=69850707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911156389.8A Active CN110928559B (en) | 2019-11-22 | 2019-11-22 | Data burning method and device, electronic equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN110928559B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111596929A (en) * | 2020-04-21 | 2020-08-28 | 创芯工坊科技(深圳)有限公司 | Burning method, device, system, equipment and medium |
CN111625248A (en) * | 2020-06-01 | 2020-09-04 | 杭州万高科技股份有限公司 | Programming device and encryption programming method |
CN111651173A (en) * | 2020-06-11 | 2020-09-11 | 深圳创维-Rgb电子有限公司 | Key code data burning method and device, terminal equipment and readable storage medium |
CN111984291A (en) * | 2020-08-12 | 2020-11-24 | 深圳创维-Rgb电子有限公司 | Data burning method, device, terminal and storage medium |
CN112114880A (en) * | 2020-08-07 | 2020-12-22 | 深圳市鼎盛光电有限公司 | Configuration method and device of smart television, smart television and storage medium |
CN113220312A (en) * | 2021-04-21 | 2021-08-06 | 福建新大陆通信科技股份有限公司 | Method and system for checking burning data of electronic equipment |
WO2023236806A1 (en) * | 2022-06-09 | 2023-12-14 | 广州视源电子科技股份有限公司 | Data burning method and apparatus, and computer device and computer-readable storage medium |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887754A (en) * | 2010-06-29 | 2010-11-17 | 深圳创维-Rgb电子有限公司 | Method and device for burning HDCP Key and digital equipment |
CN101923898A (en) * | 2010-07-29 | 2010-12-22 | 福建捷联电子有限公司 | HDCP_KEY burning method under insufficient Flash space of display |
CN103530146A (en) * | 2013-09-16 | 2014-01-22 | 成都交大光芒科技股份有限公司 | Low-power-consumption embedded device remote wireless updating method |
CN104349192A (en) * | 2014-10-24 | 2015-02-11 | 深圳创维-Rgb电子有限公司 | Factory and user data automatic programming method and system for intelligent television |
CN104916327A (en) * | 2015-05-22 | 2015-09-16 | 深圳创维-Rgb电子有限公司 | Method and system of simultaneously burning multiple television KEY codes on line |
CN107888978A (en) * | 2017-10-26 | 2018-04-06 | 深圳创维-Rgb电子有限公司 | KEY codes method for burn-recording, device and computer-readable recording medium |
CN109284114A (en) * | 2017-07-20 | 2019-01-29 | 深圳市中兴微电子技术有限公司 | The automatic method for burn-recording of programmable chip in embedded system |
CN109949054A (en) * | 2019-03-18 | 2019-06-28 | 深圳创维-Rgb电子有限公司 | Key code determines method, apparatus, equipment and storage medium |
CN110471676A (en) * | 2019-08-22 | 2019-11-19 | 深圳市讯盾科技有限公司 | MAC Address method for burn-recording and system |
-
2019
- 2019-11-22 CN CN201911156389.8A patent/CN110928559B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101887754A (en) * | 2010-06-29 | 2010-11-17 | 深圳创维-Rgb电子有限公司 | Method and device for burning HDCP Key and digital equipment |
CN101923898A (en) * | 2010-07-29 | 2010-12-22 | 福建捷联电子有限公司 | HDCP_KEY burning method under insufficient Flash space of display |
CN103530146A (en) * | 2013-09-16 | 2014-01-22 | 成都交大光芒科技股份有限公司 | Low-power-consumption embedded device remote wireless updating method |
CN104349192A (en) * | 2014-10-24 | 2015-02-11 | 深圳创维-Rgb电子有限公司 | Factory and user data automatic programming method and system for intelligent television |
CN104916327A (en) * | 2015-05-22 | 2015-09-16 | 深圳创维-Rgb电子有限公司 | Method and system of simultaneously burning multiple television KEY codes on line |
CN109284114A (en) * | 2017-07-20 | 2019-01-29 | 深圳市中兴微电子技术有限公司 | The automatic method for burn-recording of programmable chip in embedded system |
CN107888978A (en) * | 2017-10-26 | 2018-04-06 | 深圳创维-Rgb电子有限公司 | KEY codes method for burn-recording, device and computer-readable recording medium |
CN109949054A (en) * | 2019-03-18 | 2019-06-28 | 深圳创维-Rgb电子有限公司 | Key code determines method, apparatus, equipment and storage medium |
CN110471676A (en) * | 2019-08-22 | 2019-11-19 | 深圳市讯盾科技有限公司 | MAC Address method for burn-recording and system |
Cited By (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111596929A (en) * | 2020-04-21 | 2020-08-28 | 创芯工坊科技(深圳)有限公司 | Burning method, device, system, equipment and medium |
CN111596929B (en) * | 2020-04-21 | 2023-12-01 | 创芯工坊科技(深圳)有限公司 | Burning method, device, system, equipment and medium |
CN111625248A (en) * | 2020-06-01 | 2020-09-04 | 杭州万高科技股份有限公司 | Programming device and encryption programming method |
CN111625248B (en) * | 2020-06-01 | 2023-04-07 | 杭州万高科技股份有限公司 | Programming device and encryption programming method |
CN111651173A (en) * | 2020-06-11 | 2020-09-11 | 深圳创维-Rgb电子有限公司 | Key code data burning method and device, terminal equipment and readable storage medium |
CN111651173B (en) * | 2020-06-11 | 2024-03-26 | 深圳创维-Rgb电子有限公司 | Key code data burning method and device, terminal equipment and readable storage medium |
CN112114880A (en) * | 2020-08-07 | 2020-12-22 | 深圳市鼎盛光电有限公司 | Configuration method and device of smart television, smart television and storage medium |
CN111984291A (en) * | 2020-08-12 | 2020-11-24 | 深圳创维-Rgb电子有限公司 | Data burning method, device, terminal and storage medium |
CN111984291B (en) * | 2020-08-12 | 2024-05-24 | 深圳创维-Rgb电子有限公司 | Data burning method, device, terminal and storage medium |
CN113220312A (en) * | 2021-04-21 | 2021-08-06 | 福建新大陆通信科技股份有限公司 | Method and system for checking burning data of electronic equipment |
WO2023236806A1 (en) * | 2022-06-09 | 2023-12-14 | 广州视源电子科技股份有限公司 | Data burning method and apparatus, and computer device and computer-readable storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN110928559B (en) | 2024-05-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110928559B (en) | Data burning method and device, electronic equipment and storage medium | |
CN110297689B (en) | Intelligent contract execution method, device, equipment and medium | |
CN108319575B (en) | Page component checking method, device, server and storage medium | |
US20170139813A1 (en) | Method and device for checking influence of deleting cache file, and mobile terminal | |
CN110989926A (en) | Fault disk slot positioning method and device and electronic equipment | |
CN110659210A (en) | Information acquisition method and device, electronic equipment and storage medium | |
CN110688111A (en) | Configuration method, device, server and storage medium of business process | |
WO2022068316A1 (en) | Data reconciliation method and apparatus, device, and storage medium | |
CN111143434A (en) | Intelligent data checking method, device, equipment and storage medium | |
US20160170869A9 (en) | Systems and methods for in-place reorganization of device storage | |
CN113656301A (en) | Interface testing method, device, equipment and storage medium | |
CN112988192A (en) | Version updating method and device, electronic equipment and storage medium | |
CN106293708B (en) | Information processing method and storage device | |
CN111581098A (en) | Interface data transfer storage method, device, server and storage medium | |
CN109324838B (en) | Execution method and execution device of single chip microcomputer program and terminal | |
CN113590225B (en) | Mapping detection method and device, electronic equipment and storage medium | |
CN114253642B (en) | System information processing method, device, electronic equipment and medium | |
CN109740027B (en) | Data exchange method, device, server and storage medium | |
CN110262856B (en) | Application program data acquisition method, device, terminal and storage medium | |
CN113986385A (en) | Item font library loading method and device, electronic equipment and storage medium | |
KR101737575B1 (en) | Method and device for verifying data based on sql sentences generated automatically | |
CN111262727A (en) | Service capacity expansion method, device, equipment and storage medium | |
CN114218191B (en) | System function migration method, device, computer equipment and storage medium | |
CN113885963B (en) | Secondary development file execution method, device and storage medium | |
CN116483384A (en) | Information burning method and device, electronic equipment and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |