CN104620669B - A kind of multithread concurrent transmission method, device and system - Google Patents

A kind of multithread concurrent transmission method, device and system Download PDF

Info

Publication number
CN104620669B
CN104620669B CN201380001973.0A CN201380001973A CN104620669B CN 104620669 B CN104620669 B CN 104620669B CN 201380001973 A CN201380001973 A CN 201380001973A CN 104620669 B CN104620669 B CN 104620669B
Authority
CN
China
Prior art keywords
data
terminal
master terminal
media server
network
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.)
Active
Application number
CN201380001973.0A
Other languages
Chinese (zh)
Other versions
CN104620669A (en
Inventor
朱晓荣
朱亚丽
朱洪波
邢平平
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN104620669A publication Critical patent/CN104620669A/en
Application granted granted Critical
Publication of CN104620669B publication Critical patent/CN104620669B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/60Network streaming of media packets
    • H04L65/61Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio
    • H04L65/612Network streaming of media packets for supporting one-way streaming services, e.g. Internet radio for unicast
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/104Peer-to-peer [P2P] networks
    • 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/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • H04L65/764Media network packet handling at the destination 
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/18Self-organising networks, e.g. ad-hoc networks or sensor networks
    • H04W84/20Master-slave selection or change arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

A kind of multithread concurrent transmission method, device and system, the wherein realization of method include:Master terminal establishes connection by first network and media server, and sends service request to media server;Master terminal is after detecting and establishing the slave terminal of connection by the second network and media server, cooperation transmission request is sent to policy server is shunted, and personal area network acquisition is established from the contextual information of terminal with from terminal, the master terminal in personal area network and the contextual information from terminal are sent to shunting policy server;Master terminal and contextual information from terminal shunt decision for executing;The result for shunting decision is used to the corresponding initial data of service request being split as the first data and the second data;Master terminal receives the first data that media server is sent to master terminal, receives the second data from media server forwarded from terminal;Master terminal recombinates the first data and the second data, obtains initial data.Handling capacity end to end and network resource utilization can be improved.

Description

A kind of multithread concurrent transmission method, device and system
Technical field
The present invention relates to field of communication technology, in particular to a kind of multithread concurrent transmission method, device and system.
Background technique
With popularizing for wireless network, terminal can pass through a variety of wireless access technologys and access internet (Internet). At the same time, mobile terminal also experienced the evolution from single mode, bimodulus to multimode, and have more and more wireless interfaces.? On this basis, researcher is dedicated to through different terminals in a variety of access technologies or personal area network of integrating multimode terminal A variety of access technologies make heterogeneous network while carrying a data service, not only provide a user faster transmission rate, but also The reliability that can be improved network resource utilization, business enhances the experience of user.How the key of the technology is according to industry Data are reasonably assigned to different terminals by the ability of business feature, network condition and each terminal, and how in receiving end The data sorting received is restored into original data.Above-mentioned personal area network (Personal Area Network, PAN) be in order to Realize radius of action is small, type of service is abundant, towards special group, wireless seamless connection and the Emerging wireless communications net that proposes Network technology.
Based on SCTP (Stream Control Transmission Protocol, Flow Control Transmission Protocol), multipath is simultaneously Concern of the row transmission by everybody.SCTP allows associated one end to bind multiple IP (Internet Protocol, internet protocols View) address, this binding allows sender to send receiving end by different paths for data, to improve associated reliable Property.But current Stream Control Transmission Protocol only allows to carry out data transmission using a wherein paths.Under normal circumstances, data are only on preferred road It is transmitted on diameter, alternative path can be gone to when the connectivity of prefered path breaks down.Since Stream Control Transmission Protocol only allows while making Carried out data transmission with a wherein paths, therefore Stream Control Transmission Protocol can not make full use of the Internet resources of mulitpath, to mention High handling capacity end to end, thus network resource utilization is lower.
Summary of the invention
The embodiment of the invention provides a kind of multithread concurrent transmission methods, device and system, for improving Internet resources benefit With rate.
On the one hand the embodiment of the present invention provides a kind of multithread concurrent transmission method, including:
Master terminal establishes connection by first network and media server, and sends service request to media server;Institute Stating first network is that the master terminal is connected to the network that the media server uses;
Master terminal is after detecting and establishing the slave terminal of connection by the second network and media server, to shunting decision clothes Device transmission cooperation transmission of being engaged in is requested, and establishes contextual information of the personal area network acquisition from terminal with from terminal, by the personal area network Interior master terminal and the contextual information from terminal are sent to shunting policy server;The master terminal and context from terminal Information shunts decision for executing;The result for shunting decision is for the corresponding initial data of the service request to be split as First data and the second data;Second network is the network that the media server is connected to from terminal;
Master terminal receives the first data that media server is sent to the master terminal, receives described from the next of terminal forwarding From the second data of the media server;
Master terminal recombinates first data and the second data, obtains initial data.
In conjunction with the implementation of one side, in the first optional implementation, first data and the second data Include:For indicating the label of the data segment of first data or the second data in initial data;
The master terminal recombinates first data and the second data, obtains initial data and includes:
The master terminal is ranked up the first data and the second data according to the label, obtains initial data.
In conjunction with the first optional realization of one side, in second of optional implementation, second data packet Also include:
For indicate the second data packet the socket descriptor by path, the address from terminal and master terminal ground Location.
It is optional real at the third in conjunction with second of optional realization of the first or one side of one side or one side In existing mode, the method further includes:
If the master terminal detects new from terminal, the personal area network is added in the new slave terminal by the master terminal And the contextual information of the new slave terminal is obtained, and the contextual information of the new slave terminal is sent to the shunting Policy server.
A kind of multithread concurrent transmission method is provided in terms of the embodiment of the present invention two, including:
Media server receives the service request of master terminal, determines the corresponding initial data of the service request;
Media server receives shunting the shunting decision that issues of policy server as a result, the shunting decision is by described point Stream policy server according to the master terminal contextual information and with the master terminal be in same personal area network from end The contextual information at end determines;
The initial data is split as the first data and the second number according to the result for shunting decision by media server According to;
First data are sent to the master terminal by media server, and second data are sent to from terminal.
In conjunction with the implementation of two aspects, in the first optional implementation, the initial data is split as the Further include after one data and the second data:
Media server adds in first data and the second data respectively for indicating first data or The label of data segment of two data in initial data.
In conjunction with the implementation of two aspects or the first optional implementation of two aspects, in second of optional realization In mode, it is described shunt decision result be the first ratio, first ratio be by master terminal and from terminal respectively place net The transmission bandwidth of network accounts for the ratio of total bandwidth;
The initial data is split as the first data and the second data according to first ratio by media server, described The ratio of the data volume of the data volume of first data and the initial data is equal to first ratio.
A kind of multithread concurrent transmission method is provided in terms of the embodiment of the present invention three, including:
Policy server is shunted to receive the contextual information of master terminal and be in same personal area network with the master terminal Slave terminal contextual information;
It shunts policy server and is in the same domain according to the contextual information of the master terminal and with the master terminal The contextual information of slave terminal in net determines the shunting decision of the corresponding initial data of the service request of master terminal;
It shunts policy server and the result for shunting decision is sent to the media server, indicate the media clothes Business device splits the corresponding initial data of the service request of the master terminal according to the result for shunting decision.
In conjunction with the implementation of three aspects, in the first optional implementation, contextual information includes:It indicates up and down The transmission bandwidth of network where literary counterpart terminal;
The contextual information according to the master terminal and with the master terminal be in same personal area network from end The contextual information at end determines that the shunting decision of the corresponding initial data of the service request of master terminal includes:
Policy server is shunted using the first ratio as the result for shunting decision;First ratio is master terminal and from end The transmission bandwidth of network where end is respective accounts for the ratio of total bandwidth, and the total bandwidth is master terminal and the biography from network where terminal The summation of defeated bandwidth.
A kind of terminal is provided in terms of the embodiment of the present invention four, including:
Connection establishment unit, for making master terminal and media server establish connection by first network;First net Network is that the master terminal is connected to the network that the media server uses;
Service request transmission unit, for after connection establishment unit and media server establish connection, to media services Device sends service request;
Detection unit, for detecting whether there is the slave terminal for establishing connection by the second network and media server;It is described Second network is the network that the media server is connected to from terminal;
Cooperate request transmitting unit, is established for detecting in the detection unit by the second network and media server After the slave terminal of connection, cooperation transmission request is sent to policy server is shunted;
Information acquisition unit, for establishing contextual information of the personal area network acquisition from terminal with from terminal;
Information transmitting unit, for the master terminal in the personal area network and the contextual information from terminal to be sent to shunting Policy server;The master terminal and contextual information from terminal shunt decision for executing;The result for shunting decision For the corresponding initial data of the service request to be split as the first data and the second data;
Data receipt unit, the first data for being sent to the master terminal for receiving media server, receive it is described from The second data from the media server of terminal forwarding;
Data recombination unit obtains initial data for recombinating first data and the second data.
In conjunction with the implementation of four aspects, in the first optional implementation, first data and the second data Include:For indicating the label of the data segment of first data or the second data in initial data;
The data recombination unit obtains original for being ranked up according to the label to the first data and the second data Beginning data.
In conjunction with the first optional realization of four aspects, in second of optional implementation, the data receiver list Received second data packet of member also includes:For indicate the second data packet by path socket descriptor, from The address of terminal and the address of master terminal.
It is optional real at the third in conjunction with second of optional realization of the first or four aspects of four aspects or four aspects In existing mode, the information acquisition unit, if be also used to the detection unit detect it is new from terminal, to described from terminal quilt It is added after the personal area network and obtains the contextual information of the new slave terminal;
The information transmitting unit is also used to the contextual information of the new slave terminal being sent to the shunting decision Server.
A kind of media server is provided in terms of the embodiment of the present invention five, including:
Service request receiving unit, for receiving the service request of master terminal;
Data determination unit, for determining the corresponding original number of the received service request of service request receiving unit According to;
Decision receiving unit, for receive shunt the shunting decision that issues of policy server as a result, the shunting decision Same personal area network is according to the contextual information of the master terminal and with the master terminal by the shunting policy server The contextual information of interior slave terminal determines;
Split cells, it is single for determining the data according to the received result for shunting decision of the decision receiving unit The initial data that member determines is split as the first data and the second data;
Second data are sent to by data transmission unit for first data to be sent to the master terminal From terminal.
In conjunction with the implementation of five aspects, in the first optional implementation, the media server further includes:
Label unit, after initial data is split as the first data and the second data by the split cells, It is added respectively in first data and the second data for indicating first data or the second data in initial data The label of data segment.
In conjunction with the implementation of five aspects or the first optional implementation of five aspects, in second of optional realization In mode, it is described shunt decision result be the first ratio, first ratio be by master terminal and from terminal respectively place net The transmission bandwidth of network accounts for the ratio of total bandwidth;
The split cells, for the initial data to be split as the first data and the second number according to first ratio According to the ratio of the data volume of the data volume and initial data of first data is equal to first ratio.
A kind of shunting policy server is provided in terms of the embodiment of the present invention six, including:
Information receiving unit, for receiving the contextual information of master terminal and being in same personal area network with the master terminal The contextual information of interior slave terminal;
Decision determination unit is in same for the contextual information according to the master terminal and with the master terminal The contextual information of slave terminal in the net of domain determines the shunting decision of the corresponding initial data of the service request of master terminal;
Decision transmission unit indicates the matchmaker for the result for shunting decision to be sent to the media server Body server splits the corresponding initial data of the service request of the master terminal according to the result for shunting decision.
In conjunction with the implementation of six aspects, in the first optional implementation, contextual information includes:It indicates up and down The transmission bandwidth of network where literary counterpart terminal;
The decision determination unit, for using the first ratio as the result for shunting decision;Based on first ratio eventually End and from terminal respectively where the transmission bandwidth of network account for the ratio of total bandwidth, the total bandwidth is master terminal and from terminal place The summation of the transmission bandwidth of network.
A kind of multithread concurrent transmission system is supplied in terms of the embodiment of the present invention seven, including:Media server and shunting Policy server;
Wherein, the media server of any one provided in terms of the media server is the embodiment of the present invention five, point The shunting policy server of any one provided in terms of flowing policy server for the embodiment of the present invention six.
As can be seen from the above technical solutions, the embodiment of the present invention has the following advantages that:It master terminal and is adopted respectively from terminal With different network insertions, master terminal establishes personal area network with from terminal, and master terminal sends out the contextual information of terminal in personal area network It is sent to policy server, shunting decision is carried out by policy server, the result of decision is shunted to original by media server foundation Data packet is split, and is then sent to master terminal by different links, then recover initial data by master terminal.Data can be with Concurrent transmission takes full advantage of the Internet resources that can assist the slave terminal of transmission around master terminal, can be improved and gulp down end to end The amount of spitting and network resource utilization.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly introduced, it should be apparent that, drawings in the following description are only some embodiments of the invention, for this For the those of ordinary skill in field, without any creative labor, it can also be obtained according to these attached drawings His attached drawing.
Fig. 1 is present invention method flow diagram;
Fig. 2 is present invention method flow diagram;
Fig. 3 is present invention method flow diagram;
Fig. 4 is present invention method flow diagram;
Fig. 5 is networking structure of embodiment of the present invention schematic diagram;
Fig. 6 is concurrent server structural schematic diagram of the present invention;
Fig. 7 is the signaling process schematic diagram that the terminal of that embodiment of the invention initiates session;
Fig. 8 is that the embodiment of the present invention restores data method flow diagram;
Fig. 9 is the terminal of that embodiment of the invention structural schematic diagram;
Figure 10 is media server of embodiment of the present invention structural schematic diagram;
Figure 11 is media server of embodiment of the present invention structural schematic diagram;
Figure 12 is that the embodiment of the present invention shunts policy server structural schematic diagram;
Figure 13 is system structure diagram of the embodiment of the present invention;
Figure 14 is the terminal of that embodiment of the invention structural schematic diagram;
Figure 15 is media server of embodiment of the present invention structural schematic diagram;
Figure 16 is that the embodiment of the present invention shunts policy server structural schematic diagram.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention clearer, below in conjunction with attached drawing to the present invention make into It is described in detail to one step, it is clear that the described embodiments are only some of the embodiments of the present invention, rather than whole implementation Example.Based on the embodiments of the present invention, obtained by those of ordinary skill in the art without making creative efforts All other embodiment, shall fall within the protection scope of the present invention.
The embodiment of the invention provides a kind of multithread concurrent transmission method, this embodiment scheme can be in master terminal side reality It is existing, refering to Figure 1, including:
101:Master terminal establishes connection by first network and media server, and sends business to media server and ask It asks;The first network is that the master terminal is connected to the network that the media server uses;
Above-mentioned first network generally can be WLAN (Wireless Local Area Network, WLAN) It can be other networks, the embodiment of the present invention not limits this, and subsequent the second network mentioned is incomplete with first network Identical network uses first network and to distinguish master terminal and be linked into the network that media server uses from terminal Two networks are distinguished.Second network generally can be 3G (The third Generation Mobile Telecommunicatio, G mobile Communication network), 4G network etc., such as:CDMA(Code Division Multiple Access, CDMA access) network, WCDMA (Wideband Code Division Multiple Access, broadband code The access of point multiple access), LTE (Long Term Evolution, long term evolution), GSM (Global System for Mobile Communications, global system for mobile communications), broadband network etc..First network and the specific network type sheet of the second network Inventive embodiments not limit.
102:Master terminal is determined after detecting and establishing the slave terminal of connection by the second network and media server to shunting Plan server sends cooperation transmission request, and establishes contextual information of the personal area network acquisition from terminal with from terminal, will be above-mentioned Master terminal in the net of domain and the contextual information from terminal are sent to shunting policy server;Above-mentioned master terminal and from the upper of terminal Context information shunts decision for executing;The result of above-mentioned shunting decision is for tearing the corresponding initial data of above-mentioned service request open It is divided into the first data and the second data;Second network is the network that the media server is connected to from terminal;
103:Master terminal receives the first data that media server is sent to above-mentioned master terminal, receives above-mentioned from terminal forwarding The second data from above-mentioned media server;
104:Master terminal recombinates above-mentioned first data and the second data, obtains initial data.
Above embodiments, master terminal and different network insertions are respectively adopted from terminal, and master terminal is established with from terminal Domain net, master terminal can send policy server by context server for the contextual information of terminal in personal area network, by Policy server carries out shunting decision, is split according to the result for shunting decision to raw data packets by media server, so It is sent to master terminal by different links afterwards, then initial data is recovered by master terminal.Data can be made full use of with concurrent transmission The Internet resources that the slave terminal of transmission can be assisted around master terminal, can be improved handling capacity end to end and network resource usage Rate.
Optionally, above-mentioned first data and the second data packet contain:For indicating that above-mentioned first data or the second data exist The label of data segment in initial data;Above-mentioned master terminal recombinates above-mentioned first data and the second data, obtains original Data include:Above-mentioned master terminal is ranked up the first data and the second data according to above-mentioned label, obtains initial data.
Further, above-mentioned second data packet also includes:For indicate the second data packet by path socket Descriptor, from the address of terminal and the address of master terminal.
Further, the above method further includes:If the master terminal detects new from terminal, the master terminal will be above-mentioned New slave terminal is added above-mentioned personal area network and obtains the contextual information of above-mentioned new slave terminal, and by above-mentioned new slave terminal Contextual information is sent to above-mentioned shunting policy server.
The embodiment of the invention also provides another multithread concurrent transmission method, the present embodiment method can be in media services Device side is realized, as shown in Fig. 2, including:
201:Media server receives the service request of master terminal, determines the corresponding initial data of above-mentioned service request;
202:Media server receives shunting the shunting decision that issues of policy server as a result, above-mentioned shunting decision is by upper Shunting policy server is stated to be in same personal area network according to the contextual information of above-mentioned master terminal and with above-mentioned master terminal It is determined from the contextual information of terminal;
203:Above-mentioned initial data is split as the first data and according to the result of above-mentioned shunting decision by media server Two data;
Further, above-mentioned initial data is split as the first data and the second data later further includes:Media server It is added respectively in above-mentioned first data and the second data for indicating above-mentioned first data or the second data in initial data Data segment label.
Optionally, if the result of above-mentioned shunting decision is the first ratio, above-mentioned first ratio is by master terminal and from terminal The transmission bandwidth of network accounts for the ratio of total bandwidth where respectively;Media server is according to above-mentioned first ratio by above-mentioned initial data The first data and the second data are split as, the ratio of the data volume of the data volume and above-mentioned initial data of above-mentioned first data is equal to Above-mentioned first ratio.
204:Above-mentioned first data are sent to above-mentioned master terminal by media server, and above-mentioned second data were sent to from end End.
Above embodiments, master terminal and different network insertions are respectively adopted from terminal, and master terminal is established with from terminal Domain net, master terminal can send policy server by context server for the contextual information of terminal in personal area network, by Policy server carries out shunting decision, is split according to the result for shunting decision to raw data packets by media server, so It is sent to master terminal by different links afterwards, then initial data is recovered by master terminal.Data can be made full use of with concurrent transmission The Internet resources that the slave terminal of transmission can be assisted around master terminal, can be improved handling capacity end to end and network resource usage Rate.
The embodiment of the invention also provides another multithread concurrent transmission method, the present embodiment method can shunt decision Server side is realized, as shown in figure 3, including:
301:Policy server is shunted to receive the contextual information of master terminal and be in the same domain with above-mentioned master terminal The contextual information of slave terminal in net;
302:It shunts policy server and is in same according to the contextual information of above-mentioned master terminal and with above-mentioned master terminal The contextual information of slave terminal in personal area network determines the shunting decision of the corresponding initial data of the service request of master terminal;
Contextual information includes:The transmission bandwidth of network where indicating context counterpart terminal;It is above-mentioned according to above-mentioned main end The contextual information at end and the contextual information for the slave terminal being in same personal area network with above-mentioned master terminal determine master terminal The shunting decision of the corresponding initial data of service request include:Policy server is shunted using the first ratio as shunting decision As a result;Above-mentioned first ratio be master terminal and from terminal respectively where the transmission bandwidth of network account for the ratio of total bandwidth, it is above-mentioned always Bandwidth is the summation of master terminal and the transmission bandwidth from network where terminal.
303:The result of above-mentioned shunting decision is sent to above-mentioned media server, indicates above-mentioned media server according to upper The result for stating shunting decision splits the corresponding initial data of the service request of above-mentioned master terminal.
Above embodiments, master terminal and different network insertions are respectively adopted from terminal, and master terminal is established with from terminal Domain net, master terminal can send policy server by context server for the contextual information of terminal in personal area network, by Policy server carries out shunting decision, is split according to the result for shunting decision to raw data packets by media server, so It is sent to master terminal by different links afterwards, then initial data is recovered by master terminal.Data can be made full use of with concurrent transmission The Internet resources that the slave terminal of transmission can be assisted around master terminal, can be improved handling capacity end to end and network resource usage Rate.
Above embodiments, which are set forth, realizes multithread concurrent transmission in master terminal, media server, policy server side Method, subsequent embodiment will come to carry out the method for multithread concurrent transmission in a manner of the system integration in more detail and the act of system Example explanation can also be related to the context server mentioned in previous embodiment, specifically holding from terminal side in illustration Row step.Please refer to Fig. 4, shown in 5.
Business is by taking downloading service as an example in the citing of following embodiment, then service request accordingly can be service downloading Request, it should be noted that the business carried out data transmission is needed to have very much, the citing of downloading service be should not be construed as to this hair Unique restriction of bright embodiment.In the examples below, master terminal uses WLAN access media server, uses 3G net from terminal Network access media server.Detailed process is referring to Fig. 4, networking structure please refers to Fig. 5.
Fig. 5 show the schematic network structure of the multithread concurrent transmission control method based on service adaptation, master terminal Using WLAN access media server, 3G network access media server is used from terminal.It is more than or equal to 1 from the number of terminal A, the upper limit of the number embodiment of the present invention not limits.Master terminal and be fused to personal area network from terminal, from terminal will be respective on Context information is sent to master terminal, and the master terminal in personal area network and the contextual information from terminal are sent to context by master terminal The contextual information received is transmitted to shunting policy server again by server, context server, shunt policy server according to It is determined according to contextual information and shunts decision and be sent to media server, media server carries out the initial data of downloading service It splits, the data a part split is transmitted directly to master terminal, and a part is by being sent to master terminal from terminal.It please refers to Fig. 4, and please refer to fig. 5, specific process includes:
401:Master terminal accesses network by WLAN and media server establishes connection, and master terminal is initiated to media server Service request.
402:Due to type of service difference, required transmission bandwidth is also different, if master terminal discovery single-link (media clothes Link between business device and master terminal) data transmission capabilities cannot fully meet the business demand of master terminal, then master terminal It can wish to carry out cooperation transmission in such a way that its terminal cooperates with to improve data download link rate.Master terminal has detected whether If it find that having, then cooperation transmission request can be sent to policy server is shunted with the equipment (from terminal) of cooperation transmission, And shunting policy server is sent to from the information of terminal by above-mentioned.
403:Shunting policy server will notify from the information of terminal to context server, and context server then can be with Authenticated to from terminal, determine from whether can or be allowed to carry out cooperation transmission, if the authentication is passed, into next step, If this process of failed authentication terminates.
404:Network, such as GSM, WCDMA, CDMA, Huo Zhekuan are accessed from terminal by the access net different from master terminal Band access network etc..Personal area network is also established with master terminal from terminal in this step, and respective contextual information is sent to Master terminal.It reports contextual information that can report using periodically (such as 3min/ times) in this step, can also be reported using updating The mode of (i.e. contextual information occurs to update and just report, and does not occur to update not report then), specifically reports the side of contextual information The formula embodiment of the present invention not limits.
Above-mentioned contextual information may include:The information such as Network status, transmission bandwidth, memory capacity, terminal location.Specifically The foundation that can be needed according to distributing strategy of the information content correspond to determination, the combination of the optional information item of contextual information is non- Chang Duo, the embodiment of the present invention is impossible to exhaust, and the above citing also should not be construed as the restriction to the embodiment of the present invention.
This step can be mainly divided into following two aspects:
1) can be first passed through before accessing to a network from terminal Wifi (WirelessFidelity, Wireless Fidelity), The modes such as Bluetooth (bluetooth) and master terminal establish connection, to form personal area network, and believe to master terminal transmitting context Breath.So that master terminal can interact the contextual information of each terminal in personal area network with context server.
2) master terminal and constituted between terminal and media server can be C/S (Client/Server, client computer/ Server two-layer structure technology) mode, using TCP (Transmission Control Protocol, transmission control protocol) into Row communication.Then master terminal and the link association from terminal are established, makes to constitute concurrent transmission system between media server and terminal System, can there is following processing mode:
Such as:Media server may operate in passive open mode, and media server binding a port is for monitoring The connection request of client, after receiving the connection request that master terminal is sent, the connection initiated for master terminal distributes one temporarily Port, the port for being used in monitoring, which will release, continues to monitor next connection request.Pass through respectively from terminal (WCDMA, CDMA etc.) network insertion is to media server.
If can be realized with father and son's process under Linux (a kind of operating system of free and open source code).Media Server is responsible for receiving master terminal and the connection request from terminal, and master terminal is made to become parent process, it works in well-known Port, subprocess work in transient port.Media server can then become parallel service device, media server and terminal it Between constitute concurrent transmission system.
405:The contextual information of terminal in personal area network is sent to context server by master terminal.It can be understood that Terminal in above-mentioned personal area network includes master terminal and from terminal.It can be 1 any for being also possible to 1 or more from terminal Number, the embodiment of the present invention are not limited from the upper limit of the number of terminal.
406:Context server can establish and manage database, can store the context letter of terminal in the database Breath, contextual information may include:The information such as Network status, transmission bandwidth, memory capacity, terminal location.Context server Contextual information periodically can be obtained from master terminal, be also possible to passively receive contextual information, receiving context Contextual information after information in more new database, and contextual information is sent to shunting policy server.
It is sent to and shunts the contextual information of policy server and can be and directly forward, be also possible to first to judge context Whether information has update, in the contextual information for having the appearance sent in the case where update to update.The former context server Data processing amount is smaller, and the latter can then reduce unwanted contextual information transmitting, is specifically sent up and down using which kind of mode The literary information embodiment of the present invention not limits.
407:Shunting policy server passes through COMPREHENSIVE CALCULATING decision shunting decision according to the contextual information received and will It shunts decision and is sent to media server.
Above-mentioned shunting decision may include three aspects:From the number of terminal, those are from terminal, respectively from link where terminal Data volume.Specifically:
1, it shunts policy server and receiving end and transmitting terminal is determined by COMPREHENSIVE CALCULATING according to the contextual information received The quantity of the TCP of connection (from the quantity of terminal needed for i.e.).When business is of less demanding to time delay, can use less from end End, when business is high to delay requirement, can suitably increase the quantity from terminal, to improve download link rate.
2, it is comprehensive in conjunction with the type of business after shunting policy server receives the data that context server is sent It is total to calculate.If transmission bandwidth needed for business is B, show that current network conditions are suitble to the only terminal of transmission N number of in database, Its transmission bandwidth is B1、B2...BN, then the portfolio that terminal is got is PiIt is as follows:
408:Media server adds according to the shunting decision that policy server provides is shunted by data distribution, and to each stream Add transmission sequence number by different link transmission to master terminal or from terminal.
It is understood that the data being split include two classes, one kind is directly to be sent to master terminal from media server, Another kind of is through being sent to master terminal from terminal.The data received from terminal can be directly forwarded to master terminal, can from terminal Storing data is not needed with the reception and forwarding of only responsible data.
When due to using parallel TCP multilink transmission data, each link uses different networks, network signal, transmission Bandwidth, time delay all may be different, this, which will will lead to data, will not sequentially reach master terminal, i.e.,:It will appear disorder phenomenon.This can give Master terminal recombination data brings difficulty.In order to solve this problem, the embodiment of the invention provides solutions:By the number of transmission According to packet header is added to, referring to figure following table.
1 header field of table
Each field definition is as follows in upper table 1:
ID NUM indicates the label of the data segment of transmission, adds when dividing data segment, this mark is for protecting Demonstrate,proving data segment will not be repeated to transmit by multilink, will not be lost, also bring conveniently to receiving end sequence.
STREAM NUM indicates each link connection socket (socket) descriptor, if being set as this chain when transmission fault-free The value of the connection socket descriptor on road.
IP OF RELAY CLIENT indicates to be somebody's turn to do from IP (Internet Protocol, Internet protocol) address of terminal IP address can allow media server to find the destination address of link, and master terminal can also be allowed to learn the path of data forwarding, with Ensure the correct transmission of data.
IP OF MASTE indicates final purpose address, that is, master terminal address of data transmission.
DATA indicates the data to be transmitted.
409:The data that master terminal receives first are put into caching, are then ranked up to the data in caching, by extensive It appears again initial data.The mode of sequence can be to sort according to above-mentioned ID NUM sequence, provides one more in subsequent implementation regular meeting For the detailed scheme citing for restoring data.
It is understood that in data transmission procedure, if master terminal discovery it is new can be with the slave terminal of cooperation transmission, can To notify to shunt policy server at any time, shunts policy server and then indicate that media server increases new transmission link, lay equal stress on Newly shunted;Scheme can be shunted from terminal refering in the present embodiment by increasing new transmission link.In data transmission procedure, from Terminal detects downlink transfer link, and master terminal detects uplink, when being unsatisfactory for data transmission conditions, can notify to shunt and determine Plan server stops or discharges the link, and re-starts shunting.
Following embodiment will carry out more detailed with regard to technology contents involved in several steps in process shown in earlier figures 4 Explanation.
One, the mistake about master terminal and the concurrent system constituted between terminal and media server in personal area network in 404 Journey please refers to Fig. 6 and show concurrent server structural schematic diagram:Media server works in passively on well-known port Opening mode, after receiving the connection request that client is sent, server connects one transient port of distribution thus, is then used for The port of monitoring, which will be released, continues to monitor next request.This working method is realized with father and son's process under Linux, wherein For above-mentioned well-known port working in parent process, other terminals (master terminal and from terminal) work in subprocess.
Terminal initiates the signaling process of session, refers to Fig. 7, includes the following steps:
701:Personal area network initialization.
Personal area network initializes:Master terminal in personal area network and registered from terminal to media server, from terminal and The master terminal of domain net establishes connection and transmits respective contextual information etc. to it.
702:Master terminal in personal area network initiates a session request.The shunting decision that the session request is sent to as main terminal service Server triggers heterogeneous network converged decision.The heterogeneous network converged result of decision can be sent out in subsequent shunting decision and data The stage is sent to have concrete embodiment.
703:It shunts policy server and obtains contextual information from context server, and according to the business of session request spy Sign, terminal device information, network information etc. make the shunting result of decision.
Two, restore initial data about master terminal, the embodiment of the present invention gives a realization citing:
It shunts the result of decision and implementation is responsible for by media server.Media server is handled data according to decision is shunted And it is distributed to different networks, finally sorted the data inside personal area network by master terminal recombination.Receipts are flanked in main equipment It to after data, needs to be ranked up the data received, the process of sequence can be as follows:The data that master terminal receives are first It is put into the caching of program setting, is overflowed if buffer area has been expired, pause receives data;If buffer area is less than, by what is received Data are deposited in caching.Initial data is finally recovered according to sort algorithm.Master terminal restores the detailed process of data, please join Fig. 8 is read, may include steps of:
801:Master terminal receives data.It is understood that here received data can be it is direct from media server It sends, can also be forwarded from terminal.
802:Check whether the caching of program setting has expired, if YES, i.e.,:Caching has been expired, then blocking links, stops number According to reception, 801 are entered back into;Otherwise enter 803.
803:Received data are put into caching.
804:It unpacks to received data, obtains data segment labeling ID NUM, determined the need for according to ID NUM Disk is written, specifically determines whether that the mode that disk is written is as follows:If the ID NUM of the data and NUM being currently received in disk ID is continuous, then is stored in disk after the data received being unpacked;If disk can not be written in the data being currently received, by data It remains in caching, waiting is written in disk again when can be written into, moreover enters 801.
It is understood that initial data has just been restored in disk after disk is written in total data.
805:After disk is written in data, judge whether the data of the write-in are the data packet terminated, it should if so, closing Data packet respective links, into 806;If it is not, the data packet cached in interior above-mentioned write-in disk is then deleted, subsequently into 801.
806:Determine whether link all closes, if it is, determining the data transfer ends, this process terminates.If not, Then enter 801.
The embodiment of the invention provides a kind of terminals, as shown in figure 9, including:
Connection establishment unit 901, for making master terminal and media server establish connection by first network;Described first Network is that the master terminal is connected to the network that the media server uses;
Service request transmission unit 902, for after connection establishment unit 901 and media server establish connection, to matchmaker Body server sends service request;
Detection unit 903, for detecting whether there is the slave terminal for establishing connection by the second network and media server;
Cooperate request transmitting unit 904, for detecting in above-mentioned detection unit 903 through the second network and media services After device establishes the slave terminal of connection, cooperation transmission request is sent to policy server is shunted;Second network is described from end End is connected to the network of the media server;
Information acquisition unit 905, for establishing contextual information of the personal area network acquisition from terminal with from terminal;
Information transmitting unit 906, for the master terminal in above-mentioned personal area network and the contextual information from terminal to be sent to Shunt policy server;Above-mentioned master terminal and contextual information from terminal shunt decision for executing;Above-mentioned shunting decision As a result for the corresponding initial data of above-mentioned service request to be split as the first data and the second data;
Data receipt unit 907, the first data for being sent to above-mentioned master terminal for receiving media server receive above-mentioned The second data from above-mentioned media server forwarded from terminal;
Data recombination unit 908 obtains initial data for recombinating above-mentioned first data and the second data.
Above embodiments, master terminal and different network insertions are respectively adopted from terminal, and master terminal is established with from terminal Domain net, master terminal can send policy server by context server for the contextual information of terminal in personal area network, by Policy server carries out shunting decision, is split according to the result for shunting decision to raw data packets by media server, so It is sent to master terminal by different links afterwards, then initial data is recovered by master terminal.Data can be made full use of with concurrent transmission The Internet resources that the slave terminal of transmission can be assisted around master terminal, can be improved handling capacity end to end and network resource usage Rate.
Optionally, above-mentioned first data and the second data packet contain:For indicating that above-mentioned first data or the second data exist The label of data segment in initial data;
Above-mentioned data recombination unit 908 is obtained for being ranked up according to above-mentioned label to the first data and the second data Initial data.
Optionally, received above-mentioned second data packet of above-mentioned data receipt unit 907 also includes:For indicating the second number According to packet the socket descriptor by path, the address from terminal and master terminal address.
Optionally, above- mentioned information acquiring unit 905, if be also used to above-mentioned detection unit 903 detect it is new from terminal, to It is above-mentioned that the contextual information that above-mentioned new slave terminal is obtained after above-mentioned personal area network is added into from terminal;
Above- mentioned information transmission unit 906 is also used to the contextual information of above-mentioned new slave terminal being sent to above-mentioned shunting Policy server.
The embodiment of the invention also provides a kind of media servers, as shown in Figure 10, including:
Service request receiving unit 1001, for receiving the service request of master terminal;
Data determination unit 1002, for determining that the received service request of above-mentioned service request receiving unit 1001 is corresponding Initial data;
Decision receiving unit 1003, for receive shunt the shunting decision that issues of policy server as a result, above-mentioned shunting Decision is in same by above-mentioned shunting policy server according to the contextual information of above-mentioned master terminal and with above-mentioned master terminal The contextual information of slave terminal in the net of domain determines;
Split cells 1004, for according to the received result for shunting decision of above-mentioned decision receiving unit 1003 by above-mentioned number The first data and the second data are split as according to the initial data that determination unit 1002 determines;
Data transmission unit 1005 sends out above-mentioned second data for above-mentioned first data to be sent to above-mentioned master terminal It gives from terminal.
Above embodiments, master terminal and different network insertions are respectively adopted from terminal, and master terminal is established with from terminal Domain net, master terminal can send policy server by context server for the contextual information of terminal in personal area network, by Policy server carries out shunting decision, is split according to the result for shunting decision to raw data packets by media server, so It is sent to master terminal by different links afterwards, then initial data is recovered by master terminal.Data can be made full use of with concurrent transmission The Internet resources that the slave terminal of transmission can be assisted around master terminal, can be improved handling capacity end to end and network resource usage Rate.
Further, as shown in figure 11, above-mentioned media server further includes:
Label unit 1101, for initial data to be split as the first data and the second data by above-mentioned split cells 1004 Later.It is added respectively in above-mentioned first data and the second data for indicating above-mentioned first data or the second data in original number The label of data segment in.
Optionally, the result of above-mentioned shunting decision be the first ratio, above-mentioned first ratio be by master terminal and from terminal it is each The ratio of total bandwidth is accounted for from the transmission bandwidth of place network;
Above-mentioned split cells 1004, for above-mentioned initial data to be split as the first data and according to above-mentioned first ratio The ratio of two data, the data volume of the data volume and above-mentioned initial data of above-mentioned first data is equal to above-mentioned first ratio.
The embodiment of the invention also provides a kind of shunting policy servers, as shown in figure 12, including:
Information receiving unit 1201, for receiving the contextual information of master terminal and being in same with above-mentioned master terminal The contextual information of slave terminal in the net of domain;
Decision determination unit 1202 is in same for the contextual information according to above-mentioned master terminal and with above-mentioned master terminal The contextual information of slave terminal in one personal area network determines the shunting decision of the corresponding initial data of the service request of master terminal;
Decision transmission unit 1203, for the result of above-mentioned shunting decision to be sent to above-mentioned media server, in instruction Media server is stated to tear the corresponding initial data of the service request of above-mentioned master terminal open according to the result of above-mentioned shunting decision Point.
Above embodiments, master terminal and different network insertions are respectively adopted from terminal, and master terminal is established with from terminal Domain net, master terminal can send policy server by context server for the contextual information of terminal in personal area network, by Policy server carries out shunting decision, is split according to the result for shunting decision to raw data packets by media server, so It is sent to master terminal by different links afterwards, then initial data is recovered by master terminal.Data can be made full use of with concurrent transmission The Internet resources that the slave terminal of transmission can be assisted around master terminal, can be improved handling capacity end to end and network resource usage Rate.
Optionally, contextual information includes:The transmission bandwidth of network where indicating context counterpart terminal;
Above-mentioned decision determination unit 1202, for using the first ratio as the result for shunting decision;Above-mentioned first ratio is Master terminal and from terminal respectively where the transmission bandwidth of network account for the ratio of total bandwidth, above-mentioned total bandwidth is master terminal and from terminal The summation of the transmission bandwidth of place network.
The embodiment of the invention also provides a kind of multithread concurrent transmission systems, as shown in figure 13, including:Media server 1301 and shunt policy server 1302;
Wherein, above-mentioned media server is the media server of any one provided in an embodiment of the present invention, shunts decision Server is the shunting policy server of any one provided in an embodiment of the present invention.
Above embodiments, master terminal and different network insertions are respectively adopted from terminal, and master terminal is established with from terminal Domain net, master terminal can send policy server by context server for the contextual information of terminal in personal area network, by Policy server carries out shunting decision, is split according to the result for shunting decision to raw data packets by media server, so It is sent to master terminal by different links afterwards, then initial data is recovered by master terminal.Data can be made full use of with concurrent transmission The Internet resources that the slave terminal of transmission can be assisted around master terminal, can be improved handling capacity end to end and network resource usage Rate.
The embodiment of the invention also provides a kind of terminal, which uses as master terminal, as shown in figure 14, including:It connects Receive device 1401, transmitter 1402 and processor 1403;
Wherein, processor 1403, for after master terminal establishes connection by first network and media server, instruction to be sent out Emitter 1402 simultaneously sends service request to media server;The first network is that the master terminal is connected to the media services The network that device uses;After master terminal detects and establishes the slave terminal of connection by the second network and media server, instruction hair Emitter 1402 sends cooperation transmission request to policy server is shunted, and obtains above and below terminal with personal area network is established from terminal Master terminal in the personal area network and the contextual information from terminal are sent to shunting policy server by literary information;The master Terminal and contextual information from terminal shunt decision for executing;The result for shunting decision is used for the service request Corresponding initial data is split as the first data and the second data;Second network is connected to the media from terminal to be described The network of server;Media server is received by receiver 1401 and is sent to the first data of the master terminal, described in reception The second data from the media server forwarded from terminal;The processor 1403 counts first data and second According to being recombinated, initial data is obtained.
Above embodiments, master terminal and different network insertions are respectively adopted from terminal, and master terminal is established with from terminal Domain net, master terminal can send policy server by context server for the contextual information of terminal in personal area network, by Policy server carries out shunting decision, is split according to the result for shunting decision to raw data packets by media server, so It is sent to master terminal by different links afterwards, then initial data is recovered by master terminal.Data can be made full use of with concurrent transmission The Internet resources that the slave terminal of transmission can be assisted around master terminal, can be improved handling capacity end to end and network resource usage Rate.
Optionally, first data and the second data packet contain:For indicating that first data or the second data exist The label of data segment in initial data;
The processor 1403 recombinates first data and the second data, obtains initial data and includes:It is described Processor 1403 is ranked up the first data and the second data according to the label, obtains initial data.
Optionally, second data packet also includes:For indicate the second data packet retouched by the socket in path State symbol, from the address of terminal and the address of master terminal.
Optionally, the processor 1403, if be also used to the master terminal detect it is new from terminal, by it is described it is new from Terminal is added the personal area network and obtains the contextual information of the new slave terminal, and indicates that the transmitter 1402 will be described The contextual information of new slave terminal is sent to the shunting policy server.
The embodiment of the invention also provides a kind of media servers, as shown in figure 15, including:Receiver 1501, transmitter 1502 and processor 1503;
Wherein, processor 1503 for receiving the service request of master terminal by receiver 1501, and determine the business Request corresponding initial data;Received by receiver 1501 shunt the shunting decision that issues of policy server as a result, described It shunts decision and is in same by the shunting policy server according to the contextual information of the master terminal and with the master terminal The contextual information of slave terminal in one personal area network determines;
The initial data is split as the first data and the according to the result for shunting decision by the processor 1503 Two data;It indicates that first data are sent to the master terminal by transmitter 1502, second data was sent to from end End.
Above embodiments, master terminal and different network insertions are respectively adopted from terminal, and master terminal is established with from terminal Domain net, master terminal can send policy server by context server for the contextual information of terminal in personal area network, by Policy server carries out shunting decision, is split according to the result for shunting decision to raw data packets by media server, so It is sent to master terminal by different links afterwards, then initial data is recovered by master terminal.Data can be made full use of with concurrent transmission The Internet resources that the slave terminal of transmission can be assisted around master terminal, can be improved handling capacity end to end and network resource usage Rate.
Further, the processor 1503 is also used to the initial data being split as the first data and the second data Later, it is added respectively in first data and the second data for indicating first data or the second data in original number The label of data segment in.
Optionally, it is described shunt decision result be the first ratio, first ratio be by master terminal and from terminal it is each The ratio of total bandwidth is accounted for from the transmission bandwidth of place network;
The processor 1503, specifically for according to first ratio by the initial data be split as the first data and The ratio of second data, the data volume of the data volume and initial data of first data is equal to first ratio.
The embodiment of the invention also provides a kind of shunting policy servers, as shown in figure 16, including:Receiver 1601, hair Emitter 1602 and processor 1603;
Wherein, the processor 1603, for by receiver 1601 receive master terminal contextual information and with institute State the contextual information for the slave terminal that master terminal is in same personal area network;The processor 1603 is according to the upper of the master terminal Context information and the contextual information for the slave terminal being in same personal area network with the master terminal determine the business of master terminal Request the shunting decision of corresponding initial data;It is described to indicate that the result for shunting decision is sent to by the transmitter 1602 Media server indicates that the media server is corresponding according to service request of the result for shunting decision to the master terminal Initial data split.
Above embodiments, master terminal and different network insertions are respectively adopted from terminal, and master terminal is established with from terminal Domain net, master terminal can send policy server by context server for the contextual information of terminal in personal area network, by Policy server carries out shunting decision, is split according to the result for shunting decision to raw data packets by media server, so It is sent to master terminal by different links afterwards, then initial data is recovered by master terminal.Data can be made full use of with concurrent transmission The Internet resources that the slave terminal of transmission can be assisted around master terminal, can be improved handling capacity end to end and network resource usage Rate.
Optionally, contextual information includes:The transmission bandwidth of network where indicating context counterpart terminal;
The processor 1603 is in the same domain according to the contextual information of the master terminal and with the master terminal The contextual information of slave terminal in net determines that the shunting decision of the corresponding initial data of the service request of master terminal includes:It is described Processor 1603 is using the first ratio as the result for shunting decision;First ratio be master terminal and from terminal respectively place net The transmission bandwidth of network accounts for the ratio of total bandwidth, and the total bandwidth is the total of master terminal and the transmission bandwidth from network where terminal With.
It is worth noting that, above-mentioned apparatus is only divided according to the functional logic, but it is not limited to above-mentioned draw Point, as long as corresponding functions can be realized;In addition, the specific name of each functional unit is also only to facilitate mutual area Point, the protection scope being not intended to restrict the invention.
In addition, those of ordinary skill in the art will appreciate that realizing all or part of the steps in above-mentioned each method embodiment It is that relevant hardware can be instructed to complete by program, corresponding program can store in a kind of computer readable storage medium In, storage medium mentioned above can be read-only memory, disk or CD etc..
The above is only the preferable specific embodiments of the present invention, but scope of protection of the present invention is not limited thereto, any Those familiar with the art the variation that can readily occur in or replaces in the technical scope that the embodiment of the present invention discloses It changes, should be covered by the protection scope of the present invention.Therefore, protection scope of the present invention should be with the protection model of claim Subject to enclosing.

