CN107592553A - A kind of compression of images agency balance processing method and processing device - Google Patents
A kind of compression of images agency balance processing method and processing device Download PDFInfo
- Publication number
- CN107592553A CN107592553A CN201710780109.5A CN201710780109A CN107592553A CN 107592553 A CN107592553 A CN 107592553A CN 201710780109 A CN201710780109 A CN 201710780109A CN 107592553 A CN107592553 A CN 107592553A
- Authority
- CN
- China
- Prior art keywords
- image
- compression
- format
- resource
- terminal
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
- 230000006835 compression Effects 0.000 title claims abstract description 226
- 238000007906 compression Methods 0.000 title claims abstract description 226
- 238000012545 processing Methods 0.000 title claims abstract description 17
- 238000003672 processing method Methods 0.000 title claims abstract description 7
- 238000000034 method Methods 0.000 claims abstract description 34
- 230000003068 static effect Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 5
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 230000000694 effects Effects 0.000 abstract description 6
- 238000004364 calculation method Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 3
- 238000005259 measurement Methods 0.000 description 2
- 238000004458 analytical method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 238000005303 weighing Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
The embodiment of the invention discloses a kind of compression of images to act on behalf of balance processing method and processing device, and method includes:The web page browsing request that first terminal is sent is received, web page browsing request includes user's request;Web page browsing request is sent to second terminal, and receives the image resource of second terminal return;Image compression format and target compression factor are determined according to the user's request and described image resource, and described image resource are compressed according to described image compressed format and the target compression factor, obtains compressed images;The compressed images are sent to the first terminal.Forwarded by web page browsing request of the proxy terminal to first terminal, and the image resource returned to second terminal is compressed processing, image compression format is obtained with reference to user's request and target compression factor obtains compressed images, user's request can be combined, optimize the performance of compression of images agency, the compression of images effect for best suiting user's request is obtained, lifts Consumer's Experience.
Description
Technical Field
The embodiment of the invention relates to the technical field of internet, in particular to a method and a device for balancing and processing an image compression agent.
Background
With the proposal of the Web2.0 concept and the rapid development of cloud computing, more interactive functions are endowed to Web applications, rather than only pure webpage reading and document sharing. The rise of the mobile internet deepens the dependence of people on Web application, mobile terminal access also becomes the main access mode of the internet, and more websites begin to consider the requirements of mobile terminal clients during the design.
However, the existing mobile terminal access has the problem of high data cost, and the image traffic occupies more than half of the web page traffic according to statistics, so that great benefit can be obtained by properly compressing the image. In order to save the use of data traffic, people save the cost of users in web browsing by compressing the content of web pages. Compressing an image can affect the loading time of a web page and the quality of the image itself, and there is a trade-off relationship between them. Meanwhile, the requirements of different users are different, and how to obtain the image compression effect which best meets the requirements of the users becomes a technical problem which is urgently needed to be solved at present.
Disclosure of Invention
Because the existing method has the above problems, the embodiments of the present invention provide a method and an apparatus for image compression proxy trade-off processing.
In a first aspect, an embodiment of the present invention provides an image compression agent trade-off processing method, including:
receiving a webpage browsing request sent by a first terminal, wherein the webpage browsing request comprises user requirements;
sending the webpage browsing request to a second terminal, and receiving an image resource returned by the second terminal;
determining an image compression format and a target compression factor according to the user requirements and the image resources, and compressing the image resources according to the image compression format and the target compression factor to obtain a compressed image;
and sending the compressed image to the first terminal.
Optionally, the determining an image compression format and a target compression factor according to the user requirement and the image resource, and compressing the image resource according to the image compression format and the target compression factor to obtain a compressed image specifically includes:
determining an image compression format and a target compression factor according to the user requirements and the image resources;
if the image compression format supports a first preset format, compressing the image resource according to the first preset format and the target compression factor to obtain a processed image in the first preset format;
if the image compression format is judged to be not supported by the first preset format, compressing the image resource according to the target compression factor to obtain a processed image in a second preset format;
and if the image resource is a dynamic image and compression is allowed according to the image compression format, compressing and converting the processed image into a static compressed image.
Optionally, the determining an image compression format and a target compression factor according to the user requirement and the image resource specifically includes:
determining an image compression format according to the user requirement, predicting according to the size of the image resource to obtain a target compression ratio, calculating according to the size of the image resource and the target compression ratio to obtain a structural similarity index, and determining a target compression factor according to the structural similarity index.
Optionally, the method further comprises:
acquiring a first file size of the image resource, a second file size of the compressed image and a uniform resource locator of the image resource;
calculating to obtain a compression ratio and a flow saving value according to the size of the first file and the size of the second file;
recording the compression ratio, the savings flow value, and the uniform resource locator in a log file.
Optionally, the user requirement includes a plurality of image quality levels, and each image quality level is represented by a corresponding preset character.
In a second aspect, an embodiment of the present invention further provides an image compression agent trade-off processing apparatus, including:
the request receiving module is used for receiving a webpage browsing request sent by a first terminal, wherein the webpage browsing request comprises user requirements;
the request sending module is used for sending the webpage browsing request to a second terminal and receiving image resources returned by the second terminal;
the image compression module is used for determining an image compression format and a target compression factor according to the user requirements and the image resources, and compressing the image resources according to the image compression format and the target compression factor to obtain a compressed image;
and the image sending module is used for sending the compressed image to the first terminal.
Optionally, the image compression module specifically includes:
the format determining unit is used for determining an image compression format and a target compression factor according to the user requirement and the image resource;
the first processing unit is used for compressing the image resource according to the first preset format and the target compression factor to obtain a processed image in the first preset format if the image compression format is judged to support the first preset format;
the second processing unit is used for compressing the image resource according to the target compression factor to obtain a processed image in a second preset format if the image compression format is judged to be not supported by the first preset format;
and the image conversion unit is used for compressing and converting the processed image into a static compressed image if the image resource is a dynamic image and compression is allowed according to the image compression format.
Optionally, the image compression module is specifically configured to determine an image compression format according to the user requirement, predict a target compression ratio according to the size of the image resource, calculate a structural similarity index according to the size of the image resource and the target compression ratio, and determine a target compression factor according to the structural similarity index.
In a third aspect, an embodiment of the present invention further provides an electronic device, including:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, which when called by the processor are capable of performing the above-described methods.
In a fourth aspect, an embodiment of the present invention further provides a non-transitory computer-readable storage medium storing a computer program, which causes the computer to execute the above method.
According to the technical scheme, the webpage browsing request of the first terminal is forwarded through the proxy terminal, the image resource returned by the second terminal is compressed, the image compression format and the target compression factor are obtained according to the user requirements, the compressed image is obtained, the performance of the image compression proxy can be optimized according to the user requirements, the image compression effect which best meets the user requirements is obtained, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flowchart illustrating an image compression agent weighing method according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating an image compression agent trade-off processing method according to another embodiment of the present invention;
fig. 3 is a schematic structural diagram of an image compression agent trade-off processing apparatus according to an embodiment of the present invention;
fig. 4 is a logic block diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following further describes embodiments of the present invention with reference to the accompanying drawings. The following examples are only for illustrating the technical solutions of the present invention more clearly, and the protection scope of the present invention is not limited thereby.
Fig. 1 is a schematic flowchart illustrating an image compression agent trade-off processing method according to this embodiment, including:
s101, receiving a webpage browsing request sent by a first terminal, wherein the webpage browsing request comprises user requirements;
the user requirement comprises a plurality of image quality levels, and each image quality level is represented by a corresponding preset character.
Specifically, a user requirement can be added to a header of an HTTP request (web browsing request), a message field containing the user requirement is added to the HTTP request, an input form of the user requirement is a picture quality level, the picture quality can be divided into 1-5 levels, and the HTTP request message is divided into, for example, { quality: 1} form.
Generally, compressing web page contents is generally implemented by a compression agent terminal developing web pages, which compresses data mainly in the form of compressed images and compressed texts. Therefore, the compression agent terminal receives the web browsing request sent by the first terminal.
S102, sending the webpage browsing request to a second terminal, and receiving an image resource returned by the second terminal;
s103, determining an image compression format and a target compression factor according to the user requirement and the image resource, and compressing the image resource according to the image compression format and the target compression factor to obtain a compressed image;
and S104, sending the compressed image to the first terminal.
According to the method and the device, the webpage browsing request of the first terminal is forwarded through the proxy terminal, the image resource returned by the second terminal is compressed, the image compression format and the target compression factor are obtained by combining the user requirements, the compressed image is obtained, the performance of the image compression proxy can be optimized by combining the user requirements, the image compression effect which best meets the user requirements is obtained, and the user experience is improved.
Further, on the basis of the above method embodiment, S103 specifically includes:
s1031, determining an image compression format and a target compression factor according to the user requirements and the image resources;
s1032, if the image compression format is judged to support a first preset format, compressing the image resource according to the first preset format and the target compression factor to obtain a processed image in the first preset format;
s1033, if the image compression format is judged to be not supported by the first preset format, compressing the image resource according to the target compression factor to obtain a processed image in a second preset format;
s1034, if the image resource is a dynamic image and compression is allowed according to the image compression format, compressing and converting the processed image into a static compressed image.
Specifically, the compression proxy terminal judges whether the first terminal supports a WebP format picture according to a header in an HTTP request sent by the first terminal, if so, compresses the picture into a WebP format, if not, compresses the picture into a JPEG format, and continues to judge whether compression of the dynamic picture is allowed by the header, and if so, compresses the dynamic picture into a static picture.
By setting the first preset format, the image which is directly compressed into the preset format is facilitated.
Further, on the basis of the above method embodiment, S103 specifically includes:
determining an image compression format according to the user requirement, predicting according to the size of the image resource to obtain a target compression ratio, calculating according to the size of the image resource and the target compression ratio to obtain a structural similarity index, and determining a target compression factor according to the structural similarity index.
The compression agent terminal locally stores the corresponding relation between the sizes of the pictures with different size types and the compression factors, and after the range of the compression factors is determined, the size of the compressed picture file can be predicted. And analyzing the quality analysis indexes before and after the picture compression by using a structural similarity index.
After predicting the possible size of the compressed picture, the compression agent terminal calculates the compression ratio of the possible size of the image file after compression, calculates the structural similarity index before and after picture compression, takes the structural similarity index as the picture quality measurement index, and records the weight coefficients corresponding to different user requirements in the computer b. The calculation method of the compression proxy performance is to balance the sum of the coefficient, the compression ratio and the picture quality index. According to different customer requirements, selecting different image file size compression ratios and weight coefficients of image quality, calculating a compression factor with the highest compression agent performance under the condition of meeting the user requirements, and determining the current optimal compression strategy.
Further, on the basis of the above embodiment of the method, the method further comprises:
s105, acquiring a first file size of the image resource, a second file size of the compressed image and a uniform resource locator of the image resource;
s106, calculating to obtain a compression ratio and a flow saving value according to the size of the first file and the size of the second file;
s107, recording the compression ratio, the flow saving value and the uniform resource locator in a log file.
The statistical format of the log file also comprises a file compression method and the file size before and after the file compression.
Specifically, in practical application, if the first terminal is the computer a, the second terminal is the computer c, and the compression agent terminal is the computer b, the practical execution steps are as follows:
a1, when a computer a accesses any webpage, adding a message field containing user requirements into an HTTP request, wherein the input form of the user requirements is a picture quality level;
a2, when accessing the web page provided by computer c, computer a sends its request to computer b for proxy, after computer b receives the request from computer a, it analyzes the user demand field, determines the demand of user, and sends the HTTP request forward to computer c;
a3, computer c sends the resource requested by computer a to computer b, and computer b processes the picture resource after receiving the requested resource.
The processing of the picture resource by the computer b comprises the following steps:
a31, the computer b determines the compression format of the picture compression according to the picture type supported by the computer a client, further comprising:
a32, computer b judges whether the client supports the WebP format picture according to the header in the HTTP request sent by computer a, if yes, the picture is compressed to WebP format, if no, the picture is compressed to JPEG format, the method continues to judge whether the dynamic picture is allowed to be compressed by the header, if yes, the dynamic picture is compressed to static picture.
A33, the computer b determines the picture compression range according to the client information of the computer a, such as resolution and screen height and width;
a34, the computer b determines the size of the picture according to the picture resource returned by the computer c, confirms the possible compression factor according to the user requirement, predicts the size of the picture compressed by the corresponding compression factor, if the size of the compressed picture is larger than the original picture, the compression is not carried out;
a35, after predicting the possible picture size after compression, the computer b calculates the compression ratio of the possible image file size after compression, calculates the structural similarity index before and after picture compression, takes the structural similarity index as the picture quality measurement index, and records the weight coefficients corresponding to different user requirements inside the computer b. The calculation method of the compression proxy performance is to balance the sum of the coefficient, the compression ratio and the picture quality index. Selecting different image file size compression ratios and weight coefficients of image quality according to different customer requirements, calculating a compression factor with the highest compression agent performance under the condition of meeting the user requirements, and determining a current optimal compression strategy;
a36, after compressing the image resource, marking the file size before and after compression in the log file, recording the compression ratio before and after compression, and counting the consumed flow, the url of the log file in the statistical format, the file compression method, the file size before and after file compression and the compression ratio;
a37, the computer b sends the compressed resource to the computer a and feeds back the flow use information to the computer a;
for a more clear description of the operation process of the present embodiment, referring to fig. 2, the method specifically includes:
s201, the computer a sends an HTTP request to a computer c, and customer requirements are added into a header of the HTTP request, wherein the customer requirements are picture quality levels;
s202, a computer b proxies the computer a to access a computer c, confirms whether compression is needed or not and whether the dynamic picture needs to be compressed or not through a header of an HTTP request sent by the computer a, and confirms a compression format according to the client attribute;
s203, after the computer b actually compresses the format, determining a possible compression factor according to the user requirement, and predicting the size of the picture compressed by the corresponding compression factor;
s204, the computer b directly sends the webpage resources to the computer a without compressing the picture resources;
note that this step is performed under the condition after it is confirmed in S202 that compression is not necessary or that the compressed picture size in S203 is larger than the original picture.
S205, calculating a possible image file size compression ratio after compression, calculating a structural similarity index before and after image compression, calculating the sum of a balance coefficient and the compression ratio and an image quality index as an agent balance performance index, and determining a current optimal compression strategy;
in this step, the compression is performed under the condition that the compression is confirmed to be necessary in S203.
S206, marking the file size before and after compression in the log file by the computer b, recording the compression ratio before and after compression, and counting the consumed flow;
in this step, the compression is performed under the condition that the compression is successful in S205.
S207, the computer b sends the compressed resources to the computer a, and the computer a loads and renders the compressed webpage resources.
Fig. 3 is a schematic structural diagram illustrating an image compression agent trade-off processing apparatus provided in this embodiment, where the apparatus includes: a request receiving module 301, a request sending module 302, an image compression module 303 and an image sending module 304, wherein:
the request receiving module 301 is configured to receive a web browsing request sent by a first terminal, where the web browsing request includes a user requirement;
the request sending module 302 is configured to send the web browsing request to a second terminal, and receive an image resource returned by the second terminal;
the image compression module 303 is configured to determine an image compression format and a target compression factor according to the user requirement and the image resource, and compress the image resource according to the image compression format and the target compression factor to obtain a compressed image;
the image sending module 304 is configured to send the compressed image to the first terminal.
Specifically, the request receiving module 301 receives a web browsing request sent by a first terminal, where the web browsing request includes a user requirement; the request sending module 302 sends the web browsing request to a second terminal, and receives an image resource returned by the second terminal; the image compression module 303 determines an image compression format and a target compression factor according to the user requirement and the image resource, and compresses the image resource according to the image compression format and the target compression factor to obtain a compressed image; the image sending module 304 sends the compressed image to the first terminal.
According to the method and the device, the webpage browsing request of the first terminal is forwarded through the proxy terminal, the image resource returned by the second terminal is compressed, the image compression format and the target compression factor are obtained by combining the user requirements, the compressed image is obtained, the performance of the image compression proxy can be optimized by combining the user requirements, the image compression effect which best meets the user requirements is obtained, and the user experience is improved.
Further, on the basis of the above device embodiment, the image compression module 303 specifically includes:
the format determining unit is used for determining an image compression format and a target compression factor according to the user requirement and the image resource;
the first processing unit is used for compressing the image resource according to the first preset format and the target compression factor to obtain a processed image in the first preset format if the image compression format is judged to support the first preset format;
the second processing unit is used for compressing the image resource according to the target compression factor to obtain a processed image in a second preset format if the image compression format is judged to be not supported by the first preset format;
and the image conversion unit is used for compressing and converting the processed image into a static compressed image if the image resource is a dynamic image and compression is allowed according to the image compression format.
Further, on the basis of the above device embodiment, the image compression module 303 is specifically configured to determine an image compression format according to the user requirement, predict a target compression ratio according to the size of the image resource, calculate a structural similarity index according to the size of the image resource and the target compression ratio, and determine a target compression factor according to the structural similarity index.
Further, on the basis of the above embodiment of the apparatus, the apparatus further comprises:
the data acquisition module is used for acquiring a first file size of the image resource, a second file size of the compressed image and a uniform resource locator of the image resource;
the data calculation module is used for calculating a compression ratio and a flow saving value according to the size of the first file and the size of the second file;
and the data recording module is used for recording the compression ratio, the flow saving value and the uniform resource locator in a log file.
Further, on the basis of the above device embodiment, the user requirement includes a plurality of image quality levels, and each image quality level is represented by a corresponding preset character.
The image compression proxy balance processing apparatus described in this embodiment may be used to implement the above method embodiments, and the principle and technical effect are similar, which are not described herein again.
Referring to fig. 4, the electronic device includes: a processor (processor)401, a memory (memory)402, and a bus 403;
wherein,
the processor 401 and the memory 402 complete communication with each other through the bus 403;
the processor 401 is configured to call program instructions in the memory 402 to perform the methods provided by the above-described method embodiments.
The present embodiments disclose a computer program product comprising a computer program stored on a non-transitory computer readable storage medium, the computer program comprising program instructions which, when executed by a computer, enable the computer to perform the methods provided by the above-described method embodiments.
The present embodiments provide a non-transitory computer-readable storage medium storing computer instructions that cause the computer to perform the methods provided by the method embodiments described above.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
Through the above description of the embodiments, those skilled in the art will clearly understand that each embodiment can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware. With this understanding in mind, the above-described technical solutions may be embodied in the form of a software product, which can be stored in a computer-readable storage medium such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments.
It should be noted that: the above examples are only intended to illustrate the technical solution of the present invention, but not to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.
Claims (10)
1. An image compression agent trade-off processing method, comprising:
receiving a webpage browsing request sent by a first terminal, wherein the webpage browsing request comprises user requirements;
sending the webpage browsing request to a second terminal, and receiving an image resource returned by the second terminal;
determining an image compression format and a target compression factor according to the user requirements and the image resources, and compressing the image resources according to the image compression format and the target compression factor to obtain a compressed image;
and sending the compressed image to the first terminal.
2. The method according to claim 1, wherein the determining an image compression format and a target compression factor according to the user requirement and the image resource, and compressing the image resource according to the image compression format and the target compression factor to obtain a compressed image specifically comprises:
determining an image compression format and a target compression factor according to the user requirements and the image resources;
if the image compression format supports a first preset format, compressing the image resource according to the first preset format and the target compression factor to obtain a processed image in the first preset format;
if the image compression format is judged to be not supported by the first preset format, compressing the image resource according to the target compression factor to obtain a processed image in a second preset format;
and if the image resource is a dynamic image and compression is allowed according to the image compression format, compressing and converting the processed image into a static compressed image.
3. The method according to claim 1, wherein the determining an image compression format and a target compression factor according to the user requirement and the image resource comprises:
determining an image compression format according to the user requirement, predicting according to the size of the image resource to obtain a target compression ratio, calculating according to the size of the image resource and the target compression ratio to obtain a structural similarity index, and determining a target compression factor according to the structural similarity index.
4. The method of claim 1, further comprising:
acquiring a first file size of the image resource, a second file size of the compressed image and a uniform resource locator of the image resource;
calculating to obtain a compression ratio and a flow saving value according to the size of the first file and the size of the second file;
recording the compression ratio, the savings flow value, and the uniform resource locator in a log file.
5. The method of claim 1, wherein the user requirement comprises a plurality of image quality levels, each image quality level being represented by a corresponding predetermined character.
6. An image compression agent trade-off processing apparatus, comprising:
the request receiving module is used for receiving a webpage browsing request sent by a first terminal, wherein the webpage browsing request comprises user requirements;
the request sending module is used for sending the webpage browsing request to a second terminal and receiving image resources returned by the second terminal;
the image compression module is used for determining an image compression format and a target compression factor according to the user requirements and the image resources, and compressing the image resources according to the image compression format and the target compression factor to obtain a compressed image;
and the image sending module is used for sending the compressed image to the first terminal.
7. The apparatus of claim 6, wherein the image compression module specifically comprises:
the format determining unit is used for determining an image compression format and a target compression factor according to the user requirement and the image resource;
the first processing unit is used for compressing the image resource according to the first preset format and the target compression factor to obtain a processed image in the first preset format if the image compression format is judged to support the first preset format;
the second processing unit is used for compressing the image resource according to the target compression factor to obtain a processed image in a second preset format if the image compression format is judged to be not supported by the first preset format;
and the image conversion unit is used for compressing and converting the processed image into a static compressed image if the image resource is a dynamic image and compression is allowed according to the image compression format.
8. The apparatus according to claim 6, wherein the image compression module is specifically configured to determine an image compression format according to the user requirement, predict a target compression ratio according to the size of the image resource, calculate a structural similarity index according to the size of the image resource and the target compression ratio, and determine a target compression factor according to the structural similarity index.
9. An electronic device, comprising:
at least one processor; and
at least one memory communicatively coupled to the processor, wherein:
the memory stores program instructions executable by the processor, the processor invoking the program instructions to perform the method of any of claims 1 to 5.
10. A non-transitory computer-readable storage medium storing a computer program that causes a computer to perform the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710780109.5A CN107592553B (en) | 2017-09-01 | 2017-09-01 | Image compression agent balance processing method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710780109.5A CN107592553B (en) | 2017-09-01 | 2017-09-01 | Image compression agent balance processing method and device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107592553A true CN107592553A (en) | 2018-01-16 |
CN107592553B CN107592553B (en) | 2020-06-12 |
Family
ID=61050289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710780109.5A Active CN107592553B (en) | 2017-09-01 | 2017-09-01 | Image compression agent balance processing method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107592553B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111222303A (en) * | 2018-11-23 | 2020-06-02 | 珠海金山办公软件有限公司 | Method, system, terminal and medium for obtaining size of picture converted from document |
CN111311699A (en) * | 2020-01-17 | 2020-06-19 | 北京达佳互联信息技术有限公司 | Picture compression method and device |
CN110210548B (en) * | 2019-05-27 | 2021-03-16 | 清华大学深圳研究生院 | Picture dynamic self-adaptive compression method based on reinforcement learning |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075817A (en) * | 2009-11-25 | 2011-05-25 | 北大方正集团有限公司 | Method and system for forwarding audio and video data |
CN102184231A (en) * | 2011-05-12 | 2011-09-14 | 广州市动景计算机科技有限公司 | Method and device for acquiring page resources |
CN103167554A (en) * | 2011-12-09 | 2013-06-19 | 中国移动通信集团广东有限公司 | Gateway traffic compressing method, device and network service supply system |
CN103218395A (en) * | 2013-03-04 | 2013-07-24 | 星云融创(北京)信息技术有限公司 | Page compression method and system |
KR20140005099A (en) * | 2012-07-02 | 2014-01-14 | 한국전자통신연구원 | Method and apparatus for image encoding/decoding |
CN104572690A (en) * | 2013-10-17 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Webpage data acquisition method, webpage data acquisition device and webpage data acquisition system |
-
2017
- 2017-09-01 CN CN201710780109.5A patent/CN107592553B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102075817A (en) * | 2009-11-25 | 2011-05-25 | 北大方正集团有限公司 | Method and system for forwarding audio and video data |
CN102184231A (en) * | 2011-05-12 | 2011-09-14 | 广州市动景计算机科技有限公司 | Method and device for acquiring page resources |
CN103167554A (en) * | 2011-12-09 | 2013-06-19 | 中国移动通信集团广东有限公司 | Gateway traffic compressing method, device and network service supply system |
KR20140005099A (en) * | 2012-07-02 | 2014-01-14 | 한국전자통신연구원 | Method and apparatus for image encoding/decoding |
CN103218395A (en) * | 2013-03-04 | 2013-07-24 | 星云融创(北京)信息技术有限公司 | Page compression method and system |
CN104572690A (en) * | 2013-10-17 | 2015-04-29 | 腾讯科技(深圳)有限公司 | Webpage data acquisition method, webpage data acquisition device and webpage data acquisition system |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111222303A (en) * | 2018-11-23 | 2020-06-02 | 珠海金山办公软件有限公司 | Method, system, terminal and medium for obtaining size of picture converted from document |
CN110210548B (en) * | 2019-05-27 | 2021-03-16 | 清华大学深圳研究生院 | Picture dynamic self-adaptive compression method based on reinforcement learning |
CN111311699A (en) * | 2020-01-17 | 2020-06-19 | 北京达佳互联信息技术有限公司 | Picture compression method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107592553B (en) | 2020-06-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN110688595B (en) | File online preview method, device, equipment and storage medium | |
WO2020199751A1 (en) | Method and apparatus for loading page picture, and electronic device | |
EP2624611A1 (en) | Method and system for visualizing an adaptive screen according to a terminal | |
CN110392306B (en) | Data processing method and equipment | |
CN107592553B (en) | Image compression agent balance processing method and device | |
CN104754073A (en) | Resource access method and device | |
CN110445632B (en) | Method and device for preventing client from crashing | |
CN101707748A (en) | Picture adapting method and server | |
US20160065687A1 (en) | Data limit aware content rendering | |
CN104601534A (en) | Method and system for processing CDN system images | |
US20190114989A1 (en) | Systems and methods for image optimization | |
CN104935666A (en) | Method and system for watching PDF file with mobile terminal | |
CN106599023A (en) | Picture display optimization method and apparatus | |
CN104156251A (en) | Picture processing method and device | |
CN107666414A (en) | A kind of network performance optimizing method, system and computer-readable recording medium | |
CN107508705B (en) | Resource tree construction method of HTTP element and computing equipment | |
CN103313285A (en) | Network resource transmitting and processing device and network resource transmitting and processing method | |
CN112069771B (en) | Method and device for analyzing pictures in PDF (portable document format) file | |
CN114500484A (en) | Page rendering method and device, electronic equipment and readable medium | |
CN114817780A (en) | Picture loading method and device and storage medium | |
CN113032696A (en) | Display method and display device of page picture | |
CN114827113B (en) | Webpage access method and device | |
CN111343253A (en) | Information extraction method and system | |
CN113411392B (en) | Resource issuing method, device, equipment and computer program product | |
CN109324858B (en) | Method and device for acquiring display content in webpage |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |