CN102209140B - Method of playing flash file of mobile communication equipment terminal through browser and apparatus thereof - Google Patents

Method of playing flash file of mobile communication equipment terminal through browser and apparatus thereof Download PDF

Info

Publication number
CN102209140B
CN102209140B CN201010226781.8A CN201010226781A CN102209140B CN 102209140 B CN102209140 B CN 102209140B CN 201010226781 A CN201010226781 A CN 201010226781A CN 102209140 B CN102209140 B CN 102209140B
Authority
CN
China
Prior art keywords
flash
flash file
caching system
client
service end
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201010226781.8A
Other languages
Chinese (zh)
Other versions
CN102209140A (en
Inventor
梁捷
许延伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba China Co Ltd
Original Assignee
Ucweb Inc
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ucweb Inc filed Critical Ucweb Inc
Priority to CN201010226781.8A priority Critical patent/CN102209140B/en
Priority to PCT/CN2010/075858 priority patent/WO2011156985A1/en
Publication of CN102209140A publication Critical patent/CN102209140A/en
Application granted granted Critical
Publication of CN102209140B publication Critical patent/CN102209140B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to a browser of a mobile communication equipment terminal, especially relating to a method of playing a flash file of a mobile communication equipment terminal through a browser. The mobile communication equipment terminal employs server / client configuration to browse a website, wherein the mobile communication equipment terminal is the client. The method comprises the following steps: (11) the server receives a loading flash request of the client, and obtains a flash file from a website server; (12) the server calls flash plug-in and plays the flash file in a virtual frame caching system, wherein video data is stored in a data memory block of the virtual frame caching system; (13) the server acquiring video data from the data memory block of the virtual frame caching system and sends the video data to the client after the coding of it. According to the invention, mobile phone browser technology supporting flash with c/s (client/server) configuration is appliedin reality and serves large scale clients.

Description

The browser player method and the device of the flash file of mobile communication equipment terminals
Technical field
The present invention relates to the mobile communication equipment terminals browser, particularly a kind of browser player method that is applied to the flash file of mobile communication equipment terminals.
Background technology
Flash is a kind of animated format based on vector, and video web page and the interaction network page recreation as main flow at present is widely used in Internet.Present web browser is the broadcast through flash in the free flash plug-in unit supported web page of Adobe company exploitation mainly.
Because a large amount of portable terminals such as mobile phone are not supported the flash plug-in unit of Adobe company exploitation; A kind of feasible scheme is exactly to adopt the mobile phone browser of c/s framework; Through playing flash, send to browser clients through sectional drawing, compression and show at browser service end operation flash plug-in unit.
The flash broadcast can take more cpu resource; Can support to play simultaneously under the server normal condition of a mainstream configuration, sectional drawing 10 several flash; Just can support 10 several clients; If support 50,000 client flash to play simultaneously, just need 5000 station servers, this high cost to make this technology can not obtain actual application.
Summary of the invention
First goal of the invention of the present invention is to provide a kind of browser player method that is applied to the flash file of mobile communication equipment terminals; To solve in the prior art; Mobile communication equipment terminals adopts service end/client framework (C/S framework) when browsing web sites, and service end is play the flash file and consumed the too high technical problem of cpu resource.
In order to realize first goal of the invention of the present invention, the technical scheme of employing is following:
A kind of browser player method that is applied to the flash file of mobile communication equipment terminals, said mobile communication equipment terminals adopt service end/client framework to browse web sites, and mobile communication equipment terminals is a client, and said method comprises:
(11) after service end receives that client-requested loads the flash request, obtain the flash file from Website server;
(12) service end is called the flash plug-in unit, in the virtual frames caching system, plays flash, and video data can leave in the data storage area of virtual frames caching system.
(13) service end is obtained video data from the data storage area of virtual frames caching system, sends to client behind the coding.
As a kind of preferred version, the memory storage area of preserving displaying video when the data storage area of virtual frames caching system is the operation of virtual frames caching system.
As a kind of preferred version, said method also comprises, in step (11) afterwards, carries out following steps:
(31) service end is revised the frame per second field of flash file through resolving the flash file, reduces frame per second, execution in step (12) then.
As further preferred version, said step (31) through resolving the flash file, is revised the frame per second field of flash file in service end, reduces frame per second to≤5 frame/seconds.
As preferred version further; The data storage area of the virtual frames caching system in the said step (12) is that the slow system of virtual frames deposits the internal memory that takies when moving; The frame per second of the flash file that service end is revised according to step (31) is stored in corresponding image in the flash file in the data storage area of virtual frames caching system.
As a kind of preferred version, said flash file is that suffix is the file of swf form.
Second goal of the invention of the present invention is to provide a kind of browser playing device that is applied to the flash file of mobile communication equipment terminals, to use the browser player method that first goal of the invention of the present invention is provided.
In order to realize second goal of the invention of the present invention, the technical scheme of employing is following:
A kind of browser playing device that is applied to the flash file of mobile communication equipment terminals, said device comprise as the mobile communication equipment terminals of client and are used to transmit client-access requested service end, also be provided with in said service end:
Be used for flash request, obtain the acquisition module of flash file from Website server according to client;
Be used to preserve the virtual frames caching system of the video data that the flash file play, video data leaves in the data storage area of virtual frames caching system;
Be used for obtaining video data, send to the sending module of client behind the coding from the data storage area of virtual frames caching system.
As further preferred version, said service end also comprises the frame per second modified module of the frame per second field that is used to revise the flash file.
As further preferred version again, said frame per second modified module is revised as the frame per second of flash file≤5 frame/seconds.
The invention enables through the C/S framework and support that the mobile phone browser technology of flash can practical application, for the large scale customer end provides service.
Description of drawings
Fig. 1 is a system flow chart of the present invention.
Embodiment
Below in conjunction with accompanying drawing and specific embodiment the present invention is carried out further detailed explanation.
The present invention is to improving with the lower part:
Reduce the frame per second that flash plays
The frame per second that Flash plays is to influence the principal element that flash takies cpu resource, and it was 24 frame/seconds that general flash file is provided with frame per second, when frame per second is reduced to 5 frames/second, can reduce the cpu resource about 80%; In the mobile phone browser application scenarios; Owing to be connected through the mobile network between browser service end and the client, under gprs and edge network condition, receive the restriction of bandwidth and speed; Per second can not transmit the above image of 10 frames; The 3-5 two field picture is suitable, and through test, the most of interaction network page recreation of 3-5 frame/s also can smooth operation.
Applying virtual frame buffer technology
The virtual frames buffer memory is meant to be placed on image in the internal memory and stores that on hardware, do not play up, for example xvfb and xvnc open source software can provide this type technology.It is that image is played up that Flash plays another factor that takies the cpu resource, adopts the virtual frames caching technology, only is placed on image in the internal memory, and need not plays up, and can effectively reduce taking of cpu resource.
In the present invention, be provided with the virtual frames caching system at server, the virtual frames caching system can be used as a process isolated operation, also can be used as an independent module of function and is integrated in other processes and moves; The memory storage area of preserving displaying video when virtual frames data in buffer memory block is exactly the operation of virtual frames caching system.
Virtual frames caching system and the design of service end system process
Service end system can obtain image through the api interface that the virtual frames caching system provides from the internal memory of virtual frames caching system, but all calls through Network Synchronization in these api interfaces realizations, and obtaining view data like this is to consume certain cpu resource.
The present invention adopts following dual mode to address the above problem:
A) virtual frames caching system and browser service end are deployed in the same process;
B) the virtual frames caching system is deployed in the different processes with the browser service end, and uses the mode of memory-mapped to be mapped in the server processes virtual frames data in buffer memory block.
Above-mentioned two kinds of methods can directly be obtained view data from the internal memory of virtual frames buffer memory, reduced network stand-by period and taking cpu greatly.
Be illustrated in figure 1 as system flow chart of the present invention, the virtual frames buffer memory of drawing among the figure refers to the virtual frames caching system, and a complete broadcast flash flow process is following:
1) after the browser service end receives that client-requested loads the flash request, to Website server request flash file;
2) Website server returns the flash file to service end;
3) service end is obtained the swf format analysis flash file according to standard, revises the frame per second field of flash file, reduces frame per second to 5 frame/seconds;
4) service end is called the flash plug-in unit, in the virtual frames buffer memory, plays flash;
5) service end reads video file from the virtual frames buffer memory;
6) service end is obtained video data from the internal memory of virtual frames buffer memory, sends to client behind the coding.
7) user is at client terminal playing flash video.
The above only is a preferred implementation of the present invention; Should be pointed out that for the person of ordinary skill of the art, under the prerequisite that does not break away from the principle of the invention; Can also make some improvement and retouching, these improvement and retouching also should be regarded as protection scope of the present invention.

