CN104142816B - User's card and its CDMA short message analytic methods - Google Patents
User's card and its CDMA short message analytic methods Download PDFInfo
- Publication number
- CN104142816B CN104142816B CN201310170577.2A CN201310170577A CN104142816B CN 104142816 B CN104142816 B CN 104142816B CN 201310170577 A CN201310170577 A CN 201310170577A CN 104142816 B CN104142816 B CN 104142816B
- Authority
- CN
- China
- Prior art keywords
- data
- tlv
- short message
- tlv data
- user
- 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
Links
Abstract
The invention discloses a kind of user's card and its CDMA short message analytic methods, it is related to mobile communication technology field.After this method receives short message including user's card, judge whether the short message meets 0348 data structure;Short message for being unsatisfactory for 0348 data structure, triggers extension event, and calls the TLV data in the api function parsing short message of parsing type lengths values TLV data structures;The TLV data currently parsed are judged for different data contents, continues to parse next TLV data if the TLV data fits requirement currently parsed, returns to error message if it does not meet the requirements,;When the value in the TLV data for being resolved to user data part, remove message coding part therein, data conversion is carried out to remaining user data.Through the above scheme, the present invention completes the parsing of CDMA short messages.
Description
Technical field
The present invention relates to mobile communication technology field, more particularly to a kind of user's card and its CDMA(Code Division
Multiple Access, CDMA)Short message analytic method.
Background technology
At present, have in International Standard to GSM(Global System of Mobile communication, the whole world
Mobile communcations system)The USIM of net definitions(Universal Subscriber Identity Module, Global Subscriber identification
Card)API(Application Programming Interface, application programming interface)Interface, but not specifically for
The interface that cdma network application and development defines.
The data structure of GSM network and the data structure of cdma network are as far apart as heaven and earth, and messaging format is also completely different.
For example, compared with GSM message head, CDMA short message heads are TLV(Type Length Value type lengths values)Structure, a TLV
Data are mutually cascaded with another TLV data, and do not have TLV data in GSM message head.In another example with GSM message user data
To compare, CDMA short-message users data further include some additional coding informations in addition to including real user data, and
But there is no coding information in GSM message.
Due to the greatest differences between the data structure of GSM network and the data structure of cdma network, if cdma network
Application and development directly borrows the USIM api interfaces of GSM, and when use can cause CDMA application programs not read there are many problems
To CDMA short message contents.
The content of the invention
A technical problem to be solved of the embodiment of the present invention is:Solve the problems, such as the parsing of CDMA short messages.
One side according to embodiments of the present invention, proposes a kind of CDMA short messages analytic method, including:User's card receives
To after short message, judge whether the short message meets 0348 data structure;Short message for being unsatisfactory for 0348 data structure, triggering extension
Event, and call the TLV data in the api function parsing short message of parsing type lengths values TLV data structures;For different numbers
The TLV data currently parsed are judged according to content, continue to parse if the TLV data fits requirement currently parsed next
A TLV data, return to error message if it does not meet the requirements,;When the value in the TLV data for being resolved to user data part,
Remove message coding part therein, data conversion is carried out to remaining user data.
Another aspect according to embodiments of the present invention, proposes a kind of user's card, including:Short message judging unit, for connecing
After receiving short message, judge whether the short message meets 0348 data structure;Event trigger element, for for being unsatisfactory for 0348 data
The short message of structure, triggers extension event, and calls in the api function parsing short message of parsing type lengths values TLV data structures
TLV data;Short message resolution unit, for judging for different data contents the TLV data currently parsed, if worked as
The TLV data fits requirement of preceding parsing then continues to parse next TLV data, returns to error message if it does not meet the requirements,;
User data processing unit, for when the value in the TLV data for being resolved to user data part, removing message coding therein
Part, data conversion is carried out to remaining user data.
CDMA short messages of the invention for being unsatisfactory for 0348 data structure, trigger extension event, and call TLV data structures
Api function parsing short message in TLV data, the TLV data currently parsed are judged for different data contents, such as
The TLV data fits requirement that fruit currently parses then continues to parse next TLV data, returns to mistake letter if it does not meet the requirements,
Breath, when the value in the TLV data for being resolved to user data part, removes message coding part therein, to remaining user
Data carry out data conversion, so as to complete the parsing of CDMA short messages.
By referring to the drawings to the present invention exemplary embodiment detailed description, further feature of the invention and its
Advantage will be made apparent from.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
Some embodiments of invention, for those of ordinary skill in the art, without having to pay creative labor, may be used also
To obtain other attached drawings according to these attached drawings.
Fig. 1 is the flow diagram of CDMA short messages analytic method one embodiment of the present invention.
Fig. 2 is CDMA forms note data structure diagram of the present invention.
Fig. 3 is CDMA nonformats note data structure diagram of the present invention.
Fig. 4 is the flow diagram of CDMA short messages analytic method one embodiment of the present invention.
Fig. 5 is the reference view of application program of intelligent card running environment of the present invention.
Fig. 6 is the structure diagram for user's card that the present invention parses CDMA.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.Below
Description only actually at least one exemplary embodiment is illustrative, is never used as to the present invention and its application or makes
Any restrictions.Based on the embodiments of the present invention, those of ordinary skill in the art are not making creative work premise
Lower all other embodiments obtained, belong to the scope of protection of the invention.
Due to the greatest differences between the data structure of GSM network and the data structure of cdma network, if cdma network
Application and development directly borrows the USIM api interfaces of GSM, and when use can cause CDMA application programs not read there are many problems
To CDMA short message contents, for this reason, the present invention proposes a kind of CDMA short messages analytic method.
Fig. 1 is the flow diagram of CDMA short messages analytic method one embodiment of the present invention.
As shown in Figure 1, the CDMA short message analytic methods of the present embodiment comprise the following steps:
Step 101, after user's card receives short message, judge whether the short message meets 0348 data structure;
Specifically, which can be parsed according to 0348 data structure, if successfully resolved, which meets
0348 data structure, if parsing failure, the short message are unsatisfactory for 0348 data structure.
Wherein, user's card of the invention for example can be LTE smart cards.
Step 102, for being unsatisfactory for the short message of 0348 data structure, namely CDMA short messages, extension event is triggered, and call
Parse TLV(Type lengths values)TLV data in the api function parsing short message of data structure;
Wherein, the short message of 0348 data structure, namely CDMA short messages are unsatisfactory for, including:Point-to-point note and Cell Broadcast CB
Short message.
Step 103, the TLV data currently parsed are judged for different data contents, if currently parse
The requirement of TLV data fits then continues to parse next TLV data, returns to error message if it does not meet the requirements,;
Step 104, when the value in the TLV data for being resolved to user data part, message coding part therein is removed
(MSG_ENCODING), to remaining user data(Namely real user data part)Data conversion is carried out, for example, can be with
It is hexadecimal data by Binary Conversion.
Wherein, step 103 can specifically be directed to different data contents to the label in the TLV data that currently parse
(TAG)Judged, continued if the label in the TLV data currently parsed meets the requirement of current data content under parsing
One TLV data, returns to error message if the requirement for not meeting current data content.
The analytic method of the present invention can be adapted for the form short message and nonformat short message of CDMA.With reference to shown in Fig. 2
CDMA form note data structure diagrams and Fig. 3 shown in CDMA nonformat short message structure diagrams, provide a kind of example
The CDMA short message analytic methods of property.
Here the note in Fig. 2 and Fig. 3 is illustrated first.note1:Length byte herein may be 1 byte,
May also be 2 bytes(Length is then a byte less than or equal to 0x7F, and then length is added for 0X81 more than 0X7F).Such as
Fruit is wall scroll short message, this byte is the length of TPDU in this short message;If cascade short message, then the field is short for the cascade of each bar
Believe the total length of TPDU data combination.note2:Length byte herein is a byte.If wall scroll short message, this byte is
Carrying data length in this short message, if cascade short message, then this byte is finally to receive the length that short message carries data,
This field is without concrete meaning, to fill field, to keep data consistency.note3:Length byte herein may be 1 word
Section, 2 bytes, it is also possible to be 3 bytes(Length is then a byte less than or equal to 0X7F, is then 0X81 more than 0X7F
Plus a length byte, more than 0XFF, then two byte lengths are added for 0X82), if wall scroll short message, this byte is for this
User Data Length in bar short message;If cascade short message, then the field is the total of each bar cascade short-message users data combination
Length.note4:Coding mode byte herein, preserves the data coding mode of C nets, wherein low 5 bit is truthful data, and
High 3 bit is growth data.
Referring to Fig. 4, CDMA short messages(Including CDMA forms short message and CDMA nonformat short messages)Analytic method includes following step
Suddenly:
Step 401, first TLV data of the short message are parsed, judge whether the label in first TLV data is D1,
If D1, then the requirement of first TLV data fit, continues to parse next TLV data, if not D1, then first TLV
Data are undesirable, return to error message;
Step 402, if first TLV data fits requirement, continues the TLV data of analyzing device identification division, judge
Whether the label in the TLV data of device identification part is 82, if 82, then the TLV data fits of device identification part will
Ask, continue to parse next TLV data, if not 82, then the TLV data of device identification part are undesirable, return wrong
False information;
Step 403, if the TLV data fits requirement of device identification part, continues to parse SMS message transmission protocol data list
The TLV data of first part, judge whether the label in the TLV data of SMS message transmission Protocol Data Units Section is C8, if
The TLV data fits requirement of C8, then SMS message transmission Protocol Data Units Section, continue to parse next TLV data, if not
C8, then the TLV data of SMS message transmission Protocol Data Units Section are undesirable, return to error message;
Step 404, if the TLV data fits requirement of SMS message transmission Protocol Data Units Section, parsing carrying number is continued
According to the TLV data of part, whether the label for judging to carry in the TLV data of data portion is 08, if 08, then carry data
Partial TLV data fits requirement, continues to parse next TLV data, if not 08, then carries the TLV numbers of data portion
According to undesirable, return error message;
Step 405, if the TLV data fits requirement of carrying data portion, continue to parse the TLV numbers of user data part
According to, judge whether the label in the TLV data of user data part is 01, if 01, then TLV data of user data part
Meet the requirements, continue to parse the value in the TLV data of user data part, if not 01, then TLV numbers of user data part
According to undesirable, return error message.
Fig. 5 is application program of intelligent card running environment of the present invention(Abbreviation CARE)Reference view.CARE is attached to
LTE JAVA smart card running environments(Abbreviation JCRE)On, it is primarily used to management Toolkit Applet, i.e. LTE JAVA
Application of IC cards.
As shown in figure 5, in original uicc.access package(uicc(Universal Integrated
Circuit Card, Universal Integrated Circuit Card)Access bag)、uicc.tookit package(Uicc instrument luggages)With
uicc.system package(Uicc system bags)On the basis of, invention also defines uicc.csim.access
package(Uicc csim access bag)、uicc.csim.tookit package(Uicc csim instrument luggages)、CCAT
Framework(CCAT frames)With CCAT EnvelopHander(CCAT Envelop handles).Wherein, CCAT Runtime
EnvelopHander(Envelop handles when CCAT is run)Including Tookit Handlers(Tool box handle)、Tookit
registry(Register in tool box)And Triggering Entity(Tool box entity).csim(CDMA Subscriber
Identity Module, CDMA subscriber identification modules)Card, is user's card based on UICC architecture platforms.Envelop is one
Kind Envelope command(The order of pp-download).
The correlation of the file access of main definitions LTE JAVA smart cards is normal in Uicc.csim.access package
Amount.Uicc.csim.toolkit package are including CCATEnvelopeHander(CSIM processing is defined to preserve
The interface of Envelope data)、CCATEnvelopeHanderSystem(Define and obtain CCATEnvelopeHandler's
Method)、CATTerminalProfile(Define the CDMA SMS datas for Terminal Profile)、
ToolkitConstants(Define the related TAG constants of C net Envelope data)Several bags, main definitions LTE JAVA
Intelligent card in processing preserves the interface of Envelope data.EnvelopHandle bags are mainly for the treatment of the data from server
Information, applies and locates, it is necessary to which cdma short messages are distributed to when LTE JAVA intelligent cards receive the cdma short messages from server
Reason, it is necessary to data are stored in EnvelopHandler, the data content in analytic application EnvelopHandler before distribution,
And process.
User's card(Such as LTE JAVA smart cards)Processing is needed to be unsatisfactory for the short of 0348 data structure from server
Letter, then need to install a toolkit applet on card(Toolkit application, follow-up abbreviation applet), this toolkit
Applet is needed for the short message registration extension event for being unsatisfactory for 0348 data structure, and as table 1 shows, it is which that record is needed in card
Applet registers this event, so needing Case Number, event is associated with applet.For example, EVENT_
The numbering of UNFORMATTED_SMS_PP_ENV events is 4.The short message of 0348 data structure is unsatisfactory for when card receives, from association
The applet of registration extension event is found in table, short message content is passed to by applet by EnvelopHandler, processing is short
Believe content.Short message content is stored in EnvelopHandler by system, and applet parses short message content by certain methods.Than
Such as:Applet may need to obtain the information such as length of user data in short message, so defining method
CCATEnvelopeHander.getSecuredDataLength (), toolkit applet can call the method to get
The User Data Length of short message.
Table 1
When user's card receives Envelop(A kind of Envelope command)Or the UpdateRecord of EFsms files(Update number
According to)When, which can trigger CARE layers of command analysis module by current short message APDU(Application Protocol Data Unit)Copy to
The Buffer of CCATEnvelopHandler(Buffer)In, and trigger Envelop data analysis modules;Envelop data point
It is ENV to analyse module and distinguished for command source(Finger passes through Envelop downlinks)Or UPD(Refer to and pass through under UpdateRecord
OK);Then order structure is disassembled, analysis is SMS_PP(Point-to-point note)Or SMS_CB(Cell Broadcast CB), respectively
Parsed according to 0348 structure;Get the TAR of corresponding downlink data(Tool application bag refers to)If TAR is registered,
Whether parsing meets 0348 data structure, if meeting and having passed through 0348 structure inspection, constructs standard Event, and call phase
The ProcessToolkit functions parsing short message answered.If being unsatisfactory for 0348 structure, non-standard event is constructed(Or extension thing
Part), and call corresponding ProcessToolkit functions parsing short message.Specific solution for the short message for being unsatisfactory for 0348 structure
Analysis process may be referred to abovementioned steps 103, and the associated description of step 401~405, and which is not described herein again.
Fig. 6 is the structure diagram for user's card that the present invention parses CDMA.The user's card for example can be
LTE smart cards.
As shown in fig. 6, user's card of the present embodiment includes:
Short message judging unit 601, after receiving short message, judges whether the short message meets 0348 data structure;
Event trigger element 602, for the short message for being unsatisfactory for 0348 data structure(Including:Point-to-point note and small
Broadcast short message in area), extension event is triggered, and call in the api function parsing short message of parsing type lengths values TLV data structures
TLV data;
Short message resolution unit 603, for judging for different data contents the TLV data currently parsed, such as
The TLV data fits requirement that fruit currently parses then continues to parse next TLV data, returns to mistake letter if it does not meet the requirements,
Breath;
User data processing unit 604, for when the value in the TLV data for being resolved to user data part, removing it
In message coding part, to remaining user data carry out data conversion.
Wherein, short message resolution unit 603 can specifically be directed to different data contents in the TLV data that currently parse
Label is judged, is continued if the label in the TLV data currently parsed meets the requirement of current data content under parsing
One TLV data, returns to error message if the requirement for not meeting current data content.
A kind of exemplary embodiment, short message resolution unit 603 specifically can be used for:
First TLV data of the short message are parsed, judge whether the label in first TLV data is D1, if D1,
Then first TLV data fit requirement, continues to parse next TLV data, and if not D1, then first TLV data is not inconsistent
Close and require, return to error message;
If first TLV data fits requirement, continues the TLV data of analyzing device identification division, judges device identification
Whether the label in partial TLV data is 82, if 82, then the TLV data fits requirement of device identification part, continues to solve
Next TLV data are analysed, if not 82, then the TLV data of device identification part are undesirable, return to error message;
If the TLV data fits requirement of device identification part, continues to parse SMS message transmission Protocol Data Units Section
TLV data, judge whether the label in the TLV data of SMS message transmission Protocol Data Units Section is C8, if C8, then short message
The TLV data fits requirement of Transmission Protocol Data Unit part, continues to parse next TLV data, if not C8, then short message
The TLV data of Transmission Protocol Data Unit part are undesirable, return to error message;
If the TLV data fits requirement of SMS message transmission Protocol Data Units Section, continues parsing carrying data portion
TLV data, whether the label for judging to carry in the TLV data of data portion is 08, if 08, then carry data portion
The requirement of TLV data fits, continues to parse next TLV data, and if not 08, then the TLV data for carrying data portion are not inconsistent
Close and require, return to error message;
If carrying the TLV data fits requirement of data portion, continue to parse the TLV data of user data part, judge
Whether the label in the TLV data of user data part is 01, if 01, then the TLV data fits of user data part will
Ask, continue to parse the value in the TLV data of user data part, if not 01, then the TLV data of user data part are not inconsistent
Close and require, return to error message.
Wherein, short message judging unit 601 is specifically used for:The short message is parsed according to 0348 data structure, if solution
Analyse successfully, then the short message meets 0348 data structure, if parsing failure, the short message are unsatisfactory for 0348 data structure.
User's card proposed by the present invention and its parsing scheme to CDMA short messages, to being unsatisfactory for 0348 data structure
CDMA short messages, trigger extension event, the TLV data in the api function parsing short message of TLV data structures are called, for different
Data content judges the TLV data currently parsed, continues if the TLV data fits requirement currently parsed under parsing
One TLV data, returns to error message if it does not meet the requirements, when the value being resolved in the TLV data of user data part
When, remove message coding part therein, data conversion is carried out to remaining user data, so as to complete the solution of CDMA short messages
Analysis.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment
To complete, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only storage, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent replacement, improvement and so on, should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of CDMA short messages analytic method, including:
After user's card receives short message, judge whether the short message meets 0348 data structure;
Short message for being unsatisfactory for 0348 data structure, triggers extension event, and calls parsing type lengths values TLV data structures
Application programming interface api function parsing short message in TLV data;
The TLV data currently parsed are judged for different data contents, if the TLV data fits currently parsed will
Ask, continue to parse next TLV data, return to error message if it does not meet the requirements,;
When the value in the TLV data for being resolved to user data part, remove message coding part therein, to remaining user
Data carry out data conversion;
The short message for being unsatisfactory for 0348 data structure, triggers extension event, and calls parsing type lengths values TLV data
TLV data in the application programming interface api function parsing short message of structure include:
User's card is directed to the short message registration extension event for being unsatisfactory for 0348 data structure by toolkit application;
Associating for the extension event and the toolkit application is established by Case Number;
According to the association, the short message for being unsatisfactory for 0348 data structure is passed into the toolkit application and is parsed.
2. according to the method described in claim 1, it is characterized in that, it is described for different data content to currently parsing
TLV data are judged, continue to parse next TLV data if the TLV data fits requirement currently parsed, if be not inconsistent
Close and require then return error message to include:
The label in the TLV data that currently parse is judged for different data contents, if the TLV numbers currently parsed
The requirement that label in meets current data content then continues to parse next TLV data, if do not met in current data
The requirement of appearance then returns to error message.
3. according to the method described in claim 2, it is characterized in that, it is described for different data content to currently parsing
Label in TLV data is judged, if the label in the TLV data currently parsed meets the requirement of current data content
Continue to parse next TLV data, error message is returned if the requirement for not meeting current data content to be included:
First TLV data of the short message are parsed, judge whether the label in first TLV data is D1, if D1, then
One TLV data fits requirement, continues to parse next TLV data, and if not D1, then first TLV data, which is not met, wants
Ask, return to error message;
If first TLV data fits requirement, continues the TLV data of analyzing device identification division, judges device identification part
TLV data in label whether be 82, if 82, then the TLV data fits requirement of device identification part, continues under parsing
One TLV data, if not 82, then the TLV data of device identification part are undesirable, return to error message;
If the TLV data fits requirement of device identification part, continues to parse the TLV numbers of SMS message transmission Protocol Data Units Section
According to, judge whether the label in the TLV data of SMS message transmission Protocol Data Units Section is C8, if C8, then SMS message transmission
The TLV data fits requirement of Protocol Data Units Section, continues to parse next TLV data, if not C8, then SMS message transmission
The TLV data of Protocol Data Units Section are undesirable, return to error message;
If the TLV data fits requirement of SMS message transmission Protocol Data Units Section, continues the TLV numbers of parsing carrying data portion
According to whether the label for judging to carry in the TLV data of data portion is 08, if 08, then carries the TLV data of data portion
Meet the requirements, continue to parse next TLV data, if not 08, then it is undesirable to carry the TLV data of data portion,
Return to error message;
If carrying the TLV data fits requirement of data portion, continue to parse the TLV data of user data part, judge user
Whether the label in the TLV data of data portion is 01, if 01, then the TLV data fits requirement of user data part, after
Value in the TLV data of continuous parsing user data part, if not 01, then the TLV data of user data part, which are not met, wants
Ask, return to error message.
4. according to the method described in claim 1, it is characterized in that, described judge whether the short message meets 0348 data structure bag
Include:
The short message is parsed according to 0348 data structure, if successfully resolved, which meets 0348 data structure, such as
Fruit parsing failure, then the short message is unsatisfactory for 0348 data structure.
5. according to the method described in claim 1, it is characterized in that, the short message for being unsatisfactory for 0348 data structure includes:Point
To a short message and Cell Broadcast CB short message.
6. a kind of user's card, including:
Short message judging unit, after receiving short message, judges whether the short message meets 0348 data structure;
Event trigger element, for the short message for being unsatisfactory for 0348 data structure, triggers extension event, and call parsing type
TLV data in the api function parsing short message of length value TLV data structures;
Short message resolution unit, for judging for different data contents the TLV data currently parsed, if current solution
The TLV data fits requirement of analysis then continues to parse next TLV data, returns to error message if it does not meet the requirements,;
User data processing unit, for when the value in the TLV data for being resolved to user data part, removing message therein
Coded portion, data conversion is carried out to remaining user data;
Wherein, the event trigger element is directed to the short message registration extension thing for being unsatisfactory for 0348 data structure by toolkit application
Part, establishes associating for the extension event and the toolkit application by Case Number, according to the association, will be unsatisfactory for
The short message of 0348 data structure passes to the toolkit application and is parsed.
7. user's card according to claim 6, it is characterised in that the short message resolution unit is specifically used for:
The label in the TLV data that currently parse is judged for different data contents, if the TLV numbers currently parsed
The requirement that label in meets current data content then continues to parse next TLV data, if do not met in current data
The requirement of appearance then returns to error message.
8. user's card according to claim 7, it is characterised in that the short message resolution unit is specifically used for:
First TLV data of the short message are parsed, judge whether the label in first TLV data is D1, if D1, then
One TLV data fits requirement, continues to parse next TLV data, and if not D1, then first TLV data, which is not met, wants
Ask, return to error message;
If first TLV data fits requirement, continues the TLV data of analyzing device identification division, judges device identification part
TLV data in label whether be 82, if 82, then the TLV data fits requirement of device identification part, continues under parsing
One TLV data, if not 82, then the TLV data of device identification part are undesirable, return to error message;
If the TLV data fits requirement of device identification part, continues to parse the TLV numbers of SMS message transmission Protocol Data Units Section
According to, judge whether the label in the TLV data of SMS message transmission Protocol Data Units Section is C8, if C8, then SMS message transmission
The TLV data fits requirement of Protocol Data Units Section, continues to parse next TLV data, if not C8, then SMS message transmission
The TLV data of Protocol Data Units Section are undesirable, return to error message;
If the TLV data fits requirement of SMS message transmission Protocol Data Units Section, continues the TLV numbers of parsing carrying data portion
According to whether the label for judging to carry in the TLV data of data portion is 08, if 08, then carries the TLV data of data portion
Meet the requirements, continue to parse next TLV data, if not 08, then it is undesirable to carry the TLV data of data portion,
Return to error message;
If carrying the TLV data fits requirement of data portion, continue to parse the TLV data of user data part, judge user
Whether the label in the TLV data of data portion is 01, if 01, then the TLV data fits requirement of user data part, after
Value in the TLV data of continuous parsing user data part, if not 01, then the TLV data of user data part, which are not met, wants
Ask, return to error message.
9. user's card according to claim 6, it is characterised in that the short message judging unit is specifically used for:
The short message is parsed according to 0348 data structure, if successfully resolved, which meets 0348 data structure, such as
Fruit parsing failure, then the short message is unsatisfactory for 0348 data structure.
10. user's card according to claim 6, it is characterised in that the short message bag for being unsatisfactory for 0348 data structure
Include:Point-to-point note and Cell Broadcast CB short message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310170577.2A CN104142816B (en) | 2013-05-10 | 2013-05-10 | User's card and its CDMA short message analytic methods |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310170577.2A CN104142816B (en) | 2013-05-10 | 2013-05-10 | User's card and its CDMA short message analytic methods |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104142816A CN104142816A (en) | 2014-11-12 |
CN104142816B true CN104142816B (en) | 2018-05-15 |
Family
ID=51852000
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310170577.2A Active CN104142816B (en) | 2013-05-10 | 2013-05-10 | User's card and its CDMA short message analytic methods |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104142816B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116033064B (en) * | 2022-05-30 | 2023-10-20 | 荣耀终端有限公司 | Card display method, electronic device and readable storage medium |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101014059A (en) * | 2007-01-11 | 2007-08-08 | 上海柯斯软件有限公司 | Method for storing and extending data information of electric phone book |
CN101287174A (en) * | 2008-05-29 | 2008-10-15 | 北京握奇数据系统有限公司 | Smart card and short message sending method thereof, communication method and system between the smart cards |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100505743C (en) * | 2003-12-12 | 2009-06-24 | 华为技术有限公司 | Method for realizing general message interpreter |
CN101197759A (en) * | 2006-12-04 | 2008-06-11 | 中兴通讯股份有限公司 | Label distribution device used for informing upper course to distribute label in label distribution protocol |
-
2013
- 2013-05-10 CN CN201310170577.2A patent/CN104142816B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101014059A (en) * | 2007-01-11 | 2007-08-08 | 上海柯斯软件有限公司 | Method for storing and extending data information of electric phone book |
CN101287174A (en) * | 2008-05-29 | 2008-10-15 | 北京握奇数据系统有限公司 | Smart card and short message sending method thereof, communication method and system between the smart cards |
Non-Patent Citations (1)
Title |
---|
基于CDMA网络的短信中间件研究与实现;赵美丽;《中国优秀硕士学位论文全文数据库 信息科技辑》;20090115(第1期);正文第26-28页 * |
Also Published As
Publication number | Publication date |
---|---|
CN104142816A (en) | 2014-11-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104412565B (en) | For relating to the method that the socket of bearer independent protocol manages | |
CN111552838B (en) | Data processing method and device, computer equipment and storage medium | |
CN103297936B (en) | Store the method and device of short message | |
CN111970353A (en) | Data processing method and device for heterogeneous equipment in Internet of things of cloud computing platform | |
CN109672580A (en) | Full link monitoring method, apparatus, terminal device and storage medium | |
CN102999337A (en) | Browser packaging system and method | |
CN109582655B (en) | Method and device for positioning system log and computer readable storage medium | |
CN106790206A (en) | The protocol analysis method and device of operation system | |
CN107105428A (en) | The method and device in quick completion end message storehouse | |
CN108076017A (en) | The protocol analysis method and device of a kind of data packet | |
CN106941501A (en) | A kind of data communications method and device | |
CN106843818B (en) | Business model generation method and device | |
CN106681734A (en) | Response method and device for function interface call | |
CN106033551B (en) | Data analysis method, apparatus and system | |
CN108989365B (en) | Information processing method, server, terminal equipment and storage medium | |
CN104142816B (en) | User's card and its CDMA short message analytic methods | |
CN110505069A (en) | It is a kind of to generate the method and device for customizing ticket | |
CN109559121A (en) | Transaction path calls exception analysis method, device, equipment and readable storage medium storing program for executing | |
CN110489207A (en) | Verification method, apparatus and computer readable storage medium | |
CN110414651A (en) | Debug the method and device of smart card | |
CN107436929A (en) | Expandable mark language XML document analysis method and device | |
CN107894973A (en) | A kind of method for interchanging data and system based on XML | |
CN102571541A (en) | Message encoding-decoding method and device | |
CN108845995A (en) | Data processing method, device, storage medium and electronic device | |
CN105577462A (en) | Mobile device flow statistical method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |