CN108512831A - Data compression method and device suitable for remote meter reading - Google Patents
Data compression method and device suitable for remote meter reading Download PDFInfo
- Publication number
- CN108512831A CN108512831A CN201810175544.XA CN201810175544A CN108512831A CN 108512831 A CN108512831 A CN 108512831A CN 201810175544 A CN201810175544 A CN 201810175544A CN 108512831 A CN108512831 A CN 108512831A
- Authority
- CN
- China
- Prior art keywords
- data
- maximum
- meter reading
- remote meter
- transformation parameter
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 40
- 238000013144 data compression Methods 0.000 title claims abstract description 27
- 230000009466 transformation Effects 0.000 claims abstract description 81
- 230000005540 biological transmission Effects 0.000 claims abstract description 44
- 238000013501 data transformation Methods 0.000 claims abstract description 29
- 238000005194 fractionation Methods 0.000 claims description 8
- 238000012795 verification Methods 0.000 claims description 8
- 238000012887 quadratic function Methods 0.000 claims description 7
- 238000012886 linear function Methods 0.000 claims description 6
- 210000004209 hair Anatomy 0.000 claims description 2
- 238000004891 communication Methods 0.000 abstract description 17
- 238000005265 energy consumption Methods 0.000 abstract 1
- 230000002035 prolonged effect Effects 0.000 abstract 1
- 230000006870 function Effects 0.000 description 17
- 238000010586 diagram Methods 0.000 description 6
- 230000007704 transition Effects 0.000 description 6
- 238000005516 engineering process Methods 0.000 description 5
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 4
- 238000007906 compression Methods 0.000 description 3
- 230000006835 compression Effects 0.000 description 3
- 230000003247 decreasing effect Effects 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000009471 action Effects 0.000 description 1
- 230000008901 benefit Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000001727 in vivo Methods 0.000 description 1
- 230000006698 induction Effects 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 230000007257 malfunction Effects 0.000 description 1
- 238000007726 management method Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000006855 networking Effects 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000001131 transforming effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/04—Protocols for data compression, e.g. ROHC
-
- G—PHYSICS
- G08—SIGNALLING
- G08C—TRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
- G08C19/00—Electric signal transmission systems
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Arrangements For Transmission Of Measured Signals (AREA)
Abstract
The invention provides a data compression method and a data compression device suitable for remote meter reading, wherein the method comprises the following steps: acquiring data of a meter, and determining the maximum one-bit data in the data; calculating transformation parameters based on the maximum one-bit data and a preset data transformation algorithm; and transmitting the transformation parameters and the maximum one-bit data as data for remote meter reading. The time for sending data can be reduced, the data transmission quantity between the remote meter reading device and the data communication device and between the data communication device and the server is reduced, the working time of the remote meter reading device and the data communication device is reduced, the electric energy consumption is saved, and the service time of the battery is prolonged. Meanwhile, the maximum one-bit data can be used as the check bit, so that the check bit in data transmission can be correspondingly reduced, the number of data bits needing to be transmitted is further reduced, and the system power consumption of the remote meter reading device and the data communication device can be further reduced.
Description
Technical field
The invention belongs to remote monitoring modules field more particularly to a kind of data compression method suitable for remote meter reading and
Device.
Background technology
For a long time, the civilian instrument in China, such as electric energy meter, heat energy meter are induction type machinery instrument, it has to take
The raw mode of manual metering obtains instrumented data, wherein the most prominent with electric energy meter.It is sent out with the high speed of Chinese national economy
Exhibition, the increasingly raising of living standards of the people, the continuous expansion of house complete set ratio and commercialization, resident is to house surrounding enviroment, object
The requirement of industry division management quality, public utilities service level etc. is higher and higher.Traditional artificial house lead in meter reading method with
The development of society is incompatible to seem increasingly apparent, and meter reading is registered one's residence difficulty, and door lock is more, and labor intensity is big, and efficiency is low, and social concern is multiple
Miscellaneous, the problems such as contradiction is big, all causes very big puzzlement on both side to user and public utilities service department.
In recent years, with the rapid development of information technology, coming into being by the New Type of Intelligent Instrument of representative of intelligent electric meter,
The acquisition of instrumented data is changed from the mode of manual metering to the meter reading method of automation, long-range simultaneously.Currently, long-range
Meter reading generally use meter bus (meter-bus, M-bus), low-power wireless networking and any wireless network services, such as:
GPRS, CDMA or based on cellular narrowband Internet of Things (Narrow Band Internet of Things, NB-IoT) etc..Usually
METER-BUS meter readings need external power supply to power, and instrument is installed in series together by wired mode.But this kind of mode
When mounted, it needs that electric wire additionally is installed, increases the workload of installation.And in cable malfunction, it is susceptible to multiple copy
The situation of meter apparatus exception.
Currently, battery of the configuration in the METER-BUS meter readings can be utilized to provide power supply for METER-BUS meter readings.
But the electricity that battery is provided is limited, needs to be replaced frequently battery, seriously affects the normal use of remote reading meter.
Invention content
In view of this, an embodiment of the present invention provides a kind of data compression method and apparatus suitable for remote meter reading, with
Realize the purpose for extending the usage time of battery in long-distance meter-reading system.
On the one hand, the present invention provides a kind of data compression methods suitable for remote meter reading, including:
The data of gauge table are obtained, and determine maximum a data in the data;
Transformation parameter is calculated based on the maximum a data and preset data transformation algorithms;
The transformation parameter and the maximum a data are transmitted as the data of remote meter reading.
Further, the preset data transformation algorithms include:
Linear function, quadratic function and/or idempotent function.
Further, described that transformation parameter, packet are calculated based on the maximum a data and preset data transformation algorithms
It includes:
It is repeatedly converted based on the maximum a data and preset data transformation algorithms, and calculates transformation parameter;
Correspondingly, described pass the transformation parameter with the maximum a data as the data of remote meter reading
It is defeated, including:
The transformation parameter, number of transitions and the maximum a data are transmitted as the data of remote meter reading.
Further, described to pass the transformation parameter as the data of remote meter reading with the maximum a data
It is defeated, including:
The binary data of the transformation parameter and the maximum a data is compressed;
Compressed transformation parameter and the maximum a data are transmitted.
Further, described to compress the transformation parameter with the binary data of the maximum a data, it wraps
It includes:
By continuous 0 or 1 boil down in the binary data of the transformation parameter and the maximum a data
Digit information.
Further, the method further includes:
It is big according to the frame data when the remote meter reading data are more than the frame data size of remote meter reading application layer
It is small to split the remote meter reading data, and it is sequentially written in multiple transmission units using the data after fractionation as physical contents
File;
It adds and identifies for the transmission unit file, the mark includes:Identity verification data and transmission unit text
The sequence serial number of part.
On the other hand, an embodiment of the present invention provides a kind of data compression devices suitable for remote meter reading, including:
Determination unit, the data for obtaining gauge table, and determine maximum a data in the data;
Computing unit, for calculating transformation parameter based on the maximum a data and preset data transformation algorithms;
Transmission unit, for passing the transformation parameter and the maximum a data as the data of remote meter reading
It is defeated.
Further, the computing unit is used for:
It is repeatedly converted based on the maximum a data and preset data transformation algorithms, and calculates transformation parameter;
Correspondingly, the transmission unit is used for:
The transformation parameter, transformation parameter and the maximum a data are transmitted as the data of remote meter reading.
Further, the transmission unit is used for:
The binary data of the transformation parameter and the maximum a data is compressed;
Compressed transformation parameter and the maximum a data are transmitted.
Further, described device further includes:
Split cells is used for when the remote meter reading data are more than the frame data size of remote meter reading application layer, according to
The frame data size splits the remote meter reading data, and using the data after fractionation as physical contents sequential write
Enter multiple transmission unit files;
Adding device, for being identified for transmission unit file addition, the mark includes:Identity verification data and institute
State the sequence serial number for sending unit file.
Compared with the existing technology, the data compression method and apparatus provided by the invention suitable for remote meter reading has following
Advantage:
Due to the adoption of the above technical scheme:
Data compression method and apparatus provided by the invention suitable for remote meter reading passes through preset data transformation algorithms
Long numeric data can be converted to the transformation parameter for the position that only occupies the minority and maximum a data, integrally reduce the number for needing to transmit
According to digit, accordingly, it is possible to reduce the time that data are sent reduces between remote reading meter and data communication equipment and counts
According to the volume of transmitted data between communication device and server, when reducing the work of remote reading meter and data communication equipment
It is long, power consumption is saved, extend battery uses duration.Simultaneously as maximum a data can make as check bit
With, the check bit in data transmission can be reduced accordingly, further reduced the data bits for needing to transmit, it can be further
Reduce the system power dissipation of remote reading meter and data communication equipment.
Description of the drawings
The attached drawing for constituting the part of the present invention is used to provide further understanding of the present invention, schematic reality of the invention
Example and its explanation are applied for explaining the present invention, is not constituted improper limitations of the present invention.In the accompanying drawings:
Fig. 1 is the flow diagram of the data compression method for the remote table that the embodiment of the present invention one provides;
Fig. 2 is the flow diagram of the data compression method of remote table provided by Embodiment 2 of the present invention;
Fig. 3 is the flow diagram of the data compression method for the remote table that the embodiment of the present invention three provides;
Fig. 4 is the structural schematic diagram of the data compression device for the remote table that the embodiment of the present invention four provides.
Specific implementation mode
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation describes, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Example is applied, shall fall within the protection scope of the present invention.
Embodiment one
Fig. 1 is the data compression method suitable for remote meter reading that the embodiment of the present invention one provides, and the above method can fit
It the case where for being compressed to the intermediate data that remote meter reading generates, can be by the data compression device suitable for remote meter reading
It executes, the software program in the microprocessor (MCU) which can be by being written remote meter reading is realized.
Referring to Fig. 1, the data compression method suitable for remote meter reading, including:
S110 obtains the data of gauge table, and determines maximum a data in the data.
Specifically, all including gauge table in the remote reading meter, the gauge table is for measuring the various index of discharge.
Specifically, the gauge table may include:Ammeter, water meter, gas meter, flow meter and calorimeter etc..The gauge table can be considered as a biography
Sensor, and the numerical value collected is input to by corresponding interface in MCU, MCU may be read into corresponding data.The number
According to may include a variety of data, such as:For a calorimeter, data therein may include:Performance number, flow speed value, water,
Any one in inflow temperature, leaving water temperature and return water temperature etc..
Specifically, gauge table is that the data are input in MCU by the form of low and high level, for wherein arbitrary
One data can then determine the maximum a data of numerical value in the data.Illustratively, the data are 10 system numbers
According to reading kilobit in the data, hundred, the data of ten and a respectively, and be compared to it, determine maximum one
Position data.Such as:The data are 1269, then the position of the data, hundred, the data of ten and a be respectively 1,2,6 and 9,
Maximum a data is 9.For there are more high-order data, then numerical value maximum still can be determined in the manner described above
A data.Why using maximum a data, the digit after transformation can be effectively reduced in subsequent conversion.And also
It can make server after by inverse transformation operation, determine the data of corresponding gauge table, and check the gauge table number of calculating
Whether whether according to including the maximum a data, and it is correct to verify the data received accordingly.
S120 calculates transformation parameter based on the maximum a data and preset data transformation algorithms.
Maximum a data can be determined according to above-mentioned steps, and can be according to preset data transformation algorithms, the maximum
The data of a data and gauge table convert the data of gauge table, obtain the less transformation parameter of digit.It is wherein described
Preset data transformation algorithms can be linear function, quadratic function and or power varying function.The preset data become exchange the letters
Number can be respectively stored in MCU and server end, so that server end can be according to the transformation parameter and maximum one received
Position data carry out reciprocal transformation, retrieve the data of the gauge table.Specifically, the data transformation algorithms can be according to it
Purposes and common digit determine.It is usually most to use linear transformation function, it can effectively realize the data progress to gauge table
Compression, while opposite calculating is simple, without expending a large amount of computing resources of MCU, can save the power consumption of MCU.And pass through profit
In fashion described above, the effect that data are encrypted is can also be achieved, the safety of data transmission is improved.
Illustratively, the preset data transformation algorithms can be linear transformation function, quadratic transformation function and/or power
Equal functions, the linear transformation function are y=ax ± b, and the quadratic transformation function is y=ax^2 ± b, and idempotent function is y=
Wherein, y is the data of gauge table to x^a+x^b+c, and x is maximum a data, and c is less than or equal to 9, linear transformation function is then needed
It is repeatedly converted, to realize the purpose of compression.Illustratively, the y is 1269, and number of transitions can be redefined for 9,
Maximum number of digits is also 9, correspondingly, it is 6 or -3 that a, which is 17, b, it is contemplated that negative needs to increase flag, and therefore, parameter a is
17, b 6, number of transitions is default, can not have to write-in, therefore, can be transmitted 4 data boil down tos 3, if
It, then can further compressed bits using quadratic function or idempotent function.For non-the case where appointing number of transitions, then may be used
To calculate number of transitions.
The transformation parameter and the maximum a data are transmitted by step 130 as the data of remote meter reading.
The transformation parameter and the maximum a data that the above method is calculated are passed through as the data of remote meter reading
NB-IOT modes are sent to server, and NB-IoT is the emerging technology in one, the fields IoT, support low power consuming devices in wide area network
Cellular data connects, also referred to as low-power consumption wide area network (LPWAN).NB-IoT supports stand-by time length, to network connectivity requirements
The efficient connection of higher device.The system power dissipation of remote meter reading can be further decreased.Server is according to preset data
Become scaling method, corresponding remote meter reading data are calculated.
Furthermore, it is possible to suitable data transformation algorithms are selected according to the number of significant digit of meter data, such as:For 4
Within meter data, then linear function can be selected as preset data transformation algorithms, if it is 4-6 gauge tables
Data can then select quadratic function as preset data transformation algorithms, if it is 6 be more than meter data, can
To select idempotent function as preset data transformation algorithms.Wherein, the digit of the meter data can be removal decimal
The digit of total data after point, such as:Data table data is 46.78, then its digit should be 4.And it can be by corresponding data
The mark of transforming function transformation function and the transformation parameter and the maximum a data are transmitted as the data of remote meter reading together.
Such as:The flag bit of linear function is 1, and the flag of quadratic function is 2, and the flag of idempotent function is 3 etc..
When there is progress and repeatedly convert and transformation parameter does not carry out about timing in advance, then can will join the transformation
Number, number of transitions and the maximum a data are transmitted as the data of remote meter reading together.
The transformation that long numeric data can be converted to the position that only occupies the minority by preset data transformation algorithms by the present embodiment is joined
Number and maximum a data, integrally reduce the data bits for needing to transmit, accordingly, it is possible to reduce the time that data are sent, drop
Low volume of transmitted data between remote reading meter and data communication equipment and between data communication equipment and server, subtracts
The operating time for having lacked remote reading meter and data communication equipment, saves power consumption, and extend battery uses duration.
Simultaneously as maximum a data can be used as check bit, the check bit in data transmission can be reduced accordingly, into one
Step reduces the data bits for needing to transmit, and can further decrease the system work(of remote reading meter and data communication equipment
Consumption.
Embodiment two
Fig. 2 is the flow diagram of the data compression method provided by Embodiment 2 of the present invention suitable for remote meter reading, this
The data compression method suitable for remote meter reading that embodiment provides, based on method described above, by the transformation parameter with
The maximum a data is transmitted as the data of remote meter reading, is specifically optimized for:By the transformation parameter and it is described most
The binary data of big a data is compressed;Compressed transformation parameter and the maximum a data are transmitted.
Referring to Fig. 2, the data compression method suitable for remote meter reading, including:
S210 obtains the data of gauge table, and determines maximum a data in the data.
S220 calculates transformation parameter based on the maximum a data and preset data transformation algorithms.
S230 compresses the binary data of the transformation parameter and the maximum a data.
Illustratively, described to compress the transformation parameter with the binary data of the maximum a data, it can
To include:By continuous 0 or 1 boil down to position in the binary data of the transformation parameter and the maximum a data
Number information.
When being carried out data transmission by mobile network, the data of transmission are usually binary data.A usual word
Section includes 8, and each decimal data generally takes up a byte, between being in 0-9 due to data, wherein necessarily distribution is big
Continuous 0 or 1 data are measured, it therefore, can be further to be compressed to the two-stage system data for this characteristic.Show
Example property, for transformation parameter or maximum data 4, binary number data correspond to 00000100, then correspondingly, then connecting
It is 50 to continue, then can by described first 5 by flag bit 0, the flag for identifying front n-bit data be all 0 or
1, and corresponding data bit is written after flag bit, such as:Corresponding 4, then its data bit is 5.Can have through the above way
Effect reduces the data content of eight bit data, is further further compressed to the data of the gauge table.
S240, compressed transformation parameter and the maximum a data are transmitted.
It is transmitted using compressed data, it is possible to reduce data bits can further decrease remote reading meter
With the system power dissipation of data communication equipment.
The present embodiment is passed by the data for regarding the transformation parameter and the maximum a data as remote meter reading
It is defeated, specifically it is optimized for:The binary data of the transformation parameter and the maximum a data is compressed;It will be compressed
Transformation parameter and the maximum a data are transmitted.It can further be pressed with the data of gauge table described further
Contracting.Data bits can be reduced, the system power dissipation of remote reading meter and data communication equipment can be further decreased.
Embodiment three
Fig. 3 is the flow diagram for the data compression method suitable for remote meter reading that the embodiment of the present invention three provides, this
The data compression method suitable for remote meter reading that embodiment provides, based on method described above, the method may also include:
It, will be described according to the frame data size when the remote meter reading data are more than the frame data size of remote meter reading application layer
Remote meter reading data are split, and are sequentially written in multiple transmission unit files using the data after fractionation as physical contents;For
The transmission unit file addition mark, the mark include:Identity verification data and the sequence sequence for sending unit file
Number.
Referring to Fig. 3, the data compression method suitable for remote meter reading, including:
S310 obtains the data of gauge table, and determines maximum a data in the data.
S320 calculates transformation parameter based on the maximum a data and preset data transformation algorithms.
S330, when the remote meter reading data are more than the frame data size of remote meter reading application layer, according to the frame
Size of data splits the remote meter reading data, and is sequentially written in multiple hairs using the data after fractionation as physical contents
Send unit file.
It, can be big by the frame data for being more than remote meter reading application layer in the remote meter reading data in order to avoid error of transmission
Hour, the remote meter reading data are split according to frame data size as defined in application layer.It can be by remote meter reading data
It is split according to preset frame data size.The transmission unit file size is determined according to frame data size.Due to sending
The identification information that some are written for supporting paper content is also needed in unit file, and the specific size of identification information can be pre-
It first provides, such as reserved n are used to that identification information to be written.Therefore, transmission unit is used as after frame data being removed to reserved place
The size of physical contents in file.
S340, for transmission unit file addition mark, the mark includes:Identity verification data and the transmission are single
The sequence serial number of position file.
As described above, it includes mark content, the letter for illustrating to send unit file also to be needed in the transmission unit file
Breath.In the present embodiment, the mark content may include:For illustrating that this document is the identity verification number of remote meter reading data
According to.The verify data can be preset, so that server can determine that the transmission unit file is remote according to the signature
Journey meter reading data file.
The transmission unit file is transmitted by S350 as the data of remote meter reading.
The present embodiment is by increasing following steps:It is more than the frame data of remote meter reading application layer in the remote meter reading data
When size, the remote meter reading data are split according to the frame data size, and using the data after fractionation as real
Hold in vivo and is sequentially written in multiple transmission unit files;It adds and identifies for the transmission unit file, the mark includes:Mark is tested
Demonstrate,prove data and the sequence serial number for sending unit file.The stability and reliability that data transmission can be promoted, avoid due to
It is transmitted several times caused by error of transmission, can realize the purpose for further decreasing the remote reading meter power consumption.
Example IV
Fig. 4 is the data compression device suitable for remote meter reading that the embodiment of the present invention four provides, and described device includes:
Determination unit 410, the data for obtaining gauge table, and determine maximum a data in the data;
Computing unit 420, for calculating transformation parameter based on the maximum a data and preset data transformation algorithms;
Transmission unit 430, for using the transformation parameter and the maximum a data as the data of remote meter reading into
Row transmission.
Data compression device provided in this embodiment for remote meter reading can be incited somebody to action by preset data transformation algorithms
Long numeric data is converted to the transformation parameter for the position that only occupies the minority and maximum a data, integrally reduces the data bit for needing to transmit
Number, accordingly, it is possible to reduce the time that data are sent reduces between remote reading meter and data communication equipment and data is logical
Volume of transmitted data between T unit and server reduces the operating time of remote reading meter and data communication equipment, section
Power saving can consume, and extend battery uses duration.Simultaneously as maximum a data can be used as check bit, phase
That answers can reduce the check bit in data transmission, further reduced the data bits for needing to transmit, can further decrease
The system power dissipation of remote reading meter and data communication equipment.
Further, the computing unit is used for:
It is repeatedly converted based on the maximum a data and preset data transformation algorithms, and calculates transformation parameter;
Correspondingly, the transmission unit is used for:
The transformation parameter, transformation parameter and the maximum a data are transmitted as the data of remote meter reading.
Further, the preset data transformation algorithms include:
Linear function, quadratic function and or power varying function.
Further, the transmission unit includes:
Subelement is compressed, for compressing the binary data of the transformation parameter and the maximum a data;
Transmission subelement, for compressed transformation parameter and the maximum a data to be transmitted.
Further, the compression subelement is used for the binary number of the transformation parameter and the maximum a data
Continuous 0 in or 1 boil down to digit information.
Further, described device further includes:
Split cells is used for when the remote meter reading data are more than the frame data size of remote meter reading application layer, according to
The frame data size splits the remote meter reading data, and using the data after fractionation as physical contents sequential write
Enter multiple transmission unit files;
Adding device, for being identified for transmission unit file addition, the mark includes:Identity verification data and institute
State the sequence serial number for sending unit file.
It should be noted that the concrete function of above-mentioned each unit is realized, it is described in detail in embodiment of the method, this reality
Example is applied to repeat no more.
One of ordinary skill in the art will appreciate that:Realize that all or part of step of above-mentioned each method embodiment can lead to
The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer read/write memory medium.The journey
When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned includes:ROM, RAM, magnetic disc or
The various media that can store program code such as person's CD.
Finally it should be noted that:The above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent
Present invention has been described in detail with reference to the aforementioned embodiments for pipe, it will be understood by those of ordinary skill in the art that:Its according to
So can with technical scheme described in the above embodiments is modified, either to which part or all technical features into
Row equivalent replacement;And these modifications or replacements, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution
The range of scheme.
Claims (10)
1. a kind of data compression method suitable for remote meter reading, which is characterized in that including:
The data of gauge table are obtained, and determine maximum a data in the data;
Transformation parameter is calculated based on the maximum a data and preset data transformation algorithms;
The transformation parameter and the maximum a data are transmitted as the data of remote meter reading.
2. according to the method described in claim 1, it is characterized in that:The preset data transformation algorithms include:
Linear function, quadratic function and or power varying function.
3. according to the method described in claim 1, it is characterized in that, described based on the maximum a data and preset data
Become scaling method and calculates transformation parameter, including:
It is repeatedly converted based on the maximum a data and preset data transformation algorithms, and calculates transformation parameter;
Correspondingly, described be transmitted the transformation parameter with the maximum a data as the data of remote meter reading, wrap
It includes:
The transformation parameter, transformation parameter and the maximum a data are transmitted as the data of remote meter reading.
4. according to the method described in claim 1, it is characterized in that, described by the transformation parameter and the maximum a data
Data as remote meter reading are transmitted, including:
The binary data of the transformation parameter and the maximum a data is compressed;
Compressed transformation parameter and the maximum a data are transmitted.
5. according to the method described in claim 4, it is characterized in that, described by the transformation parameter and the maximum a data
Binary data compressed, including:
By continuous 0 or 1 boil down to digit in the binary data of the transformation parameter and the maximum a data
Information.
6. according to any methods of claim 1-5, which is characterized in that the method further includes:
It, will according to the frame data size when the remote meter reading data are more than the frame data size of remote meter reading application layer
The remote meter reading data are split, and are sequentially written in multiple transmission unit texts using the data after fractionation as physical contents
Part;
It adds and identifies for the transmission unit file, the mark includes:Identity verification data and described send unit file
Sequence serial number.
7. a kind of data compression device suitable for remote meter reading, which is characterized in that including:
Determination unit, the data for obtaining gauge table, and determine maximum a data in the data;
Computing unit, for calculating transformation parameter based on the maximum a data and preset data transformation algorithms;
Transmission unit, for the transformation parameter and the maximum a data to be transmitted as the data of remote meter reading.
8. device according to claim 7, which is characterized in that the computing unit is used for:
It is repeatedly converted based on the maximum a data and preset data transformation algorithms, and calculates transformation parameter;
Correspondingly, the transmission unit is used for:
The transformation parameter, transformation parameter and the maximum a data are transmitted as the data of remote meter reading.
9. device according to claim 7, the transmission unit is used for:
The binary data of the transformation parameter and the maximum a data is compressed;
Compressed transformation parameter and the maximum a data are transmitted.
10. device according to claim 7, which is characterized in that described device further includes:
Split cells is used for when the remote meter reading data are more than the frame data size of remote meter reading application layer, according to described
Frame data size the remote meter reading data are split, and be sequentially written in using the data after fractionation as physical contents more
A transmission unit file;
Adding device, for being identified for transmission unit file addition, the mark includes:Identity verification data and the hair
Send the sequence serial number of unit file.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810175544.XA CN108512831A (en) | 2018-03-02 | 2018-03-02 | Data compression method and device suitable for remote meter reading |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810175544.XA CN108512831A (en) | 2018-03-02 | 2018-03-02 | Data compression method and device suitable for remote meter reading |
Publications (1)
Publication Number | Publication Date |
---|---|
CN108512831A true CN108512831A (en) | 2018-09-07 |
Family
ID=63377004
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810175544.XA Pending CN108512831A (en) | 2018-03-02 | 2018-03-02 | Data compression method and device suitable for remote meter reading |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108512831A (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10206407A1 (en) * | 2002-02-15 | 2003-08-28 | Christian Remfert | Method for (de)compression of data, such as 256th data banks with dual data coding and binary data bank formation |
CN101420740A (en) * | 2008-12-05 | 2009-04-29 | 清华大学 | Compression determination method for lowering power consumption of wireless sensor network |
CN102314697A (en) * | 2011-07-20 | 2012-01-11 | 张行清 | Data type-based numeric data compression and decompression method |
CN102638579A (en) * | 2012-03-29 | 2012-08-15 | 深圳市高正软件有限公司 | Data processing method and system based on data transmission of mobile equipment |
CN105556849A (en) * | 2013-07-05 | 2016-05-04 | 萨热姆通讯能源电信简易股份有限公司 | Method of making compressed data available by an electrical meter |
CN106093838A (en) * | 2016-07-25 | 2016-11-09 | 中国南方电网有限责任公司电网技术研究中心 | Gateway electric energy meter remote online verification method and system |
CN106534152A (en) * | 2016-11-30 | 2017-03-22 | 安徽佳通乘用子午线轮胎有限公司 | Remote data transmission method based on data compression and encryption |
CN106961489A (en) * | 2017-04-27 | 2017-07-18 | 国网江苏省电力公司常州供电公司 | Multiple-energy-source information acquisition control system |
CN107592636A (en) * | 2017-08-17 | 2018-01-16 | 深圳市诚壹科技有限公司 | A kind of method of processing information, terminal and server |
-
2018
- 2018-03-02 CN CN201810175544.XA patent/CN108512831A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
DE10206407A1 (en) * | 2002-02-15 | 2003-08-28 | Christian Remfert | Method for (de)compression of data, such as 256th data banks with dual data coding and binary data bank formation |
CN101420740A (en) * | 2008-12-05 | 2009-04-29 | 清华大学 | Compression determination method for lowering power consumption of wireless sensor network |
CN102314697A (en) * | 2011-07-20 | 2012-01-11 | 张行清 | Data type-based numeric data compression and decompression method |
CN102638579A (en) * | 2012-03-29 | 2012-08-15 | 深圳市高正软件有限公司 | Data processing method and system based on data transmission of mobile equipment |
CN105556849A (en) * | 2013-07-05 | 2016-05-04 | 萨热姆通讯能源电信简易股份有限公司 | Method of making compressed data available by an electrical meter |
CN106093838A (en) * | 2016-07-25 | 2016-11-09 | 中国南方电网有限责任公司电网技术研究中心 | Gateway electric energy meter remote online verification method and system |
CN106534152A (en) * | 2016-11-30 | 2017-03-22 | 安徽佳通乘用子午线轮胎有限公司 | Remote data transmission method based on data compression and encryption |
CN106961489A (en) * | 2017-04-27 | 2017-07-18 | 国网江苏省电力公司常州供电公司 | Multiple-energy-source information acquisition control system |
CN107592636A (en) * | 2017-08-17 | 2018-01-16 | 深圳市诚壹科技有限公司 | A kind of method of processing information, terminal and server |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021091489A1 (en) | Method and apparatus for storing time series data, and server and storage medium thereof | |
CN107240247A (en) | A kind of ammeter data acquisition system based on NB IoT | |
CN201955886U (en) | Agricultural environment information collection system based on wireless sensor network | |
CN204649816U (en) | A kind of intelligent electric meter | |
CN102945594A (en) | Meter-bus data collector with ultra-low power loss | |
CN101963532A (en) | Method for monitoring stress distribution of key elements of girders | |
CN107367594B (en) | Remote water quality monitoring system based on GPRS and SMS | |
CN102929244B (en) | A kind of community energy management system and management method | |
CN205384728U (en) | Intelligence concentrator data acquisition device | |
CN201600208U (en) | Stress strain remote monitoring instrument | |
CN203288046U (en) | Household combustion gas leakage monitoring system based on wireless communication and GSM mobile communication | |
CN110636107A (en) | Power grid data interaction system based on 5g communication and interaction method thereof | |
CN202120438U (en) | Intelligent centralized meter reading terminal | |
CN212009322U (en) | Intelligent power utilization management system based on ubiquitous Internet of things | |
CN108512831A (en) | Data compression method and device suitable for remote meter reading | |
CN204924523U (en) | Air compressor machine energy consumption evaluation system | |
CN203811206U (en) | Enterprise carbon discharge metering and analysis device | |
CN106295903A (en) | The efficiency Forecasting Methodology of WSN data Lossy Compression Algorithm based on linear fit | |
CN202976445U (en) | Counter bus data collector with ultralow power consumption | |
CN205450680U (en) | Marsh gas monitoring system based on ARM9 | |
CN213904530U (en) | Digital meter reading communication system | |
CN201464583U (en) | Power quality on-line monitoring system based on transparent forwarding technology | |
CN204559893U (en) | Wireless communication device, table meter inquiry unit and table meter inquiry system | |
CN204391747U (en) | A kind of interactive Clean-electric system | |
CN106154032A (en) | A kind of Bidirectional intelligent ammeter electric energy gauging method based on power factor |
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: 20180907 |
|
RJ01 | Rejection of invention patent application after publication |