Eureka AIR delivers breakthrough ideas for toughest innovation challenges, trusted by R&D personnel around the world.

Multithreading processing simulation method for program taking frame as unit

A unit program and multi-thread technology, applied in the computer field, can solve problems such as not supporting mobile phones, main thread suspended animation, user self-upgrading and increasing, etc.

Inactive Publication Date: 2014-02-05
BEIJING 58 INFORMATION TECH
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current high-version Flash / Air applications have problems such as not supporting mobile phones, requiring users to upgrade themselves, and worker API will increase the file size.
[0005] Therefore, there is a need for an effective method for implementing multithreading based on Adobe Flash / Air to overcome the above-mentioned problems of suspended animation of the main thread and poor user experience caused by a single thread

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
  • Multithreading processing simulation method for program taking frame as unit

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0017] The objects and functions of the present invention and methods for achieving the objects and functions will be clarified by referring to the exemplary embodiments. However, the present invention is not limited to the exemplary embodiments disclosed below; it can be implemented in various forms. The essence of the description is only to help those skilled in the relevant art comprehensively understand the specific details of the present invention.

[0018] Hereinafter, embodiments of the present invention will be described with reference to the accompanying drawings. In the drawings, the same reference numerals represent the same or similar components, or the same or similar steps.

[0019] According to the method of the present invention for realizing the simulated multi-thread processing of a program with a frame as a unit, the calculation to be completed for a certain frame is divided into multiple calculations, that is, the calculation is only performed for a certai...

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 multithreading processing simulation method for a program taking frame as a unit. The method comprises steps as follows: (a), detecting the running speed of the program; (b), calculating time required for each frame to run; (c), determining whether the program triggers a calculation in the current frame, and running a next frame if the calculation is not triggered; and recording the time point of the current program if the calculation is triggered; (d), executing the calculation triggered by the frame circularly, determining whether the program running time surpasses the running time of each frame calculated in the step b, returning to the step d for continuous calculation if the time does not surpass the running time; and entering step e if the time surpasses the running time; (e), determining whether the triggered calculation is finished, ending if finished, and entering step f if not finished; and (f), recording the executive position of the current calculation, running a next frame, restoring the recorded executive position of the calculation, and returning to the step d.

Description

technical field [0001] The invention relates to the computer field, in particular to a method for realizing the simulated multi-thread processing of a program with a frame as a unit. Background technique [0002] Flash Player / Air is an application running environment developed by Adobe, which has the advantages of easy development and cross-system platform. Among them, Flash Player runs on the webpage, and Air runs on the local machine (such as: Windows, OSX, Linux, iOS, Android, etc.). [0003] With the development of computer hardware technology, multi-core CPU and multi-thread technology are basically popularized in personal computers, but the programs running in the current Flash Player / Air operating environment, due to the limitation of the platform, the Flash tasks contained in it are only It can run with a single thread and can only use the computing resources of a single CPU. With the development of technology and the improvement of user needs, when Flash / Air appli...

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/38G06F9/50
Inventor 段屈直
Owner BEIJING 58 INFORMATION TECH
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
Eureka Blog
Learn More
PatSnap group products