Efficient rendering communication method, storage medium, device and system for flash and js pages

A communication method and technology of a communication system, applied in the field of Flash live broadcast development, can solve the problems of screen freeze, poor user experience, low communication performance, etc., to increase the number of IO operations, reduce the peak value of data communication, and achieve a good user experience. Effect

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

AI Technical Summary

Problems solved by technology

In this method, the Flash player needs to play videos and render its own business, and also needs to be used as an intermediate key for communicating with JS pages and servers, which makes the overall communication performance very low
Especially in the rendering process of the Flash player, since the existing rendering operations are not based on the underlying rendering mode, but based on the rendering mode at the business logic level, the rendering efficiency will be caused by a large number of communications between the Flash player and the JS page. Performance bottleneck problem (in the existing mashup solution, the IO interface is directly called every time the data that needs to be transparently transmitted to the JS page is received, so that the performance is limited when the IO interface needs to be called many times within a certain period of time), so that the rendered picture has Caton feeling, poor user experience

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
  • Efficient rendering communication method, storage medium, device and system for flash and js pages
  • Efficient rendering communication method, storage medium, device and system for flash and js pages
  • Efficient rendering communication method, storage medium, device and system for flash and js pages

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

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

[0031] It is understandable that the rendering of the Flash player is composed of one frame by one frame. For example, a 30-frame Flash animation renders one screen in 30.33 milliseconds, and renders 30 screens in sequence like a slideshow in one second, so that users can See a 30fps Flash animation. Generally, 24 pictures are played in one second, and the user's naked eyes will not feel stuck. The more pictures played in one second, the smoother the Flash animation will be. On the contrary, when the number of pictures played in one second is less than 24 pictures, the user will start to feel stuck, and the less pictures played in one second, the stronger the feeling of freeze will be. Therefore, in order to solve the problem of stuttering, the Flash player must ensure that there are enough images rendered per second (preferably grea...

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

Disclosed in the present invention are a Flash and JS page efficient rendering communication method, a storage medium, a device, and a system, relating to the technical field of Flash live broadcast development. The method comprises: creating and initialising a data cache pool; establishing a socket connection between a Flash player and a server, and setting up event monitoring; when monitoring that the server has data for transmission, receiving the data of the server and storing same in the data cache pool; monitoring for frame rate events on the bottom layer of the Flash player, and when monitoring a frame rate event, using an IO data interface, dividing the data currently in the data cache pool into N parts and sending same to a JS page N times; after receiving the data sent by the Flash player, the JS page performs bottom layer rendering on the basis of the data to update the current JS page. The present invention can solve the problem of performance bottlenecks due to the large amount of communication between the Flash player and the JS page during the rendering process, such that the rendered image does not freeze, and the user experience is good.

Description

technical field [0001] The invention relates to the technical field of Flash live broadcast development, and specifically relates to a high-efficiency rendering communication method, storage medium, device and system for Flash and JS pages. Background technique [0002] At present, large-scale live broadcast platforms in China basically use the Flash player and JS page mix-and-match solution to build a web-side live broadcast platform. The advantage of adopting this kind of mix-and-match scheme is that it avoids the embarrassment that JS cannot use Socket (socket) for instant communication, and also avoids JS using webSocket (which is a new protocol of HTML5, which realizes full dual connection between browser and server). The insecure problem of real-time communication with the server (because the content of the webSocket communication message is clear text and can be directly truncated). [0003] However, in the existing mix-and-match schemes, the Flash player is used as ...

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): H04N21/44H04N21/442H04N21/81H04L29/06
CPCH04L69/162H04N21/44004H04N21/44209H04N21/4424H04N21/8173
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