Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
Embodiment one
Fig. 3 is the structural representation according to the realization system of the emergency message of the embodiment of the invention one, this system comprises: P-CSCF 30, E-CSCF 32, urgent IP short messaging gateway (Emergency-IP-Short-Message-Gateway, abbreviate E-IP-SM-GW as) 34, urgent (the Emergency-Short Message Centre of short message service center, abbreviate E-SC as) 36 and public safety answering center (Public Safety Answering Point abbreviates PSAP as) 38.Wherein, P-CSCF 30, are used to receive the message request that subscriber equipment sends, and when judging that this message request is emergency message, this message request sent to the E-CSCF 32 of current network; E-CSCF 32, be used to receive above-mentioned message request, obtain the sign of urgent short message service center 36 of current network and the address of the suitable PSAP 38 that selects in current network, short message service center's sign of this message request is revised as the sign of urgent short message service center 36, the address of PSAP 38 is added in this message request, send this message request then; E-IP-SM-GW 34, be used to receive the above-mentioned message request that E-CSCF 32 sends, send after this message request being converted to the short message request of CS territory short message format, wherein, the called identification of this short message request is the address of PSAP 38, and the short message service center of this short message request is designated the sign of urgent short message service center 36; Urgent short message service center 36 is used to receive above-mentioned short message request, and this short message request is transmitted to PSAP 38.
Because in the correlation technique, P-CSCF 30 is when receiving message request, this message request is not judged, even this message request is the S-CSCF that emergency message also just is transmitted to this message request the UE ownership place, at last emergency message is sent to the short message service center of UE ownership place, thereby the flash request that will cause the user can not get handling timely, and the realization system of the above-mentioned emergency message that the embodiment of the invention provides, P-CSCF 30 is when the message request that receives to emergency message, this message request is transmitted to the E-CSCF 32 of current network, at last the short message request of this message request encapsulation is sent to the urgent short message service center of current network, thereby make user's flash request can be delivered to suitable PSAP, and then make user's flash request can access processing timely, guaranteed the safety of user's the person or property.
Fig. 4 is that this P-CSCF can comprise according to the structural representation of the P-CSCF 30 of the embodiment of the invention one: receiver module 302, judge module 304 and sending module 306.Wherein, receiver module 302 is used to receive the message request that subscriber equipment sends; Judge module 304, be used to judge whether emergency message of this message request, if, then trigger the E-CSCF 32 that sending module 306 sends to this message request current network, otherwise, trigger the serving session control function entity that sending module 306 sends to this message request the subscriber equipment ownership place; Sending module 306 is used to send above-mentioned request message.
By above-mentioned P-CSCF 30, whether the message request that receives by judgement is emergency message, and emergency message is sent to the E-CSCF of current network, thereby the flash request that can guarantee the user can be handled timely.
Fig. 5 is the structural representation according to the E-CSCF 32 of the embodiment of the invention one, and this E-CSCF 32 can comprise: receiver module 322, acquisition module 324, module 326 and sending module 328 are set.Wherein, receiver module 322 is used to receive message request, and wherein, this message request is an emergency message; Acquisition module 324 is used to obtain the address of the PSAP 38 of the sign at emergency message center 36 of current network and current network; Module 326 is set, and the short message service center's sign that is used for above-mentioned message request is set to the sign of urgent short message service center 34, and the address of PSAP 38 is added in this message request; Sending module 328 is used for the message request through being provided with after module 326 is provided with is sent to urgent IP short messaging gateway 36.
Above-mentioned E-CSCF 32 by the embodiment of the invention can be when the message request that receives to emergency message, obtain the urgent short message service center 36 of current network and suitable PSAP38, and the short message service center of this message request sign is revised as the sign of urgent short message service center 34, PSAP 38 carried in the message request send, thereby make emergency message can be sent to the urgent short message service center 36 of current network.
Fig. 6 is the structural representation according to the urgent IP short messaging gateway 34 of the embodiment of the invention one, and this urgent IP short messaging gateway 34 can comprise: receiver module 342, modular converter 344 and sending module 346.Wherein, receiver module 342 is used to receive the message request from E-CSCF32, and wherein, the short message service center of this message request is designated the sign of urgent short message service center 36, and carries the address of PSAP 38 in this message request; Modular converter 344 is used for above-mentioned message request is converted to the short message request, and the called identification of this short message request is set to the address of PSAP 38, and short message service center's sign of this short message request is set to the sign of urgent short message service center 36; Sending module 346 is used to send the above-mentioned short message request that modular converter 344 obtains.
Above-mentioned urgent IP short messaging gateway 34 by the embodiment of the invention one, message request for emergency message can be converted to the short message request, and the called identification of this short message request is set to the address of PSAP 38, short message service center's sign of this short message request is set to the sign of urgent short message service center 36, thereby make this short message request can be sent to urgent short message service center 36, and this short message request is delivered to PSAP 38, and then guarantee that user's flash request can be handled timely by urgent short message service center 36.
Fig. 7 is the schematic flow sheet according to the implementation method of the emergency message of the embodiment of the invention one, and this implementation method can may further comprise the steps (step S702-step S710):
Step S702, P-CSCF 30 receives the message request that UE sends, and judges that described message request is an emergency message;
For example, when the user need initiate urgent call, the user sent message request by UE to an emergency telephone number (for example, 119,110 etc.), and this message request arrives the P-CSCF (being P-CSCF 30 in embodiments of the present invention) of the current network of living in of UE.
P-CSCF 30 is after receiving this message request, and P-CSCF 30 these message request of judgement are that the mode of emergency message includes but not limited to following two kinds:
Mode one, at UE before emergency telephone number sends this message request, UE can determine that this message request is an emergency message, then UE inserts the sign of indicating emergency message in this message request that sends, after P-CSCF receives message request, whether comprise the sign of indicating emergency message in the message request that receives by judgement, judge whether this message request is emergency message;
For example, UE can be inserted into the sign of indicating emergency message in the request address in this message request.
Adopt this mode, P-CSCF 30 is after receiving message request, and the short message format packaging body content that does not need to resolve in this message request can judge that just whether this message request is emergency message, has improved the judging efficiency of P-CSCF 30.
Mode two, P-CSCF 30 are after receiving message request, short message format packaging body content in this message request is tested, the called identification of therefrom obtaining this message request (for example, called number), judge whether this called identification is an emergency telephone number, if then judging this message request is an emergency message, otherwise this message request is not an emergency message.Adopt this mode, do not need UE to insert the sign of emergency message in message request, UE can send message request according to the mode that sends the common message business, and is lower to the Capability Requirement of UE.
Step S704, P-CSCF 30 send to this message request the E-CSCF32 of current network;
Step S706, E-CSCF 32 obtains the address of the suitable PSAP 38 of the sign of urgent short message service center 36 of current network and current network, short message service center's sign of the message request that receives is revised as the sign of urgent short message service center 36, and the address of in message request, inserting PSAP 38, then this message request is sent to E-IP-SMS-GW 34;
In this step, E-CSCF 32 obtains the sign of urgent short message service center 36 and the address of PSAP 38 includes but not limited to following three kinds of modes:
Mode one, in step S704, when P-CSCF 30 judges that this message request is emergency message, P-CSCF 30 is according to the urgent short message service center (being urgent short message service center 36 in embodiments of the present invention) that this UE distributes a locality that is configured to of network, and the request address in the message request is revised as the sign of urgent short message service center 36, after E-CSCF 32 receives this message request, resolve in this message request, therefrom get access to the sign of urgent short message service center 36; The address that E-CSCF can obtain PSAP according to following any method.
Adopt this mode, E-CSCF 32 can directly obtain the sign of urgent short message service center from message request, has improved the efficient that E-CSCF 32 handles.
Mode two, E-CSCF 32 is after the message request that receives P-CSCF 30 transmissions, to address server (Location Retrieval Function, abbreviate LRF as) inquiry UE positional information, LRF is after receiving query requests, inquire about the positional information of this UE, and according to the positional information of this UE, in current network, distribute an appropriate emergency short message service center (urgent in embodiments of the present invention short message service center 36) for this UE, and find a suitable PSAP (in embodiments of the present invention for PSAP 38), then with the positional information that inquires, the sign of urgent short message service center 36 and the address of PSAP 38 are carried at and return to E-CSCF 32 in the response message, and E-CSCF 32 parses the positional information of UE from response message, the sign of urgent short message service center 36 and the address of PSAP 38;
For example, LRF can select nearest urgent short message service center and PSAP from UE.
Adopt this mode, is that UE distributes urgent short message service center and PSAP by LRF according to the UE current position information, can guarantee that the urgent short message service center and the PSAP that distribute are and the urgent short message service center and the PSAP of UE current location coupling to guarantee that further the flash request that the user sends can be handled timely.
Mode three, in this mode, UE can have user's current position information in message request, E-CSCF 32 can parse the positional information of UE from the request message that receives, from current network, select urgent short message service center (in embodiments of the present invention be urgent short message service center 36) and the PSAP 38 corresponding then, and then obtain the sign of urgent short message service center 36 and the address of PSAP 38 with this positional information;
For example, E-CSCF 32 can select nearest urgent short message service center and PSAP from UE.
By this mode, E-CSCF 32 parses the positional information of UE from message request, and is that UE distributes urgent short message service center and selects PSAP according to this positional information, has avoided the Signalling exchange between E-CSCF 32 and the LRF, has simplified flow process.
Step S708, E-IP-SMS-GW 34 is converted to the short message request with the request message that receives, the called identification of short message request is set to the address of PSAP 38, short message service center's sign of this short message request is set to the sign of urgent short message service center 36, then this short message request is sent to urgent short message service center 36;
Step S710, urgent short message service center 36 receives above-mentioned short message request, according to the called identification (being the address of PSAP 38) of this short message request this short message request is sent to PSAP 38, for the user provides corresponding service.
Need to prove, the urgent short message service center 36 of current network can build separately, also can be set together with the short message service center of a locality, if urgent short message service center 36 is located at local short message service center, then the sign of urgent short message service center can comprise: this short message service center's number and urgent call sign.For example, the number of short message service center is 123456, promptly is designated A, and then the number of urgent short message service center can be 123456A, also can be A123456.
In the correlation technique, no matter whether be the message request of emergency message, this message request all is that the short message service center by user ascription area sends to the recipient's, for emergency message, if the user roams into other network, because the urgent short message service center and the PSAP of visit net can't be known in the short message service center of ownership place, thereby may cause urgent short message can't be delivered to the urgent short message service center and the PSAP of user visiting net, and then cause user's flash request to can not get handling timely.And in the implementation method of the emergency message of the embodiment of the invention, the P-CSCF 30 of visit net is when receiving message request, judge when this message request is emergency message, this message request is sent to the E-CSCF 32 of current network, and further this message request is sent to the urgent short message service center 36 of current network, urgent short message service center 36 by current network delivers emergency message to suitable PSAP 38, thereby the flash request that guarantees the user can access processing timely.
Embodiment two
The difference of present embodiment and embodiment one is, in the present embodiment, E-CSCF closes with E-IP-SM-GW and is located at, the function of E-IP-SM-GW is integrated among the E-CSCF, Fig. 8 is the structural representation according to the realization system of the emergency message of the embodiment of the invention two, and this realization system comprises: P-CSCF 80, E-CSCF 82, urgent short message service center 84 and PSAP 86.Wherein, P-CSCF 80 is identical with P-CSCF 30 among the embodiment one, urgent short message service center 84 is identical with the urgent short message service center 36 among the embodiment one, PSAP86 is identical with PSAP 38 among the embodiment one, and E-CSCF 82 is used to receive the message request (this message request is an emergency message) from P-CSCF 80, obtain the address of the PSAP 86 of the sign of urgent short message service center 84 of current network and current network, this message request is converted to the short message request, and send this short message request, wherein, the called identification of this short message request is the address of PSAP 86, and the short message service center of this short message request is designated the sign of urgent short message service center 84.
Adopt this system of the embodiment of the invention, do not need to be provided with in addition the E-IP-SMS-GW entity, thereby can reduce equipment cost.
Fig. 9 is the structural representation according to the E-CSCF of the embodiment of the invention two, and this E-CSCF can comprise: receiver module 822, acquisition module 824, modular converter 826 and sending module 828.Wherein, receiver module 822 is used to receive message request, and wherein, this message request is an emergency message; Acquisition module 824 is used to obtain the address of the PSAP 86 of the sign of urgent short message service center 84 of current network and current network; Modular converter 826 is used for this message request is converted to the short message request, and short message service center's sign of this short message request is set to the sign of urgent short message service center 84, and the called identification of this short message request is set to the address of PSAP 86; Sending module 828 is used to send the short message request that modular converter 826 obtains.E-CSCF 82 by the embodiment of the invention can be converted to the message request of emergency message the short message request, and the called identification of short message request is set to the address of the PSAP 86 of current network, short message service center's sign of short message request is set to the sign of the urgent short message service center 84 of current network, thereby can guarantee that emergency message sends to the urgent short message service center of current network, and be delivered to the PSAP 86 of current network, and then the flash request that has guaranteed the user can access timely and handles.
Figure 10 is the flow chart according to the implementation method of the emergency message of the embodiment of the invention two, as shown in figure 10, this method is similar substantially to embodiment one, unique difference is, in embodiments of the present invention, E-IP-SM-GW is a functional module among the E-CSCF, and this method mainly may further comprise the steps (step S1002-step S1008):
Step S1002 and step S1004: identical with step S704 with the step S702 among Fig. 7;
Step S1006, E-CSCF 82 is when receiving the message request of emergency message, obtain the address of the PSAP 86 of the sign of urgent short message service center 84 of current network and current network, the request message that receives is converted to the short message request, the called identification of short message request is set to the address of PSAP 86, short message service center's sign of this short message request is set to the sign of urgent short message service center 84, then this short message request is sent to urgent short message service center 84;
Step S1008 is identical with step S710 among Fig. 7.
Adopt the said method of the embodiment of the invention, emergency message is converted to the short message request, do not need to be provided with in addition the E-IP-SMS-GW entity, thereby can reduce equipment cost by E-CSCF.
Embodiment three
The embodiment of the invention and embodiment two are basic identical, difference is, message request is not directly to be transparent to E-SC from E-IP-SM-GW, but be sent to E-SC's by SMS-GMSC/SMS-IWMSC, and, in embodiments of the present invention, E-CSCF obtains the number of urgent short message service center of current network and the address of concrete PSAP by LRF.Figure 11 is the structural representation according to the realization system of the emergency message of the embodiment of the invention three.
Figure 12 is the signaling process figure according to the implementation method of the emergency message of the embodiment of the invention three, in the present embodiment, P-CSCF judges that by the short message format wrapper in the message request is unpacked whether message request is emergency message, mainly may further comprise the steps:
Step 1201, calling subscriber UE1 initiates an emergency message request by the IMS network, request address wherein is the number of this user's short message service center, carry the wrapper of short message format in this message request, comprise the content of message and recipient's address information (perhaps being recipient's number) etc. in this wrapper;
Step 1202, P-CSCF receives above-mentioned message request, short message wrapper in the message request is unpacked, obtain its recipient's address information, find that this recipient address is an emergency telephone number, this message request route is given on the local E-CSCF (wherein being integrated with E-IP-SM-GW);
Step 1203, E-CSCF/E-IP-SW-GW obtains user position information by LRF after receiving this message request, obtains LRF simultaneously and distributes an appropriate emergency short message service center number and concrete PSAP address for the user;
202 confirmations of receipt response after E-CSCF/E-IP-SM-GW receives message request, is returned to user UE in step 1204~1205;
Step 1206, the E-CSCF/E-IP-SM-GW network element is converted to this message request the short message request of CS territory short message format simultaneously, with called number is that the EC number changes concrete PSAP address into, short message service center's number changes urgent short message service center number into, and the short message request after will changing sends to local SMS-GMSC/SMS-IWMSC;
Step 1207, SMS-GMSC/SMS-IWMSC sends to urgent short message service center (E-SC) with this short message request;
Step 1208~1209, E-SC delivers this short message request to suitable PSAP by SMS-GMSC/SMS-IWMSC;
Step 1210~1213, PSAP returns the affirmation report of short message format to E-IP-SM-GW;
Step 1214~1215, E-IP-SM-GW returns to user UE1 with the affirmation report that the affirmation of short message format report converts the sip message form to;
Step 1216~1217, UE1 returns 200OK to E-IP-SM-SW and confirms.
Embodiment four
The embodiment of the invention and embodiment one are basic identical, difference is, message request is not directly to be transparent to E-SC from E-IP-SM-GW, but be sent to E-SC's by SMS-GMSC/SMS-IWMSC, and, in embodiments of the present invention, E-CSCF obtains the number of urgent short message service center of current network and the address of concrete PSAP by LRF.Figure 13 is the structural representation according to the realization system of the emergency message of the embodiment of the invention three.
Figure 14 is the signaling process figure according to the implementation method of the emergency message of the embodiment of the invention four, in the present embodiment, P-CSCF judges that by the short message wrapper in the message request is unpacked whether message request is emergency message, mainly may further comprise the steps:
Step 1401, calling subscriber UE1 initiates an emergency message request by the IMS network, wherein request address is the number of this user's short message service center, carries the wrapper of short message format in this message request, comprises the content of message and recipient's address information etc. in this wrapper;
Step 1402, P-CSCF unpacks the short message wrapper in the message request, obtains its recipient's address information, determines that this recipient address is an emergency telephone number, and this message request route is given on the local E-CSCF;
Step 1403 after E-CSCF receives this message request, can be obtained user position information by LRF, obtains LRF simultaneously and distributes an appropriate emergency short message service center number and concrete PSAP address for the user;
E-CSCF also can utilize the positional information of carrying in the message request in this step, for the user distributes an appropriate emergency short message service center number and concrete PSAP address;
Step 1404, E-CSCF is converted to the address of urgent short message service center with the request address in the message request, and with adding in the message request for the PSAP address of user's distribution, then this message request is transmitted to E-IP-SM-GW;
Step 1405~1407 after E-IP-SM-GW receives this message request, are returned 202 confirmations of receipt to user UE and are replied;
Step 1408, E-IP-SM-GW is converted to the IMS message request that receives the short message request of CS territory short message format, with the called number of this short message request is that the EC number changes concrete PSAP address into, short message service center's number of this short message request changes urgent short message service center number into, and this short message request is transmitted to SMS-GMSC/SMS-IWMSC;
Step 1409, SMS-GMSC/SMS-IWMSC sends to urgent short message service center (E-SC) with this short message request;
Step 1410~1411, E-SC delivers this short message request to suitable PSAP by SMS-GMSC/SMS-IWMSC;
Step 1412~1415, PSAP returns the affirmation report of short message format to E-IP-SM-GW;
Step 1416~1418, E-IP-SM-GW returns to user UE1 with the affirmation report that the affirmation of short message format report converts the sip message form to;
Step 1419~1421, UE1 returns 200 OK to E-IP-SM-GW and confirms.
Embodiment five
The embodiment of the invention and embodiment four are basic identical, and difference is that in embodiments of the present invention, UE carries the emergency message sign in the message request that sends, and P-CSCF judges that by this sign this message request is an emergency message.
Figure 15 is the signaling process figure according to the implementation method of the emergency message of the embodiment of the invention five, mainly may further comprise the steps:
Step 1501, calling subscriber UE1 initiates a message request by the IMS network, request address wherein be this user short message service center number and add that emergency message indicates, carry the wrapper of short message format in this message request, include the content of message and recipient's address information etc. in this wrapper;
Step 1502, P-CSCF parses request address from message request, this request address is judged, determines to include in this request address the emergency message sign, judge that this message request is an emergency message, this message request route is given on the E-CSCF of current network;
Step 1503~1521, identical with step 1403~1421 among Figure 14, specifically repeat no more.
From above description, as can be seen, in embodiments of the present invention, P-CSCF is when the message request that receives to emergency message, this message request is transmitted to the E-CSCF of current network, at last the CS territory short message request of this message request encapsulation is sent to the urgent short message service center of current network, thereby make this emergency message obtain handling in current network, and distribute suitable PSAP for the user, and then make user's flash request can access processing timely, guaranteed the safety of user's the person or property.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.