Terminal device, system for providing picture and method for transmitting picture
First Claim
1. A terminal device comprising:
- a memory having instructions stored thereon;
a processor to execute the instructions to perform operations for transmitting a picture, the operations comprising;
obtaining a uniform resource locator (URL) of a picture to be transmitted according to a picture request initiated by the terminal device, wherein the picture to be transmitted is (i) a picture stored in a picture bed server, and the URL of the picture to be transmitted is a URL of a storage location of the picture in the picture bed server or (ii) a picture stored in an original picture server, and the URL of the picture to be transmitted is a URL of a storage location of the picture in the original picture server;
detecting a state of a network where the terminal device is located;
detecting a resolution value supported by the terminal device;
determining a picture quality value of the picture to be transmitted according to the state of the network where the terminal device is located;
determining a maximum resolution value of the picture to be transmitted according to the state of the network where the terminal device is located and the resolution value supported by the terminal device;
sending the URL, the picture quality value, and the maximum resolution value of the picture to be transmitted to the picture bed server by generating a combined URL by splicing the URL, the picture quality value, and the maximum resolution value of the picture to be transmitted in a specified way and sending the combined URL to the picture bed server for processing;
sending the specified way for splicing to the picture bed server, such that the picture bed server can parse the received combined URL; and
receiving the returned picture which had been processed by the picture bed server according to the URL, the picture quality value, and the maximum resolution value of the picture to be transmitted, and displaying the returned picture on the terminal device.
1 Assignment
0 Petitions
Accused Products
Abstract
The present disclosure discloses a terminal device, a system for providing picture and a method for transmitting picture and pertains to the field of network communications technologies. The method comprises: obtaining a URL of a picture to be transmitted according to a picture request initiated by a terminal device; determining the picture quality value of the picture to be transmitted according to the state of the network where the terminal device is located; determining the maximum resolution value of the picture to be transmitted according to the state of the network where the terminal device is located and the resolution value supported by the terminal device; sending the URL of the picture to be transmitted, the picture quality value of the picture to be transmitted and the maximum resolution value of the picture to be transmitted to a picture bed server; receiving the returned picture which had been processed by the picture bed server according to these parameters, and displaying it on the terminal device. Under the premise of not affecting the experience of viewing a picture by a user, the technical solution of the present disclosure realizes the beneficial effects of reducing the transmission size of the picture, increasing the transmission speed of the picture, and at the same time guaranteeing the picture quality as much as possible.
25 Citations
9 Claims
-
1. A terminal device comprising:
-
a memory having instructions stored thereon; a processor to execute the instructions to perform operations for transmitting a picture, the operations comprising; obtaining a uniform resource locator (URL) of a picture to be transmitted according to a picture request initiated by the terminal device, wherein the picture to be transmitted is (i) a picture stored in a picture bed server, and the URL of the picture to be transmitted is a URL of a storage location of the picture in the picture bed server or (ii) a picture stored in an original picture server, and the URL of the picture to be transmitted is a URL of a storage location of the picture in the original picture server; detecting a state of a network where the terminal device is located; detecting a resolution value supported by the terminal device; determining a picture quality value of the picture to be transmitted according to the state of the network where the terminal device is located; determining a maximum resolution value of the picture to be transmitted according to the state of the network where the terminal device is located and the resolution value supported by the terminal device; sending the URL, the picture quality value, and the maximum resolution value of the picture to be transmitted to the picture bed server by generating a combined URL by splicing the URL, the picture quality value, and the maximum resolution value of the picture to be transmitted in a specified way and sending the combined URL to the picture bed server for processing; sending the specified way for splicing to the picture bed server, such that the picture bed server can parse the received combined URL; and receiving the returned picture which had been processed by the picture bed server according to the URL, the picture quality value, and the maximum resolution value of the picture to be transmitted, and displaying the returned picture on the terminal device. - View Dependent Claims (2, 3, 4)
-
-
5. A method for transmitting a picture comprising:
-
obtaining, by a processor, a uniform resource locator (URL) of a picture to be transmitted according to a picture request initiated by a terminal device, wherein the picture to be transmitted is (i) a picture stored in a picture bed server, and the URL of the picture to be transmitted is a URL of a storage location of the picture in the picture bed server or (ii) a picture stored in an original picture server, and the URL of the picture to be transmitted is a URL of a storage location of the picture in the original picture server; detecting, by the processor, a state of a network where the terminal device is located; determining, by the processor, a picture quality value of the picture to be transmitted according to the state of the network where the terminal device is located; obtaining, by the processor, a resolution value supported by the terminal device; determining, by the processor, a maximum resolution value of the picture to be transmitted according to the state of the network where the terminal device is located and the resolution value supported by the terminal device; sending, by the processor, the URL, the picture quality value, and the maximum resolution value of the picture to be transmitted to the picture bed server by generating a combined URL by splicing the URL, the picture quality value, and the maximum resolution value of the picture to be transmitted in a specified way and sending the combined URL to the picture bed server for processing; sending the specified way for splicing to the picture bed server, such that the picture bed server can parse the received combined URL; and receiving, by the processor, the returned picture which had been processed by the picture bed server according to the URL, the picture quality value, and the maximum resolution value of the picture to be transmitted, and displaying the returned picture on the terminal device. - View Dependent Claims (6, 7, 8)
-
-
9. A non-transitory computer readable medium having instructions stored thereon that, when executed by at least one processor, cause the at least one processor to perform operations of transmitting a picture, comprising:
-
obtaining a uniform resource locator (URL) of a picture to be transmitted according to a picture request initiated by a terminal device, wherein the picture to be transmitted is (i) a picture stored in a picture bed server, and the URL of the picture to be transmitted is a URL of a storage location of the picture in the picture bed server or (ii) a picture stored in an original picture server, and the URL of the picture to be transmitted is a URL of a storage location of the picture in the original picture server; detecting a state of a network where the terminal device is located; determining a picture quality value of the picture to be transmitted according to the state of the network where the terminal device is located; obtaining a resolution value supported by the terminal device; determining a maximum resolution value of the picture to be transmitted according to the state of the network where the terminal device is located and the resolution value supported by the terminal device; sending the URL, the picture quality value, and the maximum resolution value of the picture to be transmitted to picture bed server by generating a combined URL by splicing the URL, the picture quality value, and the maximum resolution value of the picture to be transmitted in a specified way and sending the combined URL to the picture bed server for processing; sending the specified way for splicing to the picture bed server, such that the picture bed server can parse the received combined URL; and receiving the returned picture which had been processed by the picture bed server according to the URL, the picture quality value, and the maximum resolution value of the picture to be transmitted, and displaying the returned picture on the terminal device.
-
Specification