Claims (19)

1. a kind of multithread concurrent transmission method, which is characterized in that including:
Master terminal establishes connection by first network and media server, and sends service request to media server;Described One network is that the master terminal is connected to the network that the media server uses;
Master terminal is after detecting and establishing the slave terminal of connection by the second network and media server, to shunting policy server Cooperation transmission request is sent, and is obtained with personal area network is established from terminal from the contextual information of terminal, it will be in the personal area network Master terminal and contextual information from terminal are sent to shunting policy server;The master terminal and contextual information from terminal Decision is shunted for executing;The result for shunting decision is used to the corresponding initial data of the service request being split as first Data and the second data;Second network is the network that the media server is connected to from terminal;
Master terminal receives the first data that media server is sent to the master terminal, and reception is described to come from institute from terminal forwarding State the second data of media server;
Master terminal recombinates first data and the second data, obtains initial data.
2. method according to claim 1, which is characterized in that first data and the second data packet contain:For indicating The label of the data segment of first data or the second data in initial data;
The master terminal recombinates first data and the second data, obtains initial data and includes:
The master terminal is ranked up the first data and the second data according to the label, obtains initial data.
3. method according to claim 2, which is characterized in that second data packet also includes:
For indicate the second data packet the socket descriptor by path, the address from terminal and master terminal address.
4. according to claim 1 to 3 any one the methods, which is characterized in that further include:
If the master terminal detects new from terminal, the new slave terminal is added the personal area network and obtained by the master terminal The contextual information of the new slave terminal is taken, and the contextual information of the new slave terminal is sent to the shunting decision Server.
5. a kind of multithread concurrent transmission method, which is characterized in that including:
Media server receives the service request of master terminal, determines the corresponding initial data of the service request;
Media server receive shunt the shuntings decision that issues of policy server as a result, the shunting decision is determined by described shunt Plan server is in the slave terminal in same personal area network according to the contextual information of the master terminal and with the master terminal Contextual information determines;
The initial data is split as the first data and the second data according to the result for shunting decision by media server;
First data are sent to the master terminal by media server, and second data are sent to from terminal.
6. method according to claim 5, which is characterized in that the initial data is split as the first data and the second data Further include later:
Media server adds in first data and the second data respectively for indicating first data or the second number According to the label of the data segment in initial data.
7. according to claim 5 or 6 the methods, which is characterized in that the result for shunting decision is the first ratio, described the One ratio is to account for the ratio of total bandwidth by master terminal and from the transmission bandwidth of the respective place network of terminal;
The initial data is split as the first data and the second data according to first ratio by media server, and described first The ratio of the data volume of the data volume of data and the initial data is equal to first ratio.
8. a kind of multithread concurrent transmission method, which is characterized in that including:
Shunt policy server receive master terminal contextual information and with the master terminal be in same personal area network from The contextual information of terminal;
Policy server is shunted to be in same personal area network according to the contextual information of the master terminal and with the master terminal The contextual information of slave terminal determine the shunting decision of the corresponding initial data of the service request of master terminal;
Shunt policy server by it is described shunt decision result be sent to media server, indicate the media server according to The result for shunting decision splits the corresponding initial data of the service request of the master terminal.
9. method according to claim 8, which is characterized in that contextual information includes:Indicate context counterpart terminal place The transmission bandwidth of network;
It is described to be in the slave terminal in same personal area network according to the contextual information of the master terminal and with the master terminal Contextual information determines that the shunting decision of the corresponding initial data of the service request of master terminal includes:
Policy server is shunted using the first ratio as the result for shunting decision;First ratio is master terminal and each from terminal The ratio of total bandwidth is accounted for from the transmission bandwidth of place network, the total bandwidth is master terminal and the transmission belt from network where terminal Wide summation.
10. a kind of terminal, which is characterized in that including:
Connection establishment unit, for making master terminal and media server establish connection by first network;The first network is The master terminal is connected to the network that the media server uses;
Service request transmission unit, for being sent out to media server after connection establishment unit and media server establish connection Send service request;
Detection unit, for detecting whether there is the slave terminal for establishing connection by the second network and media server;Described second Network is the network that the media server is connected to from terminal;
Cooperate request transmitting unit, establishes connection by the second network and media server for detecting in the detection unit Slave terminal after, to shunt policy server send cooperation transmission request;
Information acquisition unit, for establishing contextual information of the personal area network acquisition from terminal with from terminal;
Information transmitting unit, for the master terminal in the personal area network and the contextual information from terminal to be sent to shunting decision Server;The master terminal and contextual information from terminal shunt decision for executing;The result for shunting decision is used for The corresponding initial data of the service request is split as the first data and the second data;
Data receipt unit, the first data for being sent to the master terminal for receiving media server receive described from terminal The second data from the media server of forwarding;
Data recombination unit obtains initial data for recombinating first data and the second data.
11. terminal according to claim 10, which is characterized in that first data and the second data packet contain:For table Show the label of the data segment of first data or the second data in initial data;
The data recombination unit obtains original number for being ranked up according to the label to the first data and the second data According to.
12. terminal according to claim 11, which is characterized in that
Received second data packet of data receipt unit also includes:For indicating the second data packet institute by path Socket descriptor, from the address of terminal and the address of master terminal.
13. terminal described in 0 to 12 any one according to claim 1, which is characterized in that
The information acquisition unit is detected new from terminal, is added into described from terminal if being also used to the detection unit The contextual information of the new slave terminal is obtained after the personal area network;
The information transmitting unit is also used to the contextual information of the new slave terminal being sent to the shunting decision service Device.
14. a kind of media server, which is characterized in that including:
Service request receiving unit, for receiving the service request of master terminal;
Data determination unit, for determining the corresponding initial data of the received service request of service request receiving unit;
Decision receiving unit, for receiving shunting the shunting decision that issues of policy server as a result, the shunting decision is by institute Shunting policy server is stated to be in same personal area network according to the contextual information of the master terminal and with the master terminal It is determined from the contextual information of terminal;
Split cells, for according to the decision receiving unit received result for shunting decision that the data determination unit is true Fixed initial data is split as the first data and the second data;
Second data are sent to from end by data transmission unit for first data to be sent to the master terminal End.
15. 4 media server according to claim 1, which is characterized in that further include:
Label unit, after initial data is split as the first data and the second data by the split cells, described The data for indicating first data or the second data in initial data are added in first data and the second data respectively The label of section.
16. 4 or 15 media server according to claim 1, which is characterized in that the result for shunting decision is the first ratio Example, first ratio are to account for the ratio of total bandwidth by master terminal and from the transmission bandwidth of the respective place network of terminal;
The split cells, for the initial data to be split as the first data and the second data according to first ratio, The ratio of the data volume of the data volume and initial data of first data is equal to first ratio.
17. a kind of shunting policy server, which is characterized in that including:
Information receiving unit, for receiving the contextual information of master terminal and being in same personal area network with the master terminal From the contextual information of terminal;
Decision determination unit is in same personal area network for the contextual information according to the master terminal and with the master terminal The contextual information of interior slave terminal determines the shunting decision of the corresponding initial data of the service request of master terminal;
Decision transmission unit indicates the media server for the result for shunting decision to be sent to media server The corresponding initial data of the service request of the master terminal is split according to the result for shunting decision.
18. the 7 shunting policy server according to claim 1, which is characterized in that contextual information includes:Indicate context The transmission bandwidth of network where counterpart terminal;
The decision determination unit, for using the first ratio as the result for shunting decision;First ratio be master terminal and From terminal respectively where the transmission bandwidth of network account for the ratio of total bandwidth, the total bandwidth is master terminal and from network where terminal Transmission bandwidth summation.
19. a kind of multithread concurrent transmission system, including:Media server and shunting policy server, which is characterized in that
The media server is the media server of claim 14~16 any one, shunts policy server and wants for right Seek 17 or 18 shunting policy server.
CN201380001973.0A 2013-09-09 2013-09-09 A kind of multithread concurrent transmission method, device and system Active CN104620669B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2013/083125 WO2015032087A1 (en) 2013-09-09 2013-09-09 Method, device, and system for multi-stream multiplexing

Publications (2)

Publication Number Publication Date
CN104620669A CN104620669A (en) 2015-05-13
CN104620669B true CN104620669B (en) 2018-11-30

Family

ID=52627723

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380001973.0A Active CN104620669B (en) 2013-09-09 2013-09-09 A kind of multithread concurrent transmission method, device and system

Country Status (2)

Country Link
CN (1) CN104620669B (en)
WO (1) WO2015032087A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108011822A (en) * 2016-10-31 2018-05-08 南宁富桂精密工业有限公司 Multimedia data stream transmission optimization method and SDN controllers
CN110191052B (en) * 2019-04-23 2021-05-14 北京交通大学 Cross-protocol network transmission method and system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625417A (en) * 2011-01-26 2012-08-01 中兴通讯股份有限公司 System and method for realizing multi-system wireless terminal binding
CN102685921A (en) * 2011-03-11 2012-09-19 中兴通讯股份有限公司 Dual-channel communication method and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196591A (en) * 2010-03-05 2011-09-21 中兴通讯股份有限公司 Mobile terminal and data parallel transmission method thereof
US8780965B2 (en) * 2010-07-30 2014-07-15 Qualcomm Incorporated Coordinating data calls on a mobile device with multiple modems
CN102833813B (en) * 2011-06-14 2015-11-25 华为技术有限公司 Streamed data is to the method for WLAN (wireless local area network), terminal and the network equipment
CN103188761A (en) * 2011-12-29 2013-07-03 中兴通讯股份有限公司 Method and device of multi-network access
CN102665142B (en) * 2012-04-05 2014-05-14 浙江大学 Wireless audio and video parallel transmission method with terminal equalization rate

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625417A (en) * 2011-01-26 2012-08-01 中兴通讯股份有限公司 System and method for realizing multi-system wireless terminal binding
CN102685921A (en) * 2011-03-11 2012-09-19 中兴通讯股份有限公司 Dual-channel communication method and system

