# US 2016/0260228 A1 · Methods and devices for image loading and methods and devices for video playback

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2016/0260228 A1
- Document ID: US20160260228A1
- Status: Published application
- Kind: A1
- Application number: 15/033,315
- Filed: 2014-09-28
- Published: 2016-09-08
- Earliest claimed: 2013-10-31
- Assignees: Uc Mobile Limited
- Applicants: Uc Mobile Co., Ltd.
- Inventors: BINGHUI CHEN; XIAOMING LI
- Web page: https://patentgrep.com/patent/US20160260228A1

## CPC

- G06T 9/00: Image coding (bandwidth or redundancy reduction for static pictures H04N1/41; coding or decoding of static colour picture signals H04N1/64; methods or arrangements for coding, decoding, compressing or decompressing digital video signals H04N19/00)
- H04N 21/23605: {Creation or processing of packetized elementary streams [PES]}
- H04N 21/2393: {involving handling client requests (scheduling or organising the servicing of application requests H04L67/60)}
- H04N 21/42653: {for processing graphics}
- H04N 21/4781: {Games}
- H04N 21/4782: Web browsing {, e.g. WebTV}
- H04N 21/8543: using a description language, e.g. Multimedia and Hypermedia information coding Expert Group [MHEG], eXtensible Markup Language [XML] {(information retrieval of semistructured data, the underlying structure being taken into account, e.g. mark-up language structure data G06F16/80)}
- H04N 21/8586: {by using a URL (processing chained hypermedia data for information retrieval G06F16/94; information retrieval from the Internet by using URLs G06F16/955; URL in broadcast information H04H20/93; Web-based protocols H04L67/02)}
- G06T: IMAGE DATA PROCESSING OR GENERATION, IN GENERAL
- H04N: PICTORIAL COMMUNICATION, e.g. TELEVISION

## Abstract

The present disclosure provides methods and devices for image loading. The method includes generating a request message requesting downloading compressed texture data corresponding to a basic image; sending the request message to a server; receiving compression format data sent by the server according to the request message; and sending to a GPU the texture data contained in the compression format data. The present disclosure provides methods and devices for video playback. The method includes extracting webpage source code corresponding to a webpage address entered by a user; determining in the source code a video link address containing a preset protocol header; obtaining an address editing rule and a video player corresponding to the preset protocol header; according to the address editing rule, editing the information and the video link address in the source code into a video playback address containing a preset protocol header; and playing a video resource corresponding to the video playback address.

## Claims

### Claim 1

A method for image loading, the method comprising:
generating, by a browser, a request message requesting downloading compressed texture data corresponding to a basic image;
sending, by the browser, the request message to a server;
receiving, by the browser, compression format data that contains the compressed texture data corresponding to the basic image sent by the server according to the request message; and
sending, by the browser, to a Graphic Processing Unit (GPU) the compressed texture data contained in the compression format data, to cause the GPU to send the compressed texture data to a Canvas for drawing.

### Claim 2 (depends on 1)

The method according to claim 1, wherein the generating, by a browser, a request message requesting downloading compressed texture data corresponding to a basic image comprises:
determining, by the browser, whether a target webpage comprises a Canvas tag; if yes, sending, by the browser, to the server an identification of the target webpage and a compression format supported by the GPU, to cause the server, according to the identification of the target webpage, to search for an identification of the basic image used by the Canvas on the target webpage and an address identification of compressed texture data that corresponds to the basic image and is consistent with the compression format supported by the GPU;
downloading and storing, by the browser, a compressed texture list of the target webpage from the server, the compressed texture list comprising: the identification of the basic image and the address identification of the compressed texture data;
designating, by the browser, a target basic image;
determining, by the browser, whether an identification of the target basic image is in the compressed texture list; if yes, generating, by the browser, the request message requesting downloading the compressed texture data corresponding to the target basic image, the request message comprising the address identification of the compressed texture data that corresponds to the target basic image and is consistent with the compression format supported by the GPU, and the request message being used for acquiring from the server the compressed texture data of the target basic image.

### Claim 3 (depends on 2)

The method according to claim 2, wherein, if the identification of the target basic image is not in the compressed texture list,
sending, by the browser, to the server the identification of the target basic image and the compression format supported by the GPU, to cause the server, according to the identification of the target basic image and the compression format supported by the GPU, to generate the compressed texture data that corresponds to the target basic image and is consistent with the compression format supported by the GPU by using an image conversion tool.

### Claim 4 (depends on 1)

The method according to claim 1, wherein the generating, by a browser, a request message requesting downloading compressed texture data corresponding to a basic image comprises:
parsing, by the browser, whether an image in a target webpage comprises a first preset attribute, the first preset attribute being used for identifying the image as a basic image; if yes, identifying, by the browser, the image as a target basic image, and obtaining an identification of the target basic image; and
generating, by the browser, the request message requesting downloading the compressed texture data corresponding to the target basic image, the request message comprising the identification of the target basic image and a compression format supported by the GPU, and the request message being used for acquiring from the server the compressed texture data of the target basic image.

