[go: up one dir, main page]

WO2007019789A1 - A method for ending multi-party communication session and a server for implementing the method - Google Patents

A method for ending multi-party communication session and a server for implementing the method Download PDF

Info

Publication number
WO2007019789A1
WO2007019789A1 PCT/CN2006/002028 CN2006002028W WO2007019789A1 WO 2007019789 A1 WO2007019789 A1 WO 2007019789A1 CN 2006002028 W CN2006002028 W CN 2006002028W WO 2007019789 A1 WO2007019789 A1 WO 2007019789A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
communication session
participant
server
party communication
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Ceased
Application number
PCT/CN2006/002028
Other languages
French (fr)
Chinese (zh)
Inventor
Lei Zhu
Long Luo
Yajuan Wu
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of WO2007019789A1 publication Critical patent/WO2007019789A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/14Systems for two-way working
    • H04N7/15Conference systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M3/00Automatic or semi-automatic exchanges
    • H04M3/42Systems providing special services or facilities to subscribers
    • H04M3/56Arrangements for connecting several subscribers to a common circuit, i.e. affording conference facilities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/10Push-to-Talk [PTT] or Push-On-Call services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/40Connection management for selective distribution or broadcast
    • H04W76/45Connection management for selective distribution or broadcast for Push-to-Talk [PTT] or Push-to-Talk over cellular [PoC] services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M2203/00Aspects of automatic or semi-automatic exchanges
    • H04M2203/50Aspects of automatic or semi-automatic exchanges related to audio conference
    • H04M2203/5027Dropping a party from a conference

