CN106209662B - A kind of method of high concurrent dynamic rate data transmission in network real-time interactive system - Google Patents

A kind of method of high concurrent dynamic rate data transmission in network real-time interactive system Download PDF

Info

Publication number
CN106209662B
CN106209662B CN201610443924.8A CN201610443924A CN106209662B CN 106209662 B CN106209662 B CN 106209662B CN 201610443924 A CN201610443924 A CN 201610443924A CN 106209662 B CN106209662 B CN 106209662B
Authority
CN
China
Prior art keywords
data
server
page
transmission
document
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
CN201610443924.8A
Other languages
Chinese (zh)
Other versions
CN106209662A (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.)
Zhejiang Wanpeng Digital Intelligence Technology Co ltd
Original Assignee
Zhejiang Wanpeng Education Technology 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 Zhejiang Wanpeng Education Technology Co Ltd filed Critical Zhejiang Wanpeng Education Technology Co Ltd
Priority to CN201610443924.8A priority Critical patent/CN106209662B/en
Publication of CN106209662A publication Critical patent/CN106209662A/en
Application granted granted Critical
Publication of CN106209662B publication Critical patent/CN106209662B/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
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/22Traffic shaping
    • H04L47/225Determination of shaping rate, e.g. using a moving window
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses the methods that high concurrent dynamic rate data in a kind of network real-time interactive system are transmitted.The present invention splits strategy according to data first and splits to document, to form document, page, wrap substantially, the transmission hierarchical structure of data packet.It secondly is first with client PPT document public page and page 1 when document is uploaded.Last server end needs the number of users transmitted according to rule-statistical server documentation after receiving to the request of data of client.The present invention realize high concurrent, limited bandwidth and it is unstable in the case where, dynamic speed adjustment, maximize use network bandwidth transmission method.

Description

