CN102437894B - Method, device and equipment for compressing information to be sent - Google Patents

Method, device and equipment for compressing information to be sent Download PDF

Info

Publication number
CN102437894B
CN102437894B CN201110346266.8A CN201110346266A CN102437894B CN 102437894 B CN102437894 B CN 102437894B CN 201110346266 A CN201110346266 A CN 201110346266A CN 102437894 B CN102437894 B CN 102437894B
Authority
CN
China
Prior art keywords
information
sent
compression
compact model
relevant information
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.)
Active
Application number
CN201110346266.8A
Other languages
Chinese (zh)
Other versions
CN102437894A (en
Inventor
欧阳先伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201110346266.8A priority Critical patent/CN102437894B/en
Publication of CN102437894A publication Critical patent/CN102437894A/en
Application granted granted Critical
Publication of CN102437894B publication Critical patent/CN102437894B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Compression, Expansion, Code Conversion, And Decoders (AREA)
  • Information Transfer Between Computers (AREA)
  • Computer And Data Communications (AREA)

Abstract

The invention provides a method, device and equipment for compressing information to be sent. The method provided by the invention comprises the following steps of: firstly, obtaining the information to be sent, then obtaining compression relevant information of the information to be sent, then selecting one compression mode from a plurality of preset compression modes according to the compression relevant information, and finally, compressing the information to be sent according to the selected compression mode so as to sent the compressed information to be sent. The invention has the advantages that time and efficiency can be effectively considered while the information to be sent is compressed.

Description

The method, device and the equipment that process is compressed for carrying out information to be sent
Technical field
The present invention relates to computer realm, particularly relate to a kind of method, device and equipment for carrying out compressing process to information to be sent.
Background technology
Along with the development of network technology, the amount of information transmitted by network in the unit interval presents explosive growth, thus, usually network congestion can occur.In order to reduce transinformation, researcher develops various information compressing method, such as, and gzip algorithm, deflate algorithm etc.But, actual carry out Information Compression time, for obtaining maximal pressure shrinkage, the Lossless Compression mode that computer equipment often adopts such as gzip algorithm, deflate algorithm etc. complicated, although these compress modes can make the data volume of the information after overcompression process greatly reduce, but because the compression process of information is consuming time long, reduce compression efficiency.In addition, often comprise in network traffic and much do not affect crucial semantic redundant information, Lossless Compression mode is also adopted to these redundant informations, not only there is no need, also can consume compression process resource.
Summary of the invention
The object of this invention is to provide a kind of method, device and equipment for carrying out compressing process to information to be sent.
According to an aspect of the present invention, provide a kind of method for carrying out compressing process to information to be sent, wherein, the method comprises the following steps:
-obtain described information to be sent;
Wherein, the method is further comprising the steps of:
A obtains the compression relevant information of described information to be sent;
B, according to described compression relevant information, selects a compact model by multiple predetermined compact model;
Wherein, the method is further comprising the steps of:
X, according to selected compact model, carries out described compression process to described information to be sent, to send the information to be sent after compression process.
According to another aspect of the present invention, additionally provide a kind of compression set for carrying out compressing process to information to be sent, wherein, this compression set comprises:
First acquisition device, for obtaining described information to be sent;
Second acquisition device, for obtaining the compression relevant information of described information to be sent;
First choice device, for according to described compression relevant information, selects a compact model by multiple predetermined compact model;
Compression treatment device, for according to selected compact model, carries out described compression process to described information to be sent, to send the information to be sent after compression process.
According to a further aspect of the invention, additionally provide a kind of computer equipment, wherein, this computer equipment comprises aforesaid compression set.
Compared with prior art, the present invention has the following advantages: 1) can carry out Selective Pressure compressed mode based on compression relevant information, especially based on information processing load, the transmission speed of current place network, the data volume that packets of information to be sent contains and the compact model that information to be sent has used etc. are because usually selecting, make at high information processing load, the data volume hour that the fast or packets of information to be sent of the transmission speed of current place network contains, select the compact model of low complex degree, otherwise then select the compact model of high complexity, time and efficiency can be effectively taken into account thus while information to be sent being carried out to compression process, and, present invention also offers and can delete such as idle information in information to be sent, default information etc. do not affect the information of information keywords semanteme to be sent, compression efficiency can be improved while raising compression ratio, 2) first judging whether to need to carry out compression process to information to be sent based on compression relevant information, can avoiding, to not needing the information to be sent compressed again to carry out compression process, effectively saving cpu resource, 3) based on asking the display relevant information of the equipment of described information to be sent and compression relevant information to carry out Selective Pressure compressed mode, the display requirement of the equipment of the information conforms to be sent after overcompression process and the described information to be sent of request can be made, make compression more reasonable, reduce volume of transmitted data further.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 is the method flow diagram for carrying out compressing process to information to be sent of one aspect of the invention;
Fig. 2 is the method flow diagram for carrying out compressing process to information to be sent of a preferred embodiment of the invention;
Fig. 3 is the method flow diagram for carrying out compressing process to information to be sent of another preferred embodiment of the present invention;
Fig. 4 is the compression set schematic diagram for carrying out compressing process to information to be sent of one aspect of the invention;
Fig. 5 is the compression set schematic diagram for carrying out compressing process to information to be sent of a preferred embodiment of the invention;
Fig. 6 is the compression set schematic diagram for carrying out compressing process to information to be sent of another preferred embodiment of the present invention;
In accompanying drawing, same or analogous Reference numeral represents same or analogous parts.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 shows the flow chart for carrying out the method compressing process to information to be sent of one aspect of the invention.Wherein, method according to the present invention has been come mainly through the compression set in computer equipment, and this compression set to include but not limited to be arranged in computer equipment and can realize the device of the such as application module, operating system, processing controller etc. of the present invention program.Wherein, this computer equipment includes but not limited to: 1) subscriber equipment; 2) network equipment.Described subscriber equipment includes but not limited to computer, smart mobile phone, PDA etc.; The described network equipment includes but not limited to the server group that single network server, multiple webserver form or the cloud be made up of a large amount of computer or the webserver based on cloud computing (Cloud Computing), wherein, cloud computing is the one of Distributed Calculation, the super virtual machine be made up of a group loosely-coupled computer collection.
In step sl, described compression set obtains described information to be sent.
Wherein, described information to be sent comprises the information that a computer equipment needs to send to another computer equipment.Such as, the webserver needs the info web sending to subscriber equipment; Again such as, subscriber equipment needs the resource information being uploaded to the network equipment; Again such as, a webserver needs the pending mission bit stream etc. sending to another webserver.
Wherein, the mode of the described information to be sent of described compression set acquisition includes but not limited to: 1) directly obtain information to be sent by its said computer equipment; 2) information to be sent from other equipment beyond its said computer equipment is obtained.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, it should be appreciated by those skilled in the art that the implementation of the described information to be sent of any acquisition, all should be within the scope of the present invention.
Then, in step s 2, described compression set obtains the compression relevant information of described information to be sent.
Wherein, described compression relevant information comprises the relevant information that can be used in the compress mode determining described information to be sent.
Preferably, described compression relevant information includes but not limited to following at least one item:
1) the information processing load of the compression set of described compression process is carried out; Wherein, described information processing load comprises the ratio that the current information processing consumption of described compression set accounts for the messaging resource that it can use, and such as, described information processing load comprises the CPU usage etc. of the computer equipment at described compression set place.
2) transmission speed of the compression set current place network of described compression process is carried out.
3) data association message of data that contains of described packets of information to be sent; Wherein, described data association message comprises the relevant information relevant to the data that described information to be sent comprises.Preferably, described data association message includes but not limited to following at least one item: i) the data volume size that contains of described packets of information to be sent; Ii) compact model that used of described information to be sent.
Wherein, the mode of described compression set acquisition compression relevant information includes but not limited to:
1) ratio that described compression set accounts for the messaging resource that it can use by detecting self current information processing consumption obtains information processing load, such as, the cpu load by detecting self said computer equipment obtains described information processing load.
2) described compression set is uploaded and/or speed of download by the network such as testing self, or, obtain network transfer speeds by modes such as access switch.
3) in the additional information such as such as header, frame head etc. that described compression set is carried by described information to be sent, or, by carrying out the modes such as analyzing and processing to information to be sent, obtain described data association message etc.
4) other modules comprised by other equipment or described compression set place computer equipment are by test or obtained described compression relevant information is supplied to described compression set etc. by the mode such as access.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any can being used for is determined the information of compress mode and obtains the implementation of compression relevant information, all should be within the scope of the present invention.
In addition, also it should be noted that, when described compression relevant information only comprises described information processing load and/or network transfer speeds, step S2 can perform before step S1 or with step S1 simultaneously; When described compression relevant information comprises described data association message, preferably, described compression set obtains described data association message according to described information to be sent in this step.
Then, in step s3, described compression set, according to described compression relevant information, selects a compact model by multiple predetermined compact model.
Wherein, described compact model comprises the compression method compressed information to be sent.Preferably, each predetermined compact model all comprises following at least one compression processing mode:
1) merge and/or delete the idle information (idle information) in described information to be sent.Preferably, described idle information includes but not limited to following at least one item: i) blank character, such as, and space, blank line etc.; Ii) annotation information, such as, without the annotation information etc. of particular meaning; Iii) unnecessary label information, such as, the unnecessary end marks etc. such as such as </TD></TBODYGrea tT.GreaT.GT; Iv) not the information supported by subscriber equipment etc.
2) default information in described information to be sent is deleted, such as, default property information etc.
3) according to predetermined compressing and converting algorithm, at least first compression process is carried out to described information to be sent.Wherein, predetermined compressing and converting algorithm comprises at least one by carrying out to information to be sent the algorithm that information conversion process compresses the amount of information of information to be sent, such as gzip algorithm, deflate algorithm.
4), after computing with words being carried out to information to be sent, then according to predetermined compressing and converting algorithm, at least first compression process is carried out to described information to be sent.Wherein, the mode of carrying out computing with words to information to be sent comprises the information order restructuring according to the algorithmic rule of predetermined compressing and converting algorithm, the information that information to be sent comprises being carried out to semantic congruence.Described predetermined compressing and converting algorithm is aforementioned 3) in described in detail, and be contained in this by reference, repeat no more.Such as, described compression set is according to gzip algorithmic rule, the order of all properties information of the labels such as such as </div> in information to be sent is recombinated, after employing gzip algorithm compresses, obtains higher compression ratio to make the information after restructuring.Such as, described compression set, according to gzip algorithmic rule, will be contained in the attribute information in information to be sent:
<div?style=”position:absolute;top:Opx;left:Opx”>...</div>
<div style=" top:Opx; Left:Opx; Position:absolute " >...</div> is reassembled as:
<div?style=”position:absolute;top:Opx;left:Opx”>...</div>
<div?style=”position:absolute;top:Opx;left:Opx”>...</div>。
To make the attribute information after restructuring have more repeat character (RPT), thus make can obtain higher compression ratio when adopting gzip algorithm to compress.
Particularly, described compression set includes but not limited to by selecting the mode of a compact model in multiple predetermined compact model according to described compression relevant information:
1) when described compression relevant information only comprises a factor, such as, when only comprising any one in information processing load, the transmission speed of current place network, data volume size and the compact model that used, described compression set directly selects a compact model according to this factor by multiple predetermined compact model.
Particularly, information processing load is higher, network transfer speeds is higher or the data volume of information to be sent is less, compact model complexity then selected by described compression set is lower; Further, when described information to be sent had used a kind of compact model to compress, then described compression set is preferentially by selecting a compact model in original compact model.
Such as, described compression set according to described information processing load lower than predetermined load threshold, by the compact model selecting the high complexity be made up of " merge and/or delete the idle information in described information to be sent ", " deleting the default information in described information to be sent " and " according to predetermined compressing and converting algorithm, carrying out at least first compression process to described information to be sent " in predetermined compact model.
Again such as, described compression set according to the transmission speed of current place network higher than predetermined speed threshold value, by the compact model selecting the low complex degree only comprising " merge and/or delete the idle information in described information to be sent " in predetermined compact model.
Again such as, the data volume that described compression set contains according to described packets of information to be sent lower than the first predetermined amount of data threshold value and higher than the second predetermined amount of data threshold value, by selecting to comprise " merge and/or delete the idle information in described information to be sent " compact model with the intermediate complexity of " deleting the default information in described information to be sent " in predetermined compact model.
Again such as, described compression set is the compact model comprising " deleting the default information in described information to be sent " according to the compact model that described information to be sent has used, by selecting the compact model comprising " merge and/or delete the idle information in described information to be sent " in predetermined compact model.
2) when described compression relevant information comprises multinomial factor, such as, when comprising at least two factors in information processing load, the transmission speed of current place network, data volume size and the compact model that used, described compression set selects a compact model according to this multinomial factor by multiple predetermined compact model.
Particularly, the mode of compression set Selective Pressure compressed mode includes but not limited to:
I) first a compact model is selected based in this multinomial factor by multiple predetermined compact model, subsequently again based on the selection that other in this multinomial factor are made because of usually adjustment.
Such as, the compression relevant information that described compression set obtains comprises: information processing load is 0.6, the data volume of described information to be sent is 100M, then the first data volume based on described information to be sent of described compression set is higher than predetermined amount of data threshold value, select the compact model of high complexity, higher than load threshold value, selected compact model is adjusted to the compact model of intermediate complexity subsequently again based on described information processing load.
Ii) multinomial because usually obtaining compression evaluation information according to this, and carry out Selective Pressure compressed mode according to compression evaluation information.This mode carrying out Selective Pressure compressed mode according to compression evaluation information is described in detail in the embodiment shown in subsequent figure 2.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to compression relevant information, by the implementation selecting a compact model in multiple predetermined compact model, all should be within the scope of the present invention.
Then, in step s 4 which, described compression set, according to selected compact model, carries out described compression process to described information to be sent, to send the information to be sent after compression process.
Such as, described compression set, based on the selected compact model comprising " deleting the default information in described information to be sent ", carries out the compression process of deleting default information to information to be sent.
It should be noted that, it should be appreciated by those skilled in the art that described compression set is when the compact model selected by adopting carries out described compression process to information to be sent, also can carry out described compression process based on the type of information to be sent to information to be sent.Such as, when the compact model that described compression set is selected in step s3 comprises " merge and/or delete the idle information in described information to be sent ", if described information to be sent is HTM text, then described compression set comprises the compression process that this HTM text carries out " merge and/or delete the idle information in described information to be sent " multiple blank character is merged into one and deletion end-tag; If described information to be sent is JSON text, then described compression set comprises the directly unnecessary annotation of removing and blank character to the compression process that this JSON text carries out " merge and/or delete the idle information in described information to be sent ".
As one of preferred version of the present invention, according to method of the present invention also comprise judge described information to be sent be whether static information step and when judging that described information to be sent is static information, by the step selecting the compact model that compression ratio is the highest in described multiple predetermined compact model.
Wherein, described static information is included in the information do not changed in its life cycle existed, such as, and static text, static Web page, website script file etc.
Preferably, abovementioned steps S2 also comprises when judging that described information to be sent is non-static information, such as, when information to be sent comprises with asp, php or jsp file that is suffix name, obtains the step of the compression relevant information of described information to be sent.Wherein, described compression relevant information is described in detail in abovementioned steps S2, and is contained in this by reference, repeats no more.
According to method of the present invention, Selective Pressure compressed mode can be carried out based on compression relevant information, especially based on information processing load, the transmission speed of current place network, the data volume that packets of information to be sent contains and the compact model that information to be sent has used etc. are because usually selecting, make at high information processing load, the data volume hour that the fast or packets of information to be sent of the transmission speed of current place network contains, select the compact model of low complex degree, otherwise then select the compact model of high complexity, time and efficiency can be effectively taken into account thus while information to be sent being carried out to compression process, and, present invention also offers and can delete such as idle information in information to be sent, default information etc. do not affect the information of information keywords semanteme to be sent, compression efficiency can be improved while raising compression ratio.
Fig. 2 shows the flow chart for carrying out the method compressing process to information to be sent of a preferred embodiment of the present invention.Step S1, S2, S5, S3 and S4 is comprised according to the method for the present embodiment.Wherein, step S1, S2, S3 and S4 are described in detail in the embodiment shown in fig. 1, and are contained in this by reference, repeat no more.
In the step S5 performed upon step s 2, described compression set is according to the compression relevant information obtained in step S2, judge whether to need to carry out compression process to information to be sent, and when judgement needs to carry out described compression process, described compression set then performs the operation of step S3 and step S4.
Such as, described compression set according to the data volume of described information to be sent be greater than predetermined amount of data threshold value judge described informational needs to be sent carry out described compression process.
Again such as, described compression set is according to described information to be sent through repeatedly complicated compression, and judge that described information to be sent does not need to carry out described compression process, thus, described information to be sent is directly sent by described compression set.
With reference to Fig. 1 or embodiment illustrated in fig. 2 in step S3 also comprise according to described compression relevant information, determine to compress evaluation information step and according to described compression evaluation information, select to be applicable to the compact model of described information to be sent by multiple predetermined compact model.
Wherein, according to described compression relevant information, described compression set determines that the mode compressing evaluation information includes but not limited to:
1) when described compression relevant information only comprises a factor, such as, when only comprising any one in information processing load, the transmission speed of current place network, data volume size and the compact model that used, compression set is directly determined to compress evaluation information based on described compression relevant information.
Such as, described compression set directly using the information processing load 30% that obtains in step S2 as compression evaluation information.
Again such as, described compression set obtains compact model that information to be sent used in step s 2 for carrying out the compact model of first compression process to described information to be sent according to gzip algorithm, then based on the corresponding relation of the predetermined compact model used and opinion rating, described compression set determines that it is rudimentary for compressing evaluation information.
2) when described compression relevant information comprises multinomial factor, such as, when comprising at least two factors in information processing load, the transmission speed of current place network, data volume size and the compact model that used, described compression set according to these at least two because usually obtaining compression evaluation information.
Particularly, described compression set first determines the evaluation of estimate of each in described multinomial factor, subsequently again by the evaluation of estimate of each striked factor is such as asked for and be worth, the process such as weighted sum or quadratic sum value, to obtain compression evaluation information.Wherein, described compression set determines that the mode of the evaluation of estimate of includes but not limited to: evaluation of estimate i) determining each factor based on the corresponding relation of a factor and predetermined evaluation of estimate, such as, the corresponding relation based on the compact model used and predetermined evaluation of estimate determines its evaluation of estimate; Ii) data processing is carried out to obtain evaluation of estimate to this factor, such as, data volume size is obtained its evaluation of estimate divided by predetermined threshold, again such as, using the value that obtains after the transmission speed of current place network or the data volume normalization of information to be sent as its evaluation of estimate etc.; Iii) when this factor comprises numerical information, the numerical information directly this factor comprised as its evaluation of estimate, such as, directly using information processing load value as its evaluation of estimate.
Such as, the information processing load that described compression set obtains in step s 2 is 0.8, the transmission speed of current place network is 1M, then described compression set is based on the corresponding relation of predetermined information processing load and evaluation of estimate, information processing Load Evaluation value when comformed information processing load is 0.8 is 4, and based on the predetermined transmission speed of current place network and the corresponding relation of evaluation of estimate, transmission speed evaluation of estimate when the transmission speed determining current place network is 1M is 2, thus, described compression set is by mean value (the 4+2)/2=3 of striked information processing Load Evaluation value and transmission speed evaluation of estimate.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any implementation determining compression evaluation information according to compression relevant information, all should be within the scope of the present invention.
Wherein, described compression set, according to described compression evaluation information, includes but not limited to by selecting the mode being applicable to the compact model of described information to be sent in multiple predetermined compact model:
1) Selective Pressure compressed mode is carried out according to the comparative result of described compression evaluation information and predetermined Evaluation threshold.Such as, described compression set higher than the first predetermined Evaluation threshold, selects the compact model of high complexity based on described compression evaluation information.
2) Selective Pressure compressed mode etc. is carried out according to the corresponding relation of predetermined compression evaluation information and compact model.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to compression evaluation information, by selecting the implementation being applicable to the compact model of described information to be sent in multiple predetermined compact model, all should be within the scope of the present invention.
According to method of the present invention, first judging whether to need to carry out compression process to information to be sent based on compression relevant information, can avoiding, to not needing the information to be sent compressed again to carry out compression process, effectively saving cpu resource.
Fig. 3 shows the flow chart for carrying out the method compressing process to information to be sent of another preferred embodiment of the present invention.Step S1, S2, S6, S3 is comprised according to the method for the present embodiment ' and S4.Wherein, step S1, S2 and S4 are described in detail in reference to the embodiment shown in Fig. 1 or Fig. 2, and are contained in this by reference, repeat no more.
In step s 6, described compression set obtains the display relevant information that request obtains the equipment of described information to be sent.
Wherein, described display relevant information comprises the relevant information of the information displaying of the equipment obtaining described information to be sent to described request, such as, the equipment that described request obtains described information to be sent do not support display format, be prohibited information of showing etc.
The mode that described compression set obtains described display relevant information includes but not limited to: 1) initiatively access described request and obtain the equipment of information to be sent to obtain described display relevant information; 2) equipment that described request obtains information to be sent is initiatively supplied to described compression set etc.
It should be noted that, step S6 and step S2 there is no sequencing.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, anyly obtain the relevant information of the information displaying of the equipment of described information to be sent to request and obtain the implementation of the display relevant information of asking the equipment obtaining information to be sent, all should be within the scope of the present invention.
Then, in step S3 ', described compression set, according to the compression relevant information obtained in display relevant information and step S2, is applicable to the compact model of described information to be sent by selection in multiple predetermined compact model.
Such as, the equipment that described compression set obtains the described information to be sent of described request acquisition is in step s 6 forbidden showing floating ad, then described compression set is according to described display relevant information and described compression relevant information, by selecting the compact model comprising " merge and/or delete the idle information in described information to be sent " in multiple predetermined compact model, to delete the floating ad in information to be sent when carrying out described compression process to described information to be sent.
According to method of the present invention, Selective Pressure compressed mode is carried out based on asking the display relevant information of the equipment of described information to be sent and compression relevant information, the display requirement of the equipment of the information conforms to be sent after overcompression process and the described information to be sent of request can be made, make compression more reasonable, reduce volume of transmitted data further.
Fig. 4 shows the compression set schematic diagram for carrying out compressing process to information to be sent of one aspect of the invention.Wherein, described compression set comprises the first acquisition device 1, second acquisition device 2, first choice device 3 and compression treatment device 4.
Described first acquisition device 1 obtains described information to be sent.
Wherein, described information to be sent comprises the information that a computer equipment needs to send to another computer equipment.Such as, the webserver needs the info web sending to subscriber equipment; Again such as, subscriber equipment needs the resource information being uploaded to the network equipment; Again such as, a webserver needs the pending mission bit stream etc. sending to another webserver.
Wherein, the mode that described first acquisition device 1 obtains described information to be sent includes but not limited to: 1) directly obtain information to be sent by its said computer equipment; 2) information to be sent from other equipment beyond its said computer equipment is obtained.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, it should be appreciated by those skilled in the art that the implementation of the described information to be sent of any acquisition, all should be within the scope of the present invention.
Then, described second acquisition device 2 obtains the compression relevant information of described information to be sent.
Wherein, described compression relevant information comprises the relevant information that can be used in the compress mode determining described information to be sent.
Preferably, described compression relevant information includes but not limited to following at least one item:
1) the information processing load of the compression set of described compression process is carried out; Wherein, described information processing load comprises the ratio that the current information processing consumption of described compression set accounts for the messaging resource that it can use, and such as, described information processing load comprises the CPU usage etc. of the computer equipment at described compression set place.
2) transmission speed of the compression set current place network of described compression process is carried out.
3) data association message of data that contains of described packets of information to be sent; Wherein, described data association message comprises the relevant information relevant to the data that described information to be sent comprises.Preferably, described data association message includes but not limited to following at least one item: i) the data volume size that contains of described packets of information to be sent; Ii) compact model that used of described information to be sent.
Wherein, the mode of described second acquisition device 2 acquisition compression relevant information includes but not limited to:
1) ratio that described second acquisition device 2 accounts for the messaging resource that it can use by detecting self current information processing consumption obtains information processing load, such as, the cpu load by detecting self said computer equipment obtains described information processing load.
2) described second acquisition device 2 is uploaded and/or speed of download by the network such as testing self place, or, obtain network transfer speeds by modes such as access switch.
3) in the additional information such as such as header, frame head etc. that described second acquisition device 2 is carried by described information to be sent, or, by carrying out the modes such as analyzing and processing to information to be sent, obtain described data association message etc.
4) other modules comprised by other equipment or described compression set place computer equipment are by test or obtained described compression relevant information is supplied to described second acquisition device 2 etc. by the mode such as access.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any can being used for is determined the information of compress mode and obtains the implementation of compression relevant information, all should be within the scope of the present invention.
In addition, also it should be noted that, when described compression relevant information only comprises described information processing load and/or network transfer speeds, described second acquisition device 2 obtains compression relevant information and can perform before described first acquisition device 1 obtains information to be sent or perform while obtaining information to be sent with described first acquisition device 1; When described compression relevant information comprises described data association message, preferably, described second acquisition device 2 comprises the first sub-acquisition device (not giving diagram).Described first sub-acquisition device, after described first acquisition device 1 obtains information to be sent, obtains described data association message according to described information to be sent.
Then, described first choice device 3, according to described compression relevant information, selects a compact model by multiple predetermined compact model.
Wherein, described compact model comprises the compression method compressed information to be sent.Preferably, each predetermined compact model all comprises following at least one compression processing mode:
1) merge and/or delete the idle information (idle information) in described information to be sent.Preferably, described idle information includes but not limited to following at least one item: i) blank character, such as, and space, blank line etc.; Ii) annotation information, such as, without the annotation information etc. of particular meaning; Iii) unnecessary label information, such as, the unnecessary end marks etc. such as such as </TD></TBODYGrea tT.GreaT.GT; Iv) not the information supported by subscriber equipment etc.
2) default information in described information to be sent is deleted, such as, default property information etc.
3) according to predetermined compressing and converting algorithm, at least first compression process is carried out to described information to be sent.Predetermined compressing and converting algorithm comprises at least one by carrying out to information to be sent the algorithm that information conversion process compresses the amount of information of information to be sent, such as gzip algorithm, deflate algorithm.
4), after computing with words being carried out to information to be sent, then according to predetermined compressing and converting algorithm, at least first compression process is carried out to described information to be sent.Wherein, the mode of carrying out computing with words to information to be sent comprises the information order restructuring according to the algorithmic rule of predetermined compressing and converting algorithm, the information that information to be sent comprises being carried out to semantic congruence.Described predetermined compressing and converting algorithm is aforementioned 3) in described in detail, and be contained in this by reference, repeat no more.Such as, described compression set is according to gzip algorithmic rule, the order of all properties information of the labels such as such as </div> in information to be sent is recombinated, after employing gzip algorithm compresses, obtains higher compression ratio to make the information after restructuring.Such as, described compression set, according to gzip algorithmic rule, will be contained in the label attribute information in information to be sent:
<div?style=”position:absolute;top:Opx;left:Opx”>...</div>
<div style=" top:Opx; Left:Opx; Position:absolute " >...</div> is reassembled as:
<div?style=”position:absolute;top:Opx;left:Opx”>...</div>
<div?style=”position:absolute;top:Opx;left:Opx”>...</div>。
To make the attribute information after restructuring have more repeat character (RPT), thus make can obtain higher compression ratio when adopting gzip algorithm to compress.
Particularly, described first choice device 3 includes but not limited to by selecting the mode of a compact model in multiple predetermined compact model according to described compression relevant information:
1) when described compression relevant information only comprises a factor, such as, when only comprising any one in information processing load, the transmission speed of current place network, data volume size and the compact model that used, described first choice device 3 directly selects a compact model according to this factor by multiple predetermined compact model.
Particularly, information processing load is higher, network transfer speeds is higher or the data volume of information to be sent is less, compact model complexity then selected by described first choice device 3 is lower; Further, when described information to be sent had used a kind of compact model to compress, then described first choice device 3 is preferential by selecting a compact model in original compact model.
Such as, described first choice device 3 according to described information processing load lower than predetermined load threshold, by the compact model selecting the high complexity be made up of " merge and/or delete the idle information in described information to be sent ", " deleting the default information in described information to be sent " and " according to predetermined compressing and converting algorithm, carrying out at least first compression process to described information to be sent " in predetermined compact model.
Again such as, described first choice device 3 according to the transmission speed of current place network higher than predetermined speed threshold value, by the compact model selecting the low complex degree only comprising " merge and/or delete the idle information in described information to be sent " in predetermined compact model.
Again such as, the data volume that described first choice device 3 contains according to described packets of information to be sent lower than the first predetermined amount of data threshold value and higher than the second predetermined amount of data threshold value, by selecting to comprise " merge and/or delete the idle information in described information to be sent " compact model with the intermediate complexity of " deleting the default information in described information to be sent " in predetermined compact model.
Again such as, described first choice device 3 is the compact model comprising " deleting the default information in described information to be sent " according to the compact model that described information to be sent has used, by selecting the compact model comprising " merge and/or delete the idle information in described information to be sent " in predetermined compact model.
2) when described compression relevant information comprises multinomial factor, such as, when comprising at least two factors in information processing load, the transmission speed of current place network, data volume size and the compact model that used, described first choice device 3 selects a compact model according to these at least two factors by multiple predetermined compact model.
Particularly, the mode of described first choice device 3 Selective Pressure compressed mode includes but not limited to:
I) first a compact model is selected based in these at least two factors by multiple predetermined compact model, subsequently again based on the selection that other in these at least two factors are made because of usually adjustment.
Such as, the compression relevant information that described second acquisition device 2 obtains comprises: information processing load is 0.6, the data volume of described information to be sent is 100M, then the first data volume based on described information to be sent of described first choice device 3 is higher than predetermined amount of data threshold value, select the compact model of high complexity, higher than load threshold value, selected compact model is adjusted to the compact model of intermediate complexity subsequently again based on described information processing load.
Ii) according to these at least two because usually obtaining compression evaluation information, and according to compression evaluation information carry out Selective Pressure compressed mode.This mode carrying out Selective Pressure compressed mode according to compression evaluation information is described in detail in the embodiment shown in subsequent figure 5.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to compression relevant information, by the implementation selecting a compact model in multiple predetermined compact model, all should be within the scope of the present invention.
Described compression treatment device 4, according to selected compact model, carries out described compression process to described information to be sent, to send the information to be sent after compression process.
Such as, described compression treatment device 4, based on the selected compact model comprising " deleting the default information in described information to be sent ", carries out the compression process of deleting default information to information to be sent.
It should be noted that, those skilled in the art should understand that, described compression treatment device 4, when the compact model selected by adopting carries out described compression process to information to be sent, also can carry out described compression process based on the type of information to be sent to information to be sent.Such as, when the compact model that described first choice device 3 is selected comprises " merge and/or delete the idle information in described information to be sent ", if described information to be sent is HTM text, then described compression treatment device 4 comprises the compression process that this HTM text carries out " merge and/or delete the idle information in described information to be sent " multiple blank character is merged into one and deletion end-tag; If described information to be sent is JSON text, then described compression treatment device 4 comprises the directly unnecessary annotation of removing and blank character to the compression process that this JSON text carries out " merge and/or delete the idle information in described information to be sent ".
As one of preferred version of the present invention, described compression set also comprises the first judgment means (not giving diagram) and the second choice device (not giving diagram).Described first judgment means judges whether described information to be sent is static information, and when described first judgment means judges that described information to be sent is static information, described second choice device selects by described multiple predetermined compact model the compact model that compression ratio is the highest.
Wherein, described static information is included in the information do not changed in its life cycle existed, such as, and static text, static Web page, website script file etc.
Preferably, described second acquisition device 2 also comprises the second sub-acquisition device (not giving diagram).When described first judgment means judges that described information to be sent is non-static information, such as, when information to be sent comprises with asp, php or jsp file that is suffix name, the second sub-acquisition device obtains the compression relevant information of described information to be sent.Wherein, described compression relevant information is described in detail in aforementioned second acquisition device 2, and is contained in this by reference, repeats no more.
According to compression set of the present invention, Selective Pressure compressed mode can be carried out based on compression relevant information, especially based on information processing load, the transmission speed of current place network, the data volume that packets of information to be sent contains and the compact model that information to be sent has used etc. are because usually selecting, make at high information processing load, the data volume hour that the fast or packets of information to be sent of the transmission speed of current place network contains, select the compact model of low complex degree, otherwise then select the compact model of high complexity, time and efficiency can be effectively taken into account thus while information to be sent being carried out to compression process, and, present invention also offers and can delete such as idle information in information to be sent, default information etc. do not affect the information of information keywords semanteme to be sent, compression efficiency can be improved while raising compression ratio.
Fig. 5 shows the compression set schematic diagram for carrying out compressing process to information to be sent of a preferred embodiment of the present invention.Described compression set comprises the first acquisition device 1, second acquisition device 2, first choice device 3, compression treatment device 4 and the second judgment means 5; Described first choice device 3 comprises again the 3rd sub-choice device 31.Wherein, the first acquisition device 1, second acquisition device 2 and compression treatment device 4 are described in detail in the embodiment shown in fig. 4, and are contained in this by reference, repeat no more.
After the second acquisition device 2 obtains compression relevant information, the compression relevant information that second judgment means 5 obtains according to the second acquisition device 2, judge whether to need to carry out compression process to information to be sent, and when judgement needs to carry out described compression process, described 3rd sub-choice device 31 is according to described compression relevant information, by selecting the compact model being applicable to described information to be sent in multiple predetermined compact model, compression treatment device 4 performs squeeze operation subsequently.
Such as, described second judgment means 5 according to the data volume of described information to be sent be greater than predetermined amount of data threshold value judge described informational needs to be sent carry out described compression process.
Again such as, described second judgment means 5 is according to described information to be sent through repeatedly complicated compression, and judge that described information to be sent does not need to carry out described compression process, thus, described information to be sent is directly sent by described compression treatment device 4.
With reference to Fig. 4 or embodiment illustrated in fig. 5 in the first choice device 3 also comprise determining device (not giving diagram) and the second sub-choice device (not giving diagram).Described determining device, according to described compression relevant information, is determined to compress evaluation information; Described second sub-choice device, according to described compression evaluation information, is applicable to the compact model of described information to be sent by selection in multiple predetermined compact model.
Wherein, according to described compression relevant information, described determining device determines that the mode compressing evaluation information includes but not limited to:
1) when described compression relevant information only comprises a factor, such as, when only comprising any one in information processing load, the transmission speed of current place network, data volume size and the compact model that used, described determining device is directly determined to compress evaluation information based on described compression relevant information.
Such as, the information processing load 30% that directly obtained by the second acquisition device 2 of described determining device is as compression evaluation information.
Again such as, described second acquisition device 2 obtains compact model that information to be sent used for carrying out the compact model of first compression process to described information to be sent according to gzip algorithm, then based on the corresponding relation of the predetermined compact model used and opinion rating, described determining device determines that it is rudimentary for compressing evaluation information.
2) when described compression relevant information comprises multinomial factor, such as, when comprising at least two factors in information processing load, the transmission speed of current place network, data volume size and the compact model that used, described determining device according to these at least two because usually obtaining compression evaluation information.
Particularly, described determining device first determines the evaluation of estimate of each in described multinomial factor, subsequently again by the evaluation of estimate of each striked factor is such as asked for and be worth, the process such as weighted sum or quadratic sum value, to obtain compression evaluation information.Wherein, described determining device determines that the mode of the evaluation of estimate of includes but not limited to: evaluation of estimate i) determining each factor based on the corresponding relation of a factor and predetermined evaluation of estimate, such as, the corresponding relation based on the compact model used and predetermined evaluation of estimate determines its evaluation of estimate; Ii) data processing is carried out to obtain evaluation of estimate to this factor, such as, data volume size is obtained its evaluation of estimate divided by predetermined threshold, again such as, using the value that obtains after the transmission speed of current place network or the data volume normalization of information to be sent as its evaluation of estimate etc.; Iii) when this factor comprises numerical information, the numerical information directly this factor comprised as its evaluation of estimate, such as, directly using information processing load value as its evaluation of estimate.
Such as, the information processing load that described second acquisition device 2 obtains is 0.8, the transmission speed of current place network is 1M, then described determining device is based on the corresponding relation of predetermined information processing load and evaluation of estimate, information processing Load Evaluation value when comformed information processing load is 0.8 is 4, and based on the predetermined transmission speed of current place network and the corresponding relation of evaluation of estimate, transmission speed evaluation of estimate when the transmission speed determining current place network is 1M is 2, thus, described determining device is by mean value (the 4+2)/2=3 of striked information processing Load Evaluation value and transmission speed evaluation of estimate.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any implementation determining compression evaluation information according to compression relevant information, all should be within the scope of the present invention.
Wherein, described second sub-choice device, according to described compression evaluation information, includes but not limited to by selecting the mode being applicable to the compact model of described information to be sent in multiple predetermined compact model:
1) Selective Pressure compressed mode is carried out according to the comparative result of described compression evaluation information and predetermined Evaluation threshold.Such as, described second sub-choice device higher than the first predetermined Evaluation threshold, selects the compact model of high complexity based on described compression evaluation information.
2) Selective Pressure compressed mode etc. is carried out according to the corresponding relation of predetermined compression evaluation information and compact model.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, any according to compression evaluation information, by selecting the implementation being applicable to the compact model of described information to be sent in multiple predetermined compact model, all should be within the scope of the present invention.
According to compression set of the present invention, first judging whether to need to carry out compression process to information to be sent based on compression relevant information, can avoiding, to not needing the information to be sent compressed again to carry out compression process, effectively saving cpu resource.
Fig. 6 shows the compression set schematic diagram for carrying out compressing process to information to be sent of another preferred embodiment of the present invention.Described compression set comprises the first acquisition device 1, second acquisition device 2, first choice device 3, compression treatment device 4 and the 3rd acquisition device 6; Described first choice device 3 also comprises the first sub-choice device 32.Wherein, the first acquisition device 1, second acquisition device 2 and compression treatment device 4 are described in detail in reference to the embodiment shown in Fig. 4 or Fig. 5, and are contained in this by reference, repeat no more.
Described 3rd acquisition device 6 obtains the display relevant information that request obtains the equipment of described information to be sent.
Wherein, described display relevant information comprises the relevant information of the information displaying of the equipment obtaining described information to be sent to described request, such as, the equipment that described request obtains described information to be sent do not support display format, be prohibited information of showing etc.
The mode that described 3rd acquisition device 6 obtains described display relevant information includes but not limited to: 1) initiatively access described request and obtain the equipment of information to be sent to obtain described display relevant information; 2) equipment that described request obtains information to be sent is initiatively supplied to described 3rd acquisition device 6 etc.
It should be noted that, the 3rd acquisition device 6 obtains display relevant information and the second acquisition device 2 acquisition compression relevant information there is no sequencing.
It should be noted that, above-mentioned citing is only and technical scheme of the present invention is described better, but not limitation of the present invention, those skilled in the art should understand that, anyly obtain the relevant information of the information displaying of the equipment of described information to be sent to request and obtain the implementation of the display relevant information of asking the equipment obtaining information to be sent, all should be within the scope of the present invention.
The compression relevant information that described first sub-choice device 32 obtains according to display relevant information and the second acquisition device 2, by selecting the compact model being applicable to described information to be sent in multiple predetermined compact model.
Such as, the equipment that described 3rd acquisition device 6 obtains the described information to be sent of described request acquisition is forbidden showing floating ad, then described first sub-choice device 32 is according to described display relevant information and described compression relevant information, by selecting the compact model comprising " merge and/or delete the idle information in described information to be sent " in multiple predetermined compact model, so that compression treatment device 4 deletes the floating ad in information to be sent when carrying out described compression process to described information to be sent.
According to compression set of the present invention, Selective Pressure compressed mode is carried out based on asking the display relevant information of the equipment of described information to be sent and compression relevant information, the display requirement of the equipment of the information conforms to be sent after overcompression process and the described information to be sent of request can be made, make compression more reasonable, reduce volume of transmitted data further.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned one exemplary embodiment, and when not deviating from spirit of the present invention or essential characteristic, the present invention can be realized in other specific forms.Therefore, no matter from which point, all should embodiment be regarded as exemplary, and be nonrestrictive, scope of the present invention is limited by claims instead of above-mentioned explanation, and all changes be therefore intended in the implication of the equivalency by dropping on claim and scope are included in the present invention.Any Reference numeral in claim should be considered as the claim involved by limiting.In addition, obviously " comprising " one word do not get rid of other unit or step, odd number does not get rid of plural number.Multiple unit of stating in system claims or device also can be realized by software or hardware by a unit or device.First, second word such as grade is used for representing title, and does not represent any specific order.

Claims (17)

1. computer implemented for carrying out the method compressing process to information to be sent, wherein, the method comprises the following steps:
-obtain described information to be sent;
Wherein, the method is further comprising the steps of:
A obtains the compression relevant information of described information to be sent;
B, according to described compression relevant information, selects a compact model by multiple predetermined compact model;
Wherein, the method is further comprising the steps of:
X, according to selected compact model, carries out described compression process to described information to be sent, to send the information to be sent after compression process;
Wherein, the method is further comprising the steps of:
-the request of acquisition obtains the display relevant information of equipment of described information to be sent, and described display relevant information comprises display format that equipment that described request obtains information to be sent do not support and/or is prohibited the information that shows;
Described step b comprises the following steps:
-according to described display relevant information and described compression relevant information, by selecting the compact model being applicable to described information to be sent in multiple predetermined compact model.
2. method according to claim 1, wherein, described compression relevant information comprises following at least one item:
-carry out the described information processing load compressing the compression set of process;
-carry out the described transmission speed compressing the compression set current place network of process;
The data association message of the data that-described packets of information to be sent contains.
3. method according to claim 2, wherein, described compression relevant information comprises described data association message, and wherein, described step a is further comprising the steps of:
-obtain described data association message according to described information to be sent.
4. according to the method in claim 2 or 3, wherein, described data association message comprises following at least one item:
The data volume size that-described packets of information to be sent contains;
The compact model that-described information to be sent has used.
5. according to the method in any one of claims 1 to 3, wherein, the method is further comprising the steps of:
-judge whether described information to be sent is static information;
-when judging that described information to be sent is static information, select by described multiple predetermined compact model the compact model that compression ratio is the highest.
6. method according to claim 5, wherein, described step a comprises the following steps:
-when judging that described information to be sent is non-static information, obtain the compression relevant information of described information to be sent.
7. according to the method in any one of claims 1 to 3, wherein, the method is further comprising the steps of:
-according to described compression relevant information, judge whether to need to carry out described compression process to described information to be sent;
Wherein, described step b comprises the following steps:
-when judging to need to carry out described compression process, according to described compression relevant information and described display relevant information, by selecting the compact model being applicable to described information to be sent in multiple predetermined compact model.
8. each compact model according to the method in any one of claims 1 to 3, wherein, in described multiple predetermined compact model all comprises following at least one compression processing mode:
-merge and/or delete the idle information in described information to be sent;
-delete default information in described information to be sent;
-according to predetermined compressing and converting algorithm, at least first compression process is carried out to described information to be sent;
-computing with words is carried out to information to be sent after, then according to predetermined compressing and converting algorithm, right
Described information to be sent carries out at least first compression process.
9., for carrying out the compression set compressing process to information to be sent, wherein, this compression set comprises:
First acquisition device, for obtaining described information to be sent;
Second acquisition device, for obtaining the compression relevant information of described information to be sent;
First choice device, for according to described compression relevant information, selects a compact model by multiple predetermined compact model;
Compression treatment device, for according to selected compact model, carries out described compression process to described information to be sent, to send the information to be sent after compression process;
Wherein, this compression set also comprises:
3rd acquisition device, obtains the display relevant information of equipment of described information to be sent for obtaining request, described display relevant information comprises display format that equipment that described request obtains information to be sent do not support and/or is prohibited the information that shows;
Described first choice device comprises:
First sub-choice device, for according to described display relevant information and described compression relevant information, by selecting the compact model being applicable to described information to be sent in multiple predetermined compact model.
10. compression set according to claim 9, wherein, described compression relevant information comprises following at least one item:
-carry out the described information processing load compressing the compression set of process;
-carry out the described transmission speed compressing the compression set current place network of process;
The data association message of the data that-described packets of information to be sent contains.
11. compression sets according to claim 10, wherein, described compression relevant information comprises described data association message, and wherein, described second acquisition device also comprises:
First sub-acquisition device, for obtaining described data association message according to described information to be sent.
12. compression sets according to claim 10 or 11, wherein, described data association message comprises following at least one item:
The data volume size that-described packets of information to be sent contains;
The compact model that-described information to be sent has used.
13. compression sets according to any one of claim 9 to 11, wherein, this compression set also comprises:
First judgment means, for judging whether described information to be sent is static information;
Second choice device, for when judging that described information to be sent is static information, selects by described multiple predetermined compact model the compact model that compression ratio is the highest.
14. compression sets according to claim 13, wherein, described second acquisition device comprises:
Second sub-acquisition device, for when judging that described information to be sent is non-static information, obtains the compression relevant information of described information to be sent.
15. compression sets according to any one of claim 9 to 11, wherein, this compression set also comprises:
Second judgment means, for according to described compression relevant information, judges whether to need to carry out described compression process to described information to be sent;
Wherein, described first choice device comprises:
3rd sub-choice device, during for needing when judgement to carry out described compression process, according to described compression relevant information and described display relevant information, by selecting the compact model being applicable to described information to be sent in multiple predetermined compact model.
16. compression sets according to any one of claim 9 to 11, wherein, each compact model in described multiple predetermined compact model all comprises following at least one compression processing mode:
-merge and/or delete the idle information in described information to be sent;
-delete default information in described information to be sent;
-according to predetermined compressing and converting algorithm, at least first compression process is carried out to described information to be sent;
-computing with words is carried out to information to be sent after, then according to predetermined compressing and converting algorithm, at least first compression process is carried out to described information to be sent.
17. 1 kinds of computer equipments, wherein, this computer equipment comprises the compression set as described in item at least one in claim 9 to 16.
CN201110346266.8A 2011-11-04 2011-11-04 Method, device and equipment for compressing information to be sent Active CN102437894B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110346266.8A CN102437894B (en) 2011-11-04 2011-11-04 Method, device and equipment for compressing information to be sent

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110346266.8A CN102437894B (en) 2011-11-04 2011-11-04 Method, device and equipment for compressing information to be sent

Publications (2)

Publication Number Publication Date
CN102437894A CN102437894A (en) 2012-05-02
CN102437894B true CN102437894B (en) 2015-01-28

Family

ID=45985782

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110346266.8A Active CN102437894B (en) 2011-11-04 2011-11-04 Method, device and equipment for compressing information to be sent

Country Status (1)

Country Link
CN (1) CN102437894B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104796155B (en) * 2012-05-30 2019-03-01 北京奇虎科技有限公司 Data compression method and apparatus
CN104468839A (en) * 2014-12-30 2015-03-25 贵州电网公司信息通信分公司 Distribution network equipment state rapid updating method based on Internet geographic information system
CN105302494B (en) * 2015-11-19 2019-06-18 浪潮(北京)电子信息产业有限公司 A kind of Compression Strategies selection method and device
CN109783014B (en) * 2016-02-03 2022-04-05 华为技术有限公司 Data storage method and device
CN108896703A (en) * 2018-05-09 2018-11-27 南京思达捷信息科技有限公司 A kind of processing method of air big data
CN110266814B (en) * 2019-07-09 2021-08-17 联想(北京)有限公司 Transmission method and transmission device
CN112600938B (en) * 2020-12-30 2022-01-11 深圳市蓝硕通讯设备有限公司 Enterprise communication data compression system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452388A (en) * 2002-04-17 2003-10-29 佳能株式会社 Picture compression method and device, and picture coding device and method
CN102137439A (en) * 2010-09-17 2011-07-27 上海华为技术有限公司 Compression control method, device and system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100837410B1 (en) * 2006-11-30 2008-06-12 삼성전자주식회사 Method and apparatus for visually lossless image data compression
CN101126977A (en) * 2007-08-28 2008-02-20 激动集团股份有限公司 ISAPI based WEB static page generation method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1452388A (en) * 2002-04-17 2003-10-29 佳能株式会社 Picture compression method and device, and picture coding device and method
CN102137439A (en) * 2010-09-17 2011-07-27 上海华为技术有限公司 Compression control method, device and system

