Method and device for encrypting SWF (Shock Wave Flash) files in batches

An encryption method and technology of an encryption device, which are applied in the field of video playback, can solve problems such as low efficiency and occupy hard disk space, and achieve the effect of improving encryption efficiency.

Active Publication Date: 2013-07-24
4399 NETWORK
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the above method can only encrypt a single SWF file, which is inefficient, and requires the user to download the application file from the Internet, occupying hard disk space

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
  • Method and device for encrypting SWF (Shock Wave Flash) files in batches
  • Method and device for encrypting SWF (Shock Wave Flash) files in batches
  • Method and device for encrypting SWF (Shock Wave Flash) files in batches

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] figure 1 It is the flowchart of the first embodiment of the SWF file batch encryption method of the present invention, as figure 1 As shown, the SWF file batch encryption method provided by this embodiment is performed by a SWF file batch encryption device, which is installed on the server on the network side, and the device obtains the source SWF files uploaded by the user from the terminal side in batches, and performs each source respectively. The SWF file is encrypted, and the encrypted source SWF file is compressed and sent to the local directory of the terminal. The device can be implemented in the form of software and / or hardware, and the method includes:

[0042] Step S100, obtaining the source SWF file uploaded by the user;

[0043]Step S102, analyzing the source SWF file to obtain file header information, judging according to the file header information that the version type of the source SWF file belongs to AVM1 type or AVM2 type, if the version type of the...

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 provides a method and a device for encrypting SWF (Shock Wave Flash) files in batches. The method comprises the following steps of acquiring source SWF files uploaded by a user; resolving the SWF files to acquire file header information, and judging whether the version of the source SWF files belongs to an AVM1 type or an AVM2 type according to the file header information; if the version of the source SWF files belongs to the AVM1 type, positioning DOACTION tags and DOINITACTION tags according to the file header information, and performing confusion encryption on the DOACTION tags and the DOINITACTION tags; if the version of the source SWF files belongs to the AVM2 type, positioning DoABC tags and SYMBOLCLASS tags according to the file header information, and performing confusion encryption on the DoABC tags and the SYMBOLCLASS tags; recombining all the encrypted tags and generating the encrypted SWF files. The SWF files are uploaded in batches to the device for encrypting the SWF files in batches by the user, and a great number of SWF files can be encrypted in batches, so that the encryption efficiency is greatly improved, and the hard disk resource of a client side is not occupied.

Description

technical field [0001] The invention relates to video playing technology, in particular to a batch encryption method and device for SWF files. Background technique [0002] SWF file is a special format for Flash. It is an animation file format that supports vector and dot matrix graphics. It is widely used in web design, animation production and other fields. SWF files are also commonly called Flash files. Generally, game developers usually encrypt the SWF files in order to protect the SWF files written by themselves from being embezzled and modified casually. [0003] In the traditional technology, the means of encrypting the SWF file is to download software capable of encrypting from the Internet, and encrypt a single SWF file. However, the above method can only encrypt a single SWF file, which is inefficient, and requires the user to download the application file from the Internet, occupying hard disk space. Contents of the invention [0004] Aiming at the above defec...

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 & AuthorityApplications(China)
IPC IPC(8): G06F21/10
Inventor程思敏
Owner4399 NETWORK