The invention discloses an S-CSCF (Serving-Call
Session Control Function)
allocation method based on service capability P2P (Peer-to-Peer) distribution. The method comprises the following steps: whether nodes joining in a Reload (
resource location and discovery)
overlay network are S-CSCF nodes or I-CSCF (Interrogating-Call
Session Control Function) nodes is judged; if the joining nodes are S-CSCF nodes, the S-CSCF nodes join in the Reload
overlay network, construct a topology structure, and release on the Reload
overlay network according to a service capability set capable of being provided by the S-CSCF nodes; the S-CSCF nodes search in the Reload
overlay network by taking all service capability values owned by the S-CSCF nodes as key values, so as to obtain an SIP URI (
Session Initiation Protocol Uniform Resource Locator) set of all the S-CSCF nodes corresponding to the service capability values; a ping
heartbeat packet test is carried out on each S-CSCF node corresponding to the SIP URI set at set intervals; whether the S-CSCF nodes subjected to the ping
heartbeat packet test receive response or not five times is judged; and if the S-CSCF nodes subjected to the ping
heartbeat packet test do not receive the response five times, the S-CSCF nodes without the response are deleted from the SIP URI set. The S-CSCF
allocation method based on the service capability P2P distribution has the advantages that the S-CSCF load balancing of a
system is realized in a service capability layer level, the service capability of the
system is improved, and service
delay of the
system is reduced.