Also Published As

Publication number Publication date
WO2015032087A1 (en) 2015-03-12
CN104620669A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
CN106936709B (en) Remote service access path control method and relevant device
WO2019233179A1 (en) Data message detection method, device and system
CN103248452B (en) Data sending device, data receiving device, terminal and data transmission method
CN109314662A (en) Data transmission method and device
CN106059650A (en) Air-ground integrated network architecture and data transmission method based on SDN and NFV technology
CN104717259B (en) The multi-path data Transmission system and method for distributed transfer server network assistance
CN109891989A (en) Flow to the reflection mapping of radio bearer
CN110178342A (en) The scalable application level of SDN network monitors
CN101997826A (en) Routing methods of control net element, forwarding net element and internet protocol network
US20020057691A1 (en) Label switching router
CN105939297A (en) TCP message reassembling method and TCP message reassembling device
CN102594672A (en) Method and system applicable to high-quality internet communication in low-reliability network environment
CN110324907A (en) A kind of service bearer configuration method and device
CN109526020A (en) Data transmission method and Related product
US10901720B1 (en) Simultaneous operation of a networked device using multiple disparate networks
CN109889312A (en) Multilink data transmission method, device and computer readable storage medium
CN104620669B (en) A kind of multithread concurrent transmission method, device and system
JP4121298B2 (en) Communication terminal device and communication control method
CN105868982B (en) A kind of improved mobile Internet payment system and its control method
CN108124504A (en) TFO transmission methods, proxy server and system
CN102387062B (en) Method for improving transmission rate of peer-to-peer (p2p) node in crossing network by dynamic bridging contact
CN201657020U (en) Mobile SSL VPN system based on remote Socks 5 agent
CN114348049B (en) Multi-radio redundancy control method and device for CTCS (China train control System)
CN106230810B (en) Sound state flow analysis method
CN110121193A (en) A kind of inter-layer data transmission method, device, medium and equipment

Legal Events

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