WO2007131425A1 - Method of transferring the states of user terminal and server, user terminal and server - Google Patents

Method of transferring the states of user terminal and server, user terminal and server Download PDF

Info

Publication number
WO2007131425A1
WO2007131425A1 PCT/CN2007/001397 CN2007001397W WO2007131425A1 WO 2007131425 A1 WO2007131425 A1 WO 2007131425A1 CN 2007001397 W CN2007001397 W CN 2007001397W WO 2007131425 A1 WO2007131425 A1 WO 2007131425A1
Authority
WO
WIPO (PCT)
Prior art keywords
user terminal
state
user
server
transmission right
Prior art date
Application number
PCT/CN2007/001397
Other languages
French (fr)
Chinese (zh)
Inventor
Liming Zhang
Long Luo
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
Priority claimed from CN 200610078118 external-priority patent/CN101064621A/en
Priority claimed from CN2006100904393A external-priority patent/CN101098514B/en
Application filed by Huawei Technologies Co., Ltd. filed Critical Huawei Technologies Co., Ltd.
Publication of WO2007131425A1 publication Critical patent/WO2007131425A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • H04L65/4038Arrangements for multi-party communication, e.g. for conferences with floor control

Definitions

  • the present invention relates to the field of communications, and in particular, to a state transition method for a user terminal and a server, and a user terminal and server.
  • multimedia services combining multiple media types such as audio, video, pictures and text will gradually be developed.
  • the multimedia service can be combined with presence (presentation service), short message, TOB (web) browsing, location information, PUSH (push service) and file sharing to provide users with a variety of business services.
  • the various business services include:
  • Messaging business instant messaging and chat rooms, multimedia short messages, etc.
  • Video business entertainment, multimedia information, daily communication, etc.
  • E-commerce product catalogs, search engines, shopping carts, order management, payments, etc.
  • Positioning business tracing people, guides, alarms, etc.
  • the 3GPP Third Generation Partnership Projects
  • IP-based IMS Internet Multimedia Subnet
  • PoC Cellular Push-to-Talk
  • Conference Multimedia Conference
  • the user terminal can apply for transmitting media data, and the system can limit the length of time for the user terminal to send the media data.
  • the user terminal includes a cluster client.
  • FIG. 1 A schematic diagram of a state machine of a user terminal in the prior art is shown in FIG. 1.
  • the state transition method of the user terminal is: when the user terminal receives the floor granted (message transmission permission) sent by the system in the waiting for request state, Enter the Permitted status.
  • the state transition state of the state machine if the user terminal applies for transmitting media data, the user terminal immediately starts to send media data; if the user terminal applies for transmitting voice data, the user terminal starts to send the received voice data. Give the server.
  • the user terminal if the user terminal is in the No Permitted state, it cannot directly go to the Permitted state. Instead, it must first migrate to the media transmission right waiting request status by sending a media transmission right request message, and then wait for it. After receiving the oor granted message in the request state, it moves to the Permitted state.
  • Client A applies for Client B.
  • Client A sends a media transmission right request to the cluster server.
  • the request indicates to Client B to apply for the media transmission right.
  • the cluster server obtains the request, if the application is approved, the client directly sends the request to the client.
  • B sends floor granted That is, the media transmission right is granted to the client B.
  • the client B cannot process the floor granted message because there is no corresponding state to be converted, and the floor granted message may be considered as an abnormal message and discarded.
  • a disadvantage of the state transition method of the prior art user terminal is that: In the method, after the user terminal receives the floor granted message in the waiting for request state, the user enters the Permitted state. At this time, the user terminal immediately starts to transmit the media data, and the user terminal cannot select to transmit data or refuse to transmit data according to the actual situation. Because, at this time, the user who operates the user terminal may not be next to the user terminal, or the user terminal is not ready to send media data. In the above case, the user terminal does not want to immediately transmit data. In this method, the user terminal cannot achieve this.
  • the user terminal cannot directly transfer from the No Permitted state to the Permitted state; the requirement for the third party to apply for the media transmission right cannot be realized.
  • An object of the embodiments of the present invention is to provide a state transition method for a user terminal and a server, and a user terminal and a server. Therefore, after the user terminal receives the floor granted message, the user terminal can enable the user terminal to perform state transition according to the operation of the user terminal.
  • a state transition method for a user terminal includes:
  • the user terminal receives a media transmission right grant message, and the user terminal migrates the state to a waiting indication state;
  • the user terminal migrates the state to the permission transmission state or the license transmission state according to the selection of the user who operates the user terminal.
  • a user terminal comprising:
  • a waiting indication state setting unit configured to: after the user terminal receives the media transmission right grant message, move the state of the user terminal to a waiting indication state;
  • the state transition unit is configured to migrate the state of the user terminal to a permission transmission state or a license transmission state according to a selection result of a user waiting for a user operation unit to transmit.
  • a method for migrating a state of a user terminal comprising: a user terminal receiving a media transmission right grant message, wherein the user terminal migrates a state to a user unacknowledged state in a permission transmission state;
  • the user terminal migrates the state to the user-confirmed state in the no-transmission state or the permission-transmission state according to the selection of the user operating the user terminal.
  • a user terminal comprising:
  • a user unconfirmed state setting unit configured to migrate the state of the user terminal to a user unconfirmed state in the permission sending state after the user terminal receives the media transmission right grant message
  • a state transition unit configured to: according to a selection result of a user waiting for a user operation unit to transmit, The state is migrated to the user-confirmed state in the no-sending status or the permission-sending status.
  • a method for state transition of a server including:
  • the state of the server is migrated to the waiting for confirmation state; and the state of the server is migrated to the media according to the response of the user terminal to the media transmission right grant message.
  • the right to assign a state or an idle state.
  • a server comprising:
  • a waiting confirmation status setting unit configured to migrate the state of the server to a waiting for confirmation state after the server sends the media transmission right grant message to the user terminal;
  • the media transmission right allocation state setting unit is configured to: after receiving the media transmission right acceptance confirmation message sent by the user terminal, or after receiving the media data sent by the user terminal, migrating the state of the server from the waiting confirmation state to the media Send right allocation status;
  • the idle state setting module is configured to: after receiving the media transmission right release message sent by the user terminal, or after receiving the timing of the set time, the message or media data sent by the user terminal is not received, and the status of the server is Wait for the confirmation state to migrate to the idle state.
  • a method for state transition of a server including:
  • the state of the server is migrated to the media transmission right unacknowledged state in the media transmission right allocation state;
  • a kind of server including:
  • a media transmission right unacknowledgment status setting unit configured to: after the server sends the media transmission right grant message to the user terminal, to migrate the state of the server to a media transmission right unacknowledged state in the media transmission right allocation state;
  • the media transmission right confirmation status setting unit is configured to: after receiving the media transmission right acceptance confirmation message sent by the user terminal, or after receiving the media data sent by the user terminal, migrating the state of the server to the media transmission right allocation The status of the media transmission right in the status has been confirmed;
  • the idle state setting module is configured to: after receiving the media transmission right release message sent by the user terminal, or not receiving the message or media data sent by the user terminal after the time of the set time arrives, setting the state status of the server Migrate to an idle state.
  • the present invention can increase the Pending Indication state in the state machine of the user terminal, so that after the user terminal receives the floor Granted message, the user can select the sending media according to the user operation. Data or refuse to send media data. Increased user operability.
  • FIG. 1 is a schematic diagram of a basic state machine of a user terminal in the prior art
  • Embodiment 1 is a schematic diagram of Embodiment 1 of a state machine of a state transition method of a user terminal according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart of processing a state transition method of a user terminal according to Embodiment 1 of the present invention
  • 4 is a flowchart of a process in which a PoC Client A requests a media transmission right and a PoC Client B accepts a media transmission right according to an embodiment of the present invention
  • 5 is a schematic diagram of application of an improved state machine of a user terminal in an OMA P0C (object-based management structure based on a cellular push-to-talk) specification according to an embodiment of the present invention
  • FIG. 6 is a schematic structural diagram of a user terminal according to Embodiment 1 of the present invention.
  • FIG. 7 is a schematic diagram of Embodiment 2 of a state machine of a state transition method of a user terminal according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of a process of a state transition method of a user terminal according to Embodiment 2 of the present invention.
  • FIG. 9 is a schematic structural diagram of a user terminal according to Embodiment 2 of the present invention.
  • FIG. 10 is a schematic diagram of a state machine of a system server according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of a system server according to an embodiment of the present invention.
  • FIG. 12 is a schematic diagram of another state machine of a system server according to an embodiment of the present invention.
  • FIG. 13 is a schematic structural diagram of another system server according to an embodiment of the present invention.
  • FIG. 14 is a process flowchart of an embodiment of a method for data transmission by a user terminal according to the present invention.
  • FIG. 15 is a schematic diagram of a user terminal sending a floor granted ack message to a server or directly transmitting data according to the present invention
  • FIG. 16 is a schematic diagram of a user terminal sending a floor release message to a server according to the present invention
  • FIG. 17 is a schematic diagram of sending a foor free message to a user terminal after the timer of the monitoring response timer of the server of the present invention times out. Mode for carrying out the invention
  • the embodiment of the present invention provides a state transition method for a user terminal and a server, and a user terminal and a server. After receiving a media transmission right grant message sent by the server, the user terminal enters an intermediate state. Waiting for the operation of the user who operates the terminal, and then, according to the operation of the user, the user terminal performs a corresponding state transition.
  • FIG. 2 is a schematic diagram of the state machine of the state transition method of the user terminal according to the embodiment of the present invention. The difference between the state machine and the prior art is to increase. A Pending Indication status.
  • Pending Indication state When the user terminal receives the floor Granted message sent by the system, whether it is waiting for the request status or No Permitted status, the user terminal enters the state. In this state, the user terminal does not immediately perform media data transmission, and waits for the operation of the user who operates the user terminal. The user may select to transmit media data or refuse to transmit media data according to actual conditions.
  • the process flow of the state transition method of the user terminal according to Embodiment 1 of the present invention is as shown in FIG. 3, and includes the following steps:
  • the PoC Client applies for the media transmission right through some means. For example, if the PoC Client user applies for the media transmission right, or the other PoC Client user applies for the media transmission right for the PoC Client user, the user will receive the floor. Granted message, then, the user enters the Pending Indication state.
  • the S320 and the PoC Client notify the user who operates the PoC client by ringing, flashing, etc., that is, the media transmission right is presented to the user who operates the PoC Client, and the confirmation timer Tc is started.
  • step S330 determining whether the user operating the PoC Client accepts the media transmission right before the confirmation timer Tc times out, if yes, the process proceeds to step S340, otherwise proceeds to step S370; S340. Send a Floor granted ACK message to the server.
  • the user terminal transmits a floor granted ack (message transmission right acknowledgement) message to the server when the user selects before the confirmation timer Tc times out or the user sets to accept the granted media transmission right.
  • a floor granted ack messages transmission right acknowledgement
  • This step is optional, and the Floor granted ACK message may not be sent. If not sent, the server can confirm that the PoC Client user has accepted the media transmission right by receiving the media stream.
  • the acceptance may be an interactive confirmation by the PoC Client user, or may be accepted by the preset setting, for example, it is preset to always accept the media transmission right granted by the third party.
  • the state machine of the PoC Client migrates from a pending indication state to a permitted state.
  • the state machine of the PoC Client migrates from the pending indication state to the not permitted state. Then, the PoC Client sends a floor release (message transmission right release) message to the server.
  • the Floor Ack message in the above process is a newly added media control message for confirming the acceptance of the media transmission right to the server; the message, like other media control messages, may be based on the RTCP message extension.
  • the PoC Client A in the embodiment of the present invention requests the media to send the right.
  • the process of the PoC Client B accepting the media transmission right is as shown in FIG. 4, and includes the following steps:
  • Client A sends a Floor req (media transmission right request) to the server, and applies for a media transmission right for the client B.
  • the cluster server sends a Floor Granted message to the client B, and informs the application media transmission right event;
  • the cluster server sends Client A sends a Floor Taken message to inform the media that the right to send the application is accepted;
  • the cluster server starts the timer Tx waits for the client B to respond;
  • Client B prompts the user of the Client B to confirm the media transmission right, and starts the timer Tc, waiting for the response of the user who operates the Client B;
  • Client B confirms acceptance before the timer Tc expires or the Client B user is set to accept the media transmission right.
  • Client B sends a Floor Granted ACK message to the cluster server, and confirms that the media transmission right is accepted. This step is optional.
  • Client B can also directly perform step S480.
  • Client B sends media stream data to the cluster server.
  • the cluster server sends the received media stream to Client A.
  • the timer Tc started at the terminal should be less than the timer Tx started by the cluster server. If the Tx is 5 seconds, the timer Tc initiated by the terminal should be less than 5 seconds.
  • the embodiment 1 of the present invention further provides a user terminal.
  • the structure of the user terminal is as shown in FIG. 6, and includes the following modules:
  • the waiting indication state setting unit is configured to migrate to the waiting indication state after the user terminal receives the floor Granted message. Waiting for a user operation unit, for prompting the media transmission right to the user operating the user terminal, waiting for the operation of the user terminal After the user performs the corresponding operation, the user operation result is transmitted to the state transition unit.
  • a state transition unit configured to migrate the state of the user terminal to a permission transmission state or a license transmission state according to the user operation result of the waiting user operation unit transmission.
  • the media sending right request unit is configured to apply for a media transmission right to the server for itself or other user terminals.
  • the waiting user operation unit specifically includes:
  • the media sending right prompting unit is configured to prompt the user who operates the user terminal to send the media right after the user terminal migrates to the waiting indication state.
  • a timer unit configured to receive a media transmission right setting time threshold for a user operating the user terminal
  • the user operation result processing unit is configured to receive an operation result of accepting/rejecting the media transmission right selected by the user operating the user terminal, and transmitting the operation result to the state migration unit.
  • the state transition unit specifically includes:
  • the license transmission status setting unit is configured to migrate the state of the user terminal to the permission transmission state after the user operating the user terminal accepts the media transmission right.
  • the media transmission right release message sending unit is configured to send a floor release (media transmission right release) message to the server after the state of the user terminal migrates to the state without the permission to send.
  • FIG. 7 is a schematic diagram of Embodiment 2 of a state machine of a state transition method of a user terminal according to an embodiment of the present invention.
  • the state machine differs from the prior art in that the Pending Indication state is a substate of a Permitted state (or The internal state exists, that is, the new state is not added to the state machine of the existing user terminal, and only a new event processing process is added to the Permitted state of the existing user terminal.
  • the two states can be implemented by setting an internal identifier UserConfirmFlag.
  • the value of UserConfirmFlag is: "User Confirming” or "User Confirmed” is used to distinguish between two substates.
  • the process flow of the state transition method of the user terminal according to Embodiment 2 of the present invention is as shown in FIG. 8, and includes the following steps:
  • the user After the S810 and the PoC Client apply for the media transmission right through some means (for example, the PoC Client user applies for the media transmission right, or the other PoC Client user applies for the media transmission right for the PoC Client user), the user will receive the floor Granted. The message, then, the user enters the Permitted state.
  • PoC Client sets UserConfirmFlag to User Confirming, that is, the user does not confirm the floor (waiting for indication status), and the media transmission right is prompted to the user who operates the PoC Client and starts the timer Tc;
  • the PoC Client determines whether the user operating the PoC Client accepts the media transmission right before the timer Tc times out; if the process proceeds to step S840, otherwise proceeds to step S860;
  • the PoC Client user's acceptance of the media transmission right in this step may be an interactive confirmation by the PoC Client user, or may accept the media transmission right through a preset setting, for example, pre-set to not accept the media transmission right granted by the third party, then PoC Client always refuses the right to send media from third parties;
  • the S850 and PoC Client send media normally.
  • the state machine of the PoC Client will migrate from the permitted state to the not permitted state. Then, the PoC Client sends a floor release message to the server.
  • the timer Tc started at the terminal should be less than the timer Tx started by the cluster server. If it is 5 seconds, the timer Tc of the terminal should be less than 5 seconds.
  • Embodiment 2 of the present invention further provides a user terminal.
  • the structure of the user terminal is as shown in FIG. 9, and includes the following modules:
  • a user unconfirmed state setting unit configured to migrate the state of the user terminal to a user unconfirmed state in the permission sending state after the user terminal receives the media transmission right grant message
  • the state transition unit is configured to migrate the state of the user terminal to a user confirmed state in a non-permitted transmission state or a permission transmission state according to a selection result of a user waiting for the user operation unit to transmit.
  • the media sending right requesting unit is configured to apply for a media sending right to the server for the user terminal or other user terminal.
  • the waiting user operation unit specifically includes:
  • a media sending right prompting unit configured to prompt a user who operates the user terminal to send a media right after the user terminal migrates to the waiting indication state
  • a timer unit configured to receive a media transmission right setting time threshold for a user operating the user terminal
  • the user operation result processing unit is configured to receive a selection result of accepting or rejecting the media transmission right returned by the user operating the user terminal, and transmitting the selection result to the state transition unit.
  • the state transition unit specifically includes:
  • a user confirmed status setting unit configured to migrate the state of the user terminal to the user confirmed state in the permission sending state after receiving the selection result of the receiving media transmission right returned by the user operating the user terminal;
  • There is no permission transmission status setting unit configured to migrate the state of the user terminal to the non-permission transmission state after receiving the selection result of rejecting the media transmission right returned by the user operating the user terminal;
  • the media sending right release message sending unit is configured to send a media sending right release message to the server after the state of the user terminal migrates to the state without the permission to send.
  • the state machine of the system server is also improved in the embodiment of the present invention.
  • the state machine of the system server according to the embodiment of the present invention is as shown in FIG. The difference between this state machine and the prior art is the addition of a Pending Confirm status.
  • Pending Confirm Status When the server sends a floor grant message to the user terminal, the server enters the Pending Confirm state from the Floor taken status and starts the monitoring response timer.
  • the Pending Confirm status of the server will trigger a state transition according to different conditions:
  • the server state machine After the server receives the floor granted ack message sent by the user terminal, or after receiving the media data sent by the user terminal, the server state machine will migrate from the Pending Confirm state to the Floor taken (media transmission right allocation) state;
  • the server After receiving the floor release message sent by the user terminal, or after receiving the message and data sent by the user terminal, the server stops the timing of the monitoring response timer and sends the message to the user terminal.
  • the foor free message the server state machine will migrate from the Pending Confirm state to the Idle state.
  • the embodiment of the present invention further provides a server.
  • the structure of the server is as shown in FIG. 11, and includes the following module - a waiting confirmation status setting unit, for the server to the user terminal. After the floor granted message is sent, the state of the server is migrated to the Pending Confirm state.
  • the media transmission right allocation state setting unit is configured to: after receiving the floor granted ack message sent by the user terminal, or after receiving the media data sent by the user terminal, migrating the state of the server from the Pending Confirm state to the Floor taken state .
  • the idle state setting module is configured to: after receiving the floor release message sent by the user terminal, or after receiving the set time, the message or media data sent by the user terminal is not received, and the speaker is sent to the user terminal.
  • the Send Right Idle message which migrates the state of the server from the Pending Confirm state to the idle state.
  • the timer unit is configured to receive a media transmission right setting time threshold for the user operating the user terminal, and after receiving the floor release message or the media data sent by the user terminal, the server stops counting the monitoring response timer.
  • the above Pending Confirm state can also exist as a substate (or internal state) of the Floor Taken state, that is, it does not add a new state to the state machine of the existing server, and only adds new event processing to the existing server's Floor Taken state. process.
  • the Pending Confirm state is a substate of the Floor Taken state
  • a schematic diagram of the server's state machine is shown in Figure 12. The specific processing procedure when the state machine of the user terminal is in the Permitted state is as follows:
  • the server When the server sends the Send Floor Granted, it migrates from the Idle state to the Floor Taken state.
  • the Floor Taken state In the Floor Taken state, there are two substates inside, Floor confirmed and Floor unacknowledged (that is, Pending Confirm state). The two states can pass. Set an internal identifier to achieve.
  • the initial state of the server's Floor Taken state is Floor unacknowledged.
  • the floor Granted ack message or the floor release message or the media data can be processed.
  • the server receives the user terminal, it sends the message. After the floor granted ack message or media data, the substate of Floor Taken is confirmed from the unconfirmed migration of Floor to Floor.
  • the server After the server receives the floor release message sent by the user terminal, or does not receive the message sent by the user terminal after the time of the set time arrives, the server stops the timing of the monitoring response timer, and sends floor free to the user terminal. Message, the server state machine will migrate from the Floor Taken state to the Idle state.
  • the embodiment of the present invention further provides a server, and the structure of the server is as shown in the figure. 13, including the following modules:
  • the media transmission right unacknowledgment status setting unit is configured to migrate the state of the server to the Floor unconfirmed state in the Floor Taken state after the server sends the floor granted message to the user terminal.
  • the media transmission right confirmed status setting unit is configured to: after receiving the floor granted ack message sent by the user terminal, or after receiving the media data sent by the user terminal, the status of the server is from the Floor of the Floor Taken state. Confirm that the status has been migrated to the Floor confirmed status in the Floor taken state.
  • the idle state setting module is configured to: after receiving the floor release message sent by the user terminal, or after receiving the set time, the message or media data sent by the user terminal is not received, and the floor free is sent to the user terminal.
  • the Send Right Idle message which migrates the state of the server from the Floor unacknowledged state in the Floor Taken state to the idle state.
  • the timer unit is configured to receive a media transmission right setting time threshold for the user operating the user terminal, and after receiving the floor release message or the media data sent by the user terminal, the server stops counting the monitoring response timer.
  • the processing flow of the embodiment of the method for transmitting data by the user terminal in the embodiment of the present invention is as shown in FIG. 14 , and includes the following steps:
  • Step 14-1 After the server detects the user terminal, the server sends a floor granted message to the user terminal.
  • the server After the server receives an indication of floor authorization for a user terminal; or, the server receives a floor authorization request of a user terminal; or, the server receives a floor authorization request from the other user terminal to the specified user terminal. After that; or, the server decides to perform floor authorization for a user terminal based on other mechanisms.
  • the server detects the user terminal, and after confirming that the user terminal can perform the media transmission right authorization, the server sends a floor granted message to the user terminal.
  • Step 14-2 After receiving the floor granted message sent by the server, the user terminal does not immediately send data, enters the Pending Indication state, and waits for the user's operation.
  • the user terminal After the user terminal receives the floor granted message sent by the server, the user terminal does not immediately send data, and enters the Pending Indication state.
  • the user terminal notifies the user who operates the user terminal by ringing, flashing, etc., and waits for the operation of the user.
  • the server also enters the above Pending Confirm state and starts the timing of the monitoring response timer.
  • Step 14-3 The user terminal selects to send data or refuse to send data according to the actual situation in the Pending Indication state, and performs corresponding processing.
  • the user terminal After the user terminal enters the Pending Indication state, the user terminal does not immediately perform data transmission, and waits for the operation of the user operating the user terminal.
  • the user may select to send data or refuse to send data according to actual conditions.
  • FIG. 1 A schematic diagram of the user terminal transmitting a floor granted ack message to the server or directly transmitting data is shown in FIG.
  • the user terminal When the user selects to send data, after the user terminal sends the floor granted ack message to the system, the user terminal enters the Permitted state, and then the user terminal performs data transmission; or, the user terminal directly enters the Permitted state, and the user terminal directly performs data transmission.
  • the server receives the above floor granted ack message or receives the data sent by the user terminal, it stops the timing of the monitoring response timer and enters the floor taken state.
  • the user terminal If the user terminal applies for transmitting media data, the user terminal immediately starts to send the media data; if the user terminal applies for When the voice data is transmitted, the user terminal starts to send the received voice data to the server.
  • FIG. 16 A schematic diagram of the user terminal sending a floor release message to the server is shown in FIG. 16.
  • the user terminal When the user chooses to refuse to send data, the user terminal sends a floor release message to the server. After receiving the floor release message sent by the user terminal, the server stops the timing of the monitoring response timer, sends a floor free message to the user terminal, and reclaims the floor authorization for the user terminal. The server enters the Idle state, and the user terminal enters the Not Permitted state.
  • FIG. 17 The schematic diagram of sending a floor free message (or floor release) to the user terminal after the timer of the server's monitoring response timer expires is shown in FIG. 17.
  • the purpose of the Floor free message is to notify the cluster server user terminal to abandon the media transmission right. Therefore, this message can re-construct a message or use the existing floor release message that rejects or releases the floor.
  • the user terminal may also not send a message to the server.
  • the server does not receive a response message from the user terminal.
  • the timing of the above monitoring response timer expires.
  • the server stops the timing of the monitoring response timer, sends a floor free message to the user terminal, reclaims the floor authorization to the user terminal, the server enters the Idle state, and the user terminal enters the Not Permitted state.
  • the server When the floor authorization of the above user terminal is reclaimed, the server will broadcast a floor free notification message, notifying that the floor is still in a free state. Alternatively, the server performs floor authorization processing for the next user terminal according to a specific processing situation (such as a support queue).
  • the embodiment of the present invention adds a Pending Indication state to the state machine of the user terminal by modifying the state machine processing of the user terminal and the system server, and adds a Pending Confirm state to the state machine of the system server, thereby enabling the user terminal.
  • you can choose to send media data or refuse to send media data according to user operations. The operability of the user is increased, and the problems of the prior art described above are effectively solved. And when the user terminal chooses to refuse to transmit the media data, the floor (media transmission right) assigned to the user terminal can be reclaimed in a short time.
  • the user terminal after receiving the floor Granted message, the user terminal directly transfers from the No Permitted state to the Permitted state. It can realize the right to send media for third party application.

Landscapes

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

Abstract

A method of transferring the states of user terminal and server, a user terminal and a server are provided. The method of transferring the state of user terminal mainly includes: a user terminal receives a message of granting the media sending right, and the user terminal transfers to waiting indication state; the user terminal transfers to permission sending state or no permission sending state, according to the user's choice. The method of transferring the state of server mainly includes: after a server sends a message of granting the media sending right to a user terminal, the server transfers to waiting acknowledgement state; the server transfers to media sending right assigned state or free state according to the response of the user terminal. According to the said method,user terminal and server, when a user terminal has received a floor granted message, the user terminal can transfer its state according to the user's choice.

Description

一种用户终端和服务器的状态迁移方法及一种用户终端和服务器 技术领域  State transition method for user terminal and server, and user terminal and server
本发明涉及通讯领域, 尤其涉及一种用户终端和服务器的状态迀移方法及一种用户终端和服务 器。  The present invention relates to the field of communications, and in particular, to a state transition method for a user terminal and a server, and a user terminal and server.
发明背景 Background of the invention
随着宽带网络的发展, 移动通信将不仅仅局限于传统的话音通信, 结合音频、 视频、 图片和文 本等多种媒体类型的多媒体业务将逐渐开展起来。 该多媒体业务可以与 presence (呈现业务)、 短 消息、 TOB (网页)浏览、 定位信息、 PUSH (推送业务)和文件共享等数据业务进行结合, 给用户提 供多种业务服务。 该多种业务服务包括:  With the development of broadband networks, mobile communications will not only be limited to traditional voice communications, but multimedia services combining multiple media types such as audio, video, pictures and text will gradually be developed. The multimedia service can be combined with presence (presentation service), short message, TOB (web) browsing, location information, PUSH (push service) and file sharing to provide users with a variety of business services. The various business services include:
消息业务: 即时消息和聊天室、 多媒体短消息等。  Messaging business: instant messaging and chat rooms, multimedia short messages, etc.
视频业务: 娱乐、 多媒体信息、 日常交流等。  Video business: entertainment, multimedia information, daily communication, etc.
电子商务: 产品目录、 搜索引擎、 购物车、 订单管理、 支付等。  E-commerce: product catalogs, search engines, shopping carts, order management, payments, etc.
游戏: 单人游戏、 群组游戏等。  Games: Single player games, group games, etc.
定位业务: 寻人、 向导、 报警等。  Positioning business: tracing people, guides, alarms, etc.
个人助理: 地址本、 日程表、 书签管理、 文件存储、 事件提醒、 电子邮件等。  Personal Assistant: Address Book, Calendar, Bookmark Management, File Storage, Event Reminder, Email, etc.
在上述多种业务服务应用的推动下, 3GPP (第三代伙伴组织计划) 标准组织推出了基于 IP 的 IMS (因特网多媒体子网)架构, 目的是在通信网络中使用一种标准化的开放的结构来实现多种多样 的多媒体应用, 提供给用户更多的选择和更丰富的感受。  Driven by the various business service applications described above, the 3GPP (Third Generation Partnership Projects) standards organization has introduced an IP-based IMS (Internet Multimedia Subnet) architecture with the goal of using a standardized open architecture in communication networks. To achieve a variety of multimedia applications, to provide users with more choices and richer feelings.
随着网络技术的发展, 多方通信成为一种逐渐普遍的业务, 为了实现多方通信必然需要有一个 统一的控制点来对系统进行管理, 并且需要确保管理的一致性和实时性。 比如, 当一个用户申请发 送音频数据时, 系统需要有且只能有一个控制点对该申请进行处理。 目前的多方多媒体通信系统包 括 PoC (基于蜂窝的即按即讲) 系统、 Conference (多媒体会议) 系统等系统。 其中 PoC系统是一 种集中控制的多方多媒体通信系统。  With the development of network technology, multi-party communication has become an increasingly common service. In order to achieve multi-party communication, it is necessary to have a unified control point to manage the system, and it is necessary to ensure the consistency and real-time management. For example, when a user requests to send audio data, the system needs to have one and only one control point to process the application. Current multi-party multimedia communication systems include PoC (Cellular Push-to-Talk) systems, Conference (Multimedia Conference) systems and the like. The PoC system is a centralized multi-party multimedia communication system.
在多方多媒体通信系统中, 存在用户终端的话权管理, 即用户终端可以申请发送媒体数据, 系 统可以限制用户终端发送媒体数据的时间长度等。 该用户终端包括集群客户端。  In the multi-party multimedia communication system, there is a call right management of the user terminal, that is, the user terminal can apply for transmitting media data, and the system can limit the length of time for the user terminal to send the media data. The user terminal includes a cluster client.
现有技术中一种用户终端的状态机的示意图如图 1所示, 用户终端的状态迁移方法为- 当用户 终端在等待请求状态中收到系统发送的 floor granted (媒体发送权准予) 后, 进入 Permitted (许 可发送) 状态。 根据状态机迁移状态的示意, 此时如果用户终端申请的是发送媒体数据, 用户终端 立即开始发送媒体数据; 如果用户终端申请的是发送语音数据, 则用户终端开始将所收到的语音数 据发送给服务器。  A schematic diagram of a state machine of a user terminal in the prior art is shown in FIG. 1. The state transition method of the user terminal is: when the user terminal receives the floor granted (message transmission permission) sent by the system in the waiting for request state, Enter the Permitted status. According to the state transition state of the state machine, if the user terminal applies for transmitting media data, the user terminal immediately starts to send media data; if the user terminal applies for transmitting voice data, the user terminal starts to send the received voice data. Give the server.
如图 1所示,如果用户终端处于 No Permitted (没有许可发送)状态,无法直接转入到 Permitted 状态, 而必须先通过发送媒体发送权请求消息迁移到媒体发送权等待请求状态, 然后在该等待请求 状态下收到 oor granted消息后, 才迁入到 Permitted状态。  As shown in Figure 1, if the user terminal is in the No Permitted state, it cannot directly go to the Permitted state. Instead, it must first migrate to the media transmission right waiting request status by sending a media transmission right request message, and then wait for it. After receiving the oor granted message in the request state, it moves to the Permitted state.
在多方多媒体通信系统中, 存在为第三方申请媒体发送权的需求。 例如 Client A为 Client B 申请的方法: Client A 向集群服务器发送一条媒体发送权请求, 该请求中指示给 Client B申请媒 体发送权, 集群服务器获取该请求后, 如果同意其申请, 就直接给 Client B发送 floor granted消 息, 即把媒体发送权授予给 Client B, 此时, Client B由于没有对应的状态进行转换, 无法处理该 floor granted消息, 该 floor granted消息可能会被认为是异常消息而被丢弃。 In a multi-party multimedia communication system, there is a need for a third party to apply for a media transmission right. For example, Client A applies for Client B. Client A sends a media transmission right request to the cluster server. The request indicates to Client B to apply for the media transmission right. After the cluster server obtains the request, if the application is approved, the client directly sends the request to the client. B sends floor granted That is, the media transmission right is granted to the client B. At this time, the client B cannot process the floor granted message because there is no corresponding state to be converted, and the floor granted message may be considered as an abnormal message and discarded.
上述现有技术的用户终端的状态迁移方法的缺点为: 在该方法中, 当用户终端在等待请求状态 中收到 floor granted消息后, 进入 Permitted状态。 此时, 用户终端立刻开始发送媒体数据, 用 户终端不能根据实际情况选择发送数据或者拒绝发送数据。 因为, 此时, 操作该用户终端的用户可 能不在用户终端旁边, 或者, 用户终端还没有准备好发送媒体数据, 在上述情况下, 用户终端并不 希望立即进行数据发送。 而在该方法中用户终端不能实现这点。  A disadvantage of the state transition method of the prior art user terminal is that: In the method, after the user terminal receives the floor granted message in the waiting for request state, the user enters the Permitted state. At this time, the user terminal immediately starts to transmit the media data, and the user terminal cannot select to transmit data or refuse to transmit data according to the actual situation. Because, at this time, the user who operates the user terminal may not be next to the user terminal, or the user terminal is not ready to send media data. In the above case, the user terminal does not want to immediately transmit data. In this method, the user terminal cannot achieve this.
在该方法中, 用户终端无法从 No Permitted状态直接转入到 Permitted状态; 无法实现为第 三方申请媒体发送权的需求。  In this method, the user terminal cannot directly transfer from the No Permitted state to the Permitted state; the requirement for the third party to apply for the media transmission right cannot be realized.
发明内容 Summary of the invention
本发明实施例的目的是提供一种用户终端和服务器的状态迁移方法及一种用户终端和服务器。 从而当用户终端收到 floor granted消息后, 可以使用户终端能够根据操作该用户终端的选择进行 状态迁移。  An object of the embodiments of the present invention is to provide a state transition method for a user terminal and a server, and a user terminal and a server. Therefore, after the user terminal receives the floor granted message, the user terminal can enable the user terminal to perform state transition according to the operation of the user terminal.
本发明的目的是通过以下技术方案实现的:  The object of the invention is achieved by the following technical solutions:
一种用户终端的状态迁移方法, 包括:  A state transition method for a user terminal includes:
用户终端接收媒体发送权准予消息, 所述用户终端将状态迁移到等待指示状态;  The user terminal receives a media transmission right grant message, and the user terminal migrates the state to a waiting indication state;
所述用户终端根据操作该用户终端的用户的选择, 将状态迁移到许可发送状态或没有许可发送 状态。  The user terminal migrates the state to the permission transmission state or the license transmission state according to the selection of the user who operates the user terminal.
一种用户终端, 包括:  A user terminal, comprising:
等待指示状态设置单元, 用于在用户终端接收到媒体发送权准予消息后, 将用户终端的状态迁 移到等待指示状态;  a waiting indication state setting unit, configured to: after the user terminal receives the media transmission right grant message, move the state of the user terminal to a waiting indication state;
等待用户操作单元, 用于将媒体发送权提示给操作该用户终端的用户, 将操作该用户终端的用 户的选择结果传输给状态迁移单元;  Waiting for a user operation unit, for prompting the media transmission right to the user operating the user terminal, and transmitting the selection result of the user operating the user terminal to the state transition unit;
状态迁移单元, 用于根据等待用户操作单元传输过来的用户的选择结果, 将所述用户终端的状 态迁移至许可发送状态或者没有许可发送状态。  The state transition unit is configured to migrate the state of the user terminal to a permission transmission state or a license transmission state according to a selection result of a user waiting for a user operation unit to transmit.
一种用户终端的状态迁移方法, 包括- 用户终端接收媒体发送权准予消息, 所述用户终端将状态迁移到许可发送状态中的用户未确认 状态;  A method for migrating a state of a user terminal, comprising: a user terminal receiving a media transmission right grant message, wherein the user terminal migrates a state to a user unacknowledged state in a permission transmission state;
所述用户终端根据操作该用户终端的用户的选择, 将状态迁移到没有许可发送状态或许可发送 状态中的用户已确认状态。  The user terminal migrates the state to the user-confirmed state in the no-transmission state or the permission-transmission state according to the selection of the user operating the user terminal.
一种用户终端, 包括:  A user terminal, comprising:
用户未确认状态设置单元, 用于在用户终端接收到媒体发送权准予消息后, 将用户终端的状态 迁移到许可发送状态中的用户未确认状态;  a user unconfirmed state setting unit, configured to migrate the state of the user terminal to a user unconfirmed state in the permission sending state after the user terminal receives the media transmission right grant message;
等待用户操作单元, 用于将媒体发送权提示给操作该用户终端的用户, 将操作该用户终端的用 户的选择结果传输给状态迁移单元;  Waiting for a user operation unit, for prompting the media transmission right to the user operating the user terminal, and transmitting the selection result of the user operating the user terminal to the state transition unit;
状态迁移单元, 用于根据等待用户操作单元传输过来的用户的选择结果, 将所述用户终端的状 态迁移到没有许可发送状态或许可发送状态中的用户已确认状态。 a state transition unit, configured to: according to a selection result of a user waiting for a user operation unit to transmit, The state is migrated to the user-confirmed state in the no-sending status or the permission-sending status.
一种服务器的状态迁移方法, 包括:  A method for state transition of a server, including:
当服务器向用户终端发送了媒体发送权准予消息后, 将服务器的状态迁移到等待确认状态; 根据所述用户终端对所述媒体发送权准予消息的响应, 将所述服务器的状态迁移到媒体发送权 分配状态或空闲状态。  After the server sends the media transmission right grant message to the user terminal, the state of the server is migrated to the waiting for confirmation state; and the state of the server is migrated to the media according to the response of the user terminal to the media transmission right grant message. The right to assign a state or an idle state.
一种服务器, 包括:  A server, comprising:
等待确认状态设置单元, 用于在服务器向用户终端发送了媒体发送权准予消息后, 将所述服务 器的状态迁移到等待确认状态;  a waiting confirmation status setting unit, configured to migrate the state of the server to a waiting for confirmation state after the server sends the media transmission right grant message to the user terminal;
媒体发送权分配状态设置单元, 用于在收到了用户终端发送的媒体发送权接受确认消息后, 或 者, 收到了用户终端发送的媒体数据后, 将所述服务器的状态从等待确认状态迁移到媒体发送权分 配状态;  The media transmission right allocation state setting unit is configured to: after receiving the media transmission right acceptance confirmation message sent by the user terminal, or after receiving the media data sent by the user terminal, migrating the state of the server from the waiting confirmation state to the media Send right allocation status;
空闲状态设置模块, 用于在收到了用户终端发送的媒体发送权释放消息后, 或者, 在设定时间 的计时到达后没有收到用户终端发送的消息或媒体数据, 将所述服务器的状态从等待确认状态迁移 到空闲状态。  The idle state setting module is configured to: after receiving the media transmission right release message sent by the user terminal, or after receiving the timing of the set time, the message or media data sent by the user terminal is not received, and the status of the server is Wait for the confirmation state to migrate to the idle state.
一种服务器的状态迁移方法, 包括:  A method for state transition of a server, including:
当服务器向用户终端发送了媒体发送权准予消息后 , 将服务器的状态迁移到媒体发送权分配状 态中的媒体发送权未确认状态;  After the server sends the media transmission right grant message to the user terminal, the state of the server is migrated to the media transmission right unacknowledged state in the media transmission right allocation state;
根据所述用户终端对所述媒体发送权准予消息的响应, 将所述服务器的状态迁移到空闲状态或 媒体发送权分配状态中的媒体发送权已确认状态。  And responding to the media transmission right grant message by the user terminal, migrating the state of the server to a media transmission right confirmed state in an idle state or a media transmission right allocation state.
—种服务器, 包括:  a kind of server, including:
媒体发送权未确认状态设置单元, 用于在服务器向用户终端发送了媒体发送权准予消息后, 将 所述服务器的状态迁移到媒体发送权分配状态中的媒体发送权未确认状态;  a media transmission right unacknowledgment status setting unit, configured to: after the server sends the media transmission right grant message to the user terminal, to migrate the state of the server to a media transmission right unacknowledged state in the media transmission right allocation state;
媒体发送权已确认状态设置单元, 用于在收到了用户终端发送的媒体发送权接受确认消息后, 或者, 收到了用户终端发送的媒体数据后, 将所述服务器的状态迁移到媒体发送权分配状态中的媒 体发送权已确认状态;  The media transmission right confirmation status setting unit is configured to: after receiving the media transmission right acceptance confirmation message sent by the user terminal, or after receiving the media data sent by the user terminal, migrating the state of the server to the media transmission right allocation The status of the media transmission right in the status has been confirmed;
空闲状态设置模块, 用于在收到了用户终端发送的媒体发送权释放消息后, 或者, 在设定时间 的计时到达后没有收到用户终端发送的消息或媒体数据,将所述服务器的状态状态迁移到空闲状态。  The idle state setting module is configured to: after receiving the media transmission right release message sent by the user terminal, or not receiving the message or media data sent by the user terminal after the time of the set time arrives, setting the state status of the server Migrate to an idle state.
由上述本发明提供的技术方案可以看出, 本发明通过在用户终端的状态机中增加 Pending Indication (等待指示) 状态, 从而可以使用户终端收到了 floor Granted消息后, 可以根据用户 操作选择发送媒体数据或者拒绝发送媒体数据。 增加了用户的可操作性。  As can be seen from the technical solution provided by the present invention, the present invention can increase the Pending Indication state in the state machine of the user terminal, so that after the user terminal receives the floor Granted message, the user can select the sending media according to the user operation. Data or refuse to send media data. Increased user operability.
附图简要说明 BRIEF DESCRIPTION OF THE DRAWINGS
图 1为现有技术中一种用户终端的基本状态机的示意图;  1 is a schematic diagram of a basic state machine of a user terminal in the prior art;
图 2为本发明实施例所述用户终端的状态迁移方法的状态机的实施例 1的示意图;  2 is a schematic diagram of Embodiment 1 of a state machine of a state transition method of a user terminal according to an embodiment of the present invention;
图 3为本发明实施例 1所述的用户终端的状态迁移方法的处理流程示意图;  3 is a schematic flowchart of processing a state transition method of a user terminal according to Embodiment 1 of the present invention;
图 4为本发明实施例所述 PoC Client A为 PoC Client B请求媒体发送权, PoC Client B接受 该媒体发送权的处理流程图; 图 5为本发明实施例所述改进后的用户终端的状态机在 OMA P0C (对象管理结构基于蜂窝的即 按即讲) 规范中的应用示意图; 4 is a flowchart of a process in which a PoC Client A requests a media transmission right and a PoC Client B accepts a media transmission right according to an embodiment of the present invention; 5 is a schematic diagram of application of an improved state machine of a user terminal in an OMA P0C (object-based management structure based on a cellular push-to-talk) specification according to an embodiment of the present invention;
图 6为本发明实施例 1提出的一种用户终端的结构示意图;  6 is a schematic structural diagram of a user terminal according to Embodiment 1 of the present invention;
图 7为本发明实施例所述用户终端的状态迁移方法的状态机的实施例 2的示意图;  FIG. 7 is a schematic diagram of Embodiment 2 of a state machine of a state transition method of a user terminal according to an embodiment of the present invention; FIG.
图 8为本发明实施例 2所述的用户终端的状态迁移方法的处理流程示意图;  8 is a schematic flowchart of a process of a state transition method of a user terminal according to Embodiment 2 of the present invention;
图 9为本发明实施例 2提出的一种用户终端的结构示意图;  9 is a schematic structural diagram of a user terminal according to Embodiment 2 of the present invention;
图 10为本发明实施例提出的系统服务器的一种状态机的示意图;  FIG. 10 is a schematic diagram of a state machine of a system server according to an embodiment of the present invention; FIG.
图 11为本发明实施例提出的一种系统服务器的结构示意图;  FIG. 11 is a schematic structural diagram of a system server according to an embodiment of the present invention;
图 12为本发明实施例提出的系统服务器的另一种状态机的示意图;  FIG. 12 is a schematic diagram of another state machine of a system server according to an embodiment of the present invention; FIG.
图 13为本发明实施例提出的另一种系统服务器的结构示意图;  FIG. 13 is a schematic structural diagram of another system server according to an embodiment of the present invention;
图 14为本发明所述用户终端进行数据发送的方法的实施例的处理流程图;  14 is a process flowchart of an embodiment of a method for data transmission by a user terminal according to the present invention;
图 15为本发明所述用户终端向服务器发送 floor granted ack消息或者直接发送数据的示意图; 图 16为本发明所述用户终端向服务器发送 floor release消息的示意图;  15 is a schematic diagram of a user terminal sending a floor granted ack message to a server or directly transmitting data according to the present invention; FIG. 16 is a schematic diagram of a user terminal sending a floor release message to a server according to the present invention;
图 17为本发明所述服务器的监控应答定时器的计时超时后, 向用户终端发送 foor free消息的 示意图。 实施本发明的方式  FIG. 17 is a schematic diagram of sending a foor free message to a user terminal after the timer of the monitoring response timer of the server of the present invention times out. Mode for carrying out the invention
本发明实施例提供了一种用户终端和服务器的状态迁移方法及一种用户终端和服务器, 本发明 实施例在用户终端收到服务器发送的媒体发送权准予消息后, 用户终端进入一个中间状态, 等待操 作该终端的用户的操作, 然后, 根据上述用户的操作, 上述用户终端进行相应的状态迁移。  The embodiment of the present invention provides a state transition method for a user terminal and a server, and a user terminal and a server. After receiving a media transmission right grant message sent by the server, the user terminal enters an intermediate state. Waiting for the operation of the user who operates the terminal, and then, according to the operation of the user, the user terminal performs a corresponding state transition.
下面结合附图来详细描述本发明实施例, 本发明实施例所述用户终端的状态迁移方法的状态机 的实施例 1的示意图如图 2所示, 该状态机和现有技术的区别在于增加了一个 Pending Indication (等待指示) 状态。  The embodiment of the present invention is described in detail below with reference to the accompanying drawings. FIG. 2 is a schematic diagram of the state machine of the state transition method of the user terminal according to the embodiment of the present invention. The difference between the state machine and the prior art is to increase. A Pending Indication status.
Pending Indication状态: 当用户终端无论在等待请求状态或 No Permitted状态, 接收到系 统发送的 floor Granted消息后, 用户终端便进入该状态。 在该状态中, 用户终端不立即进行媒体 数据发送, 等待操作该用户终端的用户的操作, 该用户根据实际情况, 可以选择发送媒体数据或者 拒绝发送媒体数据。  Pending Indication state: When the user terminal receives the floor Granted message sent by the system, whether it is waiting for the request status or No Permitted status, the user terminal enters the state. In this state, the user terminal does not immediately perform media data transmission, and waits for the operation of the user who operates the user terminal. The user may select to transmit media data or refuse to transmit media data according to actual conditions.
增加了上述 Pending Indication状态后, 本发明实施例 1所述的用户终端的状态迁移方法的处 理流程示意图如图 3所示, 包括以下步骤:  After the Pending Indication state is added, the process flow of the state transition method of the user terminal according to Embodiment 1 of the present invention is as shown in FIG. 3, and includes the following steps:
S310、 PoC Client通过某种途径申请了媒体发送权 (比如该 PoC Client用户自己申请了媒体 发送权,或者其他 PoC Client用户为该 PoC Client用户申请了媒体发送权)后,该用户将收到 floor Granted消息, 然后, 该用户进入 Pending Indication状态。  S310. The PoC Client applies for the media transmission right through some means. For example, if the PoC Client user applies for the media transmission right, or the other PoC Client user applies for the media transmission right for the PoC Client user, the user will receive the floor. Granted message, then, the user enters the Pending Indication state.
S320、 PoC Client通过振铃、 闪光等方式通知操作该 PoC Client的用户, 即把媒体发送权提 示给操作该 PoC Client的用户, 并启动确认定时器 Tc。  The S320 and the PoC Client notify the user who operates the PoC client by ringing, flashing, etc., that is, the media transmission right is presented to the user who operates the PoC Client, and the confirmation timer Tc is started.
S330、 判断上述操作该 PoC Client的用户是否在确认定时器 Tc超时之前接受媒体发送权, 如 果是进入步骤 S340, 否则进入步骤 S370; S340、 向服务器发送 Floor granted ACK (媒体发送权确认) 消息; S330, determining whether the user operating the PoC Client accepts the media transmission right before the confirmation timer Tc times out, if yes, the process proceeds to step S340, otherwise proceeds to step S370; S340. Send a Floor granted ACK message to the server.
当上述用户在确认定时器 Tc超时之前选择或者用户设置为接受授予的媒体发送权时,所述用户 终端向服务器发送 floor granted ack (媒体发送权确认) 消息。  The user terminal transmits a floor granted ack (message transmission right acknowledgement) message to the server when the user selects before the confirmation timer Tc times out or the user sets to accept the granted media transmission right.
该步骤是可选的, 也可以不发送该 Floor granted ACK消息。 如果不发送, 则服务器可以通过 收到媒体流来确认 PoC Client用户接受了媒体发送权。  This step is optional, and the Floor granted ACK message may not be sent. If not sent, the server can confirm that the PoC Client user has accepted the media transmission right by receiving the media stream.
上述过程中, 所述的接受, 可以是 PoC Client用户交互式确认, 也可以通过预先的设置接受媒 体发送权, 例如预先设置为总是接受第三方授予的媒体发送权。  In the above process, the acceptance may be an interactive confirmation by the PoC Client user, or may be accepted by the preset setting, for example, it is preset to always accept the media transmission right granted by the third party.
S350、 所述 PoC Client的状态机从 pending indication状态迁移到 permitted状态。  S350. The state machine of the PoC Client migrates from a pending indication state to a permitted state.
S360、 POC Client正常发送媒体数据。  S360 and POC Client send media data normally.
S370、 如果上述操作该 PoC Client的用户在确认定时器 Tc超时之前没有确认或者拒绝了媒体 发送权, 则所述 PoC Client的状态机将从 pending indication状态迁移到 not permitted (没有 许可发送) 状态。 然后, 所述 PoC Client向服务器发送 floor release (媒体发送权释放) 消息。  S370. If the user operating the PoC Client does not confirm or reject the media sending right before the timer Tc expires, the state machine of the PoC Client migrates from the pending indication state to the not permitted state. Then, the PoC Client sends a floor release (message transmission right release) message to the server.
上述处理流程中的 Floor Ack消息是新增加的媒体控制消息, 用于向服务器确认接受媒体发送 权; 该消息与其他的媒体控制消息一样, 可以都是基于 RTCP消息扩展的。 增加了上述 Pending Indication状态后, 本发明实施例所述 PoC Client A为 PoC Client B请 求媒体发送权, PoC Client B接受该媒体发送权的处理流程如图 4所示, 包括以下步骤:  The Floor Ack message in the above process is a newly added media control message for confirming the acceptance of the media transmission right to the server; the message, like other media control messages, may be based on the RTCP message extension. After the Pending Indication state is added, the PoC Client A in the embodiment of the present invention requests the media to send the right. The process of the PoC Client B accepting the media transmission right is as shown in FIG. 4, and includes the following steps:
S410、 Client A向服务器发送 Floor req (媒体发送权申请), 为 Client B申请媒体发送权; S420、 集群服务器向 Client B发送 Floor Granted消息, 告知该申请媒体发送权事件; S430, 同时集群服务器向 Client A发送 Floor Taken消息, 告知媒体发送权申请被接受; S410, Client A sends a Floor req (media transmission right request) to the server, and applies for a media transmission right for the client B. S420, the cluster server sends a Floor Granted message to the client B, and informs the application media transmission right event; S430, the cluster server sends Client A sends a Floor Taken message to inform the media that the right to send the application is accepted;
S440、 集群服务器启动定时器 Tx等待 Client B应答; S440, the cluster server starts the timer Tx waits for the client B to respond;
S450、 Client B提示操作该 Client B的用户确认媒体发送权, 并启动定时器 Tc, 等待操作该 Client B的用户的应答;  S450, Client B prompts the user of the Client B to confirm the media transmission right, and starts the timer Tc, waiting for the response of the user who operates the Client B;
S460、 Client B在确认定时器 Tc超时之前确认接受或 Client B用户设置为接受该媒体发送权; S470、 Client B向集群服务器发送 Floor Granted ACK消息, 确认接受该媒体发送权。 该步骤 为可选步骤, Client B也可以直接执行步骤 S480。  S460. Client B confirms acceptance before the timer Tc expires or the Client B user is set to accept the media transmission right. S470. Client B sends a Floor Granted ACK message to the cluster server, and confirms that the media transmission right is accepted. This step is optional. Client B can also directly perform step S480.
S480、 Client B向集群服务器发送媒体流数据;  S480. Client B sends media stream data to the cluster server.
S490、 集群服务器将接收到的所述媒体流发送给 Client A。  S490. The cluster server sends the received media stream to Client A.
注- 一般来说, 建议在终端启动的定时器 Tc应当小于集群服务器启动的定时器 Tx, 如 Tx为 5 秒时, 终端启动的定时器 Tc应小于 5秒。  Note - In general, it is recommended that the timer Tc started at the terminal should be less than the timer Tx started by the cluster server. If the Tx is 5 seconds, the timer Tc initiated by the terminal should be less than 5 seconds.
上述改进后的用户终端的状态机在 0MA P0C (对象管理结构基于蜂窝的即按即讲) 规范中的应 用如图 5所示。  The application of the above improved state machine of the user terminal in the 0MA P0C (Object Management Structure Based on Cellular Click-to-Talk) specification is shown in FIG.
与上述实施例 1所述的状态迁移方法相对应, 本发明实施例 1还提出了一种用户终端, 该用户 终端的结构如图 6所示, 包括如下模块:  Corresponding to the state transition method described in the foregoing embodiment 1, the embodiment 1 of the present invention further provides a user terminal. The structure of the user terminal is as shown in FIG. 6, and includes the following modules:
等待指示状态设置单元, 用于在用户终端接收到 floor Granted消息后, 迁移到等待指示状态。 等待用户操作单元, 用于将媒体发送权提示给操作该用户终端的用户, 等待操作该用户终端的 用户进行相应的操作后, 将用户操作结果传输给状态迁移单元。 The waiting indication state setting unit is configured to migrate to the waiting indication state after the user terminal receives the floor Granted message. Waiting for a user operation unit, for prompting the media transmission right to the user operating the user terminal, waiting for the operation of the user terminal After the user performs the corresponding operation, the user operation result is transmitted to the state transition unit.
状态迁移单元, 用于根据所述等待用户操作单元传输的用户操作结果, 将所述用户终端的状态 迁移至许可发送状态或者没有许可发送状态。  And a state transition unit, configured to migrate the state of the user terminal to a permission transmission state or a license transmission state according to the user operation result of the waiting user operation unit transmission.
媒体发送权请求单元, 用于为自己或其它用户终端向服务器申请媒体发送权。  The media sending right request unit is configured to apply for a media transmission right to the server for itself or other user terminals.
所述的等待用户操作单元具体包括:  The waiting user operation unit specifically includes:
媒体发送权提示单元, 用于在用户终端迁移到等待指示状态后, 向操作该用户终端的用户提示 媒体发送权。  The media sending right prompting unit is configured to prompt the user who operates the user terminal to send the media right after the user terminal migrates to the waiting indication state.
定时器单元, 用于为操作该用户终端的用户接受媒体发送权设定时间阈值;  a timer unit, configured to receive a media transmission right setting time threshold for a user operating the user terminal;
用户操作结果处理单元,用于接收操作该用户终端的用户选择的接受 /拒绝媒体发送权的操作结 果, 将该操作结果传输给状态迀移单元。  The user operation result processing unit is configured to receive an operation result of accepting/rejecting the media transmission right selected by the user operating the user terminal, and transmitting the operation result to the state migration unit.
所述的状态迁移单元具体包括:  The state transition unit specifically includes:
许可发送状态设置单元, 用于在操作该用户终端的用户接受媒体发送权后, 将用户终端的状态 迁移至许可发送状态。  The license transmission status setting unit is configured to migrate the state of the user terminal to the permission transmission state after the user operating the user terminal accepts the media transmission right.
没有许可发送状态设置单元, 用于在操作该用户终端的用户没有接受媒体发送权后, 将用户终 端的状态迁移至没有许可发送状态。  There is no permission transmission status setting unit for migrating the state of the user terminal to the state without permission transmission after the user operating the user terminal does not accept the media transmission right.
媒体发送权释放消息发送单元, 用于在用户终端的状态迁移至没有许可发送状态后, 向所述服 务器发送 floor release (媒体发送权释放) 消息。 本发明实施例所述用户终端的状态迁移方法的状态机的实施例 2的示意图如图 7所示, 该状态 机和现有技术的区别在于将上述 Pending Indication状态作为 Permitted状态的子状态(或者内部 状态)存在, 即不在现有的用户终端的状态机中增加新的状态, 只对现有用户终端的 Permitted状 态中增加新的事件处理过程。 在 Permitted状态的内部有两种子状态: 用户对 Floor已确认和用户 对 Floor未确认(即等待指示状态), 该两个状态可以通过设置一个内部标志符 UserConfirmFlag来 实现, UserConfirmFlag取值为: "User Confirming"或 " User Confirmed", 用于区分两种子状态。  The media transmission right release message sending unit is configured to send a floor release (media transmission right release) message to the server after the state of the user terminal migrates to the state without the permission to send. FIG. 7 is a schematic diagram of Embodiment 2 of a state machine of a state transition method of a user terminal according to an embodiment of the present invention. The state machine differs from the prior art in that the Pending Indication state is a substate of a Permitted state (or The internal state exists, that is, the new state is not added to the state machine of the existing user terminal, and only a new event processing process is added to the Permitted state of the existing user terminal. There are two sub-states in the Permitted state: the user has confirmed the Floor and the user has not confirmed the Floor (that is, waits for the indication status). The two states can be implemented by setting an internal identifier UserConfirmFlag. The value of UserConfirmFlag is: "User Confirming" or "User Confirmed" is used to distinguish between two substates.
将上述 Pending Indication状态作为 Permitted状态的子状态存在后, 本发明实施例 2所述 的用户终端的状态迁移方法的处理流程示意图如图 8所示, 包括以下步骤:  After the Pending Indication state is a sub-state of the Permitted state, the process flow of the state transition method of the user terminal according to Embodiment 2 of the present invention is as shown in FIG. 8, and includes the following steps:
S810、 PoC Client通过某种途径申请了媒体发送权(比如该 PoC Client用户自己申请媒体发 送权, 或者其他 PoC Client用户为该 PoC Client用户申请了媒体发送权) 后, 该用户将收到 floor Granted消息, 然后, 该用户进入 Permitted状态。  After the S810 and the PoC Client apply for the media transmission right through some means (for example, the PoC Client user applies for the media transmission right, or the other PoC Client user applies for the media transmission right for the PoC Client user), the user will receive the floor Granted. The message, then, the user enters the Permitted state.
S820、 PoC Client把 UserConfirmFlag置为 User Confirming, 即进入用户对 Floor未确认(等 待指示状态), 把媒体发送权提示给操作该 PoC Client的用户并启动定时器 Tc;  S820, PoC Client sets UserConfirmFlag to User Confirming, that is, the user does not confirm the floor (waiting for indication status), and the media transmission right is prompted to the user who operates the PoC Client and starts the timer Tc;
S830、 上述 PoC Client判断操作该 PoC Client的用户是否在定时器 Tc超时之前接受媒体发送 权; 如果是进入步骤 S840, 否则进入步骤 S860;  S830, the PoC Client determines whether the user operating the PoC Client accepts the media transmission right before the timer Tc times out; if the process proceeds to step S840, otherwise proceeds to step S860;
S840、 把 UserConfirmFlag置为 User Confirmed, 即进入用户对 Floor已确认状态; 如果 PoC Client用户在定时器 Tc超时之前接受媒体发送权, 把 UserConfirmFlag置为 User S840, setting UserConfirmFlag to User Confirmed, that is, entering the user-to-floor confirmed state; if the PoC Client user accepts the media sending right before the timer Tc times out, setting UserConfirmFlag to User
Conf irined。 该步骤中的 PoC Client用户对媒体发送权的接受, 可以是 PoC Client用户交互式确认, 也可 以通过预先的设置接受媒体发送权,例如预先设置为不接受第三方授予的媒体发送权,则 PoC Client 总是拒绝第三方的媒体发送权; Conf irined. The PoC Client user's acceptance of the media transmission right in this step may be an interactive confirmation by the PoC Client user, or may accept the media transmission right through a preset setting, for example, pre-set to not accept the media transmission right granted by the third party, then PoC Client always refuses the right to send media from third parties;
S850、 PoC Client正常发送媒体;  The S850 and PoC Client send media normally.
S860、 如果上述操作该 PoC Client的用户在确认定时器 Tc超时之前没有确认或者拒绝了媒体 发送权, 则所述 PoC Client的状态机将从 permitted状态迁移到 not permitted状态。 然后, 所述 PoC Client向服务器发送 floor release消息。  S860. If the user of the PoC Client does not confirm or reject the media sending right before the timer Tc expires, the state machine of the PoC Client will migrate from the permitted state to the not permitted state. Then, the PoC Client sends a floor release message to the server.
注- 一般来说, 建议在终端启动的定时器 Tc应当小于集群服务器启动的定时器 Tx, 如 Τχ为 5 秒时, 终端启动的定时器 Tc应小于 5秒。  Note - In general, it is recommended that the timer Tc started at the terminal should be less than the timer Tx started by the cluster server. If it is 5 seconds, the timer Tc of the terminal should be less than 5 seconds.
与上述实施例 2所述的状态迁移方法相对应, 本发明实施例 2还提出了一种用户终端, 该用户 终端的结构如图 9所示, 包括如下模块:  Corresponding to the state transition method described in Embodiment 2, Embodiment 2 of the present invention further provides a user terminal. The structure of the user terminal is as shown in FIG. 9, and includes the following modules:
用户未确认状态设置单元, 用于在用户终端接收到媒体发送权准予消息后, 将用户终端的状态 迁移到许可发送状态中的用户未确认状态;  a user unconfirmed state setting unit, configured to migrate the state of the user terminal to a user unconfirmed state in the permission sending state after the user terminal receives the media transmission right grant message;
等待用户操作单元, 用于将媒体发送权提示给操作该用户终端的用户, 将操作该用户终端的用 户的选择结果传输给状态迁移单元;  Waiting for a user operation unit, for prompting the media transmission right to the user operating the user terminal, and transmitting the selection result of the user operating the user terminal to the state transition unit;
状态迁移单元, 用于根据等待用户操作单元传输过来的用户的选择结果, 将所述用户终端的状 态迁移到没有许可发送状态或许可发送状态中的用户已确认状态。  The state transition unit is configured to migrate the state of the user terminal to a user confirmed state in a non-permitted transmission state or a permission transmission state according to a selection result of a user waiting for the user operation unit to transmit.
媒体发送权请求单元, 用于为本用户终端或其它用户终端向服务器申请媒体发送权。  The media sending right requesting unit is configured to apply for a media sending right to the server for the user terminal or other user terminal.
所述的等待用户操作单元具体包括:  The waiting user operation unit specifically includes:
媒体发送权提示单元, 用于在用户终端迁移到等待指示状态后, 向操作该用户终端的用户提示 媒体发送权;  a media sending right prompting unit, configured to prompt a user who operates the user terminal to send a media right after the user terminal migrates to the waiting indication state;
定时器单元, 用于为操作该用户终端的用户接受媒体发送权设定时间阈值;  a timer unit, configured to receive a media transmission right setting time threshold for a user operating the user terminal;
用户操作结果处理单元, 用于接收操作该用户终端的用户返回的接受或拒绝媒体发送权的选择 结果, 将该选择结果传输给状态迁移单元。  The user operation result processing unit is configured to receive a selection result of accepting or rejecting the media transmission right returned by the user operating the user terminal, and transmitting the selection result to the state transition unit.
所述的状态迁移单元具体包括:  The state transition unit specifically includes:
用户已确认状态设置单元, 用于在接收到操作该用户终端的用户返回的接受媒体发送权的选择 结果后, 将用户终端的状态迁移至许可发送状态中的用户已确认状态;  a user confirmed status setting unit, configured to migrate the state of the user terminal to the user confirmed state in the permission sending state after receiving the selection result of the receiving media transmission right returned by the user operating the user terminal;
没有许可发送状态设置单元, 用于在接收到操作该用户终端的用户返回的拒绝媒体发送权的选 择结果后, 将用户终端的状态迁移至没有许可发送状态;  There is no permission transmission status setting unit, configured to migrate the state of the user terminal to the non-permission transmission state after receiving the selection result of rejecting the media transmission right returned by the user operating the user terminal;
媒体发送权释放消息发送单元, 用于在用户终端的状态迁移至没有许可发送状态后, 向服务器 发送媒体发送权释放消息。 本发明实施例对系统服务器的状态机也进行了改进, 本发明实施例提出的系统服务器的状态机 如图 10所示。 该状态机和现有技术的区别在于增加了一个 Pending Confirm (等待确认) 状态。  The media sending right release message sending unit is configured to send a media sending right release message to the server after the state of the user terminal migrates to the state without the permission to send. The state machine of the system server is also improved in the embodiment of the present invention. The state machine of the system server according to the embodiment of the present invention is as shown in FIG. The difference between this state machine and the prior art is the addition of a Pending Confirm status.
Pending Confirm状态: 当服务器向用户终端发送了 floor granted消息后, 服务器便从 Floor taken (媒体发送权分配)状态进入 Pending Confirm状态, 并且启动监控应答定时器的计时。 所述服务器的 Pending Confirm状态将根据不同的条件触发进行状态迁移: Pending Confirm Status: When the server sends a floor grant message to the user terminal, the server enters the Pending Confirm state from the Floor taken status and starts the monitoring response timer. The Pending Confirm status of the server will trigger a state transition according to different conditions:
当服务器收到了用户终端发送的 floor granted ack消息后, 或者, 收到了用户终端发送的媒 体数据后, 所述服务器状态机将从 Pending Confirm状态迁移到 Floor taken (媒体发送权分配) 状态;  After the server receives the floor granted ack message sent by the user terminal, or after receiving the media data sent by the user terminal, the server state machine will migrate from the Pending Confirm state to the Floor taken (media transmission right allocation) state;
当服务器收到了用户终端发送的 floor release消息后, 或者, 所述设定时间的计时到达后没 有收到用户终端发送的消息和数据,服务器便停止上述监控应答定时器的计时,向用户终端发送 foor free (媒体发送权空闲) 消息, 所述服务器状态机将从 Pending Confirm状态迁移到 Idle (空闲) 状态。  After receiving the floor release message sent by the user terminal, or after receiving the message and data sent by the user terminal, the server stops the timing of the monitoring response timer and sends the message to the user terminal. The foor free message, the server state machine will migrate from the Pending Confirm state to the Idle state.
与上述图 10所示的状态机相对应, 本发明实施例还提出了一种服务器, 该服务器的结构如图 11所示, 包括如下模块 - 等待确认状态设置单元, 用于在服务器向用户终端发送了 floor granted消息后, 将所述服务 器的状态迁移到 Pending Confirm状态。  Corresponding to the state machine shown in FIG. 10, the embodiment of the present invention further provides a server. The structure of the server is as shown in FIG. 11, and includes the following module - a waiting confirmation status setting unit, for the server to the user terminal. After the floor granted message is sent, the state of the server is migrated to the Pending Confirm state.
媒体发送权分配状态设置单元, 用于在收到了用户终端发送的 floor granted ack消息后, 或 者, 收到了用户终端发送的媒体数据后, 将所述服务器的状态从 Pending Confirm状态迁移到 Floor taken状态。  The media transmission right allocation state setting unit is configured to: after receiving the floor granted ack message sent by the user terminal, or after receiving the media data sent by the user terminal, migrating the state of the server from the Pending Confirm state to the Floor taken state .
空闲状态设置模块, 用于在收到了用户终端发送的 floor release消息后, 或者, 所述设定时 间的计时到达后没有收到用户终端发送的消息或媒体数据, 向用户终端发送 foor free (媒体发送 权空闲) 消息, 将所述服务器的状态从 Pending Confirm状态迁移到空闲状态。  The idle state setting module is configured to: after receiving the floor release message sent by the user terminal, or after receiving the set time, the message or media data sent by the user terminal is not received, and the speaker is sent to the user terminal. The Send Right Idle message, which migrates the state of the server from the Pending Confirm state to the idle state.
定时器单元, 用于为操作该用户终端的用户接受媒体发送权设定时间阈值, 在收到了用户终端 发送的 floor release消息或媒体数据后, 服务器便停止上述监控应答定时器的计时。 上述的 Pending Confirm状态还可以作为 Floor Taken状态的子状态 (或者内部状态) 存在, 即不在现有服务器的状态机中增加新的状态, 只对现有服务器的 Floor Taken状态中增加新的事件 处理过程。 当 Pending Confirm状态作为 Floor Taken状态的子状态时, 服务器的状态机的示意图 如图 12所示。 用户终端的状态机处于 Permitted状态时的具体处理过程如下:  The timer unit is configured to receive a media transmission right setting time threshold for the user operating the user terminal, and after receiving the floor release message or the media data sent by the user terminal, the server stops counting the monitoring response timer. The above Pending Confirm state can also exist as a substate (or internal state) of the Floor Taken state, that is, it does not add a new state to the state machine of the existing server, and only adds new event processing to the existing server's Floor Taken state. process. When the Pending Confirm state is a substate of the Floor Taken state, a schematic diagram of the server's state machine is shown in Figure 12. The specific processing procedure when the state machine of the user terminal is in the Permitted state is as follows:
当服务器发送了 Send Floor Granted后,便从 Idle状态迁移到 Floor Taken状态,在 Floor Taken 状态, 内部有两种子状态, Floor已确认和 Floor未确认 (即 Pending Confirm状态), 该两个状态 可以通过设置一个内部标志符来实现。  When the server sends the Send Floor Granted, it migrates from the Idle state to the Floor Taken state. In the Floor Taken state, there are two substates inside, Floor confirmed and Floor unacknowledged (that is, Pending Confirm state). The two states can pass. Set an internal identifier to achieve.
当服务器状态从 Idle迁移到 Floor Taken时候, 服务器 Floor Taken状态的初始状态是 Floor 未确认, 此时可以处理 floor Granted ack消息或者 floor release消息或者媒体数据 (Receive Data)o 当服务器收到用户终端发送的 floor granted ack消息或者媒体数据后, Floor Taken的子 状态从 Floor未确认迁移到 Floor已确认。  When the server status is migrated from Idle to Floor Taken, the initial state of the server's Floor Taken state is Floor unacknowledged. At this time, the floor Granted ack message or the floor release message or the media data (Receive Data) can be processed. When the server receives the user terminal, it sends the message. After the floor granted ack message or media data, the substate of Floor Taken is confirmed from the unconfirmed migration of Floor to Floor.
当服务器收到了用户终端发送的 floor release消息后, 或者, 所述设定时间的计时到达后没 有收到用户终端发送的消息,服务器便停止上述监控应答定时器的计时,向用户终端发送 floor free 消息, 所述服务器状态机将从 Floor Taken状态迁移到 Idle状态。  After the server receives the floor release message sent by the user terminal, or does not receive the message sent by the user terminal after the time of the set time arrives, the server stops the timing of the monitoring response timer, and sends floor free to the user terminal. Message, the server state machine will migrate from the Floor Taken state to the Idle state.
与上述图 12所示的状态机相对应, 本发明实施例还提出了一种服务器, 该服务器的结构如图 13所示, 包括如下模块: Corresponding to the state machine shown in FIG. 12 above, the embodiment of the present invention further provides a server, and the structure of the server is as shown in the figure. 13, including the following modules:
媒体发送权未确认状态设置单元, 用于在服务器向用户终端发送了 floor granted消息后, 将 所述服务器的状态迁移到 Floor Taken状态中的 Floor未确认状态。  The media transmission right unacknowledgment status setting unit is configured to migrate the state of the server to the Floor unconfirmed state in the Floor Taken state after the server sends the floor granted message to the user terminal.
媒体发送权已确认状态设置单元, 用于在收到了用户终端发送的 floor granted ack消息后, 或者, 收到了用户终端发送的媒体数据后, 将所述服务器的状态从 Floor Taken状态中的 Floor未 确认状态迁移到 Floor taken状态中的 Floor已确认状态。  The media transmission right confirmed status setting unit is configured to: after receiving the floor granted ack message sent by the user terminal, or after receiving the media data sent by the user terminal, the status of the server is from the Floor of the Floor Taken state. Confirm that the status has been migrated to the Floor confirmed status in the Floor taken state.
空闲状态设置模块, 用于在收到了用户终端发送的 floor release消息后, 或者, 所述设定时 间的计时到达后没有收到用户终端发送的消息或媒体数据, 向用户终端发送 floor free (媒体发送 权空闲) 消息, 将所述服务器的状态从 Floor Taken状态中的 Floor未确认状态迁移到空闲状态。  The idle state setting module is configured to: after receiving the floor release message sent by the user terminal, or after receiving the set time, the message or media data sent by the user terminal is not received, and the floor free is sent to the user terminal. The Send Right Idle message, which migrates the state of the server from the Floor unacknowledged state in the Floor Taken state to the idle state.
定时器单元, 用于为操作该用户终端的用户接受媒体发送权设定时间阈值, 在收到了用户终端 发送的 floor release消息或媒体数据后, 服务器便停止上述监控应答定时器的计时。 应用了上述用户终端和服务器的状态机后, 本发明实施例所述用户终端进行数据发送的方法的 实施例的处理流程如图 14所示, 包括如下步骤:  The timer unit is configured to receive a media transmission right setting time threshold for the user operating the user terminal, and after receiving the floor release message or the media data sent by the user terminal, the server stops counting the monitoring response timer. After the state machine of the user terminal and the server is applied, the processing flow of the embodiment of the method for transmitting data by the user terminal in the embodiment of the present invention is as shown in FIG. 14 , and includes the following steps:
步骤 14-1、 服务器对用户终端进行检测通过后, 向用户终端发送 floor granted消息。  Step 14-1: After the server detects the user terminal, the server sends a floor granted message to the user terminal.
当服务器收到对某个用户终端进行 floor授权的指示后; 或者, 服务器收到某个用户终端的 floor授权请求后; 或者, 服务器收到其它用户终端发来的给指定用户终端的 floor授权请求后; 或者, 服务器基于其他机制决定给某个用户终端进行 floor授权。  After the server receives an indication of floor authorization for a user terminal; or, the server receives a floor authorization request of a user terminal; or, the server receives a floor authorization request from the other user terminal to the specified user terminal. After that; or, the server decides to perform floor authorization for a user terminal based on other mechanisms.
则服务器对上述用户终端进行检测,当检测通过后确认可以对该用户终端进行媒体发送权授权, 则服务器向该用户终端发送 floor granted消息。  Then, the server detects the user terminal, and after confirming that the user terminal can perform the media transmission right authorization, the server sends a floor granted message to the user terminal.
步骤 14-2、 用户终端接收到服务器发送的 floor granted消息后, 不立即进行数据发送, 进入 Pending Indication状态, 等待用户的操作。  Step 14-2: After receiving the floor granted message sent by the server, the user terminal does not immediately send data, enters the Pending Indication state, and waits for the user's operation.
当用户终端接收到服务器发送的 floor granted消息后, 用户终端不立即进行数据发送, 进入 上述 Pending Indication状态。 用户终端通过振铃、 闪光等方式通知操作该用户终端的用户, 等待 该用户的操作。  After the user terminal receives the floor granted message sent by the server, the user terminal does not immediately send data, and enters the Pending Indication state. The user terminal notifies the user who operates the user terminal by ringing, flashing, etc., and waits for the operation of the user.
同时, 服务器也进入上述 Pending Confirm状态, 并且启动监控应答定时器的计时。  At the same time, the server also enters the above Pending Confirm state and starts the timing of the monitoring response timer.
步骤 14-3、 用户终端在 Pending Indication状态中, 根据实际情况, 选择发送数据或者拒绝 发送数据, 并进行相应的处理。  Step 14-3: The user terminal selects to send data or refuse to send data according to the actual situation in the Pending Indication state, and performs corresponding processing.
在用户终端进入上述 Pending Indication状态后, 用户终端不立即进行数据发送, 等待操作该 用户终端的用户的操作, 该用户根据实际情况, 可以选择发送数据或者拒绝发送数据。  After the user terminal enters the Pending Indication state, the user terminal does not immediately perform data transmission, and waits for the operation of the user operating the user terminal. The user may select to send data or refuse to send data according to actual conditions.
用户终端向服务器发送 floor granted ack消息或者直接发送数据的示意图如图 15所示。 当用户选择发送数据时, 则用户终端向系统发送 floor granted ack消息后, 该用户终端进入 Permitted状态, 然后, 用户终端进行数据发送; 或者, 该用户终端直接进入 Permitted状态, 用 户终端直接进行数据发送。 当服务器收到上述 floor granted ack消息或者收到了用户终端发送的 数据后, 便停止上述监控应答定时器的计时, 进入 Floor taken状态。  A schematic diagram of the user terminal transmitting a floor granted ack message to the server or directly transmitting data is shown in FIG. When the user selects to send data, after the user terminal sends the floor granted ack message to the system, the user terminal enters the Permitted state, and then the user terminal performs data transmission; or, the user terminal directly enters the Permitted state, and the user terminal directly performs data transmission. . When the server receives the above floor granted ack message or receives the data sent by the user terminal, it stops the timing of the monitoring response timer and enters the floor taken state.
如果用户终端申请的是发送媒体数据, 用户终端立即开始发送媒体数据; 如果用户终端申请的 是发送语音数据, 则用户终端开始将所收到的语音数据发送给服务器。 If the user terminal applies for transmitting media data, the user terminal immediately starts to send the media data; if the user terminal applies for When the voice data is transmitted, the user terminal starts to send the received voice data to the server.
用户终端向服务器发送 floor release消息的示意图如图 16所示。  A schematic diagram of the user terminal sending a floor release message to the server is shown in FIG. 16.
当用户选择拒绝发送数据时, 则用户终端向服务器发送 floor release消息。 当服务器收到了 用户终端发送的 floor release消息后, 便停止上述监控应答定时器的计时, 向用户终端发送 floor free消息, 收回对用户终端的 floor授权。 服务器进入 Idle状态, 该用户终端进入 Not Permitted 状态。  When the user chooses to refuse to send data, the user terminal sends a floor release message to the server. After receiving the floor release message sent by the user terminal, the server stops the timing of the monitoring response timer, sends a floor free message to the user terminal, and reclaims the floor authorization for the user terminal. The server enters the Idle state, and the user terminal enters the Not Permitted state.
服务器的监控应答定时器的计时超时后,向用户终端发送 floor free消息(或者 floor release) 的示意图如图 17所示。  The schematic diagram of sending a floor free message (or floor release) to the user terminal after the timer of the server's monitoring response timer expires is shown in FIG. 17.
Floor free消息的目的是通知集群服务器用户终端放弃媒体发送权, 因此此条消息既可以重新 构造一条消息, 也可以使用现有拒绝或者释放发言权的 floor release消息完成此项功能。  The purpose of the Floor free message is to notify the cluster server user terminal to abandon the media transmission right. Therefore, this message can re-construct a message or use the existing floor release message that rejects or releases the floor.
当用户选择拒绝发送数据时, 用户终端也可以不向服务器发送消息。 当超过了设定的时间后, 服务器没有收到用户终端的应答消息, 此时, 上述监控应答定时器的计时超时。 服务器便停止上述 监控应答定时器的计时, 向用户终端发送 floor free消息, 收回对用户终端的 floor授权, 服务器 进入 Idle状态, 该用户终端进入 Not Permitted状态。  When the user chooses to refuse to send data, the user terminal may also not send a message to the server. After the set time has elapsed, the server does not receive a response message from the user terminal. At this time, the timing of the above monitoring response timer expires. The server stops the timing of the monitoring response timer, sends a floor free message to the user terminal, reclaims the floor authorization to the user terminal, the server enters the Idle state, and the user terminal enters the Not Permitted state.
当上述用户终端的 floor授权被收回后, 服务器将会广播 floor free 的通知消息, 通知目前 floor仍然处于自由状态。 或者, 服务器根据具体处理情况 (比如支持队列) 进行下一个用户终端 的 floor授权处理。  When the floor authorization of the above user terminal is reclaimed, the server will broadcast a floor free notification message, notifying that the floor is still in a free state. Alternatively, the server performs floor authorization processing for the next user terminal according to a specific processing situation (such as a support queue).
综上所述, 本发明实施例通过修改用户终端和系统服务器的状态机处理, 在用户终端的状态机 中增加 Pending Indication状态, 在系统服务器的状态机中增加 Pending Confirm状态, 从而可以 使用户终端收到了 floor Granted消息后, 可以根据用户操作选择发送媒体数据或者拒绝发送媒体 数据。 增加了用户的可操作性, 有效地解决了上述现有技术的问题。 并且在用户终端选择拒绝发送 媒体数据时, 可以在很短的时间内收回分配给该用户终端的 floor (媒体发送权)。  In summary, the embodiment of the present invention adds a Pending Indication state to the state machine of the user terminal by modifying the state machine processing of the user terminal and the system server, and adds a Pending Confirm state to the state machine of the system server, thereby enabling the user terminal. After receiving the floor Granted message, you can choose to send media data or refuse to send media data according to user operations. The operability of the user is increased, and the problems of the prior art described above are effectively solved. And when the user terminal chooses to refuse to transmit the media data, the floor (media transmission right) assigned to the user terminal can be reclaimed in a short time.
本发明实施例可以使用户终端收到了 floor Granted消息后, 从 No Permitted状态直接转入 到 Permitted状态。 能够实现为第三方申请媒体发送权。  In the embodiment of the present invention, after receiving the floor Granted message, the user terminal directly transfers from the No Permitted state to the Permitted state. It can realize the right to send media for third party application.
以上所述, 仅为本发明较佳的具体实施方式, 但本发明的保护范围并不局限于此, 任何熟悉本 技术领域的技术人员在本发明揭露的技术范围内, 可轻易想到的变化或替换, 都应涵盖在本发明的 保护范围之内。 因此, 本发明的保护范围应该以权利要求的保护范围为准。  The above is only a preferred embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or within the technical scope disclosed by the present invention. Alternatives are intended to be covered by the scope of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

权利要求 Rights request
1、 一种用户终端的状态迁移方法, 其特征在于, 包括:  A state transition method for a user terminal, comprising:
用户终端接收媒体发送权准予消息, 所述用户终端将状态迁移到等待指示状态;  The user terminal receives a media transmission right grant message, and the user terminal migrates the state to a waiting indication state;
所述用户终端根据操作该用户终端的用户的选择, 将状态迁移到许可发送状态或没有许可发送 状态。  The user terminal migrates the state to the permission transmission state or the license transmission state according to the selection of the user who operates the user terminal.
2、根据权利要求 1所述的用户终端的状态迁移方法, 其特征在于, 所述用户终端接收媒体发送 权准予消息之前, 还包括:  The state transition method of the user terminal according to claim 1, wherein before the user terminal receives the media transmission right grant message, the method further includes:
所述用户终端向服务器申请媒体发送权, 或者其它用户终端向服务器为所述用户终端申请媒体 发送权。  The user terminal applies for a media transmission right to the server, or other user terminals apply for a media transmission right for the user terminal to the server.
3、根据权利要求 1或 2所述的用户终端的状态迁移方法, 其特征在于, 所述用户终端根据操作 该用户终端的用户的选择, 将状态迁移到许可发送状态或没有许可发送状态, 具体包括:  The state transition method of the user terminal according to claim 1 or 2, wherein the user terminal migrates the state to a permission transmission state or a license transmission state according to the selection of the user who operates the user terminal, specifically Includes:
所述用户终端向操作该用户终端的用户提示接收到媒体发送权;  The user terminal prompts the user who operates the user terminal to receive the media transmission right;
所述用户终端判断操作该用户终端的用户是否接受媒体发送权, 如果是, 将状态迁移到许可发 送状态, 否则; 将状态迁移到没有许可发送状态。  The user terminal determines whether the user operating the user terminal accepts the media transmission right, and if so, moves the state to the permission transmission state, otherwise; migrates the state to the no permission transmission state.
4、根据权利要求 3所述的用户终端的状态迁移方法, 其特征在于, 所述用户终端判断操作该用 户终端的用户是否接受媒体发送权, 具体包括:  The state transition method of the user terminal according to claim 3, wherein the user terminal determines whether the user operating the user terminal accepts the media transmission right, which specifically includes:
根据操作该用户终端的用户返回的指示, 确定所述操作该用户终端的用户接受或拒绝媒体发送 权;  Determining, according to an instruction returned by the user operating the user terminal, that the user operating the user terminal accepts or rejects the media transmission right;
或者;  Or
根据所述操作该用户终端的用户的预先设置, 确定所述操作该用户终端的用户接受或拒绝媒体 发送权;  Determining, according to the preset setting of the user of the user terminal, that the user operating the user terminal accepts or rejects the media sending right;
或者,  Or,
设置定时器, 在所述定时器的定时时长到达后, 没有接收到所述操作该用户终端的用户返回的 指示, 则确定所述操作该用户终端的用户拒绝媒体发送权。  And setting a timer, after receiving the instruction that the user of the user terminal returns, after receiving the timing of the timer, determining that the user operating the user terminal rejects the media transmission right.
5、 根据权利要求 3所述的用户终端的状态迁移方法, 其特征在于, 所述方法还包括: 所述用户终端将状态迁移到许可发送状态后, 向服务器发送媒体发送权接受确认消息, 并进行 媒体数据发送;  The method for migrating the state of the user terminal according to claim 3, wherein the method further comprises: after the user terminal moves the state to the permission transmission state, sending a media transmission right acceptance confirmation message to the server, and Send media data;
所述用户终端将状态迁移到没有许可发送状态后, 向服务器发送媒体发送权释放消息。  After the user terminal migrates the state to the state without the permission to send, the user terminal sends a media transmission right release message to the server.
6、一种用户终端, 其特征在于, 包括- 等待指示状态设置单元, 用于在用户终端接收到媒体发送权准予消息后, 将用户终端的状态迁 移到等待指示状态;  A user terminal, comprising: a waiting indication state setting unit, configured to: after the user terminal receives the media transmission right grant message, move the state of the user terminal to a waiting indication state;
等待用户操作单元, 用于将媒体发送权提示给操作该用户终端的用户, 将操作该用户终端的用 户的选择结果传输给状态迁移单元;  Waiting for a user operation unit, for prompting the media transmission right to the user operating the user terminal, and transmitting the selection result of the user operating the user terminal to the state transition unit;
状态迁移单元, 用于根据等待用户操作单元传输过来的用户的选择结果, 将所述用户终端的状 态迁移至许可发送状态或者没有许可发送状态。 The state transition unit is configured to migrate the state of the user terminal to a permission transmission state or a license transmission state according to a selection result of a user waiting for a user operation unit to transmit.
7、 根据权利要求 6所述的用户终端, 其特征在于, 所述用户终端还包括- 媒体发送权请求单元, 用于为本用户终端或其它用户终端向服务器申请媒体发送权。 The user terminal according to claim 6, wherein the user terminal further comprises: a media transmission right requesting unit, configured to apply for a media transmission right to the server for the user terminal or other user terminal.
8、 根据权利要求 6或 7所述的用户终端, 其特征在于, 所述的等待用户操作单元具体包括: 媒体发送权提示单元, 用于在用户终端迁移到等待指示状态后, 向操作该用户终端的用户提示 媒体发送权;  The user terminal according to claim 6 or 7, wherein the waiting user operation unit specifically includes: a media transmission right prompting unit, configured to operate the user after the user terminal migrates to the waiting indication state The user of the terminal prompts the media to send the right;
定时器单元, 用于为操作该用户终端的用户接受媒体发送权设定时间阈值;  a timer unit, configured to receive a media transmission right setting time threshold for a user operating the user terminal;
用户操作结果处理单元, 用于接收操作该用户终端的用户返回的接受或拒绝媒体发送权的选择 结果, 将该选择结果传输给状态迁移单元。  The user operation result processing unit is configured to receive a selection result of accepting or rejecting the media transmission right returned by the user operating the user terminal, and transmitting the selection result to the state transition unit.
9、 根据权利要求 6或 7所述的用户终端, 其特征在于, 所述的状态迁移单元具体包括: 许可发送状态设置单元, 用于在接收到等待用户操作单元传输过来的操作该用户终端的用户返 回的接受媒体发送权的选择结果后, 将用户终端的状态迁移至许可发送状态;  The user terminal according to claim 6 or 7, wherein the state transition unit specifically includes: a permission transmission state setting unit, configured to receive the operation of the user terminal after waiting for the user operation unit to transmit After receiving the selection result of the media transmission right returned by the user, the state of the user terminal is migrated to the permission transmission state;
没有许可发送状态设置单元, 用于在接收到等待用户操作单元传输过来的操作该用户终端的用 户返回的拒绝媒体发送权的选择结果后, 将用户终端的状态迁移至没有许可发送状态;  a permission transmission status setting unit, configured to migrate the state of the user terminal to a non-permission transmission state after receiving a selection result of rejecting the media transmission right returned by the user operating the user terminal transmitted by the user operation unit;
媒体发送权释放消息发送单元, 用于在用户终端的状态迁移至没有许可发送状态后, 向服务器 发送媒体发送权释放消息。  The media sending right release message sending unit is configured to send a media sending right release message to the server after the state of the user terminal migrates to the state without the permission to send.
10、 一种用户终端的状态迁移方法, 其特征在于, 包括:  A method for migrating a state of a user terminal, comprising:
用户终端接收媒体发送权准予消息, 所述用户终端将状态迁移到许可发送状态中的用户未确认 状态;  The user terminal receives a media transmission right grant message, and the user terminal migrates the state to a user unacknowledged state in the permission transmission state;
所述用户终端根据操作该用户终端的用户的选择, 将状态迁移到没有许可发送状态或许可发送 状态中的用户已确认状态。  The user terminal migrates the state to the user-confirmed state in the no-transmission state or the permission-transmission state according to the selection of the user operating the user terminal.
11、根据权利要求 10所述的用户终端的状态迁移方法, 其特征在于, 所述用户终端接收媒体发 送权准予消息之前, 还包括:  The state transition method of the user terminal according to claim 10, wherein before the user terminal receives the media transmission right grant message, the method further includes:
所述用户终端向服务器申请媒体发送权, 或者其它用户终端向服务器为所述用户终端申请媒体 发送权。  The user terminal applies for a media transmission right to the server, or other user terminals apply for a media transmission right for the user terminal to the server.
12、 根据权利要求 10所述的用户终端的状态迁移方法, 其特征在于, 所述许可发送状态中的用 户未确认状态或用户已确认状态通过预先设置的标志来区分。  The state transition method of the user terminal according to claim 10, wherein the user unconfirmed state or the user confirmed state in the permission transmitting state is distinguished by a flag set in advance.
13、根据权利要求 10或 11或 12所述的用户终端的状态迁移方法, 其特征在于, 所述用户终端 根据操作该用户终端的用户的选择, 将状态迁移到没有许可发送状态或许可发送状态中的用户已确 认状态, 具体包括:  The method for migrating a state of a user terminal according to claim 10 or 11 or 12, wherein the user terminal migrates the state to a state of no permission transmission or permission transmission according to selection of a user who operates the user terminal. The user in the user has confirmed the status, including:
所述用户终端向操作该用户终端的用户提示接收到媒体发送权;  The user terminal prompts the user who operates the user terminal to receive the media transmission right;
所述用户终端判断操作该用户终端的用户是否接受媒体发送权, 如果是, 将状态迁移到许可发 送状态中的用户已确认状态, 否则; 将状态迁移到没有许可发送状态。  The user terminal determines whether the user operating the user terminal accepts the media transmission right, and if so, migrates the state to the user confirmed state in the permission transmission state, otherwise; migrates the state to the no permission transmission state.
14、根据权利要求 13所述的用户终端的状态迁移方法, 其特征在于, 所述用户终端判断操作该 用户终端的用户是否接受媒体发送权, 具体包括:  The method for migrating the state of the user terminal according to claim 13, wherein the user terminal determines whether the user who operates the user terminal accepts the right to transmit the media, and the method includes:
根据操作该用户终端的用户返回的指示, 确定所述操作该用户终端的用户接受或拒绝媒体发送 权; Determining that the user operating the user terminal accepts or rejects the media transmission according to an instruction returned by the user operating the user terminal Right
或者;  Or
根据所述操作该用户终端的用户的预先设置, 确定所述操作该用户终端的用户接受或拒绝媒体 发送权;  Determining, according to the preset setting of the user of the user terminal, that the user operating the user terminal accepts or rejects the media sending right;
或者,  Or,
设置定时器, 在所述定时器的定时时长到达后, 没有接收到所述操作该用户终端的用户返回的 指示, 则确定所述操作该用户终端的用户拒绝媒体发送权。  And setting a timer, after receiving the instruction that the user of the user terminal returns, after receiving the timing of the timer, determining that the user operating the user terminal rejects the media transmission right.
15、 根据权利要求 13所述的用户终端的状态迁移方法, 其特征在于, 所述方法还包括- 所述用户终端将状态迁移到许可发送状态中的用户已确认状态后, 向服务器发送媒体发送权接 受确认消息, 并进行媒体数据发送;  The state transition method of the user terminal according to claim 13, wherein the method further comprises: after the user terminal migrates the state to the user confirmed state in the permission sending state, sending the media transmission to the server. Accept the confirmation message and send the media data;
所述用户终端将状态迁移到没有许可发送状态后, 向服务器发送媒体发送权释放消息。  After the user terminal migrates the state to the state without the permission to send, the user terminal sends a media transmission right release message to the server.
16、 一种用户终端, 其特征在于, 包括:  16. A user terminal, comprising:
用户未确认状态设置单元, 用于在用户终端接收到媒体发送权准予消息后, 将用户终端的状态 迁移到许可发送状态中的用户未确认状态;  a user unconfirmed state setting unit, configured to migrate the state of the user terminal to a user unconfirmed state in the permission sending state after the user terminal receives the media transmission right grant message;
等待用户操作单元, 用于将媒体发送权提示给操作该用户终端的用户, 将操作该用户终端的用 户的选择结果传输给状态迁移单元;  Waiting for a user operation unit, for prompting the media transmission right to the user operating the user terminal, and transmitting the selection result of the user operating the user terminal to the state transition unit;
状态迁移单元, 用于根据等待用户操作单元传输过来的用户的选择结果, 将所述用户终端的状 态迁移到没有许可发送状态或许可发送状态中的用户已确认状态。  The state transition unit is configured to migrate the state of the user terminal to a user confirmed state in a non-permitted transmission state or a permission transmission state according to a selection result of a user waiting for the user operation unit to transmit.
17、 根据权利要求 16所述的用户终端, 其特征在于, 所述用户终端还包括- 媒体发送权请求单元, 用于为本用户终端或其它用户终端向服务器申请媒体发送权。  The user terminal according to claim 16, wherein the user terminal further comprises: a media transmission right requesting unit, configured to apply for a media transmission right to the server for the user terminal or other user terminal.
18、根据权利要求 16或 17所述的用户终端, 其特征在于, 所述的等待用户操作单元具体包括: 媒体发送权提示单元, 用于在用户终端迁移到等待指示状态后, 向操作该用户终端的用户提示 媒体发送权;  The user terminal according to claim 16 or 17, wherein the waiting user operation unit specifically includes: a media transmission right prompting unit, configured to operate the user after the user terminal migrates to the waiting indication state The user of the terminal prompts the media to send the right;
定时器单元, 用于为操作该用户终端的用户接受媒体发送权设定时间阈值;  a timer unit, configured to receive a media transmission right setting time threshold for a user operating the user terminal;
用户操作结果处理单元, 用于接收操作该用户终端的用户返回的接受或拒绝媒体发送权的选择 结果, 将该选择结果传输给状态迁移单元。  The user operation result processing unit is configured to receive a selection result of accepting or rejecting the media transmission right returned by the user operating the user terminal, and transmitting the selection result to the state transition unit.
19、 根据权利要求 16或 17所述的用户终端, 其特征在于, 所述的状态迁移单元具体包括: 用户已确认状态设置单元, 用于在接收到等待用户操作单元传输过来的操作该用户终端的用户 返回的接受媒体发送权的选择结果后,将用户终端的状态迁移至许可发送状态中的用户已确认状态; 没有许可发送状态设置单元, 用于在接收到等待用户操作单元传输过来的操作该用户终端的用 户返回的拒绝媒体发送权的选择结果后, 将用户终端的状态迁移至没有许可发送状态;  The user terminal according to claim 16 or 17, wherein the state transition unit specifically includes: a user confirmed status setting unit, configured to wait for an operation of the user terminal transmitted by the user operation unit. After receiving the selection result of the media transmission right, the user moves the state of the user terminal to the user confirmed state in the permission transmission state; there is no permission transmission state setting unit for receiving the operation waiting for the user operation unit to transmit After the user of the user terminal returns the result of rejecting the selection of the media transmission right, the state of the user terminal is migrated to the state without the permission to transmit;
媒体发送权释放消息发送单元, 用于在用户终端的状态迁移至没有许可发送状态后, 向服务器 发送媒体发送权释放消息。  The media sending right release message sending unit is configured to send a media sending right release message to the server after the state of the user terminal migrates to the state without the permission to send.
20、 一种服务器的状态迁移方法, 其特征在于, 包括:  20. A method for migrating a state of a server, comprising:
当服务器向用户终端发送了媒体发送权准予消息后, 将服务器的状态迁移到等待确认状态; 根据所述用户终端对所述媒体发送权准予消息的响应, 将所述服务器的状态迁移到媒体发送权 分配状态或空闲状态。 After the server sends the media transmission right grant message to the user terminal, the state of the server is migrated to the waiting for confirmation state; And responding to the media transmission right grant message by the user terminal, and migrating the state of the server to a media transmission right allocation state or an idle state.
21、 根据权利要求 20所述的服务器的状态迁移方法, 其特征在于, 所述的根据所述用户终端对 所述媒体发送权准予消息的响应, 将所述服务器的状态迁移到媒体发送权分配状态或空闲状态, 具 体包括- 当服务器收到了所述用户终端返回的媒体发送权接受确认消息后, 或者, 当服务器收到了所述 用户终端发送的媒体数据后, 将所述服务器的状态迁移到媒体发送权分配状态;  The state transition method of the server according to claim 20, wherein the migrating the state of the server to the media transmission right allocation according to the response of the user terminal to the media transmission right grant message The state or the idle state, specifically includes: after the server receives the media transmission right acceptance confirmation message returned by the user terminal, or after the server receives the media data sent by the user terminal, the state of the server is migrated to Media transmission right allocation status;
当服务器收到了所述用户终端返回的媒体发送权释放消息后, 或者, 当服务器在设定时间的计 时到达后没有收到用户终端返回的消息或数据后, 将所述服务器的状态迁移到空闲状态。  After the server receives the media transmission right release message returned by the user terminal, or when the server does not receive the message or data returned by the user terminal after the time of the set time arrives, the state of the server is migrated to idle. status.
22、 一种服务器, 其特征在于, 包括:  22. A server, comprising:
等待确认状态设置单元, 用于在服务器向用户终端发送了媒体发送权准予消息后, 将所述服务 器的状态迁移到等待确认状态;  a waiting confirmation status setting unit, configured to migrate the state of the server to a waiting for confirmation state after the server sends the media transmission right grant message to the user terminal;
媒体发送权分配状态设置单元, 用于在收到了用户终端发送的媒体发送权接受确认消息后, 或 者, 收到了用户终端发送的媒体数据后, 将所述服务器的状态从等待确认状态迁移到媒体发送权分 配状态;  The media transmission right allocation state setting unit is configured to: after receiving the media transmission right acceptance confirmation message sent by the user terminal, or after receiving the media data sent by the user terminal, migrating the state of the server from the waiting confirmation state to the media Send right allocation status;
空闲状态设置模块, 用于在收到了用户终端发送的媒体发送权释放消息后, 或者, 在设定时间 的计时到达后没有收到用户终端发送的消息或媒体数据, 将所述服务器的状态从等待确认状态迁移 到空闲状态。  The idle state setting module is configured to: after receiving the media transmission right release message sent by the user terminal, or after receiving the timing of the set time, the message or media data sent by the user terminal is not received, and the status of the server is Wait for the confirmation state to migrate to the idle state.
23、 根据权利要求 22所述的服务器, 其特征在于, 所述服务器还包括:  The server according to claim 22, wherein the server further comprises:
定时器单元, 用于为操作该用户终端的用户接受媒体发送权设定时间阈值, 在收到了用户终端 发送的媒体发送权接受确认消息或媒体发送权释放消息或媒体数据后, 则停止所述定时器的计时。  a timer unit, configured to receive a media transmission right setting time threshold for a user operating the user terminal, and after receiving the media transmission right acceptance confirmation message or the media transmission right release message or the media data sent by the user terminal, stopping the The timing of the timer.
24、 一种服务器的状态迁移方法, 其特征在于, 包括:  A method for migrating a state of a server, comprising:
当服务器向用户终端发送了媒体发送权准予消息后, 将服务器的状态迁移到媒体发送权分配状 态中的媒体发送权未确认状态;  After the server sends the media transmission right grant message to the user terminal, the state of the server is migrated to the media transmission right unacknowledged state in the media transmission right allocation state;
根据所述用户终端对所述媒体发送权准予消息的响应, 将所述服务器的状态迁移到空闲状态或 媒体发送权分配状态中的媒体发送权已确认状态。  And responding to the media transmission right grant message by the user terminal, migrating the state of the server to a media transmission right confirmed state in an idle state or a media transmission right allocation state.
25、根据权利要求 24所述的服务器的状态迁移方法, 其特征在于, 所述的根据所述用户终端对 所述媒体发送权准予消息的响应, 将所述服务器的状态迁移到空闲状态或媒体发送权分配状态中的 媒体发送权已确认状态, 具体包括:  The state transition method of the server according to claim 24, wherein the migrating the state of the server to an idle state or media according to the response of the user terminal to the media transmission right grant message The status of the media transmission right in the transmission right allocation status has been confirmed, including:
当服务器收到了所述用户终端返回的媒体发送权接受确认消息后, 或者, 当服务器收到了所述 用户终端发送的媒体数据后, 将所述服务器的状态迁移到媒体发送权分配状态中的媒体发送权已确 认状态;  After the server receives the media transmission right acceptance confirmation message returned by the user terminal, or after the server receives the media data sent by the user terminal, the server migrates the state of the server to the media in the media transmission right allocation state. The right to send has been confirmed;
当服务器收到了所述用户终端返回的媒体发送权释放消息后, 或者, 当服务器在设定时间的计 时到达后没有收到用户终端返回的消息或数据后, 将所述服务器的状态迁移到空闲状态。  After the server receives the media transmission right release message returned by the user terminal, or when the server does not receive the message or data returned by the user terminal after the time of the set time arrives, the state of the server is migrated to idle. status.
26、 一种服务器, 其特征在于, 包括: 媒体发送权未确认状态设置单元, 用于在服务器向用户终端发送了媒体发送权准予消息后, 将 所述服务器的状态迁移到媒体发送权分配状态中的媒体发送权未确认状态; 26. A server, comprising: a media transmission right unconfirmed state setting unit, configured to: after the server sends the media transmission right grant message to the user terminal, to migrate the state of the server to a media transmission right unacknowledged state in the media transmission right allocation state;
媒体发送权已确认状态设置单元, 用于在收到了用户终端发送的媒体发送权接受确认消息后, 或者, 收到了用户终端发送的媒体数据后, 将所述服务器的状态迁移到媒体发送权分配状态中的媒 体发送权已确认状态;  The media transmission right confirmation status setting unit is configured to: after receiving the media transmission right acceptance confirmation message sent by the user terminal, or after receiving the media data sent by the user terminal, migrating the state of the server to the media transmission right allocation The status of the media transmission right in the status has been confirmed;
空闲状态设置模块, 用于在收到了用户终端发送的媒体发送权释放消息后, 或者, 在设定时间 的计时到达后没有收到用户终端发送的消息或媒体数据,将所述服务器的状态状态迁移到空闲状态。  The idle state setting module is configured to: after receiving the media transmission right release message sent by the user terminal, or not receiving the message or media data sent by the user terminal after the time of the set time arrives, setting the state status of the server Migrate to an idle state.
27、 根据权利要求 22所述的服务器, 其特征在于, 所述服务器还包括:  The server according to claim 22, wherein the server further comprises:
定时器单元, 用于为操作该用户终端的用户接受媒体发送权设定时间阈值, 在收到了用户终端 发送的媒体发送权接受确认消息或媒体发送权释放消息或媒体数据后, 则停止所述定时器的计时。  a timer unit, configured to receive a media transmission right setting time threshold for a user operating the user terminal, and after receiving the media transmission right acceptance confirmation message or the media transmission right release message or the media data sent by the user terminal, stopping the The timing of the timer.
PCT/CN2007/001397 2006-04-26 2007-04-26 Method of transferring the states of user terminal and server, user terminal and server WO2007131425A1 (en)

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN 200610078118 CN101064621A (en) 2006-04-26 2006-04-26 User terminal and server state machine and method for user terminal to transmit data
CN200610078118.1 2006-04-26
CN2006100904393A CN101098514B (en) 2006-06-27 2006-06-27 Cluster client terminal user status transferring method and cluster client terminal
CN200610090439.3 2006-06-27

Publications (1)

Publication Number Publication Date
WO2007131425A1 true WO2007131425A1 (en) 2007-11-22

Family

ID=38693541

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2007/001397 WO2007131425A1 (en) 2006-04-26 2007-04-26 Method of transferring the states of user terminal and server, user terminal and server

Country Status (1)

Country Link
WO (1) WO2007131425A1 (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040100987A1 (en) * 2001-03-29 2004-05-27 Gerard Marque- Pucheau Method for managing two-way alternate communication in semi-duplex mode through a packet switching transport network
US20050239486A1 (en) * 2004-04-05 2005-10-27 D Avello Robert F Methods and systems for controlling communications in an ad hoc communication network
CN1756393A (en) * 2004-09-29 2006-04-05 日本电气株式会社 Push-to-talk communication system, mobile communication terminal and voice transmitting method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040100987A1 (en) * 2001-03-29 2004-05-27 Gerard Marque- Pucheau Method for managing two-way alternate communication in semi-duplex mode through a packet switching transport network
US20050239486A1 (en) * 2004-04-05 2005-10-27 D Avello Robert F Methods and systems for controlling communications in an ad hoc communication network
CN1756393A (en) * 2004-09-29 2006-04-05 日本电气株式会社 Push-to-talk communication system, mobile communication terminal and voice transmitting method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
YU F.Y. ET AL.: "Design of Floor Control Policy in Virtual Classroom", COMPUTER ENGINEERING, vol. 19, no. 4, March 2003 (2003-03-01), pages 176 - 178 *

Similar Documents

Publication Publication Date Title
TWI306719B (en) A method and an apparatus for terminating a user from a group call in a group communication network
JP5566960B2 (en) Method and apparatus for joining a group communication service in an existing communication system
TWI289387B (en) Wireless network multicasting system and method
JP2015188238A (en) System and method for sharing media in group communication among wireless communication devices
JP2004500774A (en) Method and apparatus for joining a group communication service in an existing communication system
US8355743B2 (en) Push-to-talk communication method and system
US20060014556A1 (en) Method and apparatus for processing call in PTT over cellular (PoC) system
JP2005528818A (en) Communication device for initiating a group call in a group communication network
JP2006505964A (en) Method and apparatus for removing a member from an active group call in a group communication network
JP2005518169A (en) Communication device for subscribing a user to a group call in a group communication network
WO2007109984A1 (en) A method for processing the media flow queue based on the control and the apparatus thereof
US20090024743A1 (en) Media session data transmission control method, control relation negotiation method and control device and system
KR20080028647A (en) System and method for requesting and grantting poc user media transmission authority
WO2007090347A1 (en) A carrying method, system and device for ip multimedia system service
WO2008113271A1 (en) Instant communication based push-to-talk system, method and server
WO2008064575A1 (en) A method, system and apparatus for implementing video sharing service
WO2008052488A1 (en) Method for associated processing service information and service server
JP4829245B2 (en) Method and apparatus for communicating messages in a communication network
EP1839419B1 (en) Method and system for deleting floor in poc system
WO2007095814A1 (en) A method and system for obtaining the session capability of the session participant in the multi-party communication system
JP2007053487A (en) System and method for controlling right to speak, and program
WO2007095849A1 (en) Method, system and apparatus for assigning media transmitting right of session setting up
WO2007131425A1 (en) Method of transferring the states of user terminal and server, user terminal and server
Wu et al. A client‐side design and implementation for push to talk over cellular service
JP2001352341A (en) Packet communication system and its method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 07720970

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 07720970

Country of ref document: EP

Kind code of ref document: A1