Methods and devices for encrypting and decrypting video file and mobile terminal

A video file and mobile terminal technology, applied in security devices, secure communication devices, computer security devices, etc., can solve problems affecting encryption efficiency and slow moving speed of video files

Active Publication Date: 2013-01-09
TENCENT TECH (SHENZHEN) CO LTD +1
View PDF5 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] Video files are the largest files among all files. When the specified storage location is a disk partition different from the disk partition where the original storage location is located, the moving speed of the encrypted video file will be very slow, which will affect the encryption efficiency.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Methods and devices for encrypting and decrypting video file and mobile terminal
  • Methods and devices for encrypting and decrypting video file and mobile terminal
  • Methods and devices for encrypting and decrypting video file and mobile terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0126] see figure 2 , Embodiment 1 of the present invention provides a kind of method for encrypting video file, and this method comprises:

[0127] 101: Obtain the video file and key to be encrypted.

[0128] 102: Use the key to encrypt the video file to be encrypted to obtain the encrypted video file.

[0129] 103: Obtain the pre-scanned mobile terminal and the partitions storing user data except the hidden partitions in the extended memory on the mobile terminal.

[0130] 104: Determine the partition storing the video file to be encrypted in all partitions, and move the encrypted video file to a preset folder in the partition storing the video file to be encrypted.

[0131] The beneficial effect brought by the technical solution provided by the embodiment of the present invention is: by obtaining the video file to be encrypted and the key; using the key to encrypt the video file to be encrypted to obtain an encrypted video file; There is ciphertext in the file, the vide...

Embodiment 2

[0133] see image 3 , Embodiment 2 of the present invention provides a method for encrypting video files, the method comprising:

[0134] 201: Scan the mobile terminal and the partitions storing user data except the hidden partitions in the extended memory on the mobile terminal; set a folder in each scanned partition.

[0135] Wherein, before encrypting the video file, it is necessary to pre-scan the mobile terminal and the partitions storing user data in the extended memory on the mobile terminal except the hidden partition. In view of the limited capacity of the built-in memory of the mobile terminal, users generally store video files in an extended memory, such as an SD (Secure Digital, Secure Digital) card. Specifically, on the mobile terminal of the Android platform, scan the partitions storing user data in the SD card except the hidden partitions, including, first, reading the / proc / mounts file of the system to obtain all the mounts of the entire system; Secondly, fil...

Embodiment 3

[0190] see Figure 7 , Embodiment 3 of the present invention provides a method for decrypting a video file, the method comprising:

[0191] 301: Obtain the video file and key to be decrypted.

[0192] 302: Use the key to decrypt the video file to be decrypted to obtain the decrypted video file.

[0193] 303: Determine the storage location of the video file to be decrypted before encryption, and move the decrypted video file to the storage location before encryption.

[0194]The beneficial effect brought by the technical solution provided by the embodiment of the present invention is: by obtaining the video file to be encrypted and the key; using the key to encrypt the video file to be encrypted to obtain an encrypted video file; There is ciphertext in the file, the video decoder cannot identify the encrypted video file, and the security is high; obtain the pre-scanned mobile terminal and the partition storing user data in the expansion memory on the mobile terminal except th...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a method for encrypting a video file, a method for decrypting the video file, a device for encrypting the video file, a device for decrypting the video file, and a mobile terminal, and belongs to the field of mobile terminals. The method for encrypting the video file comprises the following steps of: acquiring the video file to be encrypted and a key; encrypting the video file to be encrypted by using the key to obtain an encrypted video file; acquiring a pre-scanned mobile terminal and partitions storing user data except hidden partitions in an extended memory on the mobile terminal; and determining a partition storing the video file to be encrypted in all the partitions, and moving the encrypted video file into a preset folder in the partition storing the video file to be encrypted. The method for decrypting the video file comprises the following steps of: acquiring a video file to be decrypted and the key; decrypting the video file to be decrypted by using the key to obtain a decrypted video file; and determining the storage position of the video file to be decrypted before encryption, and moving the decrypted video file to the storage position before encryption. The video file can be quickly encrypted.

Description

technical field [0001] The invention relates to the field of mobile terminals, in particular to a method and device for encrypting and decrypting video files and a mobile terminal. Background technique [0002] With the development of mobile terminal hardware and extended memory, users can store a large number of files in the mobile terminal and extended memory, and view these files through the mobile terminal. In order to protect privacy and file security, users wish to encrypt files. [0003] Among them, encryption uses a special algorithm to change the original data of the file, so that even if an unauthorized user obtains the encrypted data, they still cannot understand the content of the file because they do not know the decryption method. Generally, these files include text documents, programs, pictures and videos. For the video file, it can be encrypted through the existing video file encryption method. Specifically, the existing video file encryption method includ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F21/62H04N5/92
CPCG06F21/602H04W12/04H04L63/062H04L63/0428H04L9/0897H04W12/02H04L2209/60G06F2221/2107G06F21/62H04N21/64715H04W12/65H04W12/03H04N21/2347Y10S707/99931Y10S707/99951
Inventor 陈建铭郑晓胜
Owner TENCENT TECH (SHENZHEN) CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products