CN102480703B - Method for filtering unknown international short message - Google Patents
Method for filtering unknown international short message Download PDFInfo
- Publication number
- CN102480703B CN102480703B CN201010560057.9A CN201010560057A CN102480703B CN 102480703 B CN102480703 B CN 102480703B CN 201010560057 A CN201010560057 A CN 201010560057A CN 102480703 B CN102480703 B CN 102480703B
- Authority
- CN
- China
- Prior art keywords
- short message
- message
- judged result
- yes
- unknown
- 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
Links
Landscapes
- Mobile Radio Communication Systems (AREA)
Abstract
The invention provides a method for filtering an unknown international short message. Inspection processing is carried out on a mobile terminated forward short message (MT_ForwardSmArg) request message from a foreign short message service center and a routing response message that is sent by a national home location register (HLR) to a foreign country at an international gateway bureau of the local country; when last four numbers of a called global title address of a signal connection control part (SCCP) layer of the MT_ForwardSmArg request message are not four national network authentication number, the short message belongs to an invalid short message and filtering processing is carried out. According to the method for filtering an unknown international short message in the invention, it can be avoided that a domestic service provider is attacked by an invalid unknown international short message; users of the domestic service provider can be secured from interferences of foreign garbage messages, so that the domestic network is safer.
Description
Technical field
The invention belongs to moving communicating field, particularly relate to a kind of method of filtering unknown international short message.
Background technology
Short message service economy, convenient, fast, use extensively in mobile communication system user.But this business also is often used for attacking domestic network by some external rivals, transmits some junk information, brings worry to user, meanwhile, the benefit damage of native operator is also allowed.Domestic have some operators to find often to be subject to unknown junk short message attack, be presented as and there is no initiation searching Home Network called subscriber place mobile switching centre (Mobile Switching Center, be called for short MSC) route request information (SendRoutingInfoSmArg) prerequisite under, there is the external SMS service center (SMSC) of fraction the unknown, MSC often to native operator directly sends Mobile Termination short message request (Mobile Terminated Forward Short Message is called for short MT_ForwardSmArg) message.While wasting the operation cost of operator, because the user of operator often receives this type of refuse messages, operator is also often subject to the complaint of user.
In the short message service of current mobile communications system, when MSC receives the MT_ForwardSmArg message of carrying short message content, MSC will send SMS message to this called subscriber, if called subscriber is under this MSC, will receive this short message.Visible MSC just descends short-message sending passively, and this provides chance with regard to giving some illegal rivals, makes it to easily pass junk short message and disturbs domestic network.
Summary of the invention
The present invention is the technical problem that the Domestic Carriers existed in solution prior art cannot shield from external unknown SMSC short message, a kind of method of filtering illegal unknown international short message is provided, Domestic Carriers can be shielded from external aggressive short message.
The present invention is achieved through the following technical solutions:
Filter a method for unknown international short message, comprising following steps:
On S1, home international gateway, the route response message received is checked:
S11, judge whether route response message is SCCP message;
If the judged result that the described S11 of S12 walks is yes, then judge whether SCCP layer caller global title is national global title again, whether Sub-System Number is attaching position register, whether called global code is legal external SMS service center, and whether Sub-System Number is SMS service center;
If the judged result of S13 described S11, S12 step is yes, then judge whether route response message is MAP route response message again;
If the judged result of S14 described S11, S12, S13 step is all yes, then dynamically generate 4 domestic network authentications number, add 4 domestic network authentications number at the end of the mobile application part layering called subscriber place mobile exchange center address of route response message, then forward route response message;
On S2, home international gateway, the Mobile Termination short message request message received is checked:
S21, judge whether Mobile Termination short message request message is SCCP message;
If the judged result that the described S21 of S22 walks is yes, then judge whether SCCP layer caller global title is external global title again, whether Sub-System Number is SMS service center, whether called global code is domestic mobile switching centre global title, and whether Sub-System Number is mobile switching centre;
If the judged result of S23 described S21, S22 step is yes, then judge whether Mobile Termination short message request message is MAP Mobile Termination short message request message again;
If the judged result of S24 described S21, S22, S23 step is yes, then comparison of coherence is carried out at 4, the end of the called global code of this Mobile Termination short message request message and 4 domestic network authentications number of described dynamic generation;
If the judged result of S25 described S21, S22, S23, S24 step is all yes, then by 4, the end stripping of the called global code of Mobile Termination short message request message, then forward Mobile Termination short message request message.
The method of filtration unknown international short message provided by the invention, by international gateway home carries out check processing to mailing to external route response message from the Mobile Termination short message request message of external SMS service center and national attaching position register, when 4, the end of the SCCP layer called global code address of this Mobile Termination short message request message is not 4 domestic network authentication numbers, then this short message belongs to illegal short message, carries out filtration treatment.By the method for filtration unknown international short message provided by the invention, make Domestic Carriers can avoid being subject to the attack of illegal unknown international short message, the user of native operator can, from the interference of external refuse messages, make domestic network safer.
Accompanying drawing explanation
Fig. 1 is the schematic flow sheet that mobile communication system short message center issues short message signaling.
Fig. 2 is SendRoutingInfoSmArg Message Processing schematic flow sheet provided by the invention.
Fig. 3 is MT_ForwardSmArg Message Processing schematic flow sheet provided by the invention.
Embodiment
In order to make technical problem solved by the invention, technical scheme and beneficial effect clearly understand, below in conjunction with embodiment, the present invention is further elaborated.Should be appreciated that specific embodiment described herein only in order to explain the present invention, be not intended to limit the present invention.
Please refer to shown in Fig. 1, if SMSC (SMS service center) successfully will issue MT_ForwardSmArg (request of Mobile Termination short message) message, called after MAP_MT_FORWARD_SHORT_MESSAGE message in Fig. 1, then successfully must receive SendRoutingInfoSmRes (route response) message, called after MAP_SEND_ROUTING_INFO_FOR_SM_ACK message in Fig. 1, if shield SendRoutingInfoSmRes message, then SMSC cannot find called position, thus cannot send MT_ForwardSmArg message.
SMSC as illegal in fruit part abandons and looks for called route flow process, directly issues MT_ForwardSmArg message, then just directly must shield MT_ForwardSmArg message.
This technology realizes based on No.7 signalling system, it is the basis based on international signaling intercommunication, namely the signalling interworking between external operator and Domestic Carriers, external SMSC can pass through SendRoutingInfoSmArg (route requests) message and directly inquire about domestic HLR (Home Location Register, attaching position register), MT_ForwardSmArg message directly can be sent to national MSC by external SMSC.
The technical solution adopted in the present invention mainly home international gateway checks the MT_ForwardSmArg message received: because the SMSC initiating illegal MT_ForwardSmArg message abroad often converts global title (the Global Title of oneself equipment, be called for short GT, for identifying oneself uniquely in the whole world, for addressing), or assume another's name to use the equipment GT code of external legal operator.Therefore, in this case cannot filter MT_ForwardSmArg message according to caller GT code and MAP (Mobile Application Part is called for short MAP) layer SMSC address.
The invention provides a kind of method of filtering unknown international short message, comprising following steps:
On S1, home international gateway, the route response message (SendRoutingInfoSmRes) received is checked:
S11, judge that whether route response message be SCCP (Signal Connection Control Part is called for short SCCP) message;
If the judged result that the described S11 of S12 walks is yes, then judge whether SCCP layer caller global title is national global title (GT) again, whether Sub-System Number is attaching position register (HLR), whether called global code is legal external SMS service center (SMSC), and whether Sub-System Number is SMS service center (SMSC);
If the judged result of S13 described S11, S12 step is yes, then judge whether route response message is MAP route response (MAP SendRoutingInfoSmRes) message again;
If the judged result of S14 described S11, S12, S13 step is all yes, then dynamically generate 4 domestic network authentications number, add 4 domestic network authentications number at the end of mobile switching centre (MSC) address, MAP (MAP) floor called subscriber place of route response message, then forward route response message;
On S2, home international gateway, Mobile Termination short message request (MT_ForwardSmArg) message received is checked:
S21, judge whether Mobile Termination short message request message is SCCP (SCCP) message;
If the judged result that the described S21 of S22 walks is yes, then judge whether SCCP layer caller global title is external global title (GT) again, whether Sub-System Number is SMS service center (SMSC), whether called global code is domestic mobile switching centre global title (MSC GT), and whether Sub-System Number is mobile switching centre (MSC);
If the judged result of S23 described S21, S22 step is yes, then judge whether Mobile Termination short message request message is MAP Mobile Termination short message request message (MAP MT_ForwardSmArg) again;
If the judged result of S24 described S21, S22, S23 step is yes, then comparison of coherence is carried out at 4, the end of the called global code of this Mobile Termination short message request message and 4 domestic network authentications number of described dynamic generation;
If the judged result of S25 described S21, S22, S23, S24 step is all yes, then by 4, the end stripping of the called global code of Mobile Termination short message request message, then forward Mobile Termination short message request message.
The 4 item codes that described 4 domestic network authentications number generate for dynamic random, its life cycle and number content all have randomness, can change at random voluntarily in experience regular hour all after date 4 domestic network authentications number, make these 4 domestic network authentications number be acquired decoding.As long as domestic network authentication of the present invention number meets: the response message of forwarding carries described domestic network authentication number, contrast so that unknown international short message filtration can be realized.
If the judged result of called global code is illegal unknown SMS service center address in described S12 step, then abandons this route response message, namely carry out intercept process.
If the judged result of arbitrary step is no in described S11, S12, S13 step, and the judged result of called global code is legal known SMS service center address in S12 step, then transparent transmission process is done to route response message, namely by normal flow transmission process.
If the judged result of arbitrary step is no in described S21, S22, S23 step, then transparent transmission process is done to Mobile Termination short message request message, namely by normal flow transmission process.
If the judged result of described S21, S22, S23 step is all yes, but the judged result that described S24 walks is no, then abandon this Mobile Termination short message request message, namely carry out intercept process.
Why adopt such scheme, because SMS service center (SMSC) is when lower short-message sending, first route requests (SendRoutingInfoSmArg) message to be sent to called mobile user affiliation location register (HLR), to obtain callee place mobile switching centre (MSC), and MSC address, called number place can be carried at MAP (MAP) layer by route response (SendRoutingInfoSmRes) message by HLR returns to SMSC, SMSC can using the called global code (GT) of the MAP layer called MS C address of SendRoutingInfoSmRes message as Mobile Termination short message request (MT_ForwardSmArg) message, thus the MT_ForwardSmArg message of carrying short message content is sent to called MS C, short message is sent called subscriber by last called MS C.So, by interception SendRoutingInfoSmRes message, add at the called MS C End Of Address of MAP floor the domestic network authentication number that national international gateway dynamically generates, the called GT code of legal MT_ForwardSmArg message can be made to carry domestic network authentication number.Thus can determine to need to limit which MT_ForwardSmArg message, the MT_ForwardSmArg message namely do not sent through the SMSC of route requests flow process is by conductively-closed.
Said method is applicable to Domestic Carriers and wants to tackle the situation just not initiating illegal MT_ForwardSmArg message from external unknown SMSC through finding called flow.If external SMSC have passed through searching called flow and initiates MT_ForwardSmArg message again, illegal SMSC then to be made all cannot to receive SendRoutingInfoSmRes message falsely using legal SMSC equipment GT code or use during illegal equipment GT code, filtering short messages can be carried out according to the called GT code of SendRoutingInfoSmRes message.When the called GT code of SendRoutingInfoSmRes message is unknown, then shield this SendRoutingInfoSmRes message; When called GT code is legal SMSC address, then issue legal SMSC.In both cases, illegal unknown SMSC cannot receive SendRoutingInfoSmRes message, cannot send MT_ForwardSmArg message, and this function S13 step in step sl completes.
Please refer to shown in Fig. 2, the all legal external SMSC GT code sections of international gateway configuration home, the all HLR GT code sections of this country, why be configured to GT code section, because the GT code section oneself be assigned to is monopolized in each operation commercial city of each country, GT code as China Mobile have with 86139 beginning, the GT code of E.164 encoding includes CC (Country Code) national code (national code as China is 86) and NDC (NationalDestination Code) domestic object code (i.e. Carrier Access Code, access code as China Mobile is 139, 138 etc.), leave operator oneself definition for for latter several of GT code.When the called GT code (i.e. SMSC code) of the SendRoutingInfoSmRes message that national international gateway is intercepted does not belong to legal external SMSCGT code, simultaneously, caller GT code (i.e. HLR GT code) then abandons this SendRoutingInfoSmRes message when being national GT code, thus indirectly reaches the function of the illegal unknown short message of shielding.
Please refer to shown in Fig. 3, international gateway configures national MSC GT code section home, periodically generate 4 domestic network authentication numbers according to national international gateway stochastic and dynamic simultaneously, when the called GT code of the MT_ForwardSmArg message intercepted is national MSC GT code section, if the end of GT code is not legal domestic network authentication number, then abandon this MT_ForwardSmArg message, thus the unknown short message that directly shielding is illegal.
The method of filtration unknown international short message provided by the invention, by international gateway home carries out check processing to mailing to external route response message from the Mobile Termination short message request message of external SMS service center and national attaching position register, when 4, the end of the SCCP layer called global code address of this Mobile Termination short message request message is not 4 domestic network authentication numbers, then this short message belongs to illegal short message, carries out filtration treatment.By the method for filtration unknown international short message provided by the invention, make Domestic Carriers can avoid being subject to the attack of illegal unknown international short message, the user of native operator can, from the interference of external refuse messages, make domestic network safer.
The foregoing is only preferred embodiment of the present invention, not in order to limit the present invention, all any amendments done within the spirit and principles in the present invention, equivalent replacement and improvement etc., all should be included within protection scope of the present invention.
Claims (5)
1. filter a method for unknown international short message, it is characterized in that, comprise the following steps:
On S1, home international gateway, the route response message received is checked:
S11, judge whether route response message is SCCP message;
If the judged result that the described S11 of S12 walks is yes, then judge whether SCCP layer caller global title is national global title again, whether Sub-System Number is attaching position register, whether called global code is legal external SMS service center, and whether Sub-System Number is SMS service center;
If the judged result of S13 described S11, S12 step is yes, then judge whether route response message is MAP route response message again;
If the judged result of S14 described S11, S12, S13 step is all yes, then dynamically generate 4 domestic network authentications number, add 4 domestic network authentications number at the end of the mobile application part layering called subscriber place mobile exchange center address of route response message, then forward route response message;
On S2, home international gateway, the Mobile Termination short message request message received is checked:
S21, judge whether Mobile Termination short message request message is SCCP message;
If the judged result that the described S21 of S22 walks is yes, then judge whether SCCP layer caller global title is external global title again, whether Sub-System Number is SMS service center, whether called global code is domestic mobile switching centre global title, and whether Sub-System Number is mobile switching centre;
If the judged result of S23 described S21, S22 step is yes, then judge whether Mobile Termination short message request message is MAP Mobile Termination short message request message again;
If the judged result of S24 described S21, S22, S23 step is yes, then comparison of coherence is carried out at 4, the end of the called global code of this Mobile Termination short message request message and 4 domestic network authentications number of described dynamic generation;
If the judged result of S25 described S21, S22, S23, S24 step is all yes, then by 4, the end stripping of the called global code of Mobile Termination short message request message, then forward Mobile Termination short message request message.
2. the method for filtration unknown international short message according to claim 1, is characterized in that, if the judged result of called global code is illegal unknown SMS service center address in described S12 step, then abandons this route response message.
3. the method for filtration unknown international short message according to claim 1, it is characterized in that, if the judged result of arbitrary step is no in described S11, S12, S13 step, and in S12 step, the judged result of called global code is legal known SMS service center address, then do transparent transmission process to route response message.
4. the method for filtration unknown international short message according to claim 1, is characterized in that, if the judged result of arbitrary step is no in described S21, S22, S23 step, then does transparent transmission process to Mobile Termination short message request message.
5. the method for filtration unknown international short message according to claim 1, is characterized in that, if the judged result of described S21, S22, S23 step is all yes, but the judged result that described S24 walks is no, then abandon this Mobile Termination short message request message.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010560057.9A CN102480703B (en) | 2010-11-26 | 2010-11-26 | Method for filtering unknown international short message |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010560057.9A CN102480703B (en) | 2010-11-26 | 2010-11-26 | Method for filtering unknown international short message |
Publications (2)
Publication Number | Publication Date |
---|---|
CN102480703A CN102480703A (en) | 2012-05-30 |
CN102480703B true CN102480703B (en) | 2015-07-22 |
Family
ID=46093150
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010560057.9A Expired - Fee Related CN102480703B (en) | 2010-11-26 | 2010-11-26 | Method for filtering unknown international short message |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102480703B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
SG11202000243VA (en) * | 2017-07-13 | 2020-02-27 | Softbank Corp | Cross network authentication method and system |
CN109819409B (en) * | 2017-11-22 | 2022-03-04 | 中兴通讯股份有限公司 | Short message sending method, device, equipment and computer storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1426214A (en) * | 2001-12-19 | 2003-06-25 | 深圳市中兴通讯股份有限公司上海第二研究所 | Monitoring method and equipment for short-messages |
CN1516490A (en) * | 2003-01-03 | 2004-07-28 | ��Ϊ��������˾ | Method for limiting illegal international short message service |
WO2005101872A1 (en) * | 2004-04-14 | 2005-10-27 | Nooren Consulting B.V. | Method for preventing the delivery of short message service message spam |
WO2006002076A2 (en) * | 2004-06-15 | 2006-01-05 | Tekelec | Methods, systems, and computer program products for content-based screening of messaging service messages |
CN1984369A (en) * | 2006-06-09 | 2007-06-20 | 华为技术有限公司 | Method for filtering SMS, signaling processing system and SMS service center |
-
2010
- 2010-11-26 CN CN201010560057.9A patent/CN102480703B/en not_active Expired - Fee Related
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1426214A (en) * | 2001-12-19 | 2003-06-25 | 深圳市中兴通讯股份有限公司上海第二研究所 | Monitoring method and equipment for short-messages |
CN1516490A (en) * | 2003-01-03 | 2004-07-28 | ��Ϊ��������˾ | Method for limiting illegal international short message service |
WO2005101872A1 (en) * | 2004-04-14 | 2005-10-27 | Nooren Consulting B.V. | Method for preventing the delivery of short message service message spam |
WO2006002076A2 (en) * | 2004-06-15 | 2006-01-05 | Tekelec | Methods, systems, and computer program products for content-based screening of messaging service messages |
CN1984369A (en) * | 2006-06-09 | 2007-06-20 | 华为技术有限公司 | Method for filtering SMS, signaling processing system and SMS service center |
Also Published As
Publication number | Publication date |
---|---|
CN102480703A (en) | 2012-05-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2754331B1 (en) | A module mlr for managing machine-to-machine type (m2m) mobile devices | |
CN101616382B (en) | Method and system for returning short message service | |
CN102098642B (en) | System and method for realizing short message transfer in mobile network | |
CN102480703B (en) | Method for filtering unknown international short message | |
US10455358B2 (en) | Prose information transmission method, terminal, and communications device | |
CN102056104B (en) | SM (Short Message) sending control method as well as device and system | |
CN102256224A (en) | Short message reminding method, equipment and communication system | |
CN101715176A (en) | Short message router, short message monitoring system and short message monitoring method | |
CN102984677B (en) | Internet of things terminal short message processing method, equipment and system | |
CN102075889A (en) | System and method for realizing short message forward | |
CN102377883B (en) | Method, device and system for processing fixed network calling | |
CN101668265A (en) | Method, system and device for sending short messages | |
CN101674584B (en) | Method for detecting virus and system | |
CN102300230A (en) | Method, device and system for realizing monitoring of Internet information | |
KR20120054364A (en) | System and method for providing destination arrival notification | |
KR20110136275A (en) | System and method for tranmitting message | |
KR100839796B1 (en) | Roaming service system and method to use payment in prepaid card | |
CN104581658A (en) | Terminating processing method and device | |
KR20130058392A (en) | Server and method for device triggering using short message service | |
CN103888922B (en) | A kind of method and device of dismantling call and management of end-user account safety | |
CN101674546B (en) | A kind ofly provide device, the system and method for SM value-added service for user | |
CN114666752B (en) | Short message management and control system and method of IMS domain | |
CN103200537A (en) | Method, system and server for carrying out number conversion on multimedia message service | |
KR101051021B1 (en) | Incoming call history providing method and system | |
CN103037330B (en) | A kind of method and apparatus of the business that sends SMS message |
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 |
Granted publication date: 20150722 Termination date: 20191126 |
|
CF01 | Termination of patent right due to non-payment of annual fee |