Definitions

  • End multi-party communication method and server for implementing the method End multi-party communication method and server for implementing the method
  • the present invention relates to multi-party communication techniques, and more particularly to a method of ending a multi-party communication session and a server implementing the method. Background of the invention
  • a multi-party communication system based on the SIP protocol such as a PoC (Push to Talk over Cellular) system and a multi-party conference system
  • the corresponding multi-party communication session includes a PoC session, a conference session, and the like.
  • the PoC server is the main processing unit of the PoC service, and mainly includes: a PoC session processing module, a media distribution module, a conversation right control processing module, and an adaptation module of the user plane.
  • the PoC session processing module may be composed of a PoC session establishing module for establishing a PoC session, a PoC session ending module for ending the PoC session, and a PoC session control module for controlling the PoC session.
  • the PoC server controls the end of the current session.
  • the PoC user terminal is a mobile terminal that supports the PoC service, and the like, the normal person participates in the PoC session through the PoC user terminal, and when the participant of the PoC session is the PoC user terminal, the participant is considered to be a non-machine; the PoC device terminal To a voice recording device or an intelligent computer system supporting a PoC service, when a participant of a PoC session is a PoC device terminal, the participant is considered to be a machine.
  • PoC session in the case where the participant has both the person and the machine participating in the session at the same time, After the participants in the session exit the PoC session and the number of remaining participants is greater than one and both are machines, according to the existing PoC session related specifications, at this time, if no other PoC session termination conditions are set, the PoC server will not Proactively end the current PoC session. It can be seen that the prior art PoC system may be in the case where multiple participants participating in the PoC session are machines. From the perspective of PoC services provided for human users, this kind of PoC session without human participation is an unreasonable session state, and at the same time, because the session resources cannot be released, the resources of the PoC system are also wasted.
  • the machine refers to a non-human participant.
  • Another object of the present invention is to provide two servers for implementing the above method for ending a multiparty communication session, which can reasonably end a multiparty communication session while properly controlling multiple parties.
  • the session resource of the communication session system is to provide two servers for implementing the above method for ending a multiparty communication session, which can reasonably end a multiparty communication session while properly controlling multiple parties.
  • a method for ending a multiparty communication session, in a multiparty communication session includes the following steps:
  • the server determines that the multi-party communication session end condition of the preset human-computer interaction is satisfied, the current multi-party communication session is ended, and the session resources of each participant in the current multi-party communication session are released.
  • the method also includes:
  • the server determines that the multi-party communication session end condition of the preset human-computer interaction is not satisfied, the multi-party communication session is continued, and after waiting for the triggering end PoC session processing condition to be satisfied, the server re-determines whether the content is satisfied.
  • the multi-party communication session end condition of the preset human-computer interaction is not satisfied.
  • the server In the establishment of the multi-party communication session and/or the multi-party communication session, the server records the participant type of each participant, and the server determines whether the preset multi-party communication session end condition of the human-computer interaction is satisfied is: If so, the multi-party communication session end condition is satisfied; otherwise, the multi-party communication session end condition is not satisfied.
  • the server In establishing a multi-party communication session and/or a multi-party communication session, the server records the participant type of each participant; the method for the server to determine whether the multi-party communication session termination condition of the preset human-computer interaction is satisfied is:
  • a server determines whether the number of participants in the current multi-party communication session is less than or equal to one, and if so, satisfies the multi-party communication session end condition; otherwise, proceeds to step b;
  • the server determines, according to the type of participant of the record, whether the participant is If it is a machine, if yes, the multi-party communication session end condition is satisfied; otherwise, the multi-party communication session end condition is not satisfied.
  • the server In establishing a multi-party communication session and/or a multi-party communication session, the server records the participant type of each participant, and records the number of each participant according to the participant type, and the server determines whether the preset human-computer interaction is satisfied.
  • the method for ending the multiparty communication session is:
  • the server Determining, by the server, whether the current number of non-machine participants is less than or equal to a server preset end number according to the number of non-machine participants of the record, and if yes, satisfying the multi-party communication session end condition;
  • the multiparty communication session end condition is described.
  • the method further includes:
  • the server Determining, by the server, whether the machine participant in the current multi-party communication session has an intelligent machine, and if yes, proceeding to continue the multi-party communication session, and after waiting for the triggering to end the PoC session processing condition, the server re-determines whether the server satisfies The preset multi-party communication session end condition of the human-machine interaction; otherwise, the session resources of each participant in the current multi-party communication session are released and then ended.
  • the preset end number is one, or zero.
  • the multiparty communication session end condition can be used in conjunction with an end condition of an existing multiparty communication session.
  • the method for the server to record the participant type of each participant is: the server determines the value of the type identifier carried in the message sent by the participant to itself, and if the value indicates that the participant type is a machine type, the server records the server The participant type of the participant is a machine; if the value indicates that the participant type is a non-machine type, the server records that the participant's participant type is non-machine.
  • the method for the server to record the participant type of the participant is: the server determines the participation of the participant that does not carry the type identifier according to the type of the participant specified by the operator's policy or default value. The type of party.
  • the message sent by the participant to the server is carried by the Session Initiation Protocol SIP message.
  • the method further includes: setting an end condition of the current multiparty communication session;
  • the method further includes: the server determining whether the current multi-party communication session end additional condition is met, and if not, continuing the multi-party communication session, waiting for the trigger to be satisfied After the processing condition of the PoC session is ended, the server re-determines whether the multi-party communication session end condition of the preset human-computer interaction is satisfied; if yes, the session resources of each participant in the current multi-party communication session are released, and the process ends.
  • the method for setting the current multi-party communication session end attachment condition is: the participant, or the server administrator, or the operator is preset in the server.
  • the method for setting an end condition of the current multiparty communication session is: the participating direction server sends a current multiparty communication session end attachment condition.
  • the current multiparty communication session end extension is: a waiting time set by the non-machine participant to join or return to the multiparty communication session, or a timed end multiparty communication session, or a participant exiting the session.
  • the method for the participating direction server to send the current multi-party communication session end condition is: the participant carries the current multi-party communication session end condition in the message that the user sends the setting information to the server, and sends the message to the server.
  • the message for sending the setting information to the server is a SIP message.
  • the SIP message is: a PUBLISH message, or an INVITE message, or a Re-INVITE message, or an UPDATE message, or a SUBSCRIBE message, or a REGISTER message.
  • Each of the participants is in a multi-party communication session, and the method further includes:
  • the party to which the switch is switched will notify the server of its own participant type.
  • the method further includes: determining that the multi-party communication session processing condition that satisfies the trigger end;
  • the triggering end multiparty communication session processing condition is: the participant having the multiparty communication session set by the operator in the server exits the current multiparty communication session, or the timing trigger ends the multiparty communication session processing, or the type of the participant changes. .
  • the multi-party communication session is a push button of a cellular system, that is, a PoC session, or a multi-party conference session.
  • a server includes a session establishing module, a session ending module, and a session control module, the server further comprising: a participant type detecting module for identifying a participant type of the multiparty communication session participant and a participant for storing the participant type Type storage module;
  • the session establishing module is configured to establish a multi-party communication session, identify a participant type, send the identified participant type to the participant type storage module, and notify the session control module of the session establishment result information;
  • the participant type storage module is configured to record the participant type of each participant
  • a session control module configured to control a multiparty communication session, and notify the session end module to end the current multiparty communication session when the multiparty communication session end condition is met;
  • a session end module configured to: after receiving the notification of ending the multiparty communication session from the session control module, ending the current multiparty communication session and releasing the session resources of the participant; the participant type detection module, configured to receive the session from the session.
  • the detection request of the control module acquires the recorded participant type information from the participant type storage module, and determines the type of the participant according to the participant type information, and returns the determined participant type information to the session control module.
  • the server further includes: a condition determining module for determining whether the server exists and satisfies the current multi-party communication session ending condition;
  • the session control module determines, after the current multi-party communication session end condition is met, if the information that the current multi-party communication session attachment condition is satisfied from the condition determination module is received, notifying the session end module to end the current multi-party communication session and releasing the participation Party conversation Resources; otherwise, continue the current multiparty communication session;
  • the condition judging module is configured to send, to the session control module, information that ends the current multi-party communication session additional condition when the current condition exists and meets the current multi-party communication session end condition; or determines that the current multi-party communication session is not satisfied.
  • information that the current multi-party communication session attachment condition is not satisfied is sent to the session control module.
  • the multiparty communication session end condition is: the number of participants in the current multiparty communication session is less than or equal to one, or the participants in the current multiparty communication session are machines.
  • the multi-party communication session is a PoC session of the cellular system, and the server is a PoC server;
  • the multi-party communication session is a multi-party conference session
  • the server is a conference server.
  • a server includes a session establishment module, a session termination module, and a session control module, and the server further includes: a participant quantity recording module for recording the number of each participant type;
  • the session establishing module is configured to establish a multi-party communication session, identify a participant type, send the identified participant type to the participant type storage module, and notify the session control module of the session establishment result information;
  • the participant quantity recording module is configured to receive a participant type from the session establishment module and record the number of the participant in the participant type type;
  • the session control module queries the information of the number of participants in the participant type record module, determines that the end of the multi-party communication session is satisfied, and notifies the session end module to end the current multi-party communication session;
  • the session end module is configured to, after receiving the notification of ending the multi-party communication session from the session control module, end the current multi-party communication session and release the session resources of the participant.
  • the server further includes: a condition determining module configured to determine whether the server exists and satisfies an additional condition of the current multiparty communication session end;
  • the session control module determines, after the current multi-party communication session end condition is met, if the information that the current multi-party communication session attachment condition is satisfied from the condition determination module is received, notifying the session end module to end the current multi-party communication session and releasing the participation Party session resources; otherwise, continue the current multiparty communication session;
  • the condition judging module is configured to send, to the session control module, information that ends the current multi-party communication session additional condition when the current condition exists and meets the current multi-party communication session end condition; or determines that the current multi-party communication session is not satisfied.
  • the condition is attached, the multi-party communication session end condition that the end of the current multi-party communication session additional condition is not satisfied is sent to the session control module: the number of non-machine participants in the current multi-party communication session is less than or equal to the preset end number.
  • the multi-party communication session is a key of a cellular system, that is, a PoC session, and the server is a PoC server;
  • the multi-party communication session is a multi-party conference session
  • the server is a conference server.
  • the server determines whether the multi-party communication session end condition of the preset human-machine interaction is satisfied, and if yes, ends the current multi-party communication session, and Release the session resources of the participant; otherwise continue the current multiparty communication session and wait for the trigger to end the multiparty communication session processing condition.
  • the multiparty communication session of the present invention includes a PoC session, a conference session, and the like.
  • the method for determining, by the server of the present invention, whether the multi-party communication session end condition of the preset human-computer interaction is met may be: distinguishing the type of the participant in the multi-party communication session according to the type identifier of the participant participating in the multi-party communication session, and recording the participant type In the server. such, When the participant type detecting module preset in the server detects that the participants in the multiparty communication session are all machines according to the participant type recorded in the server, the server determines that the multiparty communication session end condition is satisfied.
  • the method for determining, by the server of the present invention, whether the multi-party communication session end condition of the preset human-computer interaction is satisfied may be: when the number of the multi-party communication session participants is greater than one, when the preset participant type detection module in the server is recorded on the server according to the The participant type detects that only one of the participants in the multiparty communication session is a non-machine participant, and the server determines that the multiparty communication session end condition is satisfied.
  • the method for determining whether the server meets the termination condition of the multi-party communication session of the preset human-computer interaction may also be: Suppose that when the server records the participant type of the multi-party communication session participant, the non-machine whose participant type is non-machine is also recorded. The number of participants, and the number of presets. The server determines whether the current number of non-machine participants is less than or equal to the server preset end number according to the number of participants in the recorded non-machine type, and if so, determines that the multi-party communication session end condition is satisfied.
  • the server of the multi-party communication session of the present invention includes
  • the method of the present invention for ending a multiparty communication session when only a machine participant exists in a multiparty communication session may be used alone or in combination with a method of ending a multiparty communication session such as a session release policy.
  • the method and server of the invention avoid the unreasonable multi-party communication session state without human participation, reasonably end the multi-party communication session, and effectively avoid waste of resources of the multi-party communication system.
  • Figure la is a schematic diagram of a composition of a PoC server in the PoC session system of the present invention
  • Figure lb is a schematic diagram of another composition of a PoC server in the PoC session system of the present invention
  • 2 is a flow chart of an embodiment of ending a PoC session in the PoC session system of the present invention
  • FIG. 3 is a flow chart of another embodiment of terminating a PoC session in the PoC session system of the present invention.
  • the core idea of the present invention is: in a multi-party communication session, determining that the server determines whether the multi-party communication session end condition of the preset human-machine interaction is satisfied after the triggering of the multi-party communication session processing condition is ended, and if yes, ending the current multi-party communication session, And releasing the session resources of the participant; otherwise, continuing the current multi-party communication session and waiting for the trigger to end the multi-party communication session processing condition.
  • the server of the multiparty communication session of the present invention includes a PoC server, a Conference server, and the like.
  • the present invention ensures a reasonable termination of the multiparty communication session while saving resources of the multiparty communication session system.
  • FIG. la is a schematic diagram of a PoC server in the PoC session system of the present invention.
  • the PoC server includes a PoC session establishing module for establishing a PoC session and a PoC session for ending the PoC session.
  • the PoC session end module and the PoC session control module for controlling the PoC session further include: a participant type detection module for identifying a participant type of the PoC session participant and a participant type storage for storing the participant type.
  • the PoC session establishing module is configured to receive a PoC session request, record the participant type of each participant, control the establishment of the PoC session, identify the participant type, and transmit the identified participant type to the participant type storage module, and Notifying the PoC session control module of the session establishment result information; Participant type storage module, used to record the type of participants of each participant after identification;
  • the PoC session control module is configured to notify the PoC session end module to end the current PoC session after determining that the number of participants existing in the current PoC session is less than or equal to one according to the group information stored by the PoC session. Or receiving information from the participant type returned by the participant type detecting module, determining that the participant in the current PoC session is a machine, and notifying the PoC session ending module to end the current PoC session;
  • a PoC session end module configured to: after receiving the notification of the end PoC session from the PoC session control module, end the current PoC session and release the session resources of the participant; the participant type detection module, configured to receive the control from the PoC session The module's detection request acquires the recorded participant type information from the participant type storage module, determines the type of the participant, and determines the participant type according to the participant type information, and returns the determined participant type information to the PoC. Session control module.
  • the PoC server may further include: a condition determining module configured to determine whether the PoC server exists and satisfies an additional condition of the current PoC session end;
  • the notification condition determination module After the PoC session control module determines that the number of participants in the current PoC session is less than or equal to one, or determines that the participants in the current PoC session are all machines, the notification condition determination module performs a judgment operation and receives the PoC session processing module. After the current PoC session end conditional information from the condition judging module is satisfied, the PoC session end module is notified to end the current PoC session and release the session resources of the participant; or the PoC session processing module receives the current condition from the condition judging module. After the PoC session ends the information that the condition is not satisfied, the current PoC session is continued.
  • the PoC server may also be as shown in FIG. 1b, and FIG. 1b is another schematic diagram of the composition of the PoC server in the PoC session system of the present invention: in addition to including for establishing and identifying the participant type.
  • a PoC session establishing module, a PoC session ending module for ending a PoC session, and a PoC session control module for controlling a PoC session further comprising: a participant number recording module for recording the number of each participant type;
  • the PoC session establishing module is configured to receive a PoC session request, establish a PoC session, and identify a participant type, or receive a type notification message in the PoC session to identify a participant type, and transmit the identified participant type to the participant.
  • the party type recording module notifies the PoC session control module session establishment result information;
  • a participant quantity recording module for receiving a participant type from the PoC session establishment module and recording the number of participants of the participant type type
  • the PoC session control module queries the information of the number of participants in the participant type record module, and determines that the number of non-machine participants in the participant in the current PoC session is less than or equal to the preset number of ends, and the notification PoC session end module ends.
  • the PoC session end module is configured to, after receiving the notification of the end PoC session from the PoC session control module, end the current PoC session and release the session resources of the participant.
  • PoC server component modules shown in Figures la and lb are only modules related to the present invention, and other existing modules of the PoC server are not shown in Figures la and lb.
  • the conference server when the server is a conference server, the conference server includes a conference session establishment module, a conference session control module, and a conference session control module, and includes a participant type detection module and a participant type storage module. Still further includes: a condition determination module.
  • the functions of each module in the Conference server are the same as those of the corresponding modules in the PoC, except for the names.
  • the Conference server also has two forms of diagrams la and lb, which will not be described in detail here.
  • a participant sends a session request message to the PoC server as a session initiation direction, such as a session establishment request (INVITE).
  • INVITE request includes related information of the participant, and is invited to join other participants of the PoC session. Information, etc., if the invited party can join the session normally, the acknowledgment message, such as a 200 OK response message, is sent to the participant who initiated the current PoC session through the PoC server.
  • the PoC server stores the information of all parties participating in the PoC session locally, and manages and controls the established PoC session. The specific implementation process of establishing a PoC session can be found in the related PoC session related specifications, and will not be repeated here.
  • the participant carries a type identifier indicating the machine in the Session Initiation Protocol (SIP) message, and the PoC server determines whether the invited party is a machine or not, according to the value of the type identifier of the machine, if the machine is represented.
  • the value of the type identifier is true, that is, TURE, that is, indicating that the participant type is machine type, then the invited party is determined to be a machine; if the value of the type identifier of the machine is false, that is, FALSE, indicating that the participant type is For non-machine types, it is determined that the invited party is a non-machine.
  • the machine When the invited party is a machine, the machine carries a type identifier for indicating that it is a machine in a SIP message, such as a 200 OK response message, and the type identifier may be stored in an existing Contact field of the 200 OK response message, such as If the automata or PoC Box field in the Contact field is TRUE, it means that the sender of the SIP message is a machine. It should be noted here that there may be more than one type of identifier indicating whether the participant is a machine participant, such as recorder for recorder, Automata for auto answering machine, PoC Box for PoC service recording device, etc.
  • the PoC server After receiving the 200 OK response message, the PoC server determines that the invited participant is a machine according to the value of the type identifier indicating the machine carried in the 200 OK response message, that is, TRUE, and the invited participant is Participant type with other users of the machine
  • the information is correspondingly stored in the PoC server.
  • the session initiator is a machine
  • the machine is scheduled to initiate an INVITE request to the PoC server at a certain time.
  • the INVITE request carries a type identifier indicating that it is a machine.
  • the type identifier can be stored in the existing Contact field of the INVITE request.
  • the PoC server After receiving the INVITE request, the PoC server determines the session initiator according to the value of the type identifier indicating the machine carried in the INVITE request, that is, TRUE. Is a machine, and stores the participant type of the session initiator with other user information of the machine in the PoC server; when the session initiator or the invited party is non-machine, the PoC server receives the INVITE request or the 200 OK response After the message, according to the INVITE request or the 200 OK response message carrying the identifier indicating the type of the participant, the value of the identifier is false, that is, false, and the session initiator or the invited party is determined to be non-machine, and the session initiator or the invited party is invited to participate. The participant type of the party is stored in the PoC server corresponding to the other user information of the non-machine.
  • a non-machine participant initiates a PoC session and invites a machine to join the session.
  • the implementation process includes: the non-machine participation direction PoC server initiates an INVITE request, because the initiator of the originating PoC session is non-machine, so the INVITE request can be The value of the carried type identifier is false, which means that the session participant is non-machine; after receiving the INVITE message, the PoC server controlling the session authenticates the session initiator, and according to the type identifier carried in the INVITE request The value determines that the participant type of the participant is non-machine, and records the participant type of the session initiator and the related information of the session initiator in the PoC server.
  • the INVITE request is sent to the invitee through the PoC server for controlling and managing the session; as the machine of the invitee, after receiving the INVITE request message, the returned 200 OK response message
  • the contact field carries the type identifier of the value of the ture.
  • the PoC server determines that the participant type of the participant is a machine according to the value of the type identifier carried in the 200 OK response message. And locally with the be The relevant information of the inviter correspondingly records the type of the party of the invited party.
  • the present invention records the participant types of the participating parties participating in the PoC session in the PoC server.
  • the POC server may determine whether the participant is a machine according to the type of the participant specified by the operator's policy or default value. Not machine.
  • Step 200 When the current PoC session is in progress, the PoC server determines whether the triggering end PoC session processing condition is met. If not, the process returns to step 200; otherwise, the process proceeds to step 202.
  • the setting of the processing condition for triggering the PoC session may be set by the operator in the PoC server, and may be changed by the participant of the PoC session, for example, the participant withdraws from the current PoC session, or the type of the participant changes, such as switching from the machine to the non-party.
  • the machine switches from non-machine to machine, etc.; it also triggers the PoC session processing flow and so on.
  • Step 202 The PoC server determines whether the number of participants existing in the current PoC session is less than or equal to one, and if yes, proceeds to step 204; otherwise, proceeds to step 203.
  • the PoC server has a PoC session processing function, so the PoC server can determine whether the number of participants existing in the current PoC session is less than or equal to one according to the group information of the participating parties that have been stored in the PoC server. If there is no user or only one user in the group information, the PoC server determines that the number of participants in the current PoC session is less than or equal to one; if there is more than one user in the group information, the PoC server determines the current The number of participants in a PoC session is greater than one. For details, refer to the PoC session related specifications, which are not repeated here.
  • the PoC server will proceed to step 204 whether the party is a non-machine or a machine; or if no party exists. If there are more than one remaining PoC session participants, the PoC server proceeds to step 203 for further determination.
  • Step 203 The PoC server determines whether the participants of the PoC session are all machines, and if yes, proceeds to step 204; otherwise, returns to step 200.
  • the participant type detecting module in the PoC server judges the participants in the current PoC session according to the information recorded locally. If the participant type in the information of each participant shows that the participant is a machine type, the PoC server determines At this point, the participants of the PoC session are all machines; otherwise, it is determined that the participants of the PoC session are not all machines at this time, and the PoC session is continued.
  • Step 204 The PoC server ends the current PoC session and releases the session resources of each participant. .
  • the PoC server sends an end session message to each participant, such as a BYE message, ending the current PoC session and releasing the session resources of each participant.
  • a non-machine participant switches itself to a machine in a PoC session, or a machine participant is switched to a non-machine
  • the party to which the switch is switched will pass the type notification message of the participant type.
  • a SIP message such as an INVITE message, a 200 OK response message, etc.
  • INVITE message such as an INVITE message
  • 200 OK response message may be used to notify the PoC server.
  • Step 2031 The PoC server determines whether the current PoC session end attachment condition is preset. If not, the process proceeds to step 204; otherwise, Step 2032.
  • Step 2032 The PoC server determines whether the preset current PoC session end condition is met. If not, the process returns to step 200. If yes, the process proceeds to step 204.
  • the participant may carry the current PoC session end attachment condition to the existing user for sending the setup information to the PoC server.
  • the message is sent to the PoC server.
  • the message used by the user to send the setting information to the PoC server may be a SIP message, such as: a PUBLISH message, or an INVITE message, or a Re-INVITE message, or an UPDATE message, or a SUBSCRIBE message, or a REGISTER message.
  • the current PoC session end preconditions preset in the PoC server include: the length of the waiting time for the participant to join or return the PoC session, the end of the PoC session, the end of the PoC session by a participant, and the end of the PoC session.
  • a non-machine participant presets the waiting time for joining or returning to a PoC session. That is, when the PoC server determines to end the current PoC session, the PoC server needs to wait for a set length of time.
  • the PoC server determines that the preset current PoC session end condition is not satisfied; if the non-machine participant has not joined or returned the current PoC session within the set time length, The PoC server determines that the preset current PoC session end attachment condition is satisfied.
  • the implementation of the condition for ending the PoC session and ending the PoC session by a participant to exit the session is similar to the above method, and will not be described in detail herein.
  • the method of the present invention distinguishes the types of machines and non-machines participating in the PoC session by the type identification of the machines participating in the PoC session, and records the participant type of the participant in the PoC server. in. Exist in multiple participants
  • the PoC server sends a message to the participants to end the PoC session, and ends the current PoC session and releases the session resources of each participant.
  • the method avoids the unreasonable PoC session state in which no one participates, and reasonably ends the PoC session, and effectively avoids the waste of the session resources of the PoC system.
  • the entry step 202 in steps 200 to 201 is changed to the step 203, so that the object of the present invention can be achieved as another method for ending the PoC session of the present invention.
  • 3 is a flow chart of another embodiment of ending a PoC session in a winter invented PoC session system.
  • the PoC server records the participant type of the PoC session participant, the participant type is also recorded as non-machine. The number of non-machine participants, and the number of preset ends.
  • the method includes the following two steps:: determining whether the current number of non-machine participants is less than or equal to the preset number of endings of the PoC server, and if yes, proceeding to step 301; otherwise, continuing After the current PoC session and waiting for the trigger to end the PoC session processing condition is satisfied, returning to step 300;
  • Step 301 The PoC server ends the current PoC session, and releases the session resources of the participant.
  • the preset number of terminations may be determined by an operator, an initiator of a PoC session, an administrator, or an Authenticated User authorized by an administrator, for example, the number of terminations is preset to one.
  • the method may further include: the PoC server further determining whether the machine participant in the current PoC session is It is a smart machine, such as a smart computer, and if so, returns to step 300, otherwise, proceeds to step 301.
  • a smart machine refers to a machine that can interact with non-machine participants such as a smart computer, a content server, and the like.
  • the PoC server determines whether the machine participant in the current PoC session is an intelligent machine, and can be judged by the further additional function identification of the machine participant in the session. For example, a function identifier for indicating the function of the machine participant can be recorded in the PoC session, so that whether the machine participant is a smart machine or a non-intelligent machine, such as a machine participant corresponding to the function identification display, can be determined by the function identifier of the machine participant.
  • the PoC server determines that the machine participant is an intelligent machine; the function identifier indicates that the corresponding machine participant is a non-intelligent machine, and the PoC server determines that the machine participant is a non-intelligent machine.
  • the PoC server determines whether the PoC server sends the end session message to each participant before the PoC server establishes the PoC server.
  • the preset PoC session end is preset, if not preset, the process proceeds to step 301; otherwise, the PoC server further determines whether the preset current PoC session end condition is satisfied, and if not, returns to step 300; Then, the process proceeds to step 301.
  • the foregoing embodiment is a specific embodiment of the three types of ending PoC sessions of the present invention.
  • the process proceeds to step 204 or step 301 to indicate that the PoC session end condition is currently met; otherwise, the PoC session end condition is not met currently.
  • the method of ending the PoC session may be separately used as the ending PoC.
  • the conditions of the session can also be used together as a condition for ending the PoC session, and can also be used in combination with the ending method of the existing PoC session as a reason for ending the PoC session.
  • the method for ending the existing PoC session includes: a method of ending a PoC session when the PoC administrator issues an instruction to end the PoC session, a method of ending the PoC session when the last participant in the PoC session leaves, and when the PoC session initiator leaves
  • Method for ending a PoC session a method for ending a PoC session when a specified PoC participant leaves, a method for ending a PoC session when the number of participants is less than a certain value, and a method for ending a PoC session when an initiator of a session leaves a session
  • the method for combining the PoC session end method may be to set multiple PoC session methods for one PoC session. As long as the reason for ending a PoC session is satisfied, the PoC session ends.

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

A method for ending multi-party communication session and a server for implementing the method, wherein the method includes during the multi-party communication session, after determining the condition of triggering ending of the multi-party communication session is met, and when the server determines that the predetermined condition of ending the man-machine interaction PoC session is met, ending the current PoC session, and releasing the participants’ session resources. The method and server of the present invention avoids the unreasonable state of the multi-party communication session that no human participates, and ends the multi-party communication session properly, as well as effectively prevents wasting of the session resource of multi-party communication system.

Description

结束多方通信 ^舌的方法及实现该方法的服务器 技术领域  End multi-party communication method and server for implementing the method

本发明涉及多方通信技术, 尤指结束多方通信会话的方法及实现该 方法的服务器。 发明背景  The present invention relates to multi-party communication techniques, and more particularly to a method of ending a multi-party communication session and a server implementing the method. Background of the invention

