[go: up one dir, main page]

CN109327415A - Transmission method, device and the server of voice group data - Google Patents

Transmission method, device and the server of voice group data Download PDF

Info

Publication number
CN109327415A
CN109327415A CN201710640874.7A CN201710640874A CN109327415A CN 109327415 A CN109327415 A CN 109327415A CN 201710640874 A CN201710640874 A CN 201710640874A CN 109327415 A CN109327415 A CN 109327415A
Authority
CN
China
Prior art keywords
packet
user
grouping
vop
sent
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.)
Pending
Application number
CN201710640874.7A
Other languages
Chinese (zh)
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.)
TD Tech Ltd
TD Tech Chengdu Co Ltd
Original Assignee
TD Tech 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 TD Tech Ltd filed Critical TD Tech Ltd
Priority to CN201710640874.7A priority Critical patent/CN109327415A/en
Publication of CN109327415A publication Critical patent/CN109327415A/en
Pending legal-status Critical Current

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/1066Session management
    • 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/185Arrangements for providing special services to substations for broadcast or conference, e.g. multicast with management of multicast group membership
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/28Flow control; Congestion control in relation to timing considerations
    • H04L47/283Flow control; Congestion control in relation to timing considerations in response to processing delays, e.g. caused by jitter or round trip time [RTT]
    • 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/1066Session management
    • H04L65/1096Supplementary features, e.g. call forwarding or call holding

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • General Business, Economics & Management (AREA)
  • Multimedia (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides transmission method, device and the servers of a kind of voice group data.The transmission method of voice group data provided by the invention includes: the VoP for receiving session setup end and sending;The corresponding session receiving end of each user that the first grouping where VoP to be sent to session setup end using first thread includes;For each second packet, VoP is sent to by the corresponding session receiving end of each user that second packet includes, corresponding second thread of each second packet using the second thread;Wherein, the first grouping and each second packet are obtained after being grouped the user in target voice group belonging to the user of session originating end according to preset rules.The forwarding real-time of transmission method, device and the server of voice group data provided by the invention, VoP is good.

Description

Transmission method, device and the server of voice group data
Technical field
The present invention relates to communication engineering technology more particularly to a kind of transmission method, device and the services of voice group data Device.
Background technique
Voice group call in the cluster monitoring business of broadband refers to that some voice group includes multiple users, if wherein One user initiates session, then the other users inside the voice group can hear the Client-initiated session.
VoP is sent to server by session setup end in the prior art, and server is successively by the VoP It is sent to multiple session receiving ends in the voice group.If the number of users inside the voice group reaches certain scale Words, it may appear that the time interval that two session receiving ends receive the VoP is very long, and VoP forwards real-time Property is poor, affects the usage experience of user.
Summary of the invention
The present invention provides transmission method, device and the server of a kind of voice group data, to overcome language in the prior art The technical issues of real-time of sound data packet forwarding is poor, affects the usage experience of user.
In a first aspect, the present invention provides a kind of transmission method of voice group data, it is applied to server, comprising:
Receive the VoP that session setup end is sent;
First be sent to the VoP using first thread where the corresponding user in the session setup end The corresponding session receiving end of each user that grouping includes;
For each second packet, using the second thread by the VoP be sent to that second packet includes it is each The corresponding session receiving end of user, corresponding second thread of each second packet;
Wherein, first grouping and each second packet are by target language belonging to the user at the session setup end What the user in tone cluster group obtained after being grouped according to preset rules.
Method as described above, it is described that the VoP is sent to by the session setup end pair using first thread The corresponding session receiving end of each user that first grouping where the user answered includes, comprising:
The VoP is sent to the first grouping by first server sending port corresponding with the first grouping Including the corresponding session receiving end of each user;
For each second packet, using the second thread by the VoP be sent to that second packet includes it is each The corresponding session receiving end of user, comprising:
For each second packet, by second server sending port corresponding with second packet by the voice number The corresponding session receiving end of each user that second packet includes is sent to according to packet.
Method as described above, before the VoP that server receives that session setup end is sent, the method is also Include:
All users in the target voice group are grouped according to preset rules, obtain it is described first grouping and Each second packet.
Method as described above is grouped according to preset rules by each user in the target voice group, obtains To after first grouping and each second packet, further includes:
Establish the first corresponding relationship between each grouping and server sending port.
Method as described above, by first server sending port corresponding with the first grouping by the voice data Packet is sent to before the corresponding session receiving end of each user that the first grouping includes, further includes:
First server sending port corresponding with the first grouping is determined according to first corresponding relationship;
Detect whether the first server sending port is occupied, and obtained testing result is no;
For each second packet, by second server sending port corresponding with second packet by the voice Data packet is sent to before the corresponding session receiving end of each user that second packet includes, further includes:
The corresponding second server sending port of second packet is determined according to first corresponding relationship;
Detect whether the second server sending port is occupied, and obtained testing result is no.
Method as described above, after receiving the VoP that session setup end is sent, further includes:
First server sending port corresponding with the first grouping is determined according to first corresponding relationship;
Detect whether the first server sending port is occupied, and obtained testing result is yes;
A first object available server port is chosen from each currently available Service-Port;
Correspondingly, the VoP is sent to by first server sending port corresponding with the first grouping The corresponding session receiving end of each user that one grouping includes, comprising:
The VoP is sent to each user that the first grouping includes by first object available server port Corresponding session receiving end;
For each second packet, first server corresponding with second packet is determined according to first corresponding relationship Sending port;
Detect whether the second server sending port is occupied, and obtained testing result is yes;
One second target available server port is chosen from each currently available Service-Port;The available server hair Sending end mouth is no occupied port;
Correspondingly, the VoP is sent to by second server sending port corresponding with second packet The corresponding session receiving end of each user that two groupings include, comprising:
By the second target available server port by the VoP be sent to that second packet includes it is each The corresponding session receiving end of user;
Method as described above, after receiving the VoP that session setup end is sent, further includes:
The available server sending port of preset quantity is chosen, the preset quantity and the target voice group include The quantity of grouping is identical;The available server sending port is no occupied port;
Establish the second corresponding relationship between each grouping and available server sending port;
It is described that the VoP is sent to first by first server sending port corresponding with the first grouping The corresponding session receiving end of each user that grouping includes, comprising:
According to the second corresponding relationship, the first available server sending port corresponding with the first grouping is determined;
By the first available server sending port by the VoP be sent to that the first grouping includes it is each The corresponding session receiving end of user;
For each second packet, it is described by second server sending port corresponding with second packet by institute's predicate Sound data packet is sent to the corresponding session receiving end of each user that second packet includes, comprising:
According to second corresponding relationship, the second available server sending port corresponding with second packet is determined;
The VoP is sent to respectively by each user that second packet includes using second server sending port Corresponding session receiving end.
Second aspect, the present invention also provides a kind of transmitting devices of voice group data, comprising:
Receiving module, for receiving the VoP of session setup end transmission;
Sending module, for the VoP to be sent to the corresponding use in the session setup end using first thread The corresponding session receiving end of each user that first grouping where family includes;And
For each second packet, using the second thread by the VoP be sent to that second packet includes it is each The corresponding session receiving end of user, corresponding second thread of each second packet;
Wherein, first grouping and each second packet are by target language belonging to the user at the session setup end What the user in tone cluster group obtained after being grouped according to preset rules.
The transmitting device of voice group data as described above, the sending module are specifically used for, by being grouped with first It is corresponding that the VoP is sent to each user that the first grouping includes by corresponding first server sending port Session receiving end;And
For each second packet, by second server sending port corresponding with second packet by the voice number The corresponding session receiving end of each user that second packet includes is sent to according to packet.
Third fermentation, the present invention also provides a kind of server, the transmission including voice group data described in second aspect Device.
The transmission method of voice group data provided by the invention, comprising: receive the voice data that session setup end is sent Packet;Each user that first grouping where VoP is sent to session setup end using first thread includes is corresponding Session receiving end;For each second packet, using the second thread by VoP be sent to that second packet includes it is each The corresponding session receiving end of user, corresponding second thread of each second packet;Wherein, it first is grouped and each second point Group is obtained after being grouped the user in target voice group belonging to the user of session originating end according to preset rules. The transmission method of voice group data provided by the invention greatly reduces the Forwarding Delay of VoP, is not in two The phenomenon that session receiving end receives the time phase difference of VoP for a long time, improves the usage experience of user.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is this hair Bright some embodiments for those of ordinary skill in the art without any creative labor, can be with It obtains other drawings based on these drawings.
Fig. 1 is a kind of possible system architecture diagram provided by the invention;
Fig. 2 is the flow chart of the transmission method embodiment one of voice group data provided by the invention;
Fig. 3 is the transmission mode schematic diagram of voice group data provided by the invention;
Fig. 4 is the schematic diagram of the first mapping table provided by the invention;
Fig. 5 is the structural schematic diagram of the transmitting device embodiment one of voice group data provided by the invention;
Fig. 6 is the structural schematic diagram of the transmitting device embodiment two of voice group data provided by the invention;
Fig. 7 is the structural schematic diagram of the transmitting device embodiment three of voice group data provided by the invention;
Fig. 8 is the structural schematic diagram of the transmitting device example IV of voice group data provided by the invention;
Fig. 9 is the structural schematic diagram of server provided by the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall within the protection scope of the present invention.
Fig. 1 is a kind of possible system architecture diagram provided by the invention;Referring to Fig. 1, the system architecture include server 11, First terminal 12 and multiple second terminals 13, the corresponding user of first terminal 12 and the corresponding user of each second terminal 13 belong to In the same voice group.User included by the voice group is divided into several groups.
Specifically, first terminal 12 initiates session as session setup end, it will talks about corresponding VoP and is sent to VoP is sent to each end in the grouping at 12 place of first terminal by first thread by server 11, server 11 Each session receiving end in grouping where end, that is, first terminal 12;Meanwhile server 11 will by multiple second threads VoP is sent to remaining and is respectively grouped respective session receiving end, corresponding second thread of each grouping.Server Each session receiving end of voice group where the VoP that session originating end is sent is sent to it by multithreading, so that The time interval that each session receiving end receives VoP is very short, and therefore, the real-time of VoP forwarding is good, is promoted The usage experience of user.
Fig. 2 is the flow chart of the transmission method embodiment one of voice group data provided by the invention, as shown in Fig. 2, this The method of embodiment may include:
Step S201, the VoP that session setup end is sent is received;
Step S202, VoP is sent to the first grouping where session setup end using first thread includes Each corresponding session receiving end of user;
Step S203, for each second packet, VoP is sent to by second packet packet using the second thread The corresponding session receiving end of each user included, corresponding second thread of each second packet;
Wherein, the first grouping and each second packet are by the use in target voice group belonging to the user of session originating end What family obtained after being grouped according to preset rules.
Specifically, the executing subject of the present embodiment can be the server 11 in system architecture diagram shown in FIG. 1.
For a voice group, multiple users are frequently included.During a voice group data transmits, hair The corresponding terminal of user for playing session is known as session setup end, and the corresponding terminal of remaining user is session in the voice group Receiving end.If there are many user in voice group, it will have multiple session receiving ends, if being successively sent to VoP Each session receiving end, then the real-time reception of VoP is poor.It therefore, will be more in target voice group in the present embodiment A user is grouped according to default rule, obtains multiple groupings, and multiple groupings include the first grouping and each second packet;Its In, the grouping where the corresponding user in session setup end is known as the first grouping, and the grouping where remaining user is referred to as second Grouping.That is, all users in target voice group belonging to the user at the session setup end in the present embodiment are by Respective user's composition in user and each second packet in one grouping.
The preset rules of grouping can are as follows: M user of group is distributed equally, N number of grouping is obtained, in each grouping Including user can be the user that is randomly selected from the target voice group.
When initiating user's speech of session, session setup end receives the voice of the user, after voice is encoded To VoP.Session setup end is sent to server after obtaining VoP, by VoP, and server receives VoP.
After server receives VoP, VoP is sent to session setup using first thread by server End where first grouping include each session receiving end, concrete methods of realizing can are as follows: by with the first grouping corresponding first VoP is sent to the corresponding session receiving end of each user that the first grouping includes by server sending port.
It will be appreciated by persons skilled in the art that first is grouped into the grouping where session setup end, and therefore, first point The corresponding session receiving end of each user that group includes or not session setup end.
Meanwhile for each second packet, VoP is sent to second packet using the second thread by server Including the corresponding session receiving end of each user, corresponding second thread of each second packet, concrete methods of realizing It can are as follows: for each second packet, sent VoP by the corresponding second server sending port of second packet The corresponding session receiving end of each user for including to second packet.I.e. each second packet is sent with a second server Port is corresponding, for example the corresponding session receiving end of each user in second packet A receives and issues from second server sending port a VoP, such as the corresponding session receiving end of each user in second packet B receives from second server sending port b The VoP of sending, and so on.
Wherein, " multiple users in target voice group being grouped according to default rule, are obtained in the present embodiment To multiple groupings " can be before " VoP that server receives the transmission of session setup end ", it can also be in " server Receive the VoP of session setup end transmission " after, the present embodiment does not limit.
Fig. 3 is the transmission mode schematic diagram of voice group data provided by the invention, and referring to Fig. 3, session setup end 31 will After VoP is sent to server, VoP is first successively sent to multiple server sending ports 32 by server, Then pass through multiple server sending ports 32 and carry out for VoP being sent to each corresponding session of grouping simultaneously and connect Receiving end 33.The corresponding user in session setup end 31 and the corresponding user in each session receiving end 33 constitute the use of target voice group Family.
Since server is that received VoP is sent to first server sending port and each second server Sending port, while being sent to VoP respectively by first server sending port and each second server sending port It is grouped the operation for the corresponding session receiving end of user for respectively including, it is not necessary that VoP is successively sent to target language tone cluster The corresponding session receiving end of each user in group, greatly reduces the Forwarding Delay of VoP, is not in two sessions The phenomenon that receiving end receives the time phase difference of VoP for a long time, improves the usage experience of user.
Since the session receiving end in each grouping passes through the VoP for receiving corresponding server port and sending, Before server distributes received VoP, it is thus necessary to determine that the corresponding pass between server sending port and each grouping System.
Below to the implementation and each realization side for determining the corresponding relationship between server sending port and each grouping The transmission method of corresponding voice group data is described in detail under formula, but the present embodiment is not limited to following realization side Formula.
The first possible implementation are as follows: divide by multiple users in target voice group according to preset rules Group after obtaining the first grouping and each second packet, establishes the first corresponding relationship between each grouping and server sending port.
Fig. 4 is the schematic diagram of the first mapping table provided by the invention, and referring to fig. 4, the first corresponding relationship can be with the The form storage of one mapping table in the server, receives the corresponding session setup end of the target voice group in server After the VoP of transmission, first mapping table is called from memory, according to each in first mapping table Be grouped the corresponding relationship between server sending port, determine the corresponding first server sending port of the first grouping and each The corresponding second server port of second packet.Such as: the first grouping C is corresponding with server sending port c, then passing through The VoP that server sending port c is issued is dispensed to the first grouping C corresponding each session receiving end C1, C2, C3, C4 Deng;Second packet D is corresponding with server sending port d, then the voice data coating point issued by server sending port d It is sent to second packet D corresponding each session receiving end D1, D2, D3, D4 etc..
Further, after determining the corresponding server sending port of each grouping according to the first corresponding relationship in server, also It needs to be determined that whether the first server sending port is occupied.
Specifically, after determining first server sending port corresponding with the first grouping according to the first corresponding relationship, inspection Survey first server sending port it is whether occupied, if obtained testing result be it is no, pass through first server sending port general VoP is sent to the corresponding session receiving end of each user that the first grouping includes, that is, uses first thread by voice data The corresponding session receiving end of each user that first grouping where packet is sent to the corresponding user in session setup end includes;If obtaining Testing result be it is no, then after waiting the occupancy of first server sending port to be released, pass through first server sending port will VoP is sent to the corresponding session receiving end of each user that the first grouping includes.
For each second packet, the corresponding second server transmitting terminal of second packet is determined according to the first corresponding relationship Mouthful, detection second server sending port it is whether occupied, if obtained testing result be it is no, sent out by the second server VoP is sent to the corresponding session receiving end of each user that the second packet includes by sending end mouth, that is, uses second VoP is sent to the corresponding session receiving end of each user that second packet includes by thread;If obtained detection knot Fruit be it is yes, then after waiting the occupancy of second server sending port to be released, by second server sending port by voice number The corresponding session receiving end of each user that second packet includes is sent to according to packet.
The corresponding voice group data transmission method of this kind of implementation, due between each grouping and server sending port The first corresponding relationship be determined in advance, if corresponding server sending port does not have occupied, voice can be saved The transmission time of data packet needs to wait corresponding server sending port quilt if corresponding server sending port is occupied Release, it is possible to extend the transmission time of VoP.
Second of possible implementation are as follows: after receiving the VoP that session setup end is sent, determine default The available server sending port of quantity, preset quantity are identical as the quantity for the grouping that target voice group includes;Available service Device sending port is no occupied port;Establish each grouping and the second corresponding pass between available server sending port System.
At this point, VoP is sent to the first grouping by first server sending port corresponding with the first grouping Including the corresponding session receiving end of each user, comprising: according to the second corresponding relationship, determination can with the first grouping corresponding first With server sending port;By the first available server sending port by VoP be sent to that the first grouping includes it is each Session receiving end;For each second packet, by second server sending port corresponding with second packet by voice number The corresponding session receiving end of each user that second packet includes is sent to according to packet, comprising: for each second packet, root According to the second corresponding relationship, determines the second available server sending port corresponding with second packet, sent using second server VoP is sent to the corresponding session receiving end of each user that second packet includes by port.
The transmission method of the corresponding voice group data of this kind of implementation, due to needing to receive VoP Afterwards, the available server sending port for determining preset quantity, is likely to result in the extension of transmission time, but this kind of implementation There is no the times that waiting for server port is released.
The third possible implementation are as follows: divide by multiple users in target voice group according to preset rules Group after obtaining the first grouping and each second packet, establishes the first corresponding relationship between each grouping and server sending port.
Specifically, under this kind of implementation, the voice group data transmission method of the present embodiment, server is being received To after VoP, comprising: determine first server sending port corresponding with the first grouping according to the first corresponding relationship; Whether occupied first server sending port is detected, if obtained testing result is yes, the selection one first from server Target available server port, VoP, which is sent to the first grouping, by first object available server port includes The corresponding session receiving end of each user;If obtained testing result be it is no, by first server sending port by voice number The corresponding session receiving end of each user that the first grouping includes is sent to according to packet.
Server is after receiving VoP, including for each second packet, according to the first corresponding relationship Determine second server sending port corresponding with second packet;Whether occupied detect second server sending port, if To testing result be it is yes, then from server choose one second target available server port, by the second target can with clothes VoP is sent to the corresponding session receiving end of each user that second packet includes by business device port;If obtained inspection Survey result be it is no, then VoP is sent to by second packet by second server sending port corresponding with second packet Including the corresponding session receiving end of each user.
The corresponding voice group data transmission method of this kind of implementation, due between each grouping and server sending port The first corresponding relationship be determined in advance, and if corresponding server sending port it is occupied, directly choose available Server sending port is released without waiting for corresponding server sending port, and the transmission time of VoP is short, voice The transmission real-time of data is good.
The transmission method of voice group data provided in this embodiment, comprising: receive the voice number that session setup end is sent According to packet;Each user that the first grouping where VoP to be sent to session setup end using first thread includes is respectively right The session receiving end answered;For each second packet, VoP, which is sent to second packet, using the second thread includes The corresponding session receiving end of each user, corresponding second thread of each second packet;Wherein, the use at session setup end All users in target voice group belonging to family by the first grouping user and each second packet in respectively include use Family composition.The transmission method of voice group data provided in this embodiment greatly reduces the Forwarding Delay of VoP, no It will appear the phenomenon that two session receiving ends receive the time phase difference of VoP for a long time, improve user uses body It tests.
It should be understood that magnitude of the sequence numbers of the above procedures are not meant that the order of the execution order, the execution of each process is suitable Sequence should be determined by its function and internal logic, and the implementation process of the embodiments of the invention shall not be constituted with any limitation.
Fig. 5 is the structural schematic diagram of the transmitting device embodiment one of voice group data provided by the invention, such as Fig. 5 institute Show, the device of the present embodiment may include: receiving module 21 and sending module 22.
Wherein, receiving module 21, for receiving the VoP of session setup end transmission;Sending module 22, for adopting Each user couple that the first grouping where VoP to be sent to the corresponding user in session setup end with first thread includes The session receiving end answered;And for each second packet, VoP is sent to by second packet using the second thread Including the corresponding session receiving end of each user, corresponding second thread of each second packet;Wherein, first grouping and Each second packet is to be grouped the user in target voice group belonging to the user of session originating end according to preset rules It obtains afterwards.
Sending module specific 12 is used for, by first server sending port corresponding with the first grouping by VoP It is sent to the corresponding session receiving end of each user that the first grouping includes;And for each second packet, by with It is respectively right that VoP is sent to each user that second packet includes by the corresponding second server sending port of second packet The session receiving end answered.
The device of the present embodiment can be used for executing the technical solution of above method embodiment, realization principle and technology Effect is similar, and details are not described herein again.
Fig. 6 is the structural schematic diagram of the transmitting device embodiment two of voice group data provided by the invention, such as Fig. 6 institute Show, can also include: grouping module 23, further on the basis of the device of the present embodiment apparatus structure shown in Fig. 5 One corresponding relation building module 24, corresponding relationship determining module 25, detection module 26.
Grouping module 23 obtains for being grouped all users in target voice group according to preset rules One grouping and each second packet;Corresponding relation building module 24, for establishing between each grouping and server sending port One corresponding relationship.
Corresponding relationship determining module 25, for determining first server corresponding with the first grouping according to the first corresponding relationship Sending port, and, for each second packet, the corresponding second server of second packet is determined according to the first corresponding relationship Sending port;Whether detection module 16 occupied for detecting the first server sending port, and, for each second Whether occupied grouping, detect the second server sending port.
The device of the present embodiment can be used for executing the technical solution of above method embodiment, realization principle and technology Effect is similar, and details are not described herein again.
Fig. 7 is the structural schematic diagram of the transmitting device embodiment two of voice group data provided by the invention, such as Fig. 7 institute Show, can also include: the first selection module further on the basis of the device of the present embodiment apparatus structure shown in Fig. 6 27。
If to obtain first server sending port occupied for the detection of detection module 26, first chooses module 27, for from Choose a first object available server port in each currently available Service-Port, available server sending port be not by The port of occupancy;And for each second packet, if to obtain second server sending port occupied for the detection of detection module 26 With the one second target available server port of selection from each currently available Service-Port.At this point, sending module 22 is used for, VoP is sent to the corresponding meeting of each user that the first grouping includes by first object available server port Receiving end is talked about, and, for each second packet, VoP is sent to by the second target available server port The corresponding session receiving end of each user that second packet includes.
The device of the present embodiment can be used for executing the technical solution of above method embodiment, realization principle and technology Effect is similar, and details are not described herein again.
Fig. 8 is the structural schematic diagram of the transmitting device example IV of voice group data provided by the invention, such as Fig. 8 institute Show, can also include: the second selection module 43 further on the basis of the device of the present embodiment apparatus structure shown in Fig. 5 With the second corresponding relation building module 44.
Second selection module 43 is used to choose the available server sending port of preset quantity, preset quantity and target voice The quantity for the grouping that group includes is identical;Available server sending port is no occupied port;Second corresponding relationship is built Formwork erection block 44 is used to establish the second corresponding relationship between each grouping and available server sending port.
Sending module 22 is specifically used for, and according to the second corresponding relationship, determines the first available service corresponding with the first grouping VoP is sent to each user couple that the first grouping includes by the first available server sending port by device sending port The session receiving end answered;And according to the second corresponding relationship, determine the second available server transmitting terminal corresponding with second packet Mouthful, VoP is sent to by the corresponding session of each user that second packet includes using second server sending port Receiving end.
The device of the present embodiment can be used for executing the technical solution of above method embodiment, realization principle and technology Effect is similar, and details are not described herein again.
Fig. 9 is the structural schematic diagram of server provided by the invention, as shown in figure 9, the server 91 of the present embodiment includes: The transmitting device 92 of any voice group data in Fig. 5~Fig. 8.
Those of ordinary skill in the art will appreciate that: realize that all or part of the steps of above-mentioned each method embodiment can lead to The relevant hardware of program instruction is crossed to complete.Program above-mentioned can be stored in a computer readable storage medium.The journey When being executed, execution includes the steps that above-mentioned each method embodiment to sequence;And storage medium above-mentioned include: ROM, RAM, magnetic disk or The various media that can store program code such as person's CD.
Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention., rather than its limitations;To the greatest extent Pipe present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that: its according to So be possible to modify the technical solutions described in the foregoing embodiments, or to some or all of the technical features into Row equivalent replacement;And these are modified or replaceed, various embodiments of the present invention technology that it does not separate the essence of the corresponding technical solution The range of scheme.

Claims (10)

1. a kind of transmission method of voice group data is applied to server characterized by comprising
Receive the VoP that session setup end is sent;
The first grouping being sent to the VoP using first thread where the corresponding user in the session setup end Including the corresponding session receiving end of each user;
For each second packet, the VoP is sent to by each user that second packet includes using the second thread Corresponding session receiving end, corresponding second thread of each second packet;
Wherein, first grouping and each second packet are by target language tone cluster belonging to the user at the session setup end What the user in group obtained after being grouped according to preset rules.
2. the method according to claim 1, wherein described sent the VoP using first thread The corresponding session receiving end of each user for including to the first grouping where the corresponding user in the session setup end, comprising:
The VoP, which is sent to the first grouping, by first server sending port corresponding with the first grouping includes The corresponding session receiving end of each user;
For each second packet, the VoP is sent to by each user that second packet includes using the second thread Corresponding session receiving end, comprising:
For each second packet, by second server sending port corresponding with second packet by the VoP It is sent to the corresponding session receiving end of each user that second packet includes.
3. according to the method described in claim 2, it is characterized in that, receiving the voice data that session setup end is sent in server Before packet, the method also includes:
All users in the target voice group are grouped according to preset rules, obtain first grouping and each institute State second packet.
4. according to the method described in claim 3, it is characterized in that, by each user in the target voice group according to pre- If rule is grouped, obtain it is described first grouping and each second packet after, further includes:
Establish the first corresponding relationship between each grouping and server sending port.
5. according to the method described in claim 4, it is characterized in that, being sent by first server corresponding with the first grouping The VoP is sent to before the corresponding session receiving end of each user that the first grouping includes by port, is also wrapped It includes:
First server sending port corresponding with the first grouping is determined according to first corresponding relationship;
Detect whether the first server sending port is occupied, and obtained testing result is no;
For each second packet, by second server sending port corresponding with second packet by the voice data Packet is sent to before the corresponding session receiving end of each user that second packet includes, further includes:
The corresponding second server sending port of second packet is determined according to first corresponding relationship;
Detect whether the second server sending port is occupied, and obtained testing result is no.
6. according to the method described in claim 4, it is characterized in that, receive session setup end send VoP it Afterwards, further includes:
First server sending port corresponding with the first grouping is determined according to first corresponding relationship;
Detect whether the first server sending port is occupied, and obtained testing result is yes;
A first object available server port is chosen from each currently available Service-Port;The available server transmitting terminal Mouth is no occupied port;
Correspondingly, the VoP is sent to first point by first server sending port corresponding with the first grouping The corresponding session receiving end of each user that group includes, comprising:
The VoP is sent to each user that the first grouping includes respectively by first object available server port Corresponding session receiving end;
For each second packet, determine that first server corresponding with second packet is sent according to first corresponding relationship Port;
Detect whether the second server sending port is occupied, and obtained testing result is yes;
One second target available server port is chosen from each currently available Service-Port;
Correspondingly, the VoP is sent to second point by second server sending port corresponding with second packet The corresponding session receiving end of each user that group includes, comprising:
The VoP is sent to each user that second packet includes by the second target available server port Corresponding session receiving end.
7. according to the method described in claim 3, it is characterized in that, receive session setup end send VoP it Afterwards, further includes:
Choose the available server sending port of preset quantity, the grouping that the preset quantity and the target voice group include Quantity it is identical;The available server sending port is no occupied port;
Establish the second corresponding relationship between each grouping and available server sending port;
It is described that the VoP is sent to by the first grouping by first server sending port corresponding with the first grouping Including the corresponding session receiving end of each user, comprising:
According to the second corresponding relationship, the first available server sending port corresponding with the first grouping is determined;
The VoP is sent to each user that the first grouping includes by the first available server sending port Corresponding session receiving end;
For each second packet, it is described by second server sending port corresponding with second packet by the voice number The corresponding session receiving end of each user that second packet includes is sent to according to packet, comprising:
According to second corresponding relationship, the second available server sending port corresponding with second packet is determined;
The VoP each user that second packet includes is sent to using second server sending port respectively to correspond to Session receiving end.
8. a kind of transmitting device of voice group data characterized by comprising
Receiving module, for receiving the VoP of session setup end transmission;
Sending module, for the VoP to be sent to the corresponding user institute in the session setup end using first thread First grouping include the corresponding session receiving end of each user;And
For each second packet, the VoP is sent to by each user that second packet includes using the second thread Corresponding session receiving end, corresponding second thread of each second packet;
Wherein, first grouping and each second packet are by target language tone cluster belonging to the user at the session setup end What the user in group obtained after being grouped according to preset rules.
9. the transmitting device of voice group data according to claim 8, which is characterized in that
The sending module is specifically used for, by first server sending port corresponding with the first grouping by the voice data Packet is sent to the corresponding session receiving end of each user that the first grouping includes;And
For each second packet, by second server sending port corresponding with second packet by the VoP It is sent to the corresponding session receiving end of each user that second packet includes.
10. a kind of server, which is characterized in that the transmitting device including voice group data as claimed in claim 8 or 9.
CN201710640874.7A 2017-07-31 2017-07-31 Transmission method, device and the server of voice group data Pending CN109327415A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710640874.7A CN109327415A (en) 2017-07-31 2017-07-31 Transmission method, device and the server of voice group data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710640874.7A CN109327415A (en) 2017-07-31 2017-07-31 Transmission method, device and the server of voice group data

Publications (1)

Publication Number Publication Date
CN109327415A true CN109327415A (en) 2019-02-12

Family

ID=65245709

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710640874.7A Pending CN109327415A (en) 2017-07-31 2017-07-31 Transmission method, device and the server of voice group data

Country Status (1)

Country Link
CN (1) CN109327415A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110798450A (en) * 2019-09-25 2020-02-14 视联动力信息技术股份有限公司 Audio and video data processing method and device and storage medium
CN112152975A (en) * 2019-06-28 2020-12-29 成都鼎桥通信技术有限公司 Audio data processing method and device

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527885A (en) * 2008-03-03 2009-09-09 深圳市艾派应用系统有限公司 Method and system for processing PoC service
US20110090899A1 (en) * 2009-10-21 2011-04-21 Sergey Fedorov Multimedia Routing System for Securing Third Party Participation in Call Consultation or Call Transfer of a Call in Progress
CN102223655A (en) * 2011-07-05 2011-10-19 上海市安全生产科学研究所 Underlying multi-thread data transmission method of mobile communication
CN103312586A (en) * 2012-03-09 2013-09-18 联想(北京)有限公司 instant communication
CN105721176A (en) * 2016-02-01 2016-06-29 四川长虹电器股份有限公司 Massive device instant message communication method and public message client managing method
CN105787026A (en) * 2016-02-24 2016-07-20 人民网股份有限公司 Information stream display method and device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101527885A (en) * 2008-03-03 2009-09-09 深圳市艾派应用系统有限公司 Method and system for processing PoC service
US20110090899A1 (en) * 2009-10-21 2011-04-21 Sergey Fedorov Multimedia Routing System for Securing Third Party Participation in Call Consultation or Call Transfer of a Call in Progress
CN102223655A (en) * 2011-07-05 2011-10-19 上海市安全生产科学研究所 Underlying multi-thread data transmission method of mobile communication
CN103312586A (en) * 2012-03-09 2013-09-18 联想(北京)有限公司 instant communication
CN105721176A (en) * 2016-02-01 2016-06-29 四川长虹电器股份有限公司 Massive device instant message communication method and public message client managing method
CN105787026A (en) * 2016-02-24 2016-07-20 人民网股份有限公司 Information stream display method and device

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112152975A (en) * 2019-06-28 2020-12-29 成都鼎桥通信技术有限公司 Audio data processing method and device
CN110798450A (en) * 2019-09-25 2020-02-14 视联动力信息技术股份有限公司 Audio and video data processing method and device and storage medium
CN110798450B (en) * 2019-09-25 2022-08-23 视联动力信息技术股份有限公司 Audio and video data processing method and device and storage medium

Similar Documents

Publication Publication Date Title
CN105357076B (en) Network connectivty detection method and device between a kind of node
CN108881783A (en) Realize method and apparatus, computer equipment and the storage medium of multi-conference
US9031679B2 (en) Methods, systems, and computer readable media for utilizing a plurality of pre-encoded payloads to generate a packet stream transmission
CN103841206B (en) A kind of subscription and the method for issuing subject message
CN108173894A (en) Method, device and server equipment for server load balancing
CN107104782B (en) Data transmission method and device
US8994782B2 (en) Local media rendering
WO2020010670A1 (en) Method and device for acquiring network resource, and scheduling server
JP2017516193A5 (en)
CN109327415A (en) Transmission method, device and the server of voice group data
CN104506549A (en) Method, device and system for establishing online game connection
CN104008055B (en) The method of software test, equipment and system
CN109254913A (en) Collaborative share method, apparatus, electronic equipment and computer storage medium
CN107613313A (en) A kind of player method and device of multiple live videos
WO2013000334A1 (en) Method and device for testing voice media gateway
CN105634982A (en) Speed measuring server queuing method, speed measuring server and client
CN106534393A (en) Method and system for realizing NAT traversal
CN105389205B (en) A kind of information processing method and electronic equipment
CN110457077A (en) Intelligent Service method, device and equipment
CN104717193B (en) Multi-party interactive sessions in multi-party interactive application start method and system
CN107404730A (en) Traffic method for testing pressure and device
CN105933464A (en) Network communication method and system based on network connection pooling
CN109448757A (en) A kind of method and apparatus detecting voice quality
EP2704514A1 (en) Method and apparatus for merging and splitting personal networks
CN105530619B (en) Concurrent call processing method and concurrent call processing device

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190212