CN109587176A - Multi-person speech communication control method and device, storage medium and electronic equipment - Google Patents

Multi-person speech communication control method and device, storage medium and electronic equipment Download PDF

Info

Publication number
CN109587176A
CN109587176A CN201910060308.8A CN201910060308A CN109587176A CN 109587176 A CN109587176 A CN 109587176A CN 201910060308 A CN201910060308 A CN 201910060308A CN 109587176 A CN109587176 A CN 109587176A
Authority
CN
China
Prior art keywords
sender
voice
voice packet
weighted value
candidate lists
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201910060308.8A
Other languages
Chinese (zh)
Other versions
CN109587176B (en
Inventor
陈海齐
陈金霞
林婷婷
陈厚勇
陈健生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Netease Hangzhou Network Co Ltd
Original Assignee
Netease Hangzhou Network Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Netease Hangzhou Network Co Ltd filed Critical Netease Hangzhou Network Co Ltd
Priority to CN201910060308.8A priority Critical patent/CN109587176B/en
Publication of CN109587176A publication Critical patent/CN109587176A/en
Application granted granted Critical
Publication of CN109587176B publication Critical patent/CN109587176B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications
    • H04L65/403Arrangements for multi-party communication, e.g. for conferences
    • H04L65/4038Arrangements for multi-party communication, e.g. for conferences with floor control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • H04L12/1827Network arrangements for conference optimisation or adaptation

Abstract

Whether it includes: reception voice packet that the embodiment of the present disclosure, which provides a kind of multi-person speech communication control method and device, storage medium and electronic equipment, the multi-person speech communication control method, and judge the corresponding sender of the voice packet in voice candidate lists;If the corresponding sender of the voice packet reads the corresponding weighted value of described sender in the voice candidate lists;Judged whether to send the voice packet according to the weighted value.The technical solution of the embodiment of the present disclosure is sent by the selectivity to voice packet, reduce the quantity for the transmission operation that server is performed simultaneously, network flow is reduced, the voice packet quantity for decreasing sender while receiving reduces the network flow that sender receives data.Due to the quantity for the voice packet that can also reduce while play while reception voice packet quantity reduces, so that the noisy degree that voice plays decreases.

Description

Multi-person speech communication control method and device, storage medium and electronic equipment
Technical field
This disclosure relates to voice communication technology field, in particular to a kind of multi-person speech communication control method and dress It sets, computer readable storage medium and electronic equipment.
Background technique
With the development of voice communication technology, multi-person speech communication software is widely used in a network, such as Teleconference, remote communication of team's type game etc..In current multi-person speech communication, server receives voice packet Afterwards, voice packet can be forwarded to sender's client of other participations, to realize the function of multi-person speech.But if more When occurring the case where multiple senders are simultaneously emitted by voice during people's voice communication, server needs while receiving multiple languages Sound packet, and multiple voice packets are sent to other senders for participating in multi-person speech simultaneously, it at this moment will lead to the transmission of server The problem of operation increases, and network flow increases.Simultaneously as multiple languages that sender can receive simultaneously and Play Server is sent Sound packet causes reception data volume big, and voice plays mixed and disorderly unclear problem.
It should be noted that information is only used for reinforcing the reason to the background of the disclosure disclosed in above-mentioned background technology part Solution, therefore may include the information not constituted to the prior art known to persons of ordinary skill in the art.
Summary of the invention
The disclosure is designed to provide a kind of multi-person speech communication control method and device, computer readable storage medium And electronic equipment, and then the caused voice server when multiple senders are simultaneously emitted by voice is overcome at least to a certain extent The problem of transmission operation increases, and network flow increases.
Other characteristics and advantages of the disclosure will be apparent from by the following detailed description, or partially by the disclosure Practice and acquistion.
According to the disclosure in a first aspect, providing a kind of multi-person speech communication control method, comprising: voice packet is received, And judge the corresponding sender of the voice packet whether in voice candidate lists;If the corresponding sender of the voice packet exists In the voice candidate lists, then the corresponding weighted value of described sender is read;Judge whether to send according to the weighted value The voice packet.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, whether judge the corresponding sender of voice packet In voice candidate lists, further includes: if described sender not in the list, judges that can described sender be added institute State list;If judging, the list can be added in described sender, the list is added in described sender, and according to described The weighted value of the speech parameter configuration described sender of voice packet.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, are matched according to the speech parameter of the voice packet Set the weighted value of described sender, comprising: the speech parameter for calculating the voice packet accounts for the corresponding maximum value of the speech parameter Ratio;According to the ratio and default weight maximum value calculation and the weighted value for configuring described sender.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, the method also includes: if judging the hair The list cannot be added in the side of sending, then does not execute operation to described sender and its voice packet of transmission.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, it is described to be judged whether according to the weighted value Send the voice packet, comprising: be ranked up according to the weighted value of each sender in the voice candidate lists;If the hair The side of sending is in top n, it is determined that described sender has transmission right;If described sender has transmission right, to the voice packet It executes and sends operation;Wherein, the N is positive integer.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, it is described to be judged whether according to the weighted value Send the voice packet, comprising: according to the language of the weighted value and the voice packet of each sender in the voice candidate lists Sound parameter resets the weighted value, and is ranked up according to the weighted value after resetting;If described sender is in top n, it is determined that Described sender has transmission right;If described sender has transmission right, the voice packet is executed and sends operation;Wherein, The N is positive integer.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, after sending the voice packet, the side Method further include: the weighted value that the voice packet corresponds to sender is expanded into presupposition multiple.
In a kind of exemplary embodiment of the disclosure, it is based on aforementioned schemes, which is characterized in that the method also includes: In predetermined period, weighted value is reset by preset ratio to sender in the voice candidate lists;Judge described sender Whether corresponding weighted value is less than first threshold after resetting, and will be described when the weighted value of described sender is less than first threshold Sender removes from the voice candidate lists.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, if in the corresponding sender of the voice packet In the voice candidate lists, then after reading the corresponding weighted value of described sender, the method also includes: it will be described Sender is corresponding to reset to initial value to Speech time.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, the method also includes: in predetermined period When, by the voice candidate lists sender to Speech time reduce preset time;Judge the updated transmission Whether side is less than second threshold to Speech time, and described sender will be described when Speech time is less than second threshold Sender removes from the voice candidate lists.
In a kind of exemplary embodiment of the disclosure, aforementioned schemes are based on, the method also includes: it is fixed by predetermined period Phase empties the voice candidate lists;The corresponding sender of currently received voice packet is added in voice candidate lists, And the weighted value of described sender is configured according to the speech parameter of the voice packet.
According to the second aspect of the disclosure, a kind of multi-person speech communication control device is provided, comprising: judging unit is used In reception voice packet, and judge the corresponding sender of the voice packet whether in voice candidate lists;Reading unit is used for When the corresponding sender of the voice packet is in the voice candidate lists, the corresponding weighted value of described sender is read; Transmission unit sends the voice packet for judging whether according to the weighted value.
In some embodiments of the present disclosure, aforementioned schemes are based on, if the judging unit is configured that described sender Not in the list, judge that can described sender be added the list;If judging, the column can be added in described sender Then the list is added in described sender by table, and the weight of described sender is configured according to the speech parameter of the voice packet Value.
In some embodiments of the present disclosure, aforementioned schemes are based on, being configured that for the judging unit calculates the voice The speech parameter of packet accounts for the ratio of the corresponding maximum value of the speech parameter;According to the ratio and default weight maximum value calculation And configure the weighted value of described sender.
In some embodiments of the present disclosure, aforementioned schemes are based on, if being configured that for the judging unit judges the hair The list cannot be added in the side of sending, then does not execute operation to described sender and its voice packet of transmission.
In some embodiments of the present disclosure, aforementioned schemes are based on, the transmission unit is configured that according to the voice The weighted value of each sender is ranked up in candidate lists;If described sender is in top n, it is determined that described sender has hair Send right;If described sender has transmission right, the voice packet is executed and sends operation;Wherein, the N is positive integer.
In some embodiments of the present disclosure, aforementioned schemes are based on, the transmission unit is configured that according to the voice The speech parameter of the weighted value of each sender and the voice packet resets the weighted value in candidate lists, and according to resetting after Weighted value be ranked up;If described sender is in top n, it is determined that described sender has transmission right;If described sender There is transmission right, then the voice packet is executed and send operation;Wherein, the N is positive integer.
In some embodiments of the present disclosure, it is based on aforementioned schemes, the multi-person speech communication control device further include: power Big unit is re-expanded, the weighted value for the voice packet to be corresponded to sender expands presupposition multiple.
In some embodiments of the present disclosure, it is based on aforementioned schemes, the multi-person speech communication control device further include: the One reset cell, for resetting weighted value by preset ratio to sender in the voice candidate lists in predetermined period; Whether first processing units are less than first threshold for corresponding weighted value after judging described sender resetting, and in the hair The weighted value for the side of sending removes described sender when being less than first threshold from the voice candidate lists.
In some embodiments of the present disclosure, it is based on aforementioned schemes, the multi-person speech communication control device further include: just Beginningization unit, for resetting to initial value to Speech time for described sender is corresponding.
In some embodiments of the present disclosure, it is based on aforementioned schemes, the multi-person speech communication control device further include: the Two reset cells, in predetermined period, reducing to Speech time for sender in the voice candidate lists to be preset Time;Whether the second processing unit is less than second threshold to Speech time for judge updated described sender, and Described sender removes described sender when Speech time is less than second threshold from the voice candidate lists.
In some embodiments of the present disclosure, it is based on aforementioned schemes, the multi-person speech communication control device further include: clear Dummy cell, for periodically emptying the voice candidate lists by predetermined period;Adding unit is used for currently received voice It wraps corresponding sender to be added in voice candidate lists, and described sender is configured according to the speech parameter of the voice packet Weighted value.
According to the third aspect of the disclosure, a kind of computer-readable medium is provided, is stored thereon with computer program, institute State the multi-person speech communication control method realized as described in first aspect in above-described embodiment when program is executed by processor.
According to a fourth aspect of embodiments of the present disclosure, a kind of electronic equipment is provided, comprising: one or more processors; Storage device, for storing one or more programs, when one or more of programs are held by one or more of processors When row, so that one or more of processors realize the multi-person speech communication control as described in first aspect in above-described embodiment Method.
The technical solution that the embodiment of the present disclosure provides can include the following benefits:
In the technical solution provided by some embodiments of the present disclosure, server is in the voice for receiving sender's transmission Bao Hou judges whether to send voice packet according to the corresponding weighted value of sender in voice candidate lists, realize to voice packet Selectivity send, reduce the quantity for the transmission operation that server is performed simultaneously, reduce network flow, decrease participation The voice packet quantity that other senders of multi-person speech receive simultaneously reduces other senders reception for participating in multi-person speech The network flow of data.Due to receiving the quantity of voice packet that can also reduce while play while voice packet quantity is reduced, The noisy degree for enabling to voice to play decreases.
It should be understood that above general description and following detailed description be only it is exemplary and explanatory, not The disclosure can be limited.
Detailed description of the invention
The drawings herein are incorporated into the specification and forms part of this specification, and shows the implementation for meeting the disclosure Example, and together with specification for explaining the principles of this disclosure.It should be evident that the accompanying drawings in the following description is only the disclosure Some embodiments for those of ordinary skill in the art without creative efforts, can also basis These attached drawings obtain other attached drawings.In the accompanying drawings:
Fig. 1 diagrammatically illustrates the flow chart of the multi-person speech communication control method according to one embodiment of the disclosure;
Fig. 2 diagrammatically illustrates the corresponding sender of judgement voice packet according to one embodiment of the disclosure not in voice The flow chart of processing method when candidate lists;
Fig. 3, which is diagrammatically illustrated, configures institute according to the speech parameter of the voice packet according to one embodiment of the disclosure State the flow chart of the weighted value method of sender;
Fig. 4 diagrammatically illustrates judging whether described in transmission according to the weighted value for one embodiment according to the disclosure The flow chart of voice packet method;
Fig. 5 diagrammatically illustrate according to another embodiment of the present disclosure according to the weighted value judge whether send institute State the flow chart of voice packet method;
Fig. 6 diagrammatically illustrates arranging described sender from the voice candidate according to one embodiment of the disclosure The flow chart of removing method in table;
Fig. 7 diagrammatically illustrate according to another embodiment of the present disclosure by described sender from the voice candidate The flow chart of removing method in list;
Fig. 8 diagrammatically illustrates the sender's in the resetting voice candidate lists according to one embodiment of the disclosure Method flow diagram;
Fig. 9 schematically shows a kind of simulation block diagram of multi-person speech communication control device in disclosure exemplary embodiment;
Figure 10 shows the structural schematic diagram for being suitable for the computer system for the electronic equipment for being used to realize the embodiment of the present disclosure.
Specific embodiment
Example embodiment is described more fully with reference to the drawings.However, example embodiment can be with a variety of shapes Formula is implemented, and is not understood as limited to example set forth herein;On the contrary, thesing embodiments are provided so that the disclosure will more Fully and completely, and by the design of example embodiment comprehensively it is communicated to those skilled in the art.
In addition, described feature, structure or characteristic can be incorporated in one or more implementations in any suitable manner In example.In the following description, many details are provided to provide and fully understand to embodiment of the disclosure.However, It will be appreciated by persons skilled in the art that can with technical solution of the disclosure without one or more in specific detail, Or it can be using other methods, constituent element, device, step etc..In other cases, it is not shown in detail or describes known side Method, device, realization or operation are to avoid fuzzy all aspects of this disclosure.
Block diagram shown in the drawings is only functional entity, not necessarily must be corresponding with physically separate entity. I.e., it is possible to realize these functional entitys using software form, or realized in one or more hardware modules or integrated circuit These functional entitys, or these functional entitys are realized in heterogeneous networks and/or processor device and/or microcontroller device.
Flow chart shown in the drawings is merely illustrative, it is not necessary to including all content and operation/step, It is not required to execute by described sequence.For example, some operation/steps can also decompose, and some operation/steps can close And or part merge, therefore the sequence actually executed is possible to change according to the actual situation.
Fig. 1 diagrammatically illustrates the flow chart of the multi-person speech communication control method according to one embodiment of the disclosure, The multi-person speech communication control method can be applied to the server with multi-person speech communication function.For example, multi-person speech The server of meeting.
Shown in referring to Fig.1, according to the multi-person speech communication control method of one embodiment of the disclosure, include the following steps S110 is illustrated in detailed below to step S130:
In step s 110, voice packet is received, and judges the corresponding sender of the voice packet whether in voice candidate In list.
In one embodiment of the present disclosure, the voice packet is that the current all senders for participating in multi-person speech send Voice packet, after receiving the voice packet, to the voice packet, corresponding sender judges, judges that described sender is It is no in the list of voice candidate.For example, currently sharing 8 senders participates in multi-person speech, server needs to receive The voice packet that 8 senders participated in send services at this time wherein there is 3 senders to be currently in voice candidate lists Device need to judge in the voice packet that 8 senders send, if having voice packet to correspond to one of above-mentioned 3 senders.
In the step s 120, if the corresponding sender of the voice packet reads institute in the voice candidate lists State the corresponding weighted value of sender.
It in one embodiment of the present disclosure, include sender and its corresponding weight in the voice candidate lists Value therefore, can be from voice candidate lists directly if the corresponding sender of voice packet is in voice candidate lists Read the corresponding weighted value of described sender.
In one embodiment of the present disclosure, judge the corresponding sender of voice packet whether in voice candidate lists When, referring to shown in Fig. 2, the method also includes step S210 to step S220, it is illustrated in detailed below:
In step S210, if described sender not in the list, judges that can described sender be added the column Table.
In one embodiment of the present disclosure, it can judge that can described sender be added the column according to many kinds of parameters Table.For example, can judge according to the quantity of sender in current speech candidate lists, if current speech candidate lists The quantity of middle sender is less than default sender's quantity, then may determine that the list can be added in described sender;For another example, may be used Judged with the speech parameter of the voice packet sent according to sender, is preset if the parameter for the voice packet that sender sends is greater than Parameter threshold then may determine that the list can be added in described sender.
In step S220, if judging, the list can be added in described sender, described sender is added described in List, and according to the weighted value of the speech parameter of voice packet configuration described sender.
In one embodiment of the present disclosure, the weight of described sender is configured according to the speech parameter of the voice packet Value, referring to shown in Fig. 3, further includes:
Step S310, the speech parameter for calculating the voice packet account for the ratio of the corresponding maximum value of the speech parameter;
Step S320, according to the ratio and default weight maximum value calculation and the weighted value for configuring described sender.
In one embodiment of the present disclosure, the voice packet with speech parameter may include voice packet volume, vibration The parameters such as width, frequency configure the weighted value of described sender according to the speech parameter.For example, reading the sound of the voice packet Parameter is measured, the ratio that calculating volume parameters account for default volume maximum value can be obtained with this ratio multiplied by default weight maximum value To the weighted value of sender.Specifically, it is assumed that default volume maximum value is 100, and presetting weighted value maximum value is 8, current speech The volume parameters of packet are 60, then the weighted value of sender is 4.8.
In one embodiment of the present disclosure, if judging, the list cannot be added in described sender, to the transmission Side and its voice packet sent do not execute operation.
Shown in referring to Fig.1, in step s 130, judged whether to send the voice packet according to the weighted value.
In one embodiment of the present disclosure, described when judging whether to send the voice packet according to the weighted value, institute Stating weighted value can be sender's weighted value current in voice candidate lists referring to shown in Fig. 4, and the method includes such as Lower step S410 to S430, is described in detail below:
In step S410, it is ranked up according to the weighted value of each sender in the voice candidate lists.
In one embodiment of the present disclosure, according to the weighted value of each sender in the voice candidate lists to transmission Side is ranked up, and one for obtaining the sender in voice candidate lists puts in order.Pass through the weighted value according to sender Sender is ranked up, weighted value sequence of each sender before sending this voice packet can be obtained, due to weighted value Be according to voice packet parameter configuration, therefore can obtain the voice packet that sender sends before this speech parameter row Sequence, and then realize the purpose that selection is carried out to sender.
In the step s 420, if the current sequence of described sender is in top n, it is determined that described sender has transmission route Benefit.
In one embodiment of the present disclosure, the transmission route of sender is determined according to the position in the ranking of sender Benefit, by sending, right is associated with sequence, can make to obtain the sender for sending right to be usually transmission high-quality voice packet Sender improves the quality of the voice packet of transmission.
In one embodiment of the present disclosure, the N is positive integer, is parameter preset.The N possesses transmission to be preset The sum of the sender of right possesses the sum for the sender for sending right by being arranged, avoids while sending multiple transmissions The problem of flow caused by the voice packet of side increases, while the setting of parameter N also limits at most while sending the number of voice packet Amount is N, reduces the transmission operation of server.
In step S430, if described sender has transmission right, the voice packet is executed and sends operation.
In one embodiment of the present disclosure, judge that described sender has transmission right by the sequence of weighted value, then will The voice packet is sent to other senders for participating in multi-person speech and plays out.By the way that the voice packet after screening is sent to Other senders for participating in multi-person speech make the received voice packet quantity of other senders decrease, and then reduce flow Use.Simultaneously as received voice packet negligible amounts simultaneously, quality is higher, therefore in other hairs for participating in multi-person speech Noisy degree when the side of sending plays voice packet also can decrease.
In one embodiment of the present disclosure, described when judging whether to send the voice packet according to the weighted value, institute Weighted value is stated to be also possible to according to the weighted value of each sender in the voice candidate lists and current voice packet to be sent Speech parameter resetting after weighted value, referring to Figure 5, described method includes following steps:
Step S510 joins according to the voice of the weighted value and the voice packet of each sender in the voice candidate lists Number resets the weighted value, and is ranked up according to the weighted value after resetting;
Step S520, if described sender is in top n, it is determined that described sender has transmission right;
Step S530 executes the voice packet and sends operation if described sender has transmission right.
In one embodiment of the present disclosure, if the weighted value is also possible to according to each in the voice candidate lists Weighted value after the speech parameter resetting of the weighted value of sender and current voice packet to be sent, then according to the weight after resetting Value is ranked up sender, and one for obtaining the sender in voice candidate lists puts in order.The parameter N and step Parameter N in S420 is identical, is parameter preset, takes positive integer.According to the current weighted value of sender and this transmission voice packet Speech parameter reset the weighted value of sender jointly, and then weighted value is ranked up, can in view of sender it is previous Two aspects of voice quality and current voice quality in the case where, voice packet is screened, so as to the sieve of sender It is more accurate to select.
In one embodiment of the present disclosure, after sending the voice packet, the method also includes: by the voice The weighted value for wrapping corresponding sender expands presupposition multiple.The weighted value that the voice packet is corresponded to sender expands default times Several processes can execute after determination needs to send the voice packet, can also execute after voice packet is sent completely. By the voice packet correspond to sender weighted value expand presupposition multiple, can increase sender's weighted value sequence top n simultaneously A possibility that sending right is obtained, ensure that the continuity of the voice packet content of transmission, improves sender's experience.
In one embodiment of the present disclosure, the fold values of the presupposition multiple can be according to participation multi-person speech communication Sender greatest measure direct proportion or inverse proportion setting, specific fold values can take the real number greater than 1.For example, 10 people can be at most accommodated during multi-person speech communication and carry out voice communication, and presupposition multiple can take the larger value, example at this time 2.5 can such as be taken;For another example 50 people can be at most accommodated during multi-person speech communication and carry out voice communication, then can will be preset Multiple is configured to smaller value, such as can take 1.2.It is default according to the configuration of the greatest measure for the sender for participating in multi-person speech communication Multiple, can make that the weighted value of sender reduces faster so that more senders have an opportunity to send its voice packet; Or the weighted value reduction of sender can be made slower, and then better ensure that the preferable sender of voice packet quality sends language The continuity of sound.
In one embodiment of the present disclosure, referring to shown in Fig. 6, the method also includes following steps S610 to S620, It is described in detail below:
In step S610, in predetermined period, sender in the voice candidate lists is reset by preset ratio Weighted value.
In one embodiment of the present disclosure, within the preset period, to the weight of sender in voice candidate lists Value resets to the preset ratio of former weighted value, reduces the weighted value of sender, can be with by this periodic diminution weighted value The weighted value that voice or the poor sender of voice quality are infrequently sent in voice candidate lists is reduced, to reduce hair The sequence of the side's of sending weight.
In step S620, whether corresponding weighted value is less than first threshold after judging described sender resetting, and in institute Described sender is removed from the voice candidate lists when stating the weighted value of sender less than first threshold.
In one embodiment of the present disclosure, since the weighted value of sender can be reduced to former weighted value in predetermined period Preset ratio, cause weighted value constantly to reduce.When weighted value is decreased to first threshold, the weighted value of first threshold will be less than Corresponding sender removes voice candidate lists.For example, it is 1 that the first threshold, which is arranged, when weighted value is less than 1, by it Corresponding sender removes.By removing the lesser sender of weighted value from voice candidate lists, increase voice list In vacancy so that participate in multi-person speech other senders have be added voice candidate lists chance.
In one embodiment of the present disclosure, if in the corresponding sender of the voice packet in the voice candidate lists In, then after reading the corresponding weighted value of described sender, the method also includes: described sender is corresponding when voice Between reset to initial value.
It in one embodiment of the present disclosure, can also include to Speech time in the voice candidate lists.It is described It is after the effect of Speech time: if sender does not issue voice packet in Speech time after voice candidate lists are added, Sender is removed from the voice candidate lists.When server receives the transmission in voice candidate lists every time Side sends voice packet, after reading the corresponding weighted value of described sender, can reset to initial value to Speech time for described, and And after a reset, if not issuing voice packet in Speech time, still it is removed from the voice candidate lists.
In one embodiment of the present disclosure, referring to shown in Fig. 7, the method also includes following steps S710 to S720:
Step S710, in predetermined period, by the voice candidate lists sender reduced to Speech time it is pre- If the time;
Step S720, whether judge updated described sender is less than second threshold to Speech time, and described Sender's removes described sender when Speech time is less than second threshold from the voice candidate lists.
In one embodiment of the present disclosure, when sender it is corresponding when Speech time be less than second threshold when, will send Side is removed from voice candidate lists.For example, it is 0 that the second threshold, which can be set, when described sender is when voice Between less than 0 when, remove it.By controlling the number in voice candidate lists to Speech time, increase in voice list Vacancy, so that other senders for participating in multi-person speech have the chance that voice candidate lists are added.
In one embodiment of the present disclosure, referring to shown in Fig. 8, the method also includes following steps S810 to S820, It is described in detail below:
In step S810, the voice candidate lists are periodically emptied by predetermined period.
In one embodiment of the present disclosure, periodically voice candidate lists are emptied by predetermined period.If being waited in voice The sender in list that chooses, which constantly sends voice packet, causes voice candidate lists always without vacancy, participates in multi-person speech its When voice candidate lists can not be added in his sender always, the method for periodically emptying voice candidate lists is added, so that ginseng There is the chance that voice candidate lists are added with other senders of multi-person speech.
In step S820, the corresponding sender of currently received voice packet is added in voice candidate lists, and root According to the weighted value of the speech parameter configuration described sender of the voice packet.
In one embodiment of the present disclosure, after voice candidate lists empty, server is by currently received voice It wraps corresponding sender to be added in voice candidate lists, and described sender is configured according to the speech parameter of the voice packet Weighted value.It, can will be current when receiving new voice packet after periodically emptying the voice candidate lists by predetermined period The corresponding sender of received voice packet is added in voice candidate lists, at this time, it may be necessary to which the weighted value to sender is matched It sets, can be configured according to the speech parameter of voice packet, language can be added in specific configuration mode and above-mentioned judgement sender Configuration mode when sound candidate lists is identical.
The Installation practice of the disclosure introduced below can be used for executing the above-mentioned multi-person speech communication controlling party of the disclosure Method.
Fig. 9 schematically shows a kind of simulation block diagram of multi-person speech communication control device in disclosure exemplary embodiment, The device can be set in the server with multi-person speech communication function, for example, the service in team game can be set In device, so that multi-person speech communication can be carried out by rolling into a ball interior sender during team game.
Referring to shown in Fig. 9, the multi-person speech communication control device 900 according to one embodiment of the disclosure includes: judgement Unit 901, reading unit 902 and transmission unit 903.
Wherein, whether judging unit 901 is for receiving voice packet, and judge the corresponding sender of the voice packet in voice In candidate lists;Reading unit 902 is used for when the corresponding sender of the voice packet is in the voice candidate lists, Read the corresponding weighted value of described sender;Transmission unit 903 according to the weighted value for judging whether to send the voice Packet.
In some embodiments of the present disclosure, aforementioned schemes are based on, if the judging unit 901 is configured that the hair The side of sending judges that can described sender be added the list not in the list;If judging, institute can be added in described sender List is stated, then the list is added in described sender, and described sender is configured according to the speech parameter of the voice packet Weighted value.
In some embodiments of the present disclosure, aforementioned schemes are based on, the judging unit 901 is configured that described in calculating The speech parameter of voice packet accounts for the ratio of the corresponding maximum value of the speech parameter;According to the ratio and default weight maximum value Calculate and configure the weighted value of described sender.
In some embodiments of the present disclosure, aforementioned schemes are based on, if being configured that for the judging unit 901 judges institute The list cannot be added by stating sender, then does not execute operation to described sender and its voice packet of transmission.
In some embodiments of the present disclosure, aforementioned schemes are based on, the transmission unit 903 is configured that according to The weighted value of each sender is ranked up in voice candidate lists;If described sender is in top n, it is determined that described sender There is transmission right;If described sender has transmission right, the voice packet is executed and sends operation;Wherein, the N is positive whole Number.
In some embodiments of the present disclosure, aforementioned schemes are based on, the transmission unit 903 is configured that according to The speech parameter of the weighted value of each sender and the voice packet resets the weighted value in voice candidate lists, and according to weight The weighted value postponed is ranked up;If described sender is in top n, it is determined that described sender has transmission right;If the hair There is transmission right in the side of sending, then executes to the voice packet and send operation;Wherein, the N is positive integer.
In some embodiments of the present disclosure, aforementioned schemes are based on, the multi-person speech communication control device 900 also wraps Include: weight expanding unit, the weighted value for the voice packet to be corresponded to sender expand presupposition multiple.
In some embodiments of the present disclosure, aforementioned schemes are based on, the multi-person speech communication control device 900 also wraps It includes: the first reset cell, for being weighed by preset ratio resetting to sender in the voice candidate lists in predetermined period Weight values;Whether first processing units are less than first threshold for corresponding weighted value after judging described sender resetting, and in institute Described sender is removed from the voice candidate lists when stating the weighted value of sender less than first threshold.
In some embodiments of the present disclosure, aforementioned schemes are based on, the multi-person speech communication control device 900 also wraps It includes: initialization unit, for resetting to initial value to Speech time for described sender is corresponding.
In some embodiments of the present disclosure, aforementioned schemes are based on, the multi-person speech communication control device 900 also wraps Include: the second reset cell is reduced to Speech time sender in the voice candidate lists in predetermined period Preset time;Whether the second processing unit is less than second threshold to Speech time for judge updated described sender, And described sender being moved from the voice candidate lists when Speech time is less than second threshold in described sender It removes.
In some embodiments of the present disclosure, aforementioned schemes are based on, the multi-person speech communication control device 900 also wraps It includes: emptying unit, for periodically emptying the voice candidate lists by predetermined period;Adding unit, for will currently receive The corresponding sender of voice packet be added in voice candidate lists, and the hair is configured according to the speech parameter of the voice packet The weighted value for the side of sending.
Each functional module and above-mentioned more people due to the multi-person speech communication control device of the example embodiment of the disclosure The step of example embodiment of voice communication control method, is corresponding, therefore for undisclosed thin in embodiment of the present disclosure Section, please refers to the embodiment of the above-mentioned multi-person speech communication control method of the disclosure.
Below with reference to Figure 10, it illustrates the computer systems for the electronic equipment for being suitable for being used to realize the embodiment of the present disclosure 1000 structural schematic diagram.The computer system 1000 of electronic equipment shown in Figure 10 is only an example, should not be to the disclosure The function and use scope of embodiment bring any restrictions.
As shown in Figure 10, computer system 1000 include central processing unit (CPU) 1001, can according to be stored in only It reads the program in memory (ROM) 1002 or is loaded into random access storage device (RAM) 1003 from storage section 1008 Program and execute various movements appropriate and processing.In RAM 1003, be also stored with various programs needed for system operatio and Data.CPU 1001, ROM 1002 and RAM 1003 are connected with each other by bus 1004.Input/output (I/O) interface 1005 It is also connected to bus 1004.
I/O interface 1005 is connected to lower component: the importation 1006 including keyboard, mouse etc.;Including such as cathode The output par, c 1007 of ray tube (CRT), liquid crystal display (LCD) etc. and loudspeaker etc.;Storage section including hard disk etc. 1008;And the communications portion 1009 of the network interface card including LAN card, modem etc..Communications portion 1009 passes through Communication process is executed by the network of such as internet.Driver 1010 is also connected to I/O interface 1005 as needed.It is detachable to be situated between Matter 1011, such as disk, CD, magneto-optic disk, semiconductor memory etc. are mounted on as needed on driver 1010, so as to In being mounted into storage section 1008 as needed from the computer program read thereon.
Particularly, in accordance with an embodiment of the present disclosure, it may be implemented as computer above with reference to the process of flow chart description Software program.For example, embodiment of the disclosure includes a kind of computer program product comprising be carried on computer-readable medium On computer program, which includes the program code for method shown in execution flow chart.In such reality It applies in example, which can be downloaded and installed from network by communications portion 1009, and/or from detachable media 1011 are mounted.When the computer program is executed by central processing unit (CPU) 1001, executes in the system of the application and limit Above-mentioned function.
It should be noted that computer-readable medium shown in the disclosure can be computer-readable signal media or meter Calculation machine readable storage medium storing program for executing either the two any combination.Computer readable storage medium for example can be --- but not Be limited to --- electricity, magnetic, optical, electromagnetic, infrared ray or semiconductor system, device or device, or any above combination.Meter The more specific example of calculation machine readable storage medium storing program for executing can include but is not limited to: have the electrical connection, just of one or more conducting wires Taking formula computer disk, hard disk, random access storage device (RAM), read-only memory (ROM), erasable type may be programmed read-only storage Device (EPROM or flash memory), optical fiber, portable compact disc read-only memory (CD-ROM), light storage device, magnetic memory device, Or above-mentioned any appropriate combination.In the disclosure, computer readable storage medium can be it is any include or storage journey The tangible medium of sequence, the program can be commanded execution system, device or device use or in connection.And at this In open, computer-readable signal media may include in a base band or as the data-signal that carrier wave a part is propagated, Wherein carry computer-readable program code.The data-signal of this propagation can take various forms, including but unlimited In electromagnetic signal, optical signal or above-mentioned any appropriate combination.Computer-readable signal media can also be that computer can Any computer-readable medium other than storage medium is read, which can send, propagates or transmit and be used for By the use of instruction execution system, device or device or program in connection.Include on computer-readable medium Program code can transmit with any suitable medium, including but not limited to: wireless, electric wire, optical cable, RF etc. are above-mentioned Any appropriate combination.
Flow chart and block diagram in attached drawing are illustrated according to the system of the various embodiments of the disclosure, method and computer journey The architecture, function and operation in the cards of sequence product.In this regard, each box in flowchart or block diagram can generation A part of one module, program segment or code of table, a part of above-mentioned module, program segment or code include one or more Executable instruction for implementing the specified logical function.It should also be noted that in some implementations as replacements, institute in box The function of mark can also occur in a different order than that indicated in the drawings.For example, two boxes succeedingly indicated are practical On can be basically executed in parallel, they can also be executed in the opposite order sometimes, and this depends on the function involved.Also it wants It is noted that the combination of each box in block diagram or flow chart and the box in block diagram or flow chart, can use and execute rule The dedicated hardware based systems of fixed functions or operations is realized, or can use the group of specialized hardware and computer instruction It closes to realize.
Being described in unit involved in the embodiment of the present disclosure can be realized by way of software, can also be by hard The mode of part realizes that described unit also can be set in the processor.Wherein, the title of these units is in certain situation Under do not constitute restriction to the unit itself.
As on the other hand, present invention also provides a kind of computer-readable medium, which be can be Included in electronic equipment described in above-described embodiment;It is also possible to individualism, and without in the supplying electronic equipment. Above-mentioned computer-readable medium carries one or more program, when the electronics is set by one for said one or multiple programs When standby execution, so that the electronic equipment realizes such as above-mentioned multi-person speech communication control method as described in the examples.
For example, the electronic equipment may be implemented as shown in Figure 1: step S110 receives voice packet, and judges institute The corresponding sender of voice packet is stated whether in voice candidate lists;Step S120, if the corresponding sender of the voice packet In the voice candidate lists, then the corresponding weighted value of described sender is read;Step S130 sentences according to the weighted value It is disconnected whether to send the voice packet.
For another example, the electronic equipment may be implemented such as Fig. 2 to each step shown in Fig. 8.
It should be noted that although being referred to several modules or list for acting the equipment executed in the above detailed description Member, but this division is not enforceable.In fact, according to embodiment of the present disclosure, it is above-described two or more Module or the feature and function of unit can embody in a module or unit.Conversely, an above-described mould The feature and function of block or unit can be to be embodied by multiple modules or unit with further division.
Through the above description of the embodiments, those skilled in the art is it can be readily appreciated that example described herein is implemented Mode can also be realized by software realization in such a way that software is in conjunction with necessary hardware.Therefore, according to the disclosure The technical solution of embodiment can be embodied in the form of software products, which can store non-volatile at one Property storage medium (can be CD-ROM, USB flash disk, mobile hard disk etc.) in or network on, including some instructions are so that a calculating Equipment (can be personal computer, server, touch control terminal or network equipment etc.) is executed according to disclosure embodiment Method.
Those skilled in the art after considering the specification and implementing the invention disclosed here, will readily occur to its of the disclosure Its embodiment.This application is intended to cover any variations, uses, or adaptations of the disclosure, these modifications, purposes or Person's adaptive change follows the general principles of this disclosure and including the undocumented common knowledge in the art of the disclosure Or conventional techniques.The description and examples are only to be considered as illustrative, and the true scope and spirit of the disclosure are by following Claim is pointed out.
It should be understood that the present disclosure is not limited to the precise structures that have been described above and shown in the drawings, and And various modifications and changes may be made without departing from the scope thereof.The scope of the present disclosure is only limited by the accompanying claims.

Claims (14)

1. a kind of multi-person speech communication control method characterized by comprising
Voice packet is received, and judges the corresponding sender of the voice packet whether in voice candidate lists;
If the corresponding sender of the voice packet reads the corresponding weight of described sender in the voice candidate lists Value;
Judged whether to send the voice packet according to the weighted value.
2. multi-person speech communication control method according to claim 1, which is characterized in that judge the corresponding transmission of voice packet Whether side is in voice candidate lists, further includes:
If described sender not in the list, judges that can described sender be added the list;
If judging, the list can be added in described sender, the list is added in described sender, and according to institute's predicate The weighted value of the speech parameter configuration described sender of sound packet.
3. multi-person speech communication control method according to claim 2, which is characterized in that according to the voice of the voice packet The weighted value of parameter configuration described sender, comprising:
The speech parameter for calculating the voice packet accounts for the ratio of the corresponding maximum value of the speech parameter;
According to the ratio and default weight maximum value calculation and the weighted value for configuring described sender.
4. multi-person speech communication control method according to claim 2, which is characterized in that the method also includes:
If judging, the list cannot be added in described sender, do not execute behaviour to described sender and its voice packet of transmission Make.
5. multi-person speech communication control method according to claim 1, which is characterized in that described to be sentenced according to the weighted value It is disconnected whether to send the voice packet, comprising:
It is ranked up according to the weighted value of each sender in the voice candidate lists;
If described sender is in top n, it is determined that described sender has transmission right;
If described sender has transmission right, the voice packet is executed and sends operation;
Wherein, the N is positive integer.
6. multi-person speech communication control method according to claim 1, which is characterized in that described to be sentenced according to the weighted value It is disconnected whether to send the voice packet, comprising:
The power is reset according to the speech parameter of the weighted value and the voice packet of each sender in the voice candidate lists Weight values, and be ranked up according to the weighted value after resetting;
If described sender is in top n, it is determined that described sender has transmission right;
If described sender has transmission right, the voice packet is executed and sends operation;
Wherein, the N is positive integer.
7. multi-person speech communication control method according to claim 1, which is characterized in that send the voice packet it Afterwards, the method also includes:
The weighted value that the voice packet corresponds to sender is expanded into presupposition multiple.
8. multi-person speech communication control method according to claim 1, which is characterized in that the method also includes:
In predetermined period, weighted value is reset by preset ratio to sender in the voice candidate lists;
Whether corresponding weighted value is less than first threshold after judging described sender resetting, and small in the weighted value of described sender Described sender is removed from the voice candidate lists when first threshold.
9. multi-person speech communication control method according to claim 1, which is characterized in that if corresponding in the voice packet Sender is in the voice candidate lists, then after reading the corresponding weighted value of described sender, the method also includes:
Initial value is reset to Speech time by described sender is corresponding.
10. multi-person speech communication control method according to claim 9, which is characterized in that the method also includes:
In predetermined period, by the voice candidate lists sender to Speech time reduce preset time;
Whether judge updated described sender is less than second threshold to Speech time, and in described sender to voice Time removes described sender when being less than second threshold from the voice candidate lists.
11. multi-person speech communication control method according to claim 1, which is characterized in that the method also includes:
The voice candidate lists are periodically emptied by predetermined period;
The corresponding sender of currently received voice packet is added in voice candidate lists, and according to the voice of the voice packet The weighted value of parameter configuration described sender.
12. a kind of multi-person speech communication control device characterized by comprising
Whether judging unit for receiving voice packet, and judges the corresponding sender of the voice packet in voice candidate lists In;
Reading unit, for reading the hair when the corresponding sender of the voice packet is in the voice candidate lists The corresponding weighted value in the side of sending;
Transmission unit sends the voice packet for judging whether according to the weighted value.
13. a kind of computer-readable medium, is stored thereon with computer program, which is characterized in that described program is held by processor The multi-person speech communication control method as described in any one of claims 1 to 11 is realized when row.
14. a kind of electronic equipment characterized by comprising
One or more processors;
Storage device, for storing one or more programs, when one or more of programs are by one or more of processing When device executes, so that one or more of processors realize that the multi-person speech as described in any one of claims 1 to 11 is logical Letter control.
CN201910060308.8A 2019-01-22 2019-01-22 Multi-user voice communication control method and device, storage medium and electronic equipment Active CN109587176B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910060308.8A CN109587176B (en) 2019-01-22 2019-01-22 Multi-user voice communication control method and device, storage medium and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910060308.8A CN109587176B (en) 2019-01-22 2019-01-22 Multi-user voice communication control method and device, storage medium and electronic equipment

Publications (2)

Publication Number Publication Date
CN109587176A true CN109587176A (en) 2019-04-05
CN109587176B CN109587176B (en) 2021-08-10

Family

ID=65917737

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910060308.8A Active CN109587176B (en) 2019-01-22 2019-01-22 Multi-user voice communication control method and device, storage medium and electronic equipment

Country Status (1)

Country Link
CN (1) CN109587176B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8036899B2 (en) * 2006-10-20 2011-10-11 Tal Sobol-Shikler Speech affect editing systems
CN103384235A (en) * 2012-05-04 2013-11-06 腾讯科技(深圳)有限公司 Method, server and system used for data presentation during conversation of multiple persons
US20170034707A1 (en) * 2015-07-27 2017-02-02 Qualcomm Incorporated Intelligent dynamic frequency selection techniques
CN106445654A (en) * 2016-08-31 2017-02-22 北京康力优蓝机器人科技有限公司 Method and device for determining response priorities of control commands
CN107808668A (en) * 2017-09-14 2018-03-16 成都晓懋科技有限公司 A kind of control method of smart home
CN108259618A (en) * 2018-01-30 2018-07-06 北京泰尔英福网络科技有限责任公司 The data interactive processing method and device of a kind of synchronization
CN109151565A (en) * 2018-09-04 2019-01-04 北京达佳互联信息技术有限公司 Play method, apparatus, electronic equipment and the storage medium of voice

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8036899B2 (en) * 2006-10-20 2011-10-11 Tal Sobol-Shikler Speech affect editing systems
CN103384235A (en) * 2012-05-04 2013-11-06 腾讯科技(深圳)有限公司 Method, server and system used for data presentation during conversation of multiple persons
US20170034707A1 (en) * 2015-07-27 2017-02-02 Qualcomm Incorporated Intelligent dynamic frequency selection techniques
CN106445654A (en) * 2016-08-31 2017-02-22 北京康力优蓝机器人科技有限公司 Method and device for determining response priorities of control commands
CN107808668A (en) * 2017-09-14 2018-03-16 成都晓懋科技有限公司 A kind of control method of smart home
CN108259618A (en) * 2018-01-30 2018-07-06 北京泰尔英福网络科技有限责任公司 The data interactive processing method and device of a kind of synchronization
CN109151565A (en) * 2018-09-04 2019-01-04 北京达佳互联信息技术有限公司 Play method, apparatus, electronic equipment and the storage medium of voice

Also Published As

Publication number Publication date
CN109587176B (en) 2021-08-10

Similar Documents

Publication Publication Date Title
CN110365752A (en) Processing method, device, electronic equipment and the storage medium of business datum
CN110505675A (en) Method for connecting network and device, storage medium, communication terminal
US10284490B2 (en) Increased network resources in exchange for sharing of device resources
CN104796380A (en) Safety verification method, safety verification system, terminal and verification server
CN109362121A (en) Sharing method, device, storage medium and the terminal of WLAN
CN108829311A (en) A kind of method and apparatus based on Widget display data
CN109960650A (en) Application assessment method, apparatus, medium and electronic equipment based on big data
CN109190028A (en) Activity recommendation method, apparatus, electronic equipment and storage medium based on big data
CN108370353A (en) It is increased network utilization using network assistance agreement
CN115580882A (en) Dynamic network slice resource allocation method and device, storage medium and electronic equipment
Ren et al. Wireless Network Virtualization Resource Sharing Based on Dynamic Resource Allocation Algorithm.
CN109639813A (en) Video file transfer processing method and processing device, electronic equipment and storage medium
CN114090108A (en) Computing task execution method and device, electronic equipment and storage medium
CN109587176A (en) Multi-person speech communication control method and device, storage medium and electronic equipment
CN111614526B (en) Method, device, storage medium and terminal for rapidly maintaining HINOC link
KR101972888B1 (en) Service processing method, server and computer storage medium
EP2700023B1 (en) Reducing latency for served applications by anticipatory preprocessing
CN109684488A (en) Carousel control method and its device, computer-readable medium and electronic equipment
CN112156453B (en) Example adaptive adjustment method, apparatus, computer readable storage medium and device
CN114859935A (en) Path planning method, device, product and medium applied to multi-node networking
CN112116402A (en) Credit risk customer-level default rate determination method and device
CN110633115A (en) Task distribution method and device, electronic equipment and storage medium
CN110251943A (en) A kind of matching process of game player, device, equipment and storage medium
Gong et al. On-demand spectrum sharing by flexible time-slotted cognitive radio networks
CN108540667A (en) Control method, device, medium and the electronic equipment of prompting message

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant