Method, apparatus, terminal, and storage medium for image processing
First Claim
1. An image processing method, comprising:
- acquiring a Uniform Resource Locator (URL) of an image having a preset format, wherein content of the image is displayed as a first display image or a second display image, and the URL of the image having the preset format is in an editable script format and comprises a script engine keyword set including keywords that correspond to a URL of the first display image;
receiving a scripting language instruction sent by a server to acquire the URL of the first display image, wherein the scripting language instruction is sent according to the URL of the image having the preset format and in accordance with an algorithm of acquiring a URL of the second display image from the URL of the first display image;
parsing the scripting language instruction to acquire the keywords included in the script engine keyword set that correspond to the URL of first display image and the algorithm of acquiring the URL of the second display image from the URL of the first display image;
computing, according to the keywords included in the script engine keyword set and the algorithm of acquiring the URL of the second display image from the URL of the first display image, the URL of the second display image;
displaying, according to the URL of the first display image, the first display image when a display instruction of the first display image is triggered;
displaying, according to the URL of the second display image, the second display image when a display instruction of the second display image is triggered; and
in response to a change in a storage directory of an address of the second display image at the server, receiving and parsing a new scripting language instruction sent by the server to automatically acquire a new URL of the second display image.
3 Assignments
0 Petitions
Accused Products
Abstract
Disclosed is an image processing method, including: acquiring a Uniform Resource Locator (URL) of an image having a preset format; receiving a scripting language instruction sent by a server, and computing, according to the URL of the image having the preset format, a first URL of a first display image (e.g., a small image) and a second URL of a second display image (e.g., large image); displaying, according to the first URL of the first display image, the first display image when a display instruction of the first display image is triggered; and displaying, according to the second URL of the second display image, the second display image when a display instruction of the second display image is triggered. In the present disclosure, an image is correctly displayed through automatic adaptation to address algorithms of the small image and the corresponding large image, so that data traffic is reduced.
18 Citations
20 Claims
-
1. An image processing method, comprising:
-
acquiring a Uniform Resource Locator (URL) of an image having a preset format, wherein content of the image is displayed as a first display image or a second display image, and the URL of the image having the preset format is in an editable script format and comprises a script engine keyword set including keywords that correspond to a URL of the first display image; receiving a scripting language instruction sent by a server to acquire the URL of the first display image, wherein the scripting language instruction is sent according to the URL of the image having the preset format and in accordance with an algorithm of acquiring a URL of the second display image from the URL of the first display image; parsing the scripting language instruction to acquire the keywords included in the script engine keyword set that correspond to the URL of first display image and the algorithm of acquiring the URL of the second display image from the URL of the first display image; computing, according to the keywords included in the script engine keyword set and the algorithm of acquiring the URL of the second display image from the URL of the first display image, the URL of the second display image; displaying, according to the URL of the first display image, the first display image when a display instruction of the first display image is triggered; displaying, according to the URL of the second display image, the second display image when a display instruction of the second display image is triggered; and in response to a change in a storage directory of an address of the second display image at the server, receiving and parsing a new scripting language instruction sent by the server to automatically acquire a new URL of the second display image. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9)
-
-
10. An image processing apparatus, comprising at least one or more processors configured to:
-
acquire a Uniform Resource Locator (URL) of an image-having a preset format, wherein content of the image is displayed as a first display image or a second display image, and the URL of the image having the preset format is in an editable script format and comprises a script engine keyword set including keywords corresponding to a URL of the first display image; receive a scripting language instruction sent by a server to acquire the URL of the first display image, wherein the scripting language instruction is sent according to the URL of the image having the preset format and in accordance with an algorithm of acquiring a URL of the second display image from the URL of the first display image; parsing the scripting language instruction to acquire the keywords included in the script engine keyword set that correspond to the URL of first display image and the algorithm of acquiring the URL of the second display image from the URL of the first display image; computing, according to the keywords included in the script engine algorithm of acquiring the URL of the second display image from the URL of the first display image, the URL of the second display image; display, according to the URL of the first display image, the first display image when a display instruction of the first display image is triggered; display, according to the URL of the second display image, the second display image when a display instruction of the second display image is triggered; and in response to a change in a storage directory of an address of the second display image at the server, receive and parse a new scripting language instruction to automatically acquires a new URL of the second display image. - View Dependent Claims (11, 12, 13, 14, 15)
-
-
16. A non-transitory computer readable storage medium comprising a computer readable program stored thereon, wherein, when being executed, the computer readable program causes one or more processors to implement an image processing method, the method comprising:
-
acquiring a Uniform Resource Locator (URL) of an image-having a preset format, wherein content of the image is displayed as a first display image or a second display image, and the URL of the image having the preset format is in an editable script format and comprises a script engine keyword set including keywords corresponding to a URL of the first display image; receiving a scripting language instruction sent by a server to acquire the URL of the first display image, wherein the scripting language instruction is sent according to the URL of the image having the preset format and in accordance with an algorithm of acquiring a URL of the second display image from the URL of the first display image; parsing the scripting language instruction to acquire the keywords included in the script engine keyword set that correspond to the URL of first display image and the algorithm of acquiring the URL of the second display image from the URL of the first display image; displaying, according to the URL of the first display image, the first display image when a display instruction of the first display image is triggered; displaying, according to the URL of the second display image, the second display image when a display instruction of the second display image is triggered; and in response to a change in a storage directory of an address of the second display image at the server, receiving and parsing a new scripting language instruction sent by the server to automatically acquire a new URL of the second display image. - View Dependent Claims (17, 18, 19, 20)
-
Specification