Graphic sharing method, system and terminal

A graphics and terminal technology, applied in the field of the Internet, can solve the problems of cost, graphics sharing solutions that cannot achieve cross-browser graphics transmission, and multiple manpower.

Active Publication Date: 2012-10-31
ALIBABA GRP HLDG LTD
View PDF2 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The embodiment of the present application provides a graphics sharing method and system to solve the problem that the graphics sharing scheme provided by the prior art cannot realize cross-browser graphics transmission and consumes a lot of manpower and material resources

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
  • Graphic sharing method, system and terminal
  • Graphic sharing method, system and terminal
  • Graphic sharing method, system and terminal

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0055] Embodiment 1 is directed to the case where Flash is installed in the browsers of terminals sharing graphics information, and the graphics sharing mode in this case may also be called "high-speed mode". In high-speed mode, please refer to the attached Figure 4 , the steps are as follows:

[0056] First, the image sharing program Image_Share1.swf in C1, which is used to execute operations such as calling the pixel reading program PIX_Reader.js, uses the Flash timer Timer to call according to the FPS of C2 sent by the graphics switching center when shaking hands with the graphics switching center server The method used to sample graphic information in PIX_Reader.js (the method name is [ReaderCanvas]);

[0057] PIX_Reader.js calls the Canvas API to read the graphic information generated based on the Canvas, and returns the read graphic information to Image_Share1.swf in the form of an array;

[0058] Image_Share1.swf encapsulates the graphics information in the graphics ...

Embodiment 2

[0063] Embodiment 2 is for the case where the browsers of the terminals sharing graphic information do not have Flash installed, and the graphic sharing mode in this case may also be called "compatibility mode". Different from the high-speed mode, because the browser of the terminal in the compatibility mode does not have Flash installed, there is no FlashSocket and Timer, but the corresponding functions are realized by WebSocket and thread Worker. In compatibility mode, please refer to the attached Figure 5 , the steps are as follows:

[0064] First, the Worker in C1 invokes the program Image_Share1.js for executing the sampling of graphics information, and samples the graphics information generated based on Canvas according to the FPS of C2 sent by the graphics switching center server when shaking hands with the graphics switching center server;

[0065] Image_Share1.js encapsulates the graphics information in the graphics sharing protocol package according to the pre-agre...

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 discloses a graphic sharing method and system which are used for solving the defects that cross-browser graphic transmission can not be realized by the graphic sharing scheme provided by the prior art, and more manpower and material resources are wasted. The method comprises the following steps that: a graphic providing party terminal samples Canvas rules-based graphics generated by a browser on the graphic providing party by a Canvas rule-based graphic interface according to a preset sampling rate to obtain graphic information; and the graphic providing party terminal encapsulates the acquired graphic information according to the predefined graphic sharing protocol to obtain an information packet, and then sends the information packet to a graphic interchange center through persistence connection with the graphic interchange center server so as to decapsulate the graphic interchange center server and obtain the graphic information, and sending graphic information to a graphic receiving party terminal through the long join with a graphic receiving party terminal. The invention further discloses a terminal.

Description

technical field [0001] The present application relates to the technical field of the Internet, in particular to a graphic sharing method, system and terminal. Background technique [0002] HTML5 is the next-generation HTML specification supported by web browsers, which can provide developers with more and richer functions. HTML5 includes several sub-standards, such as WebSocket, Worker, WebSQL, Canvas (canvas) and so on. At present, many browsers including IE, Firefox, Chrome, Safari, etc. support these specifications. [0003] In the above specifications, Canvas is a drawing sub-spec in HTML5, which is mainly used to generate various 3D and 2D graphics, so developers can use Canvas to make games, and even make a system platform. In recent years, Web browsers have become more and more widely used, and their requirements for graphics drawing have also become higher and higher, so the development and application of Canvas has also been deeply studied. At present, the graphi...

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): H04L29/08
CPCG06T15/005G06F3/14H04L69/24G06F3/1454H04L29/08H04L67/02H04L51/10H04N21/6175H04N21/6125H04L65/40H04L9/40H04L65/1101H04L67/55H04L67/1074
Inventor 袁志俊禹扬帆
Owner ALIBABA GRP HLDG 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