CN103220647B - The recognition methods of data coding mode, subscriber equipment and system - Google Patents

The recognition methods of data coding mode, subscriber equipment and system Download PDF

Info

Publication number
CN103220647B
CN103220647B CN201310148368.8A CN201310148368A CN103220647B CN 103220647 B CN103220647 B CN 103220647B CN 201310148368 A CN201310148368 A CN 201310148368A CN 103220647 B CN103220647 B CN 103220647B
Authority
CN
China
Prior art keywords
coded system
dcs
bytes
data content
ascii
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201310148368.8A
Other languages
Chinese (zh)
Other versions
CN103220647A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201310148368.8A priority Critical patent/CN103220647B/en
Publication of CN103220647A publication Critical patent/CN103220647A/en
Application granted granted Critical
Publication of CN103220647B publication Critical patent/CN103220647B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The invention discloses a kind of recognition methods of data coding mode, comprise: obtain the SIM card application toolkit STK note that person identification SIM card is sent, described STK note comprises host-host protocol user data TP-UD and is used to indicate the coded system TP-DCS of transmission protocol data of coded system of described TP-UD; Identify the coded system of described TP-UD; When the coded system indicated by the coded system of described TP-UD and described TP-DCS is inconsistent, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD.The embodiment of the present invention also provides corresponding subscriber equipment and system.Technical solution of the present invention can revise the TP-DCS indication information of mistake, the coded system of the coded system indicated by TP-DCS and TP-UD is consistent, thus makes server end correctly identify described STK note.

Description

The recognition methods of data coding mode, subscriber equipment and system
Technical field
The present invention relates to communication technical field, be specifically related to the recognition methods of data coding mode, subscriber equipment and system.
Background technology
Person identification module (SIM, SubscriberIdentityModule) card application toolkit (SIMApplicationToolkit, STK) one group of application interface of SIM card is defined, these interfaces are actual is exactly that SIM card sends to subscriber equipment (UserEquipment, UE) a string order code stream, is undertaken identifying and performing by UE.
By these interfaces, SIM card can trigger UE and performs some function or obtain current context information.Operator just can complete some by these interfaces of combination and specifically apply.Such as obtain subscriber's account, inquiry favor information etc.
STK note is exactly in these interfaces one, and SIM card can trigger UE by this interface and send note to the number of specifying (can be the service number of regular handset number or similar 10086).Such as acquisition subscriber's account function above-mentioned is exactly that one group of data is sent on the service number of specifying, and bill is pushed on user mobile phone by trigger network server by STK note.
Following several data can be comprised in the STK note that SIM sends:
8-bitdata adopts Ascii basic coding; Short message growth data (shortmessagedefault, SMSdefault) 7-bit, adopts the compressed encoding of normal Ascii code, is fixed as 0 by the highest Bit(Bit value omitting Ascii coding) realize compression.
16-bitUCS2alphabet: the coding being realized a character by 2 bytes, this kind of mode is generally used in the coding of the language such as Chinese, Japanese;
In addition, STK note also provides compression indication information (" packingnotrequired ") in order details, is used to indicate the data of current transmission the need of compression.
In the data structure of STK note, transmission protocol data coded system (TransferprotocolDataCodingScheme, TP-DCS) be exactly " coded system of (TransferprotocolUserData, TP-UD) that is used to indicate host-host protocol user data.
To in the research and practice process of prior art, the present inventor finds, only have " 8-bitdata " just can compress although note defines, other data all can not be compressed, but due to the difference that SIM card realizes, compression instruction is there is in the STK note order that SIM card sends, if note data itself has been compressed encoding, UE compresses according to compression instruction again, compression will be duplicated, such data are sent to server end, server cannot correctly identify, if note data is compressed encoding, and TP-DCS instruction is non-compressed encoding, server operates according to TP-DCS instruction, also server can be caused correctly cannot to identify note data.
Summary of the invention
The embodiment of the present invention provides a kind of recognition methods of data coding mode, can revise the TP-DCS indication information of mistake, the coded system of the coded system indicated by TP-DCS and TP-UD is consistent, thus make server end correctly identify described STK note.The embodiment of the present invention additionally provides corresponding subscriber equipment and system.
First aspect present invention provides a kind of recognition methods of data coding mode, comprising:
Obtain the SIM card application toolkit STK note that person identification SIM card is sent, described STK note comprises host-host protocol user data TP-UD and is used to indicate the coded system TP-DCS of transmission protocol data of coded system of described TP-UD;
Identify the coded system of described TP-UD;
When the coded system indicated by the coded system of described TP-UD and described TP-DCS is inconsistent, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD.
In conjunction with first aspect, in the implementation that the first is possible, the coded system of the described TP-UD of described identification, comprising:
The data content of described TP-UD is searched from preset set of bytes;
According to the result of searching, determine the coded system of the data content of described TP-UD.
In conjunction with the first possible implementation of first aspect, in the implementation that the second is possible, the described data content searching described TP-UD from preset set of bytes, comprising:
Front 7 bytes of the data content of described TP-UD are searched from described preset set of bytes;
Corresponding, the result that described basis is searched, determine the coded system of the data content of described TP-UD, comprising:
When described front 7 bytes are all Ascii basic coding, or, when described front 7 bytes are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is uncompressed coding.
In conjunction with the implementation that first aspect the second is possible, in the implementation that the third is possible, when described front 7 bytes are non-Ascii coding, described method also comprises:
The data content of described TP-UD is decompressed;
Front 7 bytes of the data content of the described TP-UD after decompression are searched from described preset set of bytes;
When front 7 bytes of the data content of the described TP-UD after described decompression are all Ascii basic coding, or, when front 7 bytes of the data content of the described TP-UD after described decompression are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is compressed encoding.
In conjunction with the implementation that first aspect the second is possible, in the 4th kind of possible implementation, described method also comprises:
Check in described STK note whether there is compression instruction;
When there is compression instruction, the data content of described TP-UD being compressed, and revises the length of described TP-UD;
Corresponding, the described coded system as described TP-UD and the coded system indicated by described TP-DCS inconsistent time, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD, comprises:
When the coded system indicated by described TP-DCS is uncompressed coded system, the coded system indicated by described TP-DCS is modified as compression coding mode.
In conjunction with first aspect the 4th kind of possible implementation, in the 5th kind of possible implementation, when there is not compression instruction, the described coded system as described TP-UD and the coded system indicated by described TP-DCS inconsistent time, coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD, comprises:
When the coded system indicated by described TP-DCS is compression coding mode, the coded system indicated by described TP-DCS is modified as uncompressed coded system.
In conjunction with the third possible implementation of first aspect, in the 6th kind of possible implementation, the described coded system as described TP-UD and the coded system indicated by described TP-DCS inconsistent time, coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD, comprises:
When the coded system indicated by described TP-DCS is uncompressed coded system, the coded system indicated by described TP-DCS is modified as compression coding mode.
In conjunction with the third possible implementation of first aspect, in the 7th kind of possible implementation, when front 7 bytes of the data content of the described TP-UD after described decompression are non-Ascii coding, determine that the coded system of described TP-UD is non-Ascii coded system;
Corresponding, the described coded system as described TP-UD and the coded system indicated by described TP-DCS inconsistent time, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD, comprises:
The coded system indicated by described TP-DCS is kept not change.
In conjunction with first aspect the 7th kind of possible implementation, in the 8th kind of possible implementation, described method also comprises:
According to preset language preferences order, each byte in the data content of the described TP-UD encoded by non-Ascii, searches one time in described preset set of bytes, to determine the coded system of the data content of the described TP-UD of described non-Ascii coding.
Second aspect present invention provides a kind of subscriber equipment, comprising:
Acquiring unit, for obtaining the SIM card application toolkit STK note that person identification SIM card is sent, described STK note comprises host-host protocol user data TP-UD and is used to indicate the coded system TP-DCS of transmission protocol data of coded system of described TP-UD;
Recognition unit, for identifying the coded system of the TP-UD that described acquiring unit obtains;
Amendment unit, time inconsistent for the coded system indicated by the coded system of the TP-UD when described recognition unit identification and described TP-DCS, is modified as the coded system identical with the coded system of described TP-UD by the coded system indicated by described TP-DCS.
In conjunction with second aspect, in the implementation that the first is possible, described recognition unit, comprising:
Search subelement, from preset set of bytes, search the data content of described TP-UD;
Determining subelement, for searching the result that subelement is searched described in basis, determining the coded system of the data content of described TP-UD.
In conjunction with the first possible implementation of second aspect, in the implementation that the second is possible,
Describedly search subelement, for searching front 7 bytes of the data content of described TP-UD from described preset set of bytes;
Describedly determine subelement, for when described in search described front 7 bytes that subelement finds be all Ascii basic coding time, or, when described front 7 bytes are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is uncompressed coding.
In conjunction with the implementation that second aspect the second is possible, in the implementation that the third is possible,
When the non-Ascii coding of described front 7 bytes, described recognition unit also comprises:
Decompression unit, for decompressing to the data content of described TP-UD;
Describedly search subelement, for search from described preset set of bytes described decompression unit decompress after front 7 bytes of data content of described TP-UD;
Describedly determine subelement, when front 7 bytes for the data content as the described TP-UD after described decompression are all Ascii basic coding, or, when front 7 bytes of the data content of the described TP-UD after described decompression are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is compressed encoding.
In conjunction with the implementation that second aspect the second is possible, in the 4th kind of possible implementation,
Described subscriber equipment also comprises:
Whether inspection unit, exist compression instruction for checking in described STK note;
Compression unit, when there is compression instruction for being checked through when described inspection unit, compresses the data content of described TP-UD;
Described amendment unit, for revising the length of described TP-UD, and when the coded system indicated by described TP-DCS is uncompressed coded system, is modified as compression coding mode by the coded system indicated by described TP-DCS.
In conjunction with second aspect the 4th kind of possible implementation, in the 5th kind of possible implementation,
, also there is not compression instruction for being checked through when described inspection unit, and when the coded system indicated by described TP-DCS is compression coding mode, the coded system indicated by described TP-DCS be modified as uncompressed coded system in described amendment unit.
In conjunction with the third possible implementation of second aspect, in the 6th kind of possible implementation,
Described amendment unit, for when the coded system indicated by described TP-DCS is uncompressed coded system, is modified as compression coding mode by the coded system indicated by described TP-DCS.
In conjunction with the third possible implementation of second aspect, in the 7th kind of possible implementation,
Describedly determine subelement, also for front 7 bytes of the data content as the described TP-UD after described decompression be non-Ascii encode time, determine that the coded system of described TP-UD is non-Ascii coded system.
In conjunction with second aspect the 7th kind of possible implementation, in the 8th kind of possible implementation,
Describedly determine subelement, also according to preset language preferences order, each byte in the data content of the described TP-UD encoded by non-Ascii, searches one time in described preset set of bytes, to determine the coded system of the data content of the described TP-UD of described non-Ascii coding.
Third aspect present invention provides a kind of data recognition system, comprising: SIM card, subscriber equipment and server;
Described SIM card, for sending STK note to subscriber equipment;
Described subscriber equipment is the subscriber equipment described in technique scheme;
Described server, for receiving the STK note that described subscriber equipment sends, and resolves described STK note.
The embodiment of the present invention adopts the SIM card application toolkit STK note obtaining person identification SIM card and send, and described STK note comprises host-host protocol user data TP-UD and is used to indicate the coded system TP-DCS of transmission protocol data of coded system of described TP-UD; Identify the coded system of described TP-UD; When the coded system indicated by the coded system of described TP-UD and described TP-DCS is inconsistent, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD.Different from the coded system of the coded system often occurred in STK note in prior art indicated by TP-DCS and described TP-UD, cause server end correctly to resolve to compare, the method that the embodiment of the present invention provides can make the coded system of the coded system indicated by TP-DCS and described TP-UD be consistent, thus makes server end correctly identify described STK note.
Accompanying drawing explanation
In order to be illustrated more clearly in the technical scheme in the embodiment of the present invention, below the accompanying drawing used required in describing embodiment is briefly described, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those skilled in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is an embodiment schematic diagram of the recognition methods of data coding mode in the embodiment of the present invention;
Fig. 2 is another embodiment schematic diagram of the recognition methods of data coding mode in the embodiment of the present invention;
Fig. 3 is an embodiment schematic diagram of subscriber equipment in the embodiment of the present invention;
Fig. 4 is another embodiment schematic diagram of subscriber equipment in the embodiment of the present invention;
Fig. 5 is another embodiment schematic diagram of subscriber equipment in the embodiment of the present invention;
Another embodiment schematic diagram of subscriber equipment in Fig. 6 embodiment of the present invention;
Fig. 7 is another embodiment schematic diagram of subscriber equipment in the embodiment of the present invention;
Fig. 8 is an embodiment schematic diagram of system in the embodiment of the present invention.
Embodiment
The embodiment of the present invention provides a kind of recognition methods of data coding mode, can revise the TP-DCS indication information of mistake, the coded system of the coded system indicated by TP-DCS and TP-UD is consistent, thus make server end correctly identify described TP-UD.The embodiment of the present invention additionally provides corresponding subscriber equipment and system.Below be described in detail respectively.
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Consult Fig. 1, an embodiment of the recognition methods of the data coding mode that the embodiment of the present invention provides comprises:
101, subscriber equipment obtains the SIM card application toolkit STK note that person identification SIM card is sent, and described STK note comprises host-host protocol user data TP-UD and is used to indicate the coded system TP-DCS of transmission protocol data of coded system of described TP-UD.
Can comprise multiple parameter in STK note, host-host protocol user data (TransferprotocolUserData, TP-UD) and transmission protocol data coded system (TransferprotocolDataCodingScheme, TP-DCS) are two parameters wherein.
Identify the coded system of TP-UD by TP-DCS at server service device.
102, the coded system of TP-UD described in subscriber equipment identification.
Identify in the embodiment of the present invention that the coded system of TP-UD is for identifying that TP-UD is compressed encoding or uncompressed coding.
103, subscriber equipment is when the coded system indicated by the coded system of described TP-UD and described TP-DCS is inconsistent, and the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD.
Such as: when the coded system of TP-UD is compressed encoding, when the coded system indicated by TP-DCS is uncompressed coding, the coded system indicated by TP-DCS is revised as compressed encoding, makes the coded system indicated by TP-DCS consistent with the coded system of TP-UD.
Conversely, when the coded system of TP-UD is uncompressed coding, when coded system indicated by TP-DCS is compressed encoding, the coded system indicated by TP-DCS is revised as uncompressed coding, makes the coded system indicated by TP-DCS consistent with the coded system of TP-UD.
The embodiment of the present invention adopts the SIM card application toolkit STK note obtaining person identification SIM card and send, and described STK note comprises host-host protocol user data TP-UD and is used to indicate the coded system TP-DCS of transmission protocol data of coded system of described TP-UD; Identify the coded system of described TP-UD; When the coded system indicated by the coded system of described TP-UD and described TP-DCS is inconsistent, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD.Different from the coded system of the coded system often occurred in STK note in prior art indicated by TP-DCS and described TP-UD, cause server end correctly to resolve to compare, the method that the embodiment of the present invention provides can make the coded system of the coded system indicated by TP-DCS and described TP-UD be consistent, thus makes server end correctly identify described STK note.
Alternatively, on the basis of embodiment corresponding to above-mentioned Fig. 1, in first embodiment of the recognition methods of the data coding mode that the embodiment of the present invention provides, the coded system of the described TP-UD of described identification, comprising:
The data content of described TP-UD is searched from preset set of bytes;
According to the result of searching, determine the coded system of the data content of described TP-UD.
In the embodiment of the present invention, the data content of TP-UD is all made up of the byte of various language, and the conventional Ascii that has encodes, and certainly also has non-Ascii to encode.Set of bytes can be formulated according to the 3GPP3GPP23.038 in third generation partner program (The3rdGenerationPartnershipProject, 3GPP).Set of bytes for Ascii coding has definition in the prior art, comprises the basic coding set of bytes of a byte and the extended coding set of bytes of two bytes.In fact, because Ascii coding rule can be followed, " 0x30 " ~ " 0x39 " of the Ascii coding that such as character " 0 " ~ " 9 " are corresponding, " 0x61 " ~ " 0x7A " of the Ascii coding that character " a " ~ " z " is corresponding, the set of bytes of so encoding for Ascii can be collapsed into the mode of index+spcial character, can reduce memory space like this.
Alternatively, on the basis of first embodiment corresponding to above-mentioned Fig. 1, in second embodiment of the recognition methods of the data coding mode that the embodiment of the present invention provides, the described data content searching described TP-UD from preset set of bytes, comprising:
Front 7 bytes of the data content of described TP-UD are searched from described preset set of bytes;
Corresponding, the result that described basis is searched, determine the coded system of the data content of described TP-UD, comprising:
When described front 7 bytes are all Ascii basic coding, or, when described front 7 bytes are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is uncompressed coding.
In the embodiment of the present invention, data for Ascii coding do not need all bytes of the data content of whole TP-UD all in set of bytes, to search one time, first can search front 7 bytes, when current 7 bytes are all Ascii basic coding, or, when front 7 bytes are all Ascii extended coding, just can determine that the data content of whole TP-UD is all the data of Ascii coding.
If front 7 bytes of directly searching are all Ascii basic coding, or, front 7 bytes are all Ascii extended coding, just can determine that the data content of this TP-UD is without compression, can determine that the coded system of the data content of this TP-UD is uncompressed coding.
Alternatively, on the basis of second embodiment corresponding to above-mentioned Fig. 1, in the 3rd embodiment of the recognition methods of the data coding mode that the embodiment of the present invention provides, when described front 7 bytes be non-Ascii encode time, described method can also comprise:
The data content of described TP-UD is decompressed;
Front 7 bytes of the data content of the described TP-UD after decompression are searched from described preset set of bytes;
When front 7 bytes of the data content of the described TP-UD after described decompression are all Ascii basic coding, or, when front 7 bytes of the data content of the described TP-UD after described decompression are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is compressed encoding.
In the embodiment of the present invention, non-Ascii coding refers to neither Ascii basic coding, neither Ascii extended coding.The non-Ascii coding of front 7 bytes of discovery after searching, so can first decompress to the data content of this TP-UD, again front 7 bytes of the data content of the TP-UD after decompression are searched, when front 7 bytes of the data content of the described TP-UD after described decompression are all Ascii basic coding, or, when front 7 bytes of the data content of the described TP-UD after decompression are all Ascii extended coding, can determine that the data content of this TP-UD is the Ascii coding after overcompression, thus the coded system before determining not the decompressing of the data content of this TP-UD is compression coding mode.
Alternatively, on the basis of second embodiment corresponding to above-mentioned Fig. 1, in the 4th embodiment of the recognition methods of the data coding mode that the embodiment of the present invention provides, described method can also comprise:
Check in described STK note whether there is compression instruction;
When there is compression instruction, the data content of described TP-UD being compressed, and revises the length of described TP-UD;
Corresponding, the described coded system as described TP-UD and the coded system indicated by described TP-DCS inconsistent time, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD, comprises:
When the coded system indicated by described TP-DCS is uncompressed coded system, the coded system indicated by described TP-DCS is modified as compression coding mode.
In the embodiment of the present invention, there is compression instruction sometimes in STK note, compression instruction is there is if be checked through, UE can compress the data content of unpressed TP-UD according to this compression instruction, after the data compression of Ascii coding, 8 bytes originally can become 7 bytes, so the length of TP-UD will be revised, and TP-UD have compressed, if the coded system indicated by TP-DCS is non-compressed encoding, coded system indicated by this TP-DCS to be modified as compression coding mode, like this could be identical with the coded system of the TP-UD after compression.
Like this, after above-mentioned process, by STK short message sending to server end, check in received server-side to STK note that the coded system indicated by TP-DCS is compression coding mode, just can process according to compression coding mode this TP-UD.
Alternatively, on the basis of the 4th embodiment corresponding to above-mentioned Fig. 1, in 5th embodiment of the recognition methods of the data coding mode that the embodiment of the present invention provides, when there is not compression instruction, the described coded system as described TP-UD and the coded system indicated by described TP-DCS inconsistent time, coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD, can comprises:
When the coded system indicated by described TP-DCS is compression coding mode, the coded system indicated by described TP-DCS is modified as uncompressed coded system.
If do not compress instruction in STK note, so UE compresses the data content of this TP-UD with regard to not needing, when the coded system indicated by described TP-DCS is compression coding mode, the coded system indicated by this TP-DCS is revised as uncompressed coded system.Coded system indicated by such TP-DCS is consistent with the coded system of the data content of TP-UD, after server end receives this STK note, just can process according to the data content of the non-coded manner indicated by TP-DCS to TP-UD.
Alternatively, on the basis of the 3rd embodiment corresponding to above-mentioned Fig. 1, in 6th embodiment of the recognition methods of the data coding mode that the embodiment of the present invention provides, the described coded system as described TP-UD and the coded system indicated by described TP-DCS inconsistent time, coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD, can comprises:
When the coded system indicated by described TP-DCS is uncompressed coded system, the coded system indicated by described TP-DCS is modified as compression coding mode.
In the embodiment of the present invention, for the coded system identifying TP-UD after decompressing be Ascii basic coding or Ascii extended coding time, can determine that the coded system of the TP-UD originally do not decompressed is compression coding mode.Like this, when the coded system indicated by TP-DCS is uncompressed coded system, the coded system indicated by described TP-DCS is modified as compression coding mode.
Alternatively, on the basis of the 3rd embodiment corresponding to above-mentioned Fig. 1, in 7th embodiment of the recognition methods of the data coding mode that the embodiment of the present invention provides, when the non-Ascii of front 7 bytes of the data content of the described TP-UD after described decompression encodes, determine that the coded system of described TP-UD is non-Ascii coded system;
Corresponding, the described coded system as described TP-UD and the coded system indicated by described TP-DCS inconsistent time, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD, can comprises:
The coded system indicated by described TP-DCS is kept not change.
In the embodiment of the present invention, when the non-Ascii of front 7 bytes for the data content of the TP-UD after decompression encodes, can determine that the coded system of this TP-UD is that non-Ascii encodes.Non-Ascii is encoded, does not need to revise the coded system indicated by TP-DCS, only need to keep the coded system indicated by TP-DCS not change.
Alternatively, on the basis of the 7th embodiment corresponding to above-mentioned Fig. 1, in the 8th embodiment of the recognition methods of the data coding mode that the embodiment of the present invention provides, described method also comprises:
According to preset language preferences order, each byte in the data content of the described TP-UD encoded by non-Ascii, searches one time in described preset set of bytes, to determine the coded system of the data content of the described TP-UD of described non-Ascii coding.
In the embodiment of the present invention, for the TP-UD that non-Ascii encodes, if determine the concrete syntax type of the TP-UD that this Ascii encodes, can according to preset language preferences order, each byte in the data content of the described TP-UD that non-Ascii is encoded, one time is searched, to determine the coded system of the data content of the described TP-UD of described non-Ascii coding in described preset set of bytes.
For the ease of understanding, consulting Fig. 2, below for application scenarios, the process of the recognition methods of data coding mode in the embodiment of the present invention being described:
After S201, UE receive STK note, obtain the data content of the TP-UD of STK note.
S202, UE read front 7 bytes of the data content of TP-UD.
S203, UE search front 7 bytes of the data content of described TP-UD from preset set of bytes, when described front 7 bytes are all Ascii basic coding, perform step S204, when described front 7 bytes are all non-Ascii basic coding, perform step S205.
S204, UE determine that the character code of the data content of TP-UD is Ascii coding.
S205, UE determine whether front 7 bytes of the data content of TP-UD are Ascii extended coding, when for Ascii extended coding, perform step S204, when not being Ascii extended coding, perform step S206.
S206, UE data content to TP-UD decompresses.
S207, UE determine whether front 7 bytes of the data content of the TP-UD after decompressing are Ascii basic coding, when for Ascii basic coding, perform step S208, when for non-Ascii basic coding, perform step S209.
S209, UE determine whether front 7 bytes of the data content of the TP-UD after decompressing are Ascii extended coding, when for Ascii extended coding, perform step S208, when not being Ascii extended coding, perform step S214.
S210, after step S204, checks in STK note whether there is compression instruction, when there is compression instruction, performing step S211, when there is not compression instruction, performing step S213.
S211, UE compress the data content of TP-UD.
S212, because of after compression, the length of TP-UD changes, so the length of amendment TP-UD, and the coded system indicated by TP-DCS is revised as compression coding mode.
S213, when do not exist compression instruction time, directly the coded system indicated by TP-DCS is revised as uncompressed coded system.
S214, when the data content of TP-UD be non-Ascii encode time, keep coded system indicated by TP-DCS constant.
S215, amendment result regardless of the coded system in STK indicated by TP-DCS, UE by amended STK short message sending to server.
Consult Fig. 3, an embodiment of the subscriber equipment that the embodiment of the present invention provides comprises:
Acquiring unit 301, for obtaining the SIM card application toolkit STK note that person identification SIM card is sent, described STK note comprises host-host protocol user data TP-UD and is used to indicate the coded system TP-DCS of transmission protocol data of coded system of described TP-UD;
Recognition unit 302, for identifying the coded system of the TP-UD that described acquiring unit 301 obtains;
Amendment unit 303, for when the coded system indicated by the coded system of the TP-UD that described recognition unit 302 identifies and described TP-DCS is inconsistent, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD.
In the embodiment of the present invention, acquiring unit 301 obtains the SIM card application toolkit STK note that person identification SIM card is sent, and described STK note comprises host-host protocol user data TP-UD and is used to indicate the coded system TP-DCS of transmission protocol data of coded system of described TP-UD; Recognition unit 302 identifies the coded system of the TP-UD that described acquiring unit 301 obtains; Coded system indicated by described TP-DCS, when the coded system indicated by the coded system of the TP-UD that described recognition unit 302 identifies and described TP-DCS is inconsistent, is modified as the coded system identical with the coded system of described TP-UD by amendment unit 303.Different from the coded system of the coded system often occurred in STK note in prior art indicated by TP-DCS and described TP-UD, cause server end correctly to resolve to compare, the subscriber equipment that the embodiment of the present invention provides, the coded system of the coded system indicated by TP-DCS and described TP-UD can be made to be consistent, thus to make server end correctly identify described STK note.
On the basis of embodiment corresponding to above-mentioned Fig. 3, consult Fig. 4, in first embodiment of the subscriber equipment that the embodiment of the present invention provides, described recognition unit 302, comprising:
Search subelement 3021, from preset set of bytes, search the data content of described TP-UD;
Determining subelement 3022, for searching the result that subelement 3021 is searched described in basis, determining the coded system of the data content of described TP-UD.
On the basis of embodiment corresponding to above-mentioned Fig. 4, in second embodiment of the subscriber equipment that the embodiment of the present invention provides,
Describedly search subelement 3021, for searching front 7 bytes of the data content of described TP-UD from described preset set of bytes;
Describedly determine subelement 3022, for when described in search described front 7 bytes that subelement 3021 finds be all Ascii basic coding time, or, when described front 7 bytes are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is uncompressed coding.
On the basis of second embodiment corresponding to above-mentioned Fig. 4, consult Fig. 5, in the 3rd embodiment of the subscriber equipment that the embodiment of the present invention provides, when the non-Ascii extended coding of described front 7 bytes, described recognition unit 302 also comprises:
Decompression unit 3023, for decompressing to the data content of described TP-UD;
Describedly search subelement 3021, for search from described preset set of bytes described decompression unit 3023 decompress after front 7 bytes of data content of described TP-UD;
Describedly determine subelement 3022, when front 7 bytes for the data content as the described TP-UD after described decompression are all Ascii basic coding, or, when front 7 bytes of the data content of the described TP-UD after described decompression are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is compressed encoding.
On the basis of second embodiment corresponding to above-mentioned Fig. 4, consult Fig. 6, in the 4th embodiment of the subscriber equipment that the embodiment of the present invention provides, described subscriber equipment also comprises:
Whether inspection unit 304, exist compression instruction for checking in described STK note;
Compression unit 305, when there is compression instruction for being checked through when described inspection unit 304, compresses the data content of described TP-UD;
Described amendment unit 303, for revising the length of described TP-UD, and when the coded system indicated by described TP-DCS is uncompressed coded system, is modified as compression coding mode by the coded system indicated by described TP-DCS.
, also there is not compression instruction for being checked through when described inspection unit 304, and when the coded system indicated by described TP-DCS is compression coding mode, the coded system indicated by described TP-DCS be modified as uncompressed coded system in described amendment unit 303.
On the basis of embodiment corresponding to above-mentioned Fig. 5, in the 5th embodiment of the subscriber equipment that the embodiment of the present invention provides,
Described amendment unit 303, for when the coded system indicated by described TP-DCS is uncompressed coded system, is modified as compression coding mode by the coded system indicated by described TP-DCS.
On the basis of embodiment corresponding to above-mentioned Fig. 5, in the 6th embodiment of the subscriber equipment that the embodiment of the present invention provides,
Describedly determine subelement 3022, also for front 7 bytes of the data content as the described TP-UD after described decompression be non-Ascii encode time, determine that the coded system of described TP-UD is non-Ascii coded system.
On the basis of the 6th embodiment corresponding to above-mentioned Fig. 5, in the 7th embodiment of the subscriber equipment that the embodiment of the present invention provides,
Describedly determine subelement 3022, also according to preset language preferences order, each byte in the data content of the described TP-UD encoded by non-Ascii, searches one time in described preset set of bytes, to determine the coded system of the data content of the described TP-UD of described non-Ascii coding.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium, and this computer-readable storage medium has program stored therein, and comprises the some or all of step of the control method of above-mentioned information input when this program performs.
Fig. 7 shows the structure of the subscriber equipment that the embodiment of the present invention provides, the subscriber equipment that the embodiment of the present invention provides may be used for the recognition methods of the data coding mode implemented in the embodiment of the present invention, for convenience of explanation, illustrate only the part relevant to the embodiment of the present invention, concrete ins and outs do not disclose, and please refer to the inventive method embodiment part and understand.
This subscriber equipment can for comprising mobile phone, panel computer, PDA(PersonalDigitalAssistant, personal digital assistant), POS(PointofSales, sell subscriber equipment), the subscriber equipment such as vehicle-mounted computer, take subscriber equipment as mobile phone be example, shown in Fig. 7 is the block diagram of the part-structure of the mobile phone 400 relevant to the subscriber equipment that the embodiment of the present invention provides.With reference to figure 7, mobile phone 400 comprises RF(RadioFrequency, radio frequency) parts such as circuit 410, memory 420, input unit 430, display unit 440, transducer 450, voicefrequency circuit 460, Wireless Fidelity (wirelessfidelity, WiFi) module 470, processor 480 and power supply 490.It will be understood by those skilled in the art that the handset structure shown in Fig. 7 does not form the restriction to mobile phone, the parts more more or less than diagram can be comprised, or combine some parts, or different parts are arranged.
Concrete introduction is carried out below in conjunction with Fig. 7 each component parts to mobile phone 400:
RF circuit 410 can be used for receiving and sending messages or in communication process, the reception of signal and transmission, especially, after being received by the downlink information of base station, process to processor 480; In addition, the up data of design are sent to base station.Usually, RF circuit includes but not limited to antenna, at least one amplifier, transceiver, coupler, low noise amplifier (LowNoiseAmplifier, LNA), duplexer etc.In addition, RF circuit 410 can also by radio communication and network and other devices communicatings.Described radio communication can use arbitrary communication standard or agreement, include but not limited to global system for mobile communications (GlobalSystemofMobilecommunication, GSM), general packet radio service (GeneralPacketRadioService, GPRS), code division multiple access (CodeDivisionMultipleAccess, CDMA), Wideband Code Division Multiple Access (WCDMA) (WidebandCodeDivisionMultipleAccess, WCDMA), Long Term Evolution (LongTermEvolution, LTE), Email, Short Message Service (ShortMessagingService, SMS) etc.
Memory 420 can be used for storing software program and module, and processor 480 is stored in software program and the module of memory 420 by running, thus performs various function application and the data processing of mobile phone 400.Memory 420 mainly can comprise storage program district and store data field, and wherein, storage program district can storage operation system, application program (such as sound-playing function, image player function etc.) etc. needed at least one function; Store data field and can store the data (such as voice data, phone directory etc.) etc. created according to the use of mobile phone 400.In addition, memory 420 can comprise high-speed random access memory, can also comprise nonvolatile memory, such as at least one disk memory, flush memory device or other volatile solid-state parts.
Input unit 430 can be used for the numeral or the character information that receive input, and generation arranges with the user of mobile phone 400 and function controls the input of relevant key signals.Particularly, input unit 430 can comprise contact panel 431 and other input equipments 432.Contact panel 431, also referred to as touch-screen, user can be collected or neighbouring touch operation (such as user uses any applicable object or the operations of annex on contact panel 431 or near contact panel 431 such as finger, stylus) thereon, and drive corresponding jockey according to the formula preset.Optionally, contact panel 431 can comprise touch detecting apparatus and touch controller two parts.Wherein, touch detecting apparatus detects the touch orientation of user, and detects the signal that touch operation brings, and sends signal to touch controller; Touch controller receives touch information from touch detecting apparatus, and converts it to contact coordinate, then gives processor 480, and the order that energy receiving processor 480 is sent also is performed.In addition, the polytypes such as resistance-type, condenser type, infrared ray and surface acoustic wave can be adopted to realize contact panel 431.Except contact panel 431, input unit 430 can also comprise other input equipments 432.Particularly, other input equipments 432 can include but not limited to one or more in physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc.
Display unit 440 can be used for the various menus showing information or the information being supplied to user and the mobile phone 400 inputted by user.Display unit 440 can comprise display floater 441, optionally, the form such as liquid crystal display (LiquidCrystalDisplay, LCD), Organic Light Emitting Diode (OrganicLight-EmittingDiode, OLED) can be adopted to configure display floater 441.Further, contact panel 431 can cover display floater 441, when contact panel 431 detects thereon or after neighbouring touch operation, send processor 480 to determine the type of touch event, on display floater 441, provide corresponding vision to export with preprocessor 480 according to the type of touch event.Although in the figure 7, contact panel 431 and display floater 441 be as two independently parts to realize input and the input function of mobile phone 400, but in certain embodiments, can by integrated to contact panel 431 and display floater 441 and realize the input and output function of mobile phone 400.
Mobile phone 400 also can comprise at least one transducer 450, such as optical sensor, motion sensor and other transducers.Particularly, optical sensor can comprise ambient light sensor and proximity transducer, and wherein, ambient light sensor the light and shade of environmentally light can regulate the brightness of display floater 441, proximity transducer when mobile phone 400 moves in one's ear, can cut out display floater 441 and/or backlight.As the one of motion sensor; accelerometer sensor can detect the size of all directions (are generally three axles) acceleration; size and the direction of gravity can be detected time static, can be used for identifying the application (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating) of mobile phone attitude, Vibration identification correlation function (such as pedometer, knock) etc.; As for mobile phone 400 also other transducers such as configurable gyroscope, barometer, hygrometer, thermometer, infrared ray sensor, do not repeat them here.
Voicefrequency circuit 460, loud speaker 461, microphone 462 can provide the audio interface between user and mobile phone 400.Voicefrequency circuit 460 can by receive voice data conversion after the signal of telecommunication, be transferred to loud speaker 461, by loud speaker 461 be converted to voice signal export; On the other hand, the voice signal of collection is converted to the signal of telecommunication by microphone 462, voice data is converted to after being received by voicefrequency circuit 460, after again voice data output processor 480 being processed, through RF circuit 410 to send to such as another mobile phone, or export voice data to memory 420 to process further.
WiFi belongs to short range wireless transmission technology, and by WiFi module 470, mobile phone 400 can help that user sends and receive e-mail, browsing page and access streaming video etc., and its broadband internet wireless for user provides is accessed.Although Fig. 7 shows WiFi module 470, be understandable that, it does not belong to must forming of mobile phone 400, can omit in the scope of essence not changing invention as required completely.
Processor 480 is control centres of mobile phone 400, utilize the various piece of various interface and the whole mobile phone of connection, software program in memory 420 and/or module is stored in by running or performing, and call the data be stored in memory 420, perform various function and the deal with data of mobile phone 400, thus integral monitoring is carried out to mobile phone.Optionally, processor 480 can comprise one or more processing unit; Preferably, processor 480 accessible site application processor and modem processor, wherein, application processor mainly processes operating system, user interface and application program etc., and modem processor mainly processes radio communication.Be understandable that, above-mentioned modem processor also can not be integrated in processor 480.
Mobile phone 400 also comprises the power supply 490(such as battery of powering to all parts), preferably, power supply can be connected with processor 480 logic by power-supply management system, thus realizes the functions such as management charging, electric discharge and power managed by power-supply management system.
Although not shown, mobile phone 400 can also comprise camera, bluetooth module etc., does not repeat them here.
In embodiments of the present invention, the processor 480 included by this subscriber equipment also has following functions:
Obtain the SIM card application toolkit STK note that person identification SIM card is sent, described STK note comprises host-host protocol user data TP-UD and is used to indicate the coded system TP-DCS of transmission protocol data of coded system of described TP-UD; Identify the coded system of described TP-UD; When the coded system indicated by the coded system of described TP-UD and described TP-DCS is inconsistent, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD.
In some embodiments of the invention, processor 480, for searching the data content of described TP-UD from preset set of bytes; According to the result of searching, determine the coded system of the data content of described TP-UD.
In some embodiments of the invention, processor 480, for searching front 7 bytes of the data content of described TP-UD from described preset set of bytes; When described front 7 bytes are all Ascii basic coding, or, when described front 7 bytes are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is uncompressed coding.
In some embodiments of the invention, processor 480, for decompressing to the data content of described TP-UD; Front 7 bytes of the data content of the described TP-UD after decompression are searched from described preset set of bytes; When front 7 bytes of the data content of the described TP-UD after described decompression are all Ascii basic coding, or, when front 7 bytes of the data content of the described TP-UD after described decompression are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is compressed encoding.
In some embodiments of the invention, whether processor 480, exist compression instruction for checking in described STK note; When there is compression instruction, the data content of described TP-UD being compressed, and revises the length of described TP-UD; When the coded system indicated by described TP-DCS is uncompressed coded system, the coded system indicated by described TP-DCS is modified as compression coding mode.
In some embodiments of the invention, processor 480, for when there is not compression instruction, when the coded system indicated by described TP-DCS is compression coding mode, is modified as uncompressed coded system by the coded system indicated by described TP-DCS.
In some embodiments of the invention, processor 480, for when the coded system indicated by described TP-DCS is uncompressed coded system, is modified as compression coding mode by the coded system indicated by described TP-DCS.
In some embodiments of the invention, processor 480, when front 7 bytes for the data content as the described TP-UD after described decompression are non-Ascii coding, determines that the coded system of described TP-UD is non-Ascii coded system; The coded system indicated by described TP-DCS is kept not change.
In some embodiments of the invention, processor 480, for according to preset language preferences order, each byte in the data content of the described TP-UD that non-Ascii is encoded, one time is searched, to determine the coded system of the data content of the described TP-UD of described non-Ascii coding in described preset set of bytes.
Consult Fig. 8, an embodiment of the data recognition system that the embodiment of the present invention provides comprises: SIM card 20, subscriber equipment 30 and server 40;
Described SIM card 20, for sending STK note to subscriber equipment;
Described subscriber equipment 30, for obtaining the SIM card application toolkit STK note that person identification SIM card is sent, described STK note comprises host-host protocol user data TP-UD and is used to indicate the coded system TP-DCS of transmission protocol data of coded system of described TP-UD; Identify the coded system of described TP-UD; When the coded system indicated by the coded system of described TP-UD and described TP-DCS is inconsistent, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD;
Described server 40, for receiving the STK note that described subscriber equipment sends, and resolves described STK note.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is that the hardware that can carry out instruction relevant by program has come, this program can be stored in a computer-readable recording medium, and storage medium can comprise: ROM, RAM, disk or CD etc.
Above the recognition methods of the data coding mode that the embodiment of the present invention provides, subscriber equipment and system are described in detail, apply specific case herein to set forth principle of the present invention and execution mode, the explanation of above embodiment just understands method of the present invention and core concept thereof for helping; Meanwhile, for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention.

Claims (13)

1. a recognition methods for data coding mode, is characterized in that, comprising:
Obtain the SIM card application toolkit STK note that person identification SIM card is sent, described STK note comprises host-host protocol user data TP-UD and is used to indicate the coded system TP-DCS of transmission protocol data of coded system of described TP-UD;
Identify the coded system of described TP-UD;
When the coded system indicated by the coded system of described TP-UD and described TP-DCS is inconsistent, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD;
Wherein, the coded system of the described TP-UD of described identification, comprising:
The data content of described TP-UD is searched from preset set of bytes;
According to the result of searching, determine the coded system of the data content of described TP-UD;
Wherein, the described data content searching described TP-UD from preset set of bytes, comprising:
Front 7 bytes of the data content of described TP-UD are searched from described preset set of bytes;
Corresponding, the result that described basis is searched, determine the coded system of the data content of described TP-UD, comprising:
When described front 7 bytes are all Ascii basic coding, or, when described front 7 bytes are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is uncompressed coding;
When described front 7 bytes are non-Ascii coding, described method also comprises:
The data content of described TP-UD is decompressed;
Front 7 bytes of the data content of the described TP-UD after decompression are searched from described preset set of bytes;
When front 7 bytes of the data content of the described TP-UD after described decompression are all Ascii basic coding, or, when front 7 bytes of the data content of the described TP-UD after described decompression are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is compressed encoding.
2. recognition methods according to claim 1, is characterized in that, described method also comprises:
Check in described STK note whether there is compression instruction;
When there is compression instruction, the data content of described TP-UD being compressed, and revises the length of described TP-UD;
Corresponding, the described coded system as described TP-UD and the coded system indicated by described TP-DCS inconsistent time, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD, comprises:
When the coded system indicated by described TP-DCS is uncompressed coded system, the coded system indicated by described TP-DCS is modified as compression coding mode.
3. recognition methods according to claim 2, it is characterized in that, when there is not compression instruction, the described coded system as described TP-UD and the coded system indicated by described TP-DCS inconsistent time, coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD, comprises:
When the coded system indicated by described TP-DCS is compression coding mode, the coded system indicated by described TP-DCS is modified as uncompressed coded system.
4. recognition methods according to claim 1, it is characterized in that, the described coded system as described TP-UD and the coded system indicated by described TP-DCS inconsistent time, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD, comprises:
When the coded system indicated by described TP-DCS is uncompressed coded system, the coded system indicated by described TP-DCS is modified as compression coding mode.
5. recognition methods according to claim 1, is characterized in that, when front 7 bytes of the data content of the described TP-UD after described decompression are non-Ascii coding, determines that the coded system of described TP-UD is non-Ascii coded system;
Corresponding, the described coded system as described TP-UD and the coded system indicated by described TP-DCS inconsistent time, the coded system indicated by described TP-DCS is modified as the coded system identical with the coded system of described TP-UD, comprises:
The coded system indicated by described TP-DCS is kept not change.
6. recognition methods according to claim 5, is characterized in that, described method also comprises:
According to preset language preferences order, each byte in the data content of the described TP-UD encoded by non-Ascii, searches one time in described preset set of bytes, to determine the coded system of the data content of the described TP-UD of described non-Ascii coding.
7. a subscriber equipment, is characterized in that, comprising:
Acquiring unit, for obtaining the SIM card application toolkit STK note that person identification SIM card is sent, described STK note comprises host-host protocol user data TP-UD and is used to indicate the coded system TP-DCS of transmission protocol data of coded system of described TP-UD;
Recognition unit, for identifying the coded system of the TP-UD that described acquiring unit obtains;
Amendment unit, time inconsistent for the coded system indicated by the coded system of the TP-UD when described recognition unit identification and described TP-DCS, is modified as the coded system identical with the coded system of described TP-UD by the coded system indicated by described TP-DCS;
Wherein, described recognition unit, comprising:
Search subelement, from preset set of bytes, search the data content of described TP-UD;
Determining subelement, for searching the result that subelement is searched described in basis, determining the coded system of the data content of described TP-UD;
Wherein, subelement is searched, for searching front 7 bytes of the data content of described TP-UD from described preset set of bytes described in;
Describedly determine subelement, for when described in search described front 7 bytes that subelement finds be all Ascii basic coding time, or, when described front 7 bytes are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is uncompressed coding;
When the non-Ascii coding of described front 7 bytes, described recognition unit also comprises:
Decompression unit, for decompressing to the data content of described TP-UD;
Describedly search subelement, for search from described preset set of bytes described decompression unit decompress after front 7 bytes of data content of described TP-UD;
Describedly determine subelement, when front 7 bytes for the data content as the described TP-UD after described decompression are all Ascii basic coding, or, when front 7 bytes of the data content of the described TP-UD after described decompression are all Ascii extended coding, determine that the coded system of the data content of described TP-UD is compressed encoding.
8. subscriber equipment according to claim 7, is characterized in that, described subscriber equipment also comprises:
Whether inspection unit, exist compression instruction for checking in described STK note;
Compression unit, when there is compression instruction for being checked through when described inspection unit, compresses the data content of described TP-UD;
Described amendment unit, for revising the length of described TP-UD, and when the coded system indicated by described TP-DCS is uncompressed coded system, is modified as compression coding mode by the coded system indicated by described TP-DCS.
9. subscriber equipment according to claim 8, is characterized in that,
, also there is not compression instruction for being checked through when described inspection unit, and when the coded system indicated by described TP-DCS is compression coding mode, the coded system indicated by described TP-DCS be modified as uncompressed coded system in described amendment unit.
10. subscriber equipment according to claim 7, is characterized in that,
Described amendment unit, for when the coded system indicated by described TP-DCS is uncompressed coded system, is modified as compression coding mode by the coded system indicated by described TP-DCS.
11. subscriber equipmenies according to claim 7, is characterized in that,
Describedly determine subelement, also for front 7 bytes of the data content as the described TP-UD after described decompression be non-Ascii encode time, determine that the coded system of described TP-UD is non-Ascii coded system.
12. subscriber equipmenies according to claim 11, is characterized in that,
Describedly determine subelement, also according to preset language preferences order, each byte in the data content of the described TP-UD encoded by non-Ascii, searches one time in described preset set of bytes, to determine the coded system of the data content of the described TP-UD of described non-Ascii coding.
13. 1 kinds of data recognition systems, is characterized in that, comprising: SIM card, subscriber equipment and server;
Described SIM card, for sending STK note to subscriber equipment;
Described subscriber equipment is the subscriber equipment described in the claims 7 ~ 12 any one;
Described server, for receiving the STK note that described subscriber equipment sends, and resolves described STK note.
CN201310148368.8A 2013-04-25 2013-04-25 The recognition methods of data coding mode, subscriber equipment and system Active CN103220647B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310148368.8A CN103220647B (en) 2013-04-25 2013-04-25 The recognition methods of data coding mode, subscriber equipment and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310148368.8A CN103220647B (en) 2013-04-25 2013-04-25 The recognition methods of data coding mode, subscriber equipment and system

