A verification method and system for a swf file

A verification method and file technology, applied in the field of Flash verification, can solve the problem of insufficient security of SWF files, achieve the effect of preventing collisions and improving safety performance

Active Publication Date: 2020-06-16
WUHAN DOUYU NETWORK TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] Therefore, existing SWF files written in Action Script (action script language) scripts are easy to be cracked, and SWF files are not safe enough to use. For example, HACK may crack and modify SWF files to achieve illegal purposes.

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
  • A verification method and system for a swf file

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0022] The present invention will be further described in detail below in conjunction with the drawings and embodiments.

[0023] See figure 1 As shown, the SWF file verification method in the embodiment of the present invention includes the following steps:

[0024] S1: The client or server uses C language to compile to generate a SWC library file (a C language library file of Flash) with a verification function, call the SWC library file to compile the main SWF file through Action Script script, and go to S2.

[0025] S2: After the client loads the main SWF file, load all other slave SWF files that need to be used through the main SWF file (in a Flash project, multiple SWF files are used to complete the Flash function together, and multiple SWF files include 1 main SWF file. SWF file and at least one slave SWF file, and after the main SWF file is loaded, all slave SWF files will be automatically loaded); the client obtains the name of the SWF file that needs to be verified from 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 an SWF file verification method and system, and relates to the field of Flash verification. The method comprises the following steps of: generating an SWC library file with a verification function by adoption of a C language, and calling the SWC library file through an Action Script, so as to form a main SWF file; calling the SWC library file in the main SWF file by a client, and verifying a to-be-verified SWF file to obtain a final verification result; forming verifying information by the client according to a file identifier of the to-be-verified SWF file and the final verification result of the SWF file; sending all the verification information to a server by the client after the verification information are packaged to form packaged data; and judging whether all the verification information in the packaged data are correct or not by the server. According to the method and system disclosed by the invention, the difficulty of decoding SWF files is remarkably increased, and then the safety performance of the SWF files during the use is improved.

Description

Technical field [0001] The invention relates to the field of Flash (solid-state memory and animation editor) verification, in particular to a method and system for verifying SWF files (shock wave flash, vector-based Flash animation files). Background technique [0002] Currently, most live video sites use Flash as a video player, and most web games will also be developed using Flash. The specific file used by Flash is the SWF file, which integrates the protocol interaction with the server and the core functions of web games. [0003] For SWF files written in Action Script (action scripting language) scripts, the script code corresponding to the SWF file (equivalent to pseudo code) can be decompiled through a decompilation tool (such as AS3Sorcerer), and the pseudo code is read You can know the specific implementation logic of the SWF file. [0004] Therefore, existing SWF files written with Action Script (Action Script Language) scripts are easy to be cracked, and the SWF files are...

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 Patents(China)
IPC IPC(8): G06F11/08G06F11/10
CPCG06F11/08G06F11/1004
Inventor 周志刚
Owner WUHAN DOUYU NETWORK TECH 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