CN110086613B - Method and device for burning secret key, digital television board card and storage medium - Google Patents

Method and device for burning secret key, digital television board card and storage medium Download PDF

Info

Publication number
CN110086613B
CN110086613B CN201910351374.0A CN201910351374A CN110086613B CN 110086613 B CN110086613 B CN 110086613B CN 201910351374 A CN201910351374 A CN 201910351374A CN 110086613 B CN110086613 B CN 110086613B
Authority
CN
China
Prior art keywords
key
burning
burned
digital television
keys
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.)
Active
Application number
CN201910351374.0A
Other languages
Chinese (zh)
Other versions
CN110086613A (en
Inventor
饶林
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shikun Electronic Technology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Guangzhou Shikun Electronic Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Shiyuan Electronics Thecnology Co Ltd, Guangzhou Shikun Electronic Technology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201910351374.0A priority Critical patent/CN110086613B/en
Publication of CN110086613A publication Critical patent/CN110086613A/en
Application granted granted Critical
Publication of CN110086613B publication Critical patent/CN110086613B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0861Generation of secret information including derivation or calculation of cryptographic keys or passwords
    • H04L9/0863Generation of secret information including derivation or calculation of cryptographic keys or passwords involving passwords or one-time passwords
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0894Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Storage Device Security (AREA)

Abstract

The embodiment of the invention discloses a method and a device for burning a secret key, a digital television board card and a storage medium, and relates to the technical field of digital televisions. The method comprises the following steps: burning a reference key acquired through an external interface, wherein the reference key is selected from a key set to be burned; determining a local storage path of the rest keys corresponding to the reference key in the key set to be burned; and acquiring and burning the corresponding residual key according to each local storage path. By using the method, the technical problem of long time for burning the key on the production line is effectively solved, and the key on the production line is quickly burned.

Description

Method and device for burning secret key, digital television board card and storage medium
Technical Field
The embodiment of the invention relates to the technical field of digital televisions, in particular to a method and a device for burning a secret key, a digital television board card and a storage medium.
Background
With the diversified development of television functions, the functions and applications of digital televisions become more diversified, and in order to better protect the copyright of digital television contents, many applications on digital televisions need to burn corresponding keys for copyright protection. For example, High bandwidth Digital Content Protection (HDCP) is used to ensure that a High Definition signal transmitted by a High Definition Multimedia Interface (HDMI) or a Digital Video Interface (DVI) is not illegally recorded. The HDCP key is burned on the playing device or the display device which supports the HDCP protection technology.
At present, keys corresponding to applications on a digital television require an operator to complete burning through an external interface (such as a USB or a serial port) of a digital television board card on a production line. If an operator connects the upper computer and the digital television board card through a serial port tool, the digital television board card sequentially obtains keys corresponding to the applications from the upper computer and writes the keys into a key directory corresponding to the digital television board card. Therefore, the technical problems that the time for burning the keys is long and the burning efficiency is low when the keys corresponding to the applications are burned on the production line are caused.
Disclosure of Invention
The embodiment of the invention provides a method and a device for burning a secret key, a digital television board card and a storage medium, so as to save the time for burning the secret key on a production line.
In a first aspect, an embodiment of the present invention provides a method for burning a key, including:
burning a reference key acquired through an external interface, wherein the reference key is selected from a key set to be burned;
determining a local storage path of the rest keys corresponding to the reference key in the key set to be burned;
and acquiring and burning the corresponding residual key according to each local storage path.
In a second aspect, an embodiment of the present invention further provides a device for burning a key, including:
the reference key burning module is used for burning a reference key acquired through an external interface, and the reference key is selected from a key set to be burned;
the determining module is used for determining a local storage path of the residual key corresponding to the reference key in the key set to be burned;
and the acquisition module is used for acquiring and burning the corresponding residual key according to each local storage path.
In a third aspect, an embodiment of the present invention further provides a digital television board card, including:
one or more processors;
storage means for storing one or more programs;
the one or more programs are executed by the one or more processors, so that the one or more processors implement the method for burning the key provided by the embodiment of the invention.
In a fourth aspect, an 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 method for burning a key provided in the embodiment of the present invention.
The embodiment of the invention provides a method and a device for burning a key, a digital television board card and a storage medium. According to the technical scheme, only one reference key is burnt on the production line, the burning of the rest keys is automatically completed by the digital television board card, manual burning through an external interface on the production line is not needed, the time for burning the keys on the production line is effectively saved, the efficiency on the production line is improved, and the capacity of the digital television board card is improved.
Drawings
Fig. 1 is a schematic flowchart of a method for burning a key according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of a method for burning a key according to a second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a device for burning a secret key according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a digital television board card according to a fourth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Before discussing exemplary embodiments in more detail, it should be noted that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although a flowchart may describe the operations (or steps) as a sequential process, many of the operations can be performed in parallel, concurrently or simultaneously. In addition, the order of the operations may be re-arranged. The process may be terminated when its operations are completed, but may have additional steps not included in the figure. The processes may correspond to methods, functions, procedures, subroutines, and the like. In addition, the embodiments and features of the embodiments in the present invention may be combined with each other without conflict.
Example one
Fig. 1 is a schematic flowchart of a method for burning a key according to an embodiment of the present invention, where the method is applicable to burning a key, and in particular, the method is applicable to reducing the time for burning a key on a digital television board. The method can be executed by a device for burning the secret key, wherein the device can be realized by software and/or hardware and is generally integrated on a digital television board card, and in the embodiment, the digital television board card can be regarded as a printed circuit board in a digital television and can be used for controlling the operation of digital television hardware and various functional applications.
It can be understood that the key burning device can also be integrated on any terminal device, such as a computer, which needs to perform key burning. In this embodiment, taking the scenario that the method for burning the key is applied to the digital television board for key burning as an example, a person skilled in the art can determine the specific means for burning the key of other terminal devices according to the specific means adopted when the digital television board burns the key.
Before the digital television leaves a factory, an operator can burn keys corresponding to all the functional applications on the digital television board card, and the keys corresponding to all the functional applications need to be burnt to the digital television board card manually and sequentially by the operator at present, so that the time consumption is long. The invention provides a method for burning a key, which can effectively improve the time for burning the key on a production line.
As shown in fig. 1, a method for burning a key according to an embodiment of the present invention includes the following steps:
s101, burning a reference key acquired through an external interface, wherein the reference key is selected from a key set to be burned.
In this embodiment, the external interface may be understood as an external interface used for manually completing key burning in the digital television board card. Different burning means can correspond to different external interfaces, such as an operator burning a secret key through the external interfaces such as a USB or a serial port.
The reference key can be understood as a key used as a reference in the keys burned by the digital television board card at this time. And determining a key which needs to be automatically burnt in the digital television board card which is burnt at this time based on the reference key.
The key set to be burned can be understood as a set of keys required to be burned by each digital television board card to be subjected to key burning. For example, the key set to be burned may include key sets to be burned corresponding to the same batch of digital television boards, and it is not limited which digital circuit board corresponds to which key set to be burned, as long as each digital circuit board burns different key sets to be burned.
The key set to be burned can include all keys required to be burned by one digital circuit board card. Each digital television board card can have a unique key, each digital television board card can store a key set to be burned, and one key set to be burned can be selected for burning when the key of each digital television board card is burned.
The storage form of the key to be burned for each digital television board card in the key set to be burned is not limited, and only the corresponding key can be obtained when the key is burned. For example, each key may be stored in a key set to be burned in a matrix form, and the keys in different rows are keys required to be burned on different digital television boards. Each key in the key set to be burned can be stored in different addresses separately.
In the process of burning the key, the reference key obtained through the external interface can be burned firstly in the step, namely the reference key is burned through the external interface in a manual mode on a production line. Specifically, when burning the reference key, the step may be based on the specific function corresponding to the reference key, and burn the reference key into the corresponding key directory.
The method for burning the reference key acquired through the external interface is not limited, and a person skilled in the art can select a corresponding manual burning method for burning according to actual conditions. In the step, only the reference key obtained through the external interface is burnt, and the keys except the reference key do not need to be obtained and burnt through the external interface, so that the time for burning the key on a production line is reduced.
In addition, the step does not limit how to select the reference key from the key set to be burned. For example, a person skilled in the art can randomly select a key from keys required to be burned on the digital television board card as a reference key; and a key with the minimum key size in all keys required to be burned by the digital television board card can be selected as a reference key, so that the time for burning the reference key on a production line is further reduced.
After the reference key is burned, the key required to be automatically burned of the digital television board card can be determined based on the reference key so as to finish burning of the key of the digital television board card.
S102, determining a local storage path of the residual key corresponding to the reference key in the key set to be burned.
In this embodiment, the remaining key may be understood as a key, except for the reference key, of the keys that need to be burned in the digital television board at this time. The local storage path can be understood as the address of the remaining key stored in the digital television board card.
After the reference key is burned, the digital television board card can automatically burn the residual key. Specifically, in this step, a local storage path of the remaining key to be burned on the digital television board card may be determined first. The specific means for determining the local storage path of the residual key based on the reference key is not limited herein, and the specific means for determining the local storage path of the residual key based on the reference key may be determined based on the content pre-stored in the digital television board card for burning the key.
For example, the digital television board card may pre-store the key set to be burned and a key number association table formed by numbers corresponding to the keys to be burned. The key set to be burned can include all keys required to be burned by the digital television board card. The key number association table may store an association relationship between a reference key number corresponding to each digital television board card requiring key burning and a remaining key number corresponding to each digital television board card, and the key number association table may represent a storage address of each key in the digital television board.
The digital television board card may also have a key number association table and a key to be burned in the key set to be burned, except for a reference key, pre-stored therein, where the reference key may refer to a reference key corresponding to a different digital television board card in the key set to be burned.
After the reference key is burnt, a key number association table is searched based on a reference key number corresponding to the reference key, a residual key number corresponding to the reference key number is determined, and a local storage path of the corresponding residual key is determined based on the residual key number.
It can be understood that the remaining key number may include a local storage path of the corresponding remaining key, and after the remaining key number is determined, the corresponding local storage path may be directly read. The remaining key number may also be named directly with the local storage path of the remaining key. The remaining key numbers may also only serve as numbering, and the corresponding local storage path is determined based on the correspondence between the number and the corresponding local storage path.
It should be noted that the reference key burned in S101 may be predetermined or determined during burning. If the key set is determined during burning, the key set to be burned can be prestored in the digital television board card; if the reference key is predetermined, the digital television board card may pre-store the key to be burned in the key set to be burned, except the reference key, or may directly pre-store the key set to be burned.
And S103, acquiring and burning the corresponding residual key according to each local storage path.
After the local storage path of each residual key is determined, the residual keys can be directly obtained and burned in the step. Different residual keys can be stored in different addresses, corresponding residual keys are directly read based on the determined local storage path and then burnt to corresponding key directories, and compared with the method of burning keys through an external interface, the method is faster.
The burning means in this step can refer to the specific means for burning the reference key, and the difference is that the burning through the external interface is manual when the reference key is burned. The residual key burnt in the step is prestored in the digital television board card, burning is automatically completed by the digital television board card, and the digital television board card can be considered to burn the residual key which is locally prestored to the corresponding key directory respectively, so that the time for burning the key by the digital television board card is saved, the efficiency of a production line is improved, and the productivity of the digital television board card is improved.
The method for burning the key comprises the steps of firstly burning a reference key acquired through an external interface, then determining a local storage path of a residual key corresponding to the reference key from a key set to be burnt by taking the reference key as a reference, and burning the corresponding residual key under the local storage path. According to the technical scheme, only one reference key is burnt on the production line, the burning of the rest keys is automatically completed by the digital television board card, manual burning through an external interface on the production line is not needed, the time for burning the keys on the production line is effectively saved, the efficiency on the production line is improved, and the capacity of the digital television board card is improved.
Example two
Fig. 2 is a schematic flow chart of a method for burning a key according to a second embodiment of the present invention, where the second embodiment is optimized based on the foregoing embodiments. In this embodiment, the key set to be burned further embodies a key to be burned that includes at least two digital television boards.
Further, the present embodiment further optimizes the determining of the local storage path of the remaining keys corresponding to the reference key in the key set to be burned as: acquiring a reference key number of the reference key;
searching the reference key number from a key number association table corresponding to the key set to be burned to obtain a residual key number corresponding to the reference key number;
and obtaining a local storage path corresponding to each residual key from a preset serial number address association table.
On the basis of the above optimization, the optimization of the embodiment further includes: and locally storing a temporary storage key and a key number association table to a set directory, wherein the temporary storage key comprises the keys to be burned which are left in the key set to be burned except the reference keys corresponding to the digital television boards.
Further, the optimization of the embodiment further includes: and deleting the temporary storage key and the key number association table stored in the set directory after monitoring that the burning of the residual keys correspondingly stored in each local storage path is completed.
Further, in this embodiment, the obtaining and burning of the corresponding remaining secret key according to each local storage path specifically includes:
obtaining the corresponding stored residual key from each local storage path;
and burning the residual keys into corresponding key directories respectively.
Please refer to the first embodiment for a detailed description of the present embodiment.
As shown in fig. 2, a method for burning a key according to a second embodiment of the present invention includes the following steps:
s201, storing the temporary storage key and the key number association table locally under a set directory.
In this embodiment, the reference key is set before burning the reference key.
In this embodiment, the key set to be burned includes keys to be burned corresponding to the at least two digital television board cards, that is, the key set to be burned can be used for the at least two digital television board cards to perform key burning.
It can be understood that the at least two digital television board cards can select respective corresponding reference keys from the key set to be burned to determine respective corresponding remaining keys. Because the reference key is burned by an operator through an external interface, the step only needs to temporarily store the key and the key number association table when the data required by burning the key is prestored. The temporary storage key comprises keys to be burned in the key set to be burned except the reference keys corresponding to the digital television board cards, namely the remaining keys corresponding to the digital television board cards.
The key number association table may be understood as a table for characterizing the local storage path of the key. Such as a table characterizing the remaining key local storage path. The key number association table may store an association relationship between the reference key number corresponding to each digital television board card and the remaining key number corresponding to each digital television board card. After the reference key number corresponding to the reference key is determined, the corresponding residual key number can be uniquely determined by searching the key number association table, so that the corresponding local storage path is determined.
For example, suppose there are two digital television boards to be burned with the key, i.e. the digital television board 1 and the digital television board 2. The digital television board card 1 to-be-burned key may include: hdcp key, mac key, windows key and planeady key; the key to be burned of the digital television board card 2 may include: mac key, miracast key, hdcp key, and windows key.
Before production line production, the reference key of the digital television board 1 can be selected as hdcp key, and the reference key of the digital television board 2 can be selected as mac key. Then, a mapping relationship is established between the keys to be burned remaining on each digital television board card and the respective corresponding reference keys, for example, the mapping relationship established by the digital television board card 1 is as follows: hdcp0001- > mac 0001- > widine 0001- > planeand 0001, if the rest keys are included, the subsequent keys are analogized in turn. In the mapping relationship, the number corresponding to each key may be composed of a corresponding function and a local storage path of the key corresponding to the function, which is not limited herein, as long as the corresponding local storage path can be determined based on the information in the mapping.
And similarly, constructing the mapping relation of the digital television board card 2. The mapping relations of the digital television board card 1 and the digital television board card 2 are combined to form a key number association table. Based on the key label table and the reference key, the keys required to be burned by the digital television board 1 and the digital television board 2 can be respectively determined.
When burning the key, the temporary storage key and the key number association table can be locally stored in the set directory in the step, the specific position of the set directory is not limited, and people in the field can select the temporary storage key and the key number association table according to actual conditions, so long as the corresponding key can be read in the set directory when burning the key.
S202, burning a reference key acquired through an external interface, wherein the reference key is selected from a key set to be burned.
S203, acquiring a reference key number of the reference key.
In the present embodiment, the reference key number may be understood as a number of the reference key stored in the key number association table. The corresponding remaining key number can be determined based on the reference key number.
After the reference key is burned, the reference key number of the reference key can be read in the step, and the reference key number can be carried when the reference key is burned.
S204, searching the reference key number from the key number association table corresponding to the key set to be burned, and obtaining the residual key number corresponding to the reference key number.
In this embodiment, the key number association table may be a table that is constructed based on the key set to be burned and used for determining the local storage path of the key. The key number association table stores the association relationship between the reference key number corresponding to each digital television board card and the residual key number corresponding to each digital television board card. After the reference key number is obtained, the local storage path of the remaining key can be further determined. Specifically, in this step, the reference key number may be searched from the key number association table, and after the reference key number is found, the remaining key number corresponding to the reference key number is determined. If the reference key number is found to be: hdcp0001, corresponding to the remaining key number: mac 0001, windows 0001, and planeady 0001. So that the corresponding local storage path can be further determined.
S205, obtaining the local storage path corresponding to each residual key from the preset number address association table.
In this embodiment, the number address association table may be understood as an association table of key numbers and corresponding local storage paths. Based on the number address table, the local storage path corresponding to the remaining key number can be determined.
After the residual key number is obtained, the local storage path corresponding to the residual key number in the number address association table is searched and obtained.
S206, after monitoring that the burning of the residual keys correspondingly stored in each local storage path is completed, deleting the temporary storage keys and the key number association table stored in the set directory.
In this embodiment, in order to enable the digital television board to automatically complete the burning of the remaining keys, the temporary storage key and the key number association table are stored in the set directory. Therefore, after the burning of the remaining keys correspondingly stored in each local storage path is completed, the temporary storage keys and the key number association table stored in the set directory need to be deleted to increase the storage space.
The monitoring means for whether the key burning is completed or not is not limited herein, and those skilled in the art can determine the key burning by adopting different monitoring means. For example, it can be found whether a burned key exists in the corresponding key directory.
And S207, obtaining the corresponding stored residual key from each local storage path.
When the corresponding remaining keys are obtained and burned according to the local storage paths, the step may first obtain the corresponding stored remaining keys from the local storage paths for burning. Here, the acquisition timing of each remaining key is not limited, and the remaining keys may be acquired in parallel or may be acquired sequentially.
And S208, respectively burning the residual keys into the corresponding key directories.
After obtaining each residual key, the step may burn the residual key into the corresponding key directory.
The following is an exemplary description of embodiments of the invention:
the method for burning the key provided by the embodiment of the invention can be regarded as a method for burning the key quickly by using the digital points, a large number of keys need to be burned on a production line during the production of the digital television at present, and the key burning link occupies a large amount of production line time. In the embodiment, after a reference key is burnt for the digital television board card on the production line, the burning of the residual key is automatically completed by the mapping table prestored by the digital television board card, namely the key number association table, so that the production line time is effectively saved, and the productivity of the digital television board card is improved.
The specific operation comprises the following steps:
step 1, selecting a key before production as a reference, assuming that the hdcp key is selected as a reference key, then mapping the rest keys to be burnt and the hdcp key number to form a mapping table, such as hdcp0001- > mac 0001- > windows 0001- > planead 0001, and the subsequent keys are analogized in sequence;
and 2, prefabricating the mapping table completed in the step 1 into a board card program, and prefabricating the other keys except the hdcp keys to a board card end.
And 3, after finishing the burning of the hdcp on the production line, powering off and on the board card, and automatically inquiring whether the other keys are burnt or not by the program after the board card is powered on again. If not, automatically inquiring whether the current hdcp _ key is burned or not, and if yes, acquiring the number of the current hdcp key; or directly acquiring the number of the current hdcp key after being electrified again, sequentially inquiring the numbers of the rest keys from the mapping table, and then selecting the key with the corresponding number from the keys prefabricated by the slave card to finish burning. And after the burning of the rest keys required to be burned by the digital television board card is finished, deleting all the prefabricated keys and the mapping table.
The method for burning the key, provided by the embodiment of the invention, embodies the operation of collecting the key to be burnt, determining the local storage path and the operation of obtaining and burning the residual key; in addition, the optimization includes the operations of storing and deleting the stored content. By using the method, the temporary storage key and the key number list can be firstly stored in the digital television board card, so that after the reference key is burnt, the automatic burning of the residual key is realized, and the time for burning the key on a production line is reduced. When the residual key is automatically burnt, the local storage path of the residual key is determined based on the key number association table and the reference key number so as to obtain the corresponding stored residual key from the local storage path to finish burning, compared with manual burning through an external interface, the method is quicker, and the automatic burning process can be executed in parallel on time-consuming detection before the digital television board card is subjected to factory detection, so that the efficiency on a production line is improved.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a device for burning a key according to a third embodiment of the present invention, where the device is suitable for burning a key, and in particular, the device is suitable for reducing the time for burning a key on a digital television board. Wherein the device can be implemented by software and/or hardware and is generally integrated on a digital television board.
As shown in fig. 3, the apparatus includes: a reference key burning module 31, a determining module 32 and an obtaining module 33;
the reference key burning module 31 is configured to burn a reference key acquired through an external interface, where the reference key is selected from a key set to be burned;
a determining module 32, configured to determine a local storage path of a remaining key in the key set to be burned, where the remaining key corresponds to the reference key;
the obtaining module 33 is configured to obtain and burn the corresponding remaining secret key according to each local storage path.
In this embodiment, the apparatus firstly burns a reference key obtained through an external interface through a reference key burning module 31, where the reference key is selected from a key set to be burned; then, a local storage path of the rest keys corresponding to the reference key in the key set to be burned is determined through a determining module 32; and finally, acquiring and burning the corresponding residual key through the acquisition module 33 according to each local storage path.
The present embodiment provides a device for burning a key, which first burns a reference key obtained through an external interface, and then determines a local storage path of a remaining key corresponding to the reference key from a key set to be burned by using the reference key as a reference, so as to burn the corresponding remaining key under the local storage path. According to the technical scheme, only one reference key is burnt on the production line, the burning of the rest keys is automatically completed by the digital television board card, manual burning through an external interface on the production line is not needed, the time for burning the keys on the production line is effectively saved, the efficiency on the production line is improved, and the capacity of the digital television board card is improved.
Further, the key set to be burned is optimized to include keys to be burned of at least two digital television board cards.
On the basis of the above optimization, the determining module 32 is specifically configured to: acquiring a reference key number of the reference key;
searching the reference key number from a key number association table corresponding to the key set to be burned to obtain a residual key number corresponding to the reference key number;
and obtaining a local storage path corresponding to each residual key from a preset serial number address association table.
Based on the above technical solution, the device for burning a key in this embodiment optimizes the following steps:
and the storage module is used for locally storing a temporary storage key and a key number association table to a set directory, wherein the temporary storage key comprises the keys to be burned which are left in the key set to be burned except the reference keys corresponding to the digital television board cards.
Based on the above technical solution, the device for burning a key in this embodiment optimizes the following steps:
and the deleting module is used for deleting the temporary storage key and the key number association table stored in the set directory after monitoring that the burning of the residual keys correspondingly stored in each local storage path is completed.
Further, the obtaining module 33 is specifically configured to: obtaining the corresponding stored residual key from each local storage path;
and burning the residual keys into corresponding key directories respectively.
The device for burning the key can execute the method for burning the key provided by any embodiment of the invention, and has the corresponding functional module and the beneficial effect of the execution method.
Example four
Fig. 4 is a schematic structural diagram of a digital television board card according to a fourth embodiment of the present invention. As shown in fig. 4, a digital television board card provided in the fourth embodiment of the present invention includes: one or more processors 41 and storage 42; the number of the processors 41 in the digital television board card may be one or more, and one processor 41 is taken as an example in fig. 4; storage 42 is used to store one or more programs; the one or more programs are executed by the one or more processors 41, so that the one or more processors 41 implement the method for burning the key according to any of the embodiments of the present invention.
The digital television board card can further comprise: an input device 43 and an output device 44.
The processor 41, the storage device 42, the input device 43, and the output device 44 in the digital television board may be connected by a bus or other means, and the bus connection is exemplified in fig. 4.
The storage device 42 in the digital television board is used as a computer-readable storage medium, and can be used to store one or more programs, which may be software programs, computer-executable programs, and modules, such as program instructions/modules corresponding to the method for burning a key provided in one or two embodiments of the present invention (for example, the modules in the device for burning a key shown in fig. 3 include the reference key burning module 31, the determining module 32, and the obtaining module 33). The processor 41 executes various functional applications and data processing of the digital television board card by running software programs, instructions and modules stored in the storage device 42, that is, the method for burning the key in the above method embodiment is realized.
The storage device 42 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created from use of the digital television board card, and the like. Further, the storage 42 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, storage 42 may further include memory located remotely from processor 41, which may be connected to the device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 43 may be used to receive entered numeric or character information and to generate key signal inputs relating to user settings and function control of the digital television board. The output device 44 may include a display device such as a display screen.
And, when the one or more programs included in the above-mentioned digital tv board card are executed by the one or more processors 41, the programs perform the following operations:
burning a reference key acquired through an external interface, wherein the reference key is selected from a key set to be burned;
determining a local storage path of the rest keys corresponding to the reference key in the key set to be burned;
and acquiring and burning the corresponding residual key according to each local storage path.
EXAMPLE five
An embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, where the computer program is used for executing a method for burning a secret key when executed by a processor, and the method includes:
burning a reference key acquired through an external interface, wherein the reference key is selected from a key set to be burned;
determining a local storage path of the rest keys corresponding to the reference key in the key set to be burned;
and acquiring and burning the corresponding residual key according to each local storage path.
Optionally, the program may be further configured to perform a method for burning a key according to any embodiment of the present invention when executed by a processor.
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), a flash Memory, an optical fiber, a portable CD-ROM, an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. 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 a variety of forms, including, but not limited to: an electromagnetic signal, an optical signal, or any suitable combination of the foregoing. 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, wire, fiber optic cable, Radio Frequency (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 (9)

1. A method for burning a key, comprising:
burning a reference key acquired through an external interface, wherein the reference key is selected from a key set to be burned;
determining a local storage path of the rest keys corresponding to the reference key in the key set to be burned;
acquiring and burning a corresponding residual key according to each local storage path;
the key set to be burned comprises keys to be burned of at least two digital television board cards;
the reference key is a key which is used as a reference in all keys burnt by the digital television board card at this time.
2. The method of claim 1, wherein determining a local storage path of a remaining key in the key set to be burned corresponding to the reference key comprises:
acquiring a reference key number of the reference key;
searching the reference key number from a key number association table corresponding to the key set to be burned to obtain a residual key number corresponding to the reference key number;
and obtaining a local storage path corresponding to each residual key from a preset serial number address association table.
3. The method of claim 2, further comprising:
and locally storing the temporary storage key and the key number association table to a set directory, wherein the temporary storage key comprises the keys to be burned which are remained in the key set to be burned except the reference keys corresponding to the digital television boards.
4. The method of claim 3, further comprising:
and deleting the temporary storage key and the key number association table stored in the set directory after monitoring that the burning of the residual keys correspondingly stored in each local storage path is completed.
5. The method of claim 1, wherein obtaining and burning the corresponding remnant keys according to each of the local storage paths comprises:
obtaining the corresponding stored residual key from each local storage path;
and burning the residual keys into corresponding key directories respectively.
6. An apparatus for burning a key, comprising:
the reference key burning module is used for burning a reference key acquired through an external interface, and the reference key is selected from a key set to be burned;
the determining module is used for determining a local storage path of the residual key corresponding to the reference key in the key set to be burned;
the acquisition module is used for acquiring and burning the corresponding residual key according to each local storage path;
the key set to be burned comprises keys to be burned of at least two digital television board cards;
the reference key is a key which is used as a reference in all keys burnt by the digital television board card at this time.
7. The apparatus of claim 6, wherein the obtaining module is specifically configured to:
obtaining the corresponding stored residual key from each local storage path;
and burning the residual keys into corresponding key directories respectively.
8. A digital television board card, comprising:
one or more processors;
storage means for storing one or more programs;
when executed by the one or more processors, cause the one or more processors to implement a method of burning a key as recited in any one of claims 1-5.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out a method for burning a key as claimed in any one of claims 1 to 5.
CN201910351374.0A 2019-04-28 2019-04-28 Method and device for burning secret key, digital television board card and storage medium Active CN110086613B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910351374.0A CN110086613B (en) 2019-04-28 2019-04-28 Method and device for burning secret key, digital television board card and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910351374.0A CN110086613B (en) 2019-04-28 2019-04-28 Method and device for burning secret key, digital television board card and storage medium

Publications (2)

Publication Number Publication Date
CN110086613A CN110086613A (en) 2019-08-02
CN110086613B true CN110086613B (en) 2022-04-12

Family

ID=67417493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910351374.0A Active CN110086613B (en) 2019-04-28 2019-04-28 Method and device for burning secret key, digital television board card and storage medium

Country Status (1)

Country Link
CN (1) CN110086613B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111988142A (en) * 2020-08-25 2020-11-24 合肥美菱物联科技有限公司 Intelligent refrigerator key programming system and method
CN112565891B (en) * 2020-12-10 2021-10-29 四川长虹电器股份有限公司 Secret key burning and secret key matching method based on different storage devices of smart television
CN115515012A (en) * 2021-06-07 2022-12-23 广州视源电子科技股份有限公司 Key burning method and device, electronic equipment board card and storage medium
CN116170551B (en) * 2023-02-08 2024-03-15 深圳市灵犀智慧显示科技有限公司 Method for burning secret key of board card and TV board card

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050034153A1 (en) * 2003-08-08 2005-02-10 Maven Networks, Inc. System and method for delivery of broadband content with integrated interactive elements
WO2014111984A1 (en) * 2013-01-17 2014-07-24 株式会社ソニー・コンピュータエンタテインメント Information processing device and file management method
CN106131687A (en) * 2016-06-21 2016-11-16 深圳创维-Rgb电子有限公司 Data burning method and device
CN108304740B (en) * 2017-06-02 2021-01-08 深圳三诺信息科技有限公司 Method for burning digital product key
CN107391209B (en) * 2017-08-11 2020-11-27 宿迁市创盈知识产权服务有限公司 LED lamp control program burning method and device

Also Published As

Publication number Publication date
CN110086613A (en) 2019-08-02

Similar Documents

Publication Publication Date Title
CN110086613B (en) Method and device for burning secret key, digital television board card and storage medium
CN102857915B (en) Electronic equipment, intelligent terminal and the authentication method with wireless router
WO2016173348A1 (en) Network access method and mobile communications terminal
CN110908682B (en) Firmware upgrading method and system for vehicle controller, vehicle and storage medium
CN106062763A (en) Method and apparatus for displaying application and picture, and electronic device
CN109618315A (en) A kind of control method of lighting apparatus, device, storage medium and intelligent terminal
US20150178502A1 (en) Method of controlling message of electronic device and electronic device thereof
US20190057072A1 (en) Method, device and electronic equipment for switching name of desktop icon folder
CN104679900A (en) Application program searching method and device
CN109219028B (en) Equivalent device Bluetooth communication method and device based on cloud
CN111459523A (en) Image quality chip software upgrading method and device, electronic equipment and storage medium
CN103813439A (en) Method for terminal register and terminal
CN108052575A (en) File scanning method, equipment and storage medium
CN109218994B (en) Equivalent equipment Bluetooth communication method and device based on gateway
CN103648047A (en) Resource searching method and system of intelligent television
CN112653915A (en) Television-based sensing enabling method and device, television and storage medium
CN107734496A (en) Mobile terminal searches network control method, device and mobile terminal
CN103297516A (en) Multi-type providing method, multi-type providing system and multi-type providing device of applications
CN111262737A (en) Port configuration management method and device, storage medium and terminal
CN109471651A (en) A kind of firmware upgrade method, gateway and firmware upgrade system
CN106454419A (en) Data acquisition method, device and electronic equipment
CN113747423A (en) Cloud mobile phone state synchronization method, device, equipment, storage medium and program product
CN109189420B (en) System upgrading method, device, circuit board, equipment and storage medium
CN109933297B (en) Electronic device and control method of signal source thereof
CN107302605B (en) Configuration method and device of television proxy server, television 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