Method and device for parsing flash mini-game into byte code

A small game, batch technology, applied in the field of games, can solve the problems that cannot be analyzed in batches, and achieve high efficiency

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

AI Technical Summary

Problems solved by technology

[0004] Flash game analysis in the prior art uses Swf Reader. Swf Reader is a code analysis written in Java, which can analyze the byte code in the swf file, but there is a defect that it can only realize the analysis operation of a single swf file and cannot analyze in batches.

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 parsing flash mini-game into byte code
  • Method and device for parsing flash mini-game into byte code
  • Method and device for parsing flash mini-game into byte code

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] In order to better understand the technical problems solved by the present invention and the technical solutions provided, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. The specific embodiments described here are only used to explain the implementation of the present invention, but not to limit the present invention.

[0025] figure 1 It exemplarily shows the method flow of batch parsing flash games into byte code;

[0026] S1: The client uploads a batch of swf files or a single swf file through the web server;

[0027] S2: if image 3 As shown, each time the upload of one swf file is completed, the web server sends an ajax request to the php server;

[0028] S3: if Figure 3 ~ Figure 4 As shown, when the php server gets an ajax request, it temporarily creates a tcp client, the ajax request is placed on the tcp client, and the tcp client uses the ajax request contained The file name is...

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 relates to the technical field of games and particularly discloses a method and a device for parsing a flash mini-game into a byte code. The method for parsing the flash mini-game into the byte code comprises: a client-side uploads swf (Small Web Format) files and sends an ajax (Asynchronous JavaScript and XML (eXtensible Markup Language) ) request to a php (Hypertext Preprocessor) server-side every time a swf file uploading is completed; every time the php server-side obtains the ajax request, a tcp (Transmission Control Protocol) client-side is temporarily created, the tcp client-side sends a socket message to a java server-side, the java server-side creates a thread to parse the socket message into the byte code and packages the byte code into a zip file; then the java server-side sends the zip file to the php server-side; the php server-side generates a chained address which is the download link of the zip file; and the client-side downloads the zip file. According to the method and the device for parsing the flash mini-game into the byte code, a user can easily, conveniently and quickly parse the byte code of the swf files in batches, and the user can directly obtain the byte code without the loss of CPU (Central Processing Unit) resources of the user.

Description

technical field [0001] The invention relates to the technical field of games, in particular to a method and device for batch parsing flash games into byte codes. Background technique [0002] Flash game is a new form of game. It is loved by the majority of netizens for its advantages of simple game, convenient operation, green, no installation, small size, fast transmission, and beautiful picture. Flash game is also called flash game, because Flash games are mainly used in some interesting and small games to fully utilize its advantages based on vector graphics. [0003] The client cannot directly read or operate the Flash game. It needs to be parsed by a reader or player before reading or operating. This process is Flash parsing. The general format of Flash is the swf file format, and the computer recognizes it by reading the code code in the swf file. [0004] In the prior art, Flash game analysis adopts Swf Reader. Swf Reader is a code analysis written in Java, which ca...

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): G06F9/45
Inventor 林少峰
Owner 4399 NETWORK
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