CN105320852A - MP3 file protection method - Google Patents
MP3 file protection method Download PDFInfo
- Publication number
- CN105320852A CN105320852A CN201410368682.1A CN201410368682A CN105320852A CN 105320852 A CN105320852 A CN 105320852A CN 201410368682 A CN201410368682 A CN 201410368682A CN 105320852 A CN105320852 A CN 105320852A
- Authority
- CN
- China
- Prior art keywords
- file
- encryption
- mobile phone
- tool
- length value
- 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.)
- Withdrawn
Links
Landscapes
- Telephonic Communication Services (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an MP3 file protection method. The MP3 file protection method is characterized in that an encryption tool located at the computer end is adopted for encryption of files in a computer, a decryption tool located in a mobile phone with an MP3 file playing function is adopted for decrypting the MP3 files downloaded in the mobile phone through the computer. By means of the protection method, the condition that a user copies the MP3 files to other mobile phones with the MP3 file playing function for use is avoided, and the purpose of copyright protection of MP3 files is achieved.
Description
Technical field
The present invention relates to a kind of guard method of mp3 file.
Background technology
MP3 is the abbreviation of MPEGAudioLayer3, i.e. third layer international standard compress technique.MP3 has high performance ratio of compression, is applicable to Internet Transmission environment narrower at present, day by day becomes the transmission standard of online digital music.
Conveniently user, mp3 file playing function is successfully integrated in mobile phone by increasing cell phone manufacturer at present, thus makes cellphone subscriber not need to buy the special mobile phone with file playing function in addition, can enjoy MP3 music.Become by web download the major way that the cellphone subscriber with mp3 file playing function obtains MP3 music now, the mobile phone with mp3 file playing function becomes the first-selection that people enjoy music just day by day.
But, because mobile phone has or the transmission interface of other form USB, and the file MP3 be stored in mobile phone can be copied on other mobile phone or device by user use, and then invade the digital publishing rights of described MP33 file.
Summary of the invention
For solving above-mentioned existing shortcoming, fundamental purpose of the present invention is the guard method of the mp3 file providing a kind of practicality, avoids user to be used to other mobile phone with file playing function by file copy, thus the copyright of protection mp3 file.
For reaching above-described object, following technical scheme is taked in the guard method of a kind of mp3 file of the present invention:
A kind of guard method of mp3 file; it is characterized in that; the file of Encryption Tool to computing machine being positioned at computer terminal is adopted to be encrypted; and adopt one to be positioned to have the decoding tool of the mobile phone of mp3 file playing function to decipher by the mp3 file of downloaded to this mobile phone, comprise the steps:
(1) Encryption Tool of computer terminal judges the length value that mp3 file marks, and sets up new mp3 file mark accordingly, makes new mp3 file mark and mp3 file frame synchronization;
(2) then Encryption Tool is encrypted frame by frame to mp3 file content, and cryptographic keys is mobile phone identification code inherently;
(3) in ciphering process, mp3 file produces frame synchronization skew, after encryption, writes in described mp3 file by frame synchronization side-play amount length value;
(4) decoding tool had in the mobile phone of mp3 file playing function reads and obtains the length value of mp3 file mark and the length value of mp3 file frame synchronization side-play amount after Encryption Tool encryption, and then returns the reference position of mp3 file frame;
(5) mp3 file content is read in the player buffer zone of mobile phone, and decoding tool is deciphered frame by frame to file content simultaneously, and decryption key is this mobile phone identification code inherently.
Adopt TEA algorithm as encryption and decipherment algorithm, described encryption and decryption key are the intrinsic IMEI of this mobile phone itself, described mp3 file mark is used for indicating related data message corresponding to every song, during broadcasting, the file player being positioned at mobile phone can read and show these data informations.
Described step (1) also comprises: if the length value >0 of mp3 file mark, then revise mp3 file mark so that the decoding tool in mobile phone identifies, and amended mp3 file is marked and file frame synchronization, if this length value≤0, represent in this mp3 file and do not add mp3 file mark or mp3 file mark is written into the telegram end of mp3 file, now write the header that new mp3 file is marked on mp3 file, so that decoding tool identifies, and described new mp3 file is marked and file frame synchronization, described step (4) also comprises, whether as calculated first Encryption Tool in mobile phone read and check the Encryption Tool encryption of mp3 file in machine, if not encryption, then decoding tool cannot identify this mp3 file, if through encryption, then read the length value of mp3 file mark and the length value of mp3 file frame synchronization side-play amount.
Adopt the present invention of as above technical scheme, there is following beneficial effect:
By the encryption of Encryption Tool and the deciphering of decoding tool, avoid user and mp3 file is copied on other mobile phone with mp3 file playing function and uses, thus reach the object of protection mp3 file copyright.
Accompanying drawing explanation
Fig. 1 is the encryption flow figure of the guard method of a kind of mp3 file of the present invention.
Fig. 2 is the deciphering process flow diagram of the guard method of a kind of mp3 file of the present invention.
Embodiment
In order to further illustrate the present invention, be described further below in conjunction with accompanying drawing:
The guard method of a kind of mp3 file of the present invention, comprise the steps: (1) in download to one there is the mobile phone of mp3 file playing function before, adopt one be positioned at computer terminal the mp3 file of Encryption Tool to computing machine be encrypted; (2) when this mp3 file by downloaded to this mobile phone while carrying out playing, adopts the decoding tool being positioned at mobile phone to decipher this mp3 file through the encryption of described Encryption Tool.
Refer to Fig. 1, ciphering process comprises the steps:
(1) described Encryption Tool chooses mp3 file, and then learn the length value that mp3 file marks, described mp3 file mark is used for indicating the related data messages such as author corresponding to every song, singer, days, affiliated special edition, during broadcasting, the mp3 file player being positioned at mobile phone can read and show these data informations;
(2) if the length value >0 of mp3 file mark, then revise mp3 file mark so that decoding tool identifies, and amended mp3 file is marked and mp3 file frame synchronization; If this length value 30, represent in this file and do not add mp3 file mark or mp3 file mark is written into the telegram end of file, now write the header that new mp3 file is marked on mp3 file, so that decoding tool identifies, and make described new file mark and mp3 file frame synchronization;
(3) then, Encryption Tool reads mp3 file content and uses TEA (TinyEncryptionAlgorithm) algorithm to encrypt frame by frame mp3 file content, cryptographic keys is manufacturer is that this has the fixing identification code of the mobile phone setting of mp3 file playing function, in the present embodiment, it is the IMEI (IMEI) that this mobile phone is intrinsic;
(4) in ciphering process, mp3 file can produce frame synchronization skew, after to mp3 file content-encrypt, is write in described mp3 file by the length value of frame synchronization side-play amount, so far encrypts end.
Encryption terminate after, the mp3 file in computing machine be downloaded to by USB transmission interface there is mp3 file playing function mobile phone in, during broadcasting, mp3 file in this mobile phone by limit decipher frame by frame limit play.
Refer to Fig. 2, decrypting process comprises the steps:
(1) first decoding tool reads mp3 file, check whether mp3 file is encrypted through above-mentioned Encryption Tool, if not through the encryption of above-mentioned Encryption Tool, decoding tool cannot identify this mp3 file, if through the encryption of above-mentioned Encryption Tool, then obtain the length value of mp3 file mark and the length value of mp3 file frame synchronization side-play amount after the encryption of this Encryption Tool simultaneously, and then the reference position of backspace file frame;
(2) then, the player buffer zone of mobile phone starts to read mp3 file content, decoding tool uses TEA algorithm to decipher frame by frame mp3 file content afterwards, decryption key is manufacturer is that this has the fixing identification code of the mobile phone setting of mp3 file playing function, in this embodiment, it is the IMEI (IMEI) that this mobile phone is intrinsic;
(3) decrypted mp3 file frame is to be played in player buffer zone etc., and player is play file frame decrypted in buffer zone, until mp3 file content all finishes, so far the decrypting process of whole mp3 file terminates.
It is to be noted this file MP3 encryption and decryption method is particularly useful for without permission or the mp3 file of piracy, to reach the object of protection MP3 copyright.
Claims (3)
1. the guard method of a mp3 file; it is characterized in that; the file of Encryption Tool to computing machine being positioned at computer terminal is adopted to be encrypted; and adopt one to be positioned to have the decoding tool of the mobile phone of mp3 file playing function to decipher by the mp3 file of downloaded to this mobile phone, comprise the steps:
(1) Encryption Tool of computer terminal judges the length value that mp3 file marks, and sets up new mp3 file mark accordingly, makes new mp3 file mark and mp3 file frame synchronization;
(2) then Encryption Tool is encrypted frame by frame to mp3 file content, and cryptographic keys is mobile phone identification code inherently;
(3) in ciphering process, mp3 file produces frame synchronization skew, after encryption, writes in described mp3 file by frame synchronization side-play amount length value;
(4) decoding tool had in the mobile phone of mp3 file playing function reads and obtains the length value of mp3 file mark and the length value of mp3 file frame synchronization side-play amount after Encryption Tool encryption, and then returns the reference position of mp3 file frame;
(5) mp3 file content is read in the player buffer zone of mobile phone, and decoding tool is deciphered frame by frame to file content simultaneously, and decryption key is this mobile phone identification code inherently.
2. the guard method of a kind of mp3 file according to claim 1; it is characterized in that; adopt TEA algorithm as encryption and decipherment algorithm; described encryption and decryption key are the intrinsic IMEI of this mobile phone itself; described mp3 file mark is used for indicating related data message corresponding to every song; during broadcasting, the file player being positioned at mobile phone can read and show these data informations.
3. the guard method of a kind of mp3 file as claimed in claim 1, it is characterized in that, described step (1) also comprises: if the length value >0 of mp3 file mark, then revise mp3 file mark so that the decoding tool in mobile phone identifies, and amended mp3 file is marked and file frame synchronization, if this length value≤0, represent in this mp3 file and do not add mp3 file mark or mp3 file mark is written into the telegram end of mp3 file, now write the header that new mp3 file is marked on mp3 file, so that decoding tool identifies, and described new mp3 file is marked and file frame synchronization, described step (4) also comprises, whether as calculated first Encryption Tool in mobile phone read and check the Encryption Tool encryption of mp3 file in machine, if not encryption, then decoding tool cannot identify this mp3 file, if through encryption, then read the length value of mp3 file mark and the length value of mp3 file frame synchronization side-play amount.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410368682.1A CN105320852A (en) | 2014-07-30 | 2014-07-30 | MP3 file protection method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201410368682.1A CN105320852A (en) | 2014-07-30 | 2014-07-30 | MP3 file protection method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105320852A true CN105320852A (en) | 2016-02-10 |
Family
ID=55248227
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201410368682.1A Withdrawn CN105320852A (en) | 2014-07-30 | 2014-07-30 | MP3 file protection method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105320852A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106096334A (en) * | 2016-06-02 | 2016-11-09 | 中国传媒大学 | The encryption method of hypermedia data and encryption device, decryption method and deciphering device |
-
2014
- 2014-07-30 CN CN201410368682.1A patent/CN105320852A/en not_active Withdrawn
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106096334A (en) * | 2016-06-02 | 2016-11-09 | 中国传媒大学 | The encryption method of hypermedia data and encryption device, decryption method and deciphering device |
CN106096334B (en) * | 2016-06-02 | 2021-11-19 | 中国传媒大学 | Method and device for encrypting hypermedia data, method and device for decrypting hypermedia data |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8700897B2 (en) | Method and terminal equipment for applying digital rights management | |
CN101231622B (en) | Data storage method and equipment base on flash memory, as well as data fetch method and apparatu | |
US9489520B2 (en) | Decryption and encryption of application data | |
KR101284676B1 (en) | Cryptography-based copy protection system and method for android apps | |
JP5154830B2 (en) | Content distribution system | |
HK1090485A1 (en) | On-chip storage, creation, and manipulation of an encryption key | |
CN102355463B (en) | Digital document encryption method | |
JP2002330126A5 (en) | ||
US9787479B2 (en) | Challenge-response method and associated client device | |
CN101174941B (en) | Off-line digital copyright protection method and device for mobile terminal document | |
CN103888475A (en) | Method and device for protecting multimedia data | |
CN102572750A (en) | Method and terminal for protecting short messages | |
JP2016129403A (en) | System and method for obfuscated initial value of encrypted protocol | |
CN101795195B (en) | Method for restricting encrypted certificated electronic map with variable information | |
CN100580684C (en) | Method for ciphering and deciphering embedded type multimedia file | |
CN104092680A (en) | Coding and decoding method, device and system for audio signal | |
CN105847869A (en) | Encrypted playing method and apparatus | |
CN105320852A (en) | MP3 file protection method | |
CN100385422C (en) | MP3 file encryption and decryption method | |
CN107391970B (en) | Function access control method and device in Flash application program | |
CN100464341C (en) | Generation and management method for digital content use trace based on reliable computing technology | |
CN102855419A (en) | Copyright protection method for data files of intelligent terminals | |
CN105426701A (en) | Methods and apparatuses for encrypting and offline reading of electronic book and electronic book copyright protection system | |
CN116226890A (en) | Audio file processing method and device, electronic equipment and storage medium | |
CN116506207A (en) | Early education equipment resource encryption and decryption protection method |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C04 | Withdrawal of patent application after publication (patent law 2001) | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20160210 |