CN113014965A - Video processing method in TF card - Google Patents

Video processing method in TF card Download PDF

Info

Publication number
CN113014965A
CN113014965A CN202110235934.3A CN202110235934A CN113014965A CN 113014965 A CN113014965 A CN 113014965A CN 202110235934 A CN202110235934 A CN 202110235934A CN 113014965 A CN113014965 A CN 113014965A
Authority
CN
China
Prior art keywords
video
card
file
encryption
playing
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.)
Pending
Application number
CN202110235934.3A
Other languages
Chinese (zh)
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.)
Chengdu Zhihao Huizhi Technology Co ltd
Original Assignee
Chengdu Zhihao Huizhi 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 Chengdu Zhihao Huizhi Technology Co ltd filed Critical Chengdu Zhihao Huizhi Technology Co ltd
Priority to CN202110235934.3A priority Critical patent/CN113014965A/en
Publication of CN113014965A publication Critical patent/CN113014965A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs
    • H04N21/4405Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream or rendering scenes according to encoded video stream scene graphs involving video stream decryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/20Servers specifically adapted for the distribution of content, e.g. VOD servers; Operations thereof
    • H04N21/23Processing of content or additional data; Elementary server operations; Server middleware
    • H04N21/234Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs
    • H04N21/2347Processing of video elementary streams, e.g. splicing of video streams or manipulating encoded video stream scene graphs involving video stream encryption
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/80Generation or processing of content or additional data by content creator independently of the distribution process; Content per se
    • H04N21/85Assembly of content; Generation of multimedia applications
    • H04N21/854Content authoring
    • H04N21/85406Content authoring involving a specific file format, e.g. MP4 format

Landscapes

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

Abstract

The invention discloses a video processing method in a TF card, which comprises the following steps: splitting a video: splitting a complete video file in the TF card to enable the complete video file to be split into a plurality of block files; video encryption: encrypting all the block files and generating a loading sequence list; video decryption: the method includes the steps that the TF card is inserted into playing equipment, encryption key files in the TF card are obtained, and then all partitioned files are decrypted and played according to a loading sequence list.

Description

