CN101227645B - Method for implementing short message receiving based on client recognition module - Google Patents

Method for implementing short message receiving based on client recognition module Download PDF

Info

Publication number
CN101227645B
CN101227645B CN2008100066747A CN200810006674A CN101227645B CN 101227645 B CN101227645 B CN 101227645B CN 2008100066747 A CN2008100066747 A CN 2008100066747A CN 200810006674 A CN200810006674 A CN 200810006674A CN 101227645 B CN101227645 B CN 101227645B
Authority
CN
China
Prior art keywords
short message
portable terminal
sim card
processing module
instruction
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.)
Expired - Fee Related
Application number
CN2008100066747A
Other languages
Chinese (zh)
Other versions
CN101227645A (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN2008100066747A priority Critical patent/CN101227645B/en
Publication of CN101227645A publication Critical patent/CN101227645A/en
Application granted granted Critical
Publication of CN101227645B publication Critical patent/CN101227645B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a process for realizing the reception of short-messages based on a client recognizing module, which increases a data file which is used to store the state of the short-message in an SIM card in advance, then conducts the following steps that a mobile terminal receives a new short-message, a short-message processing module sends the arrival notice of the new short-message to the SIM card through a driving module of the SIM card, the short-message reception processing module inquires the state of the short-message after receiving the arrival notice of the new short-message, judges whether permits the mobile terminal to receive the new short-message according to the inquired result, and returns the answer instruction to the mobile terminal, and the mobile terminal processes the new short-message which is received according to the answer instruction which is returned by the SIM card. The invention realizes the control that the mobile phone user who has run out of the cost continuously uses the network resources, thereby providing a new value-added service for operation business the agents.

Description

Realize the method that short message receives based on client identification module
Technical field
The present invention relates to field of mobile communication, refer more particularly to based on SIM (Subscriber Identity Model, client identification module) and realize the method that portable terminal (for example personal hand-held phone) short message receives.
Background technology
In GSM standard, the method by SIM card control transmitting short message by mobile terminal only is provided at present, and has defined the corresponding standard order, but order or the method that receives by SIM card control mobile terminal short message is not provided; This may be that general networking operator receives the reason of all carrying out free policy to short message.If do not receive but do not control short message, then can cause the network user still can use the subnetwork resource at the state that expense uses up, perhaps need network to increase additive method and handle this class user.If can control the reception of short message, then may expand some new functions satisfying the demand of particular client, as the visiting client's of short-term demand, can provide a kind of value-added service for operator or agent, increase new particular client group.
Summary of the invention
The objective of the invention is to propose a kind ofly to realize the method that short message receives, in order to the problem that resource that the user that exists in the prior art still can utilize network to provide under the arrearage state obtains information and service to be provided based on client identification module.
In order to realize the foregoing invention purpose, the present invention specifically is achieved in that
Realize the method that short message receives based on client identification module, in SIM card, increase the state of a data file in advance, carry out following steps then in order to save short message:
Step 1, portable terminal are received new short message, and its short message receives processing module and sends the notice that new short message arrives by the SIM card driver module to SIM card;
Step 2, after the short message reception processing module of SIM card is received the notice of short message arrival, the state of inquiry short message;
Step 3, the receiving processing module of SIM card judges whether to allow portable terminal to receive new short message according to the result of inquiry, and instructs to the portable terminal echo reply;
Step 4, portable terminal are replied instruction according to what SIM card was returned, and the short message that receives is handled.
Connect above-mentioned scheme, in the described step 4, described portable terminal carries out following treatment step before the short message that receives is handled:
The SIM card driver module of portable terminal receives that SIM card returns reply instruction after, resolve replying instruction, judge to reply whether comprise short message acknowledgement type sign in the instruction, if comprise, then the SIM card driver module of portable terminal will be replied and be instructed the receiving processing module of sending into portable terminal to handle, otherwise, do not comprise, then will reply and instruct the foreground application module of sending into portable terminal to handle.
Wherein, in the described step 4, described portable terminal is handled the short message of receiving, specifically comprises the steps:
Step 401, the receiving processing module of described portable terminal is resolved the instruction of replying of the SIM card transmission of portable terminal, judges whether reply instruction allows to receive new short message, if, then change step 402 over to, otherwise, change step 403 over to;
Step 402, the foreground application processing module of the receiving processing module notice portable terminal of portable terminal is preserved current short message to inbox;
Step 403, the receiving processing module notice SMS short message module of portable terminal abandons current new short message.
In the described method that receives based on client identification module realization short message, described data file comprises parameter, and isMsgAllowed is in order to represent the current new short message that whether allows to receive; ChargeBalance is in order to preserve current charging balance amount information.
Wherein, if the short-and-medium condition of information of instruction of replying that the receiving processing module of described SIM card returns receives new short message for allowing, then revise the value of parameters C hargeBalance.
Wherein, if the value of parameters C hargeBalance is 0 or is lower than minimum threshold that then modification is replied the short-and-medium condition of information of instruction for not allowing to receive new short message.
In the described method that receives based on client identification module realization short message, the short message of described portable terminal receives processing module sends new short message arrival to SIM card by the ENVELOPE instruction that is provided with notice.
The present invention is by increasing the treatment step that portable terminal is received the control of short message in portable terminal and SIM, realized that mobile phone users that expense has been used up continues to use Internet resources to obtain the control of information, service, thereby provide a kind of new value-added service for operator and agent.
Description of drawings
Fig. 1 is the software architecture figure that portable terminal and SIM card short message receive processing module;
Fig. 2 is the flow chart of portable terminal and SIM card interaction process in the short message reception process.
Embodiment
Basic fundamental thought of the present invention is, according in the GSM standard to the definition of the control command that sends SMS message, order is expanded to GSM standard, in the middle of portable terminal and SIM card, increase the order that a self-defining control short message receives, be used between portable terminal and SIM card, transmitting short message and receive request-reply information, portable terminal is received the control of short message to realize SIM card.Receiving in processing module and the SIM card at the short message of portable terminal simultaneously increases this process of commands step.
The present invention is described in detail below in conjunction with the drawings and specific embodiments.
As shown in Figure 1, increase the state of a data file in order to save short message in SIM card, the state of described short message comprises, allows to receive new short message and do not allow to receive new short message; Whether SIM card can receive short message according to the state of the short message of preserving in the data file to portable terminal is judged and then notifies portable terminal.Judge whether portable terminal can receive short message, just do not abandon new short message if do not allow to receive new short message, otherwise just can receive new short message.
As shown in Figure 2, the main performing step of the specific embodiment of the invention is as follows:
Increase the state of a data file in order to save short message in advance in SIM card, according to the state of the short message of preserving, whether SIM card can receive short message to current mobile phone users is judged.
The described state of a data file that in SIM card, increase in advance in order to save short message, it specifically is the data file of the state that saves short message of a non-GSM standard of definition on SIM card, for example at a new data file of the free space part 0xE1A1 location definition EFMSGMT of SIM card, this document comprises 2 parameters, a parameter is Bool type isMsgAllowed, in order to represent the current new short message that whether allows to receive, represent not allow when value is FALSE (=0), represent when being worth to allow for TRUE (=1); Another parameter is that data type is the floating number ChargeBalance of 4 Bytes, in order to preserve current charging balance amount information.
S201, portable terminal receive new short message;
S202, the short message of portable terminal receives processing module and sends the notice that new short message arrives by the SIM card driver module to SIM card.
Portable terminal has new short message to arrive by self-defining order ENVELOPE (MT SHORT MESSAGECONTROL) notice SIM card, so that SIM card judges whether to allow to receive, the form of order ENVELOPE can see table with reference to the GSM standard form:
Description Section M/O Min Length
MT?Short?Message?control?tag Self-defining value " D9 " M Y 1
Length(A+B+C+D) - M Y 1or?2
Device?identities 12.7 M Y A
Address?data?object?1 12.1 M Y B
Address?data?object?2 12.1 M Y C
Location?infornation 12.19 M Y D
Order ENVELOPE mainly comprises:
Command type sign MT Short Message control tag
Order length L ength, device identification Device identities
Source address Address data object 1
Destination address Address data object 2
Positional information Location information
Wherein the value of command type sign MT Short message control tag is decided to be " D9 ", and the value " D5 " of the MO Short message control tag in the reference standard is only used " D0 "-" D6 " in the standard at present.
In addition, the form of order ENVELOPE also can adopt the original order of GSM standard ENVELOPE (MO SHORT MESSAGE CONTROL), just the form of this order is made amendment, in order, increase a parameter Msg Type, be used for distinguishing that the current command represents is to receive short message or send SMS message; Just carry out existing transmission flow if send SMS message,, carry out new short message and receive handling process if receive short message then.
The short message of described portable terminal receives processing module, be used for realizing short message is received the relevant treatment of control, can send the notice that new short message arrives to SIM card by self-defining order, and can treatment S the IM card return reply instruction, the function of this module specifically is to realize by the independent task ME_MsgReceive_Task that is provided with on portable terminal.
When portable terminal was received new short message, ME_MsgReceive_Task task structure was ordered ENVELOPE (MO SHORT MESSAGE CONTROL) and is sent to SIM card by SIM card driver module shown in Figure 1.
S203, after the short message reception processing module of SIM card is received the notice of short message arrival, the state of inquiry short message.
S204, the receiving processing module of SIM card judges whether to allow portable terminal to receive new short message according to the result of inquiry, and to the instruction of portable terminal echo reply, if the state of short message then changes S205 over to for not allowing to receive new short message, otherwise, change S207 over to.
Described SIM card is replied instruction to what portable terminal returned, can comprise with reference to the GSM standard form,
Short message acknowledgement type sign MT short message control tag
MT short message control result as a result
Data length Length
Source address Address data object 1
Destination address Address data object 2
Wherein the value defined of short message acknowledgement type sign MT short message control result is as follows:
' 00 '=do not allow to receive new short message
' 01 '=the new short message of permission reception
In S204, if inquire the state of short message for not allowing to receive new short message, be isMsgAllowed=FALSE, then SIM card receiving processing module structure returns the instruction of replying of portable terminal, and the value of field MT short message control result is made as ' 00 '.If the state that inquires short message is for allowing to receive new short message, be isMsgAllowed=TRUE, then SIM card receiving processing module structure returns the instruction of replying of portable terminal, the value of MT short message control result is made as ' 01 ', SIM card is according to the certain current charging balance amount information of rules modification ChargeBalance simultaneously, if the value of ChargeBalance reaches minimum threshold system or be 0.0, then the value of isMsgAllowed is made as FALSE, same SIM card receiving processing module structure returns the instruction of replying of portable terminal, the value of MT shortmessage control result is made as ' 00 '.
S205 is the instruction of replying that does not allow to receive new short message if the receiving processing module of SIM card sends to portable terminal.
S206, portable terminal receive SIM card reply instruction after, abandon current new short message, the notice that the concurrent short message that makes new advances has abandoned.
S207 is the instruction of replying that allows to receive new short message if the SIM card receiving processing module sends to portable terminal.
S208, portable terminal receive SIM card reply instruction after, preserve current new short message to inbox, and send the notice that short message has received.
Among the described S204, the SIM card driver module of described portable terminal receives that the SIM card receiving processing module returns reply instruction after, at first the instruction header data is resolved, if reply and comprise short message acknowledgement type sign MT short message control tag in the instruction, then be distributed to the processing of ME_MsgReceive_Task task replying instruction, otherwise, issue the foreground application module of portable terminal and do the standard commands processing.
Described ME_MsgReceive_Task task receives that the SIM card receiving processing module returns reply instruction after, instruction is replied in parsing, if reply in the instruction MT short message control result and be ' 00 ', then notify the SMS short message module to abandon current new short message, and the new short message of informing network abandon; If reply in the instruction MT short message control result and be ' 01 ', expression allows to receive new short message, then notify portable terminal foreground short message application processing module to preserve current new short message, and the new short message of informing network receive to inbox.
Certainly; the present invention also can have other various embodiments; under the situation that does not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make various corresponding changes and distortion according to the present invention, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (5)

1. realize the method that short message receives based on client identification module, it is characterized in that: in the client identification module SIM card, increase the state of a data file in advance in order to save short message, described data file comprises parameter, isMsgAllowed, in order to represent the current new short message that whether allows to receive, ChargeBalance is in order to preserve current charging balance amount information, if the value of parameters C hargeBalance is 0 or is lower than minimum threshold, then the value of isMsgAllowed is made as FALSE, expression does not allow to receive new short message; Carry out following steps then:
Step 1, portable terminal are received new short message, and its short message receives processing module and sends the notice that new short message arrives by the SIM card driver module to SIM card;
Step 2, after the short message reception processing module of SIM card is received the notice of short message arrival, the state of inquiry short message;
Step 3, the short message of SIM card receives processing module and judges whether to allow portable terminal to receive new short message according to the result who inquires about, if do not allow to receive new short message, then revise and reply the short-and-medium condition of information of instruction for not allowing to receive new short message, and return the described instruction of replying to portable terminal;
Step 4, portable terminal are replied instruction according to what SIM card was returned, and the short message that receives is handled.
2. the method that receives based on client identification module realization short message as claimed in claim 1 is characterized in that,
In the described step 4, described portable terminal carries out following treatment step before the short message that receives is handled:
The SIM card driver module of portable terminal receives that SIM card returns reply instruction after, resolve replying instruction, judge to reply whether comprise short message acknowledgement type sign in the instruction, if comprise, then the SIM card driver module of portable terminal will be replied and be instructed the short message reception processing module of sending into portable terminal to handle, otherwise, do not comprise, then will reply and instruct the foreground application module of sending into portable terminal to handle.
3. as claim or the 1 or 2 described methods that receive based on client identification module realization short message, it is characterized in that,
In the described step 4, described portable terminal is handled the short message of receiving, specifically comprises the steps:
Step 401, the short message of described portable terminal receive processing module the instruction of replying of the SIM card transmission of portable terminal are resolved, and judge whether reply instruction allows to receive new short message, if, then change step 402 over to, otherwise, change step 403 over to;
Step 402, the short message of portable terminal receive the foreground application processing module of processing module notice portable terminal and preserve current short message to inbox;
Step 403, the short message of portable terminal receive processing module notice SMS short message module and abandon current new short message.
4. the method that receives based on client identification module realization short message as claimed in claim 1 is characterized in that,
The short-and-medium condition of information of instruction of replying that the short message reception processing module of described SIM card is returned receives new short message for allowing, and then revises the value of parameters C hargeBalance.
5. the method that receives based on client identification module realization short message as claimed in claim 1 or 2 is characterized in that,
The short message of described portable terminal receives processing module and sends the notice that new short message arrives by the ENVELOPE instruction that is provided with to SIM card.
CN2008100066747A 2008-01-31 2008-01-31 Method for implementing short message receiving based on client recognition module Expired - Fee Related CN101227645B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100066747A CN101227645B (en) 2008-01-31 2008-01-31 Method for implementing short message receiving based on client recognition module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100066747A CN101227645B (en) 2008-01-31 2008-01-31 Method for implementing short message receiving based on client recognition module

Publications (2)

Publication Number Publication Date
CN101227645A CN101227645A (en) 2008-07-23
CN101227645B true CN101227645B (en) 2011-12-28

Family

ID=39859362

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100066747A Expired - Fee Related CN101227645B (en) 2008-01-31 2008-01-31 Method for implementing short message receiving based on client recognition module

Country Status (1)

Country Link
CN (1) CN101227645B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1276124A (en) * 1997-11-07 2000-12-06 瑞士电信公司 Clearing method in a telecommuniation system
CN1578512A (en) * 2003-07-23 2005-02-09 乐金电子(中国)研究开发中心有限公司 Portable terminal locking device and method utilizing short message

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1276124A (en) * 1997-11-07 2000-12-06 瑞士电信公司 Clearing method in a telecommuniation system
CN1578512A (en) * 2003-07-23 2005-02-09 乐金电子(中国)研究开发中心有限公司 Portable terminal locking device and method utilizing short message

Also Published As

Publication number Publication date
CN101227645A (en) 2008-07-23

Similar Documents

Publication Publication Date Title
CN100566283C (en) A kind of long-range control method and system
US9338613B2 (en) Intelligent messaging system to convert email to SMS, EMS and MMS
AU2003262584A1 (en) Booking method and system
CN1428056A (en) Method and system for messaging across cellular network and public data network
CN107105414A (en) A kind of income system and method for Big Dipper RDSS short messages and SMS
CN101742445A (en) Method, device and system for identifying messages
CN1759621A (en) Methods and apparatus for delivering a message to two or more associated wireless communication devices
CN108737975B (en) Communication control method
KR20050061614A (en) Method and apparatus for processing plural divided e-mails
EP2446594B1 (en) Method for transmitting an electronic short message to multiple receivers
CN101986738B (en) The method of feedback reception end state, system and server
CN100440993C (en) Method for feeding-back information of short message processed and mobile phone
CN101291472B (en) Short message receiving and sending method and system related to terminal with multiple numbers
CN101227645B (en) Method for implementing short message receiving based on client recognition module
CN100373962C (en) Shortmessage cluster sending method and platform therefor
CN102256224A (en) Short message reminding method, equipment and communication system
EP2169987B1 (en) Method, system and device for implementing short messaging among enterprises
CN101170746B (en) A method and device for monitoring spam SMS
CN103096273B (en) Method, equipment and the system that a kind of up short message sends
CN1980410B (en) Communication system and method for realizing short message leading
CN101247418B (en) Method and system for controlling WAP access
CN101262650B (en) VPN processing module of SMS and its processing method
CN103563452B (en) MTC device communication means and equipment, system
KR101348272B1 (en) Method for transmitting messages using the multimedia message service(mms)
CN101262646A (en) Method for controlling transmission of multimedia messages and multimedia message server center

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20111228

Termination date: 20210131