基于 SIP协议的多方通信系统,如蜂窝系统的按键即说(PoC, Push to Talk over Cellular ) 系统和多方会议( Conference ) 系统等, 对应的多 方通信会话包括 PoC会话、 多方会议 ( Conference )会话等。这里以 PoC 会话为例进行简单介绍,在 PoC系统中, PoC服务器是 PoC业务的主要 处理单元, 主要包括: PoC会话处理模块、 媒体分发模块、 谈话权控制 处理模块、用户平面的适配模块、不同编码协议的转换模块等,其中 PoC 会话处理模块可以由用于建立 PoC会话的 PoC会话建立模块,用于结束 PoC会话的 PoC会话结束模块和用于控制 PoC会话的 PoC会话控制模 块組成。 目前, 在 PoC会话相关规范中规定, 当 PoC会话中只存在一个 参与方或不存在参与方时, PoC服务器会控制结束当前会话。这里, PoC 其中, PoC用户终端为支持 PoC业务的移动终端等,通常人通过 PoC用 户终端参与 PoC会话, 当 PoC会话的参与方为 PoC用户终端时, 被认 为参与方为非机器; PoC设备终端为支持 PoC业务的语音录音设备或智 能计算机系统等, 当 PoC会话的参与方为 PoC设备终端时,被认为参与 方为机器。  A multi-party communication system based on the SIP protocol, such as a PoC (Push to Talk over Cellular) system and a multi-party conference system, and the corresponding multi-party communication session includes a PoC session, a conference session, and the like. . This is a brief introduction to the PoC session. In the PoC system, the PoC server is the main processing unit of the PoC service, and mainly includes: a PoC session processing module, a media distribution module, a conversation right control processing module, and an adaptation module of the user plane. A conversion module or the like of a different encoding protocol, wherein the PoC session processing module may be composed of a PoC session establishing module for establishing a PoC session, a PoC session ending module for ending the PoC session, and a PoC session control module for controlling the PoC session. Currently, in the PoC session related specification, when there is only one participant or no participant in the PoC session, the PoC server controls the end of the current session. Here, the PoC user terminal is a mobile terminal that supports the PoC service, and the like, the normal person participates in the PoC session through the PoC user terminal, and when the participant of the PoC session is the PoC user terminal, the participant is considered to be a non-machine; the PoC device terminal To a voice recording device or an intelligent computer system supporting a PoC service, when a participant of a PoC session is a PoC device terminal, the participant is considered to be a machine.

PoC会话中, 在参与方既有人, 又有机器同时参与会话的情况下, 当参与会话的人均退出 PoC会话后, 剩余的参与方的数目大于一且均为 机器时, 按照现有 PoC会话相关规范的规定, 此时, 如果没有设置其它 PoC会话结束条件, PoC服务器不会主动结束当前 PoC会话。 可见, 现有 技术的 PoC系统可能出现参与 PoC会话的多个参与方均为机器的情况。从 为人类用户提供的 PoC业务来看,这种没有人参与的 PoC会话是一种不合 理的会话状态, 同时由于会话资源不能被释放, 也造成了 PoC系统资源 的浪费。 所述机器指非人类参与方。 In a PoC session, in the case where the participant has both the person and the machine participating in the session at the same time, After the participants in the session exit the PoC session and the number of remaining participants is greater than one and both are machines, according to the existing PoC session related specifications, at this time, if no other PoC session termination conditions are set, the PoC server will not Proactively end the current PoC session. It can be seen that the prior art PoC system may be in the case where multiple participants participating in the PoC session are machines. From the perspective of PoC services provided for human users, this kind of PoC session without human participation is an unreasonable session state, and at the same time, because the session resources cannot be released, the resources of the PoC system are also wasted. The machine refers to a non-human participant.

比如, 甲、 乙、 丙和丁四个人已加入到 PoC会话中并处于正常会话 状态, 由于某种原因, 丙和丁分别将会话切换到语音录音设备上, 此时 参与方为两个人: 甲和乙, 两台机器: 丙和丁; 甲和乙两方在 PoC会话 结束后, 先后退出 PoC会话, 但是作为会话参与方的两台语音录音设备 丙和丁, 在没有获得退出 PoC会话的信息之前, 是不会主动退出 PoC 会话的, 这种 PoC会话中只保留机器的会话状态, 对人类用户来说是没 有实际意义的会话状态。 并且此时, PoC会话的资源没有被释放, 丙和 丁的资源也没有释放, 造成了 PoC系统资源的浪费。  For example, four people A, B, C, and D have joined the PoC session and are in a normal conversation state. For some reason, C and D respectively switch the session to the voice recording device. At this time, the participants are two people: And B, two machines: C and D; A and B both quit the PoC session after the end of the PoC session, but the two voice recording devices C and D as the session participants did not get the information to exit the PoC session. Previously, it did not voluntarily quit the PoC session. This PoC session only preserves the session state of the machine, which is a session state that has no practical meaning for human users. At this time, the resources of the PoC session are not released, and the resources of the C and D are not released, resulting in waste of PoC system resources.

又比如, 甲、 乙、 丙和丁四个人中, 有一个人是使用用户终端, 而 另外三个人使用录音设备, 这时 PoC会话也处于不合理的状态下, 也可 以设定这时结束会话的条件。 发明内容  For example, one of the four people A, B, C and D uses the user terminal, while the other three use the recording device. At this time, the PoC session is also in an unreasonable state, and the session can be set at this time. condition. Summary of the invention

有鉴于此, 本发明的主要目的在于提供一种结束多方通信会话的方 法, 该方法能够避免多方通信会话中的不合理会话状态, 同时能够节约 多方通信会话系统资源。  In view of this, it is a primary object of the present invention to provide a method of terminating a multiparty communication session that avoids unreasonable session state in a multiparty communication session while conserving multiparty communication session system resources.

本发明的另一目的在于提供两种实现上述结束多方通信会话的方 法的服务器,. 该服务器能够合理结束多方通信会话, 同时合理控制多方 通信会话系统的会话资源。 Another object of the present invention is to provide two servers for implementing the above method for ending a multiparty communication session, which can reasonably end a multiparty communication session while properly controlling multiple parties. The session resource of the communication session system.

为达到上述目的, 本发明的技术方案具体是这样实现的: 一种结束多方通信会话的方法, 在多方通信会话中, 该方法包括以 下步骤:  To achieve the above object, the technical solution of the present invention is specifically implemented as follows: A method for ending a multiparty communication session, in a multiparty communication session, the method includes the following steps:

在服务器判断出满足预设人机交互的多方通信会话结束条件时, 结 束当前多方通信会话, 并释放当前多方通信会话中各参与方的会话资 源。  When the server determines that the multi-party communication session end condition of the preset human-computer interaction is satisfied, the current multi-party communication session is ended, and the session resources of each participant in the current multi-party communication session are released.

该方法还包括:  The method also includes:

在所述服务器判断出不满足所述预设人机交互的多方通信会话结 束条件时, 继续所述多方通信会话, 在等待满足所述触发结束 PoC会话 处理条件后, 所述服务器重新判断是否满足所述预设人机交互的多方通 信会话结束条件。  When the server determines that the multi-party communication session end condition of the preset human-computer interaction is not satisfied, the multi-party communication session is continued, and after waiting for the triggering end PoC session processing condition to be satisfied, the server re-determines whether the content is satisfied. The multi-party communication session end condition of the preset human-computer interaction.

在建立多方通信会话时和 /或多方通信会话中,所述服务器记录各参 与方的参与方类型, 所述服务器.判断是否满足预设人机交互的多方通信 会话结束条件的方法为: 器, 若是, 则满足所述多方通信会话结束条件; 否则, 不满足所述多方 通信会话结束条件。  In the establishment of the multi-party communication session and/or the multi-party communication session, the server records the participant type of each participant, and the server determines whether the preset multi-party communication session end condition of the human-computer interaction is satisfied is: If so, the multi-party communication session end condition is satisfied; otherwise, the multi-party communication session end condition is not satisfied.

在建立多方通信会话时和 /或多方通信会话中,所述服务器记录各参 与方的参与方类型; 所述服务器判断是否满足预设人机交互的多方通信 会话结束条件的方法为:  In establishing a multi-party communication session and/or a multi-party communication session, the server records the participant type of each participant; the method for the server to determine whether the multi-party communication session termination condition of the preset human-computer interaction is satisfied is:

a. 所述服务器判断存在于当前多方通信会话中的参与方数目是否 小于或等于一, 若是, 则满足所述多方通信会话结束条件; 否则, 进入 步骤 b;  a server determines whether the number of participants in the current multi-party communication session is less than or equal to one, and if so, satisfies the multi-party communication session end condition; otherwise, proceeds to step b;

b. 所述服务器根据所述记录的参与方类型判断所述参与方是否均 为机器, 若是, 则满足所述多方通信会话结束条件; 否则, 不满足所述 多方通信会话结束条件。 b. The server determines, according to the type of participant of the record, whether the participant is If it is a machine, if yes, the multi-party communication session end condition is satisfied; otherwise, the multi-party communication session end condition is not satisfied.

在建立多方通信会话时和 /或多方通信会话中,所述服务器记录各参 与方的参与方类型, 并根据参与方类型记录各参与方的数量, 所述服务 器判断是否满足预设人机交互的多方通信会话结束条件的方法为:  In establishing a multi-party communication session and/or a multi-party communication session, the server records the participant type of each participant, and records the number of each participant according to the participant type, and the server determines whether the preset human-computer interaction is satisfied. The method for ending the multiparty communication session is:

所述服务器根据所述记录的参与方类型为非机器的数量判断当前 非机器参与方数量是否小于或等于服务器预设结束数目, 若是, 则满足 所述多方通信会话结束条件; 否则,不满足所述多方通信会话结束条件。  Determining, by the server, whether the current number of non-machine participants is less than or equal to a server preset end number according to the number of non-machine participants of the record, and if yes, satisfying the multi-party communication session end condition; The multiparty communication session end condition is described.

所述结束当前多方通信会话之前 , 该方法还包括:  Before the ending the current multiparty communication session, the method further includes:

所述服务器判断当前多方通信会话中的机器参与方是否有智能机 器,若有,则进入继续所述多方通信会话,在等待满足所述触发结束 PoC 会话处理条件后, 所述服务器重新判断是否满足所述预设人机交互的多 方通信会话结束条件; 否则, 释放当前多方通信会话中各参与方的会话 资源后结束。  Determining, by the server, whether the machine participant in the current multi-party communication session has an intelligent machine, and if yes, proceeding to continue the multi-party communication session, and after waiting for the triggering to end the PoC session processing condition, the server re-determines whether the server satisfies The preset multi-party communication session end condition of the human-machine interaction; otherwise, the session resources of each participant in the current multi-party communication session are released and then ended.

所述预设结束数目为一, 或者为零。  The preset end number is one, or zero.

所述多方通信会话结束条件能与已有多方通信会话的结束条件结 合使用。  The multiparty communication session end condition can be used in conjunction with an end condition of an existing multiparty communication session.

所述服务器记录各参与方的参与方类型的方法为: 服务器判断所述 参与方发送给自身的消息中携带的类型标识的取值, 若取值指示参与方 类型为机器类型, 则服务器记录所述参与方的参与方类型为机器; 若取 值指示参与方类型为非机器类型, 则服务器记录所述参与方的参与方类 型为非机器。  The method for the server to record the participant type of each participant is: the server determines the value of the type identifier carried in the message sent by the participant to itself, and if the value indicates that the participant type is a machine type, the server records the server The participant type of the participant is a machine; if the value indicates that the participant type is a non-machine type, the server records that the participant's participant type is non-machine.

所述服务器记录所述参与方的参与方类型的方法为: 服务器对未携 带类型标识的所述参与方, 才艮据运营商的策略或者缺省值所规定的参与 方的类型, 判定该参与方的类型。 所述参与方发送给服务器的消息由会话初始化协议 SIP消息承载。 该方法还包括: 设置当前多方通信会话结束附加条件; The method for the server to record the participant type of the participant is: the server determines the participation of the participant that does not carry the type identifier according to the type of the participant specified by the operator's policy or default value. The type of party. The message sent by the participant to the server is carried by the Session Initiation Protocol SIP message. The method further includes: setting an end condition of the current multiparty communication session;

所述服务器结束当前多方通信会话之前, 该方法还包括: 所述服务 器判断是否满足已设置的当前多方通信会话结束附加条件, 若不满足, 则继续所述多方通信会话,在等待满足所述触发结束 PoC会话处理条件 后, 所述服务器重新判断是否满足所述预设人机交互的多方通信会话结 束条件; 若满足, 则释放当前多方通信会话中各参与方的会话资源后结 束。  Before the server ends the current multi-party communication session, the method further includes: the server determining whether the current multi-party communication session end additional condition is met, and if not, continuing the multi-party communication session, waiting for the trigger to be satisfied After the processing condition of the PoC session is ended, the server re-determines whether the multi-party communication session end condition of the preset human-computer interaction is satisfied; if yes, the session resources of each participant in the current multi-party communication session are released, and the process ends.

所述设置当前多方通信会话结束附加条件的方法为: 所述参与方、 或服务器管理员、 或运营商预先在所述服务器中设置。  The method for setting the current multi-party communication session end attachment condition is: the participant, or the server administrator, or the operator is preset in the server.

所述设置当前多方通信会话结束附加条件的方法为: 所述参与方向 服务器发送当前多方通信会话结束附加条件。  The method for setting an end condition of the current multiparty communication session is: the participating direction server sends a current multiparty communication session end attachment condition.

所述当前多方通信会话结束附加奈件为: 非机器参与方设置的加入 或返回多方通信会话的等待时间长度、 或定时结束多方通信会话、 或某 参与方退出会话。  The current multiparty communication session end extension is: a waiting time set by the non-machine participant to join or return to the multiparty communication session, or a timed end multiparty communication session, or a participant exiting the session.

所述参与方向服务器发送当前多方通信会话结束附加条件的方法 为: 参与方将当前多方通信会话结束附加条件携带在用户用于向服务器 发送设置信息的消息中, 并发送给所述服务器。  The method for the participating direction server to send the current multi-party communication session end condition is: the participant carries the current multi-party communication session end condition in the message that the user sends the setting information to the server, and sends the message to the server.

所述向服务器发送设置信息的消息为 SIP消息。  The message for sending the setting information to the server is a SIP message.

所述 SIP消息为: PUBLISH消息, 或 INVITE消息, 或 Re-INVITE 消息, 或 UPDATE消息, 或 SUBSCRIBE消息, 或 REGISTER消息。  The SIP message is: a PUBLISH message, or an INVITE message, or a Re-INVITE message, or an UPDATE message, or a SUBSCRIBE message, or a REGISTER message.

所述各参与方处于多方通信会话中, 该方法还包括:  Each of the participants is in a multi-party communication session, and the method further includes:

若非机器参与方将自身切换为机器, 或机器参与方被切换为非机 器, 切换至的参与方均会将自身参与方类型通知所述服务器。  If the non-machine participant switches itself to the machine, or the machine participant is switched to a non-machine, the party to which the switch is switched will notify the server of its own participant type.

