CN105163294A - Cell broadcast message based channel compressing and decompressing method and device - Google Patents

Cell broadcast message based channel compressing and decompressing method and device Download PDF

Info

Publication number
CN105163294A
CN105163294A CN201510471218.XA CN201510471218A CN105163294A CN 105163294 A CN105163294 A CN 105163294A CN 201510471218 A CN201510471218 A CN 201510471218A CN 105163294 A CN105163294 A CN 105163294A
Authority
CN
China
Prior art keywords
short message
channel
parameter
parent
message channel
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201510471218.XA
Other languages
Chinese (zh)
Other versions
CN105163294B (en
Inventor
李刚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Hengbao Co Ltd
Original Assignee
Hengbao Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Hengbao Co Ltd filed Critical Hengbao Co Ltd
Priority to CN201510471218.XA priority Critical patent/CN105163294B/en
Publication of CN105163294A publication Critical patent/CN105163294A/en
Application granted granted Critical
Publication of CN105163294B publication Critical patent/CN105163294B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • H04W4/14Short messaging services, e.g. short message services [SMS] or unstructured supplementary service data [USSD]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information

Abstract

The invention discloses a cell broadcast message based channel compressing and decompressing method and device. The method includes a message channel compressing part and a message channel decompressing part. A message sending party compresses a plurality of legal message channel numbers according to a specific algorithm and then embeds the numbers into message data, and sends the message data to a message receiving party. The message receiving party analyzes the message data after receiving the message data and calculates the original legal message channel numbers through inverse operation. According to the invention, a plurality of message channel parameters can be compressed to comparatively short data information, so that message transmission efficiency is improved.

Description

A kind of channel compressions based on Cell Broadcast CB note and decompression method and device thereof
Technical field
The present invention relates to communication technical field, be specifically related to a kind of channel compressions based on Cell Broadcast CB note and decompression method and device thereof.
Background technology
Passage is a parameter in Cell Broadcast CB note, is generally used for the filter operation of note.After the transmit leg of note and recipient arrange legal short message channel, recipient receives only the note of legal passage, and other notes will be abandoned.
Channel parameters in current broadcast note generally can directly be included in the message data of note, if the number of passage is more, then the data length of note can be longer, even needs to send data by the mode of cascade note, affects the transmitting-receiving efficiency of note.
Summary of the invention
Technical problem to be solved by this invention is to provide a kind of channel compressions based on Cell Broadcast CB note and decompression method and device thereof, multiple channel parameters Information Compression can be made to be shorter data, improve the efficiency of SMS message transmission.
The invention provides following scheme:
On the one hand, the invention provides a kind of channel compressions method based on Cell Broadcast CB note, described method comprises:
S1a, short message sending side determine at least one legal short message channel number, and determine that the compression algorithm of making an appointment with short message receiver identifies;
S2a, according to the described legal short message channel number determined, calculate parent channel index value, and the first character that described compression algorithm mark and described parent channel index value merge into note data is saved;
The number of the described parent channel index value determination parent channel parameter that S3a, basis calculate, and according to described legal short message channel number, calculate each parent channel parameter;
S4a, according to each parent channel parameter described, determine the number of subchannel parameter, and according to described legal short message channel number, calculate each subchannel parameter;
S5a, described first character joint, each the parent channel parameter arranged in order and each subchannel parameter of arranging in order to be merged successively, the note data after finally being compressed;
S6a, by compression after note data send to short message receiver.
On the other hand, the invention provides a kind of passage decompression method based on Cell Broadcast CB note, described method comprises:
S1b, short message receiver receive the note data after the compression of short message sending side's transmission;
S2b, resolve described compression after note data obtain compression algorithm mark, and judge to resolve the compression algorithm that obtains and identify and whether unanimously identify with the compression algorithm of making an appointment, if unanimously, retain this note data, if inconsistent, then abandon this note data;
S3b, the parent channel index value of resolving in note data, according to the number of parent channel index value determination parent channel parameter;
S4b, number according to parent channel parameter, extract corresponding parent channel parameter successively, and according to each parent channel parameter, determine the number of subchannel parameter from note data;
S5b, number according to subchannel parameter, extract corresponding subchannel parameter successively from note data;
S6b, according to described parent channel parameter and described subchannel parameter, calculate legal short message channel number.
Another aspect, the invention provides a kind of channel compressions device based on Cell Broadcast CB note, described device comprises:
Determination module, for determining at least one legal short message channel number, and determines that the compression algorithm of making an appointment with short message receiver identifies;
First computing module, for according to the described legal short message channel number determined, calculates parent channel index value;
Second computing module, for the number according to the described parent channel index value determination parent channel parameter calculated, and according to described legal short message channel number, calculates each parent channel parameter;
3rd computing module, for according to each parent channel parameter described, determines the number of subchannel parameter, and according to described legal short message channel number, calculates each subchannel parameter;
Merge module, save for the first character that described compression algorithm mark and described parent channel index value are merged into note data; Also merge successively for each the parent channel parameter described first character being saved, arranges in order and each the subchannel parameter arranged in order, the note data after finally being compressed;
Sending module, for sending to short message receiver by the note data after compression.
Again on the one hand, the invention provides a kind of passage decompressing device based on Cell Broadcast CB note, described device comprises:
Receiver module, for receive short message sending side send compression after note data;
Judge module, obtains compression algorithm mark for the note data after resolving described compression, and judges whether consistent resolve the compression algorithm mark obtained identifies with the compression algorithm of making an appointment, if consistent, retain this note data, if inconsistent, then abandon this note data;
Parent channel parameter extraction module, for resolving the parent channel index value in note data, according to the number of parent channel index value determination parent channel parameter, and according to the number of parent channel parameter, extracts corresponding parent channel parameter successively from note data;
Subchannel parameter extraction module, for according to each parent channel parameter, determines the number of subchannel parameter, and according to the number of subchannel parameter, extracts corresponding subchannel parameter successively from note data;
4th computing module, for according to described father's index value, described parent channel parameter and described subchannel parameter, calculates legal short message channel number.
A kind of channel compressions based on Cell Broadcast CB note provided by the invention and decompression method and device thereof, comprise short message channel compression section and short message channel decompression part, multiple legal short message channel number carries out compressing in rear embedding note data according to certain algorithm by short message sending side, and note data is sent to short message receiver, after short message receiver receives note data, note data is resolved, original legal short message channel number is calculated through inverse operation, the length of note data is shortened after multiple short message channel number is compressed, improve the efficiency of transmission of note data, compression algorithm is used to also improve the fail safe of note data transmission.
Accompanying drawing explanation
Fig. 1 is a kind of channel compressions method flow diagram based on Cell Broadcast CB note of the embodiment of the present invention one;
Fig. 2 is a kind of passage decompression method flow chart based on Cell Broadcast CB note of the embodiment of the present invention two;
Fig. 3 is a kind of channel compressions device schematic diagram based on Cell Broadcast CB note of the embodiment of the present invention three;
Fig. 4 is a kind of passage decompressing device schematic diagram based on Cell Broadcast CB note of the embodiment of the present invention four.
Embodiment
Be described principle of the present invention and feature below in conjunction with accompanying drawing, example, only for explaining the present invention, is not intended to limit scope of the present invention.
Embodiment one, a kind of channel compressions method based on Cell Broadcast CB note.Below in conjunction with Fig. 1, the channel compressions method that the present embodiment provides is described in detail.
See Fig. 1, the channel compressions method that the present embodiment provides comprises:
S1a, short message sending side determine at least one legal short message channel number, and determine that the compression algorithm of making an appointment with short message receiver identifies.
S2a, according to the described legal short message channel number determined, calculate parent channel index value, and the first character that described compression algorithm mark and described parent channel index value merge into note data is saved.
Concrete, short message channel is a parameter in Cell Broadcast CB note, is generally used for the filter operation of note.After short message sending side and short message receiver arrange legal short message channel, short message receiver receives only the note of legal passage, and other notes will be abandoned.Therefore, first short message sending side can determine at least one legal short message channel number of arranging with short message receiver, and determines that the compression algorithm of making an appointment with short message receiver identifies.
After determining legal short message channel number, according to the legal short message channel number determined, calculate parent channel index value.Be specially: represent parent channel index value by the low tetrad of a byte; 256 short message channel numbers are divided into four short message channel sections successively, the tetrad of corresponding parent channel index value, according to described legal short message channel number, judge the number of the legal short message channel number of each short message channel section correspondence, if the number of the legal short message channel number of short message channel section correspondence is 0, then by the position 0 of correspondence, otherwise, by the position 1 of correspondence, obtain the parent channel index value of tetrad form.
After calculating parent channel index value, parent channel index value and compression algorithm are identified the first character merging into note data save, be specially: using the high tetrad of compression algorithm mark as first character joint, using the low tetrad that parent channel index value saves as first character.
The number of the described parent channel index value determination parent channel parameter that S3a, basis calculate, and according to described legal short message channel number, calculate each parent channel parameter.
Concrete, in parent channel index value tetrad, the number of 1 is the number of parent channel parameter, and each parent channel parameter is 8 binary bytes, and short message channel section described in each is divided into 8 short message channel sections by correspondence successively.According to described legal short message channel number, judge the number of the legal short message channel number of each short message channel section correspondence, if the number of the legal short message channel number of short message channel section correspondence is 0, then by the position 0 of correspondence, otherwise, by the position 1 of correspondence, obtain the parent channel parameter of 8 binary forms.
S4a, according to each parent channel parameter described, determine the number of subchannel parameter, and according to described legal short message channel number, calculate each subchannel parameter.
Concrete, be that the number sum of 1 is the number of subchannel parameter in each parent channel parameter 8 binary systems, each subchannel parameter is 8 binary bytes, corresponding described short message channel section is divided into 8 short message channel numbers.According to described legal short message channel number, judge the figure place of the corresponding subchannel parameter of described legal short message channel number, and by this correspondence position 1, other position 0, obtains the subchannel parameter that short message channel number legal in each is corresponding.
S5a, described first character joint, each the parent channel parameter arranged in order and each subchannel parameter of arranging in order to be merged successively, the note data after finally being compressed.
S6a, by compression after note data send to short message receiver.
Concrete, first character is saved (i.e. the byte of parent channel index value and compression algorithm mark composition), the parent channel parameter calculated successively according to the order of legal short message channel number and the subchannel parameter calculated in order merge successively, the note data after finally being compressed.Note data after compression is sent to short message receiver by short message sending side.
With a concrete example, the detailed process that short message channel is compressed is described below: suppose that one group of short message channel number that short message sending side will send is for 18,147,154,192,202,209, the compression algorithm that short message sending side and short message receiver are arranged is designated 1000.
The first step: determine parent channel index value.Represent parent channel index value by the low tetrad of a byte, 256 short message channel numbers are divided into four short message channel sections successively, as shown in table 1 below.
Table 1
B1 B2 B3 B4
0-63 64-127 128-191 192-255
Be 18 according to aforesaid legal short message channel number, 147,154,192,202,209, divide according to scope: have in 0-63 short message channel section in legal passage number 18, a 64-127 short message channel section and there is no legal passage number, two legal passage numbers are had: 147 in 128-191 short message channel section, 154,192-255 short message channel Duan Yousan legal passage number: 192,202,209, therefore bit B1, B3 and B4 position of parent channel index value is 1, and namely parent channel index value is binary one 011, i.e. hexadecimal B.And compression algorithm mark 1000 is hexadecimal 8, compression algorithm mark is merged into hexadecimal 8B with parent channel index value.
Second step: according to parent channel index value, determines the number of parent channel parameter, and according to legal short message channel number, determines each parent channel parameter.As above, parent channel index value is binary one 011, bit exists three 1, then has three parent channel parameters.Each parent channel parameter occupies 8 bits, an i.e. byte, the short message channel section of correspondence is divided into successively 8 short message channel sections, such as, the short message channel section of last 1 correspondence in parent channel index value 1011 is 192-255, corresponding 3rd parent channel parameter, short message channel section 192-255 is divided into 8 short message channel sections by 8 bits of parent channel parameter successively, as shown in table 2 below.
Table 2
B1 B2 B3 B4 B5 B6 B7 B8
192-199 200-207 208-215 216-223 224-231 231-239 240-247 248-255
Wherein, legal short message channel number 192,202,209 belong to this short message channel section of 192-255, and 192 belong to this short message channel section of 192-199,202 belong to this short message channel section of 200-207,209 belong to this short message channel section of 208-215, and therefore corresponding bit B1, B2 and B3 position is 1, and other position is 0, namely corresponding parent channel parameter is binary one 1100000, i.e. hexadecimal E0.According to same algorithm, calculating two other parent channel parameter is 20 and 30.
3rd step: according to parent channel parameter, determines the number of subchannel parameter, and according to legal short message channel number, calculates each subchannel parameter.Each subchannel parameter occupies 8 bits, i.e. a byte, respectively a corresponding short message channel number.Such as, the short message channel number that short message channel section 208-215 is corresponding is as shown in table 3 below.
Table 3
B1 B2 B3 B4 B5 B6 B7 B8
208 209 210 211 212 213 214 215
A legal short message channel number 209 is there is among short message channel section 208-215, the second of corresponding subchannel parameter, then this subchannel parameter is Binary Zero 1000000, i.e. hexadecimal 40, calculating other all subchannel parameter according to same method is 2010208010, so far, the data after compression are 8B2030E0201020801040, and these data are sent to short message receiver.
Embodiment two, a kind of passage decompression method based on Cell Broadcast CB note.Below in conjunction with Fig. 2, the passage decompression method that the present embodiment provides is described in detail.
See Fig. 2, the short message channel decompression part that the present embodiment provides comprises:
S1b, short message receiver receive the note data after the compression of short message sending side's transmission.
S2b, resolve described compression after note data obtain compression algorithm mark, and judge resolve obtain compression algorithm mark whether unanimously identify with the compression algorithm of making an appointment, if unanimously, retain this note data, execution S3b; If inconsistent, then abandon this note data, process ends.
Concrete, see Fig. 2, short message receiver receives the data SMS after the compression of short message sending side's transmission, and therefrom parses compression algorithm mark, the compression algorithm parsed mark is identified with the compression algorithm of making an appointment and contrasts, judge whether consistent, if unanimously, then retain this note data, perform follow-up step S3b, if inconsistent, then this note data is abandoned to filter, and terminate whole flow process.
S3b, the parent channel index value of resolving in note data, according to the number of parent channel index value determination parent channel parameter.
S4b, number according to parent channel parameter, extract corresponding parent channel parameter successively, and according to each parent channel parameter, determine the number of subchannel parameter from note data.
S5b, number according to subchannel parameter, extract corresponding subchannel parameter successively from note data.
Concrete, in 4 binary systems of parent channel index value, the number of 1 is the number of parent channel parameter.According to the number of parent channel parameter, from note data, second byte, extract the parent channel parameter of respective amount successively.In 8 binary systems of each parent channel parameter, the number sum of 1 is the number of subchannel parameter.After extracting parent channel parameter, according to the number of subchannel parameter, extract the subchannel parameter of respective amount successively.
S6b, according to described parent channel parameter and described subchannel parameter, calculate legal short message channel number.
Concrete, according in described parent channel index value 4 binary systems 1 position, determine corresponding short message channel section; According in described parent channel parameter 8 binary systems 1 position, to determine in the short message channel section of correspondence corresponding short message channel section; According in described subchannel parameter 8 binary systems 1 position, to determine in the short message channel section of correspondence corresponding legal short message channel number.
With a concrete example, the detailed process that short message channel decompresses is described below: suppose that note data that short message receiver receives is for 8B2030E0201020801040, parsing obtains compression algorithm and is designated 8, i.e. binary one 000, parent channel index value is B, i.e. binary one 011, represent the first, third and fourth short message channel section, i.e. short message channel section 0-63,128-191 and 192-255.Existence three parent channel parameters can be determined according to parent channel index value, three byte 0x20,0x30 and 0xE0 are once extracted from second byte of data 8B2030E0201020801040, be three parent channel parameters, be respectively Binary Zero 0100000,00110000,11100000, wherein there is 6 " 1 " in binary digit, namely there are 6 sub-channel parameters.6 byte 0x20,0x10,0x20,0x80,0x10,0x40 is extracted successively from note data 8B2030E0201020801040.Such as, for last subchannel parameter 0x40, corresponding parent channel parameter is last " 1 " in 11100000, short message channel section corresponding to this parent channel parameter is 192-255, the short message channel section of last " 1 " correspondence is 208-215, it is 01000000 that subchannel parameter 0x40 is converted to binary system, " 1 " is wherein positioned at second, namely corresponding legal short message channel number is 209, can calculate the legal short message channel number that other are all according to same algorithm.
Embodiment three, a kind of channel compressions device based on Cell Broadcast CB note.Below in conjunction with Fig. 3, the channel compressions device that the present embodiment provides is described in detail.
See Fig. 3, the channel compressions device that the present embodiment provides comprises determination module 41a, the first computing module 42a, the second computing module 43a, the 3rd computing module 44a, merges module 45a and sending module 46a.
Wherein, determination module 41a, is mainly used in determining at least one legal short message channel number, and determines that the compression algorithm of making an appointment with short message receiver identifies.
First computing module 42a, is mainly used in, according to the described legal short message channel number determined, calculating parent channel index value.
Concrete, parent channel index value is represented by the low tetrad of a byte, 256 short message channel numbers are divided into four short message channel sections by correspondence successively, the tetrad of corresponding parent channel index value, according to described legal short message channel number, judge the number of the legal short message channel number of each short message channel section correspondence, if the number of the legal short message channel number of short message channel section correspondence is 0, then by the position 0 of correspondence, otherwise, by the position 1 of correspondence, obtain the parent channel index value of tetrad form.
Second computing module 43a, is mainly used in the number of the described parent channel index value determination parent channel parameter calculated according to the first computing module 42a, and according to described legal short message channel number, calculates each parent channel parameter.
Concrete, in parent channel index value tetrad, the number of 1 is the number of parent channel parameter.Each parent channel parameter is 8 binary bytes, and short message channel section described in each is divided into 8 short message channel sections by correspondence successively.According to described legal short message channel number, judge the number of the legal short message channel number of each short message channel section correspondence, if the number of the legal short message channel number of short message channel section correspondence is 0, then by the position 0 of correspondence, otherwise, by the position 1 of correspondence, obtain the parent channel parameter of 8 binary forms.
3rd computing module 44a, is mainly used in, according to each parent channel parameter described, determining the number of subchannel parameter, and according to described legal short message channel number, calculates each subchannel parameter.
Concrete, be that the number sum of 1 is the number of subchannel parameter in each parent channel parameter 8 binary systems; Each subchannel parameter is 8 binary bytes, and described short message channel section is divided into 8 short message channel numbers by correspondence; According to described legal short message channel number, judge the figure place of the corresponding subchannel parameter of described legal short message channel number, and by this correspondence position 1, other position 0, obtains the subchannel parameter that short message channel number legal in each is corresponding.
Merge module 45a, the first character be mainly used in described compression algorithm mark and described parent channel index value merge into note data saves; Also merge successively for each the parent channel parameter described first character being saved, arranges in order and each the subchannel parameter arranged in order, the note data after finally being compressed.
Embodiment four, a kind of passage decompressing device based on Cell Broadcast CB note, be described in detail the passage decompressing device that the present embodiment provides below in conjunction with Fig. 4.
See Fig. 4, the passage decompressing device that the present embodiment provides comprises receiver module 41b, judge module 42b, parent channel parameter extraction module 43b, subchannel parameter extraction module 44b and the 4th computing module 45b.
Wherein, sending module 46a, is mainly used in the note data after by compression and sends to short message receiver.
Short message channel decompressing device comprises receiver module 41b, judge module 42b, parent channel parameter extraction module 43b, subchannel parameter extraction module 44b and the 4th computing module 45b.
Wherein, receiver module 41b, is mainly used in the note data received after the compression of short message sending side's transmission.
Judge module 42b, is mainly used in the note data after resolving described compression and obtains compression algorithm mark, and judges whether consistent resolve the compression algorithm mark obtained identifies with the compression algorithm of making an appointment, if consistent, retain this note data, if inconsistent, then abandon this note data.
Parent channel parameter extraction module 43b, is mainly used in resolving the parent channel index value in note data, according to the number of parent channel index value determination parent channel parameter, and according to the number of parent channel parameter, extracts corresponding parent channel parameter successively from note data.
Subchannel parameter extraction module 44b, is mainly used in, according to each parent channel parameter, determining the number of subchannel parameter, and according to the number of subchannel parameter, extracts corresponding subchannel parameter successively from note data.
4th computing module 45b, is mainly used in, according to described father's index value, described parent channel parameter and described subchannel parameter, calculating legal short message channel number.
Concrete, according to described father's index value, described parent channel parameter and described subchannel parameter, the detailed process calculating legal short message channel number is: according in described parent channel index value 4 binary systems 1 position, determine corresponding short message channel section; According in described parent channel parameter 8 binary systems 1 position, to determine in the short message channel section of correspondence corresponding short message channel section; According in described subchannel parameter 8 binary systems 1 position, to determine in the short message channel section of correspondence corresponding legal short message channel number.
A kind of channel compressions based on Cell Broadcast CB note provided by the invention and decompression method and device thereof, comprise short message channel compression section and short message channel decompression part, multiple legal short message channel number carries out compressing in rear embedding note data according to certain algorithm by short message sending side, and note data is sent to short message receiver, after short message receiver receives note data, note data is resolved, original legal short message channel number is calculated through inverse operation, short message sending side shortens the length of note data after adopting certain algorithm to compress to multiple short message channel number, improve the efficiency of transmission of note data.
In addition, in the process that short message sending side compresses multiple short message channel number, have employed comparatively complicated algorithm and compress, improve the fail safe of note data transmission; In addition, in the process that short message receiver is resolved the note data after the compression received, first the compression algorithm mark in note data is parsed, the compression algorithm parsed mark is identified with the compression algorithm of making an appointment and compares, if consistent, retain this note data, if inconsistent, then abandon this note data to play the filtration to note data, improve the efficiency of note process.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (10)

1. based on a channel compressions method for Cell Broadcast CB note, it is characterized in that, described method comprises:
S1a, short message sending side determine at least one legal short message channel number, and determine that the compression algorithm of making an appointment with short message receiver identifies;
S2a, according to the described legal short message channel number determined, calculate parent channel index value, and the first character that described compression algorithm mark and described parent channel index value merge into note data is saved;
The number of the described parent channel index value determination parent channel parameter that S3a, basis calculate, and according to described legal short message channel number, calculate each parent channel parameter;
S4a, according to each parent channel parameter described, determine the number of subchannel parameter, and according to described legal short message channel number, calculate each subchannel parameter;
S5a, described first character joint, each the parent channel parameter arranged in order and each subchannel parameter of arranging in order to be merged successively, the note data after finally being compressed;
S6a, by compression after note data send to short message receiver.
2., as claimed in claim 1 based on the channel compressions method of Cell Broadcast CB note, it is characterized in that, according to described legal short message channel number in described step S2a, calculate parent channel index value and specifically comprise:
With the low four bit representation parent channel index values of a byte;
256 short message channel numbers are divided into four short message channel sections successively, four of corresponding parent channel index value, according to described legal short message channel number, judge the number of the legal short message channel number of each short message channel section correspondence, if the number of the legal short message channel number of short message channel section correspondence is 0, then by the position 0 of correspondence, otherwise, by the position 1 of correspondence, obtain the parent channel index value of tetrad form;
The first character in described step S2a, compression algorithm mark and described parent channel index value being merged into note data saves and is specially:
Using compression algorithm mark as first character joint high four, using parent channel index value as first character save low four.
3. as claimed in claim 2 based on the channel compressions method of Cell Broadcast CB note, it is characterized in that, specifically comprise according to the number of the described parent channel index value determination parent channel parameter calculated in described step S3a:
In parent channel index value tetrad, the number of 1 is the number of parent channel parameter;
According to legal short message channel number in described step S3a, calculate each parent channel parameter and specifically comprise:
Each parent channel parameter is a byte of 8, and short message channel section described in each is divided into 8 short message channel sections by correspondence successively;
According to described legal short message channel number, judge the number of the legal short message channel number of each short message channel section correspondence, if the number of the legal short message channel number of short message channel section correspondence is 0, then by the position 0 of correspondence, otherwise, by the position 1 of correspondence, obtain the parent channel parameter of 8 binary forms;
According to each parent channel parameter described in described step S4a, determine that the number of subchannel parameter specifically comprises:
In each parent channel parameter 8 binary systems be 1 number sum be the number of subchannel parameter;
According to described legal short message channel number in described step S4a, calculate each subchannel parameter and specifically comprise:
Each subchannel parameter is 8 binary bytes, and described short message channel section is divided into 8 short message channel numbers by correspondence;
According to described legal short message channel number, judge the figure place of the corresponding subchannel parameter of described legal short message channel number, and by this correspondence position 1, other position 0, obtains the subchannel parameter that short message channel number legal in each is corresponding.
4. based on a passage decompression method for Cell Broadcast CB note, it is characterized in that, described method comprises:
S1b, short message receiver receive the note data after the compression of short message sending side's transmission;
S2b, resolve described compression after note data obtain compression algorithm mark, and judge resolve obtain compression algorithm mark whether unanimously identify with the compression algorithm of making an appointment, if unanimously, retain this note data, execution S3b; If inconsistent, then abandon this note data, process ends;
S3b, the parent channel index value of resolving in note data, according to the number of parent channel index value determination parent channel parameter;
S4b, number according to parent channel parameter, extract corresponding parent channel parameter successively, and according to each parent channel parameter, determine the number of subchannel parameter from note data;
S5b, number according to subchannel parameter, extract corresponding subchannel parameter successively from note data;
S6b, according to described parent channel parameter and described subchannel parameter, calculate legal short message channel number.
5., as claimed in claim 4 based on the passage decompression method of Cell Broadcast CB note, it is characterized in that, specifically comprise according to the number of described parent channel index value determination parent channel parameter in described step S3b:
In 4 binary systems of parent channel index value, the number of 1 is the number of parent channel parameter;
According to each parent channel parameter in described step S4b, determine that the number of subchannel parameter specifically comprises:
In 8 binary systems of each parent channel parameter, the number sum of 1 is the number of subchannel parameter;
Described step S6b specifically comprises:
According in described parent channel index value 4 binary systems 1 position, determine corresponding short message channel section;
According in described parent channel parameter 8 binary systems 1 position, to determine in the short message channel section of correspondence corresponding short message channel section;
According in described subchannel parameter 8 binary systems 1 position, to determine in the short message channel section of correspondence corresponding legal short message channel number.
6. based on a channel compressions device for Cell Broadcast CB note, it is characterized in that, described channel compressions device is positioned at short message sending side, and described channel compressions device comprises:
Determination module, for determining at least one legal short message channel number, and determines that the compression algorithm of making an appointment with short message receiver identifies;
First computing module, for according to the described legal short message channel number determined, calculates parent channel index value;
Second computing module, for the number according to the described parent channel index value determination parent channel parameter calculated, and according to described legal short message channel number, calculates each parent channel parameter;
3rd computing module, for according to each parent channel parameter described, determines the number of subchannel parameter, and according to described legal short message channel number, calculates each subchannel parameter;
Merge module, save for the first character that described compression algorithm mark and described parent channel index value are merged into note data; Also merge successively for each the parent channel parameter described first character being saved, arranges in order and each the subchannel parameter arranged in order, the note data after finally being compressed;
Sending module, for sending to short message receiver by the note data after compression.
7. as claimed in claim 6 based on the channel compressions device of Cell Broadcast CB note, it is characterized in that, described first computing module, for according to the described legal short message channel number determined, calculate parent channel index value and specifically comprise:
With the low four bit representation parent channel index values of a byte;
256 short message channel numbers are divided into four short message channel sections successively, four of corresponding parent channel index value, according to described legal short message channel number, judge the number of the legal short message channel number of each short message channel section correspondence, if the number of the legal short message channel number of short message channel section correspondence is 0, then by the position 0 of correspondence, otherwise, by the position 1 of correspondence, obtain the parent channel index value of tetrad form.
8. as claimed in claim 7 based on the channel compressions device of Cell Broadcast CB note, it is characterized in that, described second computing module, for the number according to the described parent channel index value determination parent channel parameter calculated, and according to described legal short message channel number, calculate each parent channel parameter and specifically comprise:
In parent channel index value tetrad, the number of 1 is the number of parent channel parameter;
Each parent channel parameter is a byte of 8, and short message channel section described in each is divided into 8 short message channel sections by correspondence successively;
According to described legal short message channel number, judge the number of the legal short message channel number of each short message channel section correspondence, if the number of the legal short message channel number of short message channel section correspondence is 0, then by the position 0 of correspondence, otherwise, by the position 1 of correspondence, obtain the parent channel parameter of 8 binary forms;
Described 3rd computing module, for according to each parent channel parameter described, determines the number of subchannel parameter, and according to described legal short message channel number, calculates each subchannel parameter and specifically comprise:
In each parent channel parameter 8 binary systems be 1 number sum be the number of subchannel parameter;
Each subchannel parameter is 8 binary bytes, and described short message channel section is divided into 8 short message channel numbers by correspondence;
According to described legal short message channel number, judge the figure place of the corresponding subchannel parameter of described legal short message channel number, and by this correspondence position 1, other position 0, obtains the subchannel parameter that short message channel number legal in each is corresponding.
9. based on a passage decompressing device for Cell Broadcast CB note, it is characterized in that, described passage decompressing device is positioned at short message receiver, and described passage decompressing device comprises:
Receiver module, for receive short message sending side send compression after note data;
Judge module, obtains compression algorithm mark for the note data after resolving described compression, and judges whether consistent resolve the compression algorithm mark obtained identifies with the compression algorithm of making an appointment, if consistent, retain this note data, if inconsistent, then abandon this note data;
Parent channel parameter extraction module, for resolving the parent channel index value in note data, according to the number of parent channel index value determination parent channel parameter, and according to the number of parent channel parameter, extracts corresponding parent channel parameter successively from note data;
Subchannel parameter extraction module, for according to each parent channel parameter, determines the number of subchannel parameter, and according to the number of subchannel parameter, extracts corresponding subchannel parameter successively from note data;
4th computing module, for according to described father's index value, described parent channel parameter and described subchannel parameter, calculates legal short message channel number.
10. as claimed in claim 9 based on the passage decompressing device of Cell Broadcast CB note, it is characterized in that, described 4th computing module, for according to described father's index value, described parent channel parameter and described subchannel parameter, calculates legal short message channel number and specifically comprises:
According in described parent channel index value 4 binary systems 1 position, determine corresponding short message channel section;
According in described parent channel parameter 8 binary systems 1 position, to determine in the short message channel section of correspondence corresponding short message channel section;
According in described subchannel parameter 8 binary systems 1 position, to determine in the short message channel section of correspondence corresponding legal short message channel number.
CN201510471218.XA 2015-08-04 2015-08-04 A kind of channel compressions and decompression method and its device based on Cell Broadcast CB short message Active CN105163294B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510471218.XA CN105163294B (en) 2015-08-04 2015-08-04 A kind of channel compressions and decompression method and its device based on Cell Broadcast CB short message

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510471218.XA CN105163294B (en) 2015-08-04 2015-08-04 A kind of channel compressions and decompression method and its device based on Cell Broadcast CB short message

Publications (2)

Publication Number Publication Date
CN105163294A true CN105163294A (en) 2015-12-16
CN105163294B CN105163294B (en) 2018-10-26

Family

ID=54804029

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510471218.XA Active CN105163294B (en) 2015-08-04 2015-08-04 A kind of channel compressions and decompression method and its device based on Cell Broadcast CB short message

Country Status (1)

Country Link
CN (1) CN105163294B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002080606A1 (en) * 2001-03-30 2002-10-10 Telecom Italia S.P.A. Transmission method for cellular telephony mobile equipment's location data
CN1635804A (en) * 2003-12-31 2005-07-06 厦门雅迅网络股份有限公司 A method for implementing invisible character transmission on short message communication platform
CN1852520A (en) * 2005-08-01 2006-10-25 深圳华为移动通信技术有限公司 Terminal terminal and its short message decoding method
CN103002415A (en) * 2011-09-15 2013-03-27 阿里巴巴集团控股有限公司 Method and device for transmitting verification codes via short messages
CN103067872A (en) * 2012-12-28 2013-04-24 广西英伦通信技术有限公司 Method of using cell broadcasting control channel to transmit business short messages

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2002080606A1 (en) * 2001-03-30 2002-10-10 Telecom Italia S.P.A. Transmission method for cellular telephony mobile equipment's location data
CN1635804A (en) * 2003-12-31 2005-07-06 厦门雅迅网络股份有限公司 A method for implementing invisible character transmission on short message communication platform
CN1852520A (en) * 2005-08-01 2006-10-25 深圳华为移动通信技术有限公司 Terminal terminal and its short message decoding method
CN103002415A (en) * 2011-09-15 2013-03-27 阿里巴巴集团控股有限公司 Method and device for transmitting verification codes via short messages
CN103067872A (en) * 2012-12-28 2013-04-24 广西英伦通信技术有限公司 Method of using cell broadcasting control channel to transmit business short messages

Also Published As

Publication number Publication date
CN105163294B (en) 2018-10-26

Similar Documents

Publication Publication Date Title
CN101350858B (en) Method for decoding short message and user terminal
GB2370479B (en) A method of processing data packets
CN108616927B (en) Data sending and receiving method and device
CN103581130A (en) Data compression processing method, system and device
CN110535846B (en) Data frame compression method and system based on DL/T698.45 protocol
CN103379140A (en) Log processing rule synchronization method and relative device and system
CN104426629A (en) Physical layer coding and decoding methods and devices
CN103188810B (en) Indicating bit table issuing method, indicating operation method, equipment and system
CN111464635B (en) Dictionary index transmission method and device
CN105191145A (en) Data encoder, data decoder and method
CN102880703B (en) Chinese web page data encoding, coding/decoding method and system
CN111526151A (en) Data transmission method and device, electronic equipment and storage medium
CN106470405A (en) SMS interception method and device
CN105163294A (en) Cell broadcast message based channel compressing and decompressing method and device
CN103078646A (en) Dictionary lookup compression and decompression method and device
CN104360988A (en) Method and device for identifying coding mode of Chinese characters
CN105430228A (en) Reversible information hiding method for code groups
CN104702596A (en) Method and system for hiding and transmitting information based on data packet length
CN106851640B (en) Password synchronization method and device
CN104038307A (en) Data stream transmission system and method
CN105163291A (en) Mobile terminal and control method for group message thereof
CN107483507B (en) Session analysis method, device and storage medium
CN104636377A (en) Data compression method and equipment
KR101471833B1 (en) Binary data compression and decompression method and apparatus
CN114025024A (en) Data transmission method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant