CN108282256A - Information processing method and terminal - Google Patents
Information processing method and terminal Download PDFInfo
- Publication number
- CN108282256A CN108282256A CN201710011428.XA CN201710011428A CN108282256A CN 108282256 A CN108282256 A CN 108282256A CN 201710011428 A CN201710011428 A CN 201710011428A CN 108282256 A CN108282256 A CN 108282256A
- Authority
- CN
- China
- Prior art keywords
- information
- field
- terminal
- sent
- encoded
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
- H04L1/0001—Systems modifying transmission characteristics according to link quality, e.g. power backoff
- H04L1/0002—Systems modifying transmission characteristics according to link quality, e.g. power backoff by adapting the transmission rate
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L1/00—Arrangements for detecting or preventing errors in the information received
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Quality & Reliability (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses an information processing method and a terminal, wherein the method comprises the following steps: when information to be sent is sent to a first terminal, determining the sending type of the information to be sent; respectively determining a first fixed coding field and a field to be coded in the information to be sent according to the sending type and a preset determination strategy, wherein the first fixed coding field is a coding field corresponding to a field except the field to be coded in the information to be sent, and the field to be coded is a part of information in the information to be sent; coding a field to be coded, and reconstructing first information to be sent according to the coded field to be coded and a first fixed coded field; and sending the first information to be sent to the first terminal.
Description
Technical field
The present invention relates to electronic application field more particularly to a kind of information processing method and terminals.
Background technology
When user sends short message using mobile terminal to other contact persons, mobile terminal all can be to the protocol data of transmission
Unit (PDU, Protocol Data Unit) is encoded, wherein the field that the PDU of coding includes is:Short message centre number
(SCA, SMS Center Address) and protocol Data Unit type (TPDU, Protocol Data Unit-Type) field,
Wherein, TPDU fields include:Reverse-path (RP, Reply Path), User Data Header (UDHI, User Data Header
Indicator), state report ask for instructions instruction (SRR, Status Report Request), VP fields validity (VPF,
Validity Period Format), repeat short message receive instruction (RD, Reject Duplicate), short message types (MTI,
Message Type Indicator), short message indications (MR, Message Reference), destination address (DA,
Destination Address), agreement instruction (PID, Protocol Identifier), user data coding mode
(DSC, Data Coding Scheme), the term of validity (VP, Validity Period), User Data Length (UDL, User
Data Length) and user data (UD, User Data) field sends PDU after mobile terminal completes PDU codings
To the terminal of short message to be received, the transmission of short breath is just completed.
In the prior art, it is that each field in being gone here and there to PDU encodes, and will compile when mobile terminal sends short message
PDU strings after code are sent to the terminal of short message to be received, to complete the transmission of short message.
However, each field in being gone here and there to PDU encodes, short message encoding rate can be caused slow, influence the transmission of short message
Time.
Invention content
In order to solve the above technical problems, an embodiment of the present invention is intended to provide a kind of information processing method and terminal, Neng Goujia
The code rate of fast short message, improves the sending time of short message.
The embodiment of the present invention provides a kind of information processing method, the method includes:
When sending information to be sent to first terminal, the transmission types of the information to be sent are determined;
According to the transmission types and it is default determine strategy, determine the first regular coding field respectively and described pending deliver letters
Field to be encoded in breath, the first regular coding field are the word in addition to the field to be encoded in the information to be sent
The corresponding code field of section, the field to be encoded are a part of information in the information to be sent;
The field to be encoded is encoded, and volume is fixed according to the field to be encoded and described first after coding
Code field reconstructs the first information to be sent;
The described first information to be sent is sent to the first terminal.
In the above-mentioned methods, the transmission types include individually sending to send with group.
In the above-mentioned methods, described according to the transmission types and default determining tactful, the first regular coding is determined respectively
Field to be encoded in field and the information to be sent, including:
When the transmission types are the independent transmission, the first field is determined as the field to be encoded, described the
One field be the information to be sent in content and the relevant field of coding mode;
Search the second field corresponding with the first terminal from default common terminal database, and by second word
Section is determined as the first regular coding field, second field be in the information to be sent in addition to first field
Coded field, the default common terminal database be common terminal with removed in the corresponding information to be sent with it is interior
Hold the correspondence library with coded field outside the relevant field of coding mode.
In the above-mentioned methods, described according to the transmission types and default determining tactful, the first regular coding is determined respectively
Field to be encoded in field and the information to be sent, including:
When the transmission types are that the group sends, third field is determined as the field to be encoded, described the
Three fields be the information to be sent in the relevant field of terminal iidentification;
Second terminal is determined from the first terminal, and the coding of the second information to be sent is carried out to the second terminal
Operation, the second terminal are any one terminal in the first terminal, and second information to be sent is described second
The corresponding information to be sent performed the encoding operation of terminal;
Determine that the 4th field is the first regular coding field, the 4th field according to the described second information to be sent
For the coded field in the described second information to be sent in addition to the third field.
In the above-mentioned methods, the field to be encoded according to after coding and the first regular coding field reconstruct
First information to be sent, including:
The field to be encoded after coding is added to the designated position of the first regular coding field, described in reconstruct
First information to be sent.
In the above-mentioned methods, the transmission types of the determination information to be sent, including:
Obtain the communication identifier information of the first terminal;
The transmission types are determined according to the communication identifier information and the first predetermined threshold value.
In the above-mentioned methods, described to search the second word corresponding with the first terminal from default common terminal database
Before section, the method further includes:
The first identifier information of third terminal is obtained, the third terminal is the terminal of information to be received;
It is compared according to the corresponding frequency of use of the first identifier information and the second predetermined threshold value, determines the third
Whether terminal is the common terminal;
When the third terminal is the common terminal, determine that the third terminal corresponds to from third information to be sent
The second regular coding field, the third information to be sent is to be sent to the coded information of the third terminal, institute
State the second regular coding field be third information to be sent in except with the warp knit in addition to content and coding mode relevant field
The field of code;
According to the correspondence of the third terminal and the second regular coding field, the default common terminal is obtained
Database.
The embodiment of the present invention provides a kind of information terminal to be sent, and the information terminal to be sent includes:
Determination unit, for when sending information to be sent to first terminal, determining the transmission class of the information to be sent
Type;
The determination unit is additionally operable to according to the transmission types and presets determining strategy, determines that first fixes volume respectively
Field to be encoded in code field and the information to be sent, the first regular coding field are to be removed in the information to be sent
The corresponding code field of field outside the field to be encoded, the field to be encoded are the part in the information to be sent
Information;
Coding unit, for being encoded to the field to be encoded, and according to after coding the field to be encoded and
The first regular coding field reconstructs the first information to be sent;
Transmission unit, for sending the described first information to be sent to the first terminal.
In above-mentioned information terminal to be sent, the information terminal to be sent further includes:Searching unit;
The determination unit is specifically used for, when the transmission types are the independent transmission, the first field being determined as
The field to be encoded, first field be the information to be sent in content and the relevant field of coding mode;
The searching unit, for searching the second word corresponding with the first terminal from default common terminal database
Section, and second field is determined as the first regular coding field, second field is in the information to be sent
Coded field in addition to first field, the default common terminal database be common terminal with it is corresponding described
Except the correspondence library with coded field in addition to content and the relevant field of coding mode in information to be sent.
In above-mentioned information terminal to be sent, the determination unit is additionally operable to send out for the group when the transmission types
When sending, third field is determined as the field to be encoded, the third field be in the information to be sent with terminal iidentification
Relevant field;Second terminal is determined from the first terminal, and the second information to be sent is carried out to the second terminal
Encoding operation, the second terminal are any one terminal in the first terminal, and second information to be sent is described
The corresponding information to be sent performed the encoding operation of second terminal;The 4th field is determined according to the described second information to be sent
For the first regular coding field, the 4th field be in the described second information to be sent in addition to the third field
Encoded field.
In above-mentioned information terminal to be sent, the information terminal to be sent further includes:Adding device;
The adding device, for the field to be encoded after coding to be added to the first regular coding field
Designated position reconstructs first information to be sent.
In above-mentioned information terminal to be sent, the information terminal to be sent further includes:Acquiring unit;
The acquiring unit, the communication identifier information for obtaining the first terminal;
The determination unit is additionally operable to determine the transmission class according to the communication identifier information and the first predetermined threshold value
Type.
In above-mentioned information terminal to be sent, the information terminal to be sent further includes:Comparing unit;
The acquiring unit is additionally operable to obtain the first identifier information of third terminal, and the third terminal is the collection of letters waiting
The terminal of breath;
The comparing unit, for being carried out according to the corresponding frequency of use of the first identifier information and the second predetermined threshold value
Compare, determines whether the third terminal is the common terminal;
The determination unit is additionally operable to when the third terminal is the common terminal, from third information to be sent
Determine that the corresponding second regular coding field of the third terminal, the third information to be sent are to be sent to the third terminal
Coded information, the second regular coding field be third information to be sent in remove and content and coding mode
Coded field outside relevant field;
The acquiring unit is additionally operable to the correspondence according to the third terminal and the second regular coding field,
Obtain the default common terminal database.
An embodiment of the present invention provides a kind of information processing method and terminals, when transmission information to be sent is to first terminal
When, determine the transmission types of information to be sent;According to transmission types and default determining strategy, the first regular coding word is determined respectively
Field to be encoded in section and information to be sent, the first regular coding field are the word in addition to field to be encoded in information to be sent
The corresponding code field of section, field to be encoded are a part of information in information to be sent;Code field is treated to be encoded, and
According to the field to be encoded and the first regular coding field the first information to be sent of reconstruct after coding;Send the first information to be sent
To first terminal.Using above-mentioned technic relization scheme, information terminal to be sent carries out the regular coding field for commonly using terminal
Storage, when information terminal to be sent needs to send information to first terminal, information terminal to be sent determines information to be sent
Field to be encoded and the first regular coding field, field to be encoded therein is encoded, and wait compiling according to after coding
Code field and the first regular coding field got reconstruct the first information to be sent, in this way, without being compiled to whole information
Code operation, can accelerate the code rate of short message, improve the sending time of short message.
Description of the drawings
Fig. 1 is a kind of flow chart one of information processing method provided in an embodiment of the present invention;
Fig. 2 is a kind of flowchart 2 of information processing method provided in an embodiment of the present invention;
Fig. 3 is a kind of product process figure of illustrative common terminal database provided in an embodiment of the present invention;
Fig. 4 is the flow chart that a kind of illustrative terminal A provided in an embodiment of the present invention sends information to terminal B;
Fig. 5 is a kind of structural schematic diagram one of information terminal 1 to be sent provided in an embodiment of the present invention
Fig. 6 is a kind of structural schematic diagram two of information terminal 1 to be sent provided in an embodiment of the present invention;
Fig. 7 is a kind of structural schematic diagram three of information terminal 1 to be sent provided in an embodiment of the present invention;
Fig. 8 is a kind of structural schematic diagram four of information terminal 1 to be sent provided in an embodiment of the present invention;
Fig. 9 is a kind of structural schematic diagram five of information terminal 1 to be sent provided in an embodiment of the present invention;
Figure 10 is a kind of structural schematic diagram six of information terminal 1 to be sent provided in an embodiment of the present invention.
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.
Embodiment one
The embodiment of the present invention provides a kind of information processing method, as shown in Figure 1, this method may include:
S101, when sending information to be sent to first terminal, determine the transmission types of information to be sent.
A kind of information processing method provided in an embodiment of the present invention is suitable for sending under the scene of information to first terminal.
In the embodiment of the present invention, when information terminal to be sent sends information to first terminal, information terminal to be sent obtains
The communication identifier information of first terminal is taken, and is determined to first according to the communication identifier information of first terminal and the first predetermined threshold value
The transmission types of terminal.
Optionally, the communication identifier information in the embodiment of the present invention, which can be the quantity etc. of first terminal, can characterize and the
The information of one terminal communication type.
In the embodiment of the present invention, the transmission types to first terminal include that individually transmission and group send.
In the embodiment of the present invention, when the quantity of first terminal is more than the first preset quantity threshold value, information terminal to be sent
Determine that transmission types send for group;When the quantity of first terminal is less than or equal to the first preset quantity threshold value, information to be sent
Terminal determines that transmission types are individually to send.
Illustratively, the first preset quantity threshold value is 1, when information mobile phone to be sent need to send the phone number number of information
When being 1, at this point, information mobile phone to be sent judges this time as individually transmission;When information mobile phone to be sent need to send the mobile phone of information
When number number is 3, at this point, information mobile phone to be sent judges this time to send as group.
In the embodiment of the present invention, the process that information terminal to be sent sends information to be sent to first terminal is to send PDU
The process of string, wherein PDU string are made of two parts of SCA and TPDU strings, and TPDU strings are by RP fields, UDHI fields, SRR words
Section, VPF fields, RD fields, MTI fields, MR fields, da field, PID fields, DCS fields, VP fields, UDL fields and UD words
Duan Zucheng.
S102, according to transmission types and it is default determine strategy, determine the first regular coding field and information to be sent respectively
In field to be encoded, the first regular coding field is the corresponding coded word of field in addition to field to be encoded in information to be sent
Section, field to be encoded are a part of information in information to be sent.
When information terminal to be sent gets transmission types, information terminal to be sent is according to transmission types and default determination
Strategy determines the field to be encoded in the first regular coding field and information to be sent respectively.
In the embodiment of the present invention, information terminal to be sent determines the first different regular codings according to different transmission types
Field and field to be encoded.
In the embodiment of the present invention, when transmission types be individually send when, information terminal to be sent by information to be sent with
Content and relevant first field of coding mode are determined as field to be encoded, then searched from default common terminal database with
Coded second field in the corresponding information to be sent of first terminal in addition to the first field, and the second field is determined as
First regular coding field.
Further, in information terminal to be sent wait for corresponding with first terminal is searched from default common terminal database
Before sending coded second field in information in addition to the first field, information terminal to be sent needs to judge first terminal
Whether it is common terminal, when only first terminal is common terminal, information terminal to be sent could be in default common terminal data
First terminal and its corresponding second field are found in library.
In the embodiment of the present invention, the method that information terminal to be sent obtains default common terminal database is:It is pending to deliver letters
Breath terminal obtains the first identifier information of the third terminal of information to be received, and information terminal to be sent is according to first identifier information pair
The frequency of use and the second predetermined threshold value answered are compared, and determine whether third terminal is common terminal;When third terminal is institute
When stating common terminal, information terminal to be sent determines the corresponding second regular coding word of third terminal from third information to be sent
Section, third information to be sent is to be sent to the coded information of third terminal, and the second regular coding field is that third is pending
Deliver letters in breath except with the coded field in addition to content and coding mode relevant field;Information terminal to be sent is according to third end
The correspondence at end and the second regular coding field obtains default common terminal database.
In the embodiment of the present invention, the regular coding field that common terminal database preserves is corresponded to using 3GPP protocol informations
Coding, may include:RP fields, UDHI fields, SRR fields, VPF fields, RD fields, MTI fields, MR fields, da field,
PID fields, VP fields.
In the embodiment of the present invention, the first field is DCS fields, UDL fields and the UD fields of TPDU strings.
In the embodiment of the present invention, when transmission types are that group sends, information terminal to be sent will be in information to be sent
It is determined as field to be encoded with the relevant third field of terminal iidentification, information terminal to be sent determination from first terminal is any one
A second terminal, and the volume of corresponding second performed the encoding operation the information to be sent of second terminal is carried out to second terminal
Code operation;Information terminal to be sent determines in the second information to be sent in addition to third field according to the second information to be sent
4th field of coding is the first regular coding field.
In the embodiment of the present invention, third field is the da field in TPDU strings.
In the embodiment of the present invention, information terminal to be sent can match first terminal with common terminal database,
Determine that with a terminal of common terminal database successful match be second terminal from first terminal, if in first terminal
When not finding the terminal with common terminal database successful match, information terminal to be sent arbitrarily determines one from first terminal
A terminal is second terminal.
S103, it treats code field and is encoded, and according to the field to be encoded and the first regular coding field after coding
Reconstruct the first information to be sent.
After information terminal to be sent determines field to be encoded and the first regular coding field, information terminal to be sent
Code field is treated to perform the encoding operation, and by after coding field to be encoded and the first regular coding field be reconstructed into first and wait for
Send information.
In the embodiment of the present invention, information terminal to be sent is treated code field and is encoded, and will be to be encoded after coding
Field is added to the designated position of the first regular coding field, is reconstructed into the first information to be sent.
In the embodiment of the present invention, when transmission types are individually to send, DCS words that information terminal to be sent goes here and there TPDU
Section, UDL fields and UD fields are encoded, and UDL fields and UD fields are added to the designated position of the second field, then,
Information terminal to be sent judges whether the DCS fields in TPDU strings are changed, and when variation has occurred, information to be sent is whole
DCS fields in end modification TPDU strings, when not changing, information terminal to be sent generates the first information to be sent.
In the embodiment of the present invention, when transmission types are that group sends, da field in terminal TPDU to be sent string into
Row encodes, and the da field after coding is added to the specified location of the 4th field.
S104, the first information to be sent is sent to first terminal.
After information terminal to be sent generates the first information to be sent, information terminal to be sent is by the first information to be sent
It is sent to first terminal.
In the embodiment of the present invention, after information terminal to be sent generates the first information to be sent, information terminal to be sent
First information to be sent is sent to first terminal.
It is understood that when sending the information that content is 123456789 to first terminal 18891007687, it is corresponding
TPDU string be:
0891683109920000F011000B818198017086F70080FF0931D98C56B3 DD7039, and to same
When the first terminal 18891007687 of sample sends the information that content is 011111111, corresponding TPDU strings are:
0891683109920000F011000B818198017086F70080FF0AB0582C168B C562B118, analysis
It is found that two TPDU strings above only have UDL fields, the two fields are different with UD fields, and information terminal pair first to be sent is eventually
The same field at end is encoded and is preserved, when information terminal to be sent sends information to be sent to first terminal, it is only necessary to
First terminal kind and relevant first field of content and coding mode of information to be sent are encoded, then by after coding
One field is added in the second field, generates the first information to be sent;When the information of information terminal to be sent mass-sending 123456789
When to second terminal 18891007687 and third terminal 15900291570, corresponding PDU strings are respectively
0891683109920000F011000B818198017086F70080FF0931D98C56B3DD7039
0891683109920000F011000B815109201975F00080FF0931D98C56B3DD7039
Both the above PDU strings only have da field different, and the embodiment of the present invention encodes different da fields, and to surplus
Remaining part point only carries out first encoding, can accelerate the code rate of information, improve the sending time of information.
Embodiment two
The embodiment of the present invention provides a kind of information processing method, as shown in Fig. 2, this method may include:
S201, when information terminal to be sent sends information to be sent to first terminal, information terminal to be sent obtains the
The communication identifier information of one terminal.
A kind of information processing method provided in an embodiment of the present invention is suitable for sending under the scene of information to first terminal.
In the embodiment of the present invention, when information terminal to be sent sends information to first terminal, information terminal to be sent obtains
The communication identifier information for taking first terminal, to determine the transmission types to first terminal.
In the embodiment of the present invention, the process that information terminal to be sent sends information to be sent to first terminal is to send PDU
The process of string, wherein PDU string are made of two parts of SCA and TPDU strings, and TPDU strings are by RP fields, UDHI fields, SRR words
Section, VPF fields, RD fields, MTI fields, MR fields, da field, PID fields, DCS fields, VP fields, UDL fields and UD words
Duan Zucheng.
Optionally, the communication identifier information in the embodiment of the present invention, which can be the quantity etc. of first terminal, can characterize and the
The information of one terminal communication type.
In the embodiment of the present invention, the transmission types to first terminal include that individually transmission and group send.
S202, information terminal to be sent determine transmission types according to communication identifier information and the first predetermined threshold value, send class
Type includes individually sending to send with group.
After information terminal to be sent gets the communication identifier information of first terminal, information terminal to be sent is according to logical
Letter identification information and the first predetermined threshold value determine transmission types.
In the embodiment of the present invention, when the quantity of first terminal is more than the first preset quantity threshold value, information terminal to be sent
Determine that transmission types send for group;When the quantity of first terminal is less than or equal to the first preset quantity threshold value, information to be sent
Terminal determines that transmission types are individually to send.
Illustratively, the first preset quantity threshold value is 1, when information mobile phone to be sent need to send the phone number number of information
When being 1, at this point, information mobile phone to be sent judges this time as individually transmission;When information mobile phone to be sent need to send the mobile phone of information
When number number is 3, at this point, information mobile phone to be sent judges this time to send as group.
S203, when transmission types be individually send when, the first field is determined as field to be encoded by information terminal to be sent,
First field be information to be sent in content and the relevant field of coding mode.
Information terminal to be sent determine transmission types be individually send when, information terminal to be sent by information to be sent with
Content and the relevant field of coding mode are determined as field to be encoded.
In the embodiment of the present invention, the first field is DCS fields, UDL fields and the UD fields of TPDU strings.
S204, information terminal to be sent search the second word corresponding with first terminal from default common terminal database
Section, and the second field is determined as the first regular coding field, the second field be in the information to be sent in addition to the first field
Coded field, it is that common terminal is removed and content and volume with corresponding information to be sent to preset common terminal database
The correspondence library of coded field outside the code relevant field of mode.
After information terminal to be sent determines the first field to be encoded, information terminal to be sent determines that the first fixation is compiled
Code field.
In the embodiment of the present invention, information terminal to be sent is searched corresponding with first terminal from default common terminal database
Information to be sent in coded second field in addition to the first field, and the second field is determined as the first regular coding
Field.
Further, in information terminal to be sent wait for corresponding with first terminal is searched from default common terminal database
Before sending coded second field in information in addition to the first field, information terminal to be sent needs to judge first terminal
Whether it is common terminal, when only first terminal is common terminal, information terminal to be sent could be in default common terminal data
First terminal and its corresponding second field are found in library.
In the embodiment of the present invention, the method that information terminal to be sent obtains default common terminal database is:It is pending to deliver letters
Breath terminal obtains the first identifier information of the third terminal of information to be received, and information terminal to be sent is according to first identifier information pair
The frequency of use and the second predetermined threshold value answered are compared, and determine whether third terminal is common terminal;When third terminal is institute
When stating common terminal, information terminal to be sent determines the corresponding second regular coding word of third terminal from third information to be sent
Section, third information to be sent is to be sent to the coded information of third terminal, and the second regular coding field is that third is pending
Deliver letters in breath except with the coded field in addition to content and coding mode relevant field;Information terminal to be sent is according to third end
The correspondence at end and the second regular coding field obtains default common terminal database.
In the embodiment of the present invention, the regular coding field that common terminal database preserves is corresponded to using 3GPP protocol informations
Coding, may include:RP fields, UDHI fields, SRR fields, VPF fields, RD fields, MTI fields, MR fields, da field,
PID fields, VP fields.
Illustratively, as shown in figure 3, the flow that information terminal to be sent preserves common terminal to common terminal database can
Think:
1, information terminal to be sent obtains the termination number made a phone call with photos and sending messages;
2, information terminal to be sent is obtained to the termination number photos and sending messages and the number made a phone call;
3, information terminal to be sent is compared to the termination number photos and sending messages and the number made a phone call with preset times;
4, when information terminal to be sent is more than or equal to preset times to the termination number photos and sending messages and the number made a phone call,
The termination number is added to common terminal database;
5, the PDU strings that information is sent to the termination number are obtained;
6, it finds out field constant in PDU strings and stores into common terminal database the corresponding position of the termination number.
It is understood that storing the regular coding field of common terminal in common terminal database, deliver letters when pending
When ceasing terminal needs to common terminal transmission information, information terminal to be sent is searched directly from common terminal database to be commonly used eventually
Corresponding regular coding field is held, pair is encoded with relevant first field of content and coding mode of information to be sent, is added
The fast rate of information coding, improves the time of information transmission.
S205, when transmission types be group send when, third field is determined as field to be encoded by information terminal to be sent,
Third field be information to be sent in the relevant field of terminal iidentification.
Information terminal to be sent determine transmission types be group send when, information terminal to be sent by information to be sent with
The relevant third field of terminal iidentification is determined as field to be encoded.
In the embodiment of the present invention, third field is the da field in TPDU strings.
S206, information terminal to be sent determine second terminal from first terminal, and it is pending to carry out second to second terminal
It delivers letters the encoding operation of breath, second terminal is any one terminal in first terminal, and the second information to be sent is second terminal
The corresponding information to be sent performed the encoding operation.
After information terminal to be sent determines field to be encoded, information terminal to be sent will determine that the first fixation is compiled
Code field.
In the embodiment of the present invention, information terminal to be sent determines a second terminal from first terminal, and eventually to second
End carries out the encoding operation of the second information to be sent, and the first regular coding field is then determined from the second information to be sent.
In the embodiment of the present invention, information terminal to be sent can match first terminal with common terminal database,
Determine that with a terminal of common terminal database successful match be second terminal from first terminal, if in first terminal
When not finding the terminal with common terminal database successful match, information terminal to be sent arbitrarily determines one from first terminal
A terminal is second terminal.
It is pending to deliver letters when second terminal is the terminal with common terminal database successful match in the embodiment of the present invention
Breath terminal-pair information to be sent is encoded with content and the relevant field of coding mode, from default common terminal database
Obtain except with the coded field in addition to content and the relevant field of coding mode, it is corresponding second pending to generate second terminal
It delivers letters breath;When second terminal is not the terminal with common terminal database successful match, two terminal of information terminal pair to be sent
The PDU strings of corresponding second information to be sent all encode, and generate the second information to be sent.
S207, information terminal to be sent determine that the 4th field is the first regular coding field according to the second information to be sent,
4th field is the coded field in addition to third field in the second information to be sent.
After the second information coding to be sent of information terminal pair to be sent is completed, information terminal to be sent is pending from second
It delivers letters and determines the first regular coding in breath.
In the embodiment of the present invention, information terminal to be sent will remove relevant with terminal iidentification field in second information to be sent
Coded field outside field is as the first regular coding field.
Step S203-204 and step S205-S207 is two steps arranged side by side after step S202, specific basis
Actual conditions carry out selection execution, and the embodiment of the present invention does not do specific restriction.
S208, information terminal to be sent are treated code field and are encoded, and the field to be encoded after coding is added to
The designated position of first regular coding field, information terminal to be sent reconstruct the first information to be sent.
After information terminal to be sent determines field to be encoded and the first regular coding field, information terminal to be sent
Code field is treated to perform the encoding operation, and by after coding field to be encoded and the first regular coding field be reconstructed into first and wait for
Send information.
In the embodiment of the present invention, information terminal to be sent is treated code field and is encoded, and will be to be encoded after coding
Field is added to the designated position of the first regular coding field, is reconstructed into the first information to be sent.
In the embodiment of the present invention, when transmission types are individually to send, DCS words that information terminal to be sent goes here and there TPDU
Section, UDL fields and UD fields are encoded, and UDL fields and UD fields are added to the designated position of the second field, then,
Information terminal to be sent judges whether the DCS fields in TPDU strings are changed, and when variation has occurred, information to be sent is whole
DCS fields in end modification TPDU strings, when not changing, information terminal to be sent generates the first information to be sent.
In the embodiment of the present invention, when transmission types are that group sends, da field in terminal TPDU to be sent string into
Row encodes, and the da field after coding is added to the specified location of the 4th field.
S209, information terminal to be sent send the first information to be sent to first terminal.
After information terminal to be sent generates the first information to be sent, information terminal to be sent is by the first information to be sent
It is sent to first terminal.
In the embodiment of the present invention, after information terminal to be sent generates the first information to be sent, information terminal to be sent
First information to be sent is sent to first terminal.
It is understood that when sending the information that content is 123456789 to first terminal 18891007687, it is corresponding
TPDU string be:
0891683109920000F011000B818198017086F70080FF0931D98C56B3 DD7039,
And when sending the information that content is 011111111 to same first terminal 18891007687, corresponding TPDU strings
For:
0891683109920000F011000B818198017086F70080FF0AB0582C168B C562B118, analysis
It is found that two TPDU strings above only have UDL fields, the two fields are different with UD fields, and information terminal pair first to be sent is eventually
The same field at end is encoded and is preserved, when information terminal to be sent sends information to be sent to first terminal, it is only necessary to
First terminal kind and relevant first field of content and coding mode of information to be sent are encoded, then by after coding
One field is added in the second field, generates the first information to be sent;When the information of information terminal to be sent mass-sending 123456789
When to second terminal 18891007687 and third terminal 15900291570, corresponding PDU strings are respectively
0891683109920000F011000B818198017086F70080FF0931D98C56B3DD7039
0891683109920000F011000B815109201975F00080FF0931D98C56B3DD7039
Both the above PDU strings only have da field different, and the embodiment of the present invention encodes different da fields, and to surplus
Remaining part point only carries out first encoding, can accelerate the code rate of information, improve the sending time of information.
Illustratively, as shown in figure 4, the flow chart that terminal A sends information to terminal B can be:
1, terminal A obtains the quantity of terminal B;
2, terminal A determines sending method according to the quantity of terminal B;
3, when sending method is individually to send, terminal A matches terminal B with common terminal library;
4, as terminal B and common terminal library successful match, terminal A compiles DCS fields, UD fields and UDL fields
Code;
5, terminal A finds the fixation PDU strings of terminal B from common terminal library;
6, terminal A splices in sequence behind UDL fields and UD fields to fixed PDU strings;
7, terminal A judges whether DCS fields change;
8, when a change, the DCS fields in modification PDU strings, and send PDU and go here and there to terminal B;
9, it when not changing, directly transmits PDU and goes here and there to terminal B;
10, when it fails to match for terminal B and common terminal library, terminal B is sent information to according to existing photos and sending messages flow;
11, when sending method is that group sends, terminal A carries out PDU string encodings to first terminal in terminal B;
12, terminal A preserves the PDU strings after coding;
13, terminal A successively encodes the da field of terminal B rear terminals;
14, terminal A replaces the da field in the PDU strings after the coding of preservation successively;
15, terminal A forms PDU and goes here and there and be sent to corresponding terminal successively.
Embodiment three
The embodiment of the present invention provides a kind of information terminal 1 to be sent, as shown in figure 5, the information terminal 1 to be sent can wrap
It includes:
Determination unit 10, for when sending information to be sent to first terminal, determining the transmission of the information to be sent
Type.
The determination unit 10 is additionally operable to, according to the transmission types and default determining strategy, determine that first fixes respectively
Field to be encoded in code field and the information to be sent, the first regular coding field are in the information to be sent
The corresponding code field of field in addition to the field to be encoded, the field to be encoded are one in the information to be sent
Divide information.
Coding unit 11, for being encoded to the field to be encoded, and according to the field to be encoded after coding
The first information to be sent is reconstructed with the first regular coding field.
Transmission unit 12, for sending the described first information to be sent to the first terminal.
Optionally, based on Fig. 5 as shown in fig. 6, the information terminal to be sent 1 further includes:Searching unit 13.
The determination unit 10 is specifically used for, when the transmission types are the independent transmission, the first field being determined
For the field to be encoded, first field be in the information to be sent with content and the relevant field of coding mode.
The searching unit 13, for searching corresponding with the first terminal second from default common terminal database
Field, and second field is determined as the first regular coding field, second field is the information to be sent
In coded field in addition to first field, the default common terminal database is to commonly use terminal and corresponding institute
It states in information to be sent except the correspondence library with coded field in addition to content and the relevant field of coding mode.
Optionally, the determination unit 10 is additionally operable to when the transmission types are that the group sends, by third field
Be determined as the field to be encoded, the third field be in the information to be sent with the relevant field of terminal iidentification;From institute
It states and determines second terminal in first terminal, and carry out the encoding operation of the second information to be sent to the second terminal, described the
Two terminals are any one terminal in the first terminal, and second information to be sent is that the second terminal is corresponding
Information to be sent through performing the encoding operation;Determine that the 4th field is that first fixation is compiled according to the described second information to be sent
Code field, the 4th field are the coded field in addition to the third field in the described second information to be sent.
Optionally, based on Fig. 5 as shown in fig. 7, the information terminal to be sent 1 further includes:Adding device 14.
The adding device 14, for the field to be encoded after coding to be added to the first regular coding field
Designated position, reconstruct first information to be sent.
Optionally, based on Fig. 5 as shown in figure 8, the information terminal to be sent 1 further includes:Acquiring unit 15.
The acquiring unit 15, the communication identifier information for obtaining the first terminal.
The determination unit 10 is additionally operable to determine the transmission class according to the communication identifier information and the first predetermined threshold value
Type.
Optionally, based on Fig. 6 as shown in figure 9, the information terminal to be sent further includes:Comparing unit 16.
The acquiring unit 15 is additionally operable to obtain the first identifier information of third terminal, and the third terminal is to be received
The terminal of information.
The comparing unit 16, for according to the corresponding frequency of use of the first identifier information and the second predetermined threshold value into
Row compares, and determines whether the third terminal is the common terminal.
The determination unit 10 is additionally operable to when the third terminal is the common terminal, from third information to be sent
The corresponding second regular coding field of the middle determination third terminal, the third information to be sent are that be sent to the third whole
The coded information at end, the second regular coding field are to be removed and content and coding staff in third information to be sent
Coded field outside formula relevant field.
The acquiring unit 10 is additionally operable to close according to the third terminal is corresponding with the second regular coding field
System obtains the default common terminal database.
As shown in Figure 10, in practical applications, above-mentioned determination unit 10, coding unit 11, searching unit 13, adding device
14, acquiring unit 15 and comparing unit 16 can be realized by the processor 17 on information terminal 1 to be sent, specially centre
The realizations such as device (CPU), microprocessor (MPU), digital signal processor (DSP) or field programmable gate array (FPGA) are managed, on
Stating transmission unit 12 can be realized by the transmitter 18 in terminal 1 to be sent, which can also include memory
19, the transmitter 18, memory 19 can be connect with processor 17, wherein and memory 19 is used to store executable program code,
The program code includes computer-managed instruction, and memory 19 may include high-speed RAM memory, it is also possible to further include non-volatile
Property memory, for example, at least one magnetic disk storage.
It should be understood by those skilled in the art that, the embodiment of the present invention can be provided as method, system or computer program
Product.Therefore, the shape of hardware embodiment, software implementation or embodiment combining software and hardware aspects can be used in the present invention
Formula.Moreover, the present invention can be used can use storage in the computer that one or more wherein includes computer usable program code
The form for the computer program product implemented on medium (including but not limited to magnetic disk storage and optical memory etc.).
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or box in journey and/or box and flowchart and/or the block diagram.These computer programs can be provided
Instruct the processor of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices to produce
A raw machine so that the instruction executed by computer or the processor of other programmable data processing devices is generated for real
The device for the function of being specified in present one flow of flow chart or one box of multiple flows and/or block diagram or multiple boxes.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that instruction generation stored in the computer readable memory includes referring to
Enable the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one box of block diagram or
The function of being specified in multiple boxes.
These computer program instructions also can be loaded onto a computer or other programmable data processing device so that count
Series of operation steps are executed on calculation machine or other programmable devices to generate computer implemented processing, in computer or
The instruction executed on other programmable devices is provided for realizing in one flow of flow chart or multiple flows and/or block diagram one
The step of function of being specified in a box or multiple boxes.
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.
Claims (13)
1. a kind of information processing method, which is characterized in that the method includes:
When sending information to be sent to first terminal, the transmission types of the information to be sent are determined;
According to the transmission types and default determining strategy, determine in the first regular coding field and the information to be sent respectively
Field to be encoded, the first regular coding field is field pair in addition to the field to be encoded in the information to be sent
The code field answered, the field to be encoded are a part of information in the information to be sent;
The field to be encoded is encoded, and according to after coding the field to be encoded and the first regular coding word
Section the first information to be sent of reconstruct;
The described first information to be sent is sent to the first terminal.
2. according to the method described in claim 1, it is characterized in that, the transmission types include individually sending to send with group.
3. according to the method described in claim 2, it is characterized in that, it is described according to the transmission types and it is default determine strategy,
The field to be encoded in the first regular coding field and the information to be sent is determined respectively, including:
When the transmission types are the independent transmission, the first field is determined as the field to be encoded, first word
Section be the information to be sent in content and the relevant field of coding mode;
The second field corresponding with the first terminal is searched from default common terminal database, and second field is true
Be set to the first regular coding field, second field be in the information to be sent in addition to first field
The field of coding, the default common terminal database be common terminal with removed in the corresponding information to be sent with content and
The correspondence library of coded field outside the relevant field of coding mode.
4. according to the method described in claim 2, it is characterized in that, it is described according to the transmission types and it is default determine strategy,
The field to be encoded in the first regular coding field and the information to be sent is determined respectively, including:
When the transmission types are that the group sends, third field is determined as the field to be encoded, the third word
Section be the information to be sent in the relevant field of terminal iidentification;
Second terminal is determined from the first terminal, and the coding that the second information to be sent is carried out to the second terminal is grasped
Make, the second terminal is any one terminal in the first terminal, and second information to be sent is described second whole
Hold the corresponding information to be sent performed the encoding operation;
Determine that the 4th field is the first regular coding field according to the described second information to be sent, the 4th field is institute
State the coded field in addition to the third field in the second information to be sent.
5. according to the method described in claim 1, it is characterized in that, the field to be encoded according to after coding and described
First regular coding field reconstructs the first information to be sent, including:
The field to be encoded after coding is added to the designated position of the first regular coding field, reconstruct described first
Information to be sent.
6. according to the method described in claim 1, it is characterized in that, the transmission types of the determination information to be sent, packet
It includes:
Obtain the communication identifier information of the first terminal;
The transmission types are determined according to the communication identifier information and the first predetermined threshold value.
7. according to the method described in claim 3, it is characterized in that, it is described searched from default common terminal database with it is described
Before corresponding second field of first terminal, the method further includes:
The first identifier information of third terminal is obtained, the third terminal is the terminal of information to be received;
It is compared according to the corresponding frequency of use of the first identifier information and the second predetermined threshold value, determines the third terminal
Whether it is the common terminal;
When the third terminal is the common terminal, the third terminal corresponding the is determined from third information to be sent
Two regular coding fields, the third information to be sent are to be sent to the coded information of the third terminal, described
Two regular coding fields be third information to be sent in except with it is coded in addition to content and coding mode relevant field
Field;
According to the correspondence of the third terminal and the second regular coding field, the default common terminal data is obtained
Library.
8. a kind of information terminal to be sent, which is characterized in that the information terminal to be sent includes:
Determination unit, for when sending information to be sent to first terminal, determining the transmission types of the information to be sent;
The determination unit is additionally operable to, according to the transmission types and default determining strategy, determine the first regular coding word respectively
Field to be encoded in section and the information to be sent, the first regular coding field are in the information to be sent except described
The corresponding code field of field outside field to be encoded, the field to be encoded are the part letter in the information to be sent
Breath;
Coding unit, for being encoded to the field to be encoded, and according to the field to be encoded after coding and described
First regular coding field reconstructs the first information to be sent;
Transmission unit, for sending the described first information to be sent to the first terminal.
9. information terminal to be sent according to claim 8, which is characterized in that the information terminal to be sent further includes:
Searching unit;
The determination unit is specifically used for, when the transmission types are the independent transmission, the first field being determined as described
Field to be encoded, first field be the information to be sent in content and the relevant field of coding mode;
The searching unit, for searching the second field corresponding with the first terminal from default common terminal database,
And second field is determined as the first regular coding field, second field is removes institute in the information to be sent
State the coded field outside the first field, the default common terminal database be common terminal with it is corresponding described pending
It delivers letters in breath except the correspondence library with coded field in addition to content and the relevant field of coding mode.
10. information terminal to be sent according to claim 8, which is characterized in that
The determination unit is additionally operable to, when the transmission types are that the group sends, third field is determined as described wait for
Code field, the third field be the information to be sent in the relevant field of terminal iidentification;From the first terminal
It determines second terminal, and carries out the encoding operation of the second information to be sent to the second terminal, the second terminal is described
Any one terminal in first terminal, second information to be sent, which is that the second terminal is corresponding, has carried out coding behaviour
The information to be sent made;Determine that the 4th field is the first regular coding field according to the described second information to be sent, it is described
4th field is the coded field in addition to the third field in the described second information to be sent.
11. information terminal to be sent according to claim 8, which is characterized in that the information terminal to be sent further includes:
Adding device;
The adding device, for the field to be encoded after coding to be added to the specified of the first regular coding field
Position reconstructs first information to be sent.
12. information terminal to be sent according to claim 8, which is characterized in that the information terminal to be sent further includes:
Acquiring unit;
The acquiring unit, the communication identifier information for obtaining the first terminal;
The determination unit is additionally operable to determine the transmission types according to the communication identifier information and the first predetermined threshold value.
13. information terminal to be sent according to claim 9, which is characterized in that the information terminal to be sent further includes:
Comparing unit;
The acquiring unit is additionally operable to obtain the first identifier information of third terminal, and the third terminal is information to be received
Terminal;
The comparing unit, for being compared according to the corresponding frequency of use of the first identifier information and the second predetermined threshold value
Compared with determining whether the third terminal is the common terminal;
The determination unit is additionally operable to, when the third terminal is the common terminal, determine from third information to be sent
The corresponding second regular coding field of the third terminal, the third information to be sent is to be sent to the third terminal
Encoded information, the second regular coding field are in third information to be sent except related to content and coding mode
Coded field outside field;
The acquiring unit is additionally operable to the correspondence according to the third terminal and the second regular coding field, obtains
The default common terminal database.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710011428.XA CN108282256B (en) | 2017-01-06 | 2017-01-06 | Information processing method and terminal |
PCT/CN2017/118069 WO2018126912A1 (en) | 2017-01-06 | 2017-12-22 | Information processing method and terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710011428.XA CN108282256B (en) | 2017-01-06 | 2017-01-06 | Information processing method and terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108282256A true CN108282256A (en) | 2018-07-13 |
CN108282256B CN108282256B (en) | 2022-05-13 |
Family
ID=62789163
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710011428.XA Active CN108282256B (en) | 2017-01-06 | 2017-01-06 | Information processing method and terminal |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN108282256B (en) |
WO (1) | WO2018126912A1 (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101674552A (en) * | 2009-09-25 | 2010-03-17 | 中兴通讯股份有限公司 | Short message coding method and terminal |
CN101841784A (en) * | 2010-03-10 | 2010-09-22 | 深圳市中兴移动通信有限公司 | Method for CDMA terminal to interact PDU format SMSs with other terminals |
US20110065443A1 (en) * | 2008-03-20 | 2011-03-17 | Daniel Yellin | Block encoding with a variable rate block code |
CN102158832A (en) * | 2011-04-22 | 2011-08-17 | 中兴通讯股份有限公司 | Method and device for self-adaptively coding short message |
CN103516757A (en) * | 2012-06-28 | 2014-01-15 | 华为技术有限公司 | Method, device and system for processing content |
US20150256986A1 (en) * | 2014-03-05 | 2015-09-10 | Apple Inc. | Device and Method for Dynamic Concatenated Short Messaging Service Optimization of Messages with Multiple Encoding Schemes |
CN105472107A (en) * | 2014-08-26 | 2016-04-06 | 中兴通讯股份有限公司 | Terminal information processing method and device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1305282C (en) * | 2003-11-13 | 2007-03-14 | 中兴通讯股份有限公司 | Method of pre coding and decoding within media gateway and media gateway controller |
EP2893649B1 (en) * | 2012-09-06 | 2019-07-31 | Samsung Electronics Co., Ltd. | Method and apparatus for communicating downlink control information in an asymmetric multicarrier communication network environment |
-
2017
- 2017-01-06 CN CN201710011428.XA patent/CN108282256B/en active Active
- 2017-12-22 WO PCT/CN2017/118069 patent/WO2018126912A1/en active Application Filing
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110065443A1 (en) * | 2008-03-20 | 2011-03-17 | Daniel Yellin | Block encoding with a variable rate block code |
CN101674552A (en) * | 2009-09-25 | 2010-03-17 | 中兴通讯股份有限公司 | Short message coding method and terminal |
CN101841784A (en) * | 2010-03-10 | 2010-09-22 | 深圳市中兴移动通信有限公司 | Method for CDMA terminal to interact PDU format SMSs with other terminals |
CN102158832A (en) * | 2011-04-22 | 2011-08-17 | 中兴通讯股份有限公司 | Method and device for self-adaptively coding short message |
CN103516757A (en) * | 2012-06-28 | 2014-01-15 | 华为技术有限公司 | Method, device and system for processing content |
US20150256986A1 (en) * | 2014-03-05 | 2015-09-10 | Apple Inc. | Device and Method for Dynamic Concatenated Short Messaging Service Optimization of Messages with Multiple Encoding Schemes |
CN105472107A (en) * | 2014-08-26 | 2016-04-06 | 中兴通讯股份有限公司 | Terminal information processing method and device |
Also Published As
Publication number | Publication date |
---|---|
CN108282256B (en) | 2022-05-13 |
WO2018126912A1 (en) | 2018-07-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109582655B (en) | Method and device for positioning system log and computer readable storage medium | |
US11955992B2 (en) | Rate matching method and apparatus for polar code | |
CN106210032A (en) | The method and device reported based on terminal data batch | |
CN104468222A (en) | Method, device and system for reporting log information | |
CN104580310A (en) | Log processing method and server | |
CN111629063A (en) | Block chain based distributed file downloading method and electronic equipment | |
CN109194536A (en) | A kind of network flow filter method, device and terminal | |
CN112152825B (en) | Multi-stage module upgrading method and device for household appliance and electronic equipment | |
EP3893419A1 (en) | Data retransmission decoding method, apparatus and system, and communication device | |
CN107948022B (en) | Identification method and identification device for peer-to-peer network traffic | |
CN112202739B (en) | Flow monitoring method and device | |
CN111200479A (en) | Transmission data verification method and storage medium | |
CN115409507A (en) | Block processing method, block processing device, computer equipment and storage medium | |
CN108282256A (en) | Information processing method and terminal | |
CN112711683A (en) | Data comparison method and device and computer equipment | |
CN104618335A (en) | Message exchange method and interface processing platform | |
CN107306199B (en) | Network element data playback method and device | |
CN103746868A (en) | Methods and apparatuses for sending and receiving testing messages, and testing equipment | |
CN110019054B (en) | Log duplicate removal method and system, and content distribution network system | |
CN103503358B (en) | The method of a kind of group resource interaction message and device thereof | |
CN106354581B (en) | A kind of cyclic redundancy check method and multi-core processor | |
CN110838924B (en) | Block transmission method and device | |
CN115550380A (en) | Data synchronization method, device, equipment and storage medium | |
CN112395272B (en) | Communication algorithm database construction method, distributed machine device, and storage medium | |
CN112188562B (en) | Multicast scheduling method and device for relay base station, storage medium and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |