Background technology
IMS(IP Multimedia Subsystem, IP Multimedia System) be a kind of Open Systems Interworking based on Session Initiation Protocol, it is considered to the core technology of next generation network.As a kind of brand-new multimedia service form, it is to solve mobile and fixed network fusion, introduces the important way of the differentiated services such as voice, data, video fusion.
In IMS network, dissimilar terminal is by identical or different IP mode (such as being fixed broadband, WiFi, GPRS etc.) access, thereby connective stability there are differences.Especially under complicated network environment, interrupting often appears in the IP link between terminal and IMS.Therefore, when interruption appears in the IP link between terminal and IMS, IMS core net needs perception as early as possible and carries out respective handling, in order to avoid there is the long-time situation unsuccessful or that calling is omitted of calling out.
In existing IMS network, by terminal, to IMS core net, periodically send heavy registration message (REGISTER) and carry out refresh registration state.Because needing P-CSCF, S-CSCF in core net, AS etc., processes heavy registration message, thus too frequent if terminal sends heavy registration message, can cause larger pressure to IMS core net; If terminal sends the excessive cycle of heavy registration message, IMS core net perception in time User IP disconnecting.
Summary of the invention
The application is intended to solve above at least one problem of knowing the connection status of terminal in prior art based on IMS network.
According to the application's Yi Ge aspect, a kind of method of knowing the connection status of terminal in IMS network is provided, described IMS network comprises proxy call conversation control function entity P-CSCF and service call session control function entity S-CSCF, and described method comprises: described terminal with predetermined time interval to described P-CSCF, send heartbeat message; And when described P-CSCF does not receive described heartbeat message within a certain period of time, described P-CSCF judges the disconnecting of described terminal, and notify described S-CSCF by the associated information of the disconnecting with described terminal.
According to the application's another aspect, a kind of system of knowing the connection status of terminal is provided, comprise: proxy call conversation control function entity P-CSCF and service call session control function entity S-CSCF, wherein said P-CSCF receives the heartbeat message that described terminal sends, when described P-CSCF does not receive in the situation of the heartbeat message that described terminal sends within a certain period of time, described P-CSCF judges the disconnecting of described terminal, and notifies described S-CSCF by the associated information of the disconnecting with described terminal.
According to the application on the other hand, provide a kind of proxy call conversation control function entity P-CSCF of knowing the connection status of terminal based on IMS network, having comprised: receiver module, has received the heartbeat message that described terminal sends; Judge module, judges whether the connection status of described terminal changes; And notification module, for to service call session control function entity S-CSCF announcement information; Wherein, when described receiver module does not receive described heartbeat message within a certain period of time, described judge module judges the disconnecting of described terminal, and described notification module is notified described S-CSCF by the associated information of the disconnecting with described terminal.
By the application's execution mode, can make IMS core net know rapidly the connection status of terminal, and can reduce the heartbeat message quantity in core net, save network overhead.
Embodiment
Hereinafter with reference to accompanying drawing, the application's illustrative embodiments is described in detail.
Fig. 1 shows knows the system of the connection status of terminal based on IMS network according to the application's illustrative embodiments.Referring to Fig. 1, terminal 10 accesses IMS network by IP mode.In IMS network, at least comprise P-CSCF 30(Proxy-Call Session Control Function, proxy call conversation control function entity) and S-CSCF 50(Serving-Call Session Control Function, service call session control function entity).Terminal 10 can be carried out standards registration, to be registered to P-CSCF 30 and S-CSCF 50.P-CSCF 30 can be for the terminal maintenance of each registration corresponding connection status.P-CSCF 30 can accept the subscription of the connection status event of 50 pairs of terminals 10 of S-CSCF.P-CSCF 30 can send notice to S-CSCF 50 when the connection status that terminal detected changes.As shown in Figure 1, based on IMS network, know that the system 100 of the connection status of terminal at least comprises terminal 10, P-CSCF 30 and S-CSCF 50.Although only show a P-CSCF and a S-CSCF in figure, it will be understood by those skilled in the art that in system and can there is a plurality of P-CSCF and a plurality of S-CSCF that processes respectively different concrete business.
Fig. 2 shows the system 200 of knowing the connection status of terminal according to the application execution mode in IMS network.As shown in the figure, the P-CSCF 30 in system 200 comprises receiver module 31, judge module 32 and notification module 33.
Receiver module 31 can receiving terminal 10 heartbeat message that send.The time of judge module 32 based on receiving heartbeat message, judge whether the connection of terminal 10 is interrupted.If receiver module 31 does not receive heartbeat message within a certain period of time, judge module 32 can judge the disconnecting of terminal 10, and can by the associated information of the disconnecting with terminal 10, notify S-CSCF 50 by notification module 33.Otherwise judge module 32 can judge that the connection status of terminal 10 does not change yet.
In one embodiment, receiver module 31 can receive the registration message of self terminal 10.S-CSCF 50 can comprise for receiving the module of the registration message of self terminal 10.In another embodiment, in terminal 10, complete after the registration of S-CSCF 50, S-CSCF 50 can send subscribe message to P-CSCF 30.Receiver module 31 in P-CSCF 30 can receive the subscribe message from S-CSCF 50, to subscribe to the connection status of terminal 10.
According to an execution mode, when the connection of terminal 10 switches, for example, when the interconnection network of terminal 10 is when LTE is switched to 3G or be switched to LTE from 3G, P-CSCF 30 can obtain the information that is connected handoff association with terminal 10, and this information is notified to S-CSCF50.For example, can to P-CSCF 30, inform this connection switching by terminal 10, or can to P-CSCF 30, inform this connection switching by other network element in network.
Below, with reference to Fig. 3 to Fig. 6, specifically describe the method for the connection status of terminal of knowing according to the application's execution mode in IMS network.
Fig. 3 shows the flow chart of the method 300 of the connection status of knowing terminal according to the application's illustrative embodiments based on IMS network.
In step S301, terminal 10 with predetermined time interval to P-CSCF 30, send heartbeat message.When P-CSCF 30 does not receive the heartbeat message of terminal 10 transmissions within a certain period of time,, in step S303, judge the disconnecting of terminal 10.Next, in step S304, P-CSCF 30 by the associated message informing of the disconnecting with terminal 10 to S-CSCF50, so that S-CSCF 50 can carry out respective handling according to local policy.Otherwise in step S305, the connection status of P-CSCF 30 judgement terminals 10 does not change.In addition, when the connection of terminal 10 switches, for example, when the interconnection network of terminal 10 is when LTE is switched to 3G or be switched to LTE from 3G, P-CSCF 30 can obtain the information that is connected handoff association with terminal 10, and this information is notified to S-CSCF 50(not shown).
In one embodiment, before carrying out step S301, S-CSCF 50 can send subscribe message to subscribe to the connection status (not shown) of terminal 10 to P-CSCF 30.In another embodiment, at S-CSCF 50, to P-CSCF 30, send subscribe message with before subscribing to the connection status (not shown) of terminal 10, it is not shown that terminal 10 can be registered to S-CSCF 50(), as described referring to Fig. 4.
To describe the method 300 of the connection status of terminal of knowing based on IMS network according to the application's illustrative embodiments in detail with further reference to Fig. 4 to Fig. 6 below.
Fig. 4 shows according to an execution mode, terminal 10 and carries out after initial registration, and S-CSCF50 subscribes to the exemplary embodiment of the connection status of terminal to P-CSCF 30.First, terminal 10 sends registration message to P-CSCF 30, and P-CSCF 30 is forwarded to S-CSCF50 by this registration message.S-CSCF 50 replys successfully registration " 200OK " message to P-CSCF 30.P-CSCF30 is forwarded to terminal 10 by successful registration message.P-CSCF 30 can be for the terminal maintenance of each registration corresponding connection status.Next, S-CSCF 50 sends subscribe message to P-CSCF 30, to subscribe to the connection status of terminal 10.P-CSCF 30 replys " 200OK " message to represent to accept subscription to S-CSCF 50.
Fig. 5 shows terminal 10 and to P-CSCF 30, sends the exemplary embodiment (step S301) of heartbeat message.Terminal 10 sends heartbeat message every time interval t to P-CSCF 30.When P-CSCF 30 receives heartbeat message, can reply heartbeat response to terminal 10.Time interval t is reasonable time interval, can between terminal 10 and P-CSCF 30, hold consultation definite, also can carry out this locality configuration.
Fig. 6 shows P-CSCF 30 to the exemplary embodiment (step S302 to S305) of the connection status of S-CSCF 50 notification terminals 10.When P-CSCF 30 does not receive in the situation of the heartbeat message that terminal 10 sends within a certain period of time, the IP of judgement terminal 10 connects terminal.This certain hour is relevant with time interval t, for example, be many times of time interval t, as the time interval t of 3 times.Then, P-CSCF 30 sends a notification message to S-CSCF 50, to notify the information associated with the disconnecting of terminal 10 to S-CSCF50, so that S-CSCF 50 carries out respective handling according to local policy.When the connection of terminal 10 switches, for example, when the interconnection network of terminal 10 is when LTE is switched to 3G or be switched to LTE from 3G, P-CSCF 30 can obtain the information that is connected handoff association with terminal 10, and this information is notified to S-CSCF50.With reference to accompanying drawing, the application's illustrative embodiments is described above, still, above-mentioned execution mode is not as the restriction to the application.According to the disclosed content of the application, those skilled in the art can carry out various modifications and distortion to above-mentioned execution mode in the application's spirit and scope.