Claims (9)

1. browser player method that is applied to the flash file of mobile communication equipment terminals; Said mobile communication equipment terminals adopts service end/client framework to browse web sites; Mobile communication equipment terminals is a client; It is characterized in that also be provided with the virtual frames caching system in service end, said method comprises:
(11) after service end receives that client-requested loads the flash request, obtain the flash file from Website server;
(12) service end is called the flash plug-in unit, in the virtual frames caching system, plays flash, and video data can leave in the data storage area of virtual frames caching system;
(13) service end is obtained video data from the data storage area of virtual frames caching system, sends to client behind the coding.
2. player method according to claim 1 is characterized in that, the memory storage area of preserving displaying video when the data storage area of said virtual frames caching system is exactly the operation of virtual frames caching system.
3. player method according to claim 1 is characterized in that, said method also comprises, in step (11) afterwards, carries out following steps:
(31) service end is revised the frame per second field of flash file through resolving the flash file, reduces frame per second, execution in step (12) then.
4. player method according to claim 3 is characterized in that, said step (31) through resolving the flash file, is revised the frame per second field of flash file in service end, reduces frame per second to≤5 frame/seconds.
5. player method according to claim 3; It is characterized in that; The internal memory that the data storage area of the virtual frames caching system in the said step (12) takies when moving for the virtual frames caching system; The frame per second of the flash file that service end is revised according to step (31) is stored in corresponding image in the flash file in the data storage area of virtual frames caching system.
6. according to the arbitrary described player method of claim 1~5, it is characterized in that said flash file is that suffix is the file of swf form.
7. browser playing device that is applied to the flash file of mobile communication equipment terminals; Said device comprises as the mobile communication equipment terminals of client and is used to transmit client-access requested service end; It is characterized in that, also be provided with in said service end:
Be used for flash request, obtain the acquisition module of flash file from Website server according to client;
Be used to preserve the virtual frames caching system of the video data that the flash file play, video data leaves in the data storage area of virtual frames caching system;
Be used for obtaining video data, send to the sending module of client behind the coding from the data storage area of virtual frames caching system.
8. browser playing device according to claim 7 is characterized in that, said service end also comprises the frame per second modified module of the frame per second field that is used to revise the flash file.
9. browser playing device according to claim 8 is characterized in that, said frame per second modified module is revised as the frame per second of flash file≤5 frame/seconds.
CN201010226781.8A 2010-06-13 2010-07-15 Method of playing flash file of mobile communication equipment terminal through browser and apparatus thereof Expired - Fee Related CN102209140B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201010226781.8A CN102209140B (en) 2010-07-15 2010-07-15 Method of playing flash file of mobile communication equipment terminal through browser and apparatus thereof
PCT/CN2010/075858 WO2011156985A1 (en) 2010-06-13 2010-08-10 Browser conversion system for mobile communication terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201010226781.8A CN102209140B (en) 2010-07-15 2010-07-15 Method of playing flash file of mobile communication equipment terminal through browser and apparatus thereof