Video processing method in TF card
Technical Field
The invention relates to the field of data encryption and program protection of mobile electronic equipment, in particular to a video processing method in a TF card.
Background
The encryption protection method in the field is mainly characterized in that a software algorithm is encrypted through a specified method and then analyzed and played through a specified player, or the encryption protection method is encrypted through a U shield and then verified through a specified SDK and then analyzed and played through the specified player, the scheme can solve the problems of data encryption and program protection, but the U shield is mostly used for a PC, and a mobile device does not have a standard USB interface, so that data security can be completed only by selecting a software scheme, and the method has more and more problems and limits along with the development of network security and information security, and is easy to bypass through technical means.
Disclosure of Invention
The invention aims to overcome the defects, and a video data encryption and program protection solution with strong pertinence, multiple limiting conditions, difficulty in copying and solving and rapid application is formed by combining the standard TF card with the CPU, the memory, the hard disk, the network card of the tablet personal computer and the running data generated in the running container of the software program, so as to ensure that the data information of a company is protected.
In order to achieve the above object, the present invention provides a method for processing video in a TF card, which is characterized by comprising the following steps:
splitting a video: splitting a complete video file in the TF card to enable the complete video file to be split into a plurality of block files;
video encryption: encrypting all the block files and generating a loading sequence list;
video decryption: and inserting the TF card into the playing equipment, acquiring the encryption key file in the TF card, and then decrypting and playing all the block files according to the loading sequence list.
Preferably, before the video splitting process, data encryption is performed by writing batch TF serial numbers and TF manufacturer IDs into the TF card, and encryption is performed by using the TF serial numbers and the TF manufacturer IDs to obtain a first encryption value.
Preferably, in the video splitting process, the video file is split into a plurality of block files and an index file, and the index file contains the playing sequence of the plurality of block files.
Preferably, in the video encryption step, the MD5 encryption module is used to perform secondary encryption on the first encrypted value, the last generated video file is a plurality of encrypted block files, each encrypted block file and the index file are combined to generate a loading sequence list, and when the video is loaded and played, the index file is loaded first, and then the encrypted block files are obtained, so as to decrypt and play according to a defined sequence.
Preferably, in the video decryption step, after the TF card is inserted into the playing device, the related data information of the playing device is obtained, a zhiliaop. If the key data is not available, the playing program of the playing device cannot be started.
Preferably, the related data information of the playback device includes hardware information of the playback device, and the hardware information includes a CPU serial number, a hardware serial number, a memory serial number, and a Mac address of the playback device.
Preferably, before the video decryption step, the method further comprises an identification process of the TF card, a detection module is arranged in the playing device, and when the detection module detects that the TF card is inserted into the playing device, the key in the TF card is read, so that the playing device reads and plays the video.
Preferably, if the TF card cannot be recognized or the zhiliaopad.key cannot be read from the TF card, the playback apparatus cannot be started.
The invention has the beneficial effects that: the method effectively improves the expansion space of the windows tablet computer, and effectively combines the data card and the operating system together to form an integral solution for security verification and data validity verification, thereby protecting the requirements on the security and uniqueness of the content. Meanwhile, the memory card is convenient to carry and take in practical use, so that a larger application space is provided for data classification application and application classification design.
Drawings
FIG. 1 is a diagram of the main steps of the present application;
FIG. 2 is a block cipher flowchart of the TF card of the present application;
FIG. 3 is a flow chart of video playback according to the present application;
fig. 4 is a flowchart of "desktop" loading recognition in the present application.
Detailed Description
In order to make the present invention clearer, the following description of the present invention is further described with reference to the accompanying drawings and examples, it being understood that the examples listed in the present specification are only one of the specific embodiments of the present application and do not represent the specific protection scope of the present application, and the present invention shall fall within the protection scope of the present application without any inventive work in the light of the instant teaching of the present application.
Referring to fig. 1, the present invention discloses a method for processing video in a TF card, comprising the following steps: splitting a video: splitting a complete video file in the TF card to enable the complete video file to be split into a plurality of block files; video encryption: encrypting all the block files and generating a loading sequence list; video decryption: and inserting the TF card into the playing equipment, acquiring the encryption key file in the TF card, and then decrypting and playing all the block files according to the loading sequence list. In this embodiment, a complete video is first split into a plurality of different block files, the block files are labeled, all label information is sorted into an index file, and after the complete video is split, even if data leakage occurs, only part of the data is leaked, and a complete video information cannot be obtained, so that the related data information can be effectively protected.
Referring to fig. 2 to 4, the following detailed description will be made in terms of specific embodiments, after a brand new TF card is inserted into a related device, the related device reads SID and CID information (i.e. TF card serial number and TF card manufacturer ID) of the TF card, obtains encrypted data key by using MD5 encryption method in combination with the SID and CID information of the TF card, and generates a playing container with key, i.e. a first encrypted value; then converting an MP4 file into a standard file with 'moov', 'moof' and 'mdat' by a file method for an MP4 video source file to be blocked, blocking and encrypting data by an MP4toDash method, wherein encryption parameters and data are keys generated after encryption-key is sid + cidMD5, and generating a blocked video folder and an encryption file packet after the generation is finished to obtain a dash index file, wherein the blocked video file and the encryption file packet are stored in a TF card; more specifically, the generated video files are a plurality of encrypted partitioned files, the sequence of each file is disordered, each file is encrypted, each video file is uniformly managed by an index file stream.zlt, a loading sequence list of encrypted partitioned files is arranged in the stream.zlt file, when a video is loaded and played, the index file is loaded firstly, the encrypted partitioned files are obtained, then the stream.zlt file is connected with the sequence of marks in the stream.zlt file for decryption, the decryption method is automatically completed by a Dash player, and the files cached by the player are also in an encrypted state due to the adoption of the Dash technology, so that the problem of data leakage cannot be caused.
After the TF card is connected to the tablet personal computer, before video playing is performed, the correctness and the legality of a video playing module and data need to be verified, after the player of the tablet personal computer is formed and started for the first time, hardware information in the current tablet personal computer, such as a CPU (central processing unit) serial number, a hardware serial number, a memory serial number and Mac (machine address) address data, is obtained, a Zhiliaop.key is generated through base64+ AES256 encryption, the generated Zhiliaop.key is used as verification data in a program player, and if the Zhiliaop.key data are incorrect or do not exist, the player refuses playing. Key data, if not already present, the program cannot be started. In the specific implementation process, after the player is opened, firstly, a detection module in the player detects whether a legal Zhiliaop.key exists in the TF card, if so, the file is directly copied into the player, and the Zhiliaop.key is implanted into a player container layer, so that video is requested, when the Zhiliaop.key in the player is the same as the Zhiliaop.key in the TF card and a key generated in the video encryption process, a video picture is normally played, and if not, illegal or no authority is prompted, and the video is paused.
In order to further ensure that the data is not leaked, a certain degree of modification is required for the playing device, for example, when a windows tablet computer is used, the tablet computer is specially modified, a new program is embedded into the tablet computer, for example, a new dedicated application "desktop program" dedicated for learning to see video data and dedicated to the tablet computer is embedded into the tablet computer to replace the original desktop program, the loading judgment of the program takes a card slot of the tablet computer as a judgment condition, after a user inserts a TF card into the card slot of the tablet computer, the program finds a partition of the TF card in a hardware driver of the window, then finds an encryption key file zhiliaopad key of the pre-written TF card under the partition, if the file can be found, the "desktop program" exists in the TF card, then the window system loads and starts the "desktop program" dedicated application "dedicated for learning to see video data, if the file does not exist, the TF card is illegal or the TF card is not inserted, the system loads and starts the original desktop program of the system, and the problems of the legality of the used program and the compatibility of the system are guaranteed.
The above disclosure is only for a few specific embodiments of the present invention, but the present invention is not limited thereto, and any variations that can be made by those skilled in the art are intended to fall within the scope of the present invention.