Publications (2)

Publication Number Publication Date
CN103220647A CN103220647A (en) 2013-07-24
CN103220647B true CN103220647B (en) 2015-12-02

Family

ID=48818025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310148368.8A Active CN103220647B (en) 2013-04-25 2013-04-25 The recognition methods of data coding mode, subscriber equipment and system

Country Status (1)

Country Link
CN (1) CN103220647B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112929352A (en) * 2021-01-28 2021-06-08 杭州迪普科技股份有限公司 IPSec VPN negotiation method, device and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1679356A (en) * 2002-07-09 2005-10-05 高通股份有限公司 Short message conversion between different formats for wireless communication systems
US7139259B2 (en) * 2002-07-09 2006-11-21 Qualcomm, Inc. Method and apparatus for conveying reports for SMS messages in wireless communication systems
CN101345907A (en) * 2007-07-10 2009-01-14 摩托罗拉公司 Method and system for multi-casting short message

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1679356A (en) * 2002-07-09 2005-10-05 高通股份有限公司 Short message conversion between different formats for wireless communication systems
US7139259B2 (en) * 2002-07-09 2006-11-21 Qualcomm, Inc. Method and apparatus for conveying reports for SMS messages in wireless communication systems
CN101043658A (en) * 2002-07-09 2007-09-26 高通股份有限公司 Method and apparatus for conveying reports for sms messages in wireless communication systems
CN101345907A (en) * 2007-07-10 2009-01-14 摩托罗拉公司 Method and system for multi-casting short message

