[go: up one dir, main page]

CN102209140A - 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
CN102209140A
CN102209140A CN201010226781.8A CN201010226781A CN102209140A CN 102209140 A CN102209140 A CN 102209140A CN 201010226781 A CN201010226781 A CN 201010226781A CN 102209140 A CN102209140 A CN 102209140A
Authority
CN
China
Prior art keywords
flash
flash file
client
caching system
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.)
Granted
Application number
CN201010226781.8A
Other languages
Chinese (zh)
Other versions
CN102209140B (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 applied in 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 by 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, by playing flash, send to browser clients by 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 makes 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 as follows:
A kind of browser player method that is applied to the flash file of mobile communication equipment terminals, described mobile communication equipment terminals adopt service end/client framework to browse web sites, and mobile communication equipment terminals is a client, and described 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, plays flash in the virtual frames caching system, 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, described method also comprises, in step (11) afterwards, carries out following steps:
(31) service end is revised the frame per second field of flash file by resolving the flash file, reduces frame per second, execution in step (12) then.
As further preferred version, described step (31) by 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 described 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, described 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 as follows:
A kind of browser playing device that is applied to the flash file of mobile communication equipment terminals, described 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 described 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, described 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, described frame per second modified module is revised as the frame per second of flash file≤5 frame/seconds.
The invention enables by 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 the drawings and specific embodiments the present invention is described in more detail.
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 by the mobile network between browser service end and the client, under gprs and edge network condition, be subjected to 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 after tested, 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 image is placed in the internal memory and stores that do not play up, for example xvfb and xvnc open source software can provide this class technology on hardware.It is that image is played up that Flash plays another factor that takies the cpu resource, adopts the virtual frames caching technology, only image is placed in the internal memory, and does not need to play 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 by the api interface that the virtual frames caching system provides from the internal memory of virtual frames caching system, but all calls by 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 as follows:
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, plays flash in the virtual frames buffer memory;
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 improvements and modifications, these improvements and modifications also should be considered 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, described 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, described 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, plays flash in the virtual frames caching system, 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 described virtual frames caching system is exactly the operation of virtual frames caching system.
3. player method according to claim 1 is characterized in that, described method also comprises, in step (11) afterwards, carries out following steps:
(31) service end is revised the frame per second field of flash file by resolving the flash file, reduces frame per second, execution in step (12) then.
4. player method according to claim 3 is characterized in that, described step (31) by 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 data storage area of the virtual frames caching system in the described 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.
6. according to the described player method of claim 1~5, it is characterized in that described 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, described 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 described 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, described 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, described 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 true CN102209140A (en) 2011-10-05
CN102209140B 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)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915194A (en) * 2012-11-13 2013-02-06 北京奇艺世纪科技有限公司 Method, device and mobile terminal for implementing video previews based on ME (mobile equipment)
CN102929489A (en) * 2012-11-09 2013-02-13 北京奇虎科技有限公司 Implementation method of client browser and client browser
WO2013185599A1 (en) * 2012-06-14 2013-12-19 腾讯科技(深圳)有限公司 Display control method, device and system
CN104065637A (en) * 2013-07-10 2014-09-24 腾讯科技(深圳)有限公司 Web-game running method and device
US9923988B2 (en) 2013-07-10 2018-03-20 Tencent Technology (Shenzhen) Company Limited Systems and methods for browser-based games
CN110232882A (en) * 2019-06-06 2019-09-13 深圳市福瑞达显示技术有限公司 Fan screen display control method and its system based on linux system
CN111966557A (en) * 2019-05-20 2020-11-20 北京车和家信息技术有限公司 Method and device for monitoring browser frame rate
CN112489175A (en) * 2020-11-27 2021-03-12 四三九九网络股份有限公司 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

Cited By (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9313292B2 (en) 2012-06-14 2016-04-12 Tencent Technology (Shenzhen) Company Limited Method, apparatus and system for display control
WO2013185599A1 (en) * 2012-06-14 2013-12-19 腾讯科技(深圳)有限公司 Display control method, device and system
CN103488402A (en) * 2012-06-14 2014-01-01 腾讯科技(深圳)有限公司 Display control method, equipment and system
CN102929489A (en) * 2012-11-09 2013-02-13 北京奇虎科技有限公司 Implementation method of client browser 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
CN102915194A (en) * 2012-11-13 2013-02-06 北京奇艺世纪科技有限公司 Method, device and mobile terminal for implementing video previews based on ME (mobile equipment)
CN104065637B (en) * 2013-07-10 2015-07-01 腾讯科技(深圳)有限公司 Web-game running method and device
CN104065637A (en) * 2013-07-10 2014-09-24 腾讯科技(深圳)有限公司 Web-game running method and device
US9923988B2 (en) 2013-07-10 2018-03-20 Tencent Technology (Shenzhen) Company Limited Systems and methods for browser-based games
US10284675B2 (en) 2013-07-10 2019-05-07 Tencent Technology (Shenzhen) Company Limited Systems and methods for browser-based games
CN111966557A (en) * 2019-05-20 2020-11-20 北京车和家信息技术有限公司 Method and device for monitoring browser frame rate
CN111966557B (en) * 2019-05-20 2023-07-14 北京车和家信息技术有限公司 Method and device for monitoring browser frame rate
CN110232882A (en) * 2019-06-06 2019-09-13 深圳市福瑞达显示技术有限公司 Fan screen display control method and its system based on linux system
CN112489175A (en) * 2020-11-27 2021-03-12 四三九九网络股份有限公司 Method for analyzing big data content by FLASH framing
CN112489175B (en) * 2020-11-27 2023-04-11 四三九九网络股份有限公司 Method for analyzing big data content by FLASH framing

Also Published As

Publication number Publication date
CN102209140B (en) 2012-12-26

Similar Documents

Publication Publication Date Title
CN102209140B (en) Method of playing flash file of mobile communication equipment terminal through browser and apparatus thereof
CN110115835B (en) Cloud game running method based on Android system and server
CN102364459B (en) Based on Webpage Flash animation display method and the device of mobile terminal
CN102984151B (en) Method and the server of image data are provided to computing terminal
US9571556B2 (en) Browser kernel adaptation method and browser therefor
CN102184231A (en) Method and device for acquiring page resources
CN102761564B (en) Graphic sharing method, system and terminal
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
CN102905045A (en) Method and server for providing picture data to computing terminal
CN102904912B (en) Method and system for downloading webpage contents
CN101777066A (en) Web page rendering and browsing system for mobile communication equipment terminals and application method thereof
CN102761603A (en) Webpage flash video redirection method in VDI environment
CN102932671A (en) Method and server for supplying picture to computing terminal
CN106776761A (en) A kind of mobile browser renders the method and device of webpage
CN103259861A (en) Method and system for recording and watching network videos
CN102761456A (en) Method, device and system for acquiring performance parameters of browser of mobile terminal
CN107918619B (en) Advertisement display method and device
CN101873325A (en) Flash supporting and processing method, system, mobile terminal and transfer server
CN103116645A (en) Method and device for browsing webpage with mobile device
KR101485949B1 (en) Method and system for web page rearrangement
CN101770511A (en) Browse system for accelerating backspace operation of mobile communication equipment terminal and application method thereof
CN103347215B (en) A kind of multi-screen interaction method and Set Top Box
KR100958525B1 (en) System and method for providing Internet web page in mobile communication network

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

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.

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

Granted publication date: 20121226

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