Publications (2)

Publication Number Publication Date
CN102209140A CN102209140A (en) 2011-10-05
CN102209140B true CN102209140B (en) 2012-12-26

Family

ID=44697796

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201010226781.8A Expired - Fee Related CN102209140B (en) 2010-06-13 2010-07-15 Method of playing flash file of mobile communication equipment terminal through browser and apparatus thereof

Country Status (1)

Country Link
CN (1) CN102209140B (en)

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103488402B (en) * 2012-06-14 2018-09-04 腾讯科技(深圳)有限公司 Method, equipment and the system of display control
CN102929489B (en) * 2012-11-09 2016-08-03 北京奇虎科技有限公司 Client browser implementation method and client browser
CN102915194B (en) * 2012-11-13 2015-08-26 北京奇艺世纪科技有限公司 Based on the implementation method of the video preview of mobile device, device and mobile terminal
US9923988B2 (en) 2013-07-10 2018-03-20 Tencent Technology (Shenzhen) Company Limited Systems and methods for browser-based games
CN104065637B (en) * 2013-07-10 2015-07-01 腾讯科技(深圳)有限公司 Web-game running method and device
CN111966557B (en) * 2019-05-20 2023-07-14 北京车和家信息技术有限公司 Method and device for monitoring browser frame rate
CN110232882B (en) * 2019-06-06 2022-09-06 深圳市福瑞达显示技术有限公司 Fan screen display control method and system based on Linux system
CN112489175B (en) * 2020-11-27 2023-04-11 四三九九网络股份有限公司 Method for analyzing big data content by FLASH framing

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6877098B1 (en) * 2000-06-12 2005-04-05 Sun Microsystems, Inc. System and method for directing access from a framebuffer to a virtual framebuffer when the framebuffer is powered off in a power management mode
CN1744496A (en) * 2004-09-01 2006-03-08 英华达(上海)电子有限公司 Method for downloading multimedia file utilizing multimedia message service
CN101127780A (en) * 2007-08-20 2008-02-20 阳术国 Method for downloading, saving and replaying online video and construction of online video network
CN101627353A (en) * 2007-03-09 2010-01-13 国际商业机器公司 Method for determining destination of request, program, and display system using the method
CN101777066A (en) * 2009-12-31 2010-07-14 优视科技有限公司 Web page rendering and browsing system for mobile communication equipment terminals and application method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6877098B1 (en) * 2000-06-12 2005-04-05 Sun Microsystems, Inc. System and method for directing access from a framebuffer to a virtual framebuffer when the framebuffer is powered off in a power management mode
CN1744496A (en) * 2004-09-01 2006-03-08 英华达(上海)电子有限公司 Method for downloading multimedia file utilizing multimedia message service
CN101627353A (en) * 2007-03-09 2010-01-13 国际商业机器公司 Method for determining destination of request, program, and display system using the method
CN101127780A (en) * 2007-08-20 2008-02-20 阳术国 Method for downloading, saving and replaying online video and construction of online video network
CN101777066A (en) * 2009-12-31 2010-07-14 优视科技有限公司 Web page rendering and browsing system for mobile communication equipment terminals and application method thereof

