WO2018228298A1 - Speaking right assignment and application methods, computer device, and readable storage medium - Google Patents

Speaking right assignment and application methods, computer device, and readable storage medium Download PDF

Info

Publication number
WO2018228298A1
WO2018228298A1 PCT/CN2018/090550 CN2018090550W WO2018228298A1 WO 2018228298 A1 WO2018228298 A1 WO 2018228298A1 CN 2018090550 W CN2018090550 W CN 2018090550W WO 2018228298 A1 WO2018228298 A1 WO 2018228298A1
Authority
WO
WIPO (PCT)
Prior art keywords
user equipment
call
priority
request message
user
Prior art date
Application number
PCT/CN2018/090550
Other languages
French (fr)
Chinese (zh)
Inventor
闫翠翠
李明皓
王玮
李鹏
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018228298A1 publication Critical patent/WO2018228298A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/10Push-to-Talk [PTT] or Push-On-Call services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/04Large scale networks; Deep hierarchical networks
    • H04W84/08Trunked mobile radio systems

Definitions

  • the present invention relates to the field of cluster technologies, and in particular, to a voice rights distribution, a method for applying, a computer device, and a readable storage medium.
  • the cluster system is a dedicated wireless communication system developed for the needs of industry command and dispatch, and is applied to a variety of industries.
  • the cluster communication system can provide flexible command and dispatch, and has been widely used in government agencies, public security, transportation, public utilities, and Other large-scale event organizations and other places that require cluster scheduling.
  • cluster communication is also developing in the direction of broadband and IP, providing multimedia services such as digital, image, audio and video.
  • the broadband digital trunking system based on LTE technology has become the development direction of the next-generation cluster system, and the research and formulation of relevant standards have begun in the world.
  • LTE Long Term Evolvement
  • 3GPP proposes to apply the Group Communication System Enabler (GCSE).
  • GCSE Group Communication System Enabler
  • MCPTT Mobility Critical Push To Talk
  • eMBMS enhanced multimedia boardcast multicast service
  • one of the allocation methods of the right to speak is first-come-first-served, that is, the manner in which the preempted user first obtains the right to speak, and the other is to assign a priority to each terminal in the group.
  • Priority-based voice rights allocation has a wide range of applications in group call services. This mechanism can effectively ensure that high-priority users obtain voice.
  • this allocation method also has certain drawbacks, that is, if a high-priority user can continuously seize the right to speak, this will result in a low-priority user unable to seize the right to speak.
  • the cluster server cannot allocate the right to the low-priority users who have preempted but preempted the failure.
  • the main purpose of the present invention is to provide a method for assigning rights, applying for a computer, a computer device, and a readable storage medium, aiming at solving the following problem: a high-priority user continuously seizes the right to speak, and a low-priority user cannot seize the call. Right of voice. However, the cluster server cannot allocate the right to the low-priority users who have seized but preempted the failure.
  • a method of voice right distribution comprising:
  • the user right is allocated to the user equipment, where: when the call request message carries the priority call identifier, The user equipment allocates a right of a call.
  • the method further includes: sending, to the user equipment, a message that the right has been allocated, to indicate The user equipment clears the priority call right identifier carried in the call request information sent by the user equipment.
  • the assigning the right to the user equipment includes: detecting that the user equipment that sent the call request message has been recorded In the case, the user equipment is assigned a right of voice.
  • the method further includes: sending, to the user equipment, that the right of the user is allocated A message to clear the record for the user device.
  • the allocating the right of the user equipment includes: if the preset maximum number of voices is greater than the number of the actual voice users, assigning the right to the user equipment; if the preset maximum number of voices If the number of users of the actual call rights is equal, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment that meets the priority right condition.
  • a method for claiming a call comprising: after receiving a call rejection message, setting a priority call identity of the call according to the call rejection message; sending a call request The message, the right message request message carries a priority call identity.
  • the method further includes: after receiving the message that the right has been allocated, clearing the priority call identity.
  • a method for claiming a call comprising: after receiving a call rejection message, reporting to a cluster server to be recorded by the cluster server; sending a call request message to It is recognized by the cluster server.
  • the method further includes: after receiving the message that the right has been allocated, requesting the cluster server to clear the identifier of the user equipment.
  • a method for voice rights distribution comprising: receiving a rights request message sent by a user equipment, where the right request message carries information of the user equipment; The information about the user equipment is added to the to-be-spoken list, and the information of the new user equipment corresponding to the new right-of-rights request message received in the preset time is added to the to-be-speech list, and the information includes the user.
  • the priority of the device and the preemption time after the preset time is exceeded, according to the priority of the user equipment in the to-be-speech list, the user equipment is allocated the right to the right according to the priority of the user equipment. Or send a denial of rejection message.
  • the method further includes: detecting whether the right to call request message is the priority call condition And in the case that the call request message satisfies the priority call condition, the user equipment is allocated a right according to the priority of the user equipment; and the right request message does not satisfy the priority right In the case of a condition, the information of the user equipment is added to the list to be talked.
  • the method further includes: the right-to-right resource includes a maximum number of voice rights, and if the maximum number of voice rights is equal to the number of actual voice users, the rejection is The user equipment allocates a right to send a rejection message to the user equipment.
  • the method further includes: when the preset time is exceeded, if the maximum number of voices is equal to the number of the actual user equipments, the user equipments in the to-be-listed list are sent one by one to withdraw the call rights request, and the ones are deleted one by one.
  • the rules for allocating the right of the user include: sorting the user equipments from high to low according to the priority of the user equipment, and sorting the user equipments with the same priority according to the preemption time;
  • the user equipment in the to-be-talked list allocates the right to speak.
  • the allocating the voice right to the user equipment includes: establishing an uplink dedicated bearer for the user equipment, and sending a message that the right of the user has been allocated to the user equipment, and updating the actual number of voices in the group call instance, And send a call to other participants, the number of remaining rights can be carried in the prompt.
  • the priority call right condition includes: receiving a call right request message sent by the user equipment; detecting whether the call right request message satisfies a priority call right condition; and if the call right request message satisfies the priority call right condition , assigning a right of voice to the user equipment.
  • the user right is allocated to the user equipment, where: when the call request message carries the priority call identifier, The user equipment allocates a right of a call.
  • the method further includes: sending, to the user equipment, a message that the right has been allocated, to indicate The user equipment clears the priority call right identifier carried in the call request information sent by the user equipment.
  • the assigning the right to the user equipment includes: detecting that the user equipment that sent the call request message has been recorded In the case, the user equipment is assigned a right of voice.
  • the method further includes: sending, to the user equipment, that the right of the user is allocated A message to clear the record for the user device.
  • the allocating the right of the user equipment includes: if the preset maximum number of voices is greater than the number of the actual voice users, assigning the right to the user equipment; if the preset maximum number of voices If the number of users of the actual call rights is equal, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment that meets the priority right condition.
  • a computer device comprising a memory, a processor and a communication bus; the communication bus being used for connection communication between the memory and the processor a program of the processor for executing a method of assigning a right of voice stored in the memory to implement the steps of the method of voice right allocation described above.
  • the method includes: receiving a call right request message sent by the user equipment; detecting whether the call right request message satisfies a priority call right condition; and if the call right request message satisfies the priority call right condition, the method is The device assigns the right to speak.
  • the user right is allocated to the user equipment, where: when the call request message carries the priority call identifier, The user equipment allocates a right of a call.
  • the method further includes: sending, to the user equipment, a message that the right has been allocated, to indicate The user equipment clears the priority call right identifier carried in the call request information sent by the user equipment.
  • the assigning the right to the user equipment includes: detecting that the user equipment that sent the call request message has been recorded In the case, the user equipment is assigned a right of voice.
  • the method further includes: sending, to the user equipment, that the right of the user is allocated A message to clear the record for the user device.
  • the allocating the right of the user equipment includes: if the preset maximum number of voices is greater than the number of the actual voice users, assigning the right to the user equipment; if the preset maximum number of voices If the number of users of the actual call rights is equal, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment that meets the priority right condition.
  • a computer readable storage medium storing one or more preset programs, the preset program being executed by a processor to implement the above-described right The steps of the assigned method.
  • the method includes: receiving a call request message sent by a user equipment; detecting whether the call request message satisfies a priority call condition; and if the call request message satisfies the priority call condition , assigning a right of voice to the user equipment.
  • the user right is allocated to the user equipment, where: when the call request message carries the priority call identifier, The user equipment allocates a right of a call.
  • the method further includes: sending, to the user equipment, a message that the right has been allocated, to indicate The user equipment clears the priority call right identifier carried in the call request information sent by the user equipment.
  • the assigning the right to the user equipment includes: detecting that the user equipment that sent the call request message has been recorded In the case, the user equipment is assigned a right of voice.
  • the method further includes: sending, to the user equipment, that the right of the user is allocated A message to clear the record for the user device.
  • the allocating the right of the user equipment includes: if the preset maximum number of voices is greater than the number of the actual voice users, assigning the right to the user equipment; if the preset maximum number of voices If the number of users of the actual call rights is equal, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment that meets the priority right condition.
  • a computer device comprising a memory, a processor and a communication bus; the communication bus for connection communication between the memory and the processor
  • the processor is operative to execute the method of the method of assigning the right to be stored in the memory to implement the steps of the method of the above-mentioned claim.
  • the method includes: after receiving the call rejection message, setting a priority call right identifier according to the call right rejection message; and sending a call right request message, where the call right request message carries the priority call right identifier.
  • the method further includes: after receiving the message that the right has been allocated, clearing the priority call identity. Or receiving the right rejection message, reporting to the cluster server to be recorded by the cluster server; sending a call request message to be recognized by the cluster server.
  • the method further includes: after receiving the message that the right has been allocated, requesting the cluster server to clear the identifier of the user equipment.
  • a computer readable storage medium storing one or more preset programs, the preset program being executed by a processor to implement the above-described right The steps of the method of application.
  • the method includes: after receiving the call rejection message, setting a priority call identity according to the call rejection message; and sending a call request message, where the call request message carries the priority call identity.
  • the method further includes: after receiving the message that the right has been allocated, clearing the priority call identity. Or receiving the right rejection message, reporting to the cluster server to be recorded by the cluster server; sending a call request message to be recognized by the cluster server.
  • the method further includes: after receiving the message that the right has been allocated, requesting the cluster server to clear the identifier of the user equipment.
  • a computer device comprising a memory, a processor and a communication bus; the communication bus being used for connection communication between the memory and the processor a program of the processor for executing a method of assigning a right of voice stored in the memory to implement the steps of the method of voice right allocation described above.
  • the method includes: receiving a call request message sent by a user equipment, where the call request message carries information of the user equipment; adding information of the user equipment to a to-be-listed list, and waiting for a preset time, The information of the new user equipment corresponding to the new voice request message received in the time is added to the to-be-speech list, where the information includes the priority and the preemption time of the user equipment; If the resource is sufficient, the user equipment is allocated a right to speak or a right rejection message according to the priority of the user equipment in the to-be-spoken list.
  • the method further includes: detecting whether the right to call request message is the priority call condition And in the case that the call request message satisfies the priority call condition, the user equipment is allocated a right according to the priority of the user equipment; and the right request message does not satisfy the priority right In the case of a condition, the information of the user equipment is added to the list to be talked.
  • the method further includes: the right-to-right resource includes a maximum number of voice rights, and if the maximum number of voice rights is equal to the number of actual voice users, the rejection is The user equipment allocates a right to send a rejection message to the user equipment.
  • the method further includes: when the preset time is exceeded, if the maximum number of voices is equal to the number of the actual user equipments, the user equipments in the to-be-listed list are sent one by one to withdraw the call rights request, and the ones are deleted one by one.
  • the rules for allocating the right of the user include: sorting the user equipments from high to low according to the priority of the user equipment, and sorting the user equipments with the same priority according to the preemption time;
  • the user equipment in the to-be-talked list allocates the right to speak.
  • the allocating the voice right to the user equipment includes: establishing an uplink dedicated bearer for the user equipment, and sending a message that the right of the user has been allocated to the user equipment, and updating the actual number of voices in the group call instance, And send a call to other participants, the number of remaining rights can be carried in the prompt.
  • the priority call right condition includes: receiving a call right request message sent by the user equipment; detecting whether the call right request message satisfies a priority call right condition; and if the call right request message satisfies the priority call right condition , assigning a right of voice to the user equipment.
  • the user right is allocated to the user equipment, where: when the call request message carries the priority call identifier, The user equipment allocates a right of a call.
  • the method further includes: sending, to the user equipment, a message that the right has been allocated, to indicate The user equipment clears the priority call right identifier carried in the call request information sent by the user equipment.
  • the assigning the right to the user equipment includes: detecting that the user equipment that sent the call request message has been recorded In the case, the user equipment is assigned a right of voice.
  • the method further includes: sending, to the user equipment, that the right of the user is allocated A message to clear the record for the user device.
  • the allocating the right of the user equipment includes: if the preset maximum number of voices is greater than the number of the actual voice users, assigning the right to the user equipment; if the preset maximum number of voices If the number of users of the actual call rights is equal, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment that meets the priority right condition.
  • a computer readable storage medium storing one or more preset programs, the preset program being executed by a processor to implement the above-described right of claim The steps of the assigned method.
  • the method includes: receiving a call request message sent by a user equipment, where the call request message carries information of the user equipment; adding information of the user equipment to a to-be-listed list, and waiting for a preset time, The information of the new user equipment corresponding to the new voice request message received in the time is added to the to-be-speech list, where the information includes the priority and the preemption time of the user equipment; If the resource is sufficient, the user equipment is allocated a right to speak or a right rejection message according to the priority of the user equipment in the to-be-spoken list.
  • the method further includes: detecting whether the right to call request message is the priority call condition And in the case that the call request message satisfies the priority call condition, the user equipment is allocated a right according to the priority of the user equipment; and the right request message does not satisfy the priority right In the case of a condition, the information of the user equipment is added to the list to be talked.
  • the method further includes: the right-to-right resource includes a maximum number of voice rights, and if the maximum number of voice rights is equal to the number of actual voice users, the rejection is The user equipment allocates a right to send a rejection message to the user equipment.
  • the method further includes: when the preset time is exceeded, if the maximum number of voices is equal to the number of the actual user equipments, the user equipments in the to-be-listed list are sent one by one to withdraw the call rights request, and the ones are deleted one by one.
  • the rules for allocating the right of the user include: sorting the user equipments from high to low according to the priority of the user equipment, and sorting the user equipments with the same priority according to the preemption time;
  • the user equipment in the to-be-talked list allocates the right to speak.
  • the allocating the voice right to the user equipment includes: establishing an uplink dedicated bearer for the user equipment, and sending a message that the right of the user has been allocated to the user equipment, and updating the actual number of voices in the group call instance, And send a call to other participants, the number of remaining rights can be carried in the prompt.
  • the priority call right condition includes: receiving a call right request message sent by the user equipment; detecting whether the call right request message satisfies a priority call right condition; and if the call right request message satisfies the priority call right condition , assigning a right of voice to the user equipment.
  • the user right is allocated to the user equipment, where: when the call request message carries the priority call identifier, The user equipment allocates a right of a call.
  • the method further includes: sending, to the user equipment, a message that the right has been allocated, to indicate The user equipment clears the priority call right identifier carried in the call request information sent by the user equipment.
  • the assigning the right to the user equipment includes: detecting that the user equipment that sent the call request message has been recorded In the case, the user equipment is assigned a right of voice.
  • the method further includes: sending, to the user equipment, that the right of the user is allocated A message to clear the record for the user device.
  • the allocating the right of the user equipment includes: if the preset maximum number of voices is greater than the number of the actual voice users, assigning the right to the user equipment; if the preset maximum number of voices If the number of users of the actual call rights is equal, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment that meets the priority right condition.
  • a method for assigning rights, applying for a request, a computer device, and a readable storage medium provided by the embodiments of the present invention can effectively ensure that a user who has applied for a call right request but has failed to preempt has priority in obtaining the call right.
  • FIG. 1 is a first flow chart of a first embodiment of the present invention
  • FIG. 2 is a second flow chart of a third embodiment of the present invention.
  • FIG. 3 is a flowchart of a call right application, in which user D, user C, and user B apply for a call right, user B and user C grant a call right, and user D has a priority speaking right;
  • FIG. 4 is a flow chart of a call right application, in which user B releases the right to speak, user A and user D apply for the right to speak, user D has the right to speak, and user D seizes the right to call;
  • FIG. 5 is a flow chart of a call right application, in which user A has a priority call right and releases the right of the user of the low-level priority when applying the right to speak.
  • a first embodiment of the present invention provides a method for voice rights allocation, which is based on a cluster server side, and the method includes:
  • the embodiment provides a method for voice rights allocation, which is based on a cluster server side, and the method includes:
  • S1 Receive a call request message sent by the user equipment.
  • the configuration is written in the user profile.
  • the group information and the user information contained in the group are also configured, and the maximum number of voices is not greater than the number in the group.
  • the group contains X users (X>1).
  • the maximum number of voices is equal to the number of actual voice users, that is, there are sufficient resources for the call.
  • the PTT button is pressed, and the user sends a call request message to the cluster server through the corresponding user equipment.
  • the call request message carries the identifier of the user equipment, and more importantly, the call request message carries the message.
  • the right application parameter, the call right application parameter includes a priority of the user equipment.
  • the cluster server can record each right request message according to the arrival time of the call request message.
  • the cluster server After receiving the right request message from the user equipment, the cluster server first determines whether the right request message satisfies the priority right condition.
  • an exemplary setting of whether the right-of-rights request message satisfies the priority call right condition is performed by detecting whether the priority call right identifier is carried in the right-of-rights request message.
  • the user equipment sets the priority call identity for itself after the user requests the message to be sent through the corresponding user equipment. After the user device sends the call request message again, this time.
  • the right call request message carries the preferred call right identifier, and carries the priority call right identifier, that is, the priority call right condition is met, so that the user equipment can preferentially allocate the call right. If the priority call identifier is not carried in the call request message, the call request message does not satisfy the priority call condition.
  • the priority request condition if the priority request condition is satisfied, the following setting may also be performed: detecting whether the user equipment that issued the call request message has been recorded. After the last call request message of the user equipment is rejected, the cluster server records the user equipment. When the user right request message is transmitted to the cluster server, the call request message submitted by the user equipment is satisfied.
  • the priority call condition enables the user equipment to be identified by the cluster server to prioritize the allocation of voice rights.
  • the user equipment that issued the right request message is assigned a right of call.
  • whether the right call request message satisfies the priority call right condition is determined by whether the right call request message carries the priority call right identifier. And in the case that the call request message carries the priority call identity, the user equipment is allocated the right to call. Of course, it may be further provided that, after the user equipment is allocated the right to the user, the cluster server may further send a message that the right of the user has been allocated to the user equipment, to indicate that the user equipment clears the call request information sent by the user equipment. The priority call identity.
  • the cluster server can directly clear the record of the user equipment of the cluster server, and does not send the message that the right has been allocated to the user equipment.
  • the cluster server allocates the right to the user equipment, and the specific includes:
  • the user equipment is allocated the right to call; if the preset maximum voice weight is equal to the actual number of voice users, that is, there is no right to speak.
  • the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment whose right request message satisfies the priority right condition.
  • the right claim message satisfies the priority call condition, that is, the user equipment that carries the priority call identity or the call request message is recorded.
  • the preset maximum number of voices is greater than the number of actual voice users, it means that the caller has sufficient rights resources in the system, and then the user corresponding to the user equipment can be allocated the right to call; If the maximum number of voices is equal to the number of actual voice users, it means that the caller does not have enough rights resources in the system, and the cluster server cancels the call preemption system and has the lowest priority.
  • the user's right to speak that is, to reclaim the right of the call, and to assign the canceled right to the user equipment that is in the call right application and whose call request message satisfies the priority call condition. In other words, as long as the right preemption message sent by the user equipment satisfies the priority right condition, the user equipment can preempt the right to speak.
  • the assigning the voice right to the user equipment includes: establishing an uplink dedicated bearer for the user, and sending a message that the right of the user has been allocated to the user equipment, updating the actual number of voice rights in the group call instance, and sending the call to the other participant. The right to speak, the number of remaining rights can be carried in the prompt.
  • the second embodiment of the present invention provides a method for claiming rights, based on whether the right party right identifier is carried in the right message request message to determine whether the right party request message satisfies the priority call right.
  • the method includes:
  • the call-right-rejecting message After receiving the right-to-reject message, the call-right-rejecting message is set according to the right-of-rights refusal message; the utterance request message is sent, and the call-right-request message carries the priority call right identifier.
  • the user equipment After receiving the right rejection message, the user equipment sets its own priority right identity identifier. After the call request message is sent again, the call request message carries the priority call identity.
  • the priority call identity is cleared.
  • the user device will be aware of its own prioritization identifier.
  • the embodiment determines whether the right request message satisfies the priority right condition by whether the user equipment that issued the right claim message has been recorded. Then the method comprises:
  • the cluster server After receiving the call rejection message, the cluster server is reported to be recorded by the cluster server; and the call request message is sent to be recognized by the cluster server.
  • the user equipment reports the cluster server, and the cluster server records the user equipment.
  • the user equipment that issued the call request message is recognized by the cluster server.
  • the user equipment can send a clear request to the cluster server to request the cluster server to clear the identity of the user equipment of the cluster server.
  • FIG. 2 is a block diagram of a second process of the present embodiment.
  • a third embodiment of the present invention provides a method for voice rights allocation, which is based on a cluster server side, and the method includes:
  • S11 Receive a call request message sent by the user equipment, where the right request message carries information of the user equipment;
  • the configuration is written in the user profile.
  • the group information and the user information contained in the group are also configured, and the maximum number of voices is not greater than the number in the group.
  • the group contains X users (X>1).
  • the maximum number of voices is equal to the number of actual voice users, that is, there are sufficient resources for the call.
  • the PTT button is pressed, and the user sends a call request message to the cluster server through the corresponding user equipment.
  • the call request message carries the identifier of the user equipment, and more importantly, the call request message carries the message.
  • the right application parameter, the call right application parameter includes a priority of the user equipment.
  • the cluster server can record each right request message according to the arrival time of the call request message.
  • S12 Add the information of the user equipment to the to-be-listed list, and wait for the preset time to add the information of the new user equipment corresponding to the new right-of-rights request message received in the preset time to the to-be-speech list.
  • the information includes the priority and preemption time of the user equipment;
  • the user equipment information that issues the call request message is added to the to-be-speak list, and waits for a preset time. And the information of the new user equipment is added to the to-be-listed list, where the information includes the priority and the preemption time of the user equipment;
  • the user equipment After the preset time, if the preset maximum number of voices is greater than the actual number of voice users, that is, the voice resources are sufficient, the user equipment is the priority according to the priority of the user equipment in the to-be-listed list. Assign the right to speak.
  • the user After the preset time, if the preset maximum number of voices is equal to the number of actual voice users, that is, the voice resources are insufficient, according to the priority of the user equipment in the to-be-listed list, the user is The device sends a right rejection message, that is, it refuses to assign the right to the user equipment. Certainly, after the user equipment is refused to be assigned the right of the user, the user equipment may be instructed to set the priority identification of the user equipment. Of course, the user equipment may also be recorded to preferentially serve the user equipment when the user equipment resubmits the right to request message. The device assigns the right to speak.
  • the method further includes:
  • the method further includes: the right-to-right resource includes a maximum number of voice rights, and if the maximum number of voice rights is equal to the number of actual voice users, the user is refused to be allocated. The right to speak, sending a rejection message to the user equipment.
  • the user equipment may be instructed to set the priority identification of the user equipment.
  • the user equipment may also be recorded to preferentially serve the user equipment when the user equipment resubmits the right to request message. The device assigns the right to speak.
  • each user equipment may be instructed to set its own priority right identifier.
  • the user equipments may also be recorded, so that when the user equipment requests the right to request again, the priority is These user devices are assigned the right to speak.
  • the user equipments are sorted according to the priority of the user equipment, and the user equipments of the same priority are sorted according to the preemption time.
  • the user equipments in the waiting list are sorted according to the priority of the user equipment in descending order. For the user equipments with the same priority, the user equipments are sorted according to the order of the preemption time; Assign the right to speak.
  • the current number of user equipments for acquiring the right to call may be updated, and the right grant notification is sent to other participants, and the notification carries the remaining number of voice rights, and the waiting list is updated.
  • the process needs to be satisfied.
  • the constraint that the current number of speeches is less than or equal to the preset maximum number of voices.
  • the method includes: establishing an uplink dedicated bearer for the user equipment, and sending a right granting message to the user equipment, updating the actual number of voice rights in the group call instance, and Other participants send a call alert, which can carry the remaining number of voices.
  • a flexible multi-user device preemptive voice allocation method can be implemented on the trunking communication system, and the voice rights allocation process is ensured according to the priority of the user equipment priority.
  • the allocation of the priority call rights is introduced, and the allocation of the priority call rights adopts the cooperation mode between the cluster server and the terminal, and the design idea is simple and dexterous, and effectively ensures that the user equipment that has applied for the right to call can also obtain the right to speak; meanwhile, Participants can understand the current number of voices in real time, ensure the validity and order of voice distribution, and alleviate the waste of air interface resources to a certain extent.
  • RTP is an application-type transport layer protocol, which does not provide any guarantee of transmission reliability and traffic congestion control mechanism.
  • the RTP is located above the UDP (User Datagram Protocol).
  • UDP User Datagram Protocol
  • RTCP needs real-time monitoring of data transmission and quality of service.
  • the protocol uses the RCTP protocol as the floor control protocol, and the media stream is transmitted using the RTP protocol.
  • the protocol format of RTCP is as follows:
  • Subtype can be used to distinguish the service type.
  • this field is used to distinguish three service types, namely: "MCPT” (ieFloor control), "MCPC” (iePre-established session call control), (ie MBMS subchannel control), the floor control uses the MCPT service type.
  • the extension of the RTCP packet can add the following fields: see the fields of the last two lines as follows;
  • FIG. 3 is a flow chart of the call right application, in which user D, user C, and user B apply for the right to speak, and user B and user C grant the message.
  • User D has priority speaking rights
  • Figure 4 is a flow chart of call rights application, in which user B releases the call right, user A and user D apply for the right to call, user D has the right to call, and user D seizes the right to call
  • Figure 5 For the right application flow chart, the user A has the priority right, and the right of the user of the low priority is released when the right is applied.
  • the specific mode of the initial registration of the user includes: when the user is powered on, a camping cell is selected, and a random access process is initiated (the process is an existing LTE process).
  • the user equipment initiates registration with the cluster server.
  • the request process the request carries the user identifier, the clustering capability of the terminal, and the supported codec format.
  • the cluster server After receiving the cluster server, the cluster server first authenticates the user's authority. After the authentication is completed, the online state of the user is updated, and then the user is configured.
  • the information is sent to the user equipment, and the configuration information includes the group information and user configuration information signed by the user, including the user priority.
  • the user equipment initialization priority speech is identified as an invalid value and the priority of its configuration is saved.
  • the client A initiates a group call service, carrying the identity of the initiator, the service type, the group identifier, and the encryption indication.
  • the device After receiving the device, the device authenticates the client A. It determines whether the user A has sufficient rights to initiate the multicast service, resolves the group ID, and determines the legality of the group ID. After the success, the request is sent back to the calling user. After the group ID is parsed, the member who subscribes to the group is obtained, and a call request is initiated to the user in the group, and the call type, the group identifier, and the end-to-end encryption indication are carried.
  • the user in the group After receiving a call request, the user in the group joins the group call service. It is assumed that the number of voices preset in the cluster server is 2, and the priorities of the client A, the client B, the client C, and the client D are 1, 2, 3, and 4, respectively, wherein the priority of the client A is greater than Client B, client B has a higher priority than client C, and client C has a higher priority than client D.
  • the priority call right 0 means no priority right, and 1 means has the right to speak.
  • Step 1 Client D, client C, and client B initiate voice control in turn.
  • Step 2 The cluster server first receives the call request message of the client D.
  • the priority of the message carrying user is 4, and the value of the priority call is 0. Since the actually authorized speaking user is 0, the client D is placed in the waiting speech list, and the call right detection timer is set;
  • Step 3 Similar to step 2, the cluster server puts the client D, the client C, and the client B into the waiting speech list in turn, and the call right detection timer is set, and is no longer set;
  • Step 4 After the call right detection period is long, the priority list used in the list is sorted.
  • the sorted user list is client B, client C, and client D, and then the client B creates an uplink bearer.
  • the client B creates an uplink bearer.
  • the client B creates an uplink bearer.
  • record the number of actual authorized talk users in the current group is 1, and when the caller notification is sent to the participant, carry the remaining number of call rights 1.
  • the client C is assigned the right to call, and the authorization notification is issued. Since the preset number of voices is 2, the system condition is satisfied, the client D allocates the right, and the cluster server sends the right to the client D. Reject the notice.
  • Step 4 After receiving the right of rejection notification, the client D sets the identity of the priority call right to 1. Optionally, after setting the priority call identifier of the client D to 1, the client sets a priority call timer. If the client D requests the call right again within the set duration, the priority call identifier is 1 Otherwise, the client clears its own priority right identity and determines that the client D user has no priority to speak.
  • client B and client C are talking, and client D has the priority right.
  • Step 1 Client B releases the call right, and the cluster server reclaims the call right of the user, releases the uplink bearer, and updates the actual number of voices to 1.
  • Step 2 Client A applies for the right to call, because the priority right of the user is 0, after the cluster server receives the user, the user is placed in the waiting speech list;
  • Step 3 The client D applies for the call right.
  • the priority call identifier of the user is 1.
  • the cluster server preferentially creates an uplink bearer for the client D, assigns the call right, and grants the call right, and records the actual number of talks as 2. At the same time, the call notification is sent to other participants, and the remaining number of voices is 1.
  • Step 4 After receiving the notification of the right of voice distribution, the client E clears the priority call right flag to 0;
  • Step 5 The duration of the call right detection timeout expires, and the cluster server determines that the preset number of authorized users is the same as the actual number of authorized users, and sends a right rejection message to the client A;
  • Step 6 After receiving the rejection of the call, client A sets the priority call identity to 1. Optionally, after setting the priority call identifier of the client A to 1, the client sets the priority call timer. If the client D requests the call right again within the set duration, the priority call identifier is 1 Otherwise, the UE's priority call identity is cleared, and the UE determines that the client D user has no priority to speak.
  • client C and client D are talking, and client A's priority call identifier is 1.
  • Step 1 Client A sends a call right request to the cluster server again, carrying the priority identifier and the priority call right control identifier is 1.
  • Step 2 After the cluster server receives the request, the preset maximum number of voices is equal to the number of actual voice users, and the priority call identity is 1. In the current voice, the client D has the lowest priority, and the user D is released. Right, reclaim the uplink bearer, send the call preemption notification to the client D, assign the call right to the client A, create the uplink bearer, and send the call notification to the other participant client B, carrying the identifier with the remaining number of voices 0. .
  • a fourth embodiment of the present invention provides a computer device including a memory, a processor, and a communication bus; the communication bus is used for connection communication between the memory and the processor;
  • the program of the method for assigning the right of voice described in the above-described first embodiment stored in the memory is implemented to implement the steps of the method for assigning voice rights as described above.
  • a fifth embodiment of the present invention provides a computer readable storage medium storing one or more preset programs, the preset program being executed by a processor to implement the first embodiment described above The steps of the method of assigning rights.
  • the preset program being executed by a processor to implement the first embodiment described above
  • the steps of the method of assigning rights it is also possible to have corresponding advantageous effects, because the technical solution relating to the first embodiment has been described in detail in the first embodiment, and thus will not be described herein.
  • a sixth embodiment of the present invention provides a computer device including a memory, a processor, and a communication bus; the communication bus is used for connection communication between the memory and the processor;
  • the program of the method of claiming the rights application described in the second embodiment stored in the memory is executed to implement the steps of the method of the above-mentioned claim.
  • it is also possible to have a corresponding advantageous effect since the technical solution relating to the second embodiment has been described in detail in the second embodiment, and thus will not be described again.
  • a seventh embodiment of the present invention provides a computer readable storage medium storing one or more preset programs, and the method for implementing the above-mentioned call right application when the preset program is executed by a processor A step of.
  • a processor A step of it is also possible to have a corresponding advantageous effect, since the technical solution relating to the second embodiment has been described in detail in the second embodiment, and thus will not be described again.
  • An eighth embodiment of the present invention provides a computer device including a memory, a processor, and a communication bus; the communication bus is used for connection communication between the memory and the processor; And a program for executing the method for assigning the right of voice according to the above-described third embodiment stored in the memory to implement the steps of the method for assigning the right of voice.
  • the corresponding beneficial effects can also be obtained, because the technical solution regarding the third embodiment has been described in detail in the third embodiment, and thus will not be described herein.
  • a ninth embodiment of the present invention provides a computer readable storage medium storing one or more preset programs, and the method for realizing the above-described right distribution when the preset program is executed by a processor A step of.
  • the corresponding beneficial effects can also be obtained, because the technical solution regarding the third embodiment has been described in detail in the third embodiment, and thus will not be described herein.
  • the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better.
  • Implementation Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk,
  • the optical disc includes a number of instructions for causing a terminal (which may be a cell phone, a computer, a cluster server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.

Abstract

Speaking right assignment and application methods, a computer device, and a readable storage medium. The speaking right assignment method comprises: receiving a speaking right request message sent by a user equipment; detecting whether the speaking right request message satisfies a priority speaking right condition; and if the speaking right request message satisfies the priority speaking right condition, assigning a speaking right for the user equipment. By means of the method, it is possible to effectively ensure that a user who has applied for the speaking right but fails in preemption can first obtain the speaking right.

Description

一种话权分配、申请的方法、计算机设备及可读存储介质Method for distributing voice rights, applying method, computer device and readable storage medium 技术领域Technical field
本发明涉及集群技术领域,尤其涉及一种话权分配、申请的方法、计算机设备及可读存储介质。The present invention relates to the field of cluster technologies, and in particular, to a voice rights distribution, a method for applying, a computer device, and a readable storage medium.
背景技术Background technique
集群系统是为满足行业指挥调度需求开发的、面向多种行业应用的专用无线通信系统,集群通讯系统可以提供灵活的指挥调度,已经广泛应用于政府机关、公安安全、交通运输、公共事业、以及其它大型活动组织等需要集群调度的场所。随着LTE技术的广泛应用,集群通讯也向着宽带化、IP化的方向发展,提供数字、图像、音频、视频等多媒体业务。The cluster system is a dedicated wireless communication system developed for the needs of industry command and dispatch, and is applied to a variety of industries. The cluster communication system can provide flexible command and dispatch, and has been widely used in government agencies, public security, transportation, public utilities, and Other large-scale event organizations and other places that require cluster scheduling. With the wide application of LTE technology, cluster communication is also developing in the direction of broadband and IP, providing multimedia services such as digital, image, audio and video.
目前,基于LTE技术的宽带数字集群系统已成为下一代集群系统的发展方向,并且国际上已开始相关标准的研究和制定。3GPP在LTE(Long Term Evolvement)技术之上提出了应用于组通信/集群通信标准框架GCSE(Group Communication System Enabler)。制订了MCPTT集群语音业务标准和增强型多媒体广播多播业务(eMBMS,enhaused Multimedia Boardcast Multicast Service)规范。MCPTT(Mission Critical Push To Talk)规范了LTE网络中PTT业务的实现标准,在应用层设计呼叫控制过程,实现完善的语音集群功能。At present, the broadband digital trunking system based on LTE technology has become the development direction of the next-generation cluster system, and the research and formulation of relevant standards have begun in the world. Based on the LTE (Long Term Evolvement) technology, 3GPP proposes to apply the Group Communication System Enabler (GCSE). The MCPTT cluster voice service standard and the enhanced multimedia boardcast multicast service (eMBMS) specification have been developed. MCPTT (Mission Critical Push To Talk) standardizes the implementation standards of PTT services in LTE networks, and designs call control procedures at the application layer to implement a complete voice clustering function.
然而,现有技术中话权的分配方式的一种是先到先得,即先抢占的用户先得到话权的方式,另一种是给群组中每一个终端分配一个优先级。基于优先级的话权分配方式在组呼业务中有广泛的应用,这种机制能够有效的保证高优先级的用户获取话权。然而,该分配方式也存在一定的弊端,即如果高优先级的用户可以持续的抢占话权,这样就会导致低优先级的用户无法抢占话权。而集群服务器无法为抢占过但抢占失败的低优先级用户分配话权。However, in the prior art, one of the allocation methods of the right to speak is first-come-first-served, that is, the manner in which the preempted user first obtains the right to speak, and the other is to assign a priority to each terminal in the group. Priority-based voice rights allocation has a wide range of applications in group call services. This mechanism can effectively ensure that high-priority users obtain voice. However, this allocation method also has certain drawbacks, that is, if a high-priority user can continuously seize the right to speak, this will result in a low-priority user unable to seize the right to speak. The cluster server cannot allocate the right to the low-priority users who have preempted but preempted the failure.
发明内容Summary of the invention
本发明的主要目的在于提出一种话权分配、申请的方法、计算机设备及可读存储介质,旨在解决以下问题:高优先级的用户持续的抢占话权,而低优先级的用户无法抢占话权。但集群服务器却无法为抢占过但抢占失败的低优先级用户分配话权。The main purpose of the present invention is to provide a method for assigning rights, applying for a computer, a computer device, and a readable storage medium, aiming at solving the following problem: a high-priority user continuously seizes the right to speak, and a low-priority user cannot seize the call. Right of voice. However, the cluster server cannot allocate the right to the low-priority users who have seized but preempted the failure.
根据本发明的一个方面,提供了一种话权分配的方法,所述方法包括:According to an aspect of the present invention, a method of voice right distribution is provided, the method comprising:
接收用户设备发送的话权请求消息;检测所述话权请求消息是否满足优先话权条件;在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权。Receiving a right message request message sent by the user equipment; detecting whether the right message request message satisfies a priority call right condition; and assigning a call right to the user equipment if the call right request message satisfies the priority call right condition.
可选的,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权。Optionally, if the call request message satisfies the priority call condition, the user right is allocated to the user equipment, where: when the call request message carries the priority call identifier, The user equipment allocates a right of a call.
可选的,所述在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权之后,还包括:向所述用户设备发送话权已分配的消息,以指示所述用户设备清除其发出的话权请求信息中携带的所述优先话权标识。Optionally, in the case that the call permission message carries the priority call identity, after the voice is allocated to the user equipment, the method further includes: sending, to the user equipment, a message that the right has been allocated, to indicate The user equipment clears the priority call right identifier carried in the call request information sent by the user equipment.
可选的,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权。Optionally, if the call request message satisfies the priority call condition, the assigning the right to the user equipment includes: detecting that the user equipment that sent the call request message has been recorded In the case, the user equipment is assigned a right of voice.
可选的,所述在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权之后,还包括:向所述用户设备发送话权已分配的消息,以清除对所述用户设备的记录。Optionally, after the user equipment that sends the call request message is detected, after the user equipment is allocated the right to the user equipment, the method further includes: sending, to the user equipment, that the right of the user is allocated A message to clear the record for the user device.
可选的,所述为所述用户设备分配话权,包括:如果预设的最大话权数量大于实际话权用户数量,则为所述用户设备分配话权;如果预设的最大话权数量等于实际话权用户数量,则撤销已分配话权中具有最低优先级的用户设备的话权,为话权请求消息满足优先话权条件的用户设备分配话权。Optionally, the allocating the right of the user equipment includes: if the preset maximum number of voices is greater than the number of the actual voice users, assigning the right to the user equipment; if the preset maximum number of voices If the number of users of the actual call rights is equal, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment that meets the priority right condition.
根据本发明的第二个方面,提供了一种话权申请方法,所述方法包括:接收到话权拒绝消息后,根据所述话权拒绝消息设置自身的优先话权标识;发送话权请求消息,所述话权请求消息中携带优先话权标识。According to a second aspect of the present invention, a method for claiming a call is provided, the method comprising: after receiving a call rejection message, setting a priority call identity of the call according to the call rejection message; sending a call request The message, the right message request message carries a priority call identity.
可选的,所述方法还包括:接收到话权已分配的消息后,清除所述优先话权标识。Optionally, the method further includes: after receiving the message that the right has been allocated, clearing the priority call identity.
根据本发明的第三个方面,提供了一种话权申请方法,所述方法包括:接收到话权拒绝消息后,上报集群服务器,以被所述集群服务器记录;发送话权请求消息,以被所述集群服务器识别。According to a third aspect of the present invention, a method for claiming a call is provided, the method comprising: after receiving a call rejection message, reporting to a cluster server to be recorded by the cluster server; sending a call request message to It is recognized by the cluster server.
可选的,所述方法还包括:接收到话权已分配的消息后,请求所述集群服务器清除对所述用户设备的标识。Optionally, the method further includes: after receiving the message that the right has been allocated, requesting the cluster server to clear the identifier of the user equipment.
根据本发明的第四个方面,提供了一种话权分配的方法,所述方法包括:接收用户设备发送的话权请求消息,所述话权请求消息中携带所述用户设备的信息;将所述用户设备的信息加入待讲话列表,并等待预设时间,将在预设时间内接收的新的话权请求消息所对应的新的用户设备的信息加入所述待讲话列表,所述信息包括用户设备的优先级及抢占时间;超过所述预设时间后,依据话权资源是否足够的情况下,根据所述待讲话列表中的所述用户设备的优先级,为所述用户设备分配话权或发送话权拒绝消息。According to a fourth aspect of the present invention, a method for voice rights distribution is provided, the method comprising: receiving a rights request message sent by a user equipment, where the right request message carries information of the user equipment; The information about the user equipment is added to the to-be-spoken list, and the information of the new user equipment corresponding to the new right-of-rights request message received in the preset time is added to the to-be-speech list, and the information includes the user. The priority of the device and the preemption time; after the preset time is exceeded, according to the priority of the user equipment in the to-be-speech list, the user equipment is allocated the right to the right according to the priority of the user equipment. Or send a denial of rejection message.
可选的,在所述接收用户设备发送的话权请求消息之后,在将所述用户设备的信息加入待讲话列表之前,还包括:检测所述话权请求消息是否上述的所述优先话权条件;在所述话权请求消息满足所述优先话权条件的情况下,根据所述用户设备的优先级为所述用户设备分配话权;在所述话权请求消息未满足所述优先话权条件的情况下,将所述用户设备的信息加入待讲话列表。Optionally, after the receiving the right message request message sent by the user equipment, before adding the information of the user equipment to the to-be-listed list, the method further includes: detecting whether the right to call request message is the priority call condition And in the case that the call request message satisfies the priority call condition, the user equipment is allocated a right according to the priority of the user equipment; and the right request message does not satisfy the priority right In the case of a condition, the information of the user equipment is added to the list to be talked.
可选的,在将所述用户设备的信息加入待讲话列表之后,还包括:所述话权资源包括最大话权数量,若所述最大话权数量等于实际话权用户数量,拒绝为所述用户设备分配话权,向所述用户设备发送拒绝消息。Optionally, after the information about the user equipment is added to the to-be-spoken list, the method further includes: the right-to-right resource includes a maximum number of voice rights, and if the maximum number of voice rights is equal to the number of actual voice users, the rejection is The user equipment allocates a right to send a rejection message to the user equipment.
可选的,还包括:当超过所述预设时间时,若最大话权数量等于实际话权用户设备数量,向所述待讲话列表中的用户设备逐一发送撤回话权请求,逐一删除所述待讲话列表中的信息。Optionally, the method further includes: when the preset time is exceeded, if the maximum number of voices is equal to the number of the actual user equipments, the user equipments in the to-be-listed list are sent one by one to withdraw the call rights request, and the ones are deleted one by one. The information in the list to be spoken.
可选的,分配话权的规则包括:按照用户设备的优先级将用户设备从高至低排序,且将优先级相同的用户设备按照所述抢占时间的先后顺序排序;按照所述排序依次为待讲话列表中的用户设备分配话权。Optionally, the rules for allocating the right of the user include: sorting the user equipments from high to low according to the priority of the user equipment, and sorting the user equipments with the same priority according to the preemption time; The user equipment in the to-be-talked list allocates the right to speak.
可选的,所述给用户设备分配话权包括:为所述用户设备建立上行专用承载,并向所述用户设备设备发送话权已分配的消息,更新该组呼实例中实际话权数量,并向其它参与者发送话权提示,提示中可携带剩余话权数量。Optionally, the allocating the voice right to the user equipment includes: establishing an uplink dedicated bearer for the user equipment, and sending a message that the right of the user has been allocated to the user equipment, and updating the actual number of voices in the group call instance, And send a call to other participants, the number of remaining rights can be carried in the prompt.
其中,所述优先话权条件包括:接收用户设备发送的话权请求消息;检测所述话权请求消息是否满足优先话权条件;在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权。The priority call right condition includes: receiving a call right request message sent by the user equipment; detecting whether the call right request message satisfies a priority call right condition; and if the call right request message satisfies the priority call right condition , assigning a right of voice to the user equipment.
可选的,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权。Optionally, if the call request message satisfies the priority call condition, the user right is allocated to the user equipment, where: when the call request message carries the priority call identifier, The user equipment allocates a right of a call.
可选的,所述在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权之后,还包括:向所述用户设备发送话权已分配的消息,以指示所述用户设备清除其发出的话权请求信息中携带的所述优先话权标识。Optionally, in the case that the call permission message carries the priority call identity, after the voice is allocated to the user equipment, the method further includes: sending, to the user equipment, a message that the right has been allocated, to indicate The user equipment clears the priority call right identifier carried in the call request information sent by the user equipment.
可选的,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权。Optionally, if the call request message satisfies the priority call condition, the assigning the right to the user equipment includes: detecting that the user equipment that sent the call request message has been recorded In the case, the user equipment is assigned a right of voice.
可选的,所述在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权之后,还包括:向所述用户设备发送话权已分配的消息,以清除对所述用户设备的记录。Optionally, after the user equipment that sends the call request message is detected, after the user equipment is allocated the right to the user equipment, the method further includes: sending, to the user equipment, that the right of the user is allocated A message to clear the record for the user device.
可选的,所述为所述用户设备分配话权,包括:如果预设的最大话权数量大于实际话权用户数量,则为所述用户设备分配话权;如果预设的最大话权数量等于实际话权用户数量,则撤销已分配话权中具有最低优先级的用户设备的话权,为话权请求消息满足优先话权条件的用户设备分配话权。Optionally, the allocating the right of the user equipment includes: if the preset maximum number of voices is greater than the number of the actual voice users, assigning the right to the user equipment; if the preset maximum number of voices If the number of users of the actual call rights is equal, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment that meets the priority right condition.
根据本发明的第五个方面,提供了提供了一种计算机设备,所述计算机设备包括存储器、处理器及通信总线;所述通信总线用于所述存储器与所述处理器之间的连接通信;所述处理器用于执行所述存储器中存储的话权分配的方法的程序,以实现上述的话权分配的方法的步骤。According to a fifth aspect of the present invention, there is provided a computer device comprising a memory, a processor and a communication bus; the communication bus being used for connection communication between the memory and the processor a program of the processor for executing a method of assigning a right of voice stored in the memory to implement the steps of the method of voice right allocation described above.
所述方法包括:接收用户设备发送的话权请求消息;检测所述话权请求消息是否满足优先话权条件;在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权。The method includes: receiving a call right request message sent by the user equipment; detecting whether the call right request message satisfies a priority call right condition; and if the call right request message satisfies the priority call right condition, the method is The device assigns the right to speak.
可选的,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权。Optionally, if the call request message satisfies the priority call condition, the user right is allocated to the user equipment, where: when the call request message carries the priority call identifier, The user equipment allocates a right of a call.
可选的,所述在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权之后,还包括:向所述用户设备发送话权已分配的消息,以指示所述用户设备清除其发出的话权请求信息中携带的所述优先话权标识。Optionally, in the case that the call permission message carries the priority call identity, after the voice is allocated to the user equipment, the method further includes: sending, to the user equipment, a message that the right has been allocated, to indicate The user equipment clears the priority call right identifier carried in the call request information sent by the user equipment.
可选的,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权。Optionally, if the call request message satisfies the priority call condition, the assigning the right to the user equipment includes: detecting that the user equipment that sent the call request message has been recorded In the case, the user equipment is assigned a right of voice.
可选的,所述在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权之后,还包括:向所述用户设备发送话权已分配的消息,以清除对所述用户设备的记录。Optionally, after the user equipment that sends the call request message is detected, after the user equipment is allocated the right to the user equipment, the method further includes: sending, to the user equipment, that the right of the user is allocated A message to clear the record for the user device.
可选的,所述为所述用户设备分配话权,包括:如果预设的最大话权数量大于实际话权用户数量,则为所述用户设备分配话权;如果预设的最大话权数量等于实际话权用户数量,则撤销已分配话权中具有最低优先级的用户设备的话权,为话权请求消息满足优先话权条件的用户设备分配话权。Optionally, the allocating the right of the user equipment includes: if the preset maximum number of voices is greater than the number of the actual voice users, assigning the right to the user equipment; if the preset maximum number of voices If the number of users of the actual call rights is equal, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment that meets the priority right condition.
根据本发明的第六个方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个预设程序,所述预设程序被处理器执行时实现上述的话权分配的方法的步骤。According to a sixth aspect of the present invention, a computer readable storage medium storing one or more preset programs, the preset program being executed by a processor to implement the above-described right The steps of the assigned method.
所述方法包括:所述方法包括:接收用户设备发送的话权请求消息;检测所述话权请求消息是否满足优先话权条件;在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权。The method includes: receiving a call request message sent by a user equipment; detecting whether the call request message satisfies a priority call condition; and if the call request message satisfies the priority call condition , assigning a right of voice to the user equipment.
可选的,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权。Optionally, if the call request message satisfies the priority call condition, the user right is allocated to the user equipment, where: when the call request message carries the priority call identifier, The user equipment allocates a right of a call.
可选的,所述在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权之后,还包括:向所述用户设备发送话权已分配的消息,以指示所述用户设备清除其发出的话权请求信息中携带的所述优先话权标识。Optionally, in the case that the call permission message carries the priority call identity, after the voice is allocated to the user equipment, the method further includes: sending, to the user equipment, a message that the right has been allocated, to indicate The user equipment clears the priority call right identifier carried in the call request information sent by the user equipment.
可选的,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权。Optionally, if the call request message satisfies the priority call condition, the assigning the right to the user equipment includes: detecting that the user equipment that sent the call request message has been recorded In the case, the user equipment is assigned a right of voice.
可选的,所述在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权之后,还包括:向所述用户设备发送话权已分配的消息,以清除对所述用户设备的记录。Optionally, after the user equipment that sends the call request message is detected, after the user equipment is allocated the right to the user equipment, the method further includes: sending, to the user equipment, that the right of the user is allocated A message to clear the record for the user device.
可选的,所述为所述用户设备分配话权,包括:如果预设的最大话权数量大于实际话权用户数量,则为所述用户设备分配话权;如果预设的最大话权数量等于实际话权用户数量,则撤销已分配话权中具有最低优先级的用户设备的话权,为话权请求消息满足优先话权条件的用户设备分配话权。Optionally, the allocating the right of the user equipment includes: if the preset maximum number of voices is greater than the number of the actual voice users, assigning the right to the user equipment; if the preset maximum number of voices If the number of users of the actual call rights is equal, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment that meets the priority right condition.
根据本发明的第七个方面,提供了提供了一种计算机设备,所述计算机设备包括存储器、处理器及通信总线;所述通信总线用于所述存储器与所述处理器之间的连接通信;所述处理器用于执行所述存储器中存储的话权分配的方法的程序,以实现上述的话权申请的方法的步骤。According to a seventh aspect of the present invention, there is provided a computer device comprising a memory, a processor and a communication bus; the communication bus for connection communication between the memory and the processor The processor is operative to execute the method of the method of assigning the right to be stored in the memory to implement the steps of the method of the above-mentioned claim.
所述方法包括:接收到话权拒绝消息后,根据所述话权拒绝消息设置自身的优先话权标 识;发送话权请求消息,所述话权请求消息中携带优先话权标识。可选的,所述方法还包括:接收到话权已分配的消息后,清除所述优先话权标识。或收到话权拒绝消息后,上报集群服务器,以被所述集群服务器记录;发送话权请求消息,以被所述集群服务器识别。可选的,所述方法还包括:接收到话权已分配的消息后,请求所述集群服务器清除对所述用户设备的标识。The method includes: after receiving the call rejection message, setting a priority call right identifier according to the call right rejection message; and sending a call right request message, where the call right request message carries the priority call right identifier. Optionally, the method further includes: after receiving the message that the right has been allocated, clearing the priority call identity. Or receiving the right rejection message, reporting to the cluster server to be recorded by the cluster server; sending a call request message to be recognized by the cluster server. Optionally, the method further includes: after receiving the message that the right has been allocated, requesting the cluster server to clear the identifier of the user equipment.
根据本发明的第八个方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个预设程序,所述预设程序被处理器执行时实现上述的话权申请的方法的步骤。According to an eighth aspect of the present invention, a computer readable storage medium storing one or more preset programs, the preset program being executed by a processor to implement the above-described right The steps of the method of application.
所述方法包括:接收到话权拒绝消息后,根据所述话权拒绝消息设置自身的优先话权标识;发送话权请求消息,所述话权请求消息中携带优先话权标识。可选的,所述方法还包括:接收到话权已分配的消息后,清除所述优先话权标识。或收到话权拒绝消息后,上报集群服务器,以被所述集群服务器记录;发送话权请求消息,以被所述集群服务器识别。可选的,所述方法还包括:接收到话权已分配的消息后,请求所述集群服务器清除对所述用户设备的标识。The method includes: after receiving the call rejection message, setting a priority call identity according to the call rejection message; and sending a call request message, where the call request message carries the priority call identity. Optionally, the method further includes: after receiving the message that the right has been allocated, clearing the priority call identity. Or receiving the right rejection message, reporting to the cluster server to be recorded by the cluster server; sending a call request message to be recognized by the cluster server. Optionally, the method further includes: after receiving the message that the right has been allocated, requesting the cluster server to clear the identifier of the user equipment.
根据本发明的第九个方面,提供了提供了一种计算机设备,所述计算机设备包括存储器、处理器及通信总线;所述通信总线用于所述存储器与所述处理器之间的连接通信;所述处理器用于执行所述存储器中存储的话权分配的方法的程序,以实现上述的话权分配的方法的步骤。According to a ninth aspect of the present invention, there is provided a computer device comprising a memory, a processor and a communication bus; the communication bus being used for connection communication between the memory and the processor a program of the processor for executing a method of assigning a right of voice stored in the memory to implement the steps of the method of voice right allocation described above.
所述方法包括:接收用户设备发送的话权请求消息,所述话权请求消息中携带所述用户设备的信息;将所述用户设备的信息加入待讲话列表,并等待预设时间,将在预设时间内接收的新的话权请求消息所对应的新的用户设备的信息加入所述待讲话列表,所述信息包括用户设备的优先级及抢占时间;超过所述预设时间后,依据话权资源是否足够的情况下,根据所述待讲话列表中的所述用户设备的优先级,为所述用户设备分配话权或发送话权拒绝消息。The method includes: receiving a call request message sent by a user equipment, where the call request message carries information of the user equipment; adding information of the user equipment to a to-be-listed list, and waiting for a preset time, The information of the new user equipment corresponding to the new voice request message received in the time is added to the to-be-speech list, where the information includes the priority and the preemption time of the user equipment; If the resource is sufficient, the user equipment is allocated a right to speak or a right rejection message according to the priority of the user equipment in the to-be-spoken list.
可选的,在所述接收用户设备发送的话权请求消息之后,在将所述用户设备的信息加入待讲话列表之前,还包括:检测所述话权请求消息是否上述的所述优先话权条件;在所述话权请求消息满足所述优先话权条件的情况下,根据所述用户设备的优先级为所述用户设备分配话权;在所述话权请求消息未满足所述优先话权条件的情况下,将所述用户设备的信息加入待讲话列表。Optionally, after the receiving the right message request message sent by the user equipment, before adding the information of the user equipment to the to-be-listed list, the method further includes: detecting whether the right to call request message is the priority call condition And in the case that the call request message satisfies the priority call condition, the user equipment is allocated a right according to the priority of the user equipment; and the right request message does not satisfy the priority right In the case of a condition, the information of the user equipment is added to the list to be talked.
可选的,在将所述用户设备的信息加入待讲话列表之后,还包括:所述话权资源包括最大话权数量,若所述最大话权数量等于实际话权用户数量,拒绝为所述用户设备分配话权,向所述用户设备发送拒绝消息。Optionally, after the information about the user equipment is added to the to-be-spoken list, the method further includes: the right-to-right resource includes a maximum number of voice rights, and if the maximum number of voice rights is equal to the number of actual voice users, the rejection is The user equipment allocates a right to send a rejection message to the user equipment.
可选的,还包括:当超过所述预设时间时,若最大话权数量等于实际话权用户设备数量,向所述待讲话列表中的用户设备逐一发送撤回话权请求,逐一删除所述待讲话列表中的信息。Optionally, the method further includes: when the preset time is exceeded, if the maximum number of voices is equal to the number of the actual user equipments, the user equipments in the to-be-listed list are sent one by one to withdraw the call rights request, and the ones are deleted one by one. The information in the list to be spoken.
可选的,分配话权的规则包括:按照用户设备的优先级将用户设备从高至低排序,且将 优先级相同的用户设备按照所述抢占时间的先后顺序排序;按照所述排序依次为待讲话列表中的用户设备分配话权。Optionally, the rules for allocating the right of the user include: sorting the user equipments from high to low according to the priority of the user equipment, and sorting the user equipments with the same priority according to the preemption time; The user equipment in the to-be-talked list allocates the right to speak.
可选的,所述给用户设备分配话权包括:为所述用户设备建立上行专用承载,并向所述用户设备设备发送话权已分配的消息,更新该组呼实例中实际话权数量,并向其它参与者发送话权提示,提示中可携带剩余话权数量。Optionally, the allocating the voice right to the user equipment includes: establishing an uplink dedicated bearer for the user equipment, and sending a message that the right of the user has been allocated to the user equipment, and updating the actual number of voices in the group call instance, And send a call to other participants, the number of remaining rights can be carried in the prompt.
其中,所述优先话权条件包括:接收用户设备发送的话权请求消息;检测所述话权请求消息是否满足优先话权条件;在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权。The priority call right condition includes: receiving a call right request message sent by the user equipment; detecting whether the call right request message satisfies a priority call right condition; and if the call right request message satisfies the priority call right condition , assigning a right of voice to the user equipment.
可选的,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权。Optionally, if the call request message satisfies the priority call condition, the user right is allocated to the user equipment, where: when the call request message carries the priority call identifier, The user equipment allocates a right of a call.
可选的,所述在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权之后,还包括:向所述用户设备发送话权已分配的消息,以指示所述用户设备清除其发出的话权请求信息中携带的所述优先话权标识。Optionally, in the case that the call permission message carries the priority call identity, after the voice is allocated to the user equipment, the method further includes: sending, to the user equipment, a message that the right has been allocated, to indicate The user equipment clears the priority call right identifier carried in the call request information sent by the user equipment.
可选的,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权。Optionally, if the call request message satisfies the priority call condition, the assigning the right to the user equipment includes: detecting that the user equipment that sent the call request message has been recorded In the case, the user equipment is assigned a right of voice.
可选的,所述在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权之后,还包括:向所述用户设备发送话权已分配的消息,以清除对所述用户设备的记录。Optionally, after the user equipment that sends the call request message is detected, after the user equipment is allocated the right to the user equipment, the method further includes: sending, to the user equipment, that the right of the user is allocated A message to clear the record for the user device.
可选的,所述为所述用户设备分配话权,包括:如果预设的最大话权数量大于实际话权用户数量,则为所述用户设备分配话权;如果预设的最大话权数量等于实际话权用户数量,则撤销已分配话权中具有最低优先级的用户设备的话权,为话权请求消息满足优先话权条件的用户设备分配话权。Optionally, the allocating the right of the user equipment includes: if the preset maximum number of voices is greater than the number of the actual voice users, assigning the right to the user equipment; if the preset maximum number of voices If the number of users of the actual call rights is equal, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment that meets the priority right condition.
根据本发明的第十个方面,提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个预设程序,所述预设程序被处理器执行时实现上述的话权分配的方法的步骤。According to a tenth aspect of the present invention, a computer readable storage medium storing one or more preset programs, the preset program being executed by a processor to implement the above-described right of claim The steps of the assigned method.
所述方法包括:接收用户设备发送的话权请求消息,所述话权请求消息中携带所述用户设备的信息;将所述用户设备的信息加入待讲话列表,并等待预设时间,将在预设时间内接收的新的话权请求消息所对应的新的用户设备的信息加入所述待讲话列表,所述信息包括用户设备的优先级及抢占时间;超过所述预设时间后,依据话权资源是否足够的情况下,根据所述待讲话列表中的所述用户设备的优先级,为所述用户设备分配话权或发送话权拒绝消息。The method includes: receiving a call request message sent by a user equipment, where the call request message carries information of the user equipment; adding information of the user equipment to a to-be-listed list, and waiting for a preset time, The information of the new user equipment corresponding to the new voice request message received in the time is added to the to-be-speech list, where the information includes the priority and the preemption time of the user equipment; If the resource is sufficient, the user equipment is allocated a right to speak or a right rejection message according to the priority of the user equipment in the to-be-spoken list.
可选的,在所述接收用户设备发送的话权请求消息之后,在将所述用户设备的信息加入待讲话列表之前,还包括:检测所述话权请求消息是否上述的所述优先话权条件;在所述话权请求消息满足所述优先话权条件的情况下,根据所述用户设备的优先级为所述用户设备分配话权;在所述话权请求消息未满足所述优先话权条件的情况下,将所述用户设备的信息加 入待讲话列表。Optionally, after the receiving the right message request message sent by the user equipment, before adding the information of the user equipment to the to-be-listed list, the method further includes: detecting whether the right to call request message is the priority call condition And in the case that the call request message satisfies the priority call condition, the user equipment is allocated a right according to the priority of the user equipment; and the right request message does not satisfy the priority right In the case of a condition, the information of the user equipment is added to the list to be talked.
可选的,在将所述用户设备的信息加入待讲话列表之后,还包括:所述话权资源包括最大话权数量,若所述最大话权数量等于实际话权用户数量,拒绝为所述用户设备分配话权,向所述用户设备发送拒绝消息。Optionally, after the information about the user equipment is added to the to-be-spoken list, the method further includes: the right-to-right resource includes a maximum number of voice rights, and if the maximum number of voice rights is equal to the number of actual voice users, the rejection is The user equipment allocates a right to send a rejection message to the user equipment.
可选的,还包括:当超过所述预设时间时,若最大话权数量等于实际话权用户设备数量,向所述待讲话列表中的用户设备逐一发送撤回话权请求,逐一删除所述待讲话列表中的信息。Optionally, the method further includes: when the preset time is exceeded, if the maximum number of voices is equal to the number of the actual user equipments, the user equipments in the to-be-listed list are sent one by one to withdraw the call rights request, and the ones are deleted one by one. The information in the list to be spoken.
可选的,分配话权的规则包括:按照用户设备的优先级将用户设备从高至低排序,且将优先级相同的用户设备按照所述抢占时间的先后顺序排序;按照所述排序依次为待讲话列表中的用户设备分配话权。Optionally, the rules for allocating the right of the user include: sorting the user equipments from high to low according to the priority of the user equipment, and sorting the user equipments with the same priority according to the preemption time; The user equipment in the to-be-talked list allocates the right to speak.
可选的,所述给用户设备分配话权包括:为所述用户设备建立上行专用承载,并向所述用户设备设备发送话权已分配的消息,更新该组呼实例中实际话权数量,并向其它参与者发送话权提示,提示中可携带剩余话权数量。Optionally, the allocating the voice right to the user equipment includes: establishing an uplink dedicated bearer for the user equipment, and sending a message that the right of the user has been allocated to the user equipment, and updating the actual number of voices in the group call instance, And send a call to other participants, the number of remaining rights can be carried in the prompt.
其中,所述优先话权条件包括:接收用户设备发送的话权请求消息;检测所述话权请求消息是否满足优先话权条件;在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权。The priority call right condition includes: receiving a call right request message sent by the user equipment; detecting whether the call right request message satisfies a priority call right condition; and if the call right request message satisfies the priority call right condition , assigning a right of voice to the user equipment.
可选的,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权。Optionally, if the call request message satisfies the priority call condition, the user right is allocated to the user equipment, where: when the call request message carries the priority call identifier, The user equipment allocates a right of a call.
可选的,所述在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权之后,还包括:向所述用户设备发送话权已分配的消息,以指示所述用户设备清除其发出的话权请求信息中携带的所述优先话权标识。Optionally, in the case that the call permission message carries the priority call identity, after the voice is allocated to the user equipment, the method further includes: sending, to the user equipment, a message that the right has been allocated, to indicate The user equipment clears the priority call right identifier carried in the call request information sent by the user equipment.
可选的,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权。Optionally, if the call request message satisfies the priority call condition, the assigning the right to the user equipment includes: detecting that the user equipment that sent the call request message has been recorded In the case, the user equipment is assigned a right of voice.
可选的,所述在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权之后,还包括:向所述用户设备发送话权已分配的消息,以清除对所述用户设备的记录。Optionally, after the user equipment that sends the call request message is detected, after the user equipment is allocated the right to the user equipment, the method further includes: sending, to the user equipment, that the right of the user is allocated A message to clear the record for the user device.
可选的,所述为所述用户设备分配话权,包括:如果预设的最大话权数量大于实际话权用户数量,则为所述用户设备分配话权;如果预设的最大话权数量等于实际话权用户数量,则撤销已分配话权中具有最低优先级的用户设备的话权,为话权请求消息满足优先话权条件的用户设备分配话权。Optionally, the allocating the right of the user equipment includes: if the preset maximum number of voices is greater than the number of the actual voice users, assigning the right to the user equipment; if the preset maximum number of voices If the number of users of the actual call rights is equal, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment that meets the priority right condition.
本发明有益效果如下:本发明实施例所提供的一种话权分配、申请的方法、计算机设备及可读存储介质,可以有效的保证已申请过话权请求但抢占失败的用户优先获取话权。The beneficial effects of the present invention are as follows: a method for assigning rights, applying for a request, a computer device, and a readable storage medium provided by the embodiments of the present invention can effectively ensure that a user who has applied for a call right request but has failed to preempt has priority in obtaining the call right.
附图说明DRAWINGS
图1为本发明第一实施例的第一流程框图;1 is a first flow chart of a first embodiment of the present invention;
图2为本发明第三实施例的第二流程框图;2 is a second flow chart of a third embodiment of the present invention;
图3为话权申请流程图,其中,用户D、用户C、用户B申请话权,用户B及用户C授予话权,用户D具有优先讲话权;3 is a flowchart of a call right application, in which user D, user C, and user B apply for a call right, user B and user C grant a call right, and user D has a priority speaking right;
图4为话权申请流程图,其中,用户B释放话权,用户A及用户D申请话权,用户D具有话权,用户D抢占得到话权;4 is a flow chart of a call right application, in which user B releases the right to speak, user A and user D apply for the right to speak, user D has the right to speak, and user D seizes the right to call;
图5为话权申请流程图,其中,用户A具有优先话权,申请话权时释放低级别优先级的用户的话权。FIG. 5 is a flow chart of a call right application, in which user A has a priority call right and releases the right of the user of the low-level priority when applying the right to speak.
本发明目的的实现、功能特点及优点将结合实施例,参照附图做进一步说明。The implementation, functional features, and advantages of the present invention will be further described in conjunction with the embodiments.
具体实施方式detailed description
应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。It is understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
在后续的描述中,使用用于表示元件的诸如“模块”、“部件”或“单元”的后缀仅为了有利于本发明的说明,其本身没有特定的意义。因此,“模块”、“部件”或“单元”可以混合地使用。In the following description, the use of suffixes such as "module", "component" or "unit" for indicating an element is merely an explanation for facilitating the present invention, and has no specific meaning per se. Therefore, "module", "component" or "unit" can be used in combination.
为了便于理解本发明实施例,对本发明第一实施例提供的一种话权分配的方法。In order to facilitate the understanding of the embodiments of the present invention, a method for assigning voice rights according to the first embodiment of the present invention is provided.
第一实施例:First embodiment:
图1为本实施例的第一流程框图,结合图1所示,本发明第一实施例提供了一种话权分配的方法,其基于集群服务器侧,所述方法包括:1 is a block diagram of a first process of the present embodiment. As shown in FIG. 1 , a first embodiment of the present invention provides a method for voice rights allocation, which is based on a cluster server side, and the method includes:
S1:接收用户设备发送的话权请求消息;S1: receiving a right request message sent by the user equipment;
S2:检测所述话权请求消息是否满足优先话权条件;S2: detecting whether the call request message satisfies a priority call condition;
S3:在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权。S3: In the case that the right claim message satisfies the priority call condition, the user equipment is allocated a right.
通过本实施例的技术方案,可以有效的保证已申请过抢占话权但抢占失败的用户优先获取话权。With the technical solution of the embodiment, it is possible to effectively ensure that the user who has applied for the preemptive right but the preemption fails to obtain the right of the first priority.
具体的,结合图1所示,本实施例提供了一种话权分配的方法,其基于集群服务器侧,所述方法包括:Specifically, in conjunction with FIG. 1, the embodiment provides a method for voice rights allocation, which is based on a cluster server side, and the method includes:
S1:接收用户设备发送的话权请求消息。S1: Receive a call request message sent by the user equipment.
首先,通过后台配置工具,在集群服务器中配置各个用户的优先级,该配置写入用户配置文件中;同时配置组信息以及组包含的用户信息,以及最大话权数目,该数目不大于组内总人数;用户A发起集群通讯,包含组呼、紧急呼叫等业务类型,组内包含X个用户(X>1)。First, configure the priority of each user in the cluster server through the background configuration tool. The configuration is written in the user profile. The group information and the user information contained in the group are also configured, and the maximum number of voices is not greater than the number in the group. Total number of users; User A initiates cluster communication, including group calls, emergency calls, and other service types. The group contains X users (X>1).
而且,最大话权数量等于实际话权用户数量即为具有足够的话权资源。Moreover, the maximum number of voices is equal to the number of actual voice users, that is, there are sufficient resources for the call.
用户想要讲话,按下PTT键,用户通过其对应的用户设备向集群服务器发出话权请求消息,该话权请求消息携带用户设备的标识,更重要的是,该话权请求消息中携带话权申请参数,所述话权申请参数包括用户设备的优先级。集群服务器可根据话权请求消息的到来时间来实现对各个话权请求消息进行记录。If the user wants to talk, the PTT button is pressed, and the user sends a call request message to the cluster server through the corresponding user equipment. The call request message carries the identifier of the user equipment, and more importantly, the call request message carries the message. The right application parameter, the call right application parameter includes a priority of the user equipment. The cluster server can record each right request message according to the arrival time of the call request message.
S2:检测所述话权请求消息是否满足优先话权条件。S2: Detect whether the right claim message satisfies the priority right condition.
集群服务器在接收到来自用户设备的话权请求消息后,首先确定该话权请求消息是否满 足优先话权条件。After receiving the right request message from the user equipment, the cluster server first determines whether the right request message satisfies the priority right condition.
确定所述话权请求消息及发出所述话权请求消息的用户设备是否被集群服务器识别。以使得集群服务器识别出用户设备上一次的话权请求已被拒绝。Determining whether the call request message and the user equipment that issued the call request message are identified by the cluster server. So that the cluster server recognizes that the user's last call request has been rejected.
故在本实施例中,示范性的就话权请求消息是否满足优先话权条件进行以下设置:检测出该话权请求消息中是否携带有优先话权标识。针对优先话权标识,只有在用户通过所对应的用户设备发出的话权请求消息被拒绝之后,用户设备就会为自身设置优先话权标识,当该用户设备再次发出话权请求消息后,这次的话权请求消息中就会携带优选话权标识,携带有优先话权标识,即为满足优先话权条件,以使得该用户设备可以优先分配话权。而话权请求消息中未携带优先话权标识,则该话权请求消息未满足优先话权条件。Therefore, in this embodiment, an exemplary setting of whether the right-of-rights request message satisfies the priority call right condition is performed by detecting whether the priority call right identifier is carried in the right-of-rights request message. For the priority call identifier, the user equipment sets the priority call identity for itself after the user requests the message to be sent through the corresponding user equipment. After the user device sends the call request message again, this time. The right call request message carries the preferred call right identifier, and carries the priority call right identifier, that is, the priority call right condition is met, so that the user equipment can preferentially allocate the call right. If the priority call identifier is not carried in the call request message, the call request message does not satisfy the priority call condition.
当然,针对话权请求消息是否满足优先话权条件,还可以进行以下设置:检测出发出所述话权请求消息的用户设备是否已被记录。当用户设备的上一次话权请求消息被拒绝之后,集群服务器就会记录该用户设备,当用户设备再次提出的话权请求消息被传动至集群服务器时,该用户设备提出的话权请求消息就会满足优先话权条件,使得该用户设备就可以被集群服务器识别,以优先分配话权。Of course, if the priority request condition is satisfied, the following setting may also be performed: detecting whether the user equipment that issued the call request message has been recorded. After the last call request message of the user equipment is rejected, the cluster server records the user equipment. When the user right request message is transmitted to the cluster server, the call request message submitted by the user equipment is satisfied. The priority call condition enables the user equipment to be identified by the cluster server to prioritize the allocation of voice rights.
此外,在本实施例中,并不对话权请求消息是否满足优先话权条件中的优先话权条件进行限定,只需集群服务器可以识别出上一次请求失败的用户设备即可。In addition, in this embodiment, whether the dialog right request message satisfies the priority call right condition in the priority call right condition is defined, and only the cluster server can identify the user equipment that failed the previous request.
S3:在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权。S3: In the case that the right claim message satisfies the priority call condition, the user equipment is allocated a right.
如果该话权请求消息满足所述优先话权条件,则就为发出该话权请求消息的用户设备分配话权。If the right request message satisfies the priority right condition, the user equipment that issued the right request message is assigned a right of call.
具体的,通过该话权请求消息中是否携带有优先话权标识来确定该话权请求消息是否满足优先话权条件。则在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权。当然,还可进一步设置:在为所述用户设备分配话权之后,集群服务器还可以向所述用户设备发送话权已分配的消息,以指示所述用户设备清除其发出的话权请求信息中携带的所述优先话权标识。Specifically, whether the right call request message satisfies the priority call right condition is determined by whether the right call request message carries the priority call right identifier. And in the case that the call request message carries the priority call identity, the user equipment is allocated the right to call. Of course, it may be further provided that, after the user equipment is allocated the right to the user, the cluster server may further send a message that the right of the user has been allocated to the user equipment, to indicate that the user equipment clears the call request information sent by the user equipment. The priority call identity.
当然,也可以是通过发出所述话权请求消息的用户设备是否已被记录来确定该话权请求消息是否满足优先话权条件。则发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权。当然,还可进一步设置:在为所述用户设备分配话权之后,向所述用户设备发送话权已分配的消息,以清除对所述用户设备的记录。当然,集群服务器在为用户设备分配话权后,可以直接清除集群服务器对用户设备的记录,而不向用户设备发送话权已分配的消息。Of course, it may also be determined whether the right request message satisfies the priority right condition by whether the user equipment that issued the call request message has been recorded. If the user equipment that issued the call request message has been recorded, the user equipment is assigned a right to speak. Of course, it may be further provided that after the user equipment is allocated the right to the user equipment, the message that the right has been allocated is sent to the user equipment to clear the record of the user equipment. Of course, after the cluster server allocates the right to the user equipment, the cluster server can directly clear the record of the user equipment of the cluster server, and does not send the message that the right has been allocated to the user equipment.
具体的,集群服务器为该用户设备分配话权,其具体包括:Specifically, the cluster server allocates the right to the user equipment, and the specific includes:
如果预设的最大话权数量大于实际话权用户数量,即话权资源足够,则为所述用户设备分配话权;如果预设的最大话权数量等于实际话权用户数量,即没有话权资源,则撤销已分配话权中具有最低优先级的用户设备的话权,为话权请求消息满足优先话权条件的用户设备分配话权。在此处,话权请求消息满足优先话权条件,即为所述话权请求消息携带优先话权标识或发出所述话权请求消息的用户设备已被记录。If the preset maximum number of voices is greater than the number of actual voice users, that is, the voice resources are sufficient, the user equipment is allocated the right to call; if the preset maximum voice weight is equal to the actual number of voice users, that is, there is no right to speak. For the resource, the right of the user equipment with the lowest priority among the allocated rights is revoked, and the right is allocated for the user equipment whose right request message satisfies the priority right condition. Here, the right claim message satisfies the priority call condition, that is, the user equipment that carries the priority call identity or the call request message is recorded.
其中,预设的最大话权数量大于实际话权用户数量,则意味着该话权抢占系统中具有足够的话权资源,则就可以为该用户设备所对应的用户分配话权;而且,如果预设的最大话权数量等于实际话权用户数量,则意味着该话权抢占那系统中没有足够的话权资源,则集群服务器就会取消该话权抢占系统中已抢占了话权但是具有最低优先级的用户的话权,即回收其话权,并将取消的话权分配给正在进行话权申请且其话权请求消息满足优先话权条件的用户设备。也就意味着,只要用户设备发出的话权抢占消息满足优先话权条件,则该用户设备一定可以抢占到话权。Wherein, if the preset maximum number of voices is greater than the number of actual voice users, it means that the caller has sufficient rights resources in the system, and then the user corresponding to the user equipment can be allocated the right to call; If the maximum number of voices is equal to the number of actual voice users, it means that the caller does not have enough rights resources in the system, and the cluster server cancels the call preemption system and has the lowest priority. The user's right to speak, that is, to reclaim the right of the call, and to assign the canceled right to the user equipment that is in the call right application and whose call request message satisfies the priority call condition. In other words, as long as the right preemption message sent by the user equipment satisfies the priority right condition, the user equipment can preempt the right to speak.
而且,为用户设备分配话权包括:为所述用户建立上行专用承载,并向所述用户设备发送话权已分配的消息,更新该组呼实例中实际话权数量,并向其它参与者发送话权提示,提示中可携带剩余话权数量。Moreover, the assigning the voice right to the user equipment includes: establishing an uplink dedicated bearer for the user, and sending a message that the right of the user has been allocated to the user equipment, updating the actual number of voice rights in the group call instance, and sending the call to the other participant. The right to speak, the number of remaining rights can be carried in the prompt.
通过上述技术方案,就可以有效的保证已申请过抢占话权但抢占失败的用户优先获取话权。Through the above technical solutions, it is possible to effectively ensure that users who have applied for preemptive rights but have failed to preempt have priority in obtaining the right to speak.
为了便于理解本发明实施例,对本发明第二实施例提供的一种话权申请方法进行说明。In order to facilitate the understanding of the embodiments of the present invention, a method for claiming rights provided by the second embodiment of the present invention will be described.
第二实施例:Second embodiment:
本发明第二实施例提供了一种话权申请方法,其基于用户设备端,若通过该话权请求消息中是否携带有优先话权标识来确定该话权请求消息是否满足优先话权,则所述方法包括:The second embodiment of the present invention provides a method for claiming rights, based on whether the right party right identifier is carried in the right message request message to determine whether the right party request message satisfies the priority call right. The method includes:
接收到话权拒绝消息后,根据所述话权拒绝消息设置自身的优先话权标识;发送话权请求消息,所述话权请求消息中携带优先话权标识。After receiving the right-to-reject message, the call-right-rejecting message is set according to the right-of-rights refusal message; the utterance request message is sent, and the call-right-request message carries the priority call right identifier.
即:用户设备在收到话权拒绝消息后,就会设置自身的优先话权标识。当再次发送话权请求消息后,该话权请求消息就会携带优先话权标识。That is, after receiving the right rejection message, the user equipment sets its own priority right identity identifier. After the call request message is sent again, the call request message carries the priority call identity.
而且,当接收到话权已分配的消息后,清除所述优先话权标识。用户设备就会清楚其自身的优先化权标识。Moreover, after receiving the message that the right has been allocated, the priority call identity is cleared. The user device will be aware of its own prioritization identifier.
当然,若本实施例通过发出所述话权请求消息的用户设备是否已被记录来确定该话权请求消息是否满足优先话权条件。则所述方法包括:Of course, if the embodiment determines whether the right request message satisfies the priority right condition by whether the user equipment that issued the right claim message has been recorded. Then the method comprises:
接收到话权拒绝消息后,上报集群服务器,以被所述集群服务器记录;发送话权请求消息,以被所述集群服务器识别。After receiving the call rejection message, the cluster server is reported to be recorded by the cluster server; and the call request message is sent to be recognized by the cluster server.
即:用户设备在收到话权拒绝消息后,就会上报集群服务器,集群服务器就会记录该用户设备。当再次发送话权请求消息后,发出该话权请求消息的用户设备就会被集群服务器识别。That is, after receiving the right rejection message, the user equipment reports the cluster server, and the cluster server records the user equipment. When the right claim message is sent again, the user equipment that issued the call request message is recognized by the cluster server.
而且,当接收到话权已分配的消息后,用户设备可以发送清楚请求至集群服务器,以请求所述集群服务器清除集群服务器对所述用户设备的标识。Moreover, after receiving the message that the right has been allocated, the user equipment can send a clear request to the cluster server to request the cluster server to clear the identity of the user equipment of the cluster server.
为了便于理解本发明实施例,对本发明第三实施例提供的一种话权分配方法进行说明。In order to facilitate the understanding of the embodiments of the present invention, a method for allocating a right of voice according to the third embodiment of the present invention will be described.
第三实施例:Third embodiment:
图2为本实施例的第二流程框图,结合图2所示,本发明第三实施例提供了一种话权分配的方法,其基于集群服务器侧,所述方法包括:2 is a block diagram of a second process of the present embodiment. As shown in FIG. 2, a third embodiment of the present invention provides a method for voice rights allocation, which is based on a cluster server side, and the method includes:
S11:接收用户设备发送的话权请求消息,所述话权请求消息中携带所述用户设备的信 息;S11: Receive a call request message sent by the user equipment, where the right request message carries information of the user equipment;
首先,通过后台配置工具,在集群服务器中配置各个用户的优先级,该配置写入用户配置文件中;同时配置组信息以及组包含的用户信息,以及最大话权数目,该数目不大于组内总人数;用户A发起集群通讯,包含组呼、紧急呼叫等业务类型,组内包含X个用户(X>1)。First, configure the priority of each user in the cluster server through the background configuration tool. The configuration is written in the user profile. The group information and the user information contained in the group are also configured, and the maximum number of voices is not greater than the number in the group. Total number of users; User A initiates cluster communication, including group calls, emergency calls, and other service types. The group contains X users (X>1).
而且,最大话权数量等于实际话权用户数量即为具有足够的话权资源。Moreover, the maximum number of voices is equal to the number of actual voice users, that is, there are sufficient resources for the call.
用户想要讲话,按下PTT键,用户通过其对应的用户设备向集群服务器发出话权请求消息,该话权请求消息携带用户设备的标识,更重要的是,该话权请求消息中携带话权申请参数,所述话权申请参数包括用户设备的优先级。集群服务器可根据话权请求消息的到来时间来实现对各个话权请求消息进行记录。If the user wants to talk, the PTT button is pressed, and the user sends a call request message to the cluster server through the corresponding user equipment. The call request message carries the identifier of the user equipment, and more importantly, the call request message carries the message. The right application parameter, the call right application parameter includes a priority of the user equipment. The cluster server can record each right request message according to the arrival time of the call request message.
S12:将所述用户设备的信息加入待讲话列表,并等待预设时间,将在预设时间内接收的新的话权请求消息所对应的新的用户设备的信息加入所述待讲话列表,所述信息包括用户设备的优先级及抢占时间;S12: Add the information of the user equipment to the to-be-listed list, and wait for the preset time to add the information of the new user equipment corresponding to the new right-of-rights request message received in the preset time to the to-be-speech list. The information includes the priority and preemption time of the user equipment;
将发出话权请求消息的用户设备信息加入待讲话列表,并等待预设时间。在该预设时间内,若有新的用户设备提出话权请求消息,则将新的用户设备的信息加入待讲话列表,所述信息包括该用户设备的优先级及抢占时间;The user equipment information that issues the call request message is added to the to-be-speak list, and waits for a preset time. And the information of the new user equipment is added to the to-be-listed list, where the information includes the priority and the preemption time of the user equipment;
S13:超过所述预设时间后,依据话权资源是否足够的情况下,根据所述待讲话列表中的所述用户设备的优先级,为所述用户设备分配话权或发送话权拒绝消息。S13: After the preset time is exceeded, according to the priority of the user equipment, the user equipment is allocated a right to speak or a right to reject the message according to the priority of the user equipment in the to-be-listed list. .
在预设时间以后,如果如果预设的最大话权数量大于实际话权用户数量,即话权资源足够,则根据所述待讲话列表中的所述用户设备的优先级,为所述用户设备分配话权。After the preset time, if the preset maximum number of voices is greater than the actual number of voice users, that is, the voice resources are sufficient, the user equipment is the priority according to the priority of the user equipment in the to-be-listed list. Assign the right to speak.
在预设时间以后,如果如果预设的最大话权数量等于实际话权用户数量,即话权资源不够,则根据所述待讲话列表中的所述用户设备的优先级,为向所述用户设备发送话权拒绝消息,即拒绝为该用户设备分配话权。当然,在拒绝为用户设备分配话权后,可以指示用户设备设置自身的优先化权标识,当然,也可以记录该用户设备,以在该用户设备再次提出话权请求消息时,优先为该用户设备分配话权。After the preset time, if the preset maximum number of voices is equal to the number of actual voice users, that is, the voice resources are insufficient, according to the priority of the user equipment in the to-be-listed list, the user is The device sends a right rejection message, that is, it refuses to assign the right to the user equipment. Certainly, after the user equipment is refused to be assigned the right of the user, the user equipment may be instructed to set the priority identification of the user equipment. Of course, the user equipment may also be recorded to preferentially serve the user equipment when the user equipment resubmits the right to request message. The device assigns the right to speak.
可选的,在所述接收用户设备发送的话权请求消息之后,在将所述用户设备的信息加入待讲话列表之前,还包括:Optionally, after the receiving the content request message sent by the user equipment, before adding the information of the user equipment to the to-be-listed list, the method further includes:
检测所述话权请求消息是否满足上述第一实施例所述的述优先话权条件;Detecting whether the call right request message satisfies the priority call right condition described in the foregoing first embodiment;
在所述话权请求消息满足所述优先话权条件的情况下,根据所述用户设备的优先级为所述用户设备分配话权;And assigning the right to the user equipment according to the priority of the user equipment, where the right request message satisfies the priority call condition;
在所述话权请求消息未满足所述优先话权条件的情况下,将所述用户设备的信息加入待讲话列表。接着,在将所述用户设备的信息加入待讲话列表之后,还包括:所述话权资源包括最大话权数量,若所述最大话权数量等于实际话权用户数量,拒绝为所述用户分配话权,向所述用户设备发送拒绝消息。当然,在拒绝为用户设备分配话权后,可以指示用户设备设置自身的优先化权标识,当然,也可以记录该用户设备,以在该用户设备再次提出话权请求消息时,优先为该用户设备分配话权。And adding the information of the user equipment to the to-be-listed list if the call request message does not satisfy the priority call condition. After the information of the user equipment is added to the to-be-spoken list, the method further includes: the right-to-right resource includes a maximum number of voice rights, and if the maximum number of voice rights is equal to the number of actual voice users, the user is refused to be allocated. The right to speak, sending a rejection message to the user equipment. Certainly, after the user equipment is refused to be assigned the right of the user, the user equipment may be instructed to set the priority identification of the user equipment. Of course, the user equipment may also be recorded to preferentially serve the user equipment when the user equipment resubmits the right to request message. The device assigns the right to speak.
可选的,当超过所述预设时间时,若最大话权数量等于实际话权用户数量,向所述待讲 话列表中的用户逐一发送撤回话权请求,逐一删除所述待讲话列表中的用户信息。当然,在拒绝为各个用户设备分配话权后,可以指示各个用户设备设置自身的优先化权标识,当然,也可以记录这些用户设备,以在这些用户设备再次提出话权请求消息时,优先为这些用户设备分配话权。Optionally, when the preset time is exceeded, if the maximum number of voices is equal to the number of actual users, the user in the to-be-listed list is sent one by one to withdraw the call request, and the to-be-speech list is deleted one by one. User Info. Certainly, after refusing to assign the voice rights to the user equipments, each user equipment may be instructed to set its own priority right identifier. Of course, the user equipments may also be recorded, so that when the user equipment requests the right to request again, the priority is These user devices are assigned the right to speak.
按照用户设备的优先级将用户设备从高至低排序,且将优先级相同的用户设备按照所述抢占时间的先后顺序排序;按照所述排序依次为待讲话列表中的用户设备分配话权。The user equipments are sorted according to the priority of the user equipment, and the user equipments of the same priority are sorted according to the preemption time.
即将待讲话列表中的用户设备按照用户设备的优先级从高至低的顺序排序,对于优先级相同的用户设备,则按照抢占时间的先后顺序排序;然后依次为待讲话列表中的用户设备依次分配话权。当然,还可以接着更新当前的以获取话权的用户设备的数目,并向其它参与者发送话权授予通知,且该通知会携带剩余的话权数量,更新待讲话列表,当然,该过程需要满足当前讲话数量小于等于预设的最大话权数量的约束。The user equipments in the waiting list are sorted according to the priority of the user equipment in descending order. For the user equipments with the same priority, the user equipments are sorted according to the order of the preemption time; Assign the right to speak. Of course, the current number of user equipments for acquiring the right to call may be updated, and the right grant notification is sent to other participants, and the notification carries the remaining number of voice rights, and the waiting list is updated. Of course, the process needs to be satisfied. The constraint that the current number of speeches is less than or equal to the preset maximum number of voices.
针对上述的所述给用户设备分配话权,其包括:为所述用户设备建立上行专用承载,并向所述用户设备发送话权授予消息,更新该组呼实例中实际话权数量,并向其它参与者发送话权提示,提示中可携带剩余话权数量。Assigning the right to the user equipment for the foregoing, the method includes: establishing an uplink dedicated bearer for the user equipment, and sending a right granting message to the user equipment, updating the actual number of voice rights in the group call instance, and Other participants send a call alert, which can carry the remaining number of voices.
采用本发明第一实施例所述的方法,可以在集群通信系统上,实现灵活的多用户设备抢占话权的分配方法,在确保话权分配过程按照用户设备优先级的高低顺序分配的基础上,引入优先话权的分配策略,而优先话权的分配采用集群服务器与终端配合的方式,设计思路简单、灵巧,有效的保证已申请过话权的用户设备也能够获取话权;与此同时,参与者可实时了解目前话权数量,保证了话权分配的有效性与有序性,在一定程度上缓解了空口资源的浪费。According to the method of the first embodiment of the present invention, a flexible multi-user device preemptive voice allocation method can be implemented on the trunking communication system, and the voice rights allocation process is ensured according to the priority of the user equipment priority. The allocation of the priority call rights is introduced, and the allocation of the priority call rights adopts the cooperation mode between the cluster server and the terminal, and the design idea is simple and dexterous, and effectively ensures that the user equipment that has applied for the right to call can also obtain the right to speak; meanwhile, Participants can understand the current number of voices in real time, ensure the validity and order of voice distribution, and alleviate the waste of air interface resources to a certain extent.
此处,结合图3至图5所示,对上述方法进行具体说明。Here, the above method will be specifically described with reference to FIGS. 3 to 5.
其中,RTP是一个应用型的传输层协议,它并不提供任何传输可靠性的保证和流量的拥塞控制机制。RTP位于UDP(User Datagram Protocol)之上。UDP虽然没有TCP那么可靠,并且无法保证实时业务的服务质量,需要RTCP实时监控数据传输和服务质量。Among them, RTP is an application-type transport layer protocol, which does not provide any guarantee of transmission reliability and traffic congestion control mechanism. The RTP is located above the UDP (User Datagram Protocol). Although UDP is not as reliable as TCP and cannot guarantee the quality of service of real-time services, RTCP needs real-time monitoring of data transmission and quality of service.
在MCPTT的发言权控制中,发言权控制无需提供任何传输的可靠性保证与拥塞控制,因而协议上使用了RCTP协议作为发言权控制的协议,媒体流的传送使用RTP协议。RTCP的协议格式如下所示:In the floor control of MCPTT, the floor control does not need to provide any transmission reliability guarantee and congestion control. Therefore, the protocol uses the RCTP protocol as the floor control protocol, and the media stream is transmitted using the RTP protocol. The protocol format of RTCP is as follows:
Figure PCTCN2018090550-appb-000001
Figure PCTCN2018090550-appb-000001
其中,Subtype可用于区分业务类型,在协议MCPTT中,该字段用于区分三种业务类型,即:"MCPT"(i.e.Floor control)、"MCPC"(i.e.Pre-established session call control)、(i.e.MBMS subchannel control),发言权控制使用MCPT业务类型。Subtype can be used to distinguish the service type. In the protocol MCPTT, this field is used to distinguish three service types, namely: "MCPT" (ieFloor control), "MCPC" (iePre-established session call control), (ie MBMS subchannel control), the floor control uses the MCPT service type.
应用层特定数据的区域的格式协议中已经定义如下:The format protocol for the area in which layer-specific data is applied has been defined as follows:
Figure PCTCN2018090550-appb-000002
Figure PCTCN2018090550-appb-000002
根据发明内容,RTCP包的扩展可增加如下字段:见如下最后两行的字段;According to the invention, the extension of the RTCP packet can add the following fields: see the fields of the last two lines as follows;
Floor control specific data fieldsFloor control specific data fields
Figure PCTCN2018090550-appb-000003
Figure PCTCN2018090550-appb-000003
此外,结合图3至图5,对上述技术方案再次进行详述,其中,图3为话权申请流程图,其中,用户D、用户C、用户B申请话权,用户B及用户C授予话权,用户D具有优先讲话权;图4为话权申请流程图,其中,用户B释放话权,用户A及用户D申请话权,用户D具有话权,用户D抢占得到话权;图5为话权申请流程图,其中,用户A具有优先话权,申请话权时释放低级别优先级的用户的话权。用户初始注册时的具体方式包括:用户开机时,选择了一个驻留小区,发起随机接入过程(该流程为既有LTE的流程),UE接入到小区后,用户设备向集群服务器发起注册请求过程,该请求携带用户标识、终端的集群能力、支持的编解码格式,集群服务器接收到后,首先对用户的权限进行鉴定,鉴定完成后,更新该用户的在线状态,然后将用户相关配置信息发送给用户设备,配置信息包含用户所签约的组信息、用户配置信息,包含用户优先级。用户设备初始化优先讲话标识为无效值,并保存其配置的优先级。In addition, with reference to FIG. 3 to FIG. 5, the above technical solution is again described in detail. FIG. 3 is a flow chart of the call right application, in which user D, user C, and user B apply for the right to speak, and user B and user C grant the message. User D has priority speaking rights; Figure 4 is a flow chart of call rights application, in which user B releases the call right, user A and user D apply for the right to call, user D has the right to call, and user D seizes the right to call; Figure 5 For the right application flow chart, the user A has the priority right, and the right of the user of the low priority is released when the right is applied. The specific mode of the initial registration of the user includes: when the user is powered on, a camping cell is selected, and a random access process is initiated (the process is an existing LTE process). After the UE accesses the cell, the user equipment initiates registration with the cluster server. The request process, the request carries the user identifier, the clustering capability of the terminal, and the supported codec format. After receiving the cluster server, the cluster server first authenticates the user's authority. After the authentication is completed, the online state of the user is updated, and then the user is configured. The information is sent to the user equipment, and the configuration information includes the group information and user configuration information signed by the user, including the user priority. The user equipment initialization priority speech is identified as an invalid value and the priority of its configuration is saved.
假设集群服务器侧客户端A、客户端B、客户端C、客户端D在同一组中,客户端A发起组呼业务,携带发起人标识、业务类型、组标识、以及加密指示等信息,用户设备接收到后,首先对客户端A进行认证,判断用户A是否有足够的权限发起组播业务,解析组标识,判断组标识的合法性,成功后向主叫用户回送业务建立的请求,完成组ID的解析后,获取签约到该组的成员,向组内用户发起呼叫请求,携带呼叫类型、组标识、端到端加密指示。组内用户接收呼叫请求后,加入组呼业务。这里假设集群服务器中预设的话权数目为2,客户端A、客户端B、客户端C、客户端D的优先级分别是1、2、3、4,其中,客户端A的优先级大于客户端B,客户端B的优先级大于客户端C、客户端C的优先级大于客户端D。 优先话权0代表无优先话权,1代表拥有讲话权。Assume that the client A, the client B, the client C, and the client D are in the same group, and the client A initiates a group call service, carrying the identity of the initiator, the service type, the group identifier, and the encryption indication. After receiving the device, the device authenticates the client A. It determines whether the user A has sufficient rights to initiate the multicast service, resolves the group ID, and determines the legality of the group ID. After the success, the request is sent back to the calling user. After the group ID is parsed, the member who subscribes to the group is obtained, and a call request is initiated to the user in the group, and the call type, the group identifier, and the end-to-end encryption indication are carried. After receiving a call request, the user in the group joins the group call service. It is assumed that the number of voices preset in the cluster server is 2, and the priorities of the client A, the client B, the client C, and the client D are 1, 2, 3, and 4, respectively, wherein the priority of the client A is greater than Client B, client B has a higher priority than client C, and client C has a higher priority than client D. The priority call right 0 means no priority right, and 1 means has the right to speak.
步骤一:客户端D,客户端C,客户端B依次发起发言权控制。Step 1: Client D, client C, and client B initiate voice control in turn.
步骤二、集群服务器首先收到客户端D的话权请求消息,消息携带用户的优先级为4,优先话权的值为0。由于实际授权的讲话用户为0,则将客户端D放入等待讲话列表,并设置话权检测定时器;Step 2: The cluster server first receives the call request message of the client D. The priority of the message carrying user is 4, and the value of the priority call is 0. Since the actually authorized speaking user is 0, the client D is placed in the waiting speech list, and the call right detection timer is set;
步骤三、类似步骤二,集群服务器将客户端D、客户端C、客户端B,依次放入等待讲话列表中,话权检测定时器已设置,则不再设置;Step 3: Similar to step 2, the cluster server puts the client D, the client C, and the client B into the waiting speech list in turn, and the call right detection timer is set, and is no longer set;
步骤四、话权检测时长到后,将等待列表中用于的优先级排序,排序后的用户列表为客户端B、客户端C、客户端D,依次为客户端B创建上行承载,分配话权,并向客户端B回应话权授权通知,记录目前组内的实际授权讲话用户的数目为1,向参与者发送话权通知时,携带剩余的话权数量1。紧接着,按照相同的流程,为客户端C分配话权,下发授权通知,由于预设话权数目为2,满足系统条件,客户端D分配话权,集群服务器向客户端D下发话权拒绝通知。Step 4: After the call right detection period is long, the priority list used in the list is sorted. The sorted user list is client B, client C, and client D, and then the client B creates an uplink bearer. Right, and respond to the client B with a call authorization notification, record the number of actual authorized talk users in the current group is 1, and when the caller notification is sent to the participant, carry the remaining number of call rights 1. Then, according to the same process, the client C is assigned the right to call, and the authorization notification is issued. Since the preset number of voices is 2, the system condition is satisfied, the client D allocates the right, and the cluster server sends the right to the client D. Reject the notice.
步骤四,客户端D收到话权拒绝通知后,将自身的优先话权的标识设置为1。可选地,客户端D将自身的优先话权标识设置为1后,设定优先话权定时器,如果在设定时长内,客户端D再次申请话权,则携带优先话权标识为1;否则,客户端清除自身的优先话权标识,判定客户端D用户无优先讲话的必要。Step 4: After receiving the right of rejection notification, the client D sets the identity of the priority call right to 1. Optionally, after setting the priority call identifier of the client D to 1, the client sets a priority call timer. If the client D requests the call right again within the set duration, the priority call identifier is 1 Otherwise, the client clears its own priority right identity and determines that the client D user has no priority to speak.
以上完成了按照优先级分配话权的策略。这里需要说明的是,话权检测时长的设置需要合理。设置过长会导致分配话权延迟交大,过短无法达到按照优先级分配话权的效果。The above completes the strategy of assigning voice rights according to priority. It should be noted here that the setting of the voice detection duration needs to be reasonable. If the setting is too long, the allocation of the right to delay will be too large, and the effect of assigning the right according to the priority cannot be achieved.
下面,以实例继续介绍优先话权的分配过程,以便于理解。In the following, the allocation process of the priority call rights will be continued with an example to facilitate understanding.
在上述步骤的基础上,客户端B、客户端C正在讲话,客户端D拥有优先话权。Based on the above steps, client B and client C are talking, and client D has the priority right.
步骤一、客户端B释放话权,集群服务器回收该用户的话权,释放上行承载,更新实际话权数目为1。Step 1: Client B releases the call right, and the cluster server reclaims the call right of the user, releases the uplink bearer, and updates the actual number of voices to 1.
步骤二、客户端A申请话权,由于该用户携带的优先话权为0,集群服务器收到后,将该用户放入等待讲话列表中;Step 2: Client A applies for the right to call, because the priority right of the user is 0, after the cluster server receives the user, the user is placed in the waiting speech list;
步骤三、客户端D申请话权,该用户携带的优先话权标识为1,则集群服务器优先为客户端D创建上行承载,分配话权,并授予话权,记录实际的讲话数目为2,同时,为其他参与者发送话权通知,携带剩余的话权数量为1。Step 3: The client D applies for the call right. The priority call identifier of the user is 1. The cluster server preferentially creates an uplink bearer for the client D, assigns the call right, and grants the call right, and records the actual number of talks as 2. At the same time, the call notification is sent to other participants, and the remaining number of voices is 1.
步骤四、客户端E收到话权分配的通知后,将优先话权标志清除为0;Step 4: After receiving the notification of the right of voice distribution, the client E clears the priority call right flag to 0;
步骤五、待话权检测时长超时,集群服务器判断预设的授权用户数目为实际授权用户数目相同,则向客户端A发送话权拒绝消息;Step 5: The duration of the call right detection timeout expires, and the cluster server determines that the preset number of authorized users is the same as the actual number of authorized users, and sends a right rejection message to the client A;
步骤六、客户端A收到话权拒绝后,将优先话权标识设置为1。可选地,客户端A将自身的优先话权标识设置为1后,设定优先话权定时器,如果在设定时长内,客户端D再次申请话权,则携带优先话权标识为1;否则,清除自身的优先话权标识,UE判定客户端D用户无优先讲话的必要。Step 6: After receiving the rejection of the call, client A sets the priority call identity to 1. Optionally, after setting the priority call identifier of the client A to 1, the client sets the priority call timer. If the client D requests the call right again within the set duration, the priority call identifier is 1 Otherwise, the UE's priority call identity is cleared, and the UE determines that the client D user has no priority to speak.
以上完成了按照优先话权控制的策略,对于那些已请求的用户具有优先话权。下面的实 例继续介绍优先话权控制的抢占机制。The above completes the policy according to the priority call control, and has priority rights for those users who have requested. The following example continues with the preemption mechanism for priority call control.
建立在上一步的基础上,客户端C与客户端D正在进行讲话,客户端A的优先话权标识为1。Based on the previous step, client C and client D are talking, and client A's priority call identifier is 1.
步骤一、客户端A再次向集群服务器发送话权请求,携带优先级标识以及优先话权控制标识为1;Step 1: Client A sends a call right request to the cluster server again, carrying the priority identifier and the priority call right control identifier is 1.
步骤二、集群服务器收到请求后,预设的最大话权数量等于实际话权用户数量,且优先话权标识为1,当前话权中,客户端D拥有最低优先级,则释放用户D的话权,回收上行承载,向客户端D发送话权抢占通知,为客户端A分配话权,创建上行承载,同时向其它参与者客户端B发送话权通知,携带剩余话权数量为0的标识。Step 2: After the cluster server receives the request, the preset maximum number of voices is equal to the number of actual voice users, and the priority call identity is 1. In the current voice, the client D has the lowest priority, and the user D is released. Right, reclaim the uplink bearer, send the call preemption notification to the client D, assign the call right to the client A, create the uplink bearer, and send the call notification to the other participant client B, carrying the identifier with the remaining number of voices 0. .
以上完成了话权抢占的策略,对于那些已请求的用户具有优先话权,且拆除目前话权最低的用户。The above completes the policy of the right to preempt, and has priority for those users who have requested, and removes the user with the lowest right of call.
为了便于理解本发明实施例,对本发明第四实施例提供的一种计算机设备进行说明。In order to facilitate the understanding of the embodiments of the present invention, a computer device according to a fourth embodiment of the present invention is described.
第四实施例:Fourth embodiment:
本发明第四实施例提供了一种计算机设备,所述计算机设备包括存储器、处理器及通信总线;所述通信总线用于所述存储器与所述处理器之间的连接通信;所述处理器用于执行所述存储器中存储的上述的第一实施例所述话权分配的方法的程序,以实现上述的话权分配的方法的步骤。就此,也可以具有相应的有益效果,因为关于第一实施例的技术方案已在第一实施例中详述,故在此不再赘述。A fourth embodiment of the present invention provides a computer device including a memory, a processor, and a communication bus; the communication bus is used for connection communication between the memory and the processor; The program of the method for assigning the right of voice described in the above-described first embodiment stored in the memory is implemented to implement the steps of the method for assigning voice rights as described above. In this regard, it is also possible to have corresponding advantageous effects, because the technical solution relating to the first embodiment has been described in detail in the first embodiment, and thus will not be described herein.
为了便于理解本发明实施例,对本发明第五实施例提供的一种计算机可读存储介质进行说明。In order to facilitate the understanding of the embodiments of the present invention, a computer readable storage medium provided by the fifth embodiment of the present invention is described.
第五实施例:Fifth embodiment:
本发明第五实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个预设程序,所述预设程序被处理器执行时实现上述的第一实施例所述话权分配的方法的步骤。就此,也可以具有相应的有益效果,因为关于第一实施例的技术方案已在第一实施例中详述,故在此不再赘述。A fifth embodiment of the present invention provides a computer readable storage medium storing one or more preset programs, the preset program being executed by a processor to implement the first embodiment described above The steps of the method of assigning rights. In this regard, it is also possible to have corresponding advantageous effects, because the technical solution relating to the first embodiment has been described in detail in the first embodiment, and thus will not be described herein.
为了便于理解本发明实施例,对本发明第六实施例提供的一种计算机设备进行说明。In order to facilitate the understanding of the embodiments of the present invention, a computer device according to a sixth embodiment of the present invention is described.
第六实施例:Sixth embodiment:
本发明第六实施例提供了一种计算机设备,所述计算机设备包括存储器、处理器及通信总线;所述通信总线用于所述存储器与所述处理器之间的连接通信;所述处理器用于执行所述存储器中存储的上述第二实施例所述话权申请的方法的程序,以实现上述的话权申请的方法的步骤。就此,也可以具有相应的有益效果,因为关于第二实施例的技术方案已在第二实施例中详述,故在此不再赘述。A sixth embodiment of the present invention provides a computer device including a memory, a processor, and a communication bus; the communication bus is used for connection communication between the memory and the processor; The program of the method of claiming the rights application described in the second embodiment stored in the memory is executed to implement the steps of the method of the above-mentioned claim. In this regard, it is also possible to have a corresponding advantageous effect, since the technical solution relating to the second embodiment has been described in detail in the second embodiment, and thus will not be described again.
为了便于理解本发明实施例,对本发明第七实施例提供的一种计算机可读存储介质进行说明。In order to facilitate the understanding of the embodiments of the present invention, a computer readable storage medium provided by the seventh embodiment of the present invention is described.
第七实施例:Seventh embodiment:
本发明第七实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一 个或者多个预设程序,所述预设程序被处理器执行时实现上述的话权申请的方法的步骤。就此,也可以具有相应的有益效果,因为关于第二实施例的技术方案已在第二实施例中详述,故在此不再赘述。A seventh embodiment of the present invention provides a computer readable storage medium storing one or more preset programs, and the method for implementing the above-mentioned call right application when the preset program is executed by a processor A step of. In this regard, it is also possible to have a corresponding advantageous effect, since the technical solution relating to the second embodiment has been described in detail in the second embodiment, and thus will not be described again.
为了便于理解本发明实施例,对本发明第八实施例提供的一种计算机设备进行说明。In order to facilitate the understanding of the embodiments of the present invention, a computer device according to an eighth embodiment of the present invention is described.
第八实施例:Eighth embodiment:
本发明第八实施例提供了一种计算机设备,所述计算机设备包括存储器、处理器及通信总线;所述通信总线用于所述存储器与所述处理器之间的连接通信;所述处理器用于执行所述存储器中存储的上述第三实施例所述话权分配的方法的程序,以实现上述的话权分配的方法的步骤。就此,也可以具有相应的有益效果,因为关于第三实施例的技术方案已在第三实施例中详述,故在此不再赘述。An eighth embodiment of the present invention provides a computer device including a memory, a processor, and a communication bus; the communication bus is used for connection communication between the memory and the processor; And a program for executing the method for assigning the right of voice according to the above-described third embodiment stored in the memory to implement the steps of the method for assigning the right of voice. In this regard, the corresponding beneficial effects can also be obtained, because the technical solution regarding the third embodiment has been described in detail in the third embodiment, and thus will not be described herein.
为了便于理解本发明实施例,对本发明第九实施例提供的一种计算机可读存储介质进行说明。In order to facilitate the understanding of the embodiments of the present invention, a computer readable storage medium provided by the ninth embodiment of the present invention is described.
第九实施例:Ninth embodiment:
本发明第九实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有一个或者多个预设程序,所述预设程序被处理器执行时实现上述的话权分配的方法的步骤。就此,也可以具有相应的有益效果,因为关于第三实施例的技术方案已在第三实施例中详述,故在此不再赘述。A ninth embodiment of the present invention provides a computer readable storage medium storing one or more preset programs, and the method for realizing the above-described right distribution when the preset program is executed by a processor A step of. In this regard, the corresponding beneficial effects can also be obtained, because the technical solution regarding the third embodiment has been described in detail in the third embodiment, and thus will not be described herein.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。It is to be understood that the term "comprises", "comprising", or any other variants thereof, is intended to encompass a non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes those elements. It also includes other elements that are not explicitly listed, or elements that are inherent to such a process, method, article, or device. An element that is defined by the phrase "comprising a ..." does not exclude the presence of additional equivalent elements in the process, method, item, or device that comprises the element.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,集群服务器,空调器,或者网络设备等)执行本发明各个实施例所述的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the foregoing embodiment method can be implemented by means of software plus a necessary general hardware platform, and of course, can also be through hardware, but in many cases, the former is better. Implementation. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, may be embodied in the form of a software product stored in a storage medium (such as ROM/RAM, disk, The optical disc includes a number of instructions for causing a terminal (which may be a cell phone, a computer, a cluster server, an air conditioner, or a network device, etc.) to perform the methods described in various embodiments of the present invention.
上面结合附图对本发明的实施例进行了描述,但是本发明并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本发明的启示下,在不脱离本发明宗旨和权利要求所保护的范围情况下,还可做出很多形式,这些均属于本发明的保护之内。The embodiments of the present invention have been described above with reference to the drawings, but the present invention is not limited to the specific embodiments described above, and the specific embodiments described above are merely illustrative and not restrictive, and those skilled in the art In the light of the present invention, many forms may be made without departing from the spirit and scope of the invention as claimed.

Claims (22)

  1. 一种话权分配的方法,包括:A method of assigning voice rights, including:
    接收用户设备发送的话权请求消息;Receiving a right request message sent by the user equipment;
    检测所述话权请求消息是否满足优先话权条件;Detecting whether the call request message satisfies a priority call condition;
    在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权。And assigning the right to the user equipment if the call request message satisfies the priority call condition.
  2. 根据权利要求1所述的方法,其中,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:The method of claim 1, wherein, when the call request message satisfies the priority call condition, assigning the right to the user equipment comprises:
    在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权。And in the case that the right claim message carries the priority call identity, the user equipment is allocated a right to call.
  3. 根据权利要求2所述的方法,其中,所述在所述话权请求消息携带优先话权标识的情况下,为所述用户设备分配话权之后,还包括:The method according to claim 2, wherein, after the right message request message carries the priority call right identifier, after the voice right is allocated to the user equipment, the method further includes:
    向所述用户设备发送话权已分配的消息,以指示所述用户设备清除其发出的话权请求信息中携带的所述优先话权标识。Sending, to the user equipment, a message that the right of the user has been allocated, to indicate that the user equipment clears the priority call right identifier carried in the right request information sent by the user equipment.
  4. 根据权利要求1所述的方法,其中,在所述话权请求消息满足所述优先话权条件的情况下,为所述用户设备分配话权,包括:The method of claim 1, wherein, when the call request message satisfies the priority call condition, assigning the right to the user equipment comprises:
    在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权。In the case that it is detected that the user equipment that issued the right claim message has been recorded, the user equipment is assigned a right of voice.
  5. 根据权利要求4所述的方法,其中,所述在检测出发出所述话权请求消息的用户设备已被记录的情况下,为所述用户设备分配话权之后,还包括:The method according to claim 4, wherein, after detecting that the user equipment that issued the call right request message has been recorded, after assigning the right to the user equipment, the method further includes:
    向所述用户设备发送话权已分配的消息,以清除对所述用户设备的记录。Sending a message that the right has been assigned to the user equipment to clear the record of the user equipment.
  6. 根据权利要求1所述的方法,其中,所述为所述用户设备分配话权,包括:The method of claim 1, wherein the assigning the right to the user equipment comprises:
    如果预设的最大话权数量大于实际话权用户数量,则为所述用户设备分配话权;If the preset maximum number of voices is greater than the number of actual voice users, assigning the right to the user equipment;
    如果预设的最大话权数量等于实际话权用户数量,则撤销已分配话权中具有最低优先级的用户设备的话权,为话权请求消息满足优先话权条件的用户设备分配话权。If the preset maximum number of voices is equal to the number of the actual voice users, the right of the user equipment having the lowest priority among the allocated voices is revoked, and the voice rights are allocated to the user equipments that satisfy the priority right condition.
  7. 一种话权申请方法,包括:A method for claiming rights, including:
    接收到话权拒绝消息后,根据所述话权拒绝消息设置自身的优先话权标识;After receiving the right rejection message, setting the priority call identity of the call according to the right rejection message;
    发送话权请求消息,所述话权请求消息中携带优先话权标识。Sending a call request message, where the call request message carries a priority call identity.
  8. 根据权利要求7所述的方法,其中,所述方法还包括:The method of claim 7 wherein the method further comprises:
    接收到话权已分配的消息后,清除所述优先话权标识。After receiving the message that the right has been allocated, the priority call identity is cleared.
  9. 一种话权申请方法,包括:A method for claiming rights, including:
    接收到话权拒绝消息后,上报集群服务器,以被所述集群服务器记录;After receiving the call rejection message, the report is reported to the cluster server to be recorded by the cluster server;
    发送话权请求消息,以被所述集群服务器识别。A call request message is sent to be recognized by the cluster server.
  10. 根据权利要求8所述的方法,其中,所述方法还包括:The method of claim 8 wherein the method further comprises:
    接收到话权已分配的消息后,请求所述集群服务器清除对所述用户设备的标识。After receiving the message that the right has been allocated, the cluster server is requested to clear the identifier of the user equipment.
  11. 一种话权分配的方法,包括:A method of assigning voice rights, including:
    接收用户设备发送的话权请求消息,所述话权请求消息中携带所述用户设备的信息;Receiving a right request message sent by the user equipment, where the right request message carries information of the user equipment;
    将所述用户设备的信息加入待讲话列表,并等待预设时间,将在预设时间内接收的新的话权请求消息所对应的新的用户设备的信息加入所述待讲话列表,所述信息包括用户设备的优先级及抢占时间;Adding the information of the user equipment to the to-be-listed list, and waiting for the preset time, adding information of the new user equipment corresponding to the new right-of-rights request message received in the preset time to the to-be-listed list, the information Including the priority and preemption time of the user equipment;
    超过所述预设时间后,依据话权资源是否足够的情况下,根据所述待讲话列表中的所述用户设备的优先级,为所述用户设备分配话权或发送话权拒绝消息。After the preset time is exceeded, according to the priority of the user equipment, the user equipment is allocated a right to speak or a right to reject the message according to the priority of the user equipment in the to-be-spoken list.
  12. 根据权利要求11所述的方法,其中,在所述接收用户设备发送的话权请求消息之后,在将所述用户设备的信息加入待讲话列表之前,还包括:The method according to claim 11, wherein, after the receiving the content request message sent by the user equipment, before adding the information of the user equipment to the to-be-listed list, the method further includes:
    检测所述话权请求消息是否满足权利要求1至6任一项所述优先话权条件;Detecting whether the call right request message satisfies the priority call condition of any one of claims 1 to 6;
    在所述话权请求消息满足所述优先话权条件的情况下,根据所述用户设备的优先级为所述用户设备分配话权;And assigning the right to the user equipment according to the priority of the user equipment, where the right request message satisfies the priority call condition;
    在所述话权请求消息未满足所述优先话权条件的情况下,将所述用户设备的信息加入待讲话列表。And adding the information of the user equipment to the to-be-listed list if the call request message does not satisfy the priority call condition.
  13. 根据权利要求12所述的方法,其中,在将所述用户设备的信息加入待讲话列表之后,还包括:The method of claim 12, after the information of the user equipment is added to the to-be-listed list, further comprising:
    所述话权资源包括最大话权数量,若所述最大话权数量等于实际话权用户数量,拒绝为所述用户设备分配话权,向所述用户设备发送拒绝消息。The call rights resource includes a maximum number of call rights. If the maximum number of call rights is equal to the number of actual call rights users, the user equipment is refused to be assigned a call right, and a reject message is sent to the user equipment.
    根据权利要求13所述的方法,还包括:The method of claim 13 further comprising:
  14. 当超过所述预设时间时,若最大话权数量等于实际话权用户设备数量,向所述待讲话列表中的用户设备逐一发送撤回话权请求,逐一删除所述待讲话列表中的信息。When the preset time is exceeded, if the maximum number of voices is equal to the number of the actual user equipments, the user equipments in the to-be-talked list are sent one by one to withdraw the call rights request, and the information in the to-be-speech list is deleted one by one.
  15. 根据权利要求11至14任一项所述的方法,其中,分配话权的规则包括:The method according to any one of claims 11 to 14, wherein the rules for assigning the right to speak include:
    按照用户设备的优先级将用户设备从高至低排序,且将优先级相同的用户设备按照所述抢占时间的先后顺序排序;The user equipments are sorted from high to low according to the priority of the user equipment, and the user equipments with the same priority are sorted according to the preemption time.
    按照所述排序依次为待讲话列表中的用户设备分配话权。The user equipments in the to-be-talked list are assigned rights in turn according to the sorting.
  16. 根据权利要求15所述的方法,其中,The method of claim 15 wherein
    所述给用户设备分配话权包括:The assigning the right to the user equipment includes:
    为所述用户设备建立上行专用承载,并向所述用户设备设备发送话权已分配的消息,更新该组呼实例中实际话权数量,并向其它参与者发送话权提示,提示中可携带剩余话权数量。Establishing an uplink dedicated bearer for the user equipment, and sending a message that the right has been allocated to the user equipment, updating the actual number of voices in the group call instance, and sending a voice prompt to other participants, where the prompt can be carried The number of remaining voices.
  17. 一种计算机设备,其中,所述计算机设备包括存储器、处理器及通信总线;A computer device, wherein the computer device comprises a memory, a processor, and a communication bus;
    所述通信总线用于所述存储器与所述处理器之间的连接通信;The communication bus is used for connection communication between the memory and the processor;
    所述处理器用于执行所述存储器中存储的话权分配的方法的程序,以实现权利要求1至6中任一项所述的话权分配的方法的步骤。The processor is operative to execute the program of the method for assigning the right to be stored in the memory to implement the steps of the method for assigning rights according to any one of claims 1 to 6.
  18. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有一个或者多个预设程序,所述预设程序被处理器执行时实现如权利要求1至6中任一项所述的话权分配的方法的步骤。A computer readable storage medium, wherein the computer readable storage medium stores one or more preset programs, the preset program being executed by a processor to implement the method of any one of claims 1 to 6 The steps of the method of assigning rights.
  19. 一种计算机设备,其中,所述计算机设备包括存储器、处理器及通信总线;A computer device, wherein the computer device comprises a memory, a processor, and a communication bus;
    所述通信总线用于所述存储器与所述处理器之间的连接通信;The communication bus is used for connection communication between the memory and the processor;
    所述处理器用于执行所述存储器中存储的话权分配的方法的程序,以实现权利要求7至10中任一项所述的话权申请方法的步骤。The processor is operative to execute the method of the method for assigning the right to be stored in the memory to implement the steps of the claim applying method according to any one of claims 7 to 10.
  20. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有一个或者多个预设程序,所述预设程序被处理器执行时实现如权利要求7至10中任一项所述的话权申请方法的步骤。A computer readable storage medium, wherein the computer readable storage medium stores one or more preset programs, the preset program being executed by a processor to implement the method of any one of claims 7 to 10 The steps of the right application method.
  21. 一种计算机设备,其中,所述计算机设备包括存储器、处理器及通信总线;A computer device, wherein the computer device comprises a memory, a processor, and a communication bus;
    所述通信总线用于所述存储器与所述处理器之间的连接通信;The communication bus is used for connection communication between the memory and the processor;
    所述处理器用于执行所述存储器中存储的话权分配的方法的程序,以实现权利要求11至16中任一项所述的话权分配的方法的步骤。The processor is operative to execute the program of the method for assigning the right to be stored in the memory to implement the steps of the method for assigning rights according to any one of claims 11 to 16.
  22. 一种计算机可读存储介质,其中,所述计算机可读存储介质存储有一个或者多个预设程序,所述预设程序被处理器执行时实现如权利要求11至16中任一项所述的话权分配的方法的步骤。A computer readable storage medium, wherein the computer readable storage medium stores one or more preset programs, the preset program being executed by a processor to implement the method of any one of claims 11 to 16 The steps of the method of assigning rights.
PCT/CN2018/090550 2017-06-13 2018-06-11 Speaking right assignment and application methods, computer device, and readable storage medium WO2018228298A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710442510.8 2017-06-13
CN201710442510.8A CN109089226A (en) 2017-06-13 2017-06-13 A kind of method, computer equipment and readable storage medium storing program for executing that right of speech is distributed, applied

Publications (1)

Publication Number Publication Date
WO2018228298A1 true WO2018228298A1 (en) 2018-12-20

Family

ID=64659776

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/090550 WO2018228298A1 (en) 2017-06-13 2018-06-11 Speaking right assignment and application methods, computer device, and readable storage medium

Country Status (2)

Country Link
CN (1) CN109089226A (en)
WO (1) WO2018228298A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1346579A (en) * 1998-12-23 2002-04-24 高通股份有限公司 Method and apparatus for providing fair access in a group communication system
CN1728847A (en) * 2004-07-28 2006-02-01 Lg电子株式会社 Providing talk burst assignment in group communication system supporting PTT service
US20080159177A1 (en) * 2006-12-29 2008-07-03 Krishna Balachandran Adaptive method of floor control with fast response time and fairness in communication network
CN102857881A (en) * 2011-06-30 2013-01-02 中兴通讯股份有限公司 Cluster group calling priority change method and method and system for call priority state management

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7761110B2 (en) * 2006-05-31 2010-07-20 Cisco Technology, Inc. Floor control templates for use in push-to-talk applications
US8032169B2 (en) * 2007-11-28 2011-10-04 Motorola Solutions, Inc. System and method for providing low overhead floor control in a distributed peer-to-peer communications network
CN101877706B (en) * 2010-06-24 2013-04-17 北京邮电大学 Multi-terminal multimedia conference control system and implementation method
CN102158813B (en) * 2011-04-28 2014-02-12 海能达通信股份有限公司 Digital cluster communication server, system and method thereof
CN103037315B (en) * 2012-11-01 2015-01-28 上海通号轨道交通工程技术研究中心有限公司 Internet protocol (IP) scheduling group calling word right distribution method based on context sensing
US9456039B2 (en) * 2014-10-31 2016-09-27 Qualcomm Incorporated Exchanging floor arbitration history information during a communication session

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1346579A (en) * 1998-12-23 2002-04-24 高通股份有限公司 Method and apparatus for providing fair access in a group communication system
CN1728847A (en) * 2004-07-28 2006-02-01 Lg电子株式会社 Providing talk burst assignment in group communication system supporting PTT service
US20080159177A1 (en) * 2006-12-29 2008-07-03 Krishna Balachandran Adaptive method of floor control with fast response time and fairness in communication network
CN102857881A (en) * 2011-06-30 2013-01-02 中兴通讯股份有限公司 Cluster group calling priority change method and method and system for call priority state management

Also Published As

Publication number Publication date
CN109089226A (en) 2018-12-25

Similar Documents

Publication Publication Date Title
US8401584B2 (en) Dynamic group prioritization in communication networks
US8755831B2 (en) Selectively allocating data channel resources to wireless communication devices within a wireless communications system
US20110292798A1 (en) SELECTIVELY PROVISIONING CALL SETUP QUALITY OF SERVICE (QoS) RESOURCE RESERVATIONS DURING A COMMUNICATION SESSION WITHIN A WIRELESS COMMUNICATIONS SYSTEM
US8170596B2 (en) Secondary data transmission in a group communication transmission data stream
EP3554037B1 (en) Downlink media transmission control method and related device
US8929939B2 (en) Session-triggered pushing of group communication data
RU2663825C1 (en) Method for controlling tolerance and device
WO2015032362A1 (en) Method, device and apparatus for establishing cluster session bearer
WO2018228298A1 (en) Speaking right assignment and application methods, computer device, and readable storage medium
US11540348B2 (en) Method and apparatus for prioritizing mission critical push to talk traffic during an emergency
WO2010012231A1 (en) Method and device for controlling communication time
EP3909268B1 (en) Scheduling and priority handling for data transmission
WO2006116940A1 (en) A method for locating communication resources for multi-participant service
JP7260569B2 (en) MEDIA DOWNLINK TRANSMISSION CONTROL METHOD AND RELATED DEVICE
WO2012171203A1 (en) Method and device for controlling users access to system
WO2021138894A1 (en) Mcptt group calling method, server, and communication system
CN116781858A (en) Video pushing method and device, terminal equipment and cluster core network

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: 18818249

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: 18818249

Country of ref document: EP

Kind code of ref document: A1