A kind of method of high concurrent dynamic rate data transmission in network real-time interactive system
Technical field
The invention belongs to computer distribution type field of data transmission, it is dynamic to be related to high concurrent in a kind of network real-time interactive system The method of state rate data transfer, realize high concurrent, limited bandwidth and it is unstable in the case where, dynamic speed adjustment, maximization Use the transmission method of network bandwidth.
Background technique
It is unstable in set relatively stable and fluctuation in large-scale online interaction platform (such as Distributed videoconferencing system) Under fixed network bandwidth conditions, energy high-efficiency stable supports the data communication between the client and server of ten thousand people's ranks, It is a difficult point and a bottleneck problem, while is also an important indicator of quality good or not between difference online interaction platform.
High concurrent data in real-time interactive system are transmitted, conventional way is solved by distributed load equalizing Certainly, although do so can by shared by multiple servers ten thousand people grade user request of data and transmission communication pressure, It solves the problems, such as to a certain extent.But it is also clearly present defect, for the data communication on same server, or there is communication Peak value and bandwidth bottleneck problem.For example every server shares 1000 clients (user), each client may exist simultaneously Several million data are requested, if will lead to network congestion without control, user experience is unable to get guarantee.
Summary of the invention
The deficiency that present invention is primarily intended to only solve from load balancing for present conventional way, provides a kind of net The method that high concurrent dynamic rate data are transmitted in network real-time interactive system.A kind of dynamic speed adjustment maximizes and uses network bandwidth Transmission method, support high concurrent data reliable and stable transmission.
The technical solution adopted by the present invention to solve the technical problems includes the following steps:
First part: data subpackage strategy
It is as follows that data of the present invention split strategy: document is first split according to the page, is to take paging transmission rather than whole A document transmits together;Every page splits into basic packet according to 64K byte as a unit;Basic packet is again as unit of 1K byte Split into data packet.To form document, page, wrap substantially, the transmission hierarchical structure of data packet.
Document or the like data, it is generally all bigger, it can be to tens even several hundred million.Internet transmitting data, The strategy for generally all taking divided stator frame, will not all be packaged with and disposably be transmitted through, be easy to cause network congestion in this way.
Second part: document uploads
For step (1) based on the considerations of user experience, user wishes the first page for seeing document data as early as possible.Therefore client PPT document public page and the transmission of the data of page 1, using the transmission speed of 600Kbps (according to measuring) according to front Rule of unpacking uploads data
The non-PPT public page of step (2) and Fei page 1, using transmission speed the unpacking in rule according to front of 200Kbps Pass data
Step (3) server section by the data received according to after the unpacking regular group and be bundled into complete data of front, note Record document, page, basic packet, the logical relation between data packet, and in server memory still with data packet, basic packet, page, Document hierarchical relationship saves, so that other clients are requested at any time, avoids and re-groups package, have request that can directly forward, To improve efficiency of transmission.
Part III: profile download
Server end is after receiving to the request of data of client, on the basis of the rate of 100Kbps, by adjusting single Number give out a contract for a project to realize the speed adjust of 100Kbps to 600Kbps;Single user support 100Kbps, 200Kbps, 300Kbps, These rates of 400Kbps, 500Kbps, 600Kbps.Server theory available bandwidth Kbps, we are generally fixed as 100* 1024Kbps。
Server documentation needs the statistics of the number of users transmitted according to following rule:
Step (1) is every 1 second statistics audio-video occupied bandwidth Kbps situation
Step (2) counted on current server again every 1 second has document background data packet in the number of users of transmission and 20 The number of users of data packet was once sent out within second, and two numbers of users were superimposed;
The new statistical number of person rule of step (3)
New statistical number of person >=upper 1 second statistical number of person realizes quick reduction of speed using new statistical number of person
New statistical number of person <upper 1 second statistical number of person, the transmission number=new statistical number of person * upper 1 second statistical number of person * 0.8 of 0.2+, Ensure smooth transition of raising speed;
Step (4) calculation server is given out a contract for a project number to client single
Server is given out a contract for a project number=(server theory available bandwidth Kbps-audio-video occupied bandwidth to client single Kbps)/(document transmission number of users on 100Kbps* server).
Step (5) determines server to the transmission rate of client
Server gives out a contract for a project number minimum equal to 1,100Kbps transmission rate to client single
Server gives out a contract for a project number maximum equal to 6,600Kbps transmission rate to client single
Server gives out a contract for a project adjustment in number every 1 second once to client single, to support moment number of users to rise problem (such as wink Between suspension, the case where all users log in again).
The present invention has the beneficial effect that:
The present invention solves the deficiency that the way of present routine is only solved from load balancing, provide a kind of dynamic speed adjustment, The transmission method for using network bandwidth is maximized, supports the reliable and stable transmission of high concurrent data.
Specific embodiment
The present invention will be further described for aggregate embodiment below.
Illustrate by taking the document data transfer in large-scale online interaction platform as an example as follows, the specific steps packet of the method for the present invention It includes:
First part: data subpackage strategy
It is as follows that data of the present invention split strategy: document is first split according to the page, is to take paging transmission rather than whole A document transmits together;Every page splits into basic packet according to 64K byte as a unit;Basic packet is again as unit of 1K byte Split into data packet.To form document, page, wrap substantially, the transmission hierarchical structure of data packet.
Document or the like data, it is generally all bigger, it can be to tens even several hundred million.Internet transmitting data, The strategy for generally all taking divided stator frame, will not all be packaged with and disposably be transmitted through, be easy to cause network congestion in this way.
Second part: document uploads
For step (1) based on the considerations of user experience, user wishes the first page for seeing document data as early as possible.Therefore client PPT document public page and the transmission of the data of page 1, using the transmission speed of 600Kbps (according to measuring) according to front Rule of unpacking uploads data
The non-PPT public page of step (2) and Fei page 1, using transmission speed the unpacking in rule according to front of 200Kbps Pass data
Step (3) server section by the data received according to after the unpacking regular group and be bundled into complete data of front, note Record document, page, basic packet, the logical relation between data packet, and in server memory still with data packet, basic packet, page, Document hierarchical relationship saves, so that other clients are requested at any time, avoids and re-groups package, have request that can directly forward, To improve efficiency of transmission.
Part III: profile download
Server end is after receiving to the request of data of client, on the basis of the rate of 100Kbps, by adjusting single Number give out a contract for a project to realize the speed adjust of 100Kbps to 600Kbps;Single user support 100Kbps, 200Kbps, 300Kbps, These rates of 400Kbps, 500Kbps, 600Kbps.Server theory available bandwidth Kbps, we are generally fixed as 100* 1024Kbps。
Server documentation needs the statistics of the number of users transmitted according to following rule:
Step (1) is every 1 second statistics audio-video occupied bandwidth Kbps situation
Step (2) counted on current server again every 1 second has document background data packet in the number of users of transmission and 20 The number of users of data packet was once sent out within second, and two numbers of users were superimposed;
The new statistical number of person rule of step (3)
New statistical number of person >=upper 1 second statistical number of person realizes quick reduction of speed using new statistical number of person
New statistical number of person <upper 1 second statistical number of person, the transmission number=new statistical number of person * upper 1 second statistical number of person * 0.8 of 0.2+, Ensure smooth transition of raising speed;
Step (4) calculation server is given out a contract for a project number to client single
Server is given out a contract for a project number=(server theory available bandwidth Kbps-audio-video occupied bandwidth to client single Kbps)/(document transmission number of users on 100Kbps* server).
Step (5) determines server to the transmission rate of client
Server gives out a contract for a project number minimum equal to 1,100Kbps transmission rate to client single
Server gives out a contract for a project number maximum equal to 6,600Kbps transmission rate to client single
Server gives out a contract for a project adjustment in number every 1 second once to client single, to support moment number of users to rise problem (such as wink Between suspension, the case where all users log in again).
Embodiment:
By taking a total bandwidth is the system of 500Mbps as an example, when system active user's number is 1000, and it is playing one When flow is the video of 400Kbps, the occupied total flow of video is 400Kbps*1000=400000Kbps, if it united at that time Counting obtained document transmission number of users is 300, and the document transmission number of users of upper one second recorded is 250, then counts according to 300 It calculates single to give out a contract for a project number, i.e. (500000Kbps-400000Kbps)/(100Kbps*300)=3.333 ..., i.e., sends 3 numbers every time According to packet, after one second, if the document transmission number of users that statistics obtains becomes 10, the number of transmission becomes 300*0.8+10*0.2 =242, single gives out a contract for a project number as (500000Kbps-400000Kbps)/(100Kbps*242)=4.132 ..., i.e., sends 4 every time A data packet.

Claims (1)

1. a kind of method that high concurrent dynamic rate data are transmitted in network real-time interactive system, it is characterised in that including such as lower part Point:
First part: data subpackage strategy
Data subpackage strategy is as follows: document is first split according to the page, be take paging transmit rather than entire document together Transmission;Every page splits into basic packet according to 64K byte as a unit;Basic packet splits into data as unit of 1K byte again Packet;To form document, page, wrap substantially, the transmission hierarchical structure of data packet;
Second part: document uploads
Firstly, user wishes the first page for seeing document data as early as possible based on the considerations of user experience;Therefore client PPT text Shelves public page and the transmission of the data of page 1, the most fast transmission speed of use upload data according to the rule of unpacking of front, most fast transmission Speed is 600Kbps;
Secondly, non-PPT public page and Fei page 1, upload number according to the rule of unpacking of front using the transmission speed of 200Kbps According to;
Then, server section by the data received according to after the unpacking regular group and be bundled into complete data of front, recording documents, Logical relation between page, substantially packet, data packet, and still with data packet, basic packet, page, document level in server memory Secondary relationship saves, so that other clients are requested at any time, avoids and re-groups package, have request that can directly forward, to mention High-transmission efficiency;
Part III: profile download
Server end is after receiving the request of data from client, on the basis of the rate of 100Kbps, by adjusting single hair Packet number realizes the speed adjust of 100Kbps to 600Kbps;Single user support 100Kbps, 200Kbps, 300Kbps, These rates of 400Kbps, 500Kbps, 600Kbps;Server theory available bandwidth Kbps, is fixed as 100*1024Kbps;
Server documentation needs the statistics of the number of users transmitted according to following rule:
Step (1) is every 1 second statistics audio-video occupied bandwidth Kbps situation
Step (2) counted again every 1 second have on current server document background data packet the number of users of transmission and 20 seconds it The number of users of data packet was inside once sent out, and two numbers of users were superimposed, as new statistical number of person;
The new statistical number of person rule of step (3)
New statistical number of person >=upper 1 second statistical number of person realizes quick reduction of speed using new statistical number of person;
New statistical number of person <upper 1 second statistical number of person, the transmission number=upper 1 second statistical number of person * 0.8 of new statistical number of person * 0.2+, it is ensured that Speed-raising smooth transition;
Step (4) calculation server is given out a contract for a project number to client single
Server is given out a contract for a project number=(server theory available bandwidth Kbps-audio-video occupied bandwidth to client single Kbps)/(document transmission number of users on 100Kbps* server);
Step (5) determines server to the transmission rate of client
Server gives out a contract for a project number minimum equal to 1,100Kbps transmission rate to client single;
Server gives out a contract for a project number maximum equal to 6,600Kbps transmission rate to client single;
Server gives out a contract for a project adjustment in number every 1 second once to client single, to support moment number of users to rise problem.
CN201610443924.8A 2016-06-17 2016-06-17 A kind of method of high concurrent dynamic rate data transmission in network real-time interactive system Active CN106209662B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610443924.8A CN106209662B (en) 2016-06-17 2016-06-17 A kind of method of high concurrent dynamic rate data transmission in network real-time interactive system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610443924.8A CN106209662B (en) 2016-06-17 2016-06-17 A kind of method of high concurrent dynamic rate data transmission in network real-time interactive system