Claims (8)

1. A video processing method in a TF card is characterized by comprising the following steps:
splitting a video: splitting a complete video file in the TF card to enable the complete video file to be split into a plurality of block files;
video encryption: encrypting all the block files and generating a loading sequence list;
video decryption: and inserting the TF card into the playing equipment, acquiring the encryption key file in the TF card, and then decrypting and playing all the block files according to the loading sequence list.
2. The method according to claim 1, wherein before the video splitting process, data encryption is performed by writing batch TF serial numbers and TF vendor IDs in the TF card, and encryption is performed by using the TF serial numbers and the TF vendor IDs to obtain a first encrypted value.
3. The method for video processing in the TF card of claim 1, wherein in the video splitting process, the video file is split into a plurality of block files and an index file, wherein the index file contains the playing sequence of the plurality of block files.
4. The method for video processing in a TF card according to claim 1, wherein in the video encryption step, the MD5 encryption module is used to perform secondary encryption on the first encrypted value, the finally generated video file is a plurality of encrypted block files, each encrypted block file and the index file are combined to generate a loading sequence list, and when the video is loaded and played, the index file is loaded first, and then the encrypted block files are obtained, so as to decrypt and play according to the defined sequence.
5. The method for processing the video in the TF card according to claim 1, wherein in the video decryption step, after the TF card is inserted into a playing device, the related data information of the playing device is obtained and calculated to obtain a Zhiliaop. If the key data is not available, the playing program of the playing device cannot be started.
6. The method for video processing in the TF card according to claim 5, wherein the related data information of the playback device includes hardware information of the playback device, the hardware information includes CPU serial number, hardware serial number, memory serial number of the playback device and Mac address of the device.
7. The method for video processing in the TF card according to claim 1, further comprising a process of identifying the TF card before the video decryption step, wherein a detection module is installed in the playback device, and when the detection module detects that the TF card is inserted into the playback device, the detection module reads the Zhiliaop.
8. The method of claim 7, wherein if the TF card cannot be identified or the zhiliaop.key cannot be read in the TF card, the playback device cannot be started.
CN202110235934.3A 2021-03-03 2021-03-03 Video processing method in TF card Pending CN113014965A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110235934.3A CN113014965A (en) 2021-03-03 2021-03-03 Video processing method in TF card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110235934.3A CN113014965A (en) 2021-03-03 2021-03-03 Video processing method in TF card

Publications (1)

Publication Number Publication Date
CN113014965A true CN113014965A (en) 2021-06-22

Family

ID=76404001

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110235934.3A Pending CN113014965A (en) 2021-03-03 2021-03-03 Video processing method in TF card

Country Status (1)

