Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making the every other embodiment obtaining under creative work prerequisite, belong to the scope of protection of the invention.
As shown in Figure 1, the embodiment of the present invention one provides a kind of SMS sending method, comprising:
Step 11, network equipment receive the international integrated services digital network Mobile Subscriber International ISDN Number of the second mobile subscriber allocation request message, described the second Mobile Subscriber International ISDN Number allocation request message portable class communication equipment MTC Device identification information.
Concrete, described network equipment receives MTC Gateway (Machine Type Communication Gateway, machine type communication gateway) send the second Mobile Subscriber International ISDN Number allocation request message, wherein said the second Mobile Subscriber International ISDN Number allocation request message is that described MTC Gateway is according to machine type communication server (the Machine Type Communication Server receiving, MTC Server) send first Mobile Subscriber International ISDN Number allocation request message generate, described the second Mobile Subscriber International ISDN Number allocation request message and described the first Mobile Subscriber International ISDN Number allocation request message all carry equipment for machine type communication (the Machine Type Communication Device that described MTC Server asks, MTC Device) identification information.
In embodiments of the present invention, described network equipment can be M-DAE (MSISDN Dynamic Allocation Entity, Mobile Subscriber International ISDN Number dynamic assignment entity) entity.In addition, in embodiments of the present invention, the identification information of described MTC Device can be the FQDN (Fully Qualified Domain Name, full name domain name) of this equipment.Certainly, can also identify each MTC Device by other mode.
In this step, described network equipment can receive by least following several modes the second Mobile Subscriber International ISDN Number allocation request message of described MTC Gateway.
Mode one, network equipment receive the second Mobile Subscriber International ISDN Number allocation request message being generated according to described the first Mobile Subscriber International ISDN Number allocation request message by machine type communication gateway MTC Gateway, carry the identification information of the MTC Device that described MTC Server asks in described the second Mobile Subscriber International ISDN Number allocation request message.
When described MTC Gateway generates the second Mobile Subscriber International ISDN Number allocation request message, first according to the corresponding relation of network equipment and the identification information of the MTC Device that described MTC Server asks of the identification information of the MTC Device of storage, MTC Device ownership, obtain the address information of the network equipment that MTC Device that described MTC Server asks belongs to, then generate described the second Mobile Subscriber International ISDN Number allocation request message, and according to described address information, described the second Mobile Subscriber International ISDN Number allocation request message is sent to described network equipment.
At this, interface between MTC Gateway and this network equipment is based on MAP (Mobile Application Part, MAP) agreement, on this interface, define new MAP message the second Mobile Subscriber International ISDN Number allocation request message MAP-MSISDN-ALLOCATION, this message is used for distributing MSISDN to network equipment request.
Mode two, network equipment receive the second Mobile Subscriber International ISDN Number allocation request message being generated according to the first Mobile Subscriber International ISDN Number allocation request message of described MTC Server by MTC Gateway, carry the identification information of the MTC Device that described MTC Server asks in described the second Mobile Subscriber International ISDN Number allocation request message.
Wherein, described MTC Server is according to the corresponding relation of the network equipment of the identification information of the MTC Device of storage and MTC Device ownership, obtain the address information of the network equipment that asked MTC Device belongs to, and the identification information of the address information of described network equipment and the MTC Device that asks is carried in described the first Mobile Subscriber International ISDN Number allocation request message and sends to described MTC Gateway.Then described MTC Gateway generates described the second Mobile Subscriber International ISDN Number allocation request message according to described the first Mobile Subscriber International ISDN Number allocation request message, and described the second Mobile Subscriber International ISDN Number allocation request message is sent to described network equipment.
Identical in the implication of the second Mobile Subscriber International ISDN Number allocation request message in which and mode one.
Step 12, described network equipment are according to described the second Mobile Subscriber International ISDN Number allocation request message, and the MTC Device corresponding for described MTC Device identification information distributes MSISDN.
In the process of described network equipment assignment numbers, it will be according to the identification information of the MTC Device in the second Mobile Subscriber International ISDN Number allocation request message, the MTC Device asking for described MTC Server from number pond distributes MSISDN, and described MSISDN is designated to down state.Meanwhile, described network equipment also can record the corresponding relation of the identification information of described MTC Device and the MSISDN of distribution, to improve the efficiency of number assignment.
Step 13, described network equipment send to machine type communication server MTCServer by described MSISDN, so that described MTC Server is used described MSISDN to send SMS message.
In concrete application process, described network equipment can send the second Mobile Subscriber International ISDN Number assignment response message of carrying described MSISDN to described MTC Gateway, so that described MTC Gateway generates the first Mobile Subscriber International ISDN Number assignment response message of carrying described MSISDN according to described the second Mobile Subscriber International ISDN Number assignment response message, and described the first Mobile Subscriber International ISDN Number assignment response message is sent to described MTC Server, the described MSI SDN that described MTC Server carries according to described the first Mobile Subscriber International ISDN Number assignment response message is sent SMS message to MTC Device corresponding to described MTC Device identification information.As mentioned above, before MTC Server initiates short message service, the MTC Device distribution MSISDN being asked for MTCServer according to the second Mobile Subscriber International ISDN Number allocation request message by network equipment, and the MSISDN of distribution is sent to described MTCServer, so that described MTC Server is used described MSISDN to send SMS message.Therefore, utilize the mode of this dynamic assignment MSISDN of the embodiment of the present invention, even in the situation that terminal quantity is more, can be also each terminal distribution Mobile Subscriber International ISDN Number, thereby improve the utilance of Mobile Subscriber International ISDN Number.
On the basis of embodiment mono-, in order further to improve the utilance of Mobile Subscriber International ISDN Number, after described MTCServer sends SMS message and finishes, described network equipment is released to the described MSISDN that MTC Device that described MTC Server asks distributes.
In the process of the described MSISDN of release, described network equipment can have at least following several modes:
Mode one, the dispose procedure of being initiated by network equipment.
Network equipment is that described MTC Device distributes after MSISDN, also can be described MTC Device timer is set, and when the timing of described timer arrives, discharges described MSISDN.
Now, in order to guarantee the follow-up accuracy sending SMS message, the timing information that described network equipment also can carry described timer in described the second Mobile Subscriber International ISDN Number assignment response message, to make described MTCGateway notify described MTC Server to discharge assigned MSISDN according to described timing information by described the first Mobile Subscriber International ISDN Number assignment response message.
Mode two, the dispose procedure of being initiated by MTC Server.
Described network equipment receives by MTC Gateway according to the second Mobile Subscriber International ISDN Number releasing request message of the first Mobile Subscriber International ISDN Number releasing request message generation of described MTC Server, carries the identification information of the MTC Device that described MTC Server asks in described the first Mobile Subscriber International ISDN Number releasing request message and the second Mobile Subscriber International ISDN Number releasing request message.
Wherein, described MTC Gateway is according to the identification information of the corresponding relation of the network equipment of the identification information of MTC Device of storage and MTC Device ownership, MTC Device that described MTC Server asks, obtain the address information of the network equipment that MTC Device that described MTC Server asks belongs to, generate described the second Mobile Subscriber International ISDN Number releasing request message, and according to described address information, described the second Mobile Subscriber International ISDN Number releasing request message is sent to described network equipment.Then, described network equipment, according to described the second Mobile Subscriber International ISDN Number releasing request message, discharges described MSISDN.
At this, interface between MTC Gateway and network equipment is based on MAP, on this interface, define new MAP message the second Mobile Subscriber International ISDN Number releasing request message MAP-MSISDN-RELEASE, be used for discharging and specifying the associated MSISDN of MTC Device to network equipment request.
Equally, in order to guarantee the follow-up accuracy sending SMS message, described network equipment also can send second to described MTCGateway and discharge response message, by described MTC Gateway, to described MTC Server, send first and discharge response message, make described MTC Server discharge response message according to described first and discharge described MSISDN.
Mode three, the dispose procedure of being initiated by MTC Server.
Described network equipment receives by MTC Gateway according to the second Mobile Subscriber International ISDN Number releasing request message of the first Mobile Subscriber International ISDN Number releasing request message generation of described MTC Server, carries the identification information of the MTC Device that described MTC Server asks in described the second Mobile Subscriber International ISDN Number releasing request message.
Wherein, described MTC Server is according to the corresponding relation of the network equipment of the identification information of the MTC Device of storage and MTC Device ownership, the identification information of the MTC Device that described MTC Server asks, obtain the address information of the network equipment that asked MTC Device belongs to, and the identification information of the MTC Device that the address information of described network equipment and described MTC Server are asked is carried in described the first Mobile Subscriber International ISDN Number releasing request message and sends to described MTC Gateway, make described MTCGateway generate described the second Mobile Subscriber International ISDN Number releasing request message, and according to described address information, described the second Mobile Subscriber International ISDN Number releasing request message is sent to described network equipment.Then described network equipment, according to described the second Mobile Subscriber International ISDN Number releasing request message, discharges described MSISDN.
Identical with mode two of the implication of the second Mobile Subscriber International ISDN Number releasing request message in this mode.
Equally, in order to guarantee the follow-up accuracy sending SMS message, described network equipment also can send second to described MTCGateway and discharge response message, by described MTC Gateway, to described MTC Server, send first and discharge response message, make described MTC Server discharge described MSISDN according to described message.
By above technical scheme, can find out, before MTC Server initiates short message service, the MTC Device distribution MSISDN that network equipment is asked for MTC Serve; And when short message service finishes, discharge this MSISDN.Therefore, utilize the mode of this dynamic assignment MSISDN of the embodiment of the present invention, even in the situation that terminal quantity is more, can be also each terminal distribution Mobile Subscriber International ISDN Number, thereby improve the utilance of Mobile Subscriber International ISDN Number.
As shown in Figure 2, the embodiment of the present invention two provides a kind of SMS sending method, comprising:
Step 21, MTC Server send the first Mobile Subscriber International ISDN Number allocation request message, described the first Mobile Subscriber International ISDN Number allocation request message is carried the identification information of MTC Device, so that MTC Device corresponding to identification information that network equipment is described MTC Device according to the identification information of described MTCDevice distributes MSISDN.
Concrete, described MTC Server can send the first Mobile Subscriber International ISDN Number allocation request message to MTC Gateway, make described MTC Gateway distribute request generate the second Mobile Subscriber International ISDN Number allocation request message and described the second Mobile Subscriber International ISDN Number allocation request message is sent to network equipment according to described the first Mobile Subscriber International ISDN Number, described the first Mobile Subscriber International ISDN Number allocation request message and the second Mobile Subscriber International ISDN Number allocation request message are all carried the identification information of asked MTC Device, and the described MTC Device identification information being carried according to described the second Mobile Subscriber International ISDN Number allocation request message by described network equipment, the MTC Device corresponding for described MTC Device identification information distributes MSISDN.
Identical with embodiment mono-of the implication of the identification information of described MTC Device.
Wherein, described MTC Server itself can have the analytical capabilities of FQDN.Therefore, described MTC Server can be according to the corresponding relation of the network equipment of the identification information of the MTC Device of storage and MTC Device ownership, obtain the network equipment that described asked MTC Device belongs to, and the identification information of the address information of described network equipment and described asked MTC Device is carried in described the first Mobile Subscriber International ISDN Number allocation request message and sends to MTC Gateway.Then by described MTC Gateway, generate described the second Mobile Subscriber International ISDN Number allocation request message, and described the second Mobile Subscriber International ISDN Number allocation request message is sent to described network equipment.
Step 22, described MTC Server receive the first Mobile Subscriber International ISDN Number assignment response message, and described the first Mobile Subscriber International ISDN Number assignment response message is carried described MSISDN.
Concrete, described MTC Server receives the first Mobile Subscriber International ISDN Number assignment response message of described MTC Gateway, wherein in described the first Mobile Subscriber International ISDN Number assignment response message, carrying described network equipment is the MSISDN that described MTC Device distributes, and send SMS message to MTC Device corresponding to described MTC Device identification information according to described MSISDN, wherein said MTC Gateway generates described the first Mobile Subscriber International ISDN Number assignment response message according to the second Mobile Subscriber International ISDN Number assignment response message being sent by described network equipment, in described the second Mobile Subscriber International ISDN Number assignment response message, carrying described network equipment is the MSISDN that described MTC Device distributes.
Step 23, described MTC Server obtain described MSISDN for sending SMS message from described the first Mobile Subscriber International ISDN Number assignment response message.
As mentioned above, before MTC Server initiates short message service, the MTC Device distribution MSISDN being asked for MTC Server by network equipment, and the MSISDN of distribution is sent to described MTC Server, so that described MTC Server sends SMS message.Therefore, utilize the mode of this dynamic assignment MSISDN of the embodiment of the present invention, even in the situation that terminal quantity is more, can be also each terminal distribution Mobile Subscriber International ISDN Number, thereby improve the utilance of Mobile Subscriber International ISDN Number.
In addition,, on the basis of embodiment bis-, in order further to improve the utilance of SISDN number, after finishing when sending SMS message, described MTC Server also can discharge described MSISDN.
Described in embodiment mono-, in described network equipment side, can be provided with timer, in described the second Mobile Subscriber International ISDN Number assignment response message, also comprise the timing information of the timer that described network equipment distributes for described MTC Device, and by described MTC Gateway, this timing information is carried in described the first Mobile Subscriber International ISDN Number assignment response message.Therefore, described MTC Server can be according to described the first Mobile Subscriber International ISDN Number assignment response message, when through timing corresponding to described timing information, discharges described MSISDN.
Or, after finishing when sending SMS message, described MTC Server can send the first Mobile Subscriber International ISDN Number releasing request message to MTC Gateway, in described message, comprise the identification information of described asked MTC Device, make described MTC Gateway according to the corresponding relation of the network equipment of the identification information of the MTC Device of storage and MTC Device ownership, obtain the address information of the network equipment that described asked MTC Device belongs to, generate described the second Mobile Subscriber International ISDN Number releasing request message, and according to described address information, described the second Mobile Subscriber International ISDN Number releasing request message is sent to described network equipment.Wherein, described the second Mobile Subscriber International ISDN Number releasing request message is used for notifying described network equipment to discharge described MSISDN.Then, described MTC Server receives the first release response message that described MTC Gateway sends, discharge described MSISDN, wherein said the first release response message is by described MTC Gateway, according to described network equipment, to send to second of described MTC Gateway to discharge response message to generate.
Or, after finishing when sending SMS message, described MTC Server is according to the corresponding relation of the network equipment of the identification information of the MTC Device of storage and MTC Device ownership, obtain the address information of the network equipment that described asked MTCDevice belongs to, and the identification information of the address information of described network equipment and described asked MTC Device is carried in described the first Mobile Subscriber International ISDN Number releasing request message and sends to MTC Gateway, make described MTC Gateway generate described the second Mobile Subscriber International ISDN Number releasing request message, and according to described address information, described the second Mobile Subscriber International ISDN Number releasing request message is sent to described network equipment.Wherein, described the second Mobile Subscriber International ISDN Number releasing request message is used for notifying described network equipment to discharge described MSISDN.Then, described MTC Server receives the first release response message that described MTC Gateway sends, discharge described MSISDN, wherein said the first release response message is by described MTC Gateway, according to described network equipment, to send to second of described MTC Gateway to discharge response message to generate.
The implication of wherein said the second Mobile Subscriber International ISDN Number releasing request message is identical with description in embodiment mono-.
By above technical scheme, can find out, before MTC Server initiates short message service, the MTC Device distribution MSISDN that network equipment is asked for MTC Server; And when short message service finishes, discharge this MSISDN.Therefore, utilize the mode of this dynamic assignment MSISDN of the embodiment of the present invention, even in the situation that terminal quantity is more, can be also each terminal distribution Mobile Subscriber International ISDN Number, thereby improve the utilance of Mobile Subscriber International ISDN Number.
Below, in conjunction with different embodiment, describe in detail the specific implementation process of the method that the present invention sends SMS message.Wherein, MTC Server, MTC Gateway in figure can have respectively FQDN analytical capabilities, and described network equipment can be the entity of individualism, or are positioned in HLR (Home Location Register, attaching position register).According to the structure of No. MSISDN in prior art, network equipment and HLR occur in pairs, and the two is corresponding one by one.
In conjunction with Fig. 3, Fig. 4 and Fig. 5, the embodiment of the present invention three provides a kind of SMS sending method.According to the system configuration shown in Fig. 3, can find out, in this embodiment, MTC Gateway has FQDN analytical capabilities, the entity that network equipment is individualism.
In conjunction with Fig. 4, the method for the embodiment of the present invention three comprises the steps: again
Step 31, MTC Server send the first Mobile Subscriber International ISDN Number allocation request message (MSISDN Request) to MTC Gateway, in this message, contain the FQDN that asks to some extent MTC Device, and type of message MDA (MSISDN Dynamic Allocation).
Transmission of messages between MTC Server and MTC Gateway is based on TCP/IP (Transmission Control Protocol/Internet Protocol, transmission control protocol/Internet Interconnection agreement) agreement, this message can be imitated DNS (Domain Name System, domain name system) query message and be realized.
At this, it should be noted that, in an embodiment of the present invention, from the angle economizing on resources, consider, MTCServer sends to the first Mobile Subscriber International ISDN Number allocation request message of MTC Gateway and the first Mobile Subscriber International ISDN Number releasing request message that below will describe all utilizes MSISDN Request message to realize, just, under different scenes, in this message, increase to represent that the information of this type of message is distinguished the two.For example, in this embodiment, in the MSISDN Request as the first Mobile Subscriber International ISDN Number allocation request message, with MDA, represent its type of message.And in the first Mobile Subscriber International ISDN Number releasing request message MSISDN Request, be to utilize MR to represent its type of message.
Certainly, the first Mobile Subscriber International ISDN Number allocation request message and the first Mobile Subscriber International ISDN Number releasing request message also can utilize two diverse message to realize, as long as can allow MTC Gateway distinguish.
Step 32, MTC Gateway utilize FQDN analytical capabilities, according to the FQDN of the corresponding relation of the network equipment of the FQDN of MTC Device of storage and MTC Device ownership, MTC Device that described MTC Server asks, parse the network equipment that this FQDN belongs to.
If successfully resolved, MTC Gateway will, to this network equipment request for specifying MTC Device to distribute MSISDN, comprise the FQDN of described MTC Device in message.In this embodiment, interface between MTC Gateway and network equipment is based on MAP, on this interface, define new MAP message the second Mobile Subscriber International ISDN Number allocation request message (MAP-MSISDN-ALLOCATION), be used for to network equipment request as specifying MTC Device to distribute MSISDN.
If resolve unsuccessfully, cannot parse the network equipment that this FQDN belongs to, MTC Gateway directly returns to MSISDN-ALLOCATION message to MTC Server, and in message, indication cannot be resolved this FQDN.Server receives this message the unreachable (not shown) of this MTC Device of mark.
Step 33, network equipment are asked FQDN distribution Mobile Subscriber International ISDN Number.
If be allocated successfully, network equipment is removed distributed MSISDN from number pond, is designated down state, and records associated between this FQDN and MSISDN, then to HLR, sends MSISDN association request message.
Equally, in this embodiment, interface between network equipment and HLR is based on MAP, on this interface, define new MAP message relating request message (MAP-MSISDN-ASSOCW), being used at network equipment is to HLR request, this MSISDN to be associated with the user data of this MTC Device after MTC Device distributes MSISDN success, and, in this message, comprise FQDN and the newly assigned MSISDN of this MTC Device.
If number pond is empty, without distributable MSI SDN, network equipment returns to response message indication number pond for empty by MTC Gateway to MTC Server, cannot distribute MSISDN.Due to the characteristic that dynamically updates in number pond, MTC Server waits for that special time will distribute MSISDN (not shown) to network request again after receiving this response message.
Step 34, HLR receive after the association request message that network equipment sends, and the MSISDN of distribution and user data are carried out associated as IMSI.And return and be successfully associated response being successfully associated to network equipment.
Step 35, network equipment receive being successfully associated after response of HLR transmission, to MTC Gateway, send the second Mobile Subscriber International ISDN Number assignment response message, are included as the MSISDN that specifies MTC Device to distribute in this message.
Step 36, MTC Gateway send the first Mobile Subscriber International ISDN Number assignment response message (MSISDN Response) to MTC Server, are included as the MSISDN that specifies MTC Device to distribute in this message.
Following steps 37-316 is the detailed process that short message sends, and this process is prior art, at this, does simple introduction.
Step 37, be allocated successfully after, MTC Server utilize distribute MSISDN carry out short message transmission, short message is sent to MTC Gateway.
Step 38, MTC Gateway by short message to sms center SC.
Step 39, SC push to corresponding short message service gateway MSC (SMS-GMSC) by note.
Step 310, SMS-GMSC find according to the MSISDN of MTC Device the HLR that it belongs to, and to HLR, obtain IMSI (LMSI) and the routing iinformation of this equipment.
Step 311, SMS-GMSC (short message service gateway MSC) are sent to corresponding MSC/VLR (mobile switching center/visitor location register) according to the routing iinformation obtaining by the IMSI of message and equipment (or LMSI).
The community that step 312, MSC/VLR search user attaching according to user IMSI (or LMSI), and message is sent to MTC Device.
Step 313, MTC Device send and transmit report to MSC/VLR.
Step 314, MSC/VLR send and transmit report to SMS-GMSC.
Step 315, SMS-GMSC send SMS message and transmit report to HLR.
Step 316, SMS-GMSC send and transmit report to SC.
Following steps are the release flow process of MSISDN.As described in previous embodiment one, the flow process that number discharges can be that network equipment is initiated by network side, also can be initiated by MTC Server.When being initiated by network equipment, network equipment is that the timing that the rear MSISDN holding time that starts timer and arrange according to business of assignment numbers success calculates corresponding timer is also release time (absolute time), and will notify HLR this release time by association request message.In assignment response message, notified to MTCServer this release time in addition.Release time, then MTC Server, network equipment and HLR discharged this MSISDN simultaneously.In this Fig. 5, only show the number release flow process that MTC Server initiates.
As shown in Figure 5, number release flow process comprises:
Step 317, MTC Server send the first Mobile Subscriber International ISDN Number releasing request message (MSISDN Request) to MTC Gateway, type of message is MR (MSISDN Release, number discharges), i.e. request discharges MSISDN message, comprises the FQDN of MTC Device in this message.
Step 318, MTC Gateway utilize FQDN analytical capabilities, according to the FQDN of the corresponding relation of the network equipment of the FQDN of MTC Device of storage and MTC Device ownership, MTCDevice that described MTC Server asks, parse the network equipment that this FQDN belongs to.Meanwhile, generate the second Mobile Subscriber International ISDN Number releasing request message, and described the second Mobile Subscriber International ISDN Number releasing request message is sent to corresponding network equipment, request network equipment discharges specifies the associated MSISDN of MTC Device.
In this embodiment, interface between network equipment and MTC Gateway is based on MAP, on this interface, define new MAP message the second Mobile Subscriber International ISDN Number releasing request message (MAP-MSISDN-RELEASE), be used for discharging and specifying the associated MSISDN of MTC Device to network equipment request.
Step 319, network equipment are received message, and corresponding this FQDN MSISDN is put into number pond, by its status modifier, are available, cancel associated between FQDN and MSISDN.To HLR, send associated release message, in this message, comprise the FQDN of this MTC Device simultaneously.
Equally, in this embodiment, interface between network equipment and HLR, based on MAP, defines new MAP message relating release message (MAP-MSISDN-UNCOUPLE) on this interface, is used for discharging and specifying the associated MSISDN of MTC Device to HLR request.
Step 320, HLR receive after associated releasing request, delete the MSISDN associated with this FQDN, and corresponding note data is removed, and then to network equipment, send MSISDN and go associate response message.
Step 321, network equipment send second to MTC Gateway and discharge response message (MAP-MSISDN-RELEASE).
Step 322, MTC Gateway send first to MTC Server and discharge response message (MSISDN Response).
The embodiment of the present invention four provides a kind of SMS sending method, the application scenarios schematic diagram that Fig. 6 is this embodiment.According to the system configuration shown in Fig. 6, can find out, in this embodiment, MTC Gateway has FQDN analytical capabilities, and network equipment is arranged in HLR.
Different from embodiment tri-, because network equipment is arranged in HLR, mutual between the two become mutual between inside so.That is to say, in HLR inside, may have certain functional module, it and the network equipment being embedded in HLR can carry out alternately, and have and MSISDN can be carried out to function associated, release with user data.So, at this embodiment, mutual between the network equipment in the process of embodiment tri-number-associateds, release and HLR just become the reciprocal process between the above-mentioned functions module in network equipment and HLR.Other flow processs are identical.Wherein, between MTC Gateway and HLR based on MAP message.
In conjunction with Fig. 7, Fig. 8 and Fig. 9, the embodiment of the present invention five provides a kind of SMS sending method.According to the system configuration shown in Fig. 7, can find out, in this embodiment, MTC Server has FQDN analytical capabilities, the entity that network equipment is individualism.
In conjunction with Fig. 8, the method for the embodiment of the present invention five comprises the steps: again
Step 41, MTC Server utilize FQDN analytical capabilities, according to the FQDN of the corresponding relation of the network equipment of the FQDN of MTC Device of storage and MTC Device ownership, MTC Device that described MTC Server asks, parse the network equipment that this FQDN belongs to.
MTC Server sends the first Mobile Subscriber International ISDN Number allocation request message (MSISDN Request) to MTC Gateway, in this message, contain the FQDN that asks to some extent MTC Device, the address information of type of message MDA (MSISDN Dynamic Allocation) and above-mentioned network equipment.
Identical with embodiment tri-, the transmission of messages between MTC Server and MTC Gateway is based on ICP/IP protocol, and this message can be imitated DNS (Domain Name System, domain name system) query message and be realized.
Step 42, MTC Gateway generate the second Mobile Subscriber International ISDN Number allocation request message according to the first Mobile Subscriber International ISDN Number allocation request message, and according to the network equipment address information in message, the second Mobile Subscriber International ISDN Number allocation request message are sent to corresponding network equipment.
Between MTC Gateway and network equipment based on MAP message transfer.On this interface, define new MAP message the second Mobile Subscriber International ISDN Number allocation request message (MAP-MSISDN-ALLOCATION), be used for to network equipment request as specifying MTC Device to distribute MSISDN.
Step 43, network equipment are asked FQDN distribution Mobile Subscriber International ISDN Number.
If be allocated successfully, network equipment is removed distributed MSISDN from number pond, records FQDN associated with MSISDN, and sends the associated request of MSISDN to HLR.
If number pond is empty, without distributable MSISDN, by MTC Gateway, to MTC Server, return to response message indication number pond for empty, cannot distribute.Due to the characteristic that dynamically updates in number pond, MTCServer waits for that special time distributes MSISDN to network request again after receiving this Indication message.
Interface between network equipment and HLR is based on MAP, on this interface, define new MAP message MAP-MSISDN-ASSOCW and be used for to be associated to the user contracting data of HLR request MSISDN and this equipment after MTC Device distributes MSISDN success, in message, to comprise FQDN and the newly assigned MSISDN of equipment at network equipment.
Step 44-step 416, with step 34-316.
Equally, the flow process that number discharges in this embodiment can be that network equipment is initiated by network side, also can be initiated by MTC Server.Shown in Fig. 9, number discharges flow process and comprises:
Step 417, MTC Server utilize FQDN analytical capabilities, according to the FQDN of the corresponding relation of the network equipment of the FQDN of MTC Device of storage and MTC Device ownership, MTCDevice that described MTC Server asks, parse the network equipment that this FQDN belongs to.
MTC Server sends the first Mobile Subscriber International ISDN Number releasing request message (MSISDN Request) to MTC Gateway, type of message is MR (MSISDN Release, number discharges), i.e. request discharges MSISDN message, comprises the address information of FQDN and the above-mentioned network equipment of MTC Device in this message.
Step 418, MTC Gateway are according to above-mentioned first Mobile Subscriber International ISDN Number releasing request message generation the second Mobile Subscriber International ISDN Number releasing request message, and according to the address information of above-mentioned network equipment, described the second Mobile Subscriber International ISDN Number releasing request message being sent to corresponding network equipment, request network equipment discharges specifies the associated MSISDN of MTC Device.
In this embodiment, interface between network equipment and MTC Gateway is based on MAP, on this interface, define new MAP message the second Mobile Subscriber International ISDN Number releasing request message (MAP-MSISDN-RELEASE), be used for discharging and specifying the associated MSISDN of MTC Device to network equipment request.
Step 419-422, with step 319-322.
The embodiment of the present invention six provides a kind of SMS sending method, the application scenarios schematic diagram that Figure 10 is this embodiment.According to the system configuration shown in Figure 10, can find out, in this embodiment, MTC Server has FQDN analytical capabilities, and network equipment is arranged in HLR.
Different from embodiment five, because network equipment is arranged in HLR, mutual between the two become mutual between inside so.That is to say, in HLR inside, may have certain functional module, it and the network equipment being embedded in HLR can carry out alternately, and have and MSISDN can be carried out to function associated, release with user data.So, at this embodiment, mutual between the network equipment in the process of embodiment five number-associateds, release and HLR just become the reciprocal process between the above-mentioned functions module in network equipment and HLR.Other flow processs are identical.Wherein, between MTC Gateway and HLR based on MAP message.
As seen from the above, by the technical scheme of the embodiment of the present invention three-six, when having business demand, be user's dynamic assignment MSISDN, business completes and discharges MSISDN.Compared with the scheme of fixed allocation Mobile Subscriber International ISDN Number in prior art, the technical scheme of the embodiment of the present invention has improved the utilization ratio of MSISDN, has effectively alleviated the situation of introducing Mobile Subscriber International ISDN Number deficiency after M2M business.
At above embodiment, described network equipment all can be realized by M-DAE entity.
One of ordinary skill in the art will appreciate that all or part of flow process realizing in above-described embodiment method, can carry out the hardware that instruction is relevant by computer program to complete, described program can be stored in a computer read/write memory medium, this program, when carrying out, can comprise as the flow process of the embodiment of above-mentioned each side method.Wherein, described storage medium can be magnetic disc, CD, read-only store-memory body (Read-Only Memory, ROM) or random store-memory body (Random Access Memory, RAM) etc.
As shown in figure 11, the embodiment of the present invention seven provides a kind of network equipment, comprising: receiving element 51, allocation units 52, transmitting element 53.
Wherein, described receiving element 51, for receiving the second Mobile Subscriber International ISDN Number allocation request message, described the second Mobile Subscriber International ISDN Number allocation request message is carried communication equipment MTC Device identification information; Described allocation units 52, for the described MTC Device identification information carrying according to described the second Mobile Subscriber International ISDN Number allocation request message, the MTC Device corresponding for described MTC Device identification information distributes MSISDN; Described transmitting element 53, for described MSISDN is sent to MTC Server, so that described MTC Server is used described MSISDN to send SMS message.
The equipment that the embodiment of the present invention provides, before MTC Server initiates short message service, the MTC Device distribution MSISDN being asked for MTC Server according to the second Mobile Subscriber International ISDN Number allocation request message by network equipment, and the MSISDN of distribution is sent to described MTC Server, so that described MTC Server is used described MSISDN to send SMS message.Therefore, utilize the mode of this dynamic assignment MSISDN of the embodiment of the present invention, even in the situation that terminal quantity is more, can be also each terminal distribution Mobile Subscriber International ISDN Number, thereby improve the utilance of Mobile Subscriber International ISDN Number.
In addition, in order further to improve the utilance of Mobile Subscriber International ISDN Number, as shown in figure 12, described equipment also can comprise: releasing unit 54, after finishing for sending SMS message as described MTC Server, be released to the described MSISDN of the MTC Device distribution that described MTC Server asks.
Wherein, according to described in preceding method embodiment, described receiving element 51 can at least comprise following a kind of module:
The first receiver module, for receiving the second Mobile Subscriber International ISDN Number allocation request message being generated according to described the first Mobile Subscriber International ISDN Number allocation request message by machine type communication gateway MTC Gateway, in described the second Mobile Subscriber International ISDN Number allocation request message, include the identification information of the MTC Device that described MTC Server asks; Wherein, described MTC Gateway obtains the address information of the network equipment that described MTC Device belongs to according to the identification information of the MTC Device in described the first Mobile Subscriber International ISDN Number allocation request message, generate described the second Mobile Subscriber International ISDN Number allocation request message, and described the second Mobile Subscriber International ISDN Number allocation request message is sent to described network equipment.
The second receiver module, for receiving the 2nd MSI SDN number assignment request message being generated according to the first Mobile Subscriber International ISDN Number allocation request message of described MTC Server by MTC Gateway, in described the second Mobile Subscriber International ISDN Number allocation request message, carry the identification information of described MTC Device; Wherein, described MTC Server obtains the address information of the network equipment that asked MTC Device belongs to according to the identification information of described MTC Device, and the identification information of the address information of described network equipment and described MTC Device is carried in described the first Mobile Subscriber International ISDN Number allocation request message and sends to described MTC Gateway, make described MTC Gateway generate described the second Mobile Subscriber International ISDN Number allocation request message, and described the second Mobile Subscriber International ISDN Number allocation request message is sent to described network equipment.
Described allocation units 52 can be specifically for according to described the first allocation request message, and the MTC Device asking for described MTC Server distributes MSISDN, and described MSISDN is designated to down state.
As previously mentioned, in the process discharging at number, can have three kinds of delivery modes at least.So corresponding, described releasing unit 54 can at least comprise a kind of module:
The first release module, is used to described MTC Device to distribute after MSISDN, for described MTC Device arranges timer, when the timing of described timer arrives, discharges described MSISDN.
The second release module, for receiving by MTC Gateway according to the second Mobile Subscriber International ISDN Number releasing request message of the first Mobile Subscriber International ISDN Number releasing request message generation of described MTC Server, in described the first Mobile Subscriber International ISDN Number releasing request message and the second Mobile Subscriber International ISDN Number releasing request message, carry the identification information of described MTC Device; Wherein, described MTC Gateway obtains the address information of described network equipment according to the identification information of the MTC Device in described the first Mobile Subscriber International ISDN Number releasing request message, generate described the second Mobile Subscriber International ISDN Number releasing request message, and described the second Mobile Subscriber International ISDN Number releasing request message is sent to described network equipment, by described network equipment, according to described the second Mobile Subscriber International ISDN Number releasing request message, discharge described MSISDN.
The 3rd release module, for receiving by MTC Gateway according to the second Mobile Subscriber International ISDN Number releasing request message of the first Mobile Subscriber International ISDN Number releasing request message generation of described MTC Server, in described the second Mobile Subscriber International ISDN Number releasing request message, carry the identification information of described MTC Device, wherein, described MTC Server obtains the address information of described network equipment according to the identification information of described MTC Device, and the identification information of the address information of described network equipment and described MTC Device is carried in described the first Mobile Subscriber International ISDN Number releasing request message and sends to described MTC Gateway, make described MTC Gateway generate described the second Mobile Subscriber International ISDN Number releasing request message, and described the second Mobile Subscriber International ISDN Number releasing request message is sent to described network equipment, by described network equipment according to described the second Mobile Subscriber International ISDN Number releasing request message, discharge described MSISDN.
In addition,, in order further to improve the accuracy of follow-up short message service, as shown in figure 12, described equipment also comprises: information association unit 55.
Equipment shown in Figure 12 can be arranged in separately HLR, and so now, the action of described information association unit 55 completes in HLR inside.
Or the equipment shown in Figure 12 also can be formed as an independent entity, divides and is arranged with HLR.So now, described information association unit 55 can be specifically for, to attaching position register HLR, send association request message, in described association request message, comprise and identification information and the described MSISDN of described MTC Device make described HLR according to described association request message, described MSISDN be carried out associated with the user data information of described MTC Device.
In order further to guarantee the accuracy of follow-up short message service, described number releasing unit 54 also can comprise following any module:
The 4th release module, for also comprising that in the association request message sending to attaching position register HLR described network equipment is the timing information of the timer of described MTC Device distribution, makes described HLR discharge described MSISDN according to described timing information; When network equipment sends described MSISDN to described MTC Server, also comprise that described network equipment is the timing information of the timer of described MTC Device distribution, makes described MTC Server discharge described MSISDN according to described timing information.
The 5th release module, for sending associated release message to described HLR, comprises and the identification information of described MTC Device makes described HLR discharge the associated MSISDN of described MTC Device according to described associated release message at described associated release message; To described MTC Gateway, send second and discharge response message, make described MTC Gateway send first to described MTC Server and discharge response message, make described MTCServer discharge response message according to described first and discharge described MSISDN.。
Wherein, the operation principle of this equipment can be with reference to the description in preceding method embodiment.
The network equipment that the embodiment of the present invention provides, before MTC Server initiates short message service, the MTC Device distribution MSISDN being asked for MTC Server by network equipment; And when short message service finishes, discharge this MSISDN.Therefore, utilize the mode of this dynamic assignment MSISDN of the embodiment of the present invention, even in the situation that terminal quantity is more, can be also each terminal distribution Mobile Subscriber International ISDN Number, thereby improve the utilance of Mobile Subscriber International ISDN Number.
As shown in figure 13, the embodiment of the present invention eight provides a kind of server, comprising: transmitting element 61, receiving element 62 and acquiring unit 63.Wherein, described transmitting element 61, be used for sending the first Mobile Subscriber International ISDN Number allocation request message, described the first Mobile Subscriber International ISDN Number allocation request message is carried the identification information of asked MTC Device, so that MTC Device corresponding to identification information that network equipment is described MTC Device according to the identification information of described MTC Device distributes MSISDN; Described receiving element 62, for receiving the first Mobile Subscriber International ISDN Number assignment response message, described the first Mobile Subscriber International ISDN Number assignment response message is carried described MSISDN; Described acquiring unit 63, for obtaining described MSISDN for sending SMS message from described the first Mobile Subscriber International ISDN Number assignment response message.
The server that the embodiment of the present invention provides, before initiating short message service, sends to server by network equipment by the MSISDN of distribution, then by this server, is obtained this MSISD and is sent SMS message.Therefore, utilize the mode of this dynamic assignment MSISDN of the embodiment of the present invention, even in the situation that terminal quantity is more, can be also each terminal distribution Mobile Subscriber International ISDN Number, thereby improve the utilance of Mobile Subscriber International ISDN Number.
In addition, in order further to improve the utilance of Mobile Subscriber International ISDN Number, as shown in figure 14, described equipment also can comprise: releasing unit 64, after finishing when sending SMS message, discharges described MSISDN.
Wherein, described transmitting element 61 specifically for, to MTC Gateway, send the first Mobile Subscriber International ISDN Number allocation request message, make described MTC Gateway distribute request generate the second Mobile Subscriber International ISDN Number allocation request message and described the second Mobile Subscriber International ISDN Number allocation request message is sent to network equipment according to described the first Mobile Subscriber International ISDN Number, described the first Mobile Subscriber International ISDN Number allocation request message and the second Mobile Subscriber International ISDN Number allocation request message are carried respectively the identification information of MTC Devie, the described MTC Device identification information being carried according to described the second Mobile Subscriber International ISDN Number allocation request message by described network equipment, the MTC Device corresponding for described MTC Device identification information distributes MSISDN.
Described according to previous embodiment, in described assignment response message also described network equipment set for discharging the timing information of timer of MSISDN.Now, described releasing unit 64 comprises following any module:
The first release module, is the timing information that described MTC Device distributes for receiving described network equipment, and when timing corresponding to described timing information arrives, discharges described MSISDN.
The second release module, for sending the first Mobile Subscriber International ISDN Number releasing request message to MTC Gateway, in described message, comprise the identification information of described MTC Device, make described MTC Gateway according to the identification information of described MTC Device, obtain the address information of the network equipment that described MTC Device belongs to, and generate described the second Mobile Subscriber International ISDN Number releasing request message, and described the second Mobile Subscriber International ISDN Number releasing request message is sent to described network equipment; Described the second Mobile Subscriber International ISDN Number releasing request message is used for notifying described network equipment to discharge described MSISDN; Receive the first release response message that described MTC Gateway sends, discharge described MSISDN, wherein said the first release response message is by described MTC Gateway, according to described network equipment, to send to second of described MTC Gateway to discharge response message to generate.
The 3rd release module, for obtain the address information of the network equipment that described MTC Device belongs to according to the identification information of described MTC Device, and the identification information of the address information of described network equipment and described asked MTC Device is carried in described the first Mobile Subscriber International ISDN Number releasing request message and sends to MTC Gateway, make described MTC Gateway generate described the second Mobile Subscriber International ISDN Number releasing request message, and described the second Mobile Subscriber International ISDN Number releasing request message is sent to described network equipment; Described the second Mobile Subscriber International ISDN Number releasing request message is used for notifying described network equipment to discharge described MSISDN; Receive the first release response message that described MTC Gateway sends, discharge described MSISDN, wherein said the first release response message is by described MTC Gateway, according to described network equipment, to send to second of described MTC Gateway to discharge response message to generate.
Equipment shown in Figure 13 or 14 can be arranged in MTC Server.
The server that the embodiment of the present invention provides, before MTC Server initiates short message service, the MTC Device distribution MSISDN being asked for MTC Server by network equipment; And when short message service finishes, discharge this MSISDN.Therefore, utilize the mode of this dynamic assignment MSISDN of the embodiment of the present invention, even in the situation that terminal quantity is more, can be also each terminal distribution Mobile Subscriber International ISDN Number, thereby improve the utilance of Mobile Subscriber International ISDN Number.
In addition, as shown in figure 15, the embodiment of the present invention nine also provides a kind of short message transmitting system, comprising: MTC Server (MTC server) 71, network equipment 72 and MTC Gateway (MTC gateway) 73.
Wherein, described MTC Server71, for sending the first Mobile Subscriber International ISDN Number allocation request message to described MTC Gateway, receives the MSISDN that described network equipment distributes, described MTC Gateway73 generates the second Mobile Subscriber International ISDN Number allocation request message according to described the first Mobile Subscriber International ISDN Number allocation request message, and described the second Mobile Subscriber International ISDN Number allocation request message is sent to described network equipment 72, described network equipment 72, for the MTC Device distribution MSISDN asking for described MTC Server according to described the second Mobile Subscriber International ISDN Number allocation request message, transmission is carried the second Mobile Subscriber International ISDN Number assignment response message of described MSISDN to described MTC Gateway, so that described MTC Gateway generates the first Mobile Subscriber International ISDN Number assignment response message of carrying described MSISDN according to described the second Mobile Subscriber International ISDN Number assignment response message, and described the first Mobile Subscriber International ISDN Number assignment response message is sent to described MTC Server, the described MSISDN that described MTC Server carries according to described the first Mobile Subscriber International ISDN Number assignment response message is sent SMS message to MTC Device corresponding to described MTC Device identification information.Described the second Mobile Subscriber International ISDN Number allocation request message and Mobile Subscriber International ISDN Number allocation request message are all carried the identification information of described MTC Device.
Wherein, the identification information of the described MTC Device that described MTC Gateway carries according to described the first Mobile Subscriber International ISDN Number allocation request message obtains the address information of the network equipment that described MTC Device belongs to, generate described the second Mobile Subscriber International ISDN Number allocation request message, and described the second Mobile Subscriber International ISDN Number allocation request message is sent to described network equipment.
In addition, described MTC Server 71 also can send SMS message after end, to described MTC Gateway73, send the first Mobile Subscriber International ISDN Number releasing request message, in described the first Mobile Subscriber International ISDN Number releasing request message, carry the identification information of the MTC Device that described MTC Server asks.Now, described MTC Gateway73, for obtain the address information of the network equipment that described MTC Device belongs to according to the identification information of the MTC Device of described the first Mobile Subscriber International ISDN Number releasing request message, generate the second Mobile Subscriber International ISDN Number releasing request message, and according to described address information, the second Mobile Subscriber International ISDN Number releasing request message is sent to described network equipment; In described the second Mobile Subscriber International ISDN Number releasing request message, comprise the identification information of described asked MTCDevice.Now, described network equipment 72 is specifically for discharging described MSISDN according to described the second Mobile Subscriber International ISDN Number releasing request message.
The short message transmitting system that the embodiment of the present invention provides, before MTC Server initiates short message service, the MTC Device distribution MSISDN being asked for MTC Server by network equipment; And when short message service finishes, discharge this MSISDN.Therefore, utilize the mode of this dynamic assignment MSISDN of the embodiment of the present invention, even in the situation that terminal quantity is more, can be also each terminal distribution Mobile Subscriber International ISDN Number, thereby improve the utilance of Mobile Subscriber International ISDN Number.
Or, in the system shown in Figure 15, described MTC Server71 specifically for, according to the identification information of described MTCDevice, obtain the address information of the network equipment that described MTC Device belongs to, and the identification information of the address information of described network equipment and described MTC Device is carried in described the first Mobile Subscriber International ISDN Number allocation request message and the first Mobile Subscriber International ISDN Number releasing request message and sends to described MTCGateway.Described MTC Gateway73 is used for respectively according to the second Mobile Subscriber International ISDN Number allocation request message and the second Mobile Subscriber International ISDN Number releasing request message described in described the first Mobile Subscriber International ISDN Number allocation request message and the first Mobile Subscriber International ISDN Number releasing request message generation, and described the second Mobile Subscriber International ISDN Number allocation request message and the second Mobile Subscriber International ISDN Number releasing request message are sent to described network equipment.The MTCDevice distribution MISDN of described network equipment 72 specifically for asking for described MTC Server according to described the second Mobile Subscriber International ISDN Number allocation request message, and discharge described MSISDN according to described the second Mobile Subscriber International ISDN Number releasing request message.
In addition, as shown in figure 16, described system also comprises: HLR (attaching position register) 74.Described network equipment 72, also for sending association request message to described HLR, comprises the identification information of the MTC Device that described MTC Server asks and the MSISDN of the MTCDevice distribution of asking for described MTC Server in described message; Described system HLR 74, for carrying out associated by described MSISDN with the user data information of described MTC Device.
Wherein, the network equipment in system shown in Figure 16 can be arranged in HLR.In addition, the function of the each part in system shown in Figure 15-16 can be with reference to the description in previous embodiment three-six.
In sum, the SMS sending method, the equipment that utilize the embodiment of the present invention to provide, even in the situation that terminal quantity is more, can be also each terminal distribution Mobile Subscriber International ISDN Number, thereby improve the utilance of Mobile Subscriber International ISDN Number.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of described claim.