Summary of the invention
In view of this; Main purpose of the present invention is to provide a kind of method and system of the MTC of detection terminal mobility state; (Mobility Management Entity, MME) realization is judged the mobility status at MTC terminal and is monitored can to pass through Mobility Management Entity.
For achieving the above object, technical scheme of the present invention is achieved in that
The invention provides a kind of method of the MTC of detection terminal mobility state, said method comprises:
MME preserves the mobility status detected parameters at MTC terminal;
MME carries out at the MTC terminal and adheres to or when carrying out tracing section updating or Hypomobility characteristic and being activated; Pick up counting and to the sub-district at MTC terminal switching or tracing section updating carries out counting operation; If arrive the preset time limit, counting does not reach threshold value, then restarts timing and counting operation; If the state-detection time limit inside counting preset reaches threshold value, then MME alarms to the motion state at MTC terminal.
Wherein, the mobility status detected parameters at said MTC terminal comprises: to MTC terminal preset state-detection time limit and state-detection counting threshold parameter; Or to MTC terminal preset state-detection time limit and state-detection counting threshold parameter, and the specified scope that allows the MTC terminal to move.
Wherein, The mode that said MME preserves the mobility status detected parameters at MTC terminal comprises: the mobility status detected parameters at MTC terminal is provided with in advance and preserves as the MME local parameter, or obtains the mobility status detected parameters and the preservation at MTC terminal from home subscriber server (HSS).
Wherein, after switching of said sub-district or the tracing section updating, also comprise:
MME judges whether still to be positioned at specified scope according to the mobility status detected parameters at MTC terminal, if then do not carry out counting operation, otherwise carry out counting operation.
Wherein, the said execution at the MTC terminal adhered to or when carrying out tracing section updating or Hypomobility characteristic and being activated, picks up counting, and comprising:
Pick up counting receive attach request signaling or the tracing section updating demand signalling at MTC terminal at MME after;
Or send to adhere at MME and accept to pick up counting after signaling or tracing section updating are accepted signaling;
Or in the Hypomobility characteristic of MTC user to operator application activation MTC terminal, the HSS subscription data is at first revised by operator, and the Hypomobility characteristic is set to pick up counting after the state of activation in this MTC user's the MTC terminal unit contractual information.
Wherein, said MME alarms to the motion state at MTC terminal, comprising: MME local preservation warning information and/or MME send to MTC server and/or HSS and/or gateway with warning information.
The present invention also provides a kind of system of the MTC of detection terminal mobility state, and said system comprises: MME and MTC terminal, wherein,
Said MME is used to preserve the mobility status detected parameters at MTC terminal, carries out at the MTC terminal to adhere to or when carrying out tracing section updating or Hypomobility characteristic and being activated; Pick up counting and to the sub-district at MTC terminal switching or tracing section updating carries out counting operation; If arrive the preset time limit, counting does not reach threshold value, then restarts timing and counting operation; If the state-detection time limit inside counting preset reaches threshold value, then alarm to the motion state at MTC terminal.
Wherein, the mobility status detected parameters at said MTC terminal comprises: to MTC terminal preset state-detection time limit and state-detection counting threshold parameter; Or to MTC terminal preset state-detection time limit and state-detection counting threshold parameter, and the specified scope that allows the MTC terminal to move.
Wherein, said MME also is used for, and after switching of said sub-district or the tracing section updating, MME judges whether still to be positioned at specified scope according to the mobility status detected parameters at MTC terminal, if then do not carry out counting operation, otherwise carry out counting operation.
Wherein, also comprise HSS in the said system, said HSS is used for, and the mobility status detected parameters at MTC terminal is provided for MME.
The method and system of detection MTC terminal mobility state provided by the present invention is by the mobility status detected parameters at MME preservation MTC terminal; MME carries out at the MTC terminal and adheres to or when carrying out tracing section updating or Hypomobility characteristic and being activated; Pick up counting and to the sub-district at MTC terminal switching or tracing section updating carries out counting operation; If arrive the preset time limit, counting does not reach threshold value, then restarts timing and counting operation; If the state-detection time limit inside counting preset reaches threshold value, then MME alarms to the motion state at MTC terminal.Can realize the mobility status at MTC terminal is judged and monitored through MME through said method; And alarm is provided further; The fail safe at MTC terminal is improved; The framework of simultaneously all right compatible existing network need not spend the expensive transformation of carrying out system architecture, has advantages of high practicability.
Embodiment
Basic thought of the present invention is: the mobility status detected parameters of being preserved the MTC terminal by MME; MME carries out at the MTC terminal and adheres to or when carrying out tracing section updating or Hypomobility characteristic and being activated; Pick up counting and to the sub-district at MTC terminal switching or tracing section updating carries out counting operation; If arrive the preset time limit, counting does not reach threshold value, then restarts timing and counting operation; If the state-detection time limit inside counting preset reaches threshold value, then MME alarms to the motion state at MTC terminal.
Below in conjunction with accompanying drawing and specific embodiment technical scheme of the present invention is further set forth in detail.
Fig. 2 is a kind of method flow sketch map that detects MTC terminal mobility state of the present invention, and is as shown in Figure 2, and said method comprises:
Step 201, MME preserves the mobility status detected parameters at MTC terminal;
Concrete, the mobility status detected parameters at said MTC terminal comprises: to MTC terminal preset state-detection time limit and state-detection counting threshold parameter.Further, when monitoring, also comprise in the said mobility status detected parameters: the specified scope that allows the MTC terminal to move to the MTC terminal that allows in specified scope, to move.Wherein, said specified scope limits through carrying cell ID.
Further; The mode that said MME preserves the mobility status detected parameters at MTC terminal comprises: the mobility status detected parameters at MTC terminal is provided with in advance and preserves as the MME local parameter, or obtains the mobility status detected parameters and the preservation at MTC terminal from home subscriber server (HSS).Wherein, the said mobility status detected parameters of obtaining the MTC terminal from HSS comprises: MME sends to HSS and upgrades position request information; In described request information, carry international mobile subscriber identity (the International Mobile Subscriber Identification Number at MTC terminal; IMSI) sign, HSS identifies according to IMSI, inquires about its subscription data; With the mobility status detected parameters in the subscription data, send to MME through upgrading the position response message.
Step 202; MME carries out at the MTC terminal and adheres to or when carrying out tracing section updating or Hypomobility characteristic and being activated, and picks up counting and the sub-district at MTC terminal is switched or tracing section updating carries out counting operation, presets the time limit if arrive; Counting does not reach threshold value; Then restart timing and counting operation, if reach threshold value in preset state-detection time limit inside counting, then execution instep 203;
Concrete, the switching of said sub-district comprises: switch between switching or MME between the base station.The said execution at the MTC terminal adhered to or when carrying out tracing section updating or Hypomobility characteristic and being activated, picks up counting, and comprising: pick up counting receive attach request signaling or the tracing section updating demand signalling at MTC terminal at MME after; Can also be that MME sends to adhere to and accepts signaling or tracing section updating is accepted to pick up counting after the signaling; Further can also activate the Hypomobility characteristic at MTC terminal by MTC user to operator's application; The HSS subscription data is at first revised by operator; The Hypomobility characteristic is set to state of activation in this MTC user's the MTC terminal unit contractual information; HSS send to insert data signaling and gives MME then, is to pick up counting after the state of activation with the Hypomobility characteristic at MTC terminal.
Said pick up counting and to the sub-district at MTC terminal switching or tracing section updating carries out counting operation; Be specially: enabling counting device when starting timer; If the startup value is set is 0 o'clock, and after sub-district switching or tracing section updating were carried out in the MTC terminal, counter added 1; If the state-detection time limit inside counting preset reaches threshold value, then execution instep 203; Another kind of implementation can the startup value be set to state-detection counting thresholding, and after sub-district switching or tracing section updating were carried out in the MTC terminal, counter subtracted 1, if be kept to 0 at preset state-detection time limit inside counting device numerical value, then execution in step 203.In practical application, can add counter and realize timing and counting operation through in MME, adding timer as the state-detection timer as the state-detection counter.
Further; MME is in the process of said counting; When if the mobile MME that execution is managed at MTC terminal switches; Source MME also need be with the mobility status detected parameters at MTC terminal, and current timing and count parameter, sends to new MME together and proceeds timing and counting operation.
Further; In the permission process that mobile MTC terminal is monitored in specified scope; After sub-district switching or tracing section updating, MME judges whether still to be positioned at specified scope according to the mobility status detected parameters at MTC terminal, if; Then do not carry out counting operation, otherwise carry out counting operation.
Step 203, MME alarms to the motion state at MTC terminal.
Concrete, the mode of said alarm comprises: MME local preservation warning information and/or MME send to MTC server and/or HSS and/or gateway with warning information.Wherein said warning information is used to indicate the MTC motion state of terminal, and promptly mobility status and signatory state are not inconsistent.
Fig. 3 is a kind of system configuration sketch map that detects MTC terminal mobility state of the present invention, and is as shown in Figure 3, and said system comprises: MME31 andMTC terminal 32, wherein,
Said MME31; Be used to preserve the mobility status detected parameters atMTC terminal 32; 32 carry out and to adhere to or when carrying out tracing section updating or Hypomobility characteristic and being activated at the MTC terminal, pick up counting and the sub-district atMTC terminal 32 is switched or tracing section updating carries out counting operation, preset the time limit if arrive; Counting does not reach threshold value; Then restart timing and counting operation,, then alarm to the motion state atMTC terminal 32 if reach threshold value in preset state-detection time limit inside counting.
Concrete, the mobility status detected parameters at saidMTC terminal 32 comprises: count threshold parameter toMTC terminal 32 preset state-detection time limit and state-detection.Further, when monitoring, also comprise in the said mobility status detected parameters: the specified scope that allowsMTC terminal 32 to move to theMTC terminal 32 that allows in specified scope, to move.Wherein, said specified scope limits through carrying cell ID.
Further, the said MME31 mode of preserving the mobility status detected parameters atMTC terminal 32 comprises: the mobility status detected parameters atMTC terminal 32 is provided with in advance and preserves as the MME31 local parameter or obtains the mobility status detected parameters at MTC terminal and preserve from HSS33.When MME31 when HSS33 obtains the mobility status detected parameters at MTC terminal, also comprise HSS33 in the said system, said HSS33 is used for, and the mobility status detected parameters at MTC terminal is provided for MME31.
Wherein, The said mobility status detected parameters of obtaining the MTC terminal from HSS33 comprises: MME31 sends to HSS33 and upgrades position request information, in described request information, carries the IMSI sign atMTC terminal 32; HSS33 identifies according to IMSI; Inquire about its subscription data,, send to MME31 through upgrading the position response message with the mobility status detected parameters in the subscription data.
The switching of said sub-district comprises: switch between switching or MME31 between the base station.Saidly 32 carry out and to adhere to or when carrying out tracing section updating or Hypomobility characteristic and being activated at the MTC terminal; Start timer and pick up counting, comprising: receive at MME31 and start timer behind attach request signaling or the tracing section updating demand signalling atMTC terminal 32 and pick up counting; Can also be that MME31 sends to adhere to and accepts signaling or tracing section updating and accept to start timer after the signaling and pick up counting; Further can also activate the Hypomobility characteristic atMTC terminal 32 by MTC user to operator's application; The HSS33 subscription data is at first revised by operator; The Hypomobility characteristic is set to state of activation in this MTC user'sMTC terminal 32 CAMEL-Subscription-Information; HSS33 send to insert data signaling and gives MME31 then, is to start timer after the state of activation to pick up counting with the Hypomobility characteristic atMTC terminal 32.
Said pick up counting and to the sub-district atMTC terminal 32 switching or tracing section updating carries out counting operation; Be specially: enabling counting device when starting timer; If the startup value is set is 0 o'clock, and after sub-district switching or tracing section updating were carried out inMTC terminal 32, counter added 1; If the state-detection time limit inside counting preset reaches threshold value, then MME31 alarms to the motion state atMTC terminal 32; Another kind of implementation can the startup value be set to state-detection counting thresholding; After sub-district switching or tracing section updating are carried out inMTC terminal 32; Counter subtracts 1; If the state-detection time limit inside counting device numerical value preset is kept to 0, then MME31 alarms to the motion state atMTC terminal 32.
Further; MME31 is in the process of said counting; When if the mobile MME31 that execution is managed atMTC terminal 32 switches; Source MME31 also need be with the mobility status detected parameters atMTC terminal 32, and current timing and count parameter, sends to new MME31 together and proceeds timing and counting operation.
Further; In the permission process thatmobile MTC terminal 32 is monitored in specified scope; After sub-district switching or tracing section updating, MME31 judges whether still to be positioned at specified scope according to the mobility status detected parameters atMTC terminal 32, if; Then do not carry out counting operation, otherwise carry out counting operation.
The mode of said alarm comprises: MME31 local preservation warning information and/or MME31 send to MTC server and/or HSS33 and/or gateway with warning information.Wherein said warning information is used to indicateMTC terminal 32 motion states, and promptly mobility status and signatory state are not inconsistent.
Further set forth below in conjunction with five concrete embodiment:
The mobility status detected parameters at MTC terminal is kept among the HSS as CAMEL-Subscription-Information among the embodiment one, and the timer sum counter sends to adhere at MME and starts after accepting signaling:
Step 1, MTC terminal send attach request or MME is arrived in the tracing section updating request;
Step 2; After MME receives the attach request or tracing section updating request at this terminal; Whether inspection is local preserves the subscription data at this MTC terminal, if do not have, then sends and upgrades position request information to HSS; The sign IMSI that comprises this terminal in the information, expression needs the subscription data at this terminal of request;
Step 3, HSS according to the sign IMSI at the terminal in the message, inquires about its subscription data after the renewal position request information that receives the MME transmission, if comprise the subscription data at this terminal, then send to MME through upgrading the position response message;
Concrete, in the subscription data that sends, comprise the Hypomobility detected state parameter of terminal unit contractual.Comprising state-detection time limit and state-detection counting threshold parameter.
Step 4, MME constructs the terminal contextual information according to the subscription data that receives in this locality after the terminal unit contractual data that receive the HSS transmission, and preservation state detects time limit and state-detection counting threshold parameter;
Step 5, MME sends to adhere to and accept signaling or tracing section updating and accept signaling and give the MTC terminal, and starting state detects timer and state-detection counter after the authentication of accomplishing the terminal;
Concrete, state-detection counter initial value is set to 0.
Step 6, the MTC terminal moves to new sub-district in moving process, send measurement report to the base station, and switching is carried out in request;
Step 7, base station are that the top-quality sub-district of terminal select signal is as Target cell according to measurement report after receiving the handoff request at terminal;
Step 8; The terminal is behind handover success, if this Target cell still is connected to identical MME with the cell-of-origin, then MME adds 1 with the state-detection Counter Value; If this Target cell is connected to the MME different with the cell-of-origin, then MME sends to the contextual information at this terminal the target MME of new sub-district;
Concrete, should comprise the state-detection timer value of remaining time in the contextual information at terminal, state-detection counter currency.In addition, the contextual information at terminal can also comprise the initial value and the state-detection counting thresholding of state-detection timer.
Step 9, target MME detects timer and state-detection counter at local starting state, and the currency continuation timing of the state-detection timer that sends according to source MME adds 1 according to the currency of state-detection counter with the state-detection Counter Value;
Step 10, if the value of state-detection counter reaches the state-detection thresholding, MME then sends alarm event and reports to the MTC server.
Concrete, alarm event report this motion state of terminal of indication and signatory state are not inconsistent.
The mobility status detected parameters at MTC terminal is kept among the MME as CAMEL-Subscription-Information among the embodiment two, and the timer sum counter starts after MME receives attach request:
Step 1, MTC terminal send attach request or position updating request arrives MME;
Step 2 after MME receives the attach request or position updating request at this terminal, is this starting terminal state-detection timer and state-detection counter;
Concrete, the state-detection timer is set to local state-detection threshold value of preserving, and the state-detection counter is set to the local state-detection counting thresholding of preserving.
Step 3, the MTC terminal moves to new sub-district in moving process, and reads the tracking area identification in the system message of new sub-district, and the local tracking area identification of preserving of contrast finds that both are not inconsistent, and then the terminal is sent the tracing section updating request and is given new MME;
Step 4, new MME is after the tracing section updating request that receives the terminal, and the source MME at previous place obtains the contextual information at MTC terminal from the terminal;
Concrete, should comprise the state-detection timer value of remaining time in the contextual information at MTC terminal, state-detection counter currency.
Step 5, after the tracing section updating success, new MME continues running status and detects timer, and the state-detection Counter Value is subtracted 1;
Step 6, if the value of state-detection counter reaches 0, MME then sends alarm event and reports to the MTC server.
Concrete, alarm event report this motion state of terminal of indication and signatory state are not inconsistent.
The mobility status detected parameters at MTC terminal is kept among the MME as CAMEL-Subscription-Information among the embodiment three, and the timer sum counter starts when the Hypomobility characteristic activates:
Step 1, MTC user activates the Hypomobility characteristic at MTC terminal to operator's application;
Concrete, in practical application, if use the Hypomobility characteristic, operator can provide lower use rate.
Step 2, the HSS subscription data is revised by operator, and the Hypomobility characteristic in this MTC user's the MTC terminal unit contractual information is set to state of activation;
Step 3, HSS sends and inserts data signaling to MME, and the Hypomobility characteristic at MTC terminal is set to state of activation among the MME;
Step 4 after MME receives the signaling of HSS, is this starting terminal state-detection timer and state-detection counter.The state-detection timer is set to the local initial value of preserving, and the state-detection counter is set to 0;
Step 5, the MTC terminal moves to new sub-district in moving process, and reads the tracking area identification in the system message of new sub-district, and the local tracking area identification of preserving of contrast finds that both are not inconsistent, and then the terminal is sent the tracing section updating request and is given new MME;
Step 6, new MME is after the tracing section updating request that receives the terminal, and the source MME at previous place obtains the contextual information at terminal from the terminal;
Concrete, should comprise the state-detection timer value of remaining time in the contextual information at MTC terminal, state-detection counter currency.
Step 7, after the tracing section updating success, new MME continues running status and detects timer, and the state-detection Counter Value is added 1;
Step 8, if the value of state-detection counter reaches the state-detection thresholding, MME then sends alarm event and reports to the MTC server.
Concrete, alarm event report this motion state of terminal of indication and signatory state are not inconsistent.
The MTC terminal allows in specified scope, to move among the embodiment four, and the mobility status detected parameters at MTC terminal is kept among the HSS as CAMEL-Subscription-Information:
Step 1, MTC terminal send attach request or MME is arrived in the tracing section updating request;
Step 2, after MME receives the attach request or tracing section updating request at this terminal, the local subscription data whether this terminal is arranged of inspection; If do not have; Then send and upgrade position request information, comprise the sign IMSI at this terminal in the information, show the subscription data at this terminal of needs request to HSS;
Step 3, HSS according to the sign IMSI at the terminal in the message, inquires about its subscription data after the renewal position request information that receives the MME transmission, if comprise the subscription data at this terminal, then send to MME through upgrading the position response message;
Concrete, in the subscription data that sends, comprise the Hypomobility detected state parameter of terminal unit contractual.Comprising state-detection time limit and state-detection counting threshold parameter.
Step 4, MME constructs the terminal contextual information according to the subscription data that receives in this locality after the terminal unit contractual data that receive the HSS transmission, and preservation state detects time limit and state-detection counting threshold parameter;
Step 5, MME sends to adhere to and accept signaling or tracing section updating and accept signaling and give the MTC terminal, and starting state detects timer and state-detection counter after the authentication of accomplishing the terminal;
Concrete, state-detection counter initial value is set to 0.
Step 6, the MTC terminal moves to new sub-district in moving process, send measurement report to the base station, and switching is carried out in request;
Step 7, base station are that the top-quality sub-district of terminal select signal is as Target cell according to measurement report after receiving the handoff request at terminal;
Step 8, terminal switch run succeeded after, in the specified scope that allows, if does not then count in the specified scope that allows at the terminal, if the terminal is moved outside the specified scope that allows, then the state-detection counter adds 1 to the MME sense terminals;
Concrete, the terminal is moved outside the specified scope that allows, and comprises outside allowing moving range; Move back in the moving range of permission; Or in the permission moving range, move to outside the moving range of permission, or the moving between cells outside the specified scope that allows.
Step 9, if the value of state-detection counter reaches the state-detection thresholding, MME then sends alarm event and reports to the MTC server.
Concrete, alarm event report this motion state of terminal of indication and signatory state are not inconsistent.
The MTC terminal allows in specified scope, to move among the embodiment five, and the mobility status detected parameters at MTC terminal is kept among the HSS as CAMEL-Subscription-Information, judges mobility through tracing section updating:
Step 1, MTC terminal send attach request or MME is arrived in the tracing section updating request;
Step 2, after MME receives the attach request or tracing section updating request at this terminal, the local subscription data whether this terminal is arranged of inspection; If do not have; Then send and upgrade position request information, comprise the sign IMSI at this terminal in the information, show the subscription data at this terminal of needs request to HSS;
Step 3, HSS according to the sign IMSI at the terminal in the message, inquires about its subscription data after the renewal position request information that receives the MME transmission, if comprise the subscription data at this terminal, then send to MME through upgrading the position response message;
Concrete, in the subscription data that sends, comprise the Hypomobility detected state parameter of terminal unit contractual.Comprising state-detection time limit and state-detection counting threshold parameter.
Step 4, MME constructs the terminal contextual information according to the subscription data that receives in this locality after the terminal unit contractual data that receive the HSS transmission, and preservation state detects time limit and state-detection counting threshold parameter;
Step 5, MME sends to adhere to and accept signaling or tracing section updating and accept signaling and give the MTC terminal, and starting state detects timer and state-detection counter after the authentication of accomplishing the terminal;
Concrete, state-detection counter initial value is set to the state-detection threshold value.
Step 6, the MTC terminal moves to new sub-district in moving process, and reads the tracking area identification in the system message of new sub-district, and the local tracking area identification of preserving of contrast finds that both are not inconsistent, and then the terminal is sent the tracing section updating request and is given new MME;
Step 7, new MME is after the tracing section updating request that receives the terminal, and the source MME at previous place obtains the contextual information at terminal from the terminal;
Concrete, should comprise the state-detection timer value of remaining time in the contextual information at terminal, state-detection counter currency, and this terminal allows the positional information of mobile specified scope.
Step 8; After tracing section updating success, new MME continues running status and detects timer, and whether the MME sense terminals is in the specified scope that allows; If the terminal is in the specified scope that allows; Then do not count, if the terminal is moved outside the specified scope that allows, then the state-detection counter subtracts 1;
Concrete, the terminal is moved outside the specified scope that allows, and comprises outside allowing moving range; Move back in the moving range of permission; Or in the permission moving range, move to outside the moving range of permission, or the moving between cells outside the specified scope that allows.
Step 9, if the value of state-detection counter reaches 0, MME then sends alarm event and reports to the MTC server.
Concrete, alarm event report this motion state of terminal of indication and signatory state are not inconsistent.
The above is merely preferred embodiment of the present invention, is not to be used to limit protection scope of the present invention.