### Claim 5 (depends on 1)

The method according to claim 1, wherein the generating, by a browser, a request message requesting downloading compressed texture data corresponding to a basic image comprises:
parsing, by the browser, whether an image in a target webpage comprises a first preset attribute, the first preset attribute being used for identifying the image as a basic image; if yes, identifying, by the browser, the image as a target basic image, and obtaining an identification of the target basic image;
parsing, by the browser, whether the target basic image comprises a second preset attribute, the second preset attribute being used for identifying a compression format corresponding to the compressed texture data provided by the server;
selecting, by the browser, one of the compression format supported by the GPU and the compression format corresponding to the compressed texture data provided by the server as a target compression format; and
generating, by the browser, the request message requesting downloading the compressed texture data corresponding to the target basic image, the request message comprising the identification of the target basic image and the target compression format, and the request message being used for acquiring from the server the compressed texture data of the target basic image.

### Claim 6 (depends on 1)

The method according to claim 1, wherein the sending, by the browser, to a Graphic Processing Unit (GPU) the compressed texture data contained in the compression format data comprises:
decompressing, by the browser, the compression format data by using a decompression tool to extract the compressed texture data; and
sending, by the browser, the compressed texture data to the GPU.

### Claim 7

A method for image loading, wherein the method comprises:
receiving, by a server, a request message requesting downloading compressed texture data corresponding to a basic image sent by a browser;
obtaining, by the server, compression format data that contains the compressed texture data according to the request message; and
sending, by the server, to the browser the compression format data that contains the compressed texture data, to cause the browser to send the compressed texture data to a Graphic Processing Unit (GPU), to cause the GPU to send the compressed texture data to a Canvas for drawing.

### Claim 8 (depends on 7)

The method according to claim 7, further comprising:
pre-storing, by the server, a compressed texture list of a webpage, the compressed texture list of the webpage comprising an identification of the webpage, an identification of the basic image used by the Canvas on the webpage, and an address identification of the compressed texture data corresponding to the basic image;
receiving, by the server, an identification of a target webpage and a compression format supported by the GPU sent by the browser;
querying, by the server, according to the identification of the target webpage and the compression format supported by the GPU, the compressed texture list of the target webpage, and obtaining the identification of the basic image and the address identification of the compressed texture data; and
sending, by the server, to the browser the identification of the basic image and the address identification of the compressed texture data, to cause the browser to send to the server the request message requesting downloading the compressed texture data corresponding to the basic image.

### Claim 9 (depends on 7)

The method according to claim 7, wherein the obtaining, by the server, compression format data that contains the compressed texture data according to the request message comprises:
determining, by the server, whether the request message comprises an identification of the basic image and a compression format supported by the GPU;
if it does comprise, determining, by the server, whether the identification of the basic image is in the compressed texture list pre-stored by the server; and if yes, querying, by the server, according to the identification of the basic image and the compression format supported by the GPU, the pre-stored compressed texture list, to obtain the compressed texture data, the compressed texture data being consistent with the compression format supported by the GPU.

### Claim 10 (depends on 9)

The method according to claim 9, wherein, if the identification of the basic image is not in the compressed texture list pre-stored by the server, the method further comprises:
downloading, by the server, the basic image according to the identification of the basic image contained in the request message; and
converting, by the server, according to the compression format supported by the GPU contained in the request message, the basic image to the compressed texture data that is consistent with the compression format supported by the GPU by using a image conversion tool.

### Claim 11 (depends on 7)

The method according to claim 7, wherein the obtaining, by the server, compression format data that contains the compressed texture data according to the request message comprises:
downloading, by the server, the basic image according to an identification of the basic image contained in the request message; and
converting, by the server, according to a compression format supported by the GPU contained in the request message, the basic image into the compressed texture data that is consistent with the compression format supported by the GPU by using an image conversion tool.

### Claim 12

A device for image loading, the device comprising:
a generation unit that generates a request message requesting downloading compressed texture data corresponding to a basic image;
a first sending unit that sends the request message generated by the generation unit to a server;
a receiving unit that receives compression format data that contains the compressed texture data corresponding to the basic image sent by the server according to the request message; and
a second sending unit that sends to a Graphic Processing Unit (GPU) the compressed texture data contained in the compression format data, to cause the GPU to send the compressed texture data to a Canvas for drawing.

### Claim 13 (depends on 12)

The device according to claim 12, wherein the generation unit comprises:
a first determination sub-unit that determines whether a target webpage comprises a Canvas tag; and
a first sending sub-unit that, when the first determination sub-unit determines that the target webpage comprises a Canvas tag, sends to the server an identification of the target webpage and a compression format supported by the GPU, to cause the server, according to the identification of the target webpage, to search for an identification of the basic image used by the Canvas on the target webpage and an address identification of the compressed texture data that corresponds to the basic image and is consistent with the compression format supported by the GPU;
a downloading sub-unit that downloads and stores a compressed texture list of the target webpage from the server, the compressed texture list comprising: the identification of the basic image, and the address identification of the compressed texture data;
a designation sub-unit that designates a target basic image;
a second determination sub-unit that determines whether an identification of the target basic image designated by the designation sub-unit is in the compressed texture list; and
a first generation sub-unit that, when the second determination sub-unit determines that the identification of the target basic image is in the compressed texture list, generates the request message requesting downloading the compressed texture data corresponding to the target basic image, the request message comprising the address identification of the compressed texture data that corresponds to the target basic image and is consistent with the compression format supported by the GPU, and the request message being used for acquiring from the server the compressed texture data of the target basic image.

### Claim 14 (depends on 13)

The device according to claim 13, wherein the generation unit further comprises:
a second sending sub-unit that, when the second determination sub-unit determines that the identification of the target basic image is not in the compressed texture list, sends to the server the identification of the target basic image and the compression format supported by the GPU, to cause the server, according to the identification of the target basic image and the compression format supported by the GPU, to generate the compressed texture data that corresponds to the target basic image and is consistent with the compression format supported by the GPU by using an image conversion tool.

### Claim 15 (depends on 12)

The device according to claim 12, wherein the generation unit further comprises:
a first parsing sub-unit that parses whether an image in a target webpage comprises a first preset attribute, the first preset attribute being used for identifying the image as the basic image;
an identification sub-unit that, when the first parsing sub-unit parses that the image in the target webpage comprises the first preset attribute, identifies the image as a target basic image, and obtaining an identification of the target basic image; and
a second generation sub-unit that generates the request message requesting downloading the compressed texture data corresponding to the target basic image identified by the identification sub-unit, the request message comprising the identification of the target basic image and a compression format supported by the GPU, and the request message being used for acquiring from the server the compressed texture data of the target basic image.

### Claim 16 (depends on 12)

The device according to claim 12, wherein the generation unit further comprises:
a first parsing sub-unit that parses whether an image in a target webpage comprises a first preset attribute, the first preset attribute being used for identifying the image as the basic image;
an identification sub-unit that, when the first parsing sub-unit parses that the image in the target webpage comprises the first preset attribute, identifies the image as a target basic image, and obtaining an identification of the target basic image;
a second parsing sub-unit that parses whether the target basic image comprises a second preset attribute, the second preset attribute being used for identifying a compression format corresponding to the compressed texture data provided by the server;
a selection sub-unit that selects one from the compression format supported by the GPU and the compression format corresponding to the compressed texture data provided by the server as a target compression format; and
a third generation sub-unit that generates the request message requesting downloading the compressed texture data corresponding to the target basic image, the request message comprising the identification of the target basic image and the target compression format, and the request message being used for acquiring from the server the compressed texture data of the target basic image.

### Claim 17 (depends on 12)

The device according to claim 12, wherein the second sending unit comprises:
a decompression sub-unit that decompresses the compression format data received by the receiving unit to extract the compressed texture data by using a decompression tool; and
a third sending sub-unit that sends the compressed texture data extracted by the decompression sub-unit to the GPU.

### Claim 18

A device for image loading, the device comprising:
a first receiving unit that receives a request message requesting downloading compressed texture data corresponding to a basic image sent by a browser;
an obtaining unit that obtains compression format data that contains the compressed texture data according to the request message received by the first receiving unit; and
a first sending unit that sends to the browser the compression format data that contains the compressed texture data obtained by the obtaining unit, to cause the browser to send the compressed texture data to a Graphic Processing Unit (GPU), to cause the GPU to send the compressed texture data to a Canvas for drawing.

### Claim 19 (depends on 18)

The device according to claim 18, further comprising:
a pre-storing unit that pre-stores a compressed texture list of a webpage, the compressed texture list of the webpage comprising an identification of the webpage, an identification of the basic image used by the Canvas on the webpage, and an address identification of the compressed texture data corresponding to the basic image;
a second receiving unit that receives an identification of a target webpage and a compression format supported by the GPU sent by the browser;
a query unit that queries, according to the identification of the target webpage and the compression format supported by the GPU received by the second receiving unit, the compressed texture list of the target webpage, and obtains the identification of the basic image and the address identification of the compressed texture data; and
a second sending unit that sends to the browser the identification of the basic image and the address identification of the compressed texture data queried by the query unit, to cause the browser to send to a server the request message requesting.

### Claim 20 (depends on 18)

The device according to claim 18, wherein the obtaining unit comprises:
a first determination sub-unit that determines whether the request message comprises an identification of the basic image and a compression format supported by the GPU;
a second determination sub-unit that, when the first determination sub-unit determines that the request message comprises the identification of the basic image and the compression format supported by the GPU, determines whether the identification of the basic image is in the compressed texture list pre-stored by a server; and
a query sub-unit that, when the second determination sub-unit determines that the identification of the basic image is in the compressed texture list pre-stored by the server, queries, according to the identification of the basic image and the compression format supported by the GPU, the pre-stored compressed texture list, to obtain the compressed texture data, the compressed texture data being consistent with the compression format supported by the GPU.

### Claim at position 21

21-36. (canceled)