Also Published As

Publication number Publication date
CN102437894A (en) 2012-05-02

Similar Documents

Publication Publication Date Title
CN102437894B (en) Method, device and equipment for compressing information to be sent
CN105975576B (en) Terminal content adaptive display method and device and terminal
CN101833542B (en) Method and device for rendering fonts of user interface
CN102364460B (en) Automatic page amplification method and system based on mobile terminal
CN103546505A (en) Method, system and device for displaying page blocks in priority order
CN102841901A (en) Web page display method and device
CN109492177B (en) web page blocking method based on web page semantic structure
CN106817391A (en) Document breakpoint transmission method and apparatus
CN104935666B (en) A kind of method and system for mobile terminal viewing pdf document
CN104104995A (en) Image display method and device
CN104199728A (en) Image transmission information displaying method and device
CN104254849A (en) User terminal apparatus supporting fast web scroll of web documents and method therefor
CN102999568B (en) A kind of method and apparatus showing list on mobile terminals
CN111859210B (en) Image processing method, device, equipment and storage medium
Guirguis et al. A smart framework for web content and resources adaptation in mobile devices
CN111240793A (en) cell pre-rendering method and device, electronic equipment and computer readable medium
CN102487362B (en) The display packing of IM message and device
KR102060660B1 (en) Method and Apparatus For Providing Web Browsing Service
Yang et al. A Unit of Information‐Based Content Adaptation Method for Improving Web Content Accessibility in the Mobile Internet
EP2801920A1 (en) Method and apparatus for displaying web page
CN103024055A (en) Webpage compression method and system used for mobile terminal and cloud server
CN105656921A (en) Data transmission method, apparatus and device
CN115935909A (en) File generation method and device and electronic equipment
CN105654540A (en) Method and apparatus for data display in 3D scene
CN113343133B (en) Display page generation method, related device and computer program product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant