CN108540500A - Data transmission method, device, equipment and the storage medium of more people's calls - Google Patents
Data transmission method, device, equipment and the storage medium of more people's calls Download PDFInfo
- Publication number
- CN108540500A CN108540500A CN201810759745.4A CN201810759745A CN108540500A CN 108540500 A CN108540500 A CN 108540500A CN 201810759745 A CN201810759745 A CN 201810759745A CN 108540500 A CN108540500 A CN 108540500A
- Authority
- CN
- China
- Prior art keywords
- data channel
- terminal
- data
- main data
- channel
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/40—Support for services or applications
- H04L65/403—Arrangements for multi-party communication, e.g. for conferences
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L65/00—Network arrangements, protocols or services for supporting real-time applications in data packet communication
- H04L65/1066—Session management
Abstract
The embodiment of the present application provides a kind of data transmission method, device, equipment and the storage medium of more people's calls, and this method includes:Establish more people's calls;Statistics is within the first period, the data volume for the voice data that each data channel in n data channel uploads;A most data channel of data volume is determined as main data channel;Allow the corresponding terminal of main data channel to upload voice data, and the corresponding terminal of other data channel in addition to main data channel is forbidden to upload voice data.In the embodiment of the present application, by after establishing more people's calls, main data channel is determined as according to the data volume of the voice data uploaded in a certain period by server, and the corresponding terminal to server of main data channel is only allowed to upload voice data, to avoid server while the voice data for forwarding multiple terminals to upload, the case where causing user that can not distinguish sound, occurs so that more people's calls can be carried out orderly, promote the speech quality of more people's calls.
Description
Technical field
The invention relates to field of terminal technology, more particularly to a kind of data transmission method of more people's calls, device,
Equipment and storage medium.
Background technology
Currently, terminal is provided with more people's call functions.That is, user can pass through terminal and two or more use
Family carries out real time phone call.
In the related technology, when multiple terminals are in same more people's call scenes, each terminal in above-mentioned multiple terminals
Collected voice data can be uploaded to server, the voice data of upload, which is forwarded to above-mentioned more people, by server converses
Other terminals of scene.
Invention content
The embodiment of the present application provides a kind of data transmission method, device, equipment and the storage medium of more people's calls.The skill
Art scheme is as follows:
On the one hand, the embodiment of the present application provides a kind of data transmission method of more people's calls, the method includes:
Establish more people call, more people's calls refer to the real time phone call for including the participation of n terminal, in the n terminal
Each terminal be corresponding with a data channel for uploading communicating data to server, the n is integer more than 1;
Statistics is within the first period, the data for the voice data that each data channel in the n data channel uploads
Amount;
A most data channel of data volume is determined as main data channel;
Allow the corresponding terminal of the main data channel to upload voice data, and forbids in addition to the main data channel
The corresponding terminal of other data channel upload voice data.
On the other hand, the embodiment of the present application provides a kind of data transmission device of more people's calls, and described device includes:
Call establishment module, for establishing more people call, more people's calls refer to include that n the real-time of terminal participation leads to
It talks about, each terminal in the n terminal is corresponding with a data channel for uploading communicating data to server, the n
For the integer more than 1;
Data volume statistical module, for counting within the first period, in each data channel in the n data channel
The data volume of the voice data of biography;
Channel determining module, for a most data channel of data volume to be determined as main data channel;
Upload control module for allowing the corresponding terminal of the main data channel to upload voice data, and forbids removing
The corresponding terminal of other data channel except the main data channel uploads voice data.
In another aspect, the embodiment of the present application provides a kind of computer equipment, the computer equipment includes processor and deposits
Reservoir, the memory are stored with computer program, and the computer program is loaded by the processor and executed in realization
State the data transmission method of more people call described in aspect.
Another aspect, the embodiment of the present application provide a kind of computer readable storage medium, the computer-readable storage medium
Computer program is stored in matter, the computer program is loaded by processor and executed to realize more people described in above-mentioned aspect
The data transmission method of call.
Technical solution provided by the embodiments of the present application can bring following advantageous effect:
By after establishing more people call, by server according to the data volume of the voice data uploaded in a certain period come
It determines main data channel, and the corresponding terminal to server of main data channel is only allowed to upload voice data, server is made to exist
The upload voice data of each terminal in the case of without human intervention to participating in more people's calls controls, to avoid taking
Business device forwards the voice data that multiple terminals upload simultaneously, and the case where causing user that can not distinguish sound occurs so that more people are logical
Words can be carried out orderly, promote the speech quality of more people's calls.
Description of the drawings
Fig. 1 is the schematic diagram of the implementation environment shown in the application one embodiment;
Fig. 2 is the flow chart of the data transmission method of more people call shown in the application one embodiment;
Fig. 3 is the interface schematic diagram of the first prompting message of display shown in the application one embodiment;
Fig. 4 is the interface schematic diagram of the second prompting message of display shown in the application one embodiment;
Fig. 5 is the interface schematic diagram for the switching main data channel that the application one embodiment provides;
Fig. 6 is the flow chart for the switching main data channel that the application one embodiment provides;
Fig. 7 is the interface schematic diagram of the switching main data channel of the application another embodiment offer;
Fig. 8 is the block diagram of the data transmission device of more people call shown in the application one embodiment;
Fig. 9 is the schematic diagram of the computer equipment shown in the application one embodiment.
Specific implementation mode
To keep the purpose, technical scheme and advantage of the application clearer, below in conjunction with attached drawing to the application embodiment party
Formula is described in further detail.
Referring to FIG. 1, the schematic diagram of the implementation environment provided it illustrates the application one embodiment.The implementation environment packet
It includes:At least two terminals 11, server 12.In the implementation environment, only illustrated by taking three terminals 11 as an example.
Terminal 11 has the function of data transmit-receive.Optionally, terminal 11 is equipped with application program, and number is realized by the application program
According to transmission-receiving function.Above application program can be speech application, social networking application program, shopping application program, game application
The application program that program etc. can be communicated with one or more users, the embodiment of the present application are not construed as limiting this.Optionally, terminal
11 also have the function of data under voice and image collecting function.Above-mentioned terminal 11 can be mobile phone, personal computer
The electronics such as (Personal Computer, PC), tablet computer, E-book reader, multimedia play equipment, wearable device
Equipment.
Server 12 also has the function of data transmit-receive.In the embodiment of the present application, server 12 leads to for that will participate in more people
The communicating data that a certain terminal in words uploads is forwarded to other terminals.Server 12 can be terminal 11 install can be with one
The corresponding background server of application program of a or multiple user's communications.Server 12 can be a server, can also be
One server cluster can also be that a cloud service calculates center, and the embodiment of the present application is not construed as limiting this.
Each terminal 11 of at least two terminals 11 establishes communication connection between server 12.Above-mentioned communication connection can
It is established with being based on cable network or wireless network.
Technical solution provided by the embodiments of the present application, by after establishing more people call, by server according to certain for the moment
The data volume of the voice data uploaded in section determines main data channel, and only allows the corresponding terminal of main data channel to clothes
Business device uploads voice data, makes upload of the server to each terminal for participating in more people's calls without human intervention
Voice data is controlled, and to avoid server while the voice data for forwarding multiple terminals to upload, causes user that can not distinguish
The case where other sound, occurs so that more people's calls can be carried out orderly, promote the speech quality of more people's calls.
Referring to FIG. 2, the flow for the data transmission method conversed it illustrates more people that the application one embodiment provides
Figure.This method is applied in the server of implementation environment shown in Fig. 1, and this method may include the following steps.
Step 201, more people's calls are established.
More people's calls refer to the real time phone call for including the participation of n terminal, and n is the integer more than 1.Above-mentioned real time phone call can be with
Can also include video calling including voice communication.
Optionally, above-mentioned n terminal is mounted on same application, and it is more that each terminal is based on application program realization
People's call function.The application program can be voice communication application program, social networking application program, shopping application program, play and answer
With program etc., the embodiment of the present application is not construed as limiting this.Further, the corresponding use of each terminal in above-mentioned n terminal
Family account number belongs to same group.
Each terminal in n terminal is corresponding with a data channel for uploading communicating data to server.Call
Data may include voice data, image data etc..In the embodiment of the present application, server is used to communicating data being forwarded to it
Its terminal.
Optionally, the flow for establishing more people's calls is as follows:Target terminal in n terminal sends call to server and establishes
Request.The mark that other terminals are carried in request is established in call, is established more people with above-mentioned other terminals for request and is conversed.Call
Transmission can be triggered by user by establishing request.Optionally, target terminal shows that message interface, the message interface kind include that call is built
Vertical entrance, when user, which triggers the call, establishes entrance, terminal to server sends call and establishes request.Server is receiving
After request is established in call, sends to converse to other terminals and invite, and returned in other terminal to server and correspond to call invitation
Confirmation response after, establish more people call.
Step 202, it counts within the first period, the voice data that each data channel in n data channel uploads
Data volume.
Since the first period can be the period establishing more people call, can also be from receiving voice data for the first time
Period for starting period, the embodiment of the present application is not construed as limiting this.In addition, the duration of the first period can be by server
Self-defined setting, the embodiment of the present application are not construed as limiting this.Illustratively, the first period was from receiving voice data for the first time
Period, and duration is 2 seconds periods.The data volume of voice data be used for weigh voice data number.
Step 203, a most data channel of data volume is determined as main data channel.
Main data channel refers to the data channel for being allowed to upload voice data.It should be noted that determining main number
Before channel, server is in idle (free time) state.When being in idle states in the server, each end of more people's calls is participated in
End can upload voice data by corresponding data channel to server.Therefore, server can be logical according to each data
The data volume for the voice data that road uploads determines main data channel.In the embodiment of the present application, server will be in the first period
A most data channel of the data volume of the voice data of biography is determined as main data channel.
In other possible realization methods, main data channel can also be according to the voice data of each data channel upload
Content actually determine.Illustratively, server receives the voice that at least one of n data channel data channel uploads
Data;The data channel that the voice data of upload includes predetermined keyword is determined as main data channel.Default key
Word can also be set by the user, the embodiment of the present application is not construed as limiting this by server or the self-defined setting of terminal.Show
Example property, predetermined keyword can be " I first starts ", " I comes " etc..In addition, when the voice data uploaded includes default
The data channel of keyword there are it is multiple when, can arbitrarily select one by server, can also server sent out to each terminal
Inquiry message is sent, which sets the corresponding data channel of which terminal to main data channel for inquiring, services
Device counts the response message for corresponding to inquiry message that each terminal returns, and the corresponding data of the highest terminal of the quantity that will win the vote are led to
Road is determined as main data channel.
In other possible realization methods, server, which will can also send to converse, establishes the corresponding data of terminal of request
Channel is determined as main data channel, the corresponding data channel of the voice data being initially received can also be determined as master data and led to
Road, the embodiment of the present application are not construed as limiting this.
Step 204, allow the corresponding terminal of main data channel to upload voice data, and forbid in addition to main data channel
The corresponding terminal of other data channel upload voice data.
In the embodiment of the present application, only allow the corresponding terminal to server of main data channel to upload voice data, and remove
The corresponding terminal of other data channel except main data channel is then prohibited to upload voice data to server, passes through above-mentioned side
The case where formula can forward the voice data that multiple terminals upload simultaneously to avoid server, cause user that can not distinguish sound is sent out
It is raw so that more people's calls can be carried out orderly, promote the speech quality of more people's calls.
Optionally, step 204 is implemented as:The voice upload permissions that main data channel is arranged are open state, and
The voice upload permissions that other data channel in addition to main data channel are arranged are in off state.
Voice upload permissions are that the permission of voice data is uploaded to server.When the voice upload permissions of a certain data channel
When in open state, the corresponding terminal of the data channel can upload voice data to server, after the completion of server
Continuous forwarding work.At this point, the corresponding terminal of the data channel can be heard per family by participating in the use of each terminal in more people's calls
User sound.When the voice upload permissions of a certain data channel are closed, the corresponding terminal of the data channel
Voice data can not be uploaded to server, server can not complete subsequent forwarding work.At this point, participating in more people's calls
The user of each terminal can not hear the sound of the user of the corresponding terminal of the data channel.
In addition, it is necessary to explanation, when the voice upload permissions of data channel are closed, the data channel
The communicating data of other forms, such as word, image etc. can be uploaded, the data forwarded without server can also be uploaded.Separately
Outside, after server determines main data channel, and upload voice data is carried out to each terminal for participating in more people's calls
Control when, server is in occupied states.
Optionally, after step 204, server can send speech notice to the corresponding terminal of main data channel, should
For speech notice for reminding the corresponding terminal of main data channel to have a voice upload permissions, the corresponding terminal of main data channel can be with
It is notified to generate the first prompting message according to the speech, the first prompting message is for prompting user to make a speech.First prompting message can be with
It is speech form, can also be vibrations form, can also be that textual form, the embodiment of the present application are not construed as limiting this.
In conjunction with reference to figure 3, it illustrates the interface schematic diagrams for the first prompting message that the application one embodiment provides.Terminal 31 is used for
Show that more people's call interfaces 32 of user A, 31 corresponding data channel of terminal are main data channel, terminal 31 is in user A at this time
More people's call interfaces 32 on show the first prompting message 33.
Optionally, after step 204, server is to the corresponding terminal of other data channel in addition to main data channel
It sends and prohibits speech notice, prohibit speech notice for notifying terminal to forbid uploading voice data to server.Terminal can be sayed according to the taboo
Notice generates the second prompting message, and the second prompting message is for prompting user not make a speech.Second prompting message can be voice
Form, can also be vibrations form, can also be that textual form, the embodiment of the present application are not construed as limiting this.In conjunction with ginseng
Fig. 4 is examined, it illustrates the interface schematic diagrams for the first prompting message that the application one embodiment provides.Terminal 41 is used for showing
More people's call interfaces 42 of family B, 41 corresponding data channel of terminal are main data channel, at this time more people of the terminal 41 in user B
The second prompting message 43 is shown on call interface 42.
In addition, each terminal, can be by the main data channel with voice upload permissions when showing more people's call interfaces
Corresponding terminal does not have the corresponding terminal of the data channel of voice upload permissions and distinguishes eventually with other.Illustratively, often
A terminal is in the side of the mark of the corresponding terminal of main data channel display speech mark, other in addition to main data channel
Speech mark is prohibited in the side display of the corresponding terminal of data channel.
In conclusion technical solution provided by the embodiments of the present application, by after establishing more people's calls, by server root
Main data channel is determined according to the data volume of the voice data uploaded in a certain period, and only allows main data channel corresponding
Terminal to server uploads voice data, each end for making server be conversed without human intervention participating in more people
The upload voice data at end is controlled, and to avoid server while the voice data for forwarding multiple terminals to upload, causes to use
Family can not distinguish that the case where sound occurs so that more people's calls can be carried out orderly, promote the speech quality of more people's calls.
Main data channel can toggle between the corresponding data channel of n terminal for participating in more people's calls, to protect
Card participates in each of more people call with having an opportunity to make a speech per family.The switching of main data channel can be corresponding by non-main data channel
Terminal is initiated, and can also be initiated, can also be initiated by server by the corresponding terminal of main data channel.It below will be to these three feelings
Condition is explained respectively.
1, the switching of main data channel is initiated by the corresponding terminal of non-main data channel.
In the embodiment of the present application, the switching of main data channel is initiated by the corresponding terminal of non-main data channel.
Non- main data channel refers to that other data in the corresponding data channel of n terminal in addition to main data channel are logical
Road.This method may include following two steps:
Step 301, the speaking request that the first terminal in n terminal is sent is received.
The corresponding data channel of first terminal is not main data channel.Speaking request is sent out for asking in more people converse
Speech, namely for asking voice upload permissions switching to open state by closed state.First terminal is carried in speaking request
Mark.
Optionally, request speech control is shown in more people's call interfaces shown by first terminal, first terminal is connecing
When receiving the first operation signal corresponding to speaking request control, speaking request is sent to server.First operation signal can be with
It is any one in single-click operation signal, double click operation signal, slide signal, long press operation signal, the application is implemented
Example is not construed as limiting this.In the embodiment of the present application, it is only explained so that the first operation signal is to click signal as an example.
Step 302, according to speaking request, the corresponding data channel of first terminal is switched to main data channel.
The corresponding data channel of first terminal can be switched to master data by server according to the speaking request of first terminal
Channel.Optionally, step 302 can have the following two kinds realization method.
In the first possible implementation, step 302 includes following three sub-step:
Step 302a sends the first switching request according to speaking request to the corresponding terminal of main data channel.
Correspondingly, the corresponding terminal of main data channel receives first switching request.
Step 302b receives the confirmation handoff response that the corresponding terminal of main data channel returns;
The corresponding data channel of first terminal is switched to main data channel by step 302c according to handoff response is confirmed.
First switching request is for asking switching main data channel.First switching request carries the mark of first terminal.
The corresponding terminal of main data channel shows inquiry message, the inquiry message is for inquiring after receiving first switching request
Whether the user speech of first terminal is agreed to.
In addition, the corresponding terminal of main data channel is also shown after receiving first switching request agrees to control.Work as master
When the corresponding terminal of data channel is received corresponding to the second operation signal for agreeing to control, is sent to server and confirm that switching is rung
It answers.Second operation signal can be in single-click operation signal, double click operation signal, slide signal, long press operation signal
Any one, the embodiment of the present application is not construed as limiting this.In the embodiment of the present application, only with the second operation signal it is to click signal
For be explained.
In preset duration after the corresponding terminal of main data channel is in display agreement control, it is not received by corresponding to same
When the second operation signal of meaning control, the corresponding terminal of main data channel, which returns, rejects handoff response, which uses
The step of corresponding data channel of first terminal is switched to main data channel is not executed in instruction server.Optionally, main number
It is also shown according to the corresponding terminal in channel and disagrees control.Control is disagreed when the corresponding terminal of main data channel receives to correspond to
When the third operation signal of part, is sent to server and confirm handoff response.Third operation signal can be single-click operation signal, double
Any one in operation signal, slide signal, long press operation signal is hit, the embodiment of the present application is not construed as limiting this.
In the embodiment of the present application, only it is explained so that third operation signal is to click signal as an example.
Optionally, server sends speech notice, the speech is logical after the switching for completing main data channel to first terminal
Know that, for reminding first terminal to have voice upload permissions, first terminal can notify that generating the first prompt disappears according to the speech
Breath.
In conjunction with reference to figure 5, shows it illustrates the interface of the switching main data channel of the application one embodiment offer and seek meaning
Figure.51 corresponding data channel of first terminal is not main data channel, more people call circle of the user B shown by first terminal 51
Include asking speech control 53 on face 52, after user B clicks request speech control 53, first terminal 52 is received to correspond to and be asked
The first operation signal of speech control 53 is sought, and speaking request is sent to server, server is to main data channel corresponding end
End 54 sends the first switching request, and the corresponding display of the terminal 54 inquiry message 55 of main data channel agrees to control 56 and difference
Meaning control 57, after user A, which is clicked, agrees to control 56, the corresponding terminal 54 of main data channel confirms to switch to server transmission rings
It answers, 51 corresponding data channel of first terminal is switched to main data channel by server 54, and is sent and made a speech to first terminal 51
Notice, first terminal 51 generate the first prompting message 31, to remind user B to make a speech.
In second of possible realization method, step 302 includes following two sub-steps:
Step 302d, the data volume for the voice data that statistics main data channel uploads within the second period;
Step 302e, when the data volume for the voice data that main data channel uploads within the second period is less than preset data amount
When, the corresponding data channel of first terminal is switched to main data channel.
Second period can be the period since when server receives speaking request.The duration of second period can
With by the self-defined setting of server, the embodiment of the present application is not construed as limiting this.Preset data amount can be set according to actual demand,
The embodiment of the present application is also not construed as limiting this.
In addition, it is necessary to explanation, in order to avoid the interaction time between server terminal corresponding with main data channel
Long, server can temporarily allow first terminal to upload voice data, long to avoid period of reservation of number.Optionally, exist
Further include following steps after step 301:The interim upload permissions that the corresponding data channel of first terminal is arranged are opening state
State, interim upload permissions are to upload the permission of voice data to server within the third period.In addition, working as first terminal to service
Device sends speaking request, and when the interim upload permissions of the corresponding data channel of first terminal are set as open state by server,
Server is in transfering (conversion) state.
In a specific example, in conjunction with reference to figure 6, it illustrates the switching subjects that the application one embodiment provides
The flow chart in sound channel.When establishing more people's calls, server is first in idle states, and server uploads within the first period later
The maximum data channel Ta of data volume of voice data be selected as exclusive access (namely main data channel), and will be non-exclusive logical
Speech is prohibited in road, and server switches to occupied states at this time, and to server transmission speaking request, " I will send out data channel Tb later
Speech ", server enters transfering states, and the data channel in addition to Ta and Tb is prohibited speech, later cuts data channel Ta
It is changed to exclusive access.
The third period can be the period since when server receives speaking request.The duration of third period can
With by the self-defined setting of server, the embodiment of the present application is not construed as limiting this.Optionally, the third period is received from from server
The period for starting to speaking request, and terminating when server receives confirmation handoff response or rejects handoff response.
In conclusion technical solution provided by the embodiments of the present application, main number is initiated by the corresponding terminal of non-main data channel
According to the switching in channel so that the speech of the user of the corresponding terminal of other data channel in addition to main data channel also can be more
Each user in people's call hears, promotes speech quality.
In addition, being also opening state by the interim upload permissions for the corresponding data channel of terminal that will have sent speaking request
State, and temporarily first terminal is allowed to upload voice data, it can be to avoid between server terminal corresponding with main data channel
The situation that period of reservation of number is long when interaction time is long occurs.
2, the switching of main data channel is initiated by the corresponding terminal of main data channel.
In the embodiment of the present application, the switching of main data channel is initiated by the corresponding terminal of non-main data channel.This method
May include following two steps:
Step 401, the second switching request that the corresponding terminal of main data channel is sent is received.
Step 402, according to the second switching request, the corresponding data channel of second terminal is switched into main data channel.
Second switching request, which is used to ask that the corresponding data channel of second terminal in n terminal to be switched to master data, leads to
Road.Second switching request carries the mark of second terminal.The corresponding data channel of second terminal is not main data channel yet.Second
Terminal is selected by the user of the corresponding terminal of main data channel.
Optionally, more people's call interfaces shown by the corresponding terminal of main data channel include toggle control, the switching
Control is for triggering switching main data channel, when the corresponding terminal of main data channel receives the 4th behaviour corresponding to toggle control
When making signal, show that third prompting message, third prompting message correspond to n for prompting selection second terminal, when receiving
When five operation signal of any one terminal in terminal in addition to the corresponding terminal of main data channel, the is sent to server
Two switching requests.
4th operation signal can be single-click operation signal, double click operation signal, slide signal, long press operation signal
In any one, the embodiment of the present application is not construed as limiting this.In the embodiment of the present application, only with the 4th operation signal it is to click
It is explained for signal.5th operation signal can be single-click operation signal, double click operation signal, slide letter
Number, any one in long press operation signal, the embodiment of the present application is not construed as limiting this.In the embodiment of the present application, only with
Five operation signals are explained for clicking signal.
Optionally, server sends speech notice, the speech is logical after the switching for completing main data channel to second terminal
Know that, for reminding second terminal to have voice upload permissions, second terminal can notify that generating the first prompt disappears according to the speech
Breath.
In conjunction with reference to figure 7, it illustrates the interface schematic diagrams for the switching main data channel that the application one embodiment provides.
The corresponding terminal 71 of main data channel shows toggle control 72, and after user click toggle control 72, main data channel is corresponding
Terminal 71 shows that third prompting message 73, user select second terminal 74 according to third prompting message 73, later main data channel
Corresponding terminal 71 sends the second switching request to server, and second terminal 74 is switched to main data channel by server, and to
Second terminal 74 sends speech notice, and second terminal 74 generates the first prompting message 31, to remind user B to make a speech.
In conclusion technical solution provided by the embodiments of the present application, master data is initiated by the corresponding terminal of main data channel
The switching in channel so that the speech of the user of the corresponding terminal of other data channel in addition to main data channel also can be by more people
Each user in call hears, promotes speech quality.
3, the switching of main data channel is initiated by server.
In the embodiment of the present application, the switching of main data channel is initiated by server.In addition, when server determination will switch
When main data channel, server reenters idle states.
This method may include the following two kinds realization method.
In the first possible implementation, if not receiving the voice number of main data channel upload within the 4th period
According to being executed the step of then a data channel of the server since by n data channel is determined as main data channel.
4th period can be since determine main data channel when, can also be corresponding from server to main data channel
When terminal sends speech notice, the embodiment of the present application is not construed as limiting this.The duration of 4th period can be according to warp
Setting is tested, the embodiment of the present application is not construed as limiting this.
When the user of monitoring server to the corresponding terminal of main data channel does not make a speech in a long time, then selection is cut
Change owner data channel.It is logical that server needs redefine out master data in other data channel in addition to main data channel
Road, method of determination can refer to step 202, not repeat herein.
In second of possible realization method, the corresponding terminal of main data channel exits more people call, then server from
A step of data channel in n data channel is determined as main data channel starts to execute.
More people's call interfaces shown by the corresponding terminal of main data channel include hanging up control, this is hung up control and is used for
More people's calls are exited in triggering.When the corresponding terminal of main data channel is received corresponding to six operation signal for hanging up control,
OPT-OUT NOTICE is sent to server, the OPT-OUT NOTICE is for notifying that it is logical that the corresponding terminal of server main data channel has dropped out more people
It talks about, server needs redefine out main data channel in other data channel in addition to main data channel at this time, determine
Mode can refer to step 202, not repeat herein.
In conclusion technical solution provided by the embodiments of the present application, long in the corresponding terminal of main data channel by server
Time does not upload voice data, or in the case of having dropped out more people call, redefines main data channel so that remove master data
Each user during the speech of the user of the corresponding terminal of other data channel except channel can also be conversed by more people hears, carries
Rise speech quality.
Following is the application device embodiment, can be used for executing the application embodiment of the method.It is real for the application device
Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Referring to FIG. 8, the block diagram for the data transmission device conversed it illustrates more people that the application one embodiment provides.
The device, which has, realizes the exemplary function of the above method, and the function can also be executed corresponding by hardware realization by hardware
Software realization.The device may include:Call establishment module 801, data volume statistical module 802,803 and of channel determining module
Upload control module 804.
Call establishment module 801, for establishing more people's calls, more people's calls refer to the reality for including the participation of n terminal
When converse, each terminal in the n terminal be corresponding with one for server upload communicating data data channel, institute
It is the integer more than 1 to state n.
Data volume statistical module 802, for counting within the first period, each data in the n data channel are logical
The data volume for the voice data that road uploads.
Channel determining module 803, for a most data channel of data volume to be determined as main data channel.
Upload control module 804 for allowing the corresponding terminal of the main data channel to upload voice data, and is forbidden
The corresponding terminal of other data channel in addition to the main data channel uploads voice data.
In conclusion technical solution provided by the embodiments of the present application, by after establishing more people's calls, by server root
Main data channel is determined according to the data volume of the voice data uploaded in a certain period, and only allows main data channel corresponding
Terminal to server uploads voice data, each end for making server be conversed without human intervention participating in more people
The upload voice data at end is controlled, and to avoid server while the voice data for forwarding multiple terminals to upload, causes to use
Family can not distinguish that the case where sound occurs so that more people's calls can be carried out orderly, promote the speech quality of more people's calls.
In the alternative embodiment provided based on embodiment illustrated in fig. 8, the upload control module 803, for setting
The voice upload permissions for setting the main data channel are open state, and setting its in addition to the main data channel
The voice upload permissions of its data channel are in off state;Wherein, the voice upload permissions are on the server
Pass the permission of voice data.
In another alternative embodiment provided based on embodiment illustrated in fig. 8, described device further includes:Request receives mould
Block and channel switching module (not shown).
Request receiving module, the speaking request for receiving the transmission of the first terminal in the n terminal, described first eventually
It is the main data channel to hold corresponding data channel not.
Channel switching module, for according to the speaking request, the corresponding data channel of the first terminal to be switched to
The main data channel.
Optionally, the channel switching module, is used for:
According to the speaking request, the first switching request is sent to the corresponding terminal of the main data channel, described first
Switching request switches the main data channel for asking;
Receive the confirmation handoff response that the corresponding terminal of the main data channel returns;
According to the confirmation handoff response, the corresponding data channel of the first terminal is switched to the master data and is led to
Road.
Optionally, the channel switching module, is used for:
Count the data volume for the voice data that the main data channel uploads within the second period;
It, will when the data volume for the voice data that the main data channel uploads within the second period is less than preset data amount
The corresponding data channel of the first terminal is switched to the main data channel.
Optionally, described device further includes:Priority assignation module (not shown).
Priority assignation module, the interim upload permissions for the corresponding data channel of the first terminal to be arranged are opening state
State, the interim upload permissions are to upload the permission of voice data to the server within the third period.
In another alternative embodiment provided based on embodiment illustrated in fig. 8,
The request receiving module, the second switching request sent for receiving the corresponding terminal of the main data channel,
Second switching request is for asking the corresponding data channel of second terminal in the n terminal switching to the main number
According to channel.
The channel switching module, for according to second switching request, the corresponding data of the second terminal to be led to
Road switches to the main data channel.
In another alternative embodiment provided based on embodiment illustrated in fig. 8, described device further includes:Notice sends mould
Block (not shown).
It notifies sending module, prohibits for being sent to the corresponding terminal of other data channel in addition to the main data channel
Speech notice, the taboo speech notice is for notifying the terminal to forbid uploading voice data to the server.
In another alternative embodiment provided based on embodiment illustrated in fig. 8, the channel determining module 802 is also used
If in the voice data for not receiving the main data channel upload within the 4th period, alternatively, the main data channel corresponds to
Terminal exit the more people call, then be determined as master data from a data channel by the n data channel
The step of channel, starts to execute.
It should be noted that above-described embodiment provide device when realizing its function, only with above-mentioned each function module
It divides and for example, in practical application, can be completed as needed and by above-mentioned function distribution by different function modules,
The internal structure of equipment is divided into different function modules, to complete all or part of the functions described above.In addition,
The apparatus and method embodiment that above-described embodiment provides belongs to same design, and specific implementation process refers to embodiment of the method, this
In repeat no more.
Referring to FIG. 9, the structural schematic diagram of the computer equipment provided it illustrates the application one embodiment.The calculating
The data transmission method for more people call that machine equipment is used to implement to provide in above-described embodiment.Specifically:
Computer equipment 900 is including central processing unit (CPU) 901 including random access memory (RAM) 902 and only
Read the system storage 904 of memory (ROM) 903, and the system of connection system storage 904 and central processing unit 901
Bus 905.Computer equipment 900 further includes the basic input/output of transmission information between each device helped in computer
System (I/O systems) 906, and large capacity for storage program area 913, application program 914 and other program modules 915 are deposited
Store up equipment 907.
Basic input/output 906 includes display 908 for showing information and for user's input information
The input equipment 909 of such as mouse, keyboard etc.Wherein display 908 and input equipment 909 is all by being connected to system bus
905 input and output controller 910 is connected to central processing unit 901.Basic input/output 906 can also include defeated
Enter o controller 910 for receiving and handling from the defeated of multiple other equipments such as keyboard, mouse or electronic touch pen
Enter.Similarly, input and output controller 910 also provides output to display screen, printer or other kinds of output equipment.
Mass-memory unit 907 is connected by being connected to the bulk memory controller (not shown) of system bus 905
To central processing unit 901.Mass-memory unit 907 and its associated computer-readable medium are computer equipment 900
Non-volatile memories are provided.That is, mass-memory unit 907 may include such as hard disk or CD-ROM drive it
The computer-readable medium (not shown) of class.
Without loss of generality, computer-readable medium may include computer storage media and communication media.Computer stores
Medium includes any of the information such as computer-readable instruction, data structure, program module or other data for storage
The volatile and non-volatile of method or technique realization, removable and irremovable medium.Computer storage media include RAM,
ROM, EPROM, EEPROM, flash memory or other solid-state storages its technologies, CD-ROM, DVD or other optical storages, cassette, magnetic
Band, disk storage or other magnetic storage apparatus.Certainly, skilled person will appreciate that computer storage media is not limited to
It states several.Above-mentioned system storage 904 and mass-memory unit 907 may be collectively referred to as memory.
According to the various embodiments of the application, computer equipment 900 can also be arrived by network connections such as internets
Remote computer operation on network.Namely computer equipment 900 can be by the network interface that is connected on system bus 905
Unit 911 is connected to network 912, in other words, can also be connected to using Network Interface Unit 911 other kinds of network or
Remote computer system (not shown).
Memory further includes program, which is stored in memory, and is configured to processor execution.Above procedure packet
Instruction containing the data transmission method for executing above-mentioned more people's calls.
In the exemplary embodiment, a kind of computer readable storage medium, the computer-readable storage medium are additionally provided
Computer program is stored in matter, the computer program is loaded by the processor of server and executed to realize above method reality
Apply each step in example.
Optionally, above computer readable storage medium storing program for executing can be ROM, random access memory (RAM), CD-ROM, magnetic
Band, floppy disk and optical data storage devices etc..
In the exemplary embodiment, a kind of computer program product is additionally provided, when the computer program product is performed
When, for realizing the function of each step in above method embodiment.
It should be understood that referenced herein " multiple " refer to two or more."and/or", description association
The incidence relation of object indicates may exist three kinds of relationships, for example, A and/or B, can indicate:Individualism A, exists simultaneously A
And B, individualism B these three situations.It is a kind of relationship of "or" that character "/", which typicallys represent forward-backward correlation object,.
Above-mentioned the embodiment of the present application serial number is for illustration only, can not represent the quality of embodiment.
The foregoing is merely the exemplary embodiments of the application, all in spirit herein not to limit the application
Within principle, any modification, equivalent replacement, improvement and so on should be included within the protection domain of the application.
Claims (12)
1. a kind of data transmission method of more people's calls, which is characterized in that the method includes:
More people's calls are established, more people's calls refer to the real time phone call for including the participation of n terminal, every in the n terminal
A terminal is corresponding with a data channel for uploading communicating data to server, and the n is the integer more than 1;
Statistics is within the first period, the data volume for the voice data that each data channel in the n data channel uploads;
A most data channel of data volume is determined as main data channel;
Allow the corresponding terminal of the main data channel to upload voice data, and forbids its in addition to the main data channel
The corresponding terminal of its data channel uploads voice data.
2. according to the method described in claim 1, it is characterized in that, described allow the corresponding terminal of the main data channel to upload
Voice data, and the corresponding terminal of other data channel in addition to the main data channel is forbidden to upload voice data, packet
It includes:
The voice upload permissions that the main data channel is arranged are open state, and setting it is described except the main data channel it
The voice upload permissions of outer other data channel are in off state;Wherein, the voice upload permissions are to the clothes
Business device uploads the permission of voice data.
3. method according to claim 1 or 2, which is characterized in that a data by the n data channel
Channel is determined as after main data channel, further includes:
Receive the speaking request that first terminal in the n terminal is sent, the corresponding data channel of the first terminal is not
The main data channel;
According to the speaking request, the corresponding data channel of the first terminal is switched to the main data channel.
4. according to the method described in claim 3, it is characterized in that, described according to the speaking request, by the first terminal
Corresponding data channel is switched to the main data channel, including:
According to the speaking request, the first switching request, first switching are sent to the corresponding terminal of the main data channel
Request switches the main data channel for asking;
Receive the confirmation handoff response that the corresponding terminal of the main data channel returns;
According to the confirmation handoff response, the corresponding data channel of the first terminal is switched to the main data channel.
5. according to the method described in claim 3, it is characterized in that, described according to the speaking request, by the first terminal
Corresponding data channel is switched to the main data channel, including:
Count the data volume for the voice data that the main data channel uploads within the second period;
It, will be described when the data volume for the voice data that the main data channel uploads within the second period is less than preset data amount
The corresponding data channel of first terminal is switched to the main data channel.
6. according to the method described in claim 3, it is characterized in that, the first terminal received in the n terminal is sent
Speaking request after, further include:
The interim upload permissions that the corresponding data channel of the first terminal is arranged are open state, and the interim upload permissions are
The permission of voice data is uploaded to the server within the third period.
7. method according to claim 1 or 2, which is characterized in that a data by the n data channel
Channel is determined as after main data channel, further includes:
The second switching request that the corresponding terminal of the main data channel is sent is received, second switching request will for request
The corresponding data channel of second terminal in the n terminal switches to the main data channel;
According to second switching request, the corresponding data channel of the second terminal is switched into the main data channel.
8. method according to claim 1 or 2, which is characterized in that described to forbid its in addition to the main data channel
After the corresponding terminal of its data channel uploads voice data, further include:
It is sent to the corresponding terminal of other data channel in addition to the main data channel and prohibits speech notice, the taboo speech notice is used
Forbid uploading voice data to the server in notifying the terminal.
9. method according to claim 1 or 2, which is characterized in that described to forbid its in addition to the main data channel
After the corresponding terminal of its data channel uploads voice data, further include:
If the voice data that the main data channel uploads is not received within the 4th period, alternatively, the main data channel pair
The terminal answered exits the more people call, then from a data channel by the n data channel determine based on it is several
Start to execute according to the step of channel.
10. a kind of data transmission device of more people call, which is characterized in that described device includes:
Call establishment module, for establishing more people's calls, more people's calls refer to the real time phone call for including the participation of n terminal,
Each terminal in the n terminal is corresponding with a data channel for uploading communicating data to server, and the n is big
In 1 integer;
Data volume statistical module, for counting within the first period, what each data channel in the n data channel uploaded
The data volume of voice data;
Channel determining module, for a most data channel of data volume to be determined as main data channel;
Upload control module for allowing the corresponding terminal of the main data channel to upload voice data, and is forbidden except described
The corresponding terminal of other data channel except main data channel uploads voice data.
11. a kind of computer equipment, which is characterized in that the computer equipment includes processor and memory, the memory
It is stored with computer program, the computer program is loaded by the processor and executed to realize as claim 1 to 9 is any
The data transmission method of more people call described in.
12. a kind of computer readable storage medium, which is characterized in that be stored with computer in the computer readable storage medium
Program, the computer program are loaded by processor and are executed to realize more people's calls as described in any one of claim 1 to 9
Data transmission method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810759745.4A CN108540500B (en) | 2018-07-11 | 2018-07-11 | Data transmission method, device, equipment and storage medium for multi-person conversation |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810759745.4A CN108540500B (en) | 2018-07-11 | 2018-07-11 | Data transmission method, device, equipment and storage medium for multi-person conversation |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108540500A true CN108540500A (en) | 2018-09-14 |
CN108540500B CN108540500B (en) | 2021-06-11 |
Family
ID=63488178
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810759745.4A Active CN108540500B (en) | 2018-07-11 | 2018-07-11 | Data transmission method, device, equipment and storage medium for multi-person conversation |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108540500B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109104535A (en) * | 2018-09-30 | 2018-12-28 | 联想(北京)有限公司 | A kind of information processing method, electronic equipment and system |
CN111432160A (en) * | 2020-04-01 | 2020-07-17 | 广州市百果园信息技术有限公司 | Method, device, server and storage medium for realizing multi-person call |
CN111447223A (en) * | 2020-03-26 | 2020-07-24 | 维沃移动通信有限公司 | Call processing method and electronic equipment |
CN111628992A (en) * | 2020-05-26 | 2020-09-04 | 腾讯科技(深圳)有限公司 | Multi-person call control method and device, electronic equipment and storage medium |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101779442A (en) * | 2007-08-09 | 2010-07-14 | 欧力天工股份有限公司 | Audio conference system |
CN102118523A (en) * | 2009-12-30 | 2011-07-06 | 北京大唐高鸿数据网络技术有限公司 | Mixing control method for centralized teleconference |
US20160344780A1 (en) * | 2015-05-18 | 2016-11-24 | Nowhere Digital Limited | Method and system for controlling communications for video/audio-conferencing |
CN106603254A (en) * | 2016-11-11 | 2017-04-26 | 乐视控股(北京)有限公司 | Control method, system and electronic equipment for group chat |
CN107147667A (en) * | 2017-06-07 | 2017-09-08 | 太仓鸿策腾达网络科技有限公司 | A kind of control method for being used to manage participant's speech |
CN108159702A (en) * | 2017-12-06 | 2018-06-15 | 广东欧珀移动通信有限公司 | Based on multi-person speech game processing method and device |
-
2018
- 2018-07-11 CN CN201810759745.4A patent/CN108540500B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101779442A (en) * | 2007-08-09 | 2010-07-14 | 欧力天工股份有限公司 | Audio conference system |
CN102118523A (en) * | 2009-12-30 | 2011-07-06 | 北京大唐高鸿数据网络技术有限公司 | Mixing control method for centralized teleconference |
US20160344780A1 (en) * | 2015-05-18 | 2016-11-24 | Nowhere Digital Limited | Method and system for controlling communications for video/audio-conferencing |
CN106603254A (en) * | 2016-11-11 | 2017-04-26 | 乐视控股(北京)有限公司 | Control method, system and electronic equipment for group chat |
CN107147667A (en) * | 2017-06-07 | 2017-09-08 | 太仓鸿策腾达网络科技有限公司 | A kind of control method for being used to manage participant's speech |
CN108159702A (en) * | 2017-12-06 | 2018-06-15 | 广东欧珀移动通信有限公司 | Based on multi-person speech game processing method and device |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109104535A (en) * | 2018-09-30 | 2018-12-28 | 联想(北京)有限公司 | A kind of information processing method, electronic equipment and system |
CN111447223A (en) * | 2020-03-26 | 2020-07-24 | 维沃移动通信有限公司 | Call processing method and electronic equipment |
CN111432160A (en) * | 2020-04-01 | 2020-07-17 | 广州市百果园信息技术有限公司 | Method, device, server and storage medium for realizing multi-person call |
CN111628992A (en) * | 2020-05-26 | 2020-09-04 | 腾讯科技(深圳)有限公司 | Multi-person call control method and device, electronic equipment and storage medium |
CN111628992B (en) * | 2020-05-26 | 2021-04-13 | 腾讯科技(深圳)有限公司 | Multi-person call control method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN108540500B (en) | 2021-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103155628B (en) | Carry out self adaptation automatic detailed diagnostics log collection in a wireless communication system | |
CN108540500A (en) | Data transmission method, device, equipment and the storage medium of more people's calls | |
EP3105711B1 (en) | Video communication method and system in instant communication | |
KR101894644B1 (en) | Method, device and terminal device for playing game in chatting interface | |
KR100566263B1 (en) | System and method for providing messenger service changing information of user's status by using schedule | |
CN104918127B (en) | A kind of video file sharing method, terminal device and video file shared system | |
CN104335557A (en) | Systems and methods for group communication using a mobile device with mode depending on user proximity or device position | |
CN104583893A (en) | Systems and methods for establishing group communication based on motion of mobile device and on voice command | |
CN102474592A (en) | Camera-based facial recognition as a method of effecting telecom device alerting | |
CN104521224A (en) | Systems and methods for group communication using a mobile device with mode transition based on motion | |
CN101340494B (en) | Prompt method and system of calling center | |
CN104104655A (en) | Resource release method, device and system | |
CN106303350A (en) | A kind of multimodal video call method and device | |
CN104285421A (en) | Method, device, and system for reducing bandwidth usage during a communication session | |
CN107425991A (en) | Establish the method, apparatus of group and the method, apparatus of message forwarding | |
CN106209399A (en) | Conference terminal preordering method, Conference server and conference terminal switched system | |
CN112565527A (en) | Session state control method and device, electronic equipment and storage medium | |
CN113766259B (en) | Information synchronization system, method, device, equipment and storage medium | |
CN109428738A (en) | A kind of method of the dynamic filtration of group communication | |
CN109685538A (en) | Resource pickup information processing method, device and electronic equipment | |
CN104883290A (en) | Contact person online status notification method and apparatus | |
CN105262881A (en) | Communication control method and electronic equipment | |
CN104756447B (en) | A kind of method and Video Record Processor for recording session information | |
CN108134731A (en) | The means of communication and device | |
CN112256424A (en) | Virtual resource processing method, device and system, electronic equipment and storage medium |
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 |