Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Embodiment 1:
Embodiments provide a kind of method realizing preferential alarm in inter-machine communication, as shown in Figure 1, described method comprises:
101, MME receives the request message that MTC device sends, carry preferential alarm PAM in described request message to identify and PAM traffic type information, described PAM mark is used for notifying that this MTC device of described MME will send PAM message, the PAM type of message that described PAM traffic type information sends for showing described MTC device, described PAM traffic type information comprises first kind information and/or Second Type information, described first kind information is PAM instruction for the PAM message showing described MTC and send, described Second Type information is PAM data for the PAM message showing described MTC device and send,
Wherein, described PAM instruction is used for when MTC device detects that the abnormal conditions preset occur for self, send the PAM corresponding to described default abnormal conditions to MTC server to indicate, described default abnormal conditions comprise: MTC device is illegally moved to roaming network or limited-service region, or MTC device is damaged, or MTC device is stolen, but be not limited only to this;
When environmentally the residing environment of parameter judgement does not belong to default home (as the condition of a disaster or major accident occur) to MTC device; detect the parameter of environment residing for this MTC device; and generate PAM data according to described parameter, sent the relevant information of described the condition of a disaster or major accident to MTC server by described PAM data.
102, MME determines corresponding carrying according to described PAM traffic type information, is completed the transmission of the PAM message from MTC device by described carrying.
Wherein, when the described PAM message from MTC device is PAM instruction, carry described PAM in the upstream data request that then can occur in MTC device to indicate, described upstream data request is sent to gateway by existing default bearing, by gateway, described PAM instruction is sent to MTC server; When the described PAM message from MTC device is PAM data, then sets up PAM dedicated bearer and the Radio Resource being exclusively used in PAM transfer of data, to make this MTC device that described PAM data are sent to gateway, and then be sent to MTC server.
The method realizing preferential alarm in inter-machine communication that the embodiment of the present invention provides; when MTC device detects abnormal conditions; or when residing for described MTC device, environment does not belong to default home; PAM message is sent in time to MTC server; MTC server obtains the information of environment residing for the abnormal conditions of described MTC device or MTC device by described PAM message; thus avoid the increase causing the congested of M2M communication network or network element processing load, bring about great losses to MTC operator when avoiding MTC device to occur abnormal conditions.
Embodiment 2:
The embodiment of the present invention provides a kind of method realizing preferential alarm in inter-machine communication, and as shown in Figure 2, described method comprises:
201, in HLR/HSS, the subscription data relevant to PAM is pre-set, the described subscription data relevant to PAM comprises PAM feature and PAM QoS, wherein, described PAM feature is used for judging in current network, whether allow certain specific MTC device to send PAM message, described PAM QoS is used for setting up PAM dedicated bearer, and described PAM dedicated bearer is for transmitting PAM data.
202, pre-configured PAM feature in MTC device, makes described MTC device can send PAM message in current network.
203, when MTC device is illegally moved to roaming network or limited-service region, MTC device sends attachment request (Attach Request) message to current MME (i.e. the MME in the current residing roaming network of MTC device or limited-service region), and described Attach Request message comprises PAM mark and PAM traffic type information.
Wherein, described PAM mark is used for notifying that this MTC device of current MME will send PAM message, the PAM type of message that described PAM traffic type information sends for showing described MTC device, described PAM traffic type information comprises first kind information and/or Second Type information, described first kind information is PAM instruction for the PAM message showing described MTC device and send, and described Second Type information is PAM data for the PAM message showing described MTC device and send; The PAM message that the embodiment of the present invention sends with MTC device is described for PAM is designated as example, then described PAM traffic type information is first kind information.
204, described current MME obtains authentication information from HLR/HSS, completes the certification to MTC device according to described authentication information, allows described MTC device to access current network and obtains service.
205, current MME sends position updating request (Update Location Request) to HLR/HSS, for notifying that described HLR/HSS upgrades the mark of the MME accompanying by described MTC device, IMSI (the International Mobile SubscriberIdentification Number of described MTC device is carried in described position updating request, international mobile station equipment identity) and PAM mark, described IMSI is for identifying described MTC device, and described PAM mark is used for obtaining described relevant to PAM subscription data from described HLR/HSS.
206, HLR/HSS receives described position updating request, according to the PAM mark in described location update request message, judges to show that current MME needs what carry out to be PAM flow process, thus returns described relevant to PAM subscription data to described current MME.
207, HLR/HSS sends canceling position request (Cancel Location Request), for cancelling the attachment of described MTC device on this initial MME to initial MME (namely MTC device is by illegal mobile front accompanying MME).
208, initial MME receives described canceling position request, confirms to HLR/HSS the attachment cancelling described MTC device.
209, HLR/HSS sends the request message inserting subscription data to current MME, and described subscription data comprises described relevant to PAM subscription data.
210, current MME accepts the request message of described insertion subscription data, confirms to receive described subscription data to HLR/HSS.
211, HLR/HSS accepts described position updating request, upgrades the mark of the MME accompanying by described MTC device.
212, current MME accepts described attachment request according to the PAM feature in described attachment request.
213, MTC device completes the attachment on described current MME.
214, current MME sends to gateway and sets up session request to set up default bearing, and described foundation in session request carries described PAM first kind information, carries PAM instruction for notifying in the upstream data request that described gateway receives.
215, between described current MME and described gateway, default bearing is set up.
216, described PAM instruction is carried in upstream data request by MTC device, by described default bearing, described PAM instruction is sent to gateway, and then is sent to MTC server.
Worth explanation, when the PAM message that described MTC device sends is PAM data, the PAM traffic type information in described Attach Request message is Second Type information; Carry described Second Type information at current MME to setting up in session request of sending of gateway, notification gateway sets up the PAM dedicated bearer meeting described PAM qos requirement, and informing base station sets up the Radio Resource meeting described PAM qos requirement simultaneously; Described MTC device sends upstream data request by described PAM dedicated bearer and Radio Resource to gateway, and described upstream data request comprises described PAM data.
The method realizing preferential alarm in inter-machine communication that the embodiment of the present invention provides, when MTC device is illegally moved to roaming network or limited-service region, described MTC device carries the attachment request of PAM mark to be attached on described current MME to current MME transmission; Described current MME sends to gateway the foundation carrying carrying PAM traffic type information and asks to set up corresponding carrying, completes the described transmission from the PAM message of MTC device.Adopt the embodiment of the present invention, can make when MTC device is in roaming network or limited-service region, send PAM message to MTC server, the real time information of MTC operator to MTC device is grasped, is convenient to the management to MTC device.
Embodiment 3:
The embodiment of the present invention provides a kind of method realizing preferential alarm in inter-machine communication, and as shown in Figure 3, described method comprises:
301, in HLR/HSS, the subscription data relevant to PAM is pre-set, the described subscription data relevant to PAM comprises PAM feature and PAM QoS, wherein, described PAM feature is used for judging in current network, whether allow certain specific MTC device to send PAM message, described PAM QoS is used for setting up PAM dedicated bearer, and described PAM dedicated bearer is for transmitting PAM data.
302, pre-configured PAM feature in MTC device, makes described MTC device can send PAM message in current network.
303, when MTC device detects that the abnormal conditions preset occur for self, PAM mark and PAM traffic type information is carried in the business request information sent to base station, described PAM mark is used for notifying that this MTC device of current MME will send PAM message, described PAM traffic type information is first kind information, described first kind information shows that the PAM message that described MTC device sends is PAM instruction, described PAM instruction is for showing the abnormal conditions that described MTC device occurs, described abnormal conditions comprise: MTC device is damaged or stolen, but is not limited only to this.
304, base station receives described business request information, and described business request information is forwarded to MME.
305, MME carries out certification according to the authentication information obtained from HLR/HSS to MTC device, accepts described business request information, allows described MTC device to access current network and obtains service.
306, the setting up in session request of default bearing of setting up that MME is sending to gateway carries described first kind information, and described first kind information carries PAM instruction in the upstream data request that notifies described gateway and receive.
307, described PAM instruction is carried in upstream data request by MTC device, by described default bearing, described PAM instruction is sent to gateway, and then is sent to MTC server.
The method realizing preferential alarm in inter-machine communication that the embodiment of the present invention provides, when there are the abnormal conditions preset in MTC device, MTC device sends the business request information carrying PAM mark and first kind information to base station, the PAM instruction characterizing described abnormal conditions is the most at last carried in upstream data request, is sent to MTC server by default bearing.Adopt the embodiment of the present invention, when the abnormal conditions that the generation of MTC device is preset, in time by described abnormal conditions notice MTC server, be convenient to carry out corresponding measure to MTC operator, thus reduce the loss.
Embodiment 4:
The embodiment of the present invention provides a kind of method realizing preferential alarm in inter-machine communication, and as shown in Figure 4, described method comprises:
401, in HLR/HSS, the subscription data relevant to PAM is pre-set, the described subscription data relevant to PAM comprises PAM feature and PAM QoS, wherein, described PAM feature is used for judging in current network, whether allow certain specific MTC device to send PAM message, described PAM QoS is used for setting up PAM dedicated bearer, and described PAM dedicated bearer is for transmitting PAM data.
402, pre-configured PAM feature in MTC device, makes described MTC device can send PAM message in current network.
403, when MTC device detects home (as the condition of a disaster or major accident occur) that residing environment do not belong to default and as described in MTC device be in idle condition in a network time; the business request information carrying PAM mark and PAM traffic type information is sent to base station; described PAM mark is used for notifying that this MTC device of current MME will send PAM message; described PAM traffic type information is Second Type information, and described Second Type information shows that the PAM message that described MTC device sends is PAM data.Described PAM data have MTC device to generate, for describing the information of current environment according to the environmental parameter detected.
404, base station receives described business request information, and described business request information is forwarded to MME.
405, MME carries out certification according to the authentication information obtained from HLR/HSS to MTC device, accepts described business request information, allows described MTC device to access current network and obtains service.
406, MME carries described Second Type information setting up in session request of sending to gateway, and described Second Type information is used to indicate gateway and sets up the PAM dedicated bearer meeting described PAM qos requirement.
407, gateway sets up the PAM dedicated bearer meeting described PAM qos requirement according to the session request of setting up of the Second Type information of carrying received.
408, MME sends S1-AP initial context and sets up request message to base station, is that described MTC device sets up context, carries PAM QoS in described request to ask this base station.
409, base station receives described S1-AP initial context and sets up request message, for described MTC device sets up context, and sets up the Radio Resource being exclusively used in PAM transfer of data according to described PAM QoS.
410, MTC device pass through described in be exclusively used in the Radio Resource of PAM transmission and described PAM dedicated bearer sends upstream data request, described upstream data request comprises described PAM data.
The method realizing preferential alarm in inter-machine communication that the embodiment of the present invention provides; when environment residing for MTC device does not belong to default home (as the condition of a disaster occurs) and MTC device is in idle condition in a network; MTC device generates PAM data according to the condition of a disaster information detected; and notify that MME sets up PAM dedicated bearer; between described MTC device and base station, set up the Radio Resource being exclusively used in PAM simultaneously, described PAM data are sent to MTC server.Adopt the embodiment of the present invention, when residing for MTC device during environment generation the condition of a disaster, in time the condition of a disaster information is sent to MTC server, makes MTC operator understand the condition of a disaster information in time, thus take corresponding measure to reduce the loss.
Embodiment 5:
The embodiment of the present invention provides a kind of method realizing preferential alarm in inter-machine communication, and as shown in Figure 5, described method comprises:
501, in HLR/HSS, the subscription data relevant to PAM is pre-set, the described subscription data relevant to PAM comprises PAM feature and PAM QoS, wherein, described PAM feature is used for judging in current network, whether allow certain specific MTC device to send PAM message, described PAM QoS is used for setting up PAM dedicated bearer, and described PAM dedicated bearer is for transmitting PAM data.
502, pre-configured PAM feature in MTC device, makes described MTC device can send PAM message in current network.
503, when MTC device detects home (as the condition of a disaster or major accident occur) that residing environment do not belong to default and as described in MTC device be in connection status in a network time, send business request information to base station, carry PAM mark, PAM traffic type information in described business request information and delete the instruction of existing carrying; Described PAM mark is used for notifying that this MTC device of current MME will send PAM message, described PAM traffic type information is Second Type information, for showing that the PAM message that described MTC device sends is PAM data, described PAM data are for describing the information of current environment, and the instruction of the existing carrying of described deletion is used to indicate current all carryings that MME deletes described MTC device.
504, base station receives described business request information, and described business request information is forwarded to MME.
505, MME carries out certification according to the authentication information obtained from HLR/HSS to MTC device, receives described business request information, allows described MTC device to access current network and obtains service.
506, MME is according to the instruction of the existing carrying of the deletion in described business request information, deletes current all carryings of described MTC device.
Wherein, current all carryings that described MME deletes described MTC device specifically comprise:
MME sends deleting bearing instruction to gateway;
Gateway receives described deleting bearing instruction, sends the request of deleting bearing to MME;
MME accepts the request of described deleting bearing, deletes current all carryings of described MTC device, and returns the response of deleting bearing to gateway.
507, MME carries described Second Type information setting up in session request of sending to gateway, and described Second Type information is used to indicate gateway and sets up the PAM dedicated bearer meeting described PAM qos requirement.
508, gateway sets up the PAM dedicated bearer meeting described PAM qos requirement according to the session request of setting up of the Second Type information of carrying received.
509, MME sends S1-AP initial context and sets up request message to base station, is that described MTC device sets up context, carries PAM QoS in described request to ask this base station.
510, base station receives described S1-AP initial context and sets up request message, for described MTC device sets up context, and sets up the Radio Resource being exclusively used in PAM transfer of data according to described PAM QoS.
511, MTC device pass through described in be exclusively used in the Radio Resource of PAM transmission and described PAM dedicated bearer sends upstream data request, described upstream data request comprises described PAM data.
The method realizing preferential alarm in inter-machine communication that the embodiment of the present invention provides; when environment residing for MTC device do not belong to default home (as the condition of a disaster occurs) and as described in MTC device be in connection status in a network time; MTC device generates PAM data according to the condition of a disaster information detected; notice MME deletes all carryings of described MTC device and sets up PAM dedicated bearer; between described MTC device and base station, set up the Radio Resource being exclusively used in PAM simultaneously, described PAM data are sent to MTC server.Adopt the embodiment of the present invention, when residing for MTC device during environment generation the condition of a disaster, in time the condition of a disaster information is sent to MTC server, makes MTC operator understand the condition of a disaster information in time, thus take corresponding measure to reduce the loss.
Embodiment 6
The embodiment of the present invention provides a kind of device realizing preferential alarm in inter-machine communication, and as shown in Figure 6, described device comprises: the first receiver module 601, first sending module 602.
Wherein, the request message that described first receiver module 601 sends for receiving MTC device, PAM mark and PAM traffic type information is carried in described request message, described PAM mark is for notifying that this MTC device of MME will send PAM message, the PAM type of message that described PAM traffic type information sends for showing described MTC device, described PAM traffic type information comprises first kind information and/or Second Type information, described first kind information is PAM instruction for the PAM message showing described MTC and send, described Second Type information is PAM data for the PAM message showing described MTC device and send,
Described first sending module 602, for determining corresponding carrying according to described PAM traffic type information, completes the transmission of the PAM message from MTC device by described carrying.
Further, as shown in Figure 7, described device also comprises acquisition module 603, and described first sending module 602 specifically also comprises: the first transmitting element 6021, second transmitting element 6022, the 3rd transmitting element 6023.
Wherein, described acquisition module 603 obtains the subscription data relevant to PAM for identifying according to the PAM in the request message of described first receiver module 601 reception from HLR/HSS, to judge whether allow described MTC device to send PAM message in current network; Wherein, the subscription data relevant to PAM is previously provided with in described HLR/HSS, the described subscription data relevant to PAM comprises PAM feature and the service quality PAM QoS relevant with PAM transfer of data, described PAM feature is used for judging in current network, whether to allow MTC device to send PAM message, described PAM QoS is for setting up the PAM dedicated bearer being exclusively used in PAM transfer of data;
Described first transmitting element 6021 is for when the PAM traffic type information of carrying in the request message that described first receiver module 601 receives is first kind information, send to gateway and set up session request to set up default bearing, to make described MTC device be sent the upstream data request carrying described PAM and indicate to gateway by described default bearing, thus make described gateway that described PAM instruction is sent to MTC server; Wherein, described foundation in session request carries described first kind information, carries PAM instruction for notifying in the upstream data request that described gateway receives;
Described second transmitting element 6022, for when the PAM traffic type information of carrying in the request message that described first receiver module 601 receives is Second Type information, sends to gateway and sets up session request to set up the PAM dedicated bearer meeting described PAM qos requirement; Wherein, described foundation in session request carries Second Type information, is used to indicate gateway and sets up described PAM dedicated bearer;
Described 3rd transmitting element 6023, for when the PAM traffic type information of carrying in the request message that described first receiver module 601 receives is Second Type information, described PAM QoS is sent to base station, informing base station sets up the Radio Resource meeting described PAM qos requirement, upstream data request is sent by described Radio Resource and described PAM dedicated bearer to gateway to make described MTC device, described upstream data request comprises the PAM data that described MTC device sends, thus makes described gateway that described PAM data are sent to MTC server.
Further, then as shown in Figure 8, described device also comprises: the second sending module 604, second receiver module 605, attachable module 606.
Wherein, described first receiver module 601 is concrete also for receiving the Attach Request message sent when described MTC device is in roaming network or confined area, carries described PAM and identify and PAM traffic type information in described Attach Request message;
Described second sending module 604 is for sending position updating request, for notifying that described HLR/HSS upgrades the mark of the MME accompanying by described MTC device to HLR/HSS; Carry IMSI and described PAM in described position updating request to identify; Described IMSI is for identifying described MTC device, and described PAM mark is used for obtaining the subscription data relevant to PAM from described HLR/HSS;
The location updating response that described second receiver module 605 returns according to the position updating request that above-mentioned second sending module 604 sends for receiving described HLR/HSS, carries described relevant to PAM subscription data in described location updating response;
Described attachable module 606 allows described MTC device to send PAM message for determining according to the described subscription data relevant to PAM in current network, accept the attachment request of MTC device according to described PAM mark, complete the attachment of described MTC device on current MME.
Further, as shown in Figure 9, described device also comprises removing module 607.
Wherein, described first receiver module 601 concrete also for receive described MTC device be in connection status in a network and the PAM message that described MTC device sends is PAM data time the business request information that sends, carry PAM mark, Second Type information in described business request information and delete the instruction of existing carrying, the instruction of the existing carrying of described deletion is used to indicate current all carryings that MME deletes described MTC device;
Described removing module 607, for the instruction according to the existing carrying of deletion in the business request information of described first receiver module reception, deletes current all carryings of described MTC device.
It is worth mentioning that, the device provided in the embodiment of the present invention can be MME, also can be SGSN (Service GPRS Support Node, Serving GPRS Support Node), but be not limited only to this.
The embodiment of the present invention additionally provides a kind of system realizing preferential alarm in inter-machine communication, comprises the MME in said apparatus embodiment, HLR/HSS, base station and MTC device.
The device realizing preferential alarm in inter-machine communication that the embodiment of the present invention provides; when MTC device detects abnormal conditions; or when residing for described MTC device, environment is improper environment; PAM message is sent in time to MTC server; MTC server obtains the information of environment residing for the abnormal conditions of described MTC device or MTC device by described PAM message; thus avoid the increase causing the congested of M2M communication network or network element processing load, bring about great losses to MTC operator when avoiding MTC device to occur abnormal conditions.
The communication MTC device of the device of preferential alarm, attaching position register HLR/ home subscriber server HSS and Machine Type is realized in the inter-machine communication that the embodiment of the present invention provides, the above-mentioned embodiment of the method provided can be provided, concrete function realizes the explanation referred in embodiment of the method, does not repeat them here.The method realizing preferential alarm in inter-machine communication that the embodiment of the present invention provides and device go for MTC device and send priority alarm message to MTC server, but are not limited only to this.
Through the above description of the embodiments, those skilled in the art can be well understood to the mode that the present invention can add required common hardware by software and realize, and can certainly pass through hardware, but in a lot of situation, the former is better execution mode.Based on such understanding, technical scheme of the present invention can embody with the form of software product the part that prior art contributes in essence in other words, this computer software product is stored in the storage medium that can read, as the floppy disk of computer, hard disk or CD etc., comprise some instructions and perform method described in each embodiment of the present invention in order to make a computer equipment (can be personal computer, server, or the network equipment etc.).
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within 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.