CN111698080B - Program file export and import method and device and multimedia playing box - Google Patents
Program file export and import method and device and multimedia playing box Download PDFInfo
- Publication number
- CN111698080B CN111698080B CN201910192815.7A CN201910192815A CN111698080B CN 111698080 B CN111698080 B CN 111698080B CN 201910192815 A CN201910192815 A CN 201910192815A CN 111698080 B CN111698080 B CN 111698080B
- Authority
- CN
- China
- Prior art keywords
- file
- authentication
- program file
- encrypted
- encryption
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 53
- 230000008676 import Effects 0.000 title claims abstract description 22
- 230000004044 response Effects 0.000 claims description 8
- 238000013478 data encryption standard Methods 0.000 description 11
- 230000008569 process Effects 0.000 description 4
- 230000008878 coupling Effects 0.000 description 3
- 238000010168 coupling process Methods 0.000 description 3
- 238000005859 coupling reaction Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 230000000694 effects Effects 0.000 description 3
- 238000000638 solvent extraction Methods 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000013459 approach Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/06—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols the encryption apparatus using shift registers or memories for block-wise or stream coding, e.g. DES systems or RC4; Hash functions; Pseudorandom sequence generators
- H04L9/0618—Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation
- H04L9/0625—Block ciphers, i.e. encrypting groups of characters of a plain text message using fixed encryption transformation with splitting of the data block into left and right halves, e.g. Feistel based algorithms, DES, FEAL, IDEA or KASUMI
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/602—Providing cryptographic facilities or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0816—Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
- H04L9/0819—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
- H04L9/0822—Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) using key encryption key
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3226—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using a predetermined code, e.g. password, passphrase or PIN
Abstract
The embodiment of the invention discloses a program file export method and device, a program file import method and device and a multimedia playing box. The program file export method comprises the following steps: responding to the program file export instruction to obtain an authentication password; performing encryption operation on the authentication password to obtain an encrypted authentication password; storing the encryption authentication password to an authentication file, and encrypting the authentication file according to a preset encryption key to obtain an encryption authentication file; reading a program file and encrypting the program file according to the preset encryption key to obtain an encrypted program file; and deriving the encrypted authentication file and the encrypted program file to a target device. The embodiment of the invention can improve the high protection and high reliability of the display screen broadcast program update.
Description
Technical Field
The present invention relates to the field of file processing and media playing technologies, and in particular, to a program file exporting method, a program file exporting device, a program file importing method, a program file importing device, and a multimedia playing box.
Background
The multimedia playing box has the functions of exporting and importing the program files to update the display screen to play the program, for example, a screen administrator exports the program files from other devices (such as a computer) by using a USB flash disk, and then imports the program files into the multimedia playing box to update the program to play. But this also gives the possibility that lawbreakers could tamper with the display screen to play the program in the same way. The traditional approach to this problem is to lock the multimedia playing box in a closed box to prevent contact by lawbreakers. However, the method also has the problems of poor protection performance, low reliability and the like, and the program played by the display screen is still possibly tampered.
Disclosure of Invention
The embodiment of the invention provides a program file export method and a device thereof, a program file import method and a device thereof and a multimedia playing box, which can improve the high protection and high reliability of the updating of a playing program of a display screen.
In one aspect, the method for exporting the program file provided by the embodiment of the invention comprises the following steps: responding to the program file export instruction to obtain an authentication password; performing encryption operation on the authentication password to obtain an encrypted authentication password; storing the encryption authentication password to an authentication file, and encrypting the authentication file according to a preset encryption key to obtain an encryption authentication file; reading a program file and encrypting the program file according to the preset encryption key to obtain an encrypted program file; and deriving the encrypted authentication file and the encrypted program file to a target device.
In one embodiment of the present invention, the performing the encryption operation on the authentication password to obtain an encrypted authentication password includes: and performing exclusive-or operation on the authentication password and a preset exclusive-or code.
In one embodiment of the present invention, the encryption mode adopted by the authentication file to be encrypted according to the preset encryption key is a DES encryption mode, and/or the encryption mode adopted by the program file to be encrypted according to the preset encryption key is a DES encryption mode.
In one embodiment of the present invention, the program file includes a media list, wherein the media list includes a media identifier and media playing time and repeat playing information corresponding to the media identifier; said exporting said encrypted authentication file and said encrypted program file to a target device comprises: and exporting the encrypted authentication file and the encrypted program file to the target device together with media corresponding to the media list in the program file.
On the other hand, the program file export device provided by the embodiment of the invention comprises: the authentication password acquisition module is used for responding to the program file export instruction to acquire an authentication password; the authentication password encryption module is used for carrying out encryption operation on the authentication password to obtain an encrypted authentication password; the authentication file encryption module is used for storing the encryption authentication password into an authentication file and encrypting the authentication file according to a preset encryption key to obtain an encrypted authentication file; the program file encryption module is used for reading a program file and encrypting the program file according to the preset encryption key to obtain an encrypted program file; and a file export module for exporting the encrypted authentication file and the encrypted program file to a target device.
In one embodiment of the present invention, the authentication password encryption module is specifically configured to: and performing exclusive-or operation on the authentication password and a preset exclusive-or code.
In one embodiment of the present invention, the authentication file encryption module is specifically configured to encrypt the authentication file according to the preset encryption key and in a DES encryption manner to obtain the encrypted authentication file, and/or the program file encryption module is specifically configured to encrypt the program file according to the preset encryption key and in a DES encryption manner to obtain the encrypted program file.
In one embodiment of the present invention, the program file includes a media list, wherein the media list includes a media identifier and media playing time and repeat playing information corresponding to the media identifier; the file export module is specifically configured to: and exporting the encrypted authentication file and the encrypted program file to the target device together with the playing media corresponding to the playing media list in the program file.
In still another aspect, a program file importing method provided by an embodiment of the present invention includes: reading an encrypted authentication file on the target device in response to the program file import instruction; decrypting the encrypted authentication file according to a preset decryption key to obtain an authentication file; reading an encrypted authentication password in the authentication file, and decrypting the encrypted authentication password to obtain an authentication password; and when the authentication password is consistent with a preset authentication password, reading the encrypted program file on the target device, and decrypting the encrypted program file according to a preset decryption key to obtain the program file.
In one embodiment of the present invention, the decryption mode adopted by the encrypted authentication file according to the preset decryption key to decrypt the encrypted authentication file to obtain the authentication file is a DES decryption mode, and/or the decryption mode adopted by the encrypted program file according to the preset decryption key is a DES decryption mode.
In one embodiment of the present invention, decrypting the encrypted authentication code to obtain an authentication code includes: and performing exclusive OR operation on the encryption authentication password and a preset exclusive OR code.
In still another aspect, an embodiment of the present invention provides a program file importing apparatus, including: the encryption authentication file reading module is used for responding to the program file importing instruction and reading the encryption authentication file on the target equipment; the encryption authentication file decryption module is used for decrypting the encryption authentication file according to a preset decryption key to obtain an authentication file; the authentication password decryption module is used for reading the encrypted authentication password in the authentication file and decrypting the encrypted authentication password to obtain an authentication password; and the program file decryption module is used for reading the encrypted program file on the target equipment when the authentication password is consistent with the preset authentication password, and decrypting the encrypted program file according to the preset decryption key to obtain the program file.
In yet another aspect, the embodiment of the present invention provides a multimedia playing box, configured to play a program to send the program to an LED display screen for displaying an image; the multimedia playing box comprises an embedded processor and a memory; wherein the memory stores instructions for execution by the embedded processor and the instructions cause the processor to perform operations to perform a program file import method as previously described.
The above technical solution may have the following advantages or benefits: according to the embodiment of the invention, the authentication password is encrypted and decrypted twice according to the preset password, and the program file is encrypted and decrypted once, so that the program file can be guided out and guided in only by appointed personnel (display screen management personnel), the possibility that lawless persons tamper with the display screen to play the program is avoided, and the high protection and high reliability of the program file updating process of the multimedia playing box are improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for the description of the embodiments 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 other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a program file export method according to a first embodiment of the present invention.
Fig. 2 is a schematic structural diagram of a program file deriving device according to a second embodiment of the present invention.
Fig. 3 is a flowchart of a program file importing method according to a third embodiment of the present invention.
Fig. 4 is a schematic structural diagram of a program file importing apparatus according to a fourth embodiment of the present invention.
Fig. 5 is a schematic structural diagram of a multimedia playing box according to a fifth embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
[ first embodiment ]
As shown in fig. 1, a program file export method provided in a first embodiment of the present invention includes the steps of:
s11: responding to the program file export instruction to obtain an authentication password;
s13: performing encryption operation on the authentication password to obtain an encrypted authentication password; and
s15: storing the encryption authentication password to an authentication file, and encrypting the authentication file according to a preset encryption key to obtain an encryption authentication file;
s17: reading a program file and encrypting the program file according to the preset encryption key to obtain an encrypted program file; and
s19: and exporting the encrypted authentication file and the encrypted program file to a target device.
In order to facilitate understanding of the present invention, each step of the program file exporting method of the present embodiment will be described in detail below.
The multimedia playing box has the function of guiding the program file to update the display screen to play the program. But before the program file is imported into the multimedia playing box, the program file needs to be encrypted by using a corresponding password when the program file is exported, so as to ensure high protection and high reliability of the program file import through validity verification when the program file is imported into the multimedia playing box. The program file export method of this embodiment is generally implemented by using software on a host computer, such as a PC, for example, program file export software, for example, by encrypting and protecting the program file to be exported using an authentication password, an exclusive or code, and an encryption key. The authentication password, the exclusive or code and the encryption key are all preset between the program file export software of the PC and the multimedia playing box. The program file herein includes, for example, a media list to be played on the multimedia playing box, where the media list includes media identifiers and media playing control information such as media playing time and repeat playing information corresponding to each media identifier.
First, an authentication password is acquired in response to a program file export instruction. When the program file needs to be exported, the screen administrator performs program file export operation on the program export software, and the program file export software responds to the program file export operation instruction to acquire the authentication password. Specifically, the program file exporting software automatically displays a password input interface for the user to input the authentication secret in response to the program exporting operation instruction. After the user inputs the authentication password and confirms, the authentication password is read in response to an operation instruction of the user. The authentication password is used for checking the identity legitimacy of the screen administrator when the program file is imported into the multimedia playing box.
Then, the authentication password is subjected to encryption operation to obtain an encrypted authentication password, which concretely comprises the following steps: and performing exclusive OR operation on the authentication password and a preset exclusive OR code. Thus, the authentication password completes one encryption.
And then, storing the encrypted authentication password into an authentication file, and encrypting the authentication file according to a preset encryption key to obtain an encrypted authentication file. The program file export software stores the encrypted authentication password into the file to obtain an authentication file, and encrypts the obtained authentication file according to a preset encryption key to obtain the encrypted authentication file. This completes the secondary encryption of the authentication password. The encryption method used here may be, for example, a symmetric encryption method such as DES (Data Encryption Standard ) encryption method, but other encryption methods may be used.
And secondly, reading the program file and encrypting the program file according to a preset encryption key to obtain an encrypted program file. The encryption method used here may be, for example, a symmetric encryption method such as DES encryption method, but other encryption methods may be used.
Finally, the encrypted authentication file and the encrypted program file are exported to the target device. The target device herein may be, for example, a mobile storage device such as a usb disk, a mobile hard disk, or the like. Of course, the target device may also be a multimedia playing box that needs to update the program, for example, the PC is connected to the multimedia playing box through a network cable, so that the PC may send the encrypted authentication file and the encrypted program file to the multimedia playing box directly through the network to update the program. It should be noted that, when the multimedia playing box does not have the corresponding media files to be played in the media list to be played in the program files, together with the encrypted authentication file and the encrypted program files, can be exported to the target device, so that the program file export is completed. The media file to be played is directly exported to the target device without encryption, so that the program file export time can be saved, and the efficiency is improved.
In summary, the embodiment of the invention can ensure high protection and high reliability in the process of exporting the program file by encrypting the authentication password twice and encrypting the program file once according to the preset password.
[ second embodiment ]
As shown in fig. 2, a second embodiment of the present invention provides a program file deriving apparatus 100. The program file deriving device 100 includes, for example, an authentication password acquisition module 110, an authentication password encryption module 130, an authentication file encryption module 150, a program file encryption module 170, and a file deriving module 190.
An authentication password acquisition module 110 for responding to the program file export instruction to acquire an authentication password;
an authentication password encryption module 130, configured to perform an encryption operation on the authentication password to obtain an encrypted authentication password;
the authentication file encryption module 150 is configured to store the encrypted authentication password into an authentication file, and encrypt the authentication file according to a preset encryption key to obtain an encrypted authentication file;
a program file encrypting module 170, configured to read a program file and encrypt the program file according to the preset encryption key to obtain an encrypted program file; and
a file export module 190, configured to export the encrypted authentication file and the encrypted program file to a target device.
The specific working procedure and technical effects between the modules in the program file deriving apparatus 100 in the present embodiment are referred to the description of the foregoing first embodiment.
[ third embodiment ]
As shown in fig. 3, a program file importing method according to a third embodiment of the present invention includes the steps of:
s31: reading an encrypted authentication file on the target device in response to the program file import instruction;
s33: decrypting the encrypted authentication file according to a preset decryption key to obtain an authentication file;
s35: storing the encryption authentication password to an authentication file, and encrypting the authentication file according to a preset encryption key to obtain an encryption authentication file; and
s37: and reading the program file and encrypting the program file according to the preset encryption key to obtain an encrypted program file.
In order to facilitate understanding of the present invention, each step of the program file import method of the present embodiment will be described in detail.
In view of the above, when the program content played by the multimedia playing box needs to be updated, a new program file from the target device needs to be imported into the multimedia playing box. The target device herein may be, for example, a mobile storage device such as a usb disk, a mobile hard disk, or the like. Of course, the target device may be a PC that stores the updated program file. For example, the multimedia playing box is connected to the PC through a network cable, so that the multimedia playing box can directly import program files from the PC through the network to update programs. In order to ensure the legitimacy of the imported program file, the imported program file needs to be subjected to legitimacy verification, so that high protection and high reliability of the imported program file are ensured. The program file importing method of the present embodiment may be implemented by terminal software on a multimedia playing box, for example, by using a preset authentication password, an exclusive or code and an encryption key to verify the validity of the file to be imported. The program file importing method provided in this embodiment is described below with a usb disk as an example.
First, in response to a program file import instruction, an encrypted authentication file on a target device is read. When the program file needs to be imported, the screen administrator connects the USB flash disk to the multimedia playing box of the program needing to be updated. After the screen administrator performs corresponding operations, such as clicking a program file import button, on the multimedia playing box, a terminal program on the multimedia playing box responds to a user operation instruction to read the encrypted authentication file in the U disk. The encrypted authentication file here may be the encrypted authentication file in the first embodiment.
And then decrypting the encrypted authentication file according to a preset decryption key to obtain an authentication file. The decryption method used here may be, for example, a symmetric encryption method such as DES decryption method, but other decryption methods may be used. This completes one decryption of the authentication password.
Then, reading the encrypted authentication password in the authentication file, and decrypting the encrypted authentication password to obtain the authentication password, wherein the method specifically comprises the following steps of: and carrying out exclusive-or operation on the encryption authentication password and a preset exclusive-or code. Thus, the secondary decryption of the authentication password is completed.
And finally, judging whether the decrypted authentication password is consistent with a preset authentication password preset in the multimedia playing box. When the authentication password is inconsistent with the preset authentication password, the identity verification is failed, which means that the program file importing operation is not executed by a screen administrator, and the terminal program immediately terminates the program importing flow. When the authentication password is consistent with the preset authentication password, the authentication is successful, which means that the program file importing operation is executed by a screen administrator, then the encrypted program file in the U disk is read, and the encrypted program file is decrypted according to a preset decryption key. The decryption method used here may be, for example, a symmetric encryption method such as DES decryption method, but other decryption methods may be used. When the encrypted program file is successfully decrypted to obtain the program file, the program file is imported, and then the multimedia playing box plays the corresponding media file to be played according to the program file configuration or schedule. When the encrypted program file is decrypted and the program file is not obtained, the program file is illegal, and the terminal program immediately terminates the program file import flow.
It should be noted that, when the multimedia playing box does not have the corresponding media files to be played in the media list to be played in the program files, the terminal program searches the USB flash disk, and the corresponding media files to be played are imported into the multimedia playing box.
In summary, the embodiment of the invention can ensure that the program file importing operation can only be completed by appointed personnel (display screen manager) through target equipment such as a USB flash disk by decrypting the authentication password twice and decrypting the program file once according to the preset password, thereby avoiding the possibility of illegal molecule tampering with the display screen to play programs and improving the high protection and high reliability of the program file updating process of the multimedia playing box.
[ fourth embodiment ]
As shown in fig. 4, a fourth embodiment of the present invention provides a program file import apparatus 300. Program file import apparatus 300 includes, for example: an encrypted authentication file reading module 310, an encrypted authentication file decrypting module 330, an authentication password decrypting module 350, and a program file decrypting module 370.
An encrypted authentication file reading module 310, configured to read an encrypted authentication file on the target device in response to the program file import instruction;
an encrypted authentication file decrypting module 330, configured to decrypt the encrypted authentication file according to a preset decryption key to obtain an authentication file;
an authentication password decrypting module 350, configured to read an encrypted authentication password in the authentication file, and decrypt the encrypted authentication password to obtain an authentication password; and
and the program file decryption module 370 is configured to read the encrypted program file on the target device when the authentication password is consistent with the preset authentication password, and decrypt the encrypted program file according to the preset decryption key to obtain the program file.
The specific working procedure and technical effects between the modules in the program file import apparatus 300 in this embodiment are referred to in the description of the foregoing third embodiment.
[ fifth embodiment ]
As shown in fig. 5, a fifth embodiment of the present invention provides a multimedia playing box 500 for playing a program to be transmitted to an LED display screen for image display. The multimedia play box 500 includes, for example, an embedded processor 510 and a memory 530. Wherein the memory 530 stores instructions 531 for execution by the embedded processor 510. The embedded processor 510 executes the instructions 531 to perform the program file import method as provided in the aforementioned third embodiment.
The specific working process and technical effects of the multimedia playing box 500 in this embodiment are referred to the description of the foregoing third embodiment, and are not repeated here.
In the several embodiments provided in the present invention, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the partitioning of elements is merely a logical functional partitioning, and there may be additional partitioning in actual implementation, e.g., multiple elements or components may be combined or integrated into another system, or some features may be omitted, or not implemented. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims (10)
1. A program file exporting method, comprising:
responding to the program file export instruction to obtain an authentication password;
performing encryption operation on the authentication password to obtain an encrypted authentication password;
storing the encryption authentication password to an authentication file, and encrypting the authentication file according to a preset encryption key to obtain an encryption authentication file;
reading a program file and encrypting the program file according to the preset encryption key to obtain an encrypted program file, wherein the program file comprises a media list, and the media list comprises a media identifier, and media playing time and repeated playing information corresponding to the media identifier; and
exporting the encrypted authentication file and the encrypted program file to a target device;
wherein the step of performing encryption operation on the authentication password to obtain an encrypted authentication password comprises the following steps: and performing exclusive-or operation on the authentication password and a preset exclusive-or code.
2. The program file deriving method according to claim 1, wherein the encryption mode adopted by encrypting the authentication file according to a preset encryption key to obtain an encrypted authentication file is DES encryption mode, and/or the encryption mode adopted by encrypting the program file according to the preset encryption key to obtain an encrypted program file is DES encryption mode.
3. The program file export method of claim 1, wherein the exporting the encrypted authentication file and the encrypted program file to a target device comprises: and exporting the encrypted authentication file and the encrypted program file to the target device together with media corresponding to the media list in the program file.
4. A program file deriving apparatus, comprising:
the authentication password acquisition module is used for responding to the program file export instruction to acquire an authentication password;
the authentication password encryption module is used for carrying out encryption operation on the authentication password to obtain an encrypted authentication password;
the authentication file encryption module is used for storing the encryption authentication password into an authentication file and encrypting the authentication file according to a preset encryption key to obtain an encrypted authentication file;
the program file encryption module is used for reading a program file and encrypting the program file according to the preset encryption key to obtain an encrypted program file, wherein the program file comprises a media list, and the media list comprises a media identifier, and media playing time and repeated playing information corresponding to the media identifier; and
a file export module for exporting the encrypted authentication file and the encrypted program file to a target device;
the authentication password encryption module is specifically configured to: and performing exclusive-or operation on the authentication password and a preset exclusive-or code.
5. The program file deriving device according to claim 4, wherein the authentication file encrypting module is specifically configured to encrypt the authentication file according to the preset encryption key and in a DES encryption manner to obtain the encrypted authentication file, and/or the program file encrypting module is specifically configured to encrypt the program file according to the preset encryption key and in a DES encryption manner to obtain the encrypted program file.
6. The program file exporting apparatus of claim 4, wherein the file exporting module is specifically configured to: and exporting the encrypted authentication file and the encrypted program file to the target device together with the playing media corresponding to the playing media list in the program file.
7. A program file importing method, comprising:
reading an encrypted authentication file on the target device in response to the program file import instruction;
decrypting the encrypted authentication file according to a preset decryption key to obtain an authentication file;
reading an encrypted authentication password in the authentication file, and decrypting the encrypted authentication password to obtain an authentication password; and
when the authentication password is consistent with a preset authentication password, reading an encrypted program file on the target device, and decrypting the encrypted program file according to a preset decryption key to obtain a program file, wherein the program file comprises a media list, and the media list comprises a media identifier, and media playing time and repeated playing information corresponding to the media identifier;
wherein decrypting the encrypted authentication password to obtain an authentication password comprises: and performing exclusive OR operation on the encryption authentication password and a preset exclusive OR code.
8. The program file importing method according to claim 7, wherein the decryption mode adopted for decrypting the encrypted authentication file according to the preset decryption key to obtain the authentication file is a DES decryption mode, and/or the decryption mode adopted for decrypting the encrypted program file according to the preset decryption key is a DES decryption mode.
9. A program file import apparatus, comprising:
the encryption authentication file reading module is used for responding to the program file importing instruction and reading the encryption authentication file on the target equipment;
the encryption authentication file decryption module is used for decrypting the encryption authentication file according to a preset decryption key to obtain an authentication file;
the authentication password decryption module is used for reading the encrypted authentication password in the authentication file and decrypting the encrypted authentication password to obtain an authentication password; and
the program file decryption module is used for reading an encrypted program file on the target device when the authentication password is consistent with a preset authentication password, and decrypting the encrypted program file according to a preset decryption key to obtain a program file, wherein the program file comprises a media list, and the media list comprises a media identifier, and media playing time and repeated playing information corresponding to the media identifier;
the authentication password decryption module is specifically configured to: and performing exclusive OR operation on the encryption authentication password and a preset exclusive OR code.
10. The multimedia playing box is characterized by being used for playing programs and sending the programs to an LED display screen for image display; the multimedia playing box comprises an embedded processor and a memory; wherein the memory stores instructions for execution by the embedded processor and the instructions cause the processor to perform operations for performing the program file import method of any of claims 7 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910192815.7A CN111698080B (en) | 2019-03-14 | 2019-03-14 | Program file export and import method and device and multimedia playing box |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201910192815.7A CN111698080B (en) | 2019-03-14 | 2019-03-14 | Program file export and import method and device and multimedia playing box |
Publications (2)
Publication Number | Publication Date |
---|---|
CN111698080A CN111698080A (en) | 2020-09-22 |
CN111698080B true CN111698080B (en) | 2024-03-15 |
Family
ID=72475010
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201910192815.7A Active CN111698080B (en) | 2019-03-14 | 2019-03-14 | Program file export and import method and device and multimedia playing box |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111698080B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JP2001202289A (en) * | 2000-01-18 | 2001-07-27 | Casio Comput Co Ltd | Security managing method and its program recording medium |
US7003667B1 (en) * | 1999-10-04 | 2006-02-21 | Canon Kabushiki Kaisha | Targeted secure printing |
KR20060107049A (en) * | 2005-04-07 | 2006-10-13 | 삼성전자주식회사 | Printing apparatus having security funcition and method for the same |
CN1925392A (en) * | 2006-09-08 | 2007-03-07 | 四川长虹电器股份有限公司 | Method for identification of equipment validity |
WO2008014565A1 (en) * | 2006-08-04 | 2008-02-07 | The Content Factory Pty Ltd | Digital content distribution systems apparatus and methods |
US7499551B1 (en) * | 1999-05-14 | 2009-03-03 | Dell Products L.P. | Public key infrastructure utilizing master key encryption |
CN102592637A (en) * | 2011-01-17 | 2012-07-18 | 深圳市润芯科技有限公司 | Method for realizing high-definition encrypted and authorized media player |
CN102684884A (en) * | 2012-05-24 | 2012-09-19 | 杭州华三通信技术有限公司 | Portal Web server and method for preventing off-line request forgery |
CN104125055A (en) * | 2014-06-25 | 2014-10-29 | 小米科技有限责任公司 | Encryption and decryption method and electronic device |
CN105828186A (en) * | 2016-03-23 | 2016-08-03 | 福建新大陆通信科技股份有限公司 | Set top box recorded program secondary encryption method |
CN106462718A (en) * | 2014-03-20 | 2017-02-22 | 微软技术许可有限责任公司 | Rapid data protection for storage devices |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011161494A1 (en) * | 2010-06-22 | 2011-12-29 | Sandisk Il Ltd. | Storage device, host device, and method for communicating a password between first and second storage devices using a double-encryption scheme |
-
2019
- 2019-03-14 CN CN201910192815.7A patent/CN111698080B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7499551B1 (en) * | 1999-05-14 | 2009-03-03 | Dell Products L.P. | Public key infrastructure utilizing master key encryption |
US7003667B1 (en) * | 1999-10-04 | 2006-02-21 | Canon Kabushiki Kaisha | Targeted secure printing |
JP2001202289A (en) * | 2000-01-18 | 2001-07-27 | Casio Comput Co Ltd | Security managing method and its program recording medium |
KR20060107049A (en) * | 2005-04-07 | 2006-10-13 | 삼성전자주식회사 | Printing apparatus having security funcition and method for the same |
WO2008014565A1 (en) * | 2006-08-04 | 2008-02-07 | The Content Factory Pty Ltd | Digital content distribution systems apparatus and methods |
CN1925392A (en) * | 2006-09-08 | 2007-03-07 | 四川长虹电器股份有限公司 | Method for identification of equipment validity |
CN102592637A (en) * | 2011-01-17 | 2012-07-18 | 深圳市润芯科技有限公司 | Method for realizing high-definition encrypted and authorized media player |
CN102684884A (en) * | 2012-05-24 | 2012-09-19 | 杭州华三通信技术有限公司 | Portal Web server and method for preventing off-line request forgery |
CN106462718A (en) * | 2014-03-20 | 2017-02-22 | 微软技术许可有限责任公司 | Rapid data protection for storage devices |
CN104125055A (en) * | 2014-06-25 | 2014-10-29 | 小米科技有限责任公司 | Encryption and decryption method and electronic device |
CN105828186A (en) * | 2016-03-23 | 2016-08-03 | 福建新大陆通信科技股份有限公司 | Set top box recorded program secondary encryption method |
Non-Patent Citations (1)
Title |
---|
数字版权管理系统中打包加密与认证机制的设计与实现;林丽;关德君;;沈阳工程学院学报(自然科学版);20120415(02);全文 * |
Also Published As
Publication number | Publication date |
---|---|
CN111698080A (en) | 2020-09-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
TWI741041B (en) | Unified programming environment for programmable devices | |
US10496811B2 (en) | Counterfeit prevention | |
TWI747836B (en) | Device birth certificate | |
CN101281468B (en) | Method and apparatus for generating firmware update file and updating firmware by using the firmware update file | |
CN109429222A (en) | A kind of pair of Wireless Communication Equipment upgrade procedure and the method for communication data encryption | |
CN101578608B (en) | Methods and apparatuses for accessing content based on a session ticket | |
CN110099064A (en) | A kind of document handling method based on Internet of Things, device, equipment and storage medium | |
CN110414248B (en) | Method for debugging microprocessor and microprocessor | |
WO2012075904A1 (en) | Method, device and system for verifying binding data card and mobile host | |
CN111191252A (en) | Encryption and decryption method and device for smart card operating system and storage medium | |
CN104104650A (en) | Data file visit method and terminal equipment | |
CN113014393B (en) | Password safe box system based on hardware encryption and application method | |
CN105022651B (en) | A kind of method for preventing piracy in equipment production process and firmware programming device | |
WO2017137481A1 (en) | A removable security device and a method to prevent unauthorized exploitation and control access to files | |
KR101043255B1 (en) | Usb hub device for providing datasecurity and method for providing datasecurity using the same | |
CN111698080B (en) | Program file export and import method and device and multimedia playing box | |
CN110300289A (en) | Video security management system and method | |
KR101711024B1 (en) | Method for accessing temper-proof device and apparatus enabling of the method | |
CN116633555A (en) | Method and system for terminal equipment data acquisition interaction | |
CN112054890A (en) | Screen configuration file exporting method, screen configuration file importing method, screen configuration file exporting device, screen configuration file importing device and broadcast control equipment | |
CN112688942B (en) | Electric energy meter firmware program upgrading method, device, medium and equipment based on ESAM | |
CN114780981A (en) | Method for storing security data, computer device and computer-readable storage medium | |
CN1898625A (en) | License information management apparatus and license information management method | |
JP2002149061A (en) | Rental contents distribution system and method therefor | |
CN114047947B (en) | Method for controlling program version of circuit board card with double FPGA (field programmable Gate array) architectures |
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 | ||
CB02 | Change of applicant information |
Address after: 710075 DEF101, Zero One Square, Xi'an Software Park, No. 72 Zhangbajie Science and Technology Second Road, Xi'an High-tech Zone, Shaanxi Province Applicant after: XI'AN NOVASTAR TECH Co.,Ltd. Address before: 710075 DEF101, Zero One Square, Xi'an Software Park, No. 72 Zhangbajie Science and Technology Second Road, Xi'an High-tech Zone, Shaanxi Province Applicant before: Xi'an NovaStar Tech Co.,Ltd. |
|
CB02 | Change of applicant information | ||
GR01 | Patent grant | ||
GR01 | Patent grant |