CN107995201A - Transmission method and device, the server and storage medium of data - Google Patents
Transmission method and device, the server and storage medium of data Download PDFInfo
- Publication number
- CN107995201A CN107995201A CN201711291958.0A CN201711291958A CN107995201A CN 107995201 A CN107995201 A CN 107995201A CN 201711291958 A CN201711291958 A CN 201711291958A CN 107995201 A CN107995201 A CN 107995201A
- Authority
- CN
- China
- Prior art keywords
- data
- terminal
- receiver
- data receiver
- lan
- 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
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/24—Negotiation of communication capabilities
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2801—Broadband local area networks
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/28—Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
- H04L12/2854—Wide area networks, e.g. public data networks
- H04L12/2856—Access arrangements, e.g. Internet access
- H04L12/2858—Access network architectures
- H04L12/2859—Point-to-point connection between the data network and the subscribers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/104—Peer-to-peer [P2P] networks
- H04L67/1074—Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
- H04L67/1078—Resource delivery mechanisms
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Telephonic Communication Services (AREA)
- Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
Abstract
The invention discloses transmission method and device, the server and storage medium of a kind of data.This method includes:Obtain the LAN Information that Web conference house data transmitting terminal and data receiver are connected;Data transfer mode between the data sending terminal and the data receiver is determined according to the LAN Information, the data transfer mode includes local network transport and/or wide area network transmission;The data sending terminal is controlled to send conferencing data to the data receiver according to the data transfer mode.The embodiment of the present invention can shorten the time delay in data transmission procedure, reduce the drop probabilities of data transfer, improve the speed and quality of data transfer in teleconference by using above-mentioned technical proposal.
Description
Technical field
The present invention relates to transmission method and device, the server and storage of field of communication technology, more particularly to a kind of data
Medium.
Background technology
Development and people's the accelerating rhythm of life with information technology, strange land network is carried out by teleconferencing terminal
Meeting has gradually substituted the conference model of legacy user's face-to-face meetings, becomes one of current common participant mode.
Current teleconference scheme, generally can create virtual network meeting room according to the application of a certain client first,
And be added to the client in the virtual network meeting room created after the completion of the establishment of virtual network meeting room, it is then based on
The client to other be introduced into the virtual network meeting room client invitation or based on other be introduced into the virtual network
The application of the client of meeting room will invite or the client of application into virtual network meeting room adds the virtual network meeting
In room, so as to fulfill the data transfer between the client within same virtual network meeting room with sharing.
But inventor has found the prior art in the implementation of the present invention that there are following technological deficiency:It is existing long-range
Meeting scheme can be limited when transmitting data be subject to network bandwidth, and time delay is longer and there are larger drop probabilities, data to pass
Defeated speed is relatively low and data transmission quality is poor, causes participant poor to the usage experience of conference terminal.
The content of the invention
In view of this, the embodiment of the present invention provides a kind of transmission method and device of data, server and storage medium, with
Solve the technical problem that teleconference message transmission rate is relatively low in the prior art and data transmission quality is poor.
In a first aspect, an embodiment of the present invention provides a kind of transmission method of data, including:
Obtain the LAN Information that Web conference house data transmitting terminal and data receiver are connected;
Transmission side data between the data sending terminal and the data receiver is determined according to the LAN Information
Formula, the data transfer mode include local network transport and/or wide area network transmission;
The data sending terminal is controlled to send conferencing data to the data receiver according to the data transfer mode.
Second aspect, an embodiment of the present invention provides a kind of transmitting device of data, including:
LAN Information acquisition module, for obtaining Web conference house data transmitting terminal and data receiver connected
LAN Information;
Transmission mode determining module, for determining that the data sending terminal connects with the data according to the LAN Information
Data transfer mode between receiving end, the data transfer mode include local network transport and/or wide area network transmission;
Data transmission module, for controlling the data sending terminal according to the data transfer mode to the data receiver
End sends conferencing data.
The third aspect, an embodiment of the present invention provides a kind of server, including:
One or more processors;
Memory, for storing one or more programs,
When one or more of programs are performed by one or more of processors so that one or more of processing
Device realizes the transmission method of the data described in the embodiment of the present invention.
Fourth aspect, the embodiment of the present invention additionally provide a kind of computer-readable recording medium, are stored thereon with computer
Program, the program realize the transmission method of the data described in the embodiment of the present invention when being executed by processor.
In the technical solution of above-mentioned transmission data, obtain Web conference house data transmitting terminal and data receiver connects
The LAN Information connect, the data transfer mode between data sending terminal and data receiver is determined according to the LAN Information,
The conferencing data that data sending terminal is sent is transmitted to data receiver according to identified data transfer mode.Above-mentioned transmission number
According to technical solution, the LAN Information connected based on data sending terminal and data receiver determines data sending terminal and data
Data transfer mode between receiving terminal, can shorten the time delay in data transmission procedure, reduce the drop probabilities of data transfer,
Improve the speed and quality of data transfer in teleconference.
Brief description of the drawings
By reading the detailed description made to non-limiting example made with reference to the following drawings, of the invention is other
Feature, objects and advantages will become more apparent upon:
Fig. 1 is a kind of flow diagram of the transmission method for data that the embodiment of the present invention one provides;
Fig. 2 is a kind of flow diagram of the transmission method of data provided by Embodiment 2 of the present invention;
Fig. 3 is a kind of flow diagram of the transmission method for preferable data that the embodiment of the present invention three provides;
Fig. 4 is a kind of structure diagram of the transmitting device for data that the embodiment of the present invention four provides;
Fig. 5 is a kind of structure diagram for server that the embodiment of the present invention five provides.
Embodiment
The present invention is described in further detail with reference to the accompanying drawings and examples.It is understood that this place is retouched
The specific embodiment stated is used only for explaining the present invention, rather than limitation of the invention.It also should be noted that in order to just
It illustrate only part related to the present invention rather than full content in description, attached drawing.
Embodiment one
The embodiment of the present invention one provides a kind of transmission method of data.This method can be performed by the transmitting device of data,
Wherein, which be able to can generally be integrated in the corresponding server of conference client by software and/or hardware realization.Fig. 1 is this hair
The flow diagram of the transmission method for the data that bright embodiment one provides, as shown in Figure 1, this method includes:
S101, obtain the LAN Information that Web conference house data transmitting terminal and data receiver are connected.
Wherein, data sending terminal can be understood as sending the conference terminal of conferencing data, data in a certain Web conference room
Receiving terminal can be understood as receiving in the Web conference room conference terminal of the conferencing data of data sending terminal transmission.LAN is believed
Breath can include the IP letters that the indoor each conference terminal (data sending terminal and data receiver) of Web conference connects LAN
Breath, which establishes rules, can determine as needed really, for example, service corresponding with Web conference room can be obtained first
Device establishes connection and its at least one conference terminal connected is present in the IP information of the indoor all LANs of the Web conference,
The switching equipment (interchanger or router etc.) in each LAN is controlled to send LAN broadcast, and will be to a certain LAN broadcast
The LAN Information of the conference terminal to respond is determined as the office of LAN where sending the switching equipment of the LAN broadcast
Net IP information in domain;The IP address information of each conference terminal can also be obtained, and based on the network number in each conference terminal IP address
Determine the LAN Information of each conference terminal;The IP address information for the switching equipment that each conference terminal is connected can also be obtained,
And the LAN Information that each conference terminal connected is determined based on the IP address information, it is not restricted herein.In view of determining office
The convenience of domain net information, it is optionally, described to obtain the LAN Information that each conference terminal is connected in Web conference room, bag
Include:Obtain the IP address information of Web conference house data transmitting terminal and data receiver;Determined according to the IP address information
The LAN Information that each conference terminal is connected in Web conference room.
Usually, when carrying out teleconference, the Web conference request that can be primarily based on a certain conference terminal is the meeting
Terminal is discussed to create or distribution Web conference room, create or be assigned in Web conference room and the conference terminal is added create or
After the Web conference room of distribution, other conference terminal transmissions are invited based on the indoor conference terminal of the Web conference is had been located in
Please or it ask to add other conference terminals for being introduced into the Web conference room into meeting room based on what other conference terminals were sent
Enter in the Web conference room, to ensure to realize network meeting with transmitting conference data between each conference terminal in Web conference room
Teleconference between the indoor each conference terminal of view.
When obtaining the LAN Information that data sending terminal and data receiver are connected, Web conference can be determined first
Indoor data sending terminal and data receiver, then obtain the LAN Information of data sending terminal and data receiver again, or
Person, obtains the LAN Information of each conference terminal in Web conference room first, then determines data receiver and data sending again
End;Definite data sending terminal and data receiver can also be carried out at the same time and obtain the behaviour of the LAN Information of each conference terminal
Make.In the present embodiment, LAN Information can be in real time based on LAN broadcast, the IP address information of switching equipment and/or meeting
IP address information of terminal etc. determines;Can also a certain conference terminal add Web conference room when be based on LAN broadcast,
The IP address information of switching equipment and/or the IP address information of the conference terminal etc. determine the LAN that the conference terminal is connected
Information and the storage location for storing it in setting, it is stored from the acquisition of corresponding storage location when obtaining LAN Information
The LAN Information that each conference terminal (data sending terminal and data receiver) is connected.
In the present embodiment, data receiver and data sending terminal can be obtained according to the data sending request or data received
Request is taken to determine, for example, the conference terminal for sending data sending request can be determined as data sending terminal, and/or, it will send
The conference terminal of data acquisition request is determined as data receiver.Optionally, in definite data sending terminal and data receiver,
Data sending request can be received, and is determined according to the IP address information carried in the data sending request in Web conference room
Data sending terminal and data receiver.At this time, the IP address letter of data transmit-receive both sides can be carried in data sending request
Breath, wherein, the IP address information for receiving one side of data can be IP address information or the receiving for the conference terminal for receiving data
The IP address information of the switching equipment of data, for example, as the IP of data receiver entrained in data sending request
When location information is the IP address information of interchanger, data entrained in Web conference room and in data sending request can be sent out
The corresponding conference terminal of IP address information for the side of sending is determined as data sending terminal, and by Web conference room and data receiver
The conference terminal that the corresponding interchanger of IP address information is connected is determined as data receiver;When being taken in data sending request
When the IP address information of the data receiver of band is the IP address information of conference terminal, it will can be sent out in Web conference room with data
The corresponding conference terminal of IP address information of data sender entrained in request is sent to be determined as data sending terminal, and will
The corresponding conference terminal of IP address information of entrained data receiver is true in Web conference room and in data sending request
It is set to data receiver.In view of voice data that under teleconference scene, data sending terminal would generally be generated and/or
Video data is sent to other indoor all conference terminals of Web conference, so that other each conference terminals can receive data
The Voice & Video of transmitting terminal side, therefore, optionally, can will be entrained in Web conference room and in data sending request
The corresponding conference terminal of IP address information of data sender is determined as data sending terminal, and data will be removed in Web conference room
All conference terminals outside transmitting terminal are determined as data receiver.
S102, according to the LAN Information determine that data between the data sending terminal and the data receiver pass
Defeated mode, the data transfer mode include local network transport and/or wide area network transmission.
In the present embodiment, for a certain conferencing data to be sent, the quantity of data sending terminal can be 1, data
The quantity of receiving terminal can be one or more.When determining data transfer mode, data sending terminal and data receiver can be based on
The connected LAN Information in end determines whether data sending terminal and data receiver are in same LAN, if data are sent out
Sending end is in same LAN with a certain data receiver, then can be by the number between data sending terminal and the data receiver
It is determined as local network transport according to transmission mode;If data sending terminal is in Different LANs with a certain data receiver,
Data transfer mode between data sending terminal and the data receiver can be determined as wide area network transmission.Herein, it is necessary to refer to
Go out, when data sending terminal is in Different LANs with a certain data receiver by data sending terminal and the data receiver
Data transfer mode between end is determined as wide area network transmission and does not limit data sending terminal with the data receiver in data biography
Wide area network transmission can be only used during defeated, it can also carry out data biography using LAN by the way of wide area network is combined
It is defeated, it is not restricted herein.
It is exemplary, the LAN Information connected based on data sending terminal and data receiver determine data sending terminal with
Whether the definite method being in same LAN can determine a certain data receiver as needed, such as, it can be determined that number
It is whether identical according to the LAN Information that transmitting terminal is connected and the data receiver LAN Information being connected, if identical,
Then judge that data sending terminal is in same LAN with the data receiver;Otherwise, then data sending terminal and the data are judged
Receiving terminal is in different LAN;LAN broadcast can also be sent by data sending terminal, alternatively, being sent out based on data
The LAN Information that sending end is connected determines that data sending terminal is located at the switching equipment in LAN and by the switching equipment
LAN broadcast is sent, will be responded in Web conference room to the LAN broadcast transmitted by data sending terminal or switching equipment
Data receiver be determined as the data receiver being in data sending terminal in same local network, and will be not right in Web conference
The data receiver that LAN broadcast responds is determined as the data receiver being in data sending terminal in Different LANs.
S103, the control data sending terminal send meeting number according to the data transfer mode to the data receiver
According to.
Exemplary, if the data transfer mode between identified data sending terminal and a certain data receiver is office
Domain net transmission, then can control what conferencing data to be sent was connected through by data sending terminal based on Local Area Networt Communication Protocols
Switching equipment is transmitted to the data receiver;If the data between identified data sending terminal and a certain data receiver pass
Defeated mode is wide area network transmission, then data sending terminal can be controlled to be directly based upon wan communication agreement by meeting number to be sent
According to data receiver is sent to, data sending terminal can also be controlled to send out conferencing data to be sent based on Local Area Networt Communication Protocols
The first switching equipment of data sending terminal connection is given, controlling first switching equipment to be based on wide area network transmission agreement will receive
Conferencing data be transmitted to data receiver, alternatively, the meeting that will be received based on wide area network transmission agreement of control switching equipment
The second switching equipment that data forwarding is connected to data receiver simultaneously controls second switching equipment to be assisted based on local network transport
The conferencing data received is transmitted to data receiver by view.
Wherein, transmitted conferencing data can include acoustic information generation of the data sending terminal based on local terminal participant
Voice data and/or data sending terminal based on local terminal participant video information generation video data.If for example, network
The indoor teleconference pattern of meeting is audio conferencing, then the conferencing data that data sending terminal is sent can only include local terminal and meeting
The voice data of personnel;If the indoor teleconference pattern of Web conference is video mode, the meeting of data sending terminal transmission
Data can include the video data of local terminal participant, in addition, it can include the voice data of local terminal participant, herein
It is not restricted.
Herein, it should be pointed out that the data sending terminal and data receiver proposed in the present embodiment is for a certain
Network data to be sent and definite data sending terminal and data receiver, in practical application, a certain conference terminal is identical
Moment or it is interior at different moments can both be used as data sending list, also serve as data receiver, the present embodiment is not limited.
The transmission method for the data that the embodiment of the present invention one provides, obtains Web conference house data transmitting terminal and data connect
The LAN Information that receiving end is connected, determines that the data between data sending terminal and data receiver are passed according to the LAN Information
Defeated mode, control data sending terminal send conferencing data according to the data transfer mode to data receiver.The present embodiment passes through
Using above-mentioned technical proposal, the LAN Information connected based on data sending terminal and data receiver determine data sending terminal with
Data transfer mode between data receiver, can shorten the time delay in data transmission procedure, reduce the packet loss of data transfer
Probability, improves the speed and quality of data transfer in teleconference, improves the usage experience of user.
Embodiment two
Fig. 2 is a kind of flow diagram of the transmission method of data provided by Embodiment 2 of the present invention.The present embodiment is upper
State and optimize on the basis of embodiment, in the present embodiment, " data sending terminal will be determined according to the LAN Information
With the data transfer mode between the data receiver " it is optimized for:Determine to send out with the data according to the LAN Information
Sending end is in the first data receiver in same local network and is in the data sending terminal in non-equal LAN
Second data receiver;First data transmission mode between the data sending terminal and first data receiver is determined
For local network transport, and the second data transfer mode between the data sending terminal and second data receiver is determined
For local network transport and wide area network transmission.
Further, in the first data transmission by between the data sending terminal and first data receiver
Mode is determined as before local network transport, further includes:Determine the first quantity and the described second number of first data receiver
It is more than setting ratio threshold value according to the ratio between the second quantity of receiving terminal;And/or determine the first data receiver connection
LAN in be configured with the Intranet service module for integrating the conferencing data that different pieces of information transmitting terminal is sent.
Further, the control data sending terminal is sent out according to the data transfer mode to the data receiver
Conferencing data is sent, can be optimized for:The data sending terminal is controlled to be based on Local Area Networt Communication Protocols to first data receiver
End sends conferencing data, and sends conferencing data to second data receiver based on wan communication agreement.
Correspondingly, as shown in Fig. 2, the transmission method of data provided by Embodiment 2 of the present invention includes:
S201, obtain the LAN Information that Web conference house data transmitting terminal and data receiver are connected.
S202, the first data for determining to be in the data sending terminal in same local network according to the LAN Information
Receiving terminal and it is in the second data receiver in non-equal LAN with the data sending terminal.
In the present embodiment, the LAN Information that can be connected based on data sending terminal with data receiver determines that data are sent out
Whether sending end is in identical LAN with data receiver, and will be in identical office with data sending terminal in Web conference room
Data receiver in the net of domain is determined as the first data receiver, will be in non-equal office with data sending terminal in Web conference room
Data receiver in the net of domain is determined as the second data receiver.At this time, it is in identical office if there is no with data sending terminal
Data receiver (or there is no the data receiver being in data sending terminal in non-equal LAN) in the net of domain, then can be with
First data receiver is determined as empty (or the second data receiver is determined as sky).
S203, the first quantity for determining first data receiver and second data receiver the second quantity it
Between ratio be more than setting ratio threshold value, and/or, determine to be configured with integration in the LAN of first data receiver connection
The Intranet service module for the conferencing data that different pieces of information transmitting terminal is sent.
First data transmission mode between the data sending terminal and first data receiver, be determined as by S204
Local network transport, and the second data transfer mode between the data sending terminal and second data receiver is determined as
Wide area network transmission.
In the present embodiment, after definite first data receiver and the second data receiver, it can be determined that the first data
Whether the ratio between the first quantity of receiving terminal and the second quantity of the second data receiver is more than setting ratio threshold value, if
It is that the data transfer mode between data sending terminal and the first data receiver is then determined as local network transport, if it is not, then will
Data transfer mode between data sending terminal and the first data receiver is determined as wide area network transmission;Alternatively, judge the first number
Whether Intranet service module is configured with the LAN connected according to receiving terminal, if so, then by data sending terminal and the first data
Data transfer mode between receiving terminal is determined as local network transport, if it is not, then by data sending terminal and the first data receiver
Between data transfer mode be determined as wide area network transmission;It can also judge whether the first quantity of the first data receiver and the
The local that ratio between second quantity of two data receivers is more than setting ratio threshold value and the first data receiver is connected
Configuration Intranet service module in net, if so, then that the data transfer mode between data sending terminal and the first data receiver is true
It is set to local network transport, if it is not, being then determined as the data transfer mode between data sending terminal and the first data receiver extensively
Domain net transmission, is not restricted herein.
Wherein, setting ratio threshold value can flexibly be set as needed, if setting ratio threshold value can be 4:1 or 3:1 etc.
Ratio value;Intranet service module can include the video clothes that can integrate the video data that each data sending terminal of synchronization is sent
Business module and/or the audio service module that the voice data that each data sending terminal of synchronization is sent can be integrated.The present embodiment
In, when judging whether to be configured with Intranet service module in LAN that the first data receiver is connected, preferably judge the office
The corresponding Intranet service module of conferencing data whether is configured with the net of domain, if for example, conferencing data is video data, can
To judge to whether there is Video service module in LAN, if conferencing data is voice data, may determine that in LAN
With the presence or absence of audio service module, if conferencing data includes video data and voice data, may determine that in LAN is
It is no there are video module and audio-frequency module, if so, including then can be determined that the LAN memory that the first data receiver is connected
Net service module, otherwise, then can be determined that in the LAN that the first data receiver is connected and Intranet service module is not present.
S205, the control data sending terminal are based on Local Area Networt Communication Protocols and send meeting to first data receiver
Data, and conferencing data is sent to second data receiver based on wan communication agreement.
Herein, it should be pointed out that be based on wide area network transmission agreement to the second data receiver in control data sending terminal
When sending conferencing data, it is not limited to control data sending terminal and is based only upon wide area network transmission agreement to the transmission meeting of the second data receiver
Data are discussed, in data transmission procedure, can also be transmitted with the use of local network transport agreement, i.e., to the second data receiver
End, which is sent in the data transmission procedure of conferencing data, can both include wide area network transmission, also comprising local network transport, not make herein
Limitation.
The transmission method of data provided by Embodiment 2 of the present invention, is determining the first quantity and the of the first data receiver
Ratio between second quantity of two data receivers is more than setting ratio threshold value, and/or, determine that the first data receiver connects
LAN in when being configured with Intranet service module, by the data transfer mode between data sending terminal and the first data receiver
It is determined as local network transport, can not only shortens the time delay in data transmission procedure, reduce the drop probabilities of data transfer, improves
The speed of data transfer in teleconference;The time repeatedly spent by switch data transmission mode can also be reduced, raising is passed
The quality of data of defeated conferencing data, improves the usage experience of user.
On the basis of above-described embodiment, the transmission method of the data can also include:If the Web conference room
The quantity of interior first data receiver is 1, and the quantity of the second data receiver is 0, then is determined as the data transfer mode
P2P network transmission modes in LAN.In the present embodiment, if two conference terminals are only existed in Web conference room, and this
Two conference terminals are in identical LAN, then can be determined as the data transfer mode between the two conference terminals
P2P network transmission modes in LAN, i.e., what the network data that a certain conference terminal is sent can be connected directly via it
Switching equipment is transmitted to another conference terminal, and conferencing data is integrated without Intranet service module, so as to ensure
While the quality of data of conferencing data, the transmission speed of conferencing data between two conference terminals is further improved.
Embodiment three
The embodiment of the present invention three provides a kind of transmission method of preferable data.This method can be by the transmitting device of data
Perform, wherein, which be able to can be generally integrated in the corresponding server of conference client by software and/or hardware realization.
Fig. 3 is the flow diagram of the transmission method for the preferable data that the embodiment of the present invention three provides, as shown in figure 3, this method bag
Include:
S301, obtain the LAN Information that Web conference house data transmitting terminal and data receiver are connected.
S302, the first data for determining to be in the data sending terminal in same local network according to the LAN Information
Receiving terminal and it is in the second data receiver in non-equal LAN with the data sending terminal.
The second quantity of S303, the first quantity for determining first data receiver and second data receiver.
S304, judge whether that first quantity is 1 and second quantity is 0, if so, then holding S305;If it is not, then hold
Row S306.
S305, the control data sending terminal are given meeting data sending using the P2P network transmissions mode in LAN
First data receiver.
S306, judge corresponding Intranet service mould whether is configured with the LAN of the first data receiver connection
Block, if so, then performing S307;If it is not, then perform S309.
S307, judge whether the ratio between first quantity and second quantity is more than setting ratio threshold value, if
It is then to perform S308;If it is not, then perform S309.
S308, control data sending terminal give meeting data sending to first data receiver using local network transport mode
End, and control data sending terminal to use wide area network transmission mode by meeting data sending to second data receiver.
S309, control data sending terminal give meeting data sending to first data receiver using wide area network transmission mode
End and second data receiver.
The transmission method for the preferable data that the embodiment of the present invention three provides, office is used when only existing two conference terminals
P2P network transmission modes in the net of domain send conferencing data, when the first quantity and the second data receiver of the first data receiver
In being configured with the LAN that ratio between second quantity at end is more than setting ratio threshold value and the first data receiver connects
During net service module, conferencing data is sent to the first data receiver using local network transport mode, data transfer can be shortened
During time delay, reduce the drop probabilities of data transfer, reduce the time spent by switch data transmission mode repeatedly, improve
The speed of data transfer and the usage experience of Quality advance user in teleconference.
Example IV
The embodiment of the present invention four provides a kind of transmitting device of data.The device can be by software and/or hardware realization, generally
It can be integrated in the corresponding server of conference client, can be by performing transmission of the transmission method realization of data to data.
Fig. 4 is the structure diagram of the transmitting device for the data that the embodiment of the present invention four provides, as shown in figure 4, the device includes:
LAN Information acquisition module 401, connects for obtaining Web conference house data transmitting terminal and data receiver
The LAN Information connect;
Transmission mode determining module 402, for determining the data sending terminal and the number according to the LAN Information
According to the data transfer mode between receiving terminal, the data transfer mode includes local network transport and/or wide area network transmission;
Data transmission module 403, for controlling the data sending terminal according to the data transfer mode to the data
Receiving terminal sends conferencing data.
The transmitting device for the data that the embodiment of the present invention four provides, Web conference is obtained by LAN Information acquisition module
The LAN Information that house data transmitting terminal and data receiver are connected, by transmission mode determining module according to the LAN
Information determines the data transfer mode between data sending terminal and data receiver, by data transmission module according to identified
The conferencing data that data sending terminal is sent is transmitted to data receiver by data transfer mode.The present embodiment is by using above-mentioned skill
Art scheme, the LAN Information connected based on data sending terminal and data receiver determine data sending terminal and data receiver
Between data transfer mode, the time delay in data transmission procedure can be shortened, reduce the drop probabilities of data transfer, improved remote
The speed and quality of data transfer in Cheng Huiyi, improve the usage experience of user.
In such scheme, the transmission mode determining module 402 can include:Data receiver determination unit, is used for
According to the LAN Information determine with the data sending terminal be in the first data receiver in same local network and with
The data sending terminal is in the second data receiver in non-equal LAN;First transmission mode determination unit, for inciting somebody to action
First data transmission mode between the data sending terminal and first data receiver is determined as local network transport, and will
The second data transfer mode between the data sending terminal and second data receiver is determined as wide area network transmission.
Further, the transmitting device of data provided in this embodiment can also include:Condition determining unit, in institute
State and the first data transmission mode between the data sending terminal and first data receiver is determined as local network transport
Before, the ratio between the first quantity of first data receiver and the second quantity of second data receiver is determined
More than setting ratio threshold value;And/or determine to be configured with integration different pieces of information in the LAN that first data receiver connects
The Intranet service module for the conferencing data that transmitting terminal is sent.
Further, the transmitting device of data provided in this embodiment can also include:Second transmission mode determination unit,
Quantity for the first data receiver in the Web conference room is 1, when the quantity of the second data receiver is 0, by institute
State the P2P network transmission modes that data transfer mode is determined as in LAN.
In such scheme, the data transmission module 403 can be used for:The data sending terminal is controlled to be based on LAN
Communication protocol sends conferencing data to first data receiver, and is connect based on wan communication agreement to second data
Receiving end sends conferencing data.
In such scheme, the LAN Information acquisition module 401 can include:IP address acquiring unit, for obtaining
Take the IP address information of Web conference house data transmitting terminal and data receiver;LAN Information determination unit, for basis
The IP address information determines the LAN Information that each conference terminal is connected in Web conference room.
Further, the transmitting device of data provided in this embodiment can also include:Request of data receiving module, is used for
Data sending request is received, and the indoor number of Web conference is determined according to the IP address information carried in the data sending request
According to transmitting terminal and data receiver.
The transmitting device for the data that the embodiment of the present invention four provides can perform the data that any embodiment of the present invention provides
Transmission method, possesses the corresponding function module of transmission method and beneficial effect for performing data.It is not detailed in the present embodiment to retouch
The ins and outs stated, reference can be made to the transmission method for the data that any embodiment of the present invention is provided.
Embodiment five
Fig. 5 is a kind of structure diagram for server that the embodiment of the present invention five provides, as shown in figure 5, the server bag
Include processor 50 and memory 51;The quantity of processor 50 can be one or more in server, with a processor in Fig. 5
Exemplified by 50;Processor 50 in server and memory 51, can be connected by bus or other modes, with by total in Fig. 5
Exemplified by line connection.
Memory 51 is used as a kind of computer-readable recording medium, and journey is can perform available for storage software program, computer
Sequence and module, if the corresponding programmed instruction/module of the transmission method of the data in the embodiment of the present invention is (for example, the biography of data
LAN Information acquisition module 401, transmission mode determining module 402 and data transmission module 403 in defeated device).Processor
50 are stored in software program, instruction and module in memory 51 by operation, so that the various functions of execute server should
With and data processing, that is, realize the transmission methods of above-mentioned data.
Memory 51 can mainly include storing program area and storage data field, wherein, storing program area can store operation system
Application program needed for system, at least one function;Storage data field can be stored uses created data etc. according to terminal.This
Outside, memory 51 can include high-speed random access memory, can also include nonvolatile memory, for example, at least a magnetic
Disk storage device, flush memory device or other non-volatile solid state memory parts.In some instances, memory 51 can be further
Including network connection to server can be passed through relative to the remotely located memory of processor 50, these remote memories.On
The example for stating network includes but not limited to internet, intranet, LAN, mobile radio communication and combinations thereof.
Embodiment six
The embodiment of the present invention six also provides a kind of storage medium for including computer executable instructions, and the computer can be held
When being performed by computer processor for performing a kind of transmission method of data, this method includes for row instruction:
Obtain the LAN Information that Web conference house data transmitting terminal and data receiver are connected;
Transmission side data between the data sending terminal and the data receiver is determined according to the LAN Information
Formula, the data transfer mode include local network transport and/or wide area network transmission;
The data sending terminal is controlled to send conferencing data to the data receiver according to the data transfer mode.
Certainly, a kind of storage medium for including computer executable instructions that the embodiment of the present invention is provided, its computer
The method operation that executable instruction is not limited to the described above, can also carry out the biography for the data that any embodiment of the present invention is provided
Relevant operation in transmission method.
By the description above with respect to embodiment, it is apparent to those skilled in the art that, the present invention
It can be realized by software and required common hardware, naturally it is also possible to which by hardware realization, but the former is more in many cases
Good embodiment.Based on such understanding, what technical scheme substantially in other words contributed the prior art
Part can be embodied in the form of software product, which can be stored in computer-readable recording medium
In, floppy disk, read-only storage (Read-Only Memory, ROM), random access memory (Random such as computer
Access Memory, RAM), flash memory (FLASH), hard disk or CD etc., including some instructions are with so that a computer is set
Standby (can be personal computer, server, or network equipment etc.) performs the method described in each embodiment of the present invention.
It is worth noting that, in the embodiment of the transmitting device of above-mentioned data, included unit and module are
Divided according to function logic, but be not limited to above-mentioned division, as long as corresponding function can be realized;Separately
Outside, the specific name of each functional unit is also only to facilitate mutually distinguish, the protection domain being not intended to limit the invention.
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means to combine the embodiment or example particular features, structures, materials, or characteristics described
It is contained at least one embodiment of the present invention or example.In the present specification, schematic expression of the above terms differs
Surely identical embodiment or example are referred to.Moreover, particular features, structures, materials, or characteristics described can be any
Combined in an appropriate manner in one or more embodiments or example.
Note that it above are only presently preferred embodiments of the present invention and institute's application technology principle.It will be appreciated by those skilled in the art that
The invention is not restricted to specific embodiment described here, can carry out for a person skilled in the art various obvious changes,
Readjust and substitute without departing from protection scope of the present invention.Therefore, although being carried out by above example to the present invention
It is described in further detail, but the present invention is not limited only to above example, without departing from the inventive concept, also
It can include other more equivalent embodiments, and the scope of the present invention is determined by scope of the appended claims.
Claims (10)
- A kind of 1. transmission method of data, it is characterised in that including:Obtain the LAN Information that Web conference house data transmitting terminal and data receiver are connected;Data transfer mode between the data sending terminal and the data receiver, institute are determined according to the LAN Information Stating data transfer mode includes local network transport and/or wide area network transmission;The data sending terminal is controlled to send conferencing data to the data receiver according to the data transfer mode.
- 2. according to the method described in claim 1, it is characterized in that, described determine that the data are sent out according to the LAN Information Data transfer mode between sending end and the data receiver, including:According to the LAN Information determine with the data sending terminal be in the first data receiver in same local network with And it is in the second data receiver in non-equal LAN with the data sending terminal;First data transmission mode between the data sending terminal and first data receiver is determined as LAN to pass It is defeated, and the second data transfer mode between the data sending terminal and second data receiver is determined as wide area network and is passed It is defeated.
- 3. according to the method described in claim 2, it is characterized in that, described by the data sending terminal and first data First data transmission mode between receiving terminal is determined as before local network transport, further includes:Determine the ratio between the first quantity of first data receiver and the second quantity of second data receiver More than setting ratio threshold value;And/orDetermine to be configured with the LAN of the first data receiver connection and integrate the meeting number that different pieces of information transmitting terminal is sent According to Intranet service module.
- 4. according to the method described in claim 3, it is characterized in that, further include:If the quantity of the first data receiver is 1 in the Web conference room, the quantity of the second data receiver is 0, then will The data transfer mode is determined as the P2P network transmission modes in LAN.
- 5. according to the method described in claim 2, it is characterized in that, the control data sending terminal is passed according to the data Defeated mode sends conferencing data to the data receiver, including:Control the data sending terminal to be based on Local Area Networt Communication Protocols and send conferencing data, and base to first data receiver In wan communication agreement conferencing data is sent to second data receiver.
- 6. according to the method described in claim 1, it is characterized in that, each conference terminal is connected in the acquisition Web conference room LAN Information, including:Obtain the IP address information of Web conference house data transmitting terminal and data receiver;The LAN Information that each conference terminal is connected in Web conference room is determined according to the IP address information.
- 7. according to the method described in claim 1, it is characterized in that, further include:Data sending request is received, and is determined according to the IP address information carried in the data sending request in Web conference room Data sending terminal and data receiver.
- A kind of 8. transmitting device of data, it is characterised in that including:LAN Information acquisition module, the local connected for obtaining Web conference house data transmitting terminal and data receiver Net information;Transmission mode determining module, for determining the data sending terminal and the data receiver according to the LAN Information Between data transfer mode, the data transfer mode includes local network transport and/or wide area network transmission;Data transmission module, for controlling the data sending terminal to be sent out according to the data transfer mode to the data receiver Send conferencing data.
- 9. a kind of server, it is characterised in that the server includes:One or more processors;Memory, for storing one or more programs,When one or more of programs are performed by one or more of processors so that one or more of processors are real The now transmission method of the data as described in any in claim 1-7.
- 10. a kind of computer-readable recording medium, is stored thereon with computer program, it is characterised in that the program is by processor The transmission method of the data as described in any in claim 1-7 is realized during execution.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711291958.0A CN107995201B (en) | 2017-12-08 | 2017-12-08 | Data transmission method and device, server and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711291958.0A CN107995201B (en) | 2017-12-08 | 2017-12-08 | Data transmission method and device, server and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107995201A true CN107995201A (en) | 2018-05-04 |
CN107995201B CN107995201B (en) | 2020-01-24 |
Family
ID=62036707
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711291958.0A Active CN107995201B (en) | 2017-12-08 | 2017-12-08 | Data transmission method and device, server and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107995201B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110855618A (en) * | 2019-10-15 | 2020-02-28 | 紫光云(南京)数字技术有限公司 | Audio and video service system based on hybrid cloud |
CN113194137A (en) * | 2021-04-28 | 2021-07-30 | 深圳雷曼光电科技股份有限公司 | Data transmission method, device, system and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060294109A1 (en) * | 2005-06-22 | 2006-12-28 | Asustek Computer Inc. | Network device, local area network system and network transmitting method |
CN104660683A (en) * | 2015-01-27 | 2015-05-27 | 广州视源电子科技股份有限公司 | Data transmission control method, device and system |
CN105682006A (en) * | 2016-01-27 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Earphone and method for achieving teleconference based on earphones |
CN106454206A (en) * | 2016-11-28 | 2017-02-22 | 广州视源电子科技股份有限公司 | Conference access method and device |
US20170279700A1 (en) * | 2016-03-25 | 2017-09-28 | Le Holdings(Beijing)Co., Ltd. | Method and apparatus for transmitting data |
-
2017
- 2017-12-08 CN CN201711291958.0A patent/CN107995201B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060294109A1 (en) * | 2005-06-22 | 2006-12-28 | Asustek Computer Inc. | Network device, local area network system and network transmitting method |
CN104660683A (en) * | 2015-01-27 | 2015-05-27 | 广州视源电子科技股份有限公司 | Data transmission control method, device and system |
CN105682006A (en) * | 2016-01-27 | 2016-06-15 | 宇龙计算机通信科技(深圳)有限公司 | Earphone and method for achieving teleconference based on earphones |
US20170279700A1 (en) * | 2016-03-25 | 2017-09-28 | Le Holdings(Beijing)Co., Ltd. | Method and apparatus for transmitting data |
CN106454206A (en) * | 2016-11-28 | 2017-02-22 | 广州视源电子科技股份有限公司 | Conference access method and device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110855618A (en) * | 2019-10-15 | 2020-02-28 | 紫光云(南京)数字技术有限公司 | Audio and video service system based on hybrid cloud |
CN113194137A (en) * | 2021-04-28 | 2021-07-30 | 深圳雷曼光电科技股份有限公司 | Data transmission method, device, system and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107995201B (en) | 2020-01-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104125540B (en) | Multi-party call terminal and the method that one-to-one call is converted to from multi-party call | |
CN108881783B (en) | Method and device for realizing multi-person conversation, computer equipment and storage medium | |
US8724523B2 (en) | Mixed media conferencing | |
DE60107266T2 (en) | END DEVICE, SYSTEM AND METHOD FOR INTERNET AND DATA NETWORK TECHNOLOGY | |
CN106301811A (en) | Realize the method and device of multimedia conferencing | |
CN107911437A (en) | Method, apparatus, electronic equipment and the storage medium of Screen sharing | |
EP1775985B9 (en) | Group call system, terminal and group call control method for rejoining group calls | |
CN104901815B (en) | A kind of group technology of user terminal, Conference server, conference system | |
CN107211029A (en) | Discovery and connection to service controller | |
CN104902111B (en) | A kind of method, apparatus and system established based on Web RTC multi-party call | |
CN105704338B (en) | A kind of sound mixing method, audio mixing equipment and system | |
CN102185856B (en) | Team organizing video method, device and system used in team organizing game | |
CN106063236A (en) | Relay apparatus, audio communication system, audio signal relay method and program | |
CN103780403A (en) | Telephone conference processing method, device and system | |
CN107211483A (en) | A kind of data communications method and terminal | |
ES2387523T3 (en) | Method, system, server and client to transmit media data in bursts | |
CN111629024A (en) | Data transmission control method and device, storage medium and electronic equipment | |
CN103248615A (en) | Implementation method, terminal, server and system of interconnection game | |
US20190089754A1 (en) | System and method for providing audio conference between heterogenious networks | |
US20060224665A1 (en) | Service system, information control apparatus, and information control method | |
CN107995201A (en) | Transmission method and device, the server and storage medium of data | |
EP3595259A1 (en) | Method and apparatus for seamlessly implementing transferring dual-party call into conference | |
CN105847096B (en) | A kind of communication means comprising audio data, apparatus and system | |
KR101567136B1 (en) | Multipoint conference device and switching method from point-to-point communication to multipoint conference | |
CN107302478A (en) | The long-range control method and system of a kind of smart home |
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 |