Also Published As

Publication number Publication date
CN103220647A (en) 2013-07-24

Similar Documents

Publication Publication Date Title
CN107066401B (en) Data transmission method based on mobile terminal architecture and mobile terminal
CN105243638B (en) A kind of method and apparatus uploading image
CN104252364A (en) Increment updating method, equipment and system
CN103746975A (en) Method of data transmission, device and mobile terminal
CN103744968A (en) Method and device for pushing information in application of terminal
CN104618794A (en) Method and device for playing video
CN103687063B (en) A kind of method of interconnection network, device and terminal equipment
CN104850507A (en) Data caching method and data caching device
CN104717341A (en) Message prompting method and terminal
CN104426963A (en) Terminal associating method and terminal
CN103678605A (en) Information transmission method and device and terminal device
CN104243538A (en) Resource sharing method and system
CN104837042A (en) Digital multimedia data encoding method and apparatus
CN103607377B (en) Information sharing method, Apparatus and system
CN105530239A (en) Multimedia data obtaining method and device
CN104735132A (en) Information inquiry method, servers and terminal
CN103246847B (en) A kind of method and apparatus of macrovirus killing
CN104952454A (en) Processing method of audio data and voice communication terminal
CN104699501A (en) Method and device for running application program
CN104836717A (en) Data processing method and apparatus, and terminal equipment
CN103686791A (en) Terminal card using condition detection method and device
CN103383701A (en) Information retrieving method, device and terminal
CN105992001A (en) Method and device for carrying out quantification processing on picture
CN105047185A (en) Method, device and system for obtaining audio frequency of accompaniment
CN104853193A (en) Video compression method, device and electronic equipment

Legal Events

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