该方法之前还包括: 确定满足触发结束多方通信会话处理条件; 所述触发结束多方通信会话处理条件为: 由运营商在所述服务器中 设置的存在多方通信会话的参与方退出当前多方通信会话、 或定时触发 结束多方通信会话处理、 或参与方的类型发生变化。 The method further includes: determining that the multi-party communication session processing condition that satisfies the trigger end; The triggering end multiparty communication session processing condition is: the participant having the multiparty communication session set by the operator in the server exits the current multiparty communication session, or the timing trigger ends the multiparty communication session processing, or the type of the participant changes. .

所述多方通信会话为蜂窝系统的按键即说 PoC会话, 或多方会议 Conference会话。  The multi-party communication session is a push button of a cellular system, that is, a PoC session, or a multi-party conference session.

一种服务器, 包括会话建立模块、 会话结束模块、 会话控制模块, 该服务器还包括: 用于识别多方通信会话参与方的参与方类型的参与方 类型检测模块和用于存储参与方类型的参与方类型存储模块;  A server includes a session establishing module, a session ending module, and a session control module, the server further comprising: a participant type detecting module for identifying a participant type of the multiparty communication session participant and a participant for storing the participant type Type storage module;

所述会话建立模块, 用于建立多方通信会话, 识别参与方类型, 将 识别后的参与方类型发送给参与方类型存储模块, 并通知会话控制模块 会话建立结果信息;  The session establishing module is configured to establish a multi-party communication session, identify a participant type, send the identified participant type to the participant type storage module, and notify the session control module of the session establishment result information;

所述参与方类型存储模块, 用于记录各参与方的参与方类型;  The participant type storage module is configured to record the participant type of each participant;

会话控制模块, 用于控制多方通信会话, 在满足多方通信会话结束 条件时, 通知会话结束模块结束当前多方通信会话;  a session control module, configured to control a multiparty communication session, and notify the session end module to end the current multiparty communication session when the multiparty communication session end condition is met;

会话结束模块, 用于在接收到来自会话控制模块的结束多方通信会 话的通知后, 结束当前多方通信会话并释放所述参与方的会话资源; 所述参与方类型检测模块, 用于接收来自会话控制模块的检测请 求, 从参与方类型存储模块中获取已记录的参与方类型信息, 并根据该 参与方类型信息确定参与方的类型, 并将确定的参与方类型信息返回给 会话控制模块。  a session end module, configured to: after receiving the notification of ending the multiparty communication session from the session control module, ending the current multiparty communication session and releasing the session resources of the participant; the participant type detection module, configured to receive the session from the session The detection request of the control module acquires the recorded participant type information from the participant type storage module, and determines the type of the participant according to the participant type information, and returns the determined participant type information to the session control module.

所述服务器还包括: 用于判断服务器中是否存在并满足当前多方通 信会话结束附加条件的条件判断模块;  The server further includes: a condition determining module for determining whether the server exists and satisfies the current multi-party communication session ending condition;

所述会话控制模块, 确定当前满足多方通信会话结束条件后, 若接 收到来自条件判断模块的结束当前多方通信会话附加条件满足的信息, 则通知会话结束模块结束当前多方通信会话并释放所述参与方的会话 资源; 否则, 继续当前多方通信会话; The session control module determines, after the current multi-party communication session end condition is met, if the information that the current multi-party communication session attachment condition is satisfied from the condition determination module is received, notifying the session end module to end the current multi-party communication session and releasing the participation Party conversation Resources; otherwise, continue the current multiparty communication session;

所述条件判断模块, 用于判定当前存在且满足当前多方通信会话结 束附加条件时, 向会话控制模块发送结束当前多方通信会话附加条件满 足的信息; 或者判定当前存在且不满足当前多方通信会话结束附加条件 时, 向会话控制模块发送结束当前多方通信会话附加条件不满足的信 息。  The condition judging module is configured to send, to the session control module, information that ends the current multi-party communication session additional condition when the current condition exists and meets the current multi-party communication session end condition; or determines that the current multi-party communication session is not satisfied. When the condition is attached, information that the current multi-party communication session attachment condition is not satisfied is sent to the session control module.

所述多方通信会话结束条件为: 当前多方通信会话中参与方数目小 于或等于一、 或当前多方通信会话中参与方均为机器。  The multiparty communication session end condition is: the number of participants in the current multiparty communication session is less than or equal to one, or the participants in the current multiparty communication session are machines.

所述多方通信会话为蜂窝系统的 4嫩即说 PoC会话,所迷服务器为 PoC服务器;  The multi-party communication session is a PoC session of the cellular system, and the server is a PoC server;

或者, 所述多方通信会话为多方会议 Conference会话, 所述服务器 为 Conference月艮务器。  Alternatively, the multi-party communication session is a multi-party conference session, and the server is a conference server.

一种服务器, 包括会话建立模块、 会话结束模块、 会话控制模块, 该服务器还包括: 用于记录各参与方类型的数量的参与方数量记录模 块;  A server includes a session establishment module, a session termination module, and a session control module, and the server further includes: a participant quantity recording module for recording the number of each participant type;

所述会话建立模块, 用于建立多方通信会话, 识别参与方类型, 将 识别后的参与方类型发送给参与方类型存储模块, 并通知会话控制模块 会话建立结果信息;  The session establishing module is configured to establish a multi-party communication session, identify a participant type, send the identified participant type to the participant type storage module, and notify the session control module of the session establishment result information;

所述参与方数量记录模块, 用于接收来自会话建立模块的参与方类 型并对应该参与方类型记录该参与方的数量;  The participant quantity recording module is configured to receive a participant type from the session establishment module and record the number of the participant in the participant type type;

会话控制模块, 查询参与方类型记录模块中的参与方数量的信息, 确定满足多方通信会话结束条件后, 通知会话结束模块结束当前多方通 信会话;  The session control module queries the information of the number of participants in the participant type record module, determines that the end of the multi-party communication session is satisfied, and notifies the session end module to end the current multi-party communication session;

会话结束模块, 用于在接收到来自会话控制模块的结束多方通信会 话的通知后, 结束当前多方通信会话并释放所述参与方的会话资源。 所述月 务器还包括: 用于判断服务器中是否存在并满足当前多方通 信会话结束附加条件的条件判断模块; The session end module is configured to, after receiving the notification of ending the multi-party communication session from the session control module, end the current multi-party communication session and release the session resources of the participant. The server further includes: a condition determining module configured to determine whether the server exists and satisfies an additional condition of the current multiparty communication session end;

所述会话控制模块, 确定当前满足多方通信会话结束条件后, 若接 收到来自条件判断模块的结束当前多方通信会话附加条件满足的信息, 则通知会话结束模块结束当前多方通信会话并释放所述参与方的会话 资源; 否则, 继续当前多方通信会话;  The session control module determines, after the current multi-party communication session end condition is met, if the information that the current multi-party communication session attachment condition is satisfied from the condition determination module is received, notifying the session end module to end the current multi-party communication session and releasing the participation Party session resources; otherwise, continue the current multiparty communication session;

所述条件判断模块, 用于判定当前存在且满足当前多方通信会话结 束附加条件时, 向会话控制模块发送结束当前多方通信会话附加条件满 足的信息; 或者判定当前存在且不满足当前多方通信会话结束附加条件 时, 向会话控制模块发送结束当前多方通信会话附加条件不满足的信 所述多方通信会话结束条件为: 当前多方通信会话中参与方中非机 器参与方数量小于或等于预设结束数目。  The condition judging module is configured to send, to the session control module, information that ends the current multi-party communication session additional condition when the current condition exists and meets the current multi-party communication session end condition; or determines that the current multi-party communication session is not satisfied. When the condition is attached, the multi-party communication session end condition that the end of the current multi-party communication session additional condition is not satisfied is sent to the session control module: the number of non-machine participants in the current multi-party communication session is less than or equal to the preset end number.

所述多方通信会话为蜂窝系统的按键即说 PoC会话,所述服务器为 PoC服务器;  The multi-party communication session is a key of a cellular system, that is, a PoC session, and the server is a PoC server;

或者, 所述多方通信会话为多方会议 Conference会话, 所述服务器 为 Conference月良务器  Or the multi-party communication session is a multi-party conference session, and the server is a conference server.

由上述技术方案可见, 在多方通信会话中, 确定满足触发结束多方 通信会话处理条件后, 服务器判断是否满足预设人机交互的多方通信会 话结束条件, 若满足, 则结束当前多方通信会话, 并释放所迷参与方的 会话资源; 否则继续当前多方通信会话并等待满足所述触发结束多方通 信会话处理条件。本发明多方通信会话包括 PoC会话、 Conference会话等。  It can be seen from the foregoing technical solution that, in the multi-party communication session, after determining that the multi-party communication session processing condition that satisfies the preset human-machine interaction is satisfied, the server determines whether the multi-party communication session end condition of the preset human-machine interaction is satisfied, and if yes, ends the current multi-party communication session, and Release the session resources of the participant; otherwise continue the current multiparty communication session and wait for the trigger to end the multiparty communication session processing condition. The multiparty communication session of the present invention includes a PoC session, a conference session, and the like.

本发明服务器判断是否满足预设人机交互的多方通信会话结束条 件的方法可以是: 根据参与多方通信会话的参与方的类型标识, 区分多 方通信会话中参与方的类型, 并将参与方类型记录在服务器中。 这样, 当服务器中预设的参与方类型检测模块根据记录在服务器的参与方类 型检测到多方通信会话中的参与方均为机器时, 服务器判定满足所述多 方通信会话结束条件。 The method for determining, by the server of the present invention, whether the multi-party communication session end condition of the preset human-computer interaction is met may be: distinguishing the type of the participant in the multi-party communication session according to the type identifier of the participant participating in the multi-party communication session, and recording the participant type In the server. such, When the participant type detecting module preset in the server detects that the participants in the multiparty communication session are all machines according to the participant type recorded in the server, the server determines that the multiparty communication session end condition is satisfied.

本发明服务器判断是否满足预设人机交互的多方通信会话结束条 件的方法还可以是: 多方通信会话参与方数目大于一的情况下, 当服务 器中预设的参与方类型检测模块根据记录在服务器的参与方类型检测 到多方通信会话中的参与方只有一个为非机器参与方时, 服务器判定满 足所述多方通信会话结束条件。  The method for determining, by the server of the present invention, whether the multi-party communication session end condition of the preset human-computer interaction is satisfied may be: when the number of the multi-party communication session participants is greater than one, when the preset participant type detection module in the server is recorded on the server according to the The participant type detects that only one of the participants in the multiparty communication session is a non-machine participant, and the server determines that the multiparty communication session end condition is satisfied.

本发明服务器判断是否满足预设人机交互的多方通信会话结束条 件的方法也可以是: 假设在服务器记录多方通信会话参与方的参与方类 型时, 同时记录下参与方类型为非机器的非机器参与方数量, 并预设结 束数目。 服务器根据所述记录下的参与方类型为非机器的数量判断当前 非机器参与方数量是否小于或等于服务器预设结束数目, 若是, 则判定 满足所述多方通信会话结束条件。 本发明多方通信会话的服务器包括 The method for determining whether the server meets the termination condition of the multi-party communication session of the preset human-computer interaction may also be: Suppose that when the server records the participant type of the multi-party communication session participant, the non-machine whose participant type is non-machine is also recorded. The number of participants, and the number of presets. The server determines whether the current number of non-machine participants is less than or equal to the server preset end number according to the number of participants in the recorded non-machine type, and if so, determines that the multi-party communication session end condition is satisfied. The server of the multi-party communication session of the present invention includes

PoC服务器、 Conference服务器等。 PoC server, Conference server, etc.

本发明的在多方通信会话中只存在机器参与方时结束多方通信会 话的方法, 可以单独使用, 也可以与已有结束多方通信会话的方法如会 话释放策略结合使用。  The method of the present invention for ending a multiparty communication session when only a machine participant exists in a multiparty communication session may be used alone or in combination with a method of ending a multiparty communication session such as a session release policy.

本发明方法及服务器避免了没有人参与的不合理的多方通信会话 状态, 合理地结束多方通信会话, 同时有效避免了多方通信系统资源的 浪费。 附图简要说明  The method and server of the invention avoid the unreasonable multi-party communication session state without human participation, reasonably end the multi-party communication session, and effectively avoid waste of resources of the multi-party communication system. BRIEF DESCRIPTION OF THE DRAWINGS

图 la是本发明 PoC会话系统中 PoC服务器的一种组成示意图; 图 lb是本发明 PoC会话系统中 PoC服务器的另一种组成示意图; 图 2是本发明 PoC会话系统中结束 PoC会话的一实施例流程图; 图 3是本发明 PoC会话系统中结束 PoC会话的另一实施例流程图。 实施本发明的方式 Figure la is a schematic diagram of a composition of a PoC server in the PoC session system of the present invention; Figure lb is a schematic diagram of another composition of a PoC server in the PoC session system of the present invention; 2 is a flow chart of an embodiment of ending a PoC session in the PoC session system of the present invention; FIG. 3 is a flow chart of another embodiment of terminating a PoC session in the PoC session system of the present invention. Mode for carrying out the invention

本发明的核心思想是: 在多方通信会话中, 确定满足触发结束多方 通信会话处理条件后, 服务器判断是否满足预设人机交互的多方通信会 话结束条件, 若满足, 则结束当前多方通信会话, 并释放所述参与方的 会话资源; 否则继续当前多方通信会话并等待满足所述触发结束多方通 信会话处理条件。 本发明多方通信会话的服务器包括 PoC服务器、 Conference服务器等。  The core idea of the present invention is: in a multi-party communication session, determining that the server determines whether the multi-party communication session end condition of the preset human-machine interaction is satisfied after the triggering of the multi-party communication session processing condition is ended, and if yes, ending the current multi-party communication session, And releasing the session resources of the participant; otherwise, continuing the current multi-party communication session and waiting for the trigger to end the multi-party communication session processing condition. The server of the multiparty communication session of the present invention includes a PoC server, a Conference server, and the like.

本发明保证了合理地结束多方通信会话, 同时节约了多方通信会话 系统资源。  The present invention ensures a reasonable termination of the multiparty communication session while saving resources of the multiparty communication session system.

为使本发明的目的、技术方案及优点更加清楚明白,以下参照附图, 以 PoC会话及 PoC会话系统中的 PoC服务器为例并举较佳实施例, 对 本发明进一步详细说明。  In order to make the objects, technical solutions and advantages of the present invention more clear, the present invention will be further described in detail below with reference to the accompanying drawings, the PoC server in the PoC session and the PoC session system, and the preferred embodiment.

图 la是本发明 PoC会话系统中 PoC服务器的一种组成示意图, 如 图 la所示, 为了实现本发明方法, PoC服务器除了包括用于建立 PoC 会话的 PoC会话建立模块、 用于结束 PoC会话的 PoC会话结束模块、 用于控制 PoC会话的 PoC会话控制模块之外, 还包括: 用于识别 PoC 会话参与方的参与方类型的参与方类型检测模块和用于存储参与方类 型的参与方类型存储模块;  Figure la is a schematic diagram of a PoC server in the PoC session system of the present invention. As shown in Figure la, in order to implement the method of the present invention, the PoC server includes a PoC session establishing module for establishing a PoC session and a PoC session for ending the PoC session. The PoC session end module and the PoC session control module for controlling the PoC session further include: a participant type detection module for identifying a participant type of the PoC session participant and a participant type storage for storing the participant type. Module

其中, PoC会话建立模块用于接收建立 PoC会话请求, 记录各参与 方的参与方类型, 控制建立 PoC会话并识別参与方类型, 将所识别的参 与方类型传送给参与方类型存储模块,并通知 PoC会话控制模块会话建 立结果信息; 参与方类型存储模块, 用于记录识别后各参与方的参与方类型;The PoC session establishing module is configured to receive a PoC session request, record the participant type of each participant, control the establishment of the PoC session, identify the participant type, and transmit the identified participant type to the participant type storage module, and Notifying the PoC session control module of the session establishment result information; Participant type storage module, used to record the type of participants of each participant after identification;

PoC会话控制模块, 用于满足触发结束 PoC会话处理条件时, 根据 自身已存储的群组信息确定存在于当前 PoC会话中的参与方数目小于 或等于一后, 通知 PoC会话结束模块结束当前 PoC会话; 或者,接收来 自参与方类型检测模块返回的参与方类型的信息,确定当前 PoC会话中 所述参与方均为机器后, 通知 PoC会话结束模块结束当前 PoC会话;The PoC session control module is configured to notify the PoC session end module to end the current PoC session after determining that the number of participants existing in the current PoC session is less than or equal to one according to the group information stored by the PoC session. Or receiving information from the participant type returned by the participant type detecting module, determining that the participant in the current PoC session is a machine, and notifying the PoC session ending module to end the current PoC session;

PoC会话结束模块, 用于在接收到来自 PoC会话控制模块的结束 PoC会话的通知后, 结束当前 PoC会话并释放所述参与方的会话资源; 参与方类型检测模块, 用于接收来自 PoC会话控制模块的检测请 求, 从参与方类型存储模块中获取已记录的参与方类型信息确定参与方 的类型, 并根据该参与方类型信息确定的参与方类型, 并将确定的参与 方类型信息返回给 PoC会话控制模块。 a PoC session end module, configured to: after receiving the notification of the end PoC session from the PoC session control module, end the current PoC session and release the session resources of the participant; the participant type detection module, configured to receive the control from the PoC session The module's detection request acquires the recorded participant type information from the participant type storage module, determines the type of the participant, and determines the participant type according to the participant type information, and returns the determined participant type information to the PoC. Session control module.

另夕卜, PoC服务器还可以包括: 用于判断 PoC服务器中是否存在并 满足当前 PoC会话结束附加条件的条件判断模块;  In addition, the PoC server may further include: a condition determining module configured to determine whether the PoC server exists and satisfies an additional condition of the current PoC session end;

'在 PoC会话控制模块确定当前 PoC会话中的参与方数目小于或等于 一, 或者确定当前 PoC会话中所述参与方均为机器后, 通知条件判断模 块进行判断操作,并在 PoC会话处理模块接收到来自条件判断模块的当 前 PoC会话结束附加条件满足的信息后 ,通知 PoC会话结束模块结束当 前 PoC会话并释放所述参与方的会话资源;或者在 PoC会话处理模块接 收到来自条件判断模块的当前 PoC会话结束附加条件不满足的信息后, 继续当前 PoC会话。  After the PoC session control module determines that the number of participants in the current PoC session is less than or equal to one, or determines that the participants in the current PoC session are all machines, the notification condition determination module performs a judgment operation and receives the PoC session processing module. After the current PoC session end conditional information from the condition judging module is satisfied, the PoC session end module is notified to end the current PoC session and release the session resources of the participant; or the PoC session processing module receives the current condition from the condition judging module. After the PoC session ends the information that the condition is not satisfied, the current PoC session is continued.

条件判断模块,用于判定当前存在且满足当前 PoC会话结束附加条 件时,向 PoC会话控制模块发送结束当前 PoC会话附加条件满足的信息; 或者判定当前存在且不满足当前 PoC会话结束附加条件时,向 PoC会话 控制模块发送结束当前 PoC会话附加条件不满足的信息。 除此之外, 为了实现本发明方法, PoC服务器还可以如图 lb所示, 图 lb是本发明 PoC会话系统中的 PoC服务器的另一种组成示意图: 除 了包括用于建立和识别参与方类型的 PoC会话建立模块、用于结束 PoC 会话的 PoC会话结束模块、 用于控制 PoC会话的 PoC会话控制模块, 还包括: 用于记录各参与方类型的数量的参与方数量记录模块; a condition judging module, configured to: when the current PoC session end condition is satisfied, is sent to the PoC session control module, and the current PoC session end condition is satisfied, or the current PoC session end condition is not satisfied, Sending information to the PoC session control module that the current PoC session attachment condition is not satisfied. In addition, in order to implement the method of the present invention, the PoC server may also be as shown in FIG. 1b, and FIG. 1b is another schematic diagram of the composition of the PoC server in the PoC session system of the present invention: in addition to including for establishing and identifying the participant type. a PoC session establishing module, a PoC session ending module for ending a PoC session, and a PoC session control module for controlling a PoC session, further comprising: a participant number recording module for recording the number of each participant type;

其中, PoC会话建立模块, 用于接收建立 PoC会话请求, 建立 PoC 会话并识别参与方类型;或接收到 PoC会话中的类型通知消息识別参与 方类型,将所识别的参与方类型传送给参与方类型记录模块,并通知 PoC 会话控制模块会话建立结果信息;  The PoC session establishing module is configured to receive a PoC session request, establish a PoC session, and identify a participant type, or receive a type notification message in the PoC session to identify a participant type, and transmit the identified participant type to the participant. The party type recording module notifies the PoC session control module session establishment result information;

参与方数量记录模块,用于接收来自 PoC会话建立模块的参与方类 型并对应该参与方类型记录该参与方的数量;  a participant quantity recording module for receiving a participant type from the PoC session establishment module and recording the number of participants of the participant type type;

PoC会话控制模块, 查询参与方类型记录模块中的参与方数量的信 息,确定当前 PoC会话中所述参与方中非机器参与方数量小于或等于预 设结束数目后, '通知 PoC会话结束模块结束当前 PoC会话;  The PoC session control module queries the information of the number of participants in the participant type record module, and determines that the number of non-machine participants in the participant in the current PoC session is less than or equal to the preset number of ends, and the notification PoC session end module ends. Current PoC session;

PoC会话结束模块, 用于在接收到来自 PoC会话控制模块的结束 PoC会话的通知后, 结束当前 PoC会话并释放所述参与方的会话资源。  The PoC session end module is configured to, after receiving the notification of the end PoC session from the PoC session control module, end the current PoC session and release the session resources of the participant.

需要说明的是, 图 la和图 lb示出的 PoC服务器组成模块仅仅是与 本发明相关的模块, 而 PoC服务器的其它现有模块未在图 la和图 lb中 示出。  It should be noted that the PoC server component modules shown in Figures la and lb are only modules related to the present invention, and other existing modules of the PoC server are not shown in Figures la and lb.

与 PoC 服务器相应的, 当服务器为 Conference 服务器时, 该 Conference服务器除了包括 Conference会话建立模块、 Conference会话 控制模块、 Conference会话控制模块, 还包括参与方类型检测模块和参 与方类型存储模块。 还进一步包括: 条件判断模块。 Conference服务器 中各模块的功能与 PoC 中的相应模块功能一致, 只是名称的不同。 Conference服务器同样有图 la和图 lb两种组成方式, 这里不再详述。 在描述本发明结束 PoC会话的方法之前,简单描述建立 PoC会话的 过程如下: Corresponding to the PoC server, when the server is a conference server, the conference server includes a conference session establishment module, a conference session control module, and a conference session control module, and includes a participant type detection module and a participant type storage module. Still further includes: a condition determination module. The functions of each module in the Conference server are the same as those of the corresponding modules in the PoC, except for the names. The Conference server also has two forms of diagrams la and lb, which will not be described in detail here. Before describing the method of ending the PoC session of the present invention, the process of establishing a PoC session is briefly described as follows:

为了建立 PoC会话,某参与方会作为会话发起方向 PoC服务器发送 会话请求消息, 比如会话建立请求(INVITE ), INVITE请求中包括该参 与方的相关信息, 被邀请加入本次 PoC会话的其他参与方信息等, 若被 邀请的参与方能够正常加入会话, 一般会通过 PoC服务器向发起本次 PoC会话的参与方发送确认消息, 比如 200OK响应消息。 PoC服务器将 参与 PoC会话的各方用户信息存储在本地,并对已建立的 PoC会话进行 管理和控制。.建立 PoC会话的具体实现过程可参见相关 PoC会话相关规 范, 这里不再重述。  In order to establish a PoC session, a participant sends a session request message to the PoC server as a session initiation direction, such as a session establishment request (INVITE). The INVITE request includes related information of the participant, and is invited to join other participants of the PoC session. Information, etc., if the invited party can join the session normally, the acknowledgment message, such as a 200 OK response message, is sent to the participant who initiated the current PoC session through the PoC server. The PoC server stores the information of all parties participating in the PoC session locally, and manages and controls the established PoC session. The specific implementation process of establishing a PoC session can be found in the related PoC session related specifications, and will not be repeated here.

需要强调的是, 参与方在会话初始化协议(SIP )消息中携带表示机 器的类型标识, PoC服务器根据该机器的类型标识的取值判断被邀请的 参与方是机 ϋ还是非机器,若表示机器的类型标识的取值为真即 TURE, 即指示参与方类型为机器类型, 则判定被邀请的参与方是机器; 若表示 机器的类型标识的取值为假即 FALSE, 即指示参与方类型为非机器类 型, 则判定被邀请的参与方是非机器。 当被邀请的参与方是机器时, 该 机器在 SIP消息,如 200OK响应消息中会携带用于表示自身是机器的类 型标识, 该类型标识可存储在 200OK响应消息的已有 Contact字段中, 比如在 Contact字段中有 automata或者 PoC Box字段取值为 TRUE, 则 表示该 SIP消息的发出方是机器。 这里需要说明的是, 表示参与方是否 是机器参与方的类型标识可以不止一种, 如 recorder 表示录音机, Automata表示自动应答机, PoC Box表示 PoC业务录音设备等。  It should be emphasized that the participant carries a type identifier indicating the machine in the Session Initiation Protocol (SIP) message, and the PoC server determines whether the invited party is a machine or not, according to the value of the type identifier of the machine, if the machine is represented. The value of the type identifier is true, that is, TURE, that is, indicating that the participant type is machine type, then the invited party is determined to be a machine; if the value of the type identifier of the machine is false, that is, FALSE, indicating that the participant type is For non-machine types, it is determined that the invited party is a non-machine. When the invited party is a machine, the machine carries a type identifier for indicating that it is a machine in a SIP message, such as a 200 OK response message, and the type identifier may be stored in an existing Contact field of the 200 OK response message, such as If the automata or PoC Box field in the Contact field is TRUE, it means that the sender of the SIP message is a machine. It should be noted here that there may be more than one type of identifier indicating whether the participant is a machine participant, such as recorder for recorder, Automata for auto answering machine, PoC Box for PoC service recording device, etc.

PoC服务器接收到 200OK响应消息后, 根据该 200OK响应消息中 携带的表示机器的类型标识的取值为真, 即 TRUE, 则判定被邀请的参 与方是机器, 并将该被邀请的参与方的参与方类型与该机器的其它用户 信息对应存储在 PoC服务器中; 当会话发起方为机器时, 比如该机器被 定时在某个时刻向 PoC服务器发起 INVITE请求, 此时, 在 INVITE请 求中会携带用于表示自身是机器的类型标识, 该类型标识可存储在 INVITE请求的已有 Contact字段中, PoC服务器接收到 INVITE请求后, 根据该 INVITE请求中携带的表示机器的类型标识的取值为真, 即 TRUE, 则判定会话发起方是机器, 并将该会话发起方的参与方类型与 该机器的其它用户信息对应存储在 PoC服务器中; 当会话发起方或被邀 请参与方为非机器时, PoC服务器接收到 INVITE请求或 200OK响应消 息后,根据该 INVITE请求或 200OK响应消息中携带表示参与方类型的 标识的取值为假, 即 false, 判定会话发起方或被邀请参与方是非机器, 并将该会话发起方或被邀请参与方的参与方类型与该非机器的其它用 户信息对应存储在 PoC服务器中。 After receiving the 200 OK response message, the PoC server determines that the invited participant is a machine according to the value of the type identifier indicating the machine carried in the 200 OK response message, that is, TRUE, and the invited participant is Participant type with other users of the machine The information is correspondingly stored in the PoC server. When the session initiator is a machine, for example, the machine is scheduled to initiate an INVITE request to the PoC server at a certain time. At this time, the INVITE request carries a type identifier indicating that it is a machine. The type identifier can be stored in the existing Contact field of the INVITE request. After receiving the INVITE request, the PoC server determines the session initiator according to the value of the type identifier indicating the machine carried in the INVITE request, that is, TRUE. Is a machine, and stores the participant type of the session initiator with other user information of the machine in the PoC server; when the session initiator or the invited party is non-machine, the PoC server receives the INVITE request or the 200 OK response After the message, according to the INVITE request or the 200 OK response message carrying the identifier indicating the type of the participant, the value of the identifier is false, that is, false, and the session initiator or the invited party is determined to be non-machine, and the session initiator or the invited party is invited to participate. The participant type of the party is stored in the PoC server corresponding to the other user information of the non-machine.

比如某非机器参与方发起 PoC会话并邀请某机器加入到会话中, 实 现过程包括: 该非机器参与方向 PoC服务器发起 INVITE请求, 因为发 起 PoC会话'的发起方为非机器, 所以 INVITE请求中可以携带的类型标 识的取值为 false, 即表示该会话参与方为非机器;控制会话的 PoC服务 器收到 INVITE消息后,对会话发起方进行身份确认, 同时根据 INVITE 请求中携带的类型标识的取值判断该参与方的参与方类型为非机器, 并 将该会话发起方的参与方类型与该会话发起方的相关信息对应记录在 PoC 服务器中。 按照 PoC 会话相关规范规定的 PoC会话建立过程, INVITE请求通过用于控制和管理会话的 PoC服务器发送到被邀请方; 作为被邀请方的机器,接收到 INVITE请求消息后, 在返回的 200OK响 应消息的 Contact字段中携带取值为 ture的类型标识, PoC服务器接收 到该 PoC设备终端的 200OK响应消息后, 根据 200OK响应消息中携带 的类型标识的取值判定该参与方的参与方类型为机器, 并在本地与该被 邀请方的相关信息对应地记录该被邀请方的参与方类型。 For example, a non-machine participant initiates a PoC session and invites a machine to join the session. The implementation process includes: the non-machine participation direction PoC server initiates an INVITE request, because the initiator of the originating PoC session is non-machine, so the INVITE request can be The value of the carried type identifier is false, which means that the session participant is non-machine; after receiving the INVITE message, the PoC server controlling the session authenticates the session initiator, and according to the type identifier carried in the INVITE request The value determines that the participant type of the participant is non-machine, and records the participant type of the session initiator and the related information of the session initiator in the PoC server. According to the PoC session establishment procedure specified by the PoC session related specification, the INVITE request is sent to the invitee through the PoC server for controlling and managing the session; as the machine of the invitee, after receiving the INVITE request message, the returned 200 OK response message The contact field carries the type identifier of the value of the ture. After receiving the 200 OK response message of the PoC device terminal, the PoC server determines that the participant type of the participant is a machine according to the value of the type identifier carried in the 200 OK response message. And locally with the be The relevant information of the inviter correspondingly records the type of the party of the invited party.