Country Link
CN (1) CN113014965A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002163396A (en) * 2000-11-28 2002-06-07 Sanyo Electric Co Ltd Data terminal equipment
US20020080960A1 (en) * 1999-06-23 2002-06-27 Masaaki Kanayama Recording medium, initialize method for recording medium, method for encryption on recording medium, encryption equipment, decryption equipment, and audio/visual/data equipment
JP2003087736A (en) * 2001-09-14 2003-03-20 Sanyo Electric Co Ltd Recording medium, reproducing device, and recording and reproducing device
JP2005122486A (en) * 2003-10-16 2005-05-12 Sony Corp Recording medium, electronic equipment, and information processing method
WO2006133059A2 (en) * 2005-06-03 2006-12-14 Mo-Dv, Inc. Content protection system and method for memory cards in electronic devices
US20100319017A1 (en) * 2009-06-16 2010-12-16 Comcast Cable Communications, Llc Portable Media Asset
CN203027389U (en) * 2013-01-21 2013-06-26 深圳市亿商屋广告传媒有限公司 Video file copyright protection play system of panel personal computer
CN108769807A (en) * 2018-04-19 2018-11-06 上海大学 A kind of video encryption method based on Android platform
CN110213669A (en) * 2019-05-18 2019-09-06 杭州当虹科技股份有限公司 A kind of video content burglary-resisting system and method based on TS slice
CN112040275A (en) * 2020-07-31 2020-12-04 上海幻维数码创意科技有限公司 Video encryption and decryption method

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020080960A1 (en) * 1999-06-23 2002-06-27 Masaaki Kanayama Recording medium, initialize method for recording medium, method for encryption on recording medium, encryption equipment, decryption equipment, and audio/visual/data equipment
JP2002163396A (en) * 2000-11-28 2002-06-07 Sanyo Electric Co Ltd Data terminal equipment
JP2003087736A (en) * 2001-09-14 2003-03-20 Sanyo Electric Co Ltd Recording medium, reproducing device, and recording and reproducing device
JP2005122486A (en) * 2003-10-16 2005-05-12 Sony Corp Recording medium, electronic equipment, and information processing method
WO2006133059A2 (en) * 2005-06-03 2006-12-14 Mo-Dv, Inc. Content protection system and method for memory cards in electronic devices
US20100319017A1 (en) * 2009-06-16 2010-12-16 Comcast Cable Communications, Llc Portable Media Asset
CN203027389U (en) * 2013-01-21 2013-06-26 深圳市亿商屋广告传媒有限公司 Video file copyright protection play system of panel personal computer
CN108769807A (en) * 2018-04-19 2018-11-06 上海大学 A kind of video encryption method based on Android platform
CN110213669A (en) * 2019-05-18 2019-09-06 杭州当虹科技股份有限公司 A kind of video content burglary-resisting system and method based on TS slice
CN112040275A (en) * 2020-07-31 2020-12-04 上海幻维数码创意科技有限公司 Video encryption and decryption method

Similar Documents

Publication Publication Date Title
TWI257798B (en) System for identification and revocation of audiovisual titles and replicators
CN103635911B (en) For the protection of the memory device of content and main process equipment and method thereof
US7983416B2 (en) Information processing device, information processing method, and computer program
US8694799B2 (en) System and method for protection of content stored in a storage device
US20020184259A1 (en) Data reproducing/recording apparatus/ method and list updating method
US9811670B2 (en) Information processing device, information processing method, and program
US20080256368A1 (en) Method and Device For Protecting Digital Content in Mobile Applications
US8914646B2 (en) Information processing apparatus and information processing method for determining access permission
WO2013073835A1 (en) Method and storage device for protecting content
US20090024849A1 (en) Information acquisition device, information acquisition method, and information acquisition program
US20100050250A1 (en) Information processing device, data processing method, and program
JP2002319230A (en) Recording medium, information processor, server, and method, program for contents distribution and recording medium thereof
US9652624B2 (en) Method, host, storage, and machine-readable storage medium for protecting content
CN105721903A (en) Method and system for playing online videos
US20100313034A1 (en) Information processing apparatus, data recording system, information processing method, and program
CN107809677A (en) A kind of preset Widevine Key of batch in a television set system and method
CN100364002C (en) Apparatus and method for reading or writing user data
US9600638B2 (en) Information processing apparatus, information processing method, and program
US9129139B2 (en) Solid state memory and method for protecting digital contents by interrupting copying or accessing and proceeding only upon user verification or authentication
CN113014965A (en) Video processing method in TF card
US9106882B2 (en) Terminal device, content recording system, title key recording method, and computer program
KR100695665B1 (en) Apparatus and method for accessing material using an entity locked secure registry
CN106454409A (en) Encrypting method and device of multimedia document
CN111246279A (en) Encrypted advertisement playing system and method
Henry et al. An overview of the advanced access content system (AACS)

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210622

RJ01 Rejection of invention patent application after publication