CN107306444A - Send the method and device of data - Google Patents

Send the method and device of data Download PDF

Info

Publication number
CN107306444A
CN107306444A CN201610261248.2A CN201610261248A CN107306444A CN 107306444 A CN107306444 A CN 107306444A CN 201610261248 A CN201610261248 A CN 201610261248A CN 107306444 A CN107306444 A CN 107306444A
Authority
CN
China
Prior art keywords
data
power consumption
transmitting terminal
compression
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.)
Pending
Application number
CN201610261248.2A
Other languages
Chinese (zh)
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201610261248.2A priority Critical patent/CN107306444A/en
Priority to PCT/CN2016/099740 priority patent/WO2017185597A1/en
Publication of CN107306444A publication Critical patent/CN107306444A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W52/00Power management, e.g. TPC [Transmission Power Control], power saving or power classes
    • H04W52/02Power saving arrangements
    • H04W52/0209Power saving arrangements in terminal devices
    • H04W52/0212Power saving arrangements in terminal devices managed by the network, e.g. network or access point is master and terminal is slave
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a kind of method and device for sending data, wherein, this method includes:The first data to be sent are obtained, and for characterizing the running parameter of transmitting terminal service behaviour;Judge to compress the power consumption whether total power consumption required for being transmitted again after first data is less than required for directly transmitting first data according to the running parameter;When judged result is to be, retransmited after first data are compressed.By the present invention, solve and the problem of data power consumption is excessive is sent in correlation technique.

Description

Send the method and device of data
Technical field
Field is sent the present invention relates to Internet of Things data, data are sent in particular to one kind Method and device.
Background technology
Internet of Things application demand doubles, and each major company releases one after another support Long Term Evolution (Long-Term Evolution, referred to as LTE) machine type communication (MTC) specification Cat.0 and Cat.1 chipset, the features such as phase takes small size, low-power consumption and low cost, machine of leading up forward Device is to machine (M2M) communication applications field, it is expected to further expand LTE in the city of Internet of Things Field category.And the Cat0 in the Cat1 and R12 that LTE-M will emerge than terminal installation is more It is good, will be main target technology that M2M markets are entered by China's Mainland manufacturer.Part manufacturer will be direct Cross cat0/1 and direct plunge into LTE-M.LTE-M is only the final focus of M2M manufacturers, Cat0/1 is transitionality.European telecommunication operator is also in LTE-M infrastructures.
Due to the special applications scene of Internet of Things chip, its traffic is smaller and communication frequency is relatively low, But with conventional mobile phone it is entirely different the characteristics of, that is, quantity is more, necessary in some cases By the time of dry cell operation 10 years.For it is such the characteristics of, the low-power consumption of terminal chip Change is that LTE-M inquires into and needed the very important characteristic realized, and launches institute The power of consuming, occupies sizable part in the power consumption of module.If so can be in transmitting When initial data is subjected to a certain degree of compression, the work(that module is consumed in transmitting can be reduced Rate, especially in the case of weak signal, effect can be obvious.
LTE technologies in correlation technique have the technology being compressed to IP packet header, also have to whole What individual packet was compressed, the purpose is to can effectively provide the utilization of radio spectrum resources Rate.
But correlation technique can't dynamically judge it is that power consumption required for compressed data is more, also Be launch data required for power consumption it is many, if be all compressed under any scene to data, Under especially strong signal, perhaps it can run counter to desire.
For above mentioned problem present in correlation technique, at present it is not yet found that the solution of effect.
The content of the invention
The embodiments of the invention provide a kind of method and device for sending data, at least to solve phase The problem of data power consumption is excessive is sent in the technology of pass.
According to one embodiment of present invention there is provided a kind of method for sending data, including: The first data to be sent are obtained, and for characterizing the running parameter of transmitting terminal service behaviour; Judged to compress total required for being transmitted again after first data according to the running parameter Whether power consumption is less than the power consumption directly transmitted required for first data;It is yes in judged result When, retransmited after first data are compressed.
Alternatively, the running parameter includes at least one of:Signal intensity, signal to noise ratio, When operating voltage when operating current during compressive state, compressive state, radio-frequency transmissions data Operating current, sky when operating voltage when operating current, radio-frequency transmissions data, idle condition Operating voltage during not busy state.
Alternatively, judged to be transmitted again after compressing first data according to the running parameter Whether the power consumption being less than required for directly transmitting first data includes required total power consumption: The work(required for power consumption W1, the second data of transmission required for calculating compression first data The power consumption W3 consumed required for W2 and transmission first data, wherein, described second Data are the data after being compressed to first data;W1 is judged plus W2's and is It is no to be less than W3.
Alternatively, W1, W2, W3 are calculated by below equation:
W1=((I2*V2)-(I0*V0))*T2
W2=((I1*V1)-(I0*V0))*T1*S1
W3=((I1*V1)-(I0*V0))*T1*S;
Wherein, I1For operating current of the transmitting terminal in radio-frequency transmissions data, V1For institute State operating voltage of the transmitting terminal in radio-frequency transmissions data, I0It is the transmitting terminal in idle condition When operating current, V0For operating current of the transmitting terminal in idle condition, I2To be described Operating current of the transmitting terminal in compressive state, V2For work of the transmitting terminal in compressive state Make electric current, T1The time required for unit data, T are sent for the transmitting terminal2Sent to be described Time required for side pressure contracting first data, S is the data volume of first data, S1 For the data volume of second data.
Alternatively, the I2For the first preset value;The V2For the second preset value;The T2 Obtained to be calculated according to the S and default compression speed;The S1For according to the S and compression The compression ratio of algorithm is calculated and obtained.
Alternatively, sent out again after judging to compress first data according to the running parameter Send required total power consumption whether be less than directly transmit power consumption required for first data it Before, methods described also includes:Judge whether the data volume of first data is less than or equal in advance If threshold value;In judged result for when being, it is determined that judging compression described the according to the running parameter Whether the total power consumption required for being transmitted again after one data, which is less than, directly transmits first number According to required power consumption.
Alternatively, first data are carried out by the compression algorithm of at least one of form Compression:LZMA、LZMA2、PPMD、BCJ、BCJ2.
Alternatively, it is terminal in the transmitting terminal, when the receiving terminal is base station, by following Mode determines that the receiving terminal supports the decompression ability to first data:In the transmitting terminal When sending login request message to the receiving terminal, being carried in the login request message is used for Inquire whether the receiving terminal supports the field of decompression ability;Receive the use of the receiving terminal feedback Possesses the message of the decompression ability in response.
According to another embodiment of the invention there is provided a kind of device for sending data, including: Acquisition module, first data to be sent for obtaining, and for characterizing transmitting terminal workability The running parameter of energy;Judge module, for judging compression described first according to the running parameter Whether the total power consumption required for being transmitted again after data, which is less than, directly transmits first data Required power consumption;Processing module, during for being in judged result, by first data Retransmited after being compressed.
Alternatively, the running parameter includes at least one of:Signal intensity, signal to noise ratio, When operating voltage when operating current during compressive state, compressive state, radio-frequency transmissions data Operating current, sky when operating voltage when operating current, radio-frequency transmissions data, idle condition Operating voltage during not busy state.
Alternatively, judge module also includes:Computing unit, for calculating compression first number According to the power consumption W2 required for required power consumption W1, the second data of transmission and transmission institute The power consumption W3 required for the first data is stated, wherein, second data are to be counted to described first According to the data after being compressed;Judging unit, for judging whether W1 is plus W2's and small In W3.
Alternatively, the computing unit calculates W1, W2, W3 by below equation:
W1=((I2*V2)-(I0*V0))*T2
W2=((I1*V1)-(I0*V0))*T1*S1
W3=((I1*V1)-(I0*V0))*T1*S;
Wherein, I1For operating current of the transmitting terminal in radio-frequency transmissions data, V1For institute State operating voltage of the transmitting terminal in radio-frequency transmissions data, I0It is the transmitting terminal in idle condition When operating current, V0For operating current of the transmitting terminal in idle condition, I2To be described Operating current of the transmitting terminal in compressive state, V2For work of the transmitting terminal in compressive state Make electric current, T1The time required for unit data, T are sent for the transmitting terminal2Sent to be described Time required for side pressure contracting first data, S is the data volume of first data, S1 For the data volume of second data.
By the present invention, the first data to be sent are obtained, and for characterizing transmitting terminal work The running parameter of performance;Judged to carry out again after compressing first data according to the running parameter Whether the total power consumption required for sending is less than the power consumption directly transmitted required for first data; In judged result for when being, receiving terminal is then forwarded to after first data are compressed, its In, the receiving terminal supports the decompression ability to first data of compression, due in compression The power consumption of compressed data is also judged before data, can obtain retransmiting after data compression is It is no it is real saved power consumption, can solve in correlation technique send data power consumption it is excessive the problem of, Reach the technique effect for saving sending power consumption.
Brief description of the drawings
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the application A part, schematic description and description of the invention is used to explain the present invention, not structure Into inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is a kind of hardware of the mobile terminal of the method for transmission data of the embodiment of the present invention Structured flowchart;
Fig. 2 is a kind of method flow diagram of transmission data according to embodiments of the present invention;
Fig. 3 is the structured flowchart of the device of transmission data according to embodiments of the present invention;
Fig. 4 is the alternative construction block diagram of the device of transmission data according to embodiments of the present invention;
Fig. 5 is that schematic diagram is consulted according to embodiments of the present invention 3 terminal and base station interaction;
Fig. 6 is that according to embodiments of the present invention 3 terminal sends the flow chart of data.
Embodiment
Describe the present invention in detail below with reference to accompanying drawing and in conjunction with the embodiments.Need explanation It is that, in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combination.
It should be noted that the art in description and claims of this specification and above-mentioned accompanying drawing Language " first ", " second " etc. are for distinguishing similar object, without specific for describing Order or precedence.
Embodiment 1
The embodiment of the method that the embodiment of the present application one is provided can be whole in mobile terminal, computer Performed in end or similar arithmetic unit.Exemplified by running on mobile terminals, Fig. 1 is this A kind of hardware block diagram of the mobile terminal of the method for transmission data of inventive embodiments.As schemed Shown in 1, mobile terminal 10 can include one or more (one is only shown in figure) processing (processor 102 can include but is not limited to Micro-processor MCV or FPGA to device 102 The processing unit of device FPGA etc.), the memory 104 for data storage and be used for The transmitting device 106 of communication function.It will appreciated by the skilled person that shown in Fig. 1 Structure be only signal, it does not cause to limit to the structure of above-mentioned electronic installation.For example, moving Dynamic terminal 10 may also include than shown in Fig. 1 more either less components or with Different configuration shown in Fig. 1.
Memory 104 can be used for the software program and module of storage application software, such as present invention Corresponding programmed instruction/the module of method of transmission data in embodiment, processor 102 passes through Operation is stored in software program and module in memory 104, should so as to perform various functions With and data processing, that is, realize above-mentioned method.Memory 104 may include to deposit at random at a high speed Reservoir, may also include nonvolatile memory, such as one or more magnetic storage device, sudden strain of a muscle Deposit or other non-volatile solid state memories.In some instances, memory 104 can enter One step includes the memory remotely located relative to processor 102, and these remote memories can be with Pass through network connection to mobile terminal 10.The example of above-mentioned network include but is not limited to internet, Intranet, LAN, mobile radio communication and combinations thereof.
Transmitting device 106 is used to data are received or sent via a network.Above-mentioned network Instantiation may include the wireless network that the communication providerses of mobile terminal 10 are provided.At one In example, transmitting device 106 includes a network adapter (Network Interface Controller, NIC), its can be connected by base station with other network equipments so as to interconnection Net is communicated.In an example, transmitting device 106 can be radio frequency (Radio Frequency, RF) module, it is used to wirelessly be communicated with internet.
A kind of side for the transmission data for running on above-mentioned mobile terminal is provided in the present embodiment Method, Fig. 2 is a kind of method flow diagram of transmission data according to embodiments of the present invention, such as Fig. 2 Shown, the flow comprises the following steps:
Step S202, obtains the first data to be sent, and for characterizing transmitting terminal work The running parameter of performance;
Step S204, judges needed for being transmitted again after the first data of compression according to running parameter Whether the total power consumption wanted is less than the power consumption directly transmitted required for the first data;
Step S206, when judged result is to be, is retransmited after the first data are compressed.
By above-mentioned steps, the first data to be sent are obtained, and for characterizing transmitting terminal work Make the running parameter of performance;Institute is transmitted again after judging the first data of compression according to running parameter Whether the total power consumption needed is less than the power consumption directly transmitted required for the first data;In judged result During to be, retransmited after the first data are compressed, due to also judging before compressing the data The power consumption of compressed data, can obtain retransmiting whether really saved work(after data compression Consumption, can solve to send the problem of data power consumption is excessive in correlation technique, reach that saving sends work( The technique effect of consumption.
Alternatively, the executive agent of above-mentioned steps can be base station, terminal etc., such as using once The internet-of-things terminal of property battery, but not limited to this.
Optionally, running parameter can be, but not limited to for:Signal intensity, signal to noise ratio, compression shape Operating current when operating voltage when operating current during state, compressive state, radio frequency state, Work when operating current when operating voltage during radio frequency state, idle condition, idle condition Voltage.State when radio frequency state can be radio-frequency transmissions data.
In the optional embodiment according to the present embodiment, compression first is judged according to running parameter Whether the total power consumption required for being transmitted again after data is less than directly transmit the first data needed for The power consumption wanted includes:
The work(required for power consumption W1, the second data of transmission required for calculating the first data of compression Consume W2 and send the first data required for power consumption W3, wherein, the second data for pair First data be compressed after data;
W1 is judged plus W2's and whether is less than W3.
Specifically W1, W2, W3 can be calculated by below equation:
W1=((I2*V2)-(I0*V0))*T2
W2=((I1*V1)-(I0*V0))*T1*S1
W3=((I1*V1)-(I0*V0))*T1*S;
Wherein, I1For operating current of the transmitting terminal in radio frequency state, V1Penetrated for transmitting terminal Operating voltage during frequency state, I0For operating current of the transmitting terminal in idle condition, V0For hair Operating current of the sending end in idle condition, I2For operating current of the transmitting terminal in compressive state, V2For operating current of the transmitting terminal in compressive state, T1For needed for transmitting terminal sends unit data The time wanted, T2The time required for the first data is compressed for transmitting terminal, S is the first data Data volume, S1For the data volume of the second data.
For the acquisition of above-mentioned parameters, it can be worth to by the experience of test, the I2 For the first preset value;The V2For the second preset value;The T2For according to the S divided by advance If compression speed is calculated and obtained;The S1To be multiplied by the compression ratio meter of compression algorithm according to the S Obtain, such as compression ratio of compression algorithm is 50%, then S1=0.5S.And for I1And V1, Also need to reference to the signal intensity and signal to noise ratio obtained in real time, further according to signal intensity and letter Make an uproar than with I1And V1Corresponding relation obtain because, with the change of signal intensity and signal to noise ratio Change, power during radio-frequency transmissions data is also change, corresponding I1And V1It is also change, Typically by signal intensity and signal to noise ratio are bigger, I1And V1Also it is bigger, as another way, The electric current and voltage during the last radio-frequency transmissions data can be regard as I1And V1
It can also optionally sentence at the beginning of first carrying out one before judging power consumption size, judge the first number According to whether excessive, required for being transmitted again after the first data of compression are judged according to running parameter Total power consumption whether be less than before the power consumption directly transmitted required for the first data, method also includes:
S11, judges whether the data volume of the first data is less than or equal to predetermined threshold value;
S12, when judged result is to be, it is determined that judging the first data of compression according to running parameter Whether the total power consumption required for being transmitted again afterwards is less than directly transmit the first data required for Power consumption.
Optionally, predetermined threshold value Threshold1 can be obtained by the following method:To upper line number Compressed according to enforced opening, transmitting terminal sends the data of lasting and stability of flow to base station, observes The delay degree that data are sent, or ping bags can be directly transmitted to network and return is observed The time delay of bag, if greater than certain value, such as 500ms then records flow conduct now threshold1。
Optionally, following algorithm can be used to be compressed the first data:7z compression is calculated Method, including:LZMA, LZMA2, PPMD, BCJ, BCJ2, wherein, LZMA (Lempel-Ziv-Markov chain-Algorithm) calculates for improvement with the LZ77 after optimization Method, LZMA2 is LZMA innovatory algorithm, and PPMD is based on Dmitry Shkarin's PPMdH algorithms, BCJ is 32 x86 executable file conversion programs;BCJ2 is 32 Position x86 executable file conversion programs.Herein it should be noted that in situation about not conflicting Under, above-mentioned compression algorithm can be combined with each other, in addition, above-mentioned algorithm is merely illustrative, this Embodiment can also use other unrequited compression algorithms to be compressed the first data, herein Any limitation is not done.
Optionally, it is terminal in transmitting terminal, can be in the following manner when receiving terminal is base station Determine that receiving terminal supports the decompression ability to the first data:
S21, when transmitting terminal sends login request message to receiving terminal, in login request message It is middle to carry for inquiring whether receiving terminal supports the field of decompression ability;Optionally, Ke Yishi Data_comp_cap_flag fields.
S22, receives the message that response possesses decompression ability that is used for of receiving terminal feedback.
And when receiving terminal is terminal, can be by IP data packet communications and receiving terminal negotiation No support data compression, advantage of this is that do not need transfer base station to support data compression capability, Receiving terminal can independently realize decompression function.
Optionally, when receiving terminal is terminal, whole IP packets are not compressed now, But will be to sent data compression, then compressed data are sent to by IP bags connect Receiving end;And when receiving terminal is base station, can to being directly compressed to whole IP packets, Without being compressed in advance to sent data.
Through the above description of the embodiments, those skilled in the art can be understood that The mode of general hardware platform necessary to can add to the method according to above-described embodiment by software To realize, naturally it is also possible to by hardware, but the former is more preferably embodiment in many cases. Understood based on such, technical scheme substantially makes tribute to prior art in other words The part offered can be embodied in the form of software product, and the computer software product is stored in In one storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions are used to So that a station terminal equipment (can be mobile phone, computer, server, or network equipment etc.) The method for performing each embodiment of the invention.
Embodiment 2
A kind of device for sending data is additionally provided in the present embodiment, and the device is used to realize Embodiment and preferred embodiment are stated, repeating no more for explanation had been carried out.Make as following , term " module " can realize the combination of the software and/or hardware of predetermined function.To the greatest extent Device described by pipe following examples is preferably realized with software, but hardware, or soft The realization of the combination of part and hardware is also that may and be contemplated.
Fig. 3 is the structured flowchart of the device of transmission data according to embodiments of the present invention, such as Fig. 3 Shown, the device includes:
Acquisition module 30, first data to be sent for obtaining, and sent for characterizing Hold the running parameter of service behaviour;
Judge module 32, for being sent out again after judging the first data of compression according to running parameter Send whether required total power consumption is less than the power consumption directly transmitted required for the first data;
Processing module 34, during for being in judged result, after the first data are compressed Receiving terminal is then forwarded to, wherein, receiving terminal supports the decompression ability to the first data of compression.
Optionally, running parameter can be, but not limited to for:Signal intensity, signal to noise ratio, compression shape Operating current when operating voltage when operating current during state, compressive state, radio frequency state, Work when operating current when operating voltage during radio frequency state, idle condition, idle condition Voltage.
Fig. 4 is the alternative construction block diagram of the device of transmission data according to embodiments of the present invention, such as Shown in Fig. 4, the device is in addition to including all modules shown in Fig. 3, and judge module 32 is also wrapped Include:
Computing unit 40, for calculating power consumption W1 required for the first data of compression, sending the The power consumption W3 required for the first data of power consumption W2 and transmission required for one data, its In, the second data are the data after being compressed to the first data;
Judging unit 42, for judging W1 plus W2's and whether being less than W3.
Optionally, computing unit can calculate W1, W2, W3 by below equation:
W1=((I2*V2)-(I0*V0))*T2
W2=((I1*V1)-(I0*V0))*T1*S1
W3=((I1*V1)-(I0*V0))*T1*S;
Wherein, I1For operating current of the transmitting terminal in radio frequency state, V1Penetrated for transmitting terminal Operating voltage during frequency state, I0For operating current of the transmitting terminal in idle condition, V0For hair Operating current of the sending end in idle condition, I2For operating current of the transmitting terminal in compressive state, V2For operating current of the transmitting terminal in compressive state, T1For needed for transmitting terminal sends unit data The time wanted, T2The time required for the first data is compressed for transmitting terminal, S is the first data Data volume, S1For the data volume of the second data.
It should be noted that above-mentioned modules can be by software or hardware to realize, For the latter, it can be accomplished by the following way, but not limited to this:Above-mentioned module is respectively positioned on together In one processor;Or, the form of above-mentioned modules in any combination is located at different respectively In processor.
Embodiment 3
Embodiment 3 is as the alternative embodiment to the present invention, for combining specific application entity The present invention is described in detail with scene.Transmitting terminal is terminal, and the present embodiment is wrapped in end side Include:Capability negotiation module, information acquisition module, compression module, determination module, transmitter module.
Capability negotiation module, for consulting whether to prop up with base station in terminal and base station login interaction Compression function is held, and which kind of compression algorithm supported.Included in the registration ability of terminal Data_comp_cap_flag flag bits, if this field value shows that terminal does not support data for 0 Compressed capability, if this field value shows that terminal supports data compression capability for 1; Followed by length field and compression algorithm field after data_comp_cap_flag fields, wherein The length of the byte representation compression algorithm field of length field 1, and each byte generation of compression algorithm A kind of compression algorithm of table, and these compression algorithms are according to the priority drop used desired by terminal Sequence is arranged.Terminal parses data_comp_cap_flag after the registration for receiving base station is receiveed the response Flag bit and compression algorithm, so as to judge whether base station supports data compression algorithm, if branch Hold and which kind of algorithm is used when follow-up data compresses.Fig. 5 is according to embodiments of the present invention 3 end Schematic diagram is consulted in end and base station interaction, as shown in figure 5, including:
S501, terminal sends attach request Attach request to base station;
UE Capability Requirement Capability request are fed back to terminal in S502, base station;
S503, terminal sends UE capabilities response Capability response to base station;
S504, base station receives message Attach accpet to terminal feedback attachment;
S505, terminal sends attachment completion message Attach complete to base station.
Information acquisition module, for environment such as the reception signals and signal to noise ratio of real-time collecting terminal Parameter.
Compression module is responsible for carrying out precommpression and compression to data, and compression module passes through to data Precommpression be not really to start compression, and simply estimate time required for compressed data, And the length of data is how many after compression.
Determination module, retransmits or directly transmits for deciding whether to be compressed data. Determination module will be judged when judging according to following condition with this, when all conditions are all full Just data are compressed when sufficient, upstream data is otherwise directly transmitted:1. data pressure is supported in base station Contract and terminal consults to have arrived suitable data compression algorithm with base station;2. user data now Amount is less, less than threshold value threshold1;3. data are compressed with consumed power consumption to be less than The saved power consumption of transmitting.Threshold1 can be obtained by the following method:Forced to up Open compression, terminal send continue and stability of flow data arrive base station, observed data transmission Delay degree, or can directly transmit ping bags to network and observe return bag time delay, If greater than certain value, such as 500ms then records flow now as threshold1.Sentence Determine inside modules and be prefixed 2 kinds of concordance lists, concordance list 1 is the conditions such as signal intensity, signal to noise ratio With the corresponding relation of transmitting unit data power consumption, concordance list 2 is the time required for data compression With the corresponding relation of required power consumption.Concordance list 1 and concordance list 2 can be by surveying in terminal Obtained, such as concordance list 1, can first test out terminal in a certain specific signal intensity and Average current and voltage under signal to noise ratio, then persistently send upstream data, test now terminal Average current again and operating voltage, use formula ((voltage when electric current * launches during transmitting) - (idle current * idle voltages)) * send unit data required for time, draw As a result it is exactly to launch the power required for unit data;And for concordance list 2, closing radio frequency In the case of, the idle current and idle voltage of terminal are tested first, reuse specific algorithm A certain amount of data are compressed, the voltage and current of data terminal in compression is calculated, uses formula ((voltage when electric current * compresses during compression)-(voltage when electric current * is idle when idle)) * Unit interval, what is drawn is exactly the corresponding relation of data compression time and power consumption.
Transmitter module, for by user data transmission to base station.
The terminal of the present embodiment, can be adapted to the base station for supporting compression function and not support compression The base station of function.When endpoint registration to base station carries out capability negotiation, terminal can report support number According to compressed capability and the compression algorithm of support, and base station can reply the ability of its support.For The base station do not supported, terminal is when launching data without compression;And for the base station of support, Whether the Distance Judgment of terminal meeting basis and base station needs compression before data transmission, and uses Which kind of compression algorithm, base station is decompressed after the data of terminal transmission are received.
The compression algorithm of the compression algorithm that the present embodiment is increased income using that can use, such as 7z, bag LZMA, LZMA2, PPMD, BCJ, BCJ2 etc. are included, packet is compressed.
The transmitting terminal and receiving terminal in system are separately illustrated below, i.e. end side and base Stand side, Fig. 6 is that according to embodiments of the present invention 3 terminal sends the flow chart of data, with reference to figure Step shown in 6, end side embodiment of the method includes:
Step S601:Communication is set up in terminal and base station;
Step S602:Terminal is carried in the competence set of registration message Its value of data_comp_cap_flag fields is 1, and the compression algorithm supported, compression algorithm Priority desirably is arranged from high to low;
Step S603:Terminal parses the capabilities response of base station, if data_comp_cap_flag Field value is that data compression algorithm is not supported in 0 base station, and parsing base station if value is 1 replies Support compression algorithm, the compression algorithm of follow-up first support replied using base station;
Step S604:Terminal transmission module receives data to be launched, if the base station of registration Do not support data compression then to directly transmit data, then perform S610 and send data;
Step S605:If it is required that the data of transmitting are relatively more, having exceeded threshold1, then Perform S610 transmitting data;
Step S606:If the data to be sent are less, and data are supported in the base station registered Compression, next step determines whether to carry out data compression;
Step S607:Signal intensity, signal to noise ratio and the work of data acquisition module collection terminal Make the information such as voltage;
Step S608:Compression module carries out precompression treatment to data, judges after data compression The byte number that can be saved, and the time that compression needs;
Step S609:Determination module is first according to signal intensity and signal to noise ratio from concordance list 1 The power consumption that transmitting unit data is consumed is found, the byte number saved after compression is multiplied by, must set out Penetrate the power consumption of saving;Power consumption required for drawing unit interval compression further according to concordance list 2 is multiplied by Time required for compression, the power consumption required for compression is drawn, compares the two power consumptions, if The power consumption that transmitting is saved more at most is compressed to data;
Step S610:Launch data, and data compression flag is set in the data of transmitting Position.
Base station side embodiment of the method includes:
Step S701:Communication is set up in terminal and base station, is registered;
Step S702:Capability set and self-ability that base station is sent according to terminal, judgement is It is no to support data compression, will in capability negotiation is corresponding if supported Data_comp_cap_flag field values are set to 1, and followed by carry the compression of support Algorithm, this compression algorithm is the common subset for the compression algorithm that base station and terminal are supported;
Step S703:Base station is received after the data of terminal transmission, with this end before first checking for End consults whether support data compression, if supporting whether data compression judges compression flag bit again There is setting, if setting then according to compression algorithm to data decompression, otherwise directly transmit number According to.
Embodiments of the invention additionally provide a kind of storage medium.Alternatively, in the present embodiment, Above-mentioned storage medium can be configured to the program code that storage is used to perform following steps:
S1, obtains the first data to be sent, and for characterizing the work of transmitting terminal service behaviour Make parameter;
S2, required total work is transmitted after judging the first data of compression according to running parameter again Whether consumption is less than the power consumption directly transmitted required for the first data;
S3, in judged result for when being, receiving terminal is then forwarded to after the first data are compressed, Wherein, receiving terminal supports the decompression ability to the first data of compression.
Alternatively, in the present embodiment, above-mentioned storage medium can include but is not limited to:USB flash disk, Read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disc or CD etc. are various to store The medium of program code.
Alternatively, in the present embodiment, processor is according to the program generation stored in storage medium Code, which is performed, obtains the first data to be sent, and for characterizing the work of transmitting terminal service behaviour Parameter;
Alternatively, in the present embodiment, processor is according to the program generation stored in storage medium Code performs the total work judged according to running parameter required for being transmitted again after the first data of compression Whether consumption is less than the power consumption directly transmitted required for the first data;
Alternatively, in the present embodiment, processor is according to the program generation stored in storage medium Code is performed in judged result for when being, receiving terminal is then forwarded to after the first data are compressed, Wherein, receiving terminal supports the decompression ability to the first data of compression.
Alternatively, the specific example in the present embodiment may be referred to above-described embodiment and optional implementation Example described in mode, the present embodiment will not be repeated here.
Obviously, those skilled in the art should be understood that above-mentioned each module of the invention or each Step can realize that they can concentrate on single computing device with general computing device On, or be distributed on the network that multiple computing devices are constituted, alternatively, they can be used The executable program code of computing device is realized, it is thus possible to be stored in storage dress Performed in putting by computing device, and in some cases, can be with suitable different from herein Sequence performs shown or described step, or they are fabricated to each integrated circuit die respectively Block, or the multiple modules or step in them are fabricated to single integrated circuit module to realize. So, the present invention is not restricted to any specific hardware and software combination.
The preferred embodiments of the present invention are the foregoing is only, are not intended to limit the invention, For those skilled in the art, the present invention can have various modifications and variations.It is all this Within the spirit and principle of invention, any modification, equivalent substitution and improvements made etc. all should Within protection scope of the present invention.

Claims (11)

1. a kind of method for sending data, it is characterised in that including:
The first data to be sent are obtained, and for characterizing the work of transmitting terminal service behaviour Make parameter;
Judged according to the running parameter needed for being transmitted again after compression first data Whether the total power consumption wanted is less than the power consumption directly transmitted required for first data;
When judged result is to be, retransmited after first data are compressed.
2. according to the method described in claim 1, it is characterised in that the work ginseng Number includes at least one of:Work electricity when signal intensity, signal to noise ratio, compressive state Stream, compressive state when operating voltage, radio-frequency transmissions data when operating current, radio frequency Launch data when operating voltage, idle condition when operating current, idle condition when Operating voltage.
3. according to the method described in claim 1, it is characterised in that according to the work Make parameter and judge that the total power consumption required for being transmitted again after compression first data is The no power consumption being less than required for directly transmitting first data includes:
Power consumption W1, the second data institute of transmission required for calculating compression first data Power consumption W3 required for the power consumption W2 and transmission first data that need, its In, second data are the data after being compressed to first data;
W1 is judged plus W2's and whether is less than W3.
4. method according to claim 3, it is characterised in that pass through following public affairs Formula calculates W1, W2, W3:
W1=((I2*V2)-(I0*V0))*T2
W2=((I1*V1)-(I0*V0))*T1*S1
W3=((I1*V1)-(I0*V0))*T1*S;
Wherein, I1For operating current of the transmitting terminal in radio-frequency transmissions data, V1 For operating voltage of the transmitting terminal in radio-frequency transmissions data, I0Exist for the transmitting terminal Operating current during idle condition, V0The work for being the transmitting terminal in idle condition electricity Stream, I2For operating current of the transmitting terminal in compressive state, V2For the transmitting terminal Operating current in compressive state, T1Required for transmitting terminal transmission unit data Time, T2The time required for first data is compressed for the transmitting terminal, S is The data volume of first data, S1For the data volume of second data.
5. method according to claim 4, it is characterised in that wherein,
The I2For the first preset value;
The V2For the second preset value;
The T2Obtained to be calculated according to the S and default compression speed;
The S1Obtained to be calculated according to the S and compression algorithm compression ratio.
6. according to the method described in claim 1, it is characterised in that according to described Running parameter is transmitted required total power consumption again after judging compression first data Whether it is less than before the power consumption directly transmitted required for first data, methods described is also Including:
Judge whether the data volume of first data is less than or equal to predetermined threshold value;
In judged result for when being, it is determined that judging compression described the according to the running parameter Whether the total power consumption required for being transmitted again after one data, which is less than, directly transmits described the Power consumption required for one data.
7. according to the method described in claim 1, it is characterised in that sent described Hold as terminal, when receiving terminal is base station, determine that the receiving terminal is supported in the following manner To the decompression ability of first data:
When the transmitting terminal sends login request message to the receiving terminal, in the note Carried in volume request message for inquiring whether the receiving terminal supports the word of decompression ability Section;
Receive the receiving terminal feedback is used for the message that response possesses the decompression ability.
8. a kind of device for sending data, it is characterised in that including:
Acquisition module, first data to be sent for obtaining, and sent for characterizing Hold the running parameter of service behaviour;
Judge module, for being judged to compress after first data according to the running parameter Whether the total power consumption required for being transmitted again is less than directly transmit first data needed for The power consumption wanted;
Processing module, during for being in judged result, first data are pressed Retransmited after contracting.
9. device according to claim 8, it is characterised in that the work ginseng Number includes at least one of:Work electricity when signal intensity, signal to noise ratio, compressive state Stream, compressive state when operating voltage, radio-frequency transmissions data when operating current, radio frequency Launch data when operating voltage, idle condition when operating current, idle condition when Operating voltage.
10. device according to claim 8, it is characterised in that judge module is also Including:
Computing unit, for calculate power consumption W1 required for compression first data, Required for sending the power consumption W2 required for the second data and sending first data Power consumption W3, wherein, second data is after being compressed to first data Data;
Judging unit, for judging W1 plus W2's and whether being less than W3.
11. device according to claim 10, it is characterised in that the calculating Unit calculates W1, W2, W3 by below equation:
W1=((I2*V2)-(I0*V0))*T2
W2=((I1*V1)-(I0*V0))*T1*S1
W3=((I1*V1)-(I0*V0))*T1*S;
Wherein, I1For operating current of the transmitting terminal in radio-frequency transmissions data, V1 For operating voltage of the transmitting terminal in radio-frequency transmissions data, I0Exist for the transmitting terminal Operating current during idle condition, V0The work for being the transmitting terminal in idle condition electricity Stream, I2For operating current of the transmitting terminal in compressive state, V2For the transmitting terminal Operating current in compressive state, T1Required for transmitting terminal transmission unit data Time, T2The time required for first data is compressed for the transmitting terminal, S is The data volume of first data, S1For the data volume of second data.
CN201610261248.2A 2016-04-25 2016-04-25 Send the method and device of data Pending CN107306444A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201610261248.2A CN107306444A (en) 2016-04-25 2016-04-25 Send the method and device of data
PCT/CN2016/099740 WO2017185597A1 (en) 2016-04-25 2016-09-22 Data sending method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610261248.2A CN107306444A (en) 2016-04-25 2016-04-25 Send the method and device of data

Publications (1)

Publication Number Publication Date
CN107306444A true CN107306444A (en) 2017-10-31

Family

ID=60150261

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610261248.2A Pending CN107306444A (en) 2016-04-25 2016-04-25 Send the method and device of data

Country Status (2)

Country Link
CN (1) CN107306444A (en)
WO (1) WO2017185597A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117632826A (en) * 2022-08-15 2024-03-01 万有引力(宁波)电子科技有限公司 Data transmission method, device, system, equipment and storage medium

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111770530B (en) * 2019-04-01 2023-09-19 Oppo广东移动通信有限公司 Data transmission method and related equipment
CN112153755B (en) * 2019-06-27 2023-08-15 中国移动通信集团山东有限公司 Data transmission method, device and computer equipment

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039261A (en) * 2006-03-16 2007-09-19 华为技术有限公司 Method, system and apparatus for processing user terminal accessing network and loading establishing process
CN101197824A (en) * 2006-12-08 2008-06-11 华为技术有限公司 Method and system for confirming compression algorithm
CN101355554A (en) * 2008-08-12 2009-01-28 华为技术有限公司 Method and apparatus for negotiating data compression algorithm through Cx or Sh interface
CN101394425A (en) * 2008-11-06 2009-03-25 清华大学 Method and system for adaptively cluster dividing
CN101420740A (en) * 2008-12-05 2009-04-29 清华大学 Compression determination method for lowering power consumption of wireless sensor network
CN102131234A (en) * 2010-01-18 2011-07-20 华为技术有限公司 Method and device for compressing and uncompressing internet protocol (IP) data packet
US20110199948A1 (en) * 2010-02-12 2011-08-18 Ren Wang Minimizing power consumption in a network device
CN102638579A (en) * 2012-03-29 2012-08-15 深圳市高正软件有限公司 Data processing method and system based on data transmission of mobile equipment
CN102984753A (en) * 2011-09-05 2013-03-20 普天信息技术研究院有限公司 A method for improving the transmission efficiency of wireless communication data
CN103957582A (en) * 2014-05-17 2014-07-30 浙江大学宁波理工学院 Wireless sensor network self-adaptation compression method
CN104202124A (en) * 2014-09-12 2014-12-10 成都博智维讯信息技术有限公司 Erp (enterprise resource planning) data package communication method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101599986B (en) * 2008-06-02 2012-08-08 宏碁股份有限公司 Method for increasing transmission speed of files and computer system
CN103699587A (en) * 2013-12-06 2014-04-02 北京奇虎科技有限公司 Dynamic compression method and dynamic compression device for files

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101039261A (en) * 2006-03-16 2007-09-19 华为技术有限公司 Method, system and apparatus for processing user terminal accessing network and loading establishing process
CN101197824A (en) * 2006-12-08 2008-06-11 华为技术有限公司 Method and system for confirming compression algorithm
CN101355554A (en) * 2008-08-12 2009-01-28 华为技术有限公司 Method and apparatus for negotiating data compression algorithm through Cx or Sh interface
CN101394425A (en) * 2008-11-06 2009-03-25 清华大学 Method and system for adaptively cluster dividing
CN101420740A (en) * 2008-12-05 2009-04-29 清华大学 Compression determination method for lowering power consumption of wireless sensor network
CN102131234A (en) * 2010-01-18 2011-07-20 华为技术有限公司 Method and device for compressing and uncompressing internet protocol (IP) data packet
US20110199948A1 (en) * 2010-02-12 2011-08-18 Ren Wang Minimizing power consumption in a network device
CN102984753A (en) * 2011-09-05 2013-03-20 普天信息技术研究院有限公司 A method for improving the transmission efficiency of wireless communication data
CN102638579A (en) * 2012-03-29 2012-08-15 深圳市高正软件有限公司 Data processing method and system based on data transmission of mobile equipment
CN103957582A (en) * 2014-05-17 2014-07-30 浙江大学宁波理工学院 Wireless sensor network self-adaptation compression method
CN104202124A (en) * 2014-09-12 2014-12-10 成都博智维讯信息技术有限公司 Erp (enterprise resource planning) data package communication method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117632826A (en) * 2022-08-15 2024-03-01 万有引力(宁波)电子科技有限公司 Data transmission method, device, system, equipment and storage medium

Also Published As

Publication number Publication date
WO2017185597A1 (en) 2017-11-02

Similar Documents

Publication Publication Date Title
US11012323B2 (en) Feature parameter obtaining method and apparatus
EP1843530B1 (en) System for interworking between a wireless local area network and a 3GPP network
AU2003252560B2 (en) Bi-directional packet data transmission system and method
EP3678331B1 (en) Data analysis method and data analysis device
KR102067589B1 (en) Method and system for parallelizing packet processing in wireless communication
CN100353282C (en) Smart host power supply detection for PC card wireless modem
EP1507364A3 (en) Apparatus and method for establishing header compression context according to channel type change in packet data service
CN107306444A (en) Send the method and device of data
WO2004028042A1 (en) Providing multicast services in a point-to-multipoint manner for a radio communication system
CN107666467A (en) Resource allocation methods, equipment and system
CN114727343B (en) Multi-channel data transmission system
CN112333052A (en) WIFI function test method and system and electronic equipment
EP3125631A1 (en) Spatial stream determining method, base station and user equipment
KR101574255B1 (en) System and method for transmitting packet based wireless personal area network
CN105900468A (en) Data sending method, general service entity and underlying network entity
US11425757B2 (en) Data transmission method and device with low latency and low resource utilization
EP3506673A1 (en) Wireless communication method, terminal device and access network device
CN100561964C (en) The machinery of consultation of IP header-compressed in a kind of WLAN (wireless local area network)
CN109964535A (en) Data processing method and equipment
WO2023011006A1 (en) Communication method and apparatus, and device
CN113498073B (en) Packing method, related device and system
CN114342462B (en) Wireless communication method and device
WO2022141544A1 (en) Method and apparatus for transmitting model data
CN110290480B (en) Group calling method, communication device and storage medium
CN110505587B (en) Broadband trunking communication system group establishing method and device

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171031

RJ01 Rejection of invention patent application after publication