至此,在建立 PoC会话时,本发明将参与 PoC会话的各参与方的参 与方类型记录在 PoC服务器中。  So far, when establishing a PoC session, the present invention records the participant types of the participating parties participating in the PoC session in the PoC server.

需要说明的是,如果参与方请求建立 POC会话的消息中没有携带表 示机器的类型标识, POC服务器可以根据运营商的策略或者缺省值所规 定的参与方的类型, 判定该参与方是机器还是非机器。  It should be noted that, if the message that the participant requests to establish a POC session does not carry the type identifier indicating the machine, the POC server may determine whether the participant is a machine according to the type of the participant specified by the operator's policy or default value. Not machine.

图 2是本发明 PoC会话系统中结束 PoC会话的一实施例流程图,假 设 PoC服务器根据会话参与方的数目和参与方的类型来决定是否要结 束当前会话,并且 PoC服务器中设置了用于识别 PoC会话参与方的参与 方类型的参与方类型检测模块, 参与 PoC会话的各参与方已建立 PoC 会话并处于 PoC会话中, 本发明所述结束 PoC会话具体包括以下步骤: 步骤 200 ~步骤 201: 当前 PoC会话进行中, PoC服务器判断是否 满足触发结束 PoC会话处理条件, 若不满足, 则返回步骤 200; 否则, 进入步驟 202。  2 is a flowchart of an embodiment of ending a PoC session in the PoC session system of the present invention. It is assumed that the PoC server determines whether to end the current session according to the number of session participants and the type of the participant, and the PoC server is configured to identify The participant type detecting module of the participant type of the PoC session participant, the participants in the PoC session have established a PoC session and are in the PoC session. The ending the PoC session in the present invention specifically includes the following steps: Step 200 ~ Step 201: When the current PoC session is in progress, the PoC server determines whether the triggering end PoC session processing condition is met. If not, the process returns to step 200; otherwise, the process proceeds to step 202.

触发 PoC会话处理条件的设置可以由运营商在 PoC服务器中设置, 可以是 PoC会话的参与方发生变化, 比如有参与方退出当前 PoC会话、 或参与方的类型发生变化, 比如从机器切换至非机器或从非机器切换至 机器等; 也 以是定时触发 PoC会话处理流程等等。  The setting of the processing condition for triggering the PoC session may be set by the operator in the PoC server, and may be changed by the participant of the PoC session, for example, the participant withdraws from the current PoC session, or the type of the participant changes, such as switching from the machine to the non-party. The machine switches from non-machine to machine, etc.; it also triggers the PoC session processing flow and so on.

步骤 202: PoC服务器判断存在于当前 PoC会话中的参与方数目是 否小于或等于一, 若是, 则进入步驟 204; 否则, 进入步骤 203。  Step 202: The PoC server determines whether the number of participants existing in the current PoC session is less than or equal to one, and if yes, proceeds to step 204; otherwise, proceeds to step 203.

PoC服务器具有 PoC会话处理功能, 因此 PoC服务器能够根据已 存储在 PoC服务器的参与 PoC会话的各参与方组成的群组信息,判断存 在于当前 PoC会话中的参与方数目是否小于或等于一,若群组信息中没 有用户或只有一个用户,则 PoC服务器判定当前 PoC会话中的参与方数 目小于或等于一; 若群组信息中不止一个用户, 则 PoC服务器判定当前 PoC会话中的参与方数目大于一。 具体实现可参见 PoC会话相关规范, 这里不再重述。 The PoC server has a PoC session processing function, so the PoC server can determine whether the number of participants existing in the current PoC session is less than or equal to one according to the group information of the participating parties that have been stored in the PoC server. If there is no user or only one user in the group information, the PoC server determines that the number of participants in the current PoC session is less than or equal to one; if there is more than one user in the group information, the PoC server determines the current The number of participants in a PoC session is greater than one. For details, refer to the PoC session related specifications, which are not repeated here.

本步骤中,如果 PoC会话参与方只剩下一位,则不论该参与方是非 机器, 或是机器; 或者没有参与方存在, PoC服务器都将进入步骤 204。 如果剩下的 PoC会话参与方不止一个,则 PoC服务器进入步驟 203做进 一步判断。  In this step, if there is only one bit left in the PoC session participant, the PoC server will proceed to step 204 whether the party is a non-machine or a machine; or if no party exists. If there are more than one remaining PoC session participants, the PoC server proceeds to step 203 for further determination.

步骤 203: PoC服务器判断 PoC会话的参与方是否均为机器,若是, 则进入步骤 204; 否则, 返回步骤 200。  Step 203: The PoC server determines whether the participants of the PoC session are all machines, and if yes, proceeds to step 204; otherwise, returns to step 200.

PoC服务器中的参与方类型检测模块根据记录在本地的信息对当 前 PoC会话中的参与方进行判断,若各参与方的信息中的参与方类型均 显示参与方为机器的类型,则 PoC服务器判定此时 PoC会话的参与方均 为机器; 否则, 判定此时 PoC会话的参与方不全为机器, 继续本次 PoC 会话。  The participant type detecting module in the PoC server judges the participants in the current PoC session according to the information recorded locally. If the participant type in the information of each participant shows that the participant is a machine type, the PoC server determines At this point, the participants of the PoC session are all machines; otherwise, it is determined that the participants of the PoC session are not all machines at this time, and the PoC session is continued.

这里需要说明的是,步骤 202和步驟 203的执行可以不分先后顺序。 步骤 204: PoC服务器结束当前 PoC会话并释放各参与方的会话资 源。 .  It should be noted here that the execution of step 202 and step 203 may be performed in no particular order. Step 204: The PoC server ends the current PoC session and releases the session resources of each participant. .

PoC服务器向各参与方发送结束会话消息, 比如 BYE消息, 结束 当前 PoC会话并释放各参与方的会话资源。  The PoC server sends an end session message to each participant, such as a BYE message, ending the current PoC session and releasing the session resources of each participant.

需要说明的是,如果在 PoC会话中,某非机器参与方将自身切换为 机器, 或某机器参与方被切换为非机器, 切换至的参与方均会将自身参 与方类型通过类型通知消息, 如 SIP消息, 如 INVITE消息、 200OK响 应消息等通知 PoC服务器, 具体实现可参见现有相关规范, 这里不再重 述。  It should be noted that if a non-machine participant switches itself to a machine in a PoC session, or a machine participant is switched to a non-machine, the party to which the switch is switched will pass the type notification message of the participant type. For example, a SIP message, such as an INVITE message, a 200 OK response message, etc., may be used to notify the PoC server. For the specific implementation, refer to the existing related specifications, and details are not repeated herein.

另外, 需要说明的是, 如果允许在建立 PoC会话之前, 参与方或 PoC服务器管理员或运营商在 PoC服务器配置当前 PoC会话结束附加条 件, 在 PoC服务器向各参与方发送结束会话消息之前, 该方法还包括: 步骤 2031: PoC服务器判断是否预设了当前 PoC会话结束附加条 件, 若未预设, 则进入步骤 204; 否则, 进入步骤 2032。 In addition, it should be noted that, if the participant or the PoC server administrator or the operator is allowed to configure the current PoC session end additional bar on the PoC server before establishing the PoC session, Before the PoC server sends the end session message to each participant, the method further includes: Step 2031: The PoC server determines whether the current PoC session end attachment condition is preset. If not, the process proceeds to step 204; otherwise, Step 2032.

步骤 2032: PoC服务器判断是否满足该预设当前 PoC会话结束附 加条件, 若不满足, 则返回步骤 200; 若满足, 则进入步骤 204。  Step 2032: The PoC server determines whether the preset current PoC session end condition is met. If not, the process returns to step 200. If yes, the process proceeds to step 204.

除了在建立 PoC会话之前, 在 PoC服务器配置当前 PoC会话结束 附加条件之外,在当前 PoC会话中,参与方可以通过将当前 PoC会话结 束附加条件携带在已有用户用于向 PoC服务器发送设置信息的消息中 发送给 PoC服务器。这里,用户用于向 PoC服务器发送设置信息的消息 可以是 SIP消息,比如: PUBLISH消息,或 INVITE消息,或 Re-INVITE 消息, 或 UPDATE消息, 或 SUBSCRIBE消息, 或 REGISTER消息等。  In addition to configuring the current PoC session end attachment condition in the PoC server before establishing the PoC session, in the current PoC session, the participant may carry the current PoC session end attachment condition to the existing user for sending the setup information to the PoC server. The message is sent to the PoC server. Here, the message used by the user to send the setting information to the PoC server may be a SIP message, such as: a PUBLISH message, or an INVITE message, or a Re-INVITE message, or an UPDATE message, or a SUBSCRIBE message, or a REGISTER message.

在 PoC服务器中预设的当前 PoC会话结束附加条件有:参与方加入 或返回 PoC会话的等待时间长度、定时结束 PoC会话、某参与方退出会 话则结束 PoC会话等等。 比如: 某非机器参与方预设了加入或返回 PoC 会话的等待时间长度, 即当 PoC服务器判定结束当前 PoC会话时,需要 PoC服务器等待设定的时间长度, 若在所设时间长度内, 该非机器参与 方加入或返回了当前 PoC会话, 则 PoC服务器判定不满足该预设当前 PoC会话结束条件; 若在所设时间长度内, 该非机器参与方仍未加入或 返回当前 PoC会话, 则 PoC服务器判定满足该预设当前 PoC会话结束 附加条件。 另外, 定时结束 PoC会话、 某参与方退出会话则结束 PoC 会话的条件的实现与上述方法类似, 这里不再详细描述。  The current PoC session end preconditions preset in the PoC server include: the length of the waiting time for the participant to join or return the PoC session, the end of the PoC session, the end of the PoC session by a participant, and the end of the PoC session. For example, a non-machine participant presets the waiting time for joining or returning to a PoC session. That is, when the PoC server determines to end the current PoC session, the PoC server needs to wait for a set length of time. If the non-machine participant joins or returns the current PoC session, the PoC server determines that the preset current PoC session end condition is not satisfied; if the non-machine participant has not joined or returned the current PoC session within the set time length, The PoC server determines that the preset current PoC session end attachment condition is satisfied. In addition, the implementation of the condition for ending the PoC session and ending the PoC session by a participant to exit the session is similar to the above method, and will not be described in detail herein.

从上述本发明结束 PoC会话的方法容易看出,本发明方法通过参与 PoC会话的机器的类型标识,区分参与 PoC会话的机器和非机器的类型, 并将参与方的参与方类型记录在 PoC服务器中。 在多个参与方存在于 It is easy to see from the above method for ending the PoC session of the present invention that the method of the present invention distinguishes the types of machines and non-machines participating in the PoC session by the type identification of the machines participating in the PoC session, and records the participant type of the participant in the PoC server. in. Exist in multiple participants

PoC会话中的情况下, 当 PoC服务器中预设的参与方类型检测模块根据 记录在 PoC服务器的各参与方的参与方类型检测到参与方均为机器时, PoC服务器向各参与方发出结束 PoC会话消息,结束当前 PoC会话并释 放各参与方的会话资源后。该方法避免了没有人参与的不合理的 PoC会 话状态,合理地结束 PoC会话, 同时有效地避免了 PoC系统的会话资源 的浪费。 In the case of a PoC session, when the participant type detection module preset in the PoC server is based on When the participant type of each participant in the PoC server detects that the participants are all machines, the PoC server sends a message to the participants to end the PoC session, and ends the current PoC session and releases the session resources of each participant. The method avoids the unreasonable PoC session state in which no one participates, and reasonably ends the PoC session, and effectively avoids the waste of the session resources of the PoC system.

图 2所示的流程图中, 将步骤 200 ~步骤 201中的进入步骤 202改 为进入步骤 203 , 这样同样能达到本发明目的, 成为本发明结束 PoC会 话的另一方法。  In the flowchart shown in Fig. 2, the entry step 202 in steps 200 to 201 is changed to the step 203, so that the object of the present invention can be achieved as another method for ending the PoC session of the present invention.

图 3是冬发明 PoC会话系统中结束 PoC会话的另一实施例流程图, 在 PoC会话中, 假设在 PoC服务器记录 PoC会话参与方的参与方类型 时, 同时记录下参与方类型为非机器的非机器参与方数量, 并预设结束 数目。 PoC服务器判定满足触发结束 PoC会话处理条件后, 该方法包括 以下两个步- : 量判断当前非机器参与方数量是否小于或等于 PoC服务器预设结束数 目, 若是, 则进入步骤 301 ; 否则, 继续当前 PoC会话并等待所述触发 结束 PoC会话处理条件满足后返回步骤 300;  3 is a flow chart of another embodiment of ending a PoC session in a winter invented PoC session system. In a PoC session, it is assumed that when the PoC server records the participant type of the PoC session participant, the participant type is also recorded as non-machine. The number of non-machine participants, and the number of preset ends. After the PoC server determines that the processing condition of the triggering end PoC session is satisfied, the method includes the following two steps:: determining whether the current number of non-machine participants is less than or equal to the preset number of endings of the PoC server, and if yes, proceeding to step 301; otherwise, continuing After the current PoC session and waiting for the trigger to end the PoC session processing condition is satisfied, returning to step 300;

步骤 301 : PoC服务器结束当前 PoC会话, 并释放所述参与方的会 话资源  Step 301: The PoC server ends the current PoC session, and releases the session resources of the participant.

所述预设结束数目可由运营商、 PoC会话的发起者、 管理员或者经 管理员授权的可认证的用户决定, 比如该结束数目预设为一。  The preset number of terminations may be determined by an operator, an initiator of a PoC session, an administrator, or an Authenticated User authorized by an administrator, for example, the number of terminations is preset to one.

在上述 PoC服务器判定当前 PoC会话中非机器参与方数量小于或等 于预设结束数目之后, 进入步骤 301之前, 该方法还可以包括: PoC月良 务器进一步判断当前 PoC会话中的机器参与方是否是智能机器 ,如智能 计算机等, 如有, 则返回步骤 300, 否则, 进入步骤 301。 这里智能机器是指该机器能与非机器参与方如人进行交互的机器, 比如智能计算机、 内容服务器等。 After the PoC server determines that the number of non-machine participants in the current PoC session is less than or equal to the preset number of ends, before the step 301, the method may further include: the PoC server further determining whether the machine participant in the current PoC session is It is a smart machine, such as a smart computer, and if so, returns to step 300, otherwise, proceeds to step 301. Here, a smart machine refers to a machine that can interact with non-machine participants such as a smart computer, a content server, and the like.

PoC服务器判断当前 PoC会话中的机器参与方是否为智能机器,可 以通过会话中的机器参与方的进一步附加功能标识来判断。 比如可以在 PoC会话中记录用于表示机器参与方功能的功能标识, 这样可以通过机 器参与方的功能标识判断机器参与方是智能机器, 还是非智能机器, 比 如功能标识显示所对应的机器参与方为智能机器,则 PoC服务器判定该 机器参与方为智能机器; 功能标识显示所对应的机器参与方为非智能机 器, 则 PoC服务器判定该机器参与方为非智能机器。  The PoC server determines whether the machine participant in the current PoC session is an intelligent machine, and can be judged by the further additional function identification of the machine participant in the session. For example, a function identifier for indicating the function of the machine participant can be recorded in the PoC session, so that whether the machine participant is a smart machine or a non-intelligent machine, such as a machine participant corresponding to the function identification display, can be determined by the function identifier of the machine participant. In the case of a smart machine, the PoC server determines that the machine participant is an intelligent machine; the function identifier indicates that the corresponding machine participant is a non-intelligent machine, and the PoC server determines that the machine participant is a non-intelligent machine.

此时, 如果允许在建立 PoC会话之前, 参与方或 PoC服务器管理 员或运营商在 PoC服务器配置当前 PoC会话结束附加条件, 在 PoC服 务器向各参与方发送结束会话消息.之前, PoC服务器判断是否预设了当 前 PoC会话结束附加奈件, 若未预设, 则进入步骤 301 ; 否则, PoC服 务器进一步判断是否满足该预设当前 PoC会话结束附加条件, 若不满 足, 则返回步骤 300; 若满足, 则进入步骤 301。  At this time, if the participant or the PoC server administrator or the operator is allowed to configure the current PoC session end attachment condition on the PoC server before the PoC session is established, the PoC server determines whether the PoC server sends the end session message to each participant before the PoC server establishes the PoC server. The preset PoC session end is preset, if not preset, the process proceeds to step 301; otherwise, the PoC server further determines whether the preset current PoC session end condition is satisfied, and if not, returns to step 300; Then, the process proceeds to step 301.

上述实施例中是本发明三种结束 PoC会话的具体实施例,流程进入 步骤 204或步骤 301说明当前满足所述 PoC会话结束条件;否则说明当 前不满足所述 PoC会话结束条件。  The foregoing embodiment is a specific embodiment of the three types of ending PoC sessions of the present invention. The process proceeds to step 204 or step 301 to indicate that the PoC session end condition is currently met; otherwise, the PoC session end condition is not met currently.

需要说明的是, 本发明在 PoC会话中只存在机器参与方时、 或参与 方类型为非机器的数量小于或等于 PoC服务器预设结束数目时, 结束 PoC会话的方法, 可以分别单独作为结束 PoC会话的条件, 也可以共同 作为结束 PoC会话的条件,还可以与已有 PoC会话的结束方法结合使用 , 共同作为结束 PoC会话的理由。 已有 PoC会话的结束方法包括: 当 PoC 管理员发出结束 PoC会话指令时结束 PoC会话的方法、 当 PoC会话中 最后一个参与方离开时结束 PoC会话的方法、当 PoC会话发起方离开时 结束 PoC会话的方法、 当指定的 PoC参与方离开时结束 PoC会话的方 法、 当参与方的数量少于某一数值时结束 PoC会话的方法、 当会话的发 起者离开会话时结束 PoC会话的方法、当预设时间到达时结束 PoC会话 的方法或当在预设时间内没有参与方发言时结束 PoC会话的方法。 It should be noted that, in the present invention, when only the machine participant exists in the PoC session, or the number of the participant type is non-machine is less than or equal to the preset number of the PoC server, the method of ending the PoC session may be separately used as the ending PoC. The conditions of the session can also be used together as a condition for ending the PoC session, and can also be used in combination with the ending method of the existing PoC session as a reason for ending the PoC session. The method for ending the existing PoC session includes: a method of ending a PoC session when the PoC administrator issues an instruction to end the PoC session, a method of ending the PoC session when the last participant in the PoC session leaves, and when the PoC session initiator leaves Method for ending a PoC session, a method for ending a PoC session when a specified PoC participant leaves, a method for ending a PoC session when the number of participants is less than a certain value, and a method for ending a PoC session when an initiator of a session leaves a session A method of ending a PoC session when a preset time arrives or a method of ending a PoC session when there is no participant speaking within a preset time.

PoC会话结束方法结合使用的方法,可以是为一个 PoC会话设置多 个 PoC会话方法, 只要有一个 PoC会话结束的理由满足, 就结束 PoC 会话。  The method for combining the PoC session end method may be to set multiple PoC session methods for one PoC session. As long as the reason for ending a PoC session is satisfied, the PoC session ends.

以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的 保护范围, 凡在本发明的精神和原则之内所做的任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。  The above is only the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modifications, equivalents, improvements, etc., which are made within the spirit and principles of the present invention, should be included. It is within the scope of the invention.

Claims