Also Published As

Publication number Publication date
CN102209140A (en) 2011-10-05

Similar Documents

Publication Publication Date Title
CN102209140B (en) Method of playing flash file of mobile communication equipment terminal through browser and apparatus thereof
US9571556B2 (en) Browser kernel adaptation method and browser therefor
CN102184231A (en) Method and device for acquiring page resources
CN104217024B (en) Web data treating method and apparatus
CN102364459B (en) Based on Webpage Flash animation display method and the device of mobile terminal
CN102024048B (en) Implementation method of mobile terminal and browser thereof
CN101599156B (en) A kind of showing advertisement methods, devices and systems
CN102185923A (en) Webpage browsing method for mobile communication equipment terminal
CN110096660A (en) Method, apparatus and electronic equipment for loading page picture
CN102387187A (en) Server, client as well as method and system for remotely playing video file by using client
CN101777066A (en) Web page rendering and browsing system for mobile communication equipment terminals and application method thereof
CN103259861A (en) Method and system for recording and watching network videos
CN103974057B (en) A kind of video quality user experience value assessment method, equipment and system
CN107918619B (en) Advertisement display method and device
CN101873325A (en) Flash supporting and processing method, system, mobile terminal and transfer server
CN102780722A (en) Method and server for providing application programs for mobile terminals
KR101485949B1 (en) Method and system for web page rearrangement
US20090089420A1 (en) Flash tracking system and method
CN103116645A (en) Method and device for browsing webpage with mobile device
US20090172752A1 (en) Streaming multiple videos in a playlist
CN103699652A (en) Webpage access method and webpage access system
CN101770511B (en) Browse system for accelerating backspace operation of mobile communication equipment terminal and application method thereof
CN102546273A (en) Test system and test method for WAP (wireless application protocol) website
KR100958525B1 (en) System and method for providing Internet WEB page in mobile communication system
CN102932393A (en) Method and system for accessing internet data

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20200527

Address after: 310051 room 508, floor 5, building 4, No. 699, Wangshang Road, Changhe street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: Alibaba (China) Co.,Ltd.

Address before: 100080 No. 29, building 16, building 18, Suzhou Street, Haidian District, Beijing, 1610-1620

Patentee before: UC MOBILE Co.,Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20121226