Publications (2)

Publication Number Publication Date
CN106209662A CN106209662A (en) 2016-12-07
CN106209662B true CN106209662B (en) 2019-04-23

Family

ID=57461319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610443924.8A Active CN106209662B (en) 2016-06-17 2016-06-17 A kind of method of high concurrent dynamic rate data transmission in network real-time interactive system

Country Status (1)

Country Link
CN (1) CN106209662B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188473A (en) * 2007-12-20 2008-05-28 上海交通大学 Self-adapted adjustment method for transmission rate of transport layer in wireless self-organized network
CN103368923A (en) * 2012-04-09 2013-10-23 中兴通讯股份有限公司 Message transmission and processing method and device
CN104156421A (en) * 2014-08-06 2014-11-19 百度在线网络技术(北京)有限公司 Method, device and system for displaying page

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104754003B (en) * 2013-12-30 2019-01-08 腾讯科技(深圳)有限公司 Transmit the method and system of data

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101188473A (en) * 2007-12-20 2008-05-28 上海交通大学 Self-adapted adjustment method for transmission rate of transport layer in wireless self-organized network
CN103368923A (en) * 2012-04-09 2013-10-23 中兴通讯股份有限公司 Message transmission and processing method and device
CN104156421A (en) * 2014-08-06 2014-11-19 百度在线网络技术(北京)有限公司 Method, device and system for displaying page

Also Published As

Publication number Publication date
CN106209662A (en) 2016-12-07

Similar Documents

Publication Publication Date Title
Bhat et al. Not so QUIC: A performance study of DASH over QUIC
CN104394486B (en) A kind of video stream processing method and device based on cloud desktop
US9462032B2 (en) Streaming media content
US10003830B1 (en) Controller to manage streaming video of playback devices
US10200432B2 (en) HTTP streaming client adaptation algorithm based on proportional-integral control
US11665218B2 (en) Fast encoding of live streaming media content
CN103069492B (en) Use storage method and the client terminal device of the storage file format for transmission of multimedia streams file
US10039126B2 (en) Scheduling method, apparatus, and system
US20140095593A1 (en) Method and apparatus for transmitting data file to client
CN106658051B (en) A kind of control method and system of buffered play Streaming Media
CN102333089A (en) Adaptive control method of multi-rate media stream based on hypertext transfer protocol (HTTP) streaming
TWI524756B (en) Method and device operable to store video and audio data
WO2015120766A1 (en) Video optimisation system and method
CN105392023A (en) Video live broadcasting method and device in network jitter environment
Karamshuk et al. ISP-friendly peer-assisted on-demand streaming of long duration content in BBC iPlayer
KR101795537B1 (en) System and method for providing of cloud streaming service which is adapting to network environment
Liu et al. Design and implementation of performance testing utility for RTSP streaming media server
CN114501052A (en) Live broadcast data processing method, cloud platform, computer equipment and storage medium
Evensen et al. Adaptive media streaming to mobile devices: challenges, enhancements, and recommendations
US9986010B2 (en) System and method for controlling video and/or audio streams in a web browser
CN106209662B (en) A kind of method of high concurrent dynamic rate data transmission in network real-time interactive system
CN102821316A (en) Improved video on demand (VOD) transmission method based on peer-to-peer computing core algorithm
Liu et al. QoE-aware traffic shaping for HTTP adaptive streaming
KR101140636B1 (en) System and method for contents delivery using data segment information, and proxy server thereof
CN103139188A (en) Method and system of streaming media transmission

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
CP02 Change in the address of a patent holder
CP02 Change in the address of a patent holder

Address after: 310051 12 / F, building 8, No. 19, Jugong Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province

Patentee after: ZHEJIANG WANPENG EDUCATION SCIENCE AND TECHNOLOGY STOCK Co.,Ltd.

Address before: Electronic Commerce Building No. 118 Xihu District West Road, Hangzhou City, Zhejiang Province, 310013 room 1406

Patentee before: ZHEJIANG WANPENG EDUCATION SCIENCE AND TECHNOLOGY STOCK Co.,Ltd.

CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 12 / F, building 8, No. 19, Jugong Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province, 310051

Patentee after: Zhejiang Wanpeng Digital Intelligence Technology Co.,Ltd.

Address before: 12 / F, building 8, No. 19, Jugong Road, Xixing street, Binjiang District, Hangzhou City, Zhejiang Province, 310051

Patentee before: ZHEJIANG WANPENG EDUCATION SCIENCE AND TECHNOLOGY STOCK CO.,LTD.