权利要求书 Claim 1.一种结束多方通信会话的方法,其特征在于,在多方通信会话中, 该方法包括以下步骤: A method of ending a multiparty communication session, characterized in that in a multiparty communication session, the method comprises the steps of: 在服务器判断出满足预设人机交互的多方通信会话结束条件时, 结 束当前多方通信会话, 并释放当前多方通信会话中各参与方的会话资 源。  When the server determines that the multi-party communication session end condition of the preset human-computer interaction is satisfied, the current multi-party communication session is ended, and the session resources of each participant in the current multi-party communication session are released. 2. 居权利要求 1所述的方法, 其特征在于, 该方法还包括: 在所述服务器判断出不满足所述预设人机交互的多方通信会话结 束条件时, 继续所述多方通信会话, 在等待满足所述触发结束 PoC会话 处理条件后, 所述服务器重新判断是否满足所述预设人机交互的多方通 信会话结束条件。  2. The method of claim 1, wherein the method further comprises: continuing the multiparty communication session when the server determines that the multiparty communication session end condition of the preset human-computer interaction is not satisfied, After waiting to satisfy the triggering end PoC session processing condition, the server re-determines whether the multi-party communication session end condition of the preset human-machine interaction is satisfied. 3. 根据权利要求 1 所述的方法, 其特征在于, 在建立多方通信会 话时和 /或多方通信会话中, 所述服务器记录各参与方的参与方类型, 所 述服务器判断是否满足预设人机交互的多方通信会话结束条件的方法 为 ··  The method according to claim 1, wherein in establishing a multiparty communication session and/or in a multiparty communication session, the server records a participant type of each participant, and the server determines whether the preset person is satisfied. The method of ending the multi-party communication session of the machine interaction is... 所述服务器根据记录的参与方类型判断所述各参与方是否均为机 器, 若是, 则满足所述多方通信会话结束条件; 否则, 不满足所述多方 通信会话结束条件。  The server determines, according to the type of participant of the record, whether each of the participants is a machine, and if so, satisfies the multi-party communication session end condition; otherwise, the multi-party communication session end condition is not satisfied. 4. 根搌权利要求 1 所述的方法, 其特征在于, 在建立多方通信会 话时和 /或多方通信会话中, 所述服务器记录各参与方的参与方类型; 所 述服务器判断是否满足预设人机交互的多方通信会话结束条件的方法 为:  4. The method according to claim 1, wherein, in establishing a multiparty communication session and/or in a multiparty communication session, the server records a participant type of each participant; the server determines whether the preset is satisfied. The method for ending the multi-party communication session of human-computer interaction is: a. 所述服务器判断存在于当前多方通信会话中的参与方数目是否 小于或等于一, 若是, 则满足所述多方通信会话结束条件; 否则, 进入 步骤 b; a. the server determines whether the number of participants existing in the current multi-party communication session is less than or equal to one, and if yes, satisfies the multi-party communication session end condition; otherwise, enters Step b; b. 所迷服务器根据所述记录的参与方类型判断所述参与方是否均 为机器, 若是, 则满足所述多方通信会话结束条件; 否则, 不满足所述 多方通信会话结束条件。  b. The server determines, according to the type of participant of the record, whether the participants are all machines, and if so, satisfies the multi-party communication session end condition; otherwise, the multi-party communication session end condition is not satisfied. 5. 根据权利要求 1 所述的方法, 其特征在于, 在建立多方通信会 话时和 /或多方通信会话中, 所述服务器记录各参与方的参与方类型, 并 根据参与方类型记录各参与方的数量, 所述服务器判断是否满足预设人 机交互的多方通信会话结束条件的方法为:  The method according to claim 1, wherein in establishing a multi-party communication session and/or in a multi-party communication session, the server records the participant type of each participant, and records each participant according to the participant type. The number of the server, the method for determining whether the multi-party communication session end condition of the preset human-computer interaction is satisfied is: 所述服务器根据所述记录的参与方类型为非机器的数量判断当前 非机器参与方数量是否小于或等于服务器预设结束数目, 若是, 则满足 所述多方通信会话结束条件; 否则,不满足所述多方通信会话结束条件。  Determining, by the server, whether the current number of non-machine participants is less than or equal to a server preset end number according to the number of non-machine participants of the record, and if yes, satisfying the multi-party communication session end condition; The multiparty communication session end condition is described. 6. 根据权利要求 5 所述的方法, 其特征在于, 所述结束当前多方 通信会话之前, 该方法还包括:  The method according to claim 5, wherein before the ending the current multi-party communication session, the method further comprises: 所述服务器判断当前多方通信会话中的机器参与方是否有智能机 器,若有,财进入继续所述多方通信会话,在等待满足所述触发结束 PoC 会话处理条件后, 所述服务器重新判断是否满足所述预设人机交互的多 方通信会话结束条件; 否则, 释放当前多方通信会话中各参与方的会话 资源后结束。  Determining, by the server, whether the machine participant in the current multi-party communication session has an intelligent machine, and if so, the financial entry continues to the multi-party communication session, and after waiting for the triggering to end the PoC session processing condition, the server re-determines whether the server satisfies The preset multi-party communication session end condition of the human-machine interaction; otherwise, the session resources of each participant in the current multi-party communication session are released and then ended. 7. 根据权利要求 5 所述的方法, 其特征在于, 所述预设结束数目 为一, 或者为零。  The method according to claim 5, wherein the preset end number is one, or zero. 8. 根据权利要求 1 所述的方法, 其特征在于, 所述多方通信会话 结束条件能与已有多方通信会话的结束条件结合使用。  8. The method of claim 1, wherein the multiparty communication session end condition can be used in conjunction with an end condition of an existing multiparty communication session. 9. 根据权利要求 3、 4或 5所述的方法, 其特征在于, 所述服务器 记录各参与方的参与方类型的方法为: 服务器判断所述参与方发送给自 身的消息中携带的类型标识的取值, 若取值指示参与方类型为机器类 型, 则服务器记录所述参与方的参与方类型为机器; 若取值指示参与方 类型为非机器类型, 则服务器记录所述参与方的参与方类型为非机器。 The method according to claim 3, 4 or 5, wherein the method for the server to record the participant type of each participant is: the server determines the type identifier carried in the message sent by the participant to itself Value, if the value indicates that the participant type is machine class Type, the server records the participant type of the participant as a machine; if the value indicates that the participant type is a non-machine type, the server records that the participant's participant type is non-machine. 10. 根据权利要求 3、 4或 5所述的方法, 其特征在于, 所述服务 器记录所述参与方的参与方类型的方法为: 服务器对未携带类型标识的 所述参与方, 居运营商的策略或者缺省值所规定的参与方的类型, 判 定该参与方的类型。 '  The method according to claim 3, 4 or 5, wherein the method for the server to record the participant type of the participant is: the server pairs the participant that does not carry the type identifier, and the operator The type of the party specified by the policy or default value determines the type of the party. ' 11. 根据权利要求 9所述的方法, 其特征在于, 所述参与方发送 给服务器的消息由会话初始化协议 SIP消息承载。  The method according to claim 9, wherein the message sent by the participant to the server is carried by a Session Initiation Protocol SIP message. 12. 根据权利要求 3、 4或 5所述的方法, 其特征在于, 该方法还 包括: 设置当前多方通信会话结束附加条件;  12. The method according to claim 3, 4 or 5, characterized in that the method further comprises: setting an end condition of the current multiparty communication session; 所述服务器结束当前多方通信会话之前, 该方法还包括: 所述服务 器判断是否满足已设置的当前多方通信会话结束附加条件, 若不满足, 则继续所述多方通信会话,在等待满足所述触发结束 PoC会话处理条件 后, 所述服务器重新判断是否满足所述预设人机交互的多方通信会话结 束条件; 若满足, 则释放当前多方通信会话中各参与方的会话资源后结 束。  Before the server ends the current multi-party communication session, the method further includes: the server determining whether the current multi-party communication session end additional condition is met, and if not, continuing the multi-party communication session, waiting for the trigger to be satisfied After the processing condition of the PoC session is ended, the server re-determines whether the multi-party communication session end condition of the preset human-computer interaction is satisfied; if yes, the session resources of each participant in the current multi-party communication session are released, and the process ends. 13. 根据权利要求 12所述的方法, 其特征在于, 所述设置当前多 方通信会话结束附加条件的方法为: 所述参与方、 或服务器管理员、 或 运营商预先在所述服务器中设置。  The method according to claim 12, wherein the setting of the current multi-party communication session end attachment condition is: the participant, or the server administrator, or the operator is previously set in the server. 14. 根据权利要求 12所述的方法, 其特征在于, 所述设置当前多 方通信会话结束附加条件的方法为: 所述参与方向服务器发送当前多方 通信会话结束附加条件。  The method according to claim 12, wherein the setting of the current multi-party communication session end condition is: the participating direction server sends a current multi-party communication session end condition. 15. 根据权利要求 13所述的方法, 其特征在于, 所述当前多方通 信会话结束附加条件为: 非机器参与方设置的加入或返回多方通信会话 的等待时间长度、 或定时结束多方通信会话、 或某参与方退出会话。 15. The method according to claim 13, wherein the current multiparty communication session end addition condition is: a waiting time length of joining or returning a multiparty communication session set by a non-machine participant, or ending a multiparty communication session at a time, Or a participant exits the session. 16. 根据权利要求 14所述的方法, 其特征在于, 所述参与方向服 务器发送当前多方通信会话结束附加条件的方法为: 参与方将当前多方 通信会话结束附加条件携带在用户用于向服务器发送设置信息的消息 中, 并发送给所述服务器。 The method according to claim 14, wherein the method for the participation direction server to send the current multiparty communication session end condition is: the participant carries the current multiparty communication session end condition to be carried by the user for sending to the server. Set the message to the message and send it to the server. 17. 根据权利要求 16所述的方法, 其特征在于, 所述向服务器发 送设置信息的消息为 SIP消息。  The method according to claim 16, wherein the message for sending the setting information to the server is a SIP message. 18. 根据权利要求 17所述的方法,其特征在于,所述 SIP消息为: PUBLISH消息, 或 INVITE消息, 或 Re-INVITE消息, 或 UPDATE消 息, 或 SUBSCRIBE消息, 或 REGISTER消息。  The method according to claim 17, wherein the SIP message is: a PUBLISH message, or an INVITE message, or a Re-INVITE message, or an UPDATE message, or a SUBSCRIBE message, or a REGISTER message. 19. 根据权利要求 3、 4或 5所述的方法, 其特征在于, 所述各参 与方处于多方通信会话中, 该方法还包括:  The method according to claim 3, 4 or 5, wherein the participants are in a multi-party communication session, the method further comprising: 若非机器参与方将自身切换为机器, 或机器参与方被切换为非机 器, 切换至的参与方均会将自身参与方类型通知所述服务器。  If the non-machine participant switches itself to the machine, or the machine participant is switched to a non-machine, the party to which the switch is switched will notify the server of its own participant type. 20. 根据权利要求 1 所述的方法, 其特征在于, 该方法之前还包 括: 确定满足触发结束多方通信会话处理条件;  The method according to claim 1, wherein the method further comprises: determining that the multi-party communication session processing condition that satisfies the trigger end is determined; 所述触发结束多方通信会话处理条件为: 由运营商在所述服务器中 设置的存在多方通信会话的参与方退出当前多方通信会话、 或定时触发 结束多方通信会话处理、 或参与方的类型发生变化。  The triggering end multiparty communication session processing condition is: the participant having the multiparty communication session set by the operator in the server exits the current multiparty communication session, or the timing trigger ends the multiparty communication session processing, or the type of the participant changes. . 21. 根据权利要求 1 所述的方法, 其特征在于, 所述多方通信会 话为蜂窝系统的^ ¾即说 PoC会话, 或多方会议 Conference会话。  21. The method according to claim 1, wherein the multi-party communication session is a cellular system, a PoC session, or a multi-party conference session. 22. 根据权利要求 1 所述的服务器, 其特征在于, 所述多方通信 会话为蜂窝系统的按键即说 PoC会话, 所述服务器为 PoC服务器; 或者, 所述多方通信会话为多方会议 Conference会话, 所述服务器 为 Conference月艮务器。  The server according to claim 1, wherein the multi-party communication session is a push button of a cellular system, that is, a PoC session, and the server is a PoC server; or the multi-party communication session is a multi-party conference conference session. The server is a conference server. 23. 一种服务器, 包括会话建立模块、 会话结束模块、 会话控制 模块, 其特征在于, 该服务器还包括: 用于识别多方通信会话参与方的 参与方类型的参与方类型检测模块和用于存储参与方类型的参与方类 型存储模块; 23. A server, including a session establishment module, a session termination module, and session control a module, the server further comprising: a participant type detection module for identifying a participant type of the multiparty communication session participant and a participant type storage module for storing the participant type; 所述会话建立模块, 用于建立多方通信会话, 识别参与方类型, 将 识别后的参与方类型发送给参与方类型存储模块, 并通知会话控制模块 会话建立结果信息;  The session establishing module is configured to establish a multi-party communication session, identify a participant type, send the identified participant type to the participant type storage module, and notify the session control module of the session establishment result information; 所述参与方类型存储模块, 用于记录各参与方的参与方类型;  The participant type storage module is configured to record the participant type of each participant; 会话控制模块, 用于控制多方通信会话, 在满足多方通信会话结束 条件时, 通知会话结束模块结束当前多方通信会话;  a session control module, configured to control a multiparty communication session, and notify the session end module to end the current multiparty communication session when the multiparty communication session end condition is met; 会话结束模块, 用于在接收到来自会话控制模块的结束多方通信会 话的通知后 , 结束当前多方通信会话并释放所述参与方的会话资源; 所述参与方类型检测模块, 用于接收来自会话控制模块的检测请 求, 从参与方类型存储模块中获取已记录的参与方类型信息, 并根据该 参与方类型信息确定参与方的类型, 并将确定的参与方类型信息返回给 会话控制模块。  a session end module, configured to: after receiving the notification of ending the multiparty communication session from the session control module, ending the current multiparty communication session and releasing the session resources of the participant; the participant type detection module, configured to receive the session from the session The detection request of the control module acquires the recorded participant type information from the participant type storage module, and determines the type of the participant according to the participant type information, and returns the determined participant type information to the session control module. 24. 根据权利要求 23所述的服务器, 其特征在于, 所述服务器还 包括: 用于判断服务器中是否存在并满足当前多方通信会话结束附加条 件的条件判断模块; '  The server according to claim 23, wherein the server further comprises: a condition determining module for determining whether the server exists and satisfies the current multi-party communication session ending condition; 所述会话控制模块, 确定当前满足多方通信会话结束条件后, 若接 收到来自条件判断模块的结束当前多方通信会话附加条件满足的信息, 则通知会话结束模块结束当前多方通信会话并释放所述参与方的会话 资源; 否则, 继续当前多方通信会话;  The session control module determines, after the current multi-party communication session end condition is met, if the information that the current multi-party communication session attachment condition is satisfied from the condition determination module is received, notifying the session end module to end the current multi-party communication session and releasing the participation Party session resources; otherwise, continue the current multiparty communication session; 所述条件判断模块, 用于判定当前存在且满足当前多方通信会话结 束附加条件时, 向会话控制模块发送结束当前多方通信会话附加条件满 足的信息; 或者判定当前存在且不满足当前多方通信会话结束附加条件 时, 向会话控制模块发送结束当前多方通信会话附加条件不满足的信 '自、 The condition judging module is configured to send, to the session control module, information that ends the current multi-party communication session additional condition when the current condition exists and meets the current multi-party communication session end condition; or determines that the current multi-party communication session is not satisfied. Additional conditions Sending a message to the session control module that ends the current multiparty communication session with an unsatisfactory condition. 25. 根据权利要求 23或 24所述的服务器, 其特征在于, 所述多 方通信会话结束条件为: 当前多方通信会话中参与方数目小于或等于 一、 或当前多方通信会话中参与方均为机器。  The server according to claim 23 or 24, wherein the multi-party communication session end condition is: the number of participants in the current multi-party communication session is less than or equal to one, or the participants in the current multi-party communication session are machines . 26. 根据权利要求 23所述的服务器, 其特征在于, 所述多方通信 会话为蜂窝系统的按键即说 PoC会话, 所述服务器为 PoC服务器; 或者, 所述多方通信会话为多方会议 Conference会话, 所述服务器 为 Conference月艮务器。  The server according to claim 23, wherein the multi-party communication session is a push button of a cellular system, that is, a PoC session, and the server is a PoC server; or the multi-party communication session is a multi-party conference conference session, The server is a conference server. 27. —种服务器, 包括会话建立模块、 会话结束模块、 会话控制 模块, 其特征在于, 该服务器还包括: 用于记录各参与方类型的数量的 参与方数量记录模块;  27. A server, comprising a session establishing module, a session ending module, and a session control module, wherein the server further comprises: a participant number recording module for recording the number of each participant type; 所述会话建立模块, 用于建立多方通信会话, 识别参与方类型, 将 识别后的参与方类型发送给参与方类型存储模块 , 并通知会话控制模块 会话建立结果信息;  The session establishing module is configured to establish a multi-party communication session, identify a participant type, send the identified participant type to the participant type storage module, and notify the session control module of the session establishment result information; 所述参与方数量记录模块, 用于接收来自会话建立模块的参与方类 型并对应该参与方类型记录该参与方的数量;  The participant quantity recording module is configured to receive a participant type from the session establishment module and record the number of the participant in the participant type type; 会话控制模块, 查询参与方类型记录模块中的参与方数量的信息, 确定满足多方通信会话结束条件后, 通知会话结束模块结束当前多方通 信会话;  The session control module queries the information of the number of participants in the participant type record module, determines that the end of the multi-party communication session is satisfied, and notifies the session end module to end the current multi-party communication session; 会话结束模块, 用于在接收到来自会话控制模块的结束多方通信会 话的通知后, 结束当前多方通信会话并释放所述参与方的会话资源。  The session end module is configured to, after receiving the notification of ending the multiparty communication session from the session control module, end the current multiparty communication session and release the session resources of the participant. 28. 居权利要求 27所述的服务器, 其特征在于, 所述服务器还 包括: 用于判断服务器中是否存在并满足当前多方通信会话结束附加条 件的条件判断模块; 所述会话控制模块, 确定当前满足多方通信会话结束条件后, 若接 收到来自条件判断模块的结束当前多方通信会话附加条件满足的信息, 则通知会话 束模块结束当前多方通信会话并释放所述参与方的会话 资源; 否则, 继续当前多方通信会话; The server according to claim 27, wherein the server further comprises: a condition determining module for determining whether the server exists and satisfies the current multi-party communication session end adding condition; After the session control module determines that the current multi-party communication session end condition is met, if the information that the current multi-party communication session attachment condition is satisfied from the condition determination module is received, the session bundle module is notified to end the current multi-party communication session and release the participation. Party session resources; otherwise, continue the current multiparty communication session; 所述条件判断模块, 用于判定当前存在且满足当前多方通信会话结 束附加条件时, 向会话控制模块发送结束当前多方通信会话附加条件满 足的信息; 或者判定当前存在且不满足当前多方通信会话结束附加条件 时, 向会话控制模块发送结束当前多方通信会话附加条件不满足的信 台  The condition judging module is configured to send, to the session control module, information that ends the current multi-party communication session additional condition when the current condition exists and meets the current multi-party communication session end condition; or determines that the current multi-party communication session is not satisfied. When the condition is attached, the station control module sends a station that terminates the current multiparty communication session with an unsatisfactory condition. 29. 根据权利要求 27或 28所述的服务器, 其特征在于, 所述多 方通信会话结束条件为: 当前多方通信会话中参与方中非机器参与方数 量小于或等于预设结束数目。  The server according to claim 27 or 28, wherein the multi-party communication session end condition is: the number of non-machine participants in the current multi-party communication session is less than or equal to the preset end number. 30. 根据权利要求 27所述的服务器, 其特征在于, 所述多方通信 会话为蜂窝系统的按键即说 PoC会话, 所述服务器为 PoC服务器; 或者, 所述多方通信会话为多方会议 Conference会话, 所述服务器 为 Conference月艮务器。  The server according to claim 27, wherein the multi-party communication session is a key of a cellular system, that is, a PoC session, and the server is a PoC server; or the multi-party communication session is a multi-party conference conference session, The server is a conference server.
PCT/CN2006/002028 2005-08-12 2006-08-10 A method for ending multi-party communication session and a server for implementing the method Ceased WO2007019789A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN200510090323 2005-08-12
CN200510090323.5 2005-08-12
CN2005101028467A CN1913669B (en) 2005-08-12 2005-09-13 Method for ending PoC session and PoC server implementing the method
CN200510102846.7 2005-09-13

Publications (1)

Publication Number Publication Date
WO2007019789A1 true WO2007019789A1 (en) 2007-02-22

Family

ID=37722403

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2006/002028 Ceased WO2007019789A1 (en) 2005-08-12 2006-08-10 A method for ending multi-party communication session and a server for implementing the method

Country Status (2)

Country Link
CN (1) CN1913669B (en)
WO (1) WO2007019789A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111416833A (en) * 2019-01-08 2020-07-14 北京京东尚科信息技术有限公司 Method and device for judging session termination

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101159946B (en) * 2007-11-16 2010-12-29 中兴通讯股份有限公司 Floor control method of honeycomb push-to-talk service and honeycomb push-to-talk server
CN116346985B (en) * 2023-02-27 2025-07-18 上海井星信息科技有限公司 Multi-platform packet capturing recording method, system, medium and equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275575B1 (en) * 2000-01-12 2001-08-14 Right4Me.Com, Inc. Method and system for coordinating and initiating cross-platform telephone conferences
CN1514602A (en) * 2002-12-31 2004-07-21 杭州世导科技有限公司 Multiside speaking system
US6876734B1 (en) * 2000-02-29 2005-04-05 Emeeting.Net, Inc. Internet-enabled conferencing system and method accommodating PSTN and IP traffic

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6826612B1 (en) * 1999-12-21 2004-11-30 Alcatel Canada Inc. Method and apparatus for an improved internet group management protocol

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6275575B1 (en) * 2000-01-12 2001-08-14 Right4Me.Com, Inc. Method and system for coordinating and initiating cross-platform telephone conferences
US6876734B1 (en) * 2000-02-29 2005-04-05 Emeeting.Net, Inc. Internet-enabled conferencing system and method accommodating PSTN and IP traffic
CN1514602A (en) * 2002-12-31 2004-07-21 杭州世导科技有限公司 Multiside speaking system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111416833A (en) * 2019-01-08 2020-07-14 北京京东尚科信息技术有限公司 Method and device for judging session termination
CN111416833B (en) * 2019-01-08 2024-02-09 北京京东尚科信息技术有限公司 Method and device for judging session end, electronic equipment and readable medium

Also Published As

Publication number Publication date
CN1913669A (en) 2007-02-14
CN1913669B (en) 2011-04-13

Similar Documents

Publication Publication Date Title
CN101030843B (en) Method for switching control mode of multimedia conference
US8112106B2 (en) Method and apparatus for obtaining group information by an invited user during a session
CN101228802B (en) Mobile communication terminal and method for controlling user's right to speak
WO2009070989A1 (en) A method, system and device for performing a storing process and inquiring on sessions history records
WO2007112685A1 (en) Charging associating method, system, charging center, and device for application service
CN101160946A (en) Method and server for push-to-talk service
WO2009036662A1 (en) Method, system and apparatus for accessing network multimedia meeting
WO2011160561A1 (en) Method for realizing video browsing, ip multimedia subsystem (ims) video monitoring system, and monitoring front end
WO2008113271A1 (en) Instant communication based push-to-talk system, method and server
US8311201B2 (en) Method and system for controlling a conference
CN101946531A (en) Re-activated group communication
WO2011017889A1 (en) Multimedia conference implementation method and system
KR100793343B1 (en) Call processing method of PC system
WO2007131448A1 (en) Method and apparatus for implementing multi-party communication
CN101262655B (en) Conversation method, system and device
CN100542313C (en) Systems and methods for group conversation communication
CN101217598B (en) Method and system for calling back when busy
WO2010075697A1 (en) System and method for transferring multi-party call into conference
WO2014111060A1 (en) Method, apparatus and system for group session
WO2009065344A1 (en) Method, device and system of creating conference and conference operating
CN103684804A (en) Method and device for meeting subscription
WO2007019789A1 (en) A method for ending multi-party communication session and a server for implementing the method
WO2012065501A1 (en) Method and system for achieving conference control via interactive voice and video response
WO2012155732A1 (en) Mobile terminal and method for realizing remote conference based on mobile terminal
CN101835106B (en) Method for ending PoC conversation and PoC server for realizing same

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06775346

Country of ref document: EP

Kind code of ref document: A1