CN105721604A - Data sending method and device based on downloading request of user - Google Patents

Data sending method and device based on downloading request of user Download PDF

Info

Publication number
CN105721604A
CN105721604A CN201610171895.4A CN201610171895A CN105721604A CN 105721604 A CN105721604 A CN 105721604A CN 201610171895 A CN201610171895 A CN 201610171895A CN 105721604 A CN105721604 A CN 105721604A
Authority
CN
China
Prior art keywords
user
data volume
downloading
data
download
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610171895.4A
Other languages
Chinese (zh)
Inventor
姚宗友
李文禄
陈钦水
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and 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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201610171895.4A priority Critical patent/CN105721604A/en
Publication of CN105721604A publication Critical patent/CN105721604A/en
Pending legal-status Critical Current

Links

Classifications

    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a data sending method and device based on a downloading request of a user. One specific implementation manner of the method comprises the following steps of: receiving the downloading request of the user, wherein the downloading request comprises to-be-downloaded file information, user information of the user and the downloading start time; determining the downloading limit speed of the user according to the user information; determining the unlimited-speed buffer downloading volume according to the to-be-downloaded file information; and sending data to the user in each sending period, wherein the data is sent to the user with the unlimited speed before the sent data volume is up to the unlimited-speed buffer downloading volume; and the data is sent to the user with the downloading limit speed after the sent data volume is up to the unlimited-speed buffer downloading volume; recording the practical sent data volume in the sending period, and updating the sent data volume by utilizing the sum of the sent data volume and the practical sent data volume in the sending period. By means of the implementation manner, data sending that normal online access of the user cannot be influenced and the user downloading speed can be limited is realized.

Description

Data transmission method for uplink and the device of request is downloaded based on user
Technical field
The application relates to field of computer technology, is specifically related to Internet technical field, particularly relates to data transmission method for uplink and device.
Background technology
Along with the fast development of the Internet, increasing Internet user selects to appreciate online video or music.But the network bandwidth is a challenge greatly by the online access of a large number of users, and the ratio that the cost of the network bandwidth accounts for whole project cost is also increasing.
Prior art generally adopts the speed of download of restriction user to reduce network bandwidth cost.It is contemplated that the undulatory property of network condition, if the video giving user smooth downloads viewing experience, the comparison being necessary for the speed limit of user to arrange is high, but so can cause the high expensive of the network bandwidth;If the speed limit of user arrange relatively low, although the cost of the network bandwidth reduces, but user's access speed is inconsistent, causes user normally cannot appreciate video or music online.It is thus desirable to a kind of normal online access of user that neither affects can limit again the data transmission method for uplink of user's speed of download.
Summary of the invention
The purpose of the application is in that to propose data transmission method for uplink and the device of the request of downloading based on user of a kind of improvement, solves the technical problem that background section above is mentioned.
First aspect, this application provides a kind of data transmission method for uplink downloading request based on user, described method includes: receiving the download request of user, wherein, described download request includes: file to be downloaded information, the user profile of described user, download initial time;The downloading speed limiting of described user is determined according to described user profile;Not speed limit buffering download is determined according to described file to be downloaded information;Described user is sent data in each transmission cycle, wherein, send data volume reach described in speed limit buffering download before, speed limit does not send data to described user, described in sending data volume and reaching not speed limit buffering download after send data to described user according to described downloading speed limiting, minute book sends cycle actual transmission data volume, and data volume is actual that send data volume plus described transmission cycle and renewal has sent data volume with sending.
In certain embodiments, the user profile of described user includes the class information of user;And the described downloading speed limiting determining described user according to described user profile, including: the downloading speed limiting of described user is determined according to the class information of described user.
In certain embodiments, described file to be downloaded information includes the type information of file to be downloaded;And described according to described file to be downloaded information determine not speed limit buffering download, including: according to the type information of described file to be downloaded determine not speed limit buffering download.
In certain embodiments, described send data to described user in each transmission cycle, wherein, send data volume reach described in speed limit buffering download before, speed limit does not send data to described user, described in sending data volume and reaching not speed limit buffering download after send data to described user according to described downloading speed limiting, minute book sends cycle actual transmission data volume, and it is actual that send data volume plus described transmission cycle and update and sent data volume with sending data volume, including: judge whether to have sent data volume less than downloading data volume, wherein, described data volume of downloading is by adopting formula one calculated:
CdSize=nolmtSize+lmtVDld* (curTm bgTm) (formula one)
Wherein, nolmtSize is described not speed limit buffering download, and lmtVDld is described downloading speed limiting, and curTm is current time, and bgTm is described download initial time, and cdSize is the data volume downloaded calculating gained;If it is, this transmission cycle sends data to described user;If it is not, then this transmission cycle does not send data to described user;Minute book sends cycle actual transmission data volume;Actual that send data volume plus described transmission cycle and update and sent data volume with sending data volume.
In certain embodiments, described transmission cycle sends data to described user, including: this transmission cycle sends the data that can send data volume to described user, and wherein, the described data volume that sends is by adopting formula two calculated:
CsSize=cdSize aSize (formula two)
Wherein, cdSize is described data volume of downloading, and aSize has sent data volume, and csSize is the sent data volume calculating gained.
In certain embodiments, described transmission cycle does not send data to described user, including: no longer send data to described user until need to wait for duration, wherein, described in need to wait for duration be by adopting formula three calculated:
TWait=(aSize cdSize)/lmtVDld (formula three)
Wherein, aSize described has sent data volume, and cdSize is described data volume of downloading, and lmtVDld is described downloading speed limiting, tWait be calculate gained need to wait for duration.
Second aspect, this application provides a kind of data sending device downloading request based on user, described device includes: receive unit, and configuration is for receiving the download request of user, wherein, described download request includes: file to be downloaded information, the user profile of described user, download initial time;First determines unit, and configuration for determining the downloading speed limiting of described user according to described user profile;Second determines unit, and configuration is for determining not speed limit buffering download according to described file to be downloaded information;Transmitting element, configuration is for sending data to described user in each transmission cycle, wherein, send data volume reach described in speed limit buffering download before, speed limit does not send data to described user, not sending data to described user according to described downloading speed limiting after speed limit buffering download described in sending data volume and reaching, minute book sends cycle actual transmission data volume, and data volume is actual that send data volume plus described transmission cycle and renewal has sent data volume with sending.
In certain embodiments, the user profile of described user includes the class information of user;And described first determine unit configure further for: determine the downloading speed limiting of described user according to the class information of described user.
In certain embodiments, described file to be downloaded information includes the type information of file to be downloaded;And described second determine unit configure further for: according to the type information of described file to be downloaded determine not speed limit buffering download.
In certain embodiments, described transmitting element includes: judge module, and configuration is for judging whether to have sent data volume less than downloading data volume, and wherein, described data volume of downloading is by adopting formula one calculated:
CdSize=nolmtSize+lmtVDld* (curTm bgTm) (formula one)
Wherein, nolmtSize is described not speed limit buffering download, and lmtVDld is described downloading speed limiting, and curTm is current time, and bgTm is described download initial time, and cdSize is the data volume downloaded calculating gained;Sending module, if configuration is for sending data volume less than downloading data volume, then this transmission cycle sends data to described user;Not sending module, if configuration is not less than can download data volume for having sent data volume, then this transmission cycle does not send data to described user;Logging modle, configuration sends cycle actual transmission data volume for minute book;More new module, configuration is for actual that send data volume plus described transmission cycle and update and sent data volume with having sent data volume.
In certain embodiments, described sending module configures further and is used for: this transmission cycle sends the data that can send data volume to described user, and wherein, the described data volume that sends is by adopting formula two calculated:
CsSize=cdSize aSize (formula two)
Wherein, cdSize is described data volume of downloading, and aSize has sent data volume, and csSize is the sent data volume calculating gained.
In certain embodiments, described not sending module configures further and is used for: no longer send data to described user until need to wait for duration, wherein, described in need to wait for duration be adopt formula three calculated:
TWait=(aSize cdSize)/lmtVDld (formula three)
Wherein, aSize described has sent data volume, and cdSize is described data volume of downloading, and lmtVDld is described downloading speed limiting, tWait be calculate gained need to wait for duration.
Data transmission method for uplink and the device of the request of downloading based on user that the application provides, by asking the fileinfo downloaded to determine not speed limit buffering download according to user, not speed limit is cushioned when download less than not speed limit in the data volume sent, cushion when download be more than or equal to not speed limit in the data volume sent and carry out speed limit again, it is achieved thereby that download neither affect the normal online access of user and limiting again the data transmission of user's speed of download of request based on user.
Accompanying drawing explanation
By reading the detailed description that non-limiting example is made made with reference to the following drawings, other features, purpose and advantage will become more apparent upon:
Fig. 1 is that the application can apply to exemplary system architecture figure therein;
Fig. 2 is the flow chart of an embodiment of the data transmission method for uplink of the request of downloading based on user according to the application;
Fig. 3 a-3b is the schematic diagram of an application scenarios of the data transmission method for uplink of the request of downloading based on user according to the application;
Fig. 4 is the flow chart of another embodiment of the data transmission method for uplink of the request of downloading based on user according to the application;
Fig. 5 is the structural representation of an embodiment of the data sending device of the request of downloading based on user according to the application;
Fig. 6 is adapted for the structural representation of the computer system of the server for realizing the embodiment of the present application.
Detailed description of the invention
Below in conjunction with drawings and Examples, the application is described in further detail.It is understood that specific embodiment described herein is used only for explaining related invention, but not the restriction to this invention.It also should be noted that, for the ease of describing, accompanying drawing illustrate only the part relevant to about invention.
It should be noted that when not conflicting, the embodiment in the application and the feature in embodiment can be mutually combined.Describe the application below with reference to the accompanying drawings and in conjunction with the embodiments in detail.
Fig. 1 illustrates and can apply downloading the data transmission method for uplink of request based on user or downloading the exemplary system architecture 100 of embodiment of data sending device of request based on user of the application.
As it is shown in figure 1, system architecture 100 can include terminal unit 101,102,103, network 104 and server 105.Network 104 in order to provide the medium of communication link between terminal unit 101,102,103 and server 105.Network 104 can include various connection type, for instance wired, wireless communication link or fiber optic cables etc..
User can use terminal unit 101,102,103 mutual with server 105 by network 104, to receive or to send message etc..Terminal unit 101,102,103 can be provided with various client application, for instance the application of cloud storage class, the application of Online Video class, online audio class application etc..
Terminal unit 101,102,103 can be the various electronic equipments with processor and storage medium, include but not limited to smart mobile phone, panel computer, E-book reader, MP3 player (MovingPictureExpertsGroupAudioLayerIII, dynamic image expert's compression standard audio frequency aspect 3), MP4 (MovingPictureExpertsGroupAudioLayerIV, dynamic image expert's compression standard audio frequency aspect 4) player, pocket computer on knee and desk computer etc..
Server 105 can be to provide the server of various service, for instance the background data server providing content to support the cloud storage class application installed on terminal unit 101,102,103.The data such as the download request received can be analyzed waiting and process by background data server, and result (such as downloading data) is fed back to terminal unit.
It should be noted that the embodiment of the present application provide download the data transmission method for uplink of request based on user and generally performed by server 105, correspondingly, the data sending device downloading request based on user is generally positioned in server 105.
It should be understood that the number of terminal unit in Fig. 1, network and server is merely schematic.According to realizing needs, it is possible to have any number of terminal unit, network and server.
With continued reference to Fig. 2, it illustrates the flow process 200 of an embodiment of the data transmission method for uplink of the request of downloading based on user according to the application.The data transmission method for uplink of described request of downloading based on user, comprises the following steps:
Step 201, receives the download request of user.
In the present embodiment, download the data transmission method for uplink of request based on user to run on electronic equipment thereon (such as the server shown in Fig. 1) and it can be utilized by wired connection mode or radio connection to make requests on the terminal of download from user to receive the request of download, wherein, above-mentioned download request includes file to be downloaded information, the user profile of above-mentioned user, download initial time.It is pointed out that above-mentioned radio connection can include but not limited to that 3G/4G connects, WiFi connects, bluetooth connects, WiMAX connects, Zigbee connects, UWB (ultrawideband) connects and other currently known or exploitation in the future radio connection.
Generally, user utilizes the client application installed in terminal to download data, and at this moment, user can pass through to directly input what the address of file to be downloaded or click in client application presented address chain and fetch and initiate data download request to data server.
In the present embodiment, above-mentioned file to be downloaded information can include following at least one: the address information of file to be downloaded, the file name information of file to be downloaded.
In the present embodiment, the user profile of above-mentioned user can include the user identifier for identifying or distinguish user.
In the present embodiment, the download initial time downloading request may be used for subsequent step control downloading speed limiting use.
Step 202, determines the downloading speed limiting of user according to user profile.
In the present embodiment, based on the download request obtained in step 201, first above-mentioned electronic equipment (such as the server shown in Fig. 1) can obtain the user profile that above-mentioned download request is corresponding;The downloading speed limiting of user is determined afterwards further according to above-mentioned user profile.
In some optional implementations of the present embodiment, the user profile of above-mentioned user can include the class information of user, and above-mentioned electronic equipment can be the downloading speed limiting that the class information according to above-mentioned user determines above-mentioned user.Exemplarily, for primary user, it is possible to the network speed that this user setup is higher, for instance 1MB/s;For secondary user, it is possible to the network speed that user setup is more medium, for instance 500KB/s;For domestic consumer, it is possible to the network speed that user setup is relatively low, for instance 50KB/s.
In some optional implementations of the present embodiment, the user profile of above-mentioned user can include the regional information of user, and above-mentioned electronic equipment can determine the downloading speed limiting of above-mentioned user according to the regional information of above-mentioned user.Exemplarily, networking is in for user regional preferably, network speed also can ratio comparatively fast, it is possible to the network speed that this user setup is higher, for instance 1MB/s;Being in, for user, the area that networking is poor, network speed also can be slow, it is possible to the network speed that user setup is more medium, for instance 500KB/s.
In some optional implementations of the present embodiment, the user profile of above-mentioned user can also include the type of the client application that user uses, and above-mentioned electronic equipment can determine the downloading speed limiting of above-mentioned user according to the type of the client application that above-mentioned user uses.Exemplarily, the download that computerized version client application sends is used to ask for user, it is possible to the network speed that this user setup is higher, for instance 1MB/s;The download that mobile phone version or panel computer version client application send is used to ask for user, it is possible to the network speed that user setup is more medium, for instance 500KB/s.
It will be appreciated by persons skilled in the art that the combination that can also adopt above-mentioned optional implementation is to determine the downloading speed limiting of above-mentioned user.
Step 203, determines not speed limit buffering download according to file to be downloaded information.
In the present embodiment, based on the download request obtained in step 201, first above-mentioned electronic equipment (such as the server shown in Fig. 1) can obtain the file to be downloaded information that above-mentioned download request is corresponding;Not speed limit buffering download is determined afterwards further according to above-mentioned file to be downloaded information.
In some optional implementations of the present embodiment, above-mentioned file to be downloaded information can include the type information of file to be downloaded.Above-mentioned electronic equipment can determine not speed limit buffering download according to the type information of file to be downloaded.Exemplarily, for the file of video type, it is possible to arranging not speed limit buffering download is 5 Mbytes;File for audio types, it is possible to arranging not speed limit buffering download is 2 Mbytes.
In some optional implementations of the present embodiment, above-mentioned file to be downloaded information can also include file size.Above-mentioned electronic equipment can determine not speed limit buffering download according to the file size of file to be downloaded.Exemplarily, for file size file below 200 Mbytes, it is possible to arranging not speed limit buffering download is 2 Mbytes;For the file size file at 200 Mbytes to 500 Mbytes, it is possible to arranging not speed limit buffering download is 5 Mbytes;For the file size file more than 500 Mbytes, it is possible to arranging not speed limit buffering download is 10 Mbytes.
In some optional implementations of the present embodiment, above-mentioned file to be downloaded information can also include file modified date.Above-mentioned electronic equipment can determine not speed limit buffering download according to the amendment date of file to be downloaded.Exemplarily, for amendment date file to be downloaded after 2010, it is possible to arranging not speed limit buffering download is 5 Mbytes;For amendment date file to be downloaded before 2010, it is possible to arranging not speed limit buffering download is 2 Mbytes.
It will be appreciated by persons skilled in the art that and the combination of above-mentioned optional implementation can also be adopted to determine not speed limit buffering download.
Step 204, sends data to user in each transmission cycle, minute book send the cycle actual transmission data volume, and with send data volume plus this transmission cycle actual send data volume and renewal sent data volume.
In the present embodiment, above-mentioned electronic equipment can send data to user in each transmission cycle, wherein, sending before data volume reaches the not speed limit buffering download that above-mentioned steps 203 determines, speed limit does not send data to user, after sending data volume and reaching the not speed limit buffering download that above-mentioned steps 203 determines according to above-mentioned steps 202 in the downloading speed limiting determined send data to user.
In the present embodiment, above-mentioned electronic equipment each transmission cycle minute book send the cycle actual transmission data volume, and with send data volume plus this transmission cycle actual send data volume and renewal sent data volume.
It it is a schematic diagram of the application scenarios of the data transmission method for uplink of the request of downloading based on user according to the present embodiment with continued reference to Fig. 3 a-3b, Fig. 3 a-3b.In the application scenarios of Fig. 3 a-3b, first user enables Online Video application " XX video ", then initiates a video playback about " TaiWan, China earthquake " and asks (in Fig. 3 a shown in icon 301);Afterwards, the video content server that above-mentioned Online Video is applied " XX video " provides content to support obtains the request of above-mentioned video playback, and finds the video file of " TaiWan, China earthquake " from the video data of its pre-stored;Then, the video content server not speed limit that first speed limit transmission is not corresponding with above-mentioned video file cushions the data of download to user, the Online Video application that such user uses just can utilize this segment data line of not speed limit buffering download to play video (in Fig. 3 b shown in icon 302) at once, user while viewing process in, above-mentioned Online Video is applied " XX video " provides the video content server of content support progressively to send data to user according still further to the downloading speed limiting corresponding with this user, continue to watch not speed limit for user and cushion the video content after download.
The data not speed limit that the method that above-described embodiment of the application provides cushions download part by the not speed limit before in the data to user's download sends, and the subsequent data speed limit exceeding not speed limit buffering download part is sent, it is achieved that download neither affect the normal online access of user and limiting again the data transmission of user's speed of download of request based on user.
With further reference to Fig. 4, it illustrates the flow process 400 of another embodiment of the data transmission method for uplink downloading request based on user.The flow process 400 of the data transmission method for uplink of request should be downloaded based on user, comprised the following steps:
Step 401, receives the download request of user.
In the present embodiment, download the data transmission method for uplink of request based on user to run on electronic equipment thereon (such as the server shown in Fig. 1) and it can be utilized by wired connection mode or radio connection to make requests on the terminal of download from user to receive the request of download, wherein, above-mentioned download request includes file to be downloaded information, the user profile of above-mentioned user, download initial time.
Step 402, determines the downloading speed limiting of user according to user profile.
In the present embodiment, based on the download request obtained in step 401, first above-mentioned electronic equipment (such as the server shown in Fig. 1) can obtain the user profile that above-mentioned download request is corresponding;The downloading speed limiting of user is determined afterwards further according to above-mentioned user profile.
Step 403, determines not speed limit buffering download according to file to be downloaded information.
In the present embodiment, based on the download request obtained in step 401, first above-mentioned electronic equipment (such as the server shown in Fig. 1) can obtain the file to be downloaded information that above-mentioned download request is corresponding;Not speed limit buffering download is determined afterwards further according to above-mentioned file to be downloaded information.
Step 404, in each transmission cycle, it is judged that whether sent data volume less than downloading data volume.
In the present embodiment, in each transmission cycle, above-mentioned electronic equipment judges whether to have sent data volume less than downloading data volume, if having sent data volume less than downloading data volume, forwards step 405 to;If having sent data volume to be not less than and can download data volume, forward step 406 to.
In the present embodiment, data volume can be downloaded can be through adopting formula one calculated:
CdSize=nolmtSize+lmtVDld* (curTm bgTm) (formula one)
Wherein, nolmtSize is the not speed limit buffering download determined in above-mentioned steps 403, lmtVDld is the downloading speed limiting determined in above-mentioned steps 402, curTm is current time, bgTm is the download initial time downloading request correspondence received in above-mentioned steps 401, and cdSize is the data volume downloaded calculating gained.
Such as, for the lower request started from 8: 0: 0 on the 6th January in 2016, the downloading speed limiting determined is 1MB/s, the not speed limit buffering download determined is 5MB, current time is 8: 0: 1 on the 6th January in 2016, then can download data volume cdSize is exactly 6MB, if current time is 8: 0: 2 on the 6th January in 2016, then can download data volume cdSize is exactly 7MB.
Step 405, this transmission cycle sends data to user.
In the present embodiment, above-mentioned electronic equipment can send cycle transmission at this can send the data of data volume to user, wherein, can send data volume and can be through adopting formula two calculated:
CsSize=cdSize aSize (formula two)
Wherein, cdSize is calculated data volume of downloading in step 404, and aSize has sent data volume, and csSize is the sent data volume calculating gained.
Step 406, this transmission cycle does not send data to user.
In the present embodiment, above-mentioned electronic equipment can no longer send data to user, waits after needing to wait for duration, forwards step 404 to, and wherein, the above-mentioned duration that needs to wait for is to adopt formula three calculated:
TWait=(aSize cdSize)/lmtVDld (formula three)
Wherein, aSize has sent data volume, and cdSize is calculated data volume of downloading in step 404, and lmtVDld is the downloading speed limiting determined in step 402, tWait be calculate gained need to wait for duration.
Step 407, in each transmission cycle, minute book sends cycle actual transmission data volume.
In the present embodiment, above-mentioned electronic equipment can send cycle actual transmission data volume by minute book, owing to the reception speed of user is different, it is likely to result in the data user being sent to user all not receive in this transmission cycle, it is therefore desirable in actual transmission of each transmission periodic recording this transmission cycle data volume.
Step 408 is in each transmission cycle, actual that send data volume plus this transmission cycle and update and sent data volume with having sent data volume.
In the present embodiment, first above-mentioned electronic equipment can obtain and send data volume, then in acquisition step 407 record this transmissions cycle actual transmission data volume, followed by send data volume plus this transmission cycle actual send data volume and renewal sent data volume.
As can be seen from Figure 4, compared with the embodiment that Fig. 2 is corresponding, the flow process 400 of the data transmission method for uplink downloading request based on user in the present embodiment highlights in each transmission cycle, judge whether to have sent data volume less than the step 404 that can download data volume, send the data that can send data volume and to the step 405 of user and no longer send data to user until needing to wait for the step 406 of duration.Thus, the present embodiment describe scheme can more effective control data send speed, thus more effective realization based on user download request neither affect the normal online access of user can limit again user's speed of download data transmission.
With further reference to Fig. 5, as the realization to method shown in above-mentioned each figure, this application provides an embodiment of a kind of data sending device downloading request based on user, this device embodiment is corresponding with the embodiment of the method shown in Fig. 2, and this device specifically can apply in various electronic equipment.
As shown in Figure 5, downloading the data sending device 500 of request based on user and include described in the present embodiment: receive unit 501, configuration is for receiving the download request of user, and described download request includes: file to be downloaded information, the user profile of described user, download initial time;First determines unit 502, and configuration for determining the downloading speed limiting of described user according to described user profile;Second determines unit 503, and configuration is for determining not speed limit buffering download according to described file to be downloaded information;Transmitting element 504, configuration is for sending data to user in each transmission cycle, wherein, send data volume reach described in speed limit buffering download before, speed limit does not send data to user, not sending data to user according to described downloading speed limiting after speed limit buffering download described in sending data volume and reaching, minute book sends cycle actual transmission data volume, and data volume is actual that send data volume plus described transmission cycle and renewal has sent data volume with sending.
In the present embodiment, the reception unit 501 of the data sending device 500 downloading request based on user can utilize it to make requests on the reception download request of the terminal of download by wired connection mode or radio connection from user, wherein, above-mentioned download request includes file to be downloaded information, the user profile of above-mentioned user, download initial time.
In the present embodiment, based on receiving the download request that unit 501 obtains, above-mentioned first determines that first unit 502 can obtain the user profile that above-mentioned download request is corresponding;The downloading speed limiting of user is determined afterwards further according to above-mentioned user profile.
In the present embodiment, based on receiving the download request that unit 501 obtains, above-mentioned second determines that first unit 503 can obtain the file to be downloaded information that above-mentioned download request is corresponding;Not speed limit buffering download is determined afterwards further according to above-mentioned file to be downloaded information.
In the present embodiment, transmitting element 504 can send data to user in each transmission cycle, wherein, send data volume reach above-mentioned second determine the not speed limit buffering download that unit 503 determines before, speed limit does not send data to user, send data volume reach above-mentioned second determine the not speed limit buffering download that unit 503 determines after determine that the downloading speed limiting determined in unit 502 sends data to user according to above-mentioned first.
In the present embodiment, transmitting element 504 each transmission cycle minute book send the cycle actual transmission data volume, and with send data volume plus this transmission cycle actual send data volume and renewal sent data volume.
In the present embodiment, download in the data sending device 500 of request based on user: receive unit 501, first determine unit 502, second determine that unit 503 and transmitting element 504 concrete processes and referring to the associated description of the implementation of step 201, step 202, step 203 and step 204 in the corresponding embodiment of Fig. 2, can not repeat them here.
In some optional implementations of the present embodiment, the user profile of user can include the class information of user, download based on user request data sending device 500 first determine that unit 502 can determine the downloading speed limiting of user according to the class information of user.Concrete process referring to the associated description of the implementation of step 202 in Fig. 2 correspondence embodiment, can not repeat them here.
In some optional implementations of the present embodiment, file to be downloaded information can include the type information of file to be downloaded, download based on user request data sending device 500 second determine unit 503 can according to the type information of file to be downloaded determine not speed limit buffering download.Concrete process referring to the associated description of the implementation of step 203 in Fig. 2 correspondence embodiment, can not repeat them here.
In some optional implementations of the present embodiment, the transmitting element 504 downloading the data sending device 500 of request based on user may include that judge module (not shown), and configuration is for judging whether to have sent data volume less than downloading data volume;Sending module (not shown), if configuration is for sending data volume less than downloading data volume, then this transmission cycle sends data to above-mentioned user;Not sending module (not shown), if configuration is not less than can download data volume for having sent data volume, then this transmission cycle does not send data to above-mentioned user;Logging modle (not shown), configuration sends cycle actual transmission data volume for minute book;More new module (not shown), configuration is for actual that send data volume plus above-mentioned transmission cycle and update and sent data volume with having sent data volume.Wherein, it is judged that module, sending module, not sending module, logging modle and more new module concrete processes and be referred in Fig. 4 embodiment the associated description of the implementation of step 404, step 405, step 406, step 407 and step 408, does not repeat them here.
Below with reference to Fig. 6, it illustrates the structural representation of the computer system 600 being suitable to the server for realizing the embodiment of the present application.
As shown in Figure 6, computer system 600 includes CPU (CPU) 601, its can according to the program being stored in read only memory (ROM) 602 or from storage part 608 be loaded into the program random access storage device (RAM) 603 and perform various suitable action and process.In RAM603, also storage has system 600 to operate required various programs and data.CPU601, ROM602 and RAM603 are connected with each other by bus 604.Input/output (I/O) interface 605 is also connected to bus 604.
It is connected to I/O interface 605: include the importation 606 of keyboard, mouse etc. with lower component;Output part 607 including such as cathode ray tube (CRT), liquid crystal display (LCD) etc. and speaker etc.;Storage part 608 including hard disk etc.;And include the communications portion 609 of the NIC of such as LAN card, modem etc..Communications portion 609 performs communication process via the network of such as the Internet.Driver 610 is connected to I/O interface 605 also according to needs.Detachable media 611, such as disk, CD, magneto-optic disk, semiconductor memory etc., be arranged in driver 610 as required, in order to the computer program read from it is mounted into storage part 608 as required.
Especially, according to embodiment of the disclosure, the process described above with reference to flow chart may be implemented as computer software programs.Such as, embodiment of the disclosure and include a kind of computer program, it includes the computer program being tangibly embodied on machine readable media, and described computer program comprises the program code for performing the method shown in flow chart.In such embodiments, this computer program can pass through communications portion 609 and be downloaded and installed from network, and/or is mounted from detachable media 611.When this computer program is performed by CPU (CPU) 601, perform the above-mentioned functions limited in the present processes.
Flow chart in accompanying drawing and block diagram, it is illustrated that according to the system of the various embodiment of the application, the architectural framework in the cards of method and computer program product, function and operation.In this, flow chart or each square frame in block diagram can represent a part for a module, program segment or code, and a part for described module, program segment or code comprises the executable instruction of one or more logic function for realizing regulation.It should also be noted that at some as in the realization replaced, the function marked in square frame can also to be different from the order generation marked in accompanying drawing.Such as, two square frames succeedingly represented can essentially perform substantially in parallel, and they can also perform sometimes in the opposite order, and this determines according to involved function.It will also be noted that, the combination of the square frame in each square frame in block diagram and/or flow chart and block diagram and/or flow chart, can realize by the special hardware based system of the function or operation that perform regulation, or can realize with the combination of specialized hardware Yu computer instruction.
It is described in unit involved in the embodiment of the present application to be realized by the mode of software, it is also possible to realized by the mode of hardware.Described unit can also be arranged within a processor, for instance, it is possible to it is described as: a kind of processor includes receiving unit, first determines unit, second determines unit and transmitting element.Wherein, the title of these unit is not intended that the restriction to this unit itself under certain conditions, for instance, receive unit and be also described as " receiving the unit downloading request of user ".
As on the other hand, present invention also provides a kind of nonvolatile computer storage media, this nonvolatile computer storage media can be the nonvolatile computer storage media comprised in device described in above-described embodiment;Can also be individualism, be unkitted the nonvolatile computer storage media allocating in terminal.Above-mentioned nonvolatile computer storage media storage has one or more program, when said one or multiple program are performed by an equipment, make the said equipment: receiving the download request of user, above-mentioned download request includes: file to be downloaded information, the user profile of above-mentioned user, download initial time;The downloading speed limiting of above-mentioned user is determined according to above-mentioned user profile;Not speed limit buffering download is determined according to above-mentioned file to be downloaded information;Above-mentioned user is sent data in each transmission cycle, wherein, send data volume reach above-mentioned not speed limit buffering download before, speed limit does not send data to above-mentioned user, above-mentioned user is sent data to according to above-mentioned downloading speed limiting after sending data volume and reaching above-mentioned not speed limit buffering download, minute book sends cycle actual transmission data volume, and data volume is actual that send data volume plus above-mentioned transmission cycle and renewal has sent data volume with sending.
Above description is only the preferred embodiment of the application and the explanation to institute's application technology principle.Skilled artisan would appreciate that, invention scope involved in the application, it is not limited to the technical scheme of the particular combination of above-mentioned technical characteristic, when also should be encompassed in without departing from described inventive concept simultaneously, other technical scheme being carried out combination in any by above-mentioned technical characteristic or its equivalent feature and being formed.Such as features described above and (but not limited to) disclosed herein have the technical characteristic of similar functions and replace mutually and the technical scheme that formed.

Claims (12)

1. the data transmission method for uplink downloading request based on user, it is characterised in that described method includes:
Receiving the download request of user, wherein, described download request includes: file to be downloaded information, the user profile of described user, download initial time;
The downloading speed limiting of described user is determined according to described user profile;
Not speed limit buffering download is determined according to described file to be downloaded information;
Described user is sent data in each transmission cycle, wherein, send data volume reach described in speed limit buffering download before, speed limit does not send data to described user, described in sending data volume and reaching not speed limit buffering download after send data to described user according to described downloading speed limiting, minute book sends cycle actual transmission data volume, and data volume is actual that send data volume plus described transmission cycle and renewal has sent data volume with sending.
2. the data transmission method for uplink downloading request based on user according to claim 1, it is characterised in that the user profile of described user includes the class information of user;And
The described downloading speed limiting determining described user according to described user profile, including:
Class information according to described user determines the downloading speed limiting of described user.
3. the data transmission method for uplink downloading request based on user according to claim 1, it is characterised in that described file to be downloaded information includes the type information of file to be downloaded;And
Described according to described file to be downloaded information determine not speed limit buffering download, including:
Type information according to described file to be downloaded determines not speed limit buffering download.
4. the data transmission method for uplink according to the request of downloading based on user one of claim 1-3 Suo Shu, it is characterized in that, described send data to described user in each transmission cycle, wherein, send data volume reach described in speed limit buffering download before, speed limit does not send data to described user, described in sending data volume and reaching not speed limit buffering download after send data to described user according to described downloading speed limiting, minute book sends cycle actual transmission data volume, and it is actual that send data volume plus described transmission cycle and update and sent data volume with sending data volume, including:
Judging whether to have sent data volume less than downloading data volume, wherein, described data volume of downloading is by adopting formula one calculated:
CdSize=nolmtSize+lmtVDld* (curTm bgTm) (formula one)
Wherein, nolmtSize is described not speed limit buffering download, and lmtVDld is described downloading speed limiting, and curTm is current time, and bgTm is described download initial time, and cdSize is the data volume downloaded calculating gained;
If it is, this transmission cycle sends data to described user;
If it is not, then this transmission cycle does not send data to described user;
Minute book sends cycle actual transmission data volume;
Actual that send data volume plus described transmission cycle and update and sent data volume with sending data volume.
5. the data transmission method for uplink downloading request based on user according to claim 4, it is characterised in that described transmission cycle sends data to described user, including:
This transmission cycle sends the data that can send data volume to described user, and wherein, the described data volume that sends is by adopting formula two calculated:
CsSize=cdSize aSize (formula two)
Wherein, cdSize is described data volume of downloading, and aSize has sent data volume, and csSize is the sent data volume calculating gained.
6. the data transmission method for uplink downloading request based on user according to claim 4, it is characterised in that described transmission cycle does not send data to described user, including:
No longer send data to described user until need to wait for duration, wherein, described in need to wait for duration be by adopting formula three calculated:
TWait=(aSize cdSize)/lmtVDld (formula three)
Wherein, aSize described has sent data volume, and cdSize is described data volume of downloading, and lmtVDld is described downloading speed limiting, tWait be calculate gained need to wait for duration.
7. the data sending device downloading request based on user, it is characterised in that described device includes:
Receiving unit, configuration is for receiving the download request of user, and wherein, described download request includes: file to be downloaded information, the user profile of described user, download initial time;
First determines unit, and configuration for determining the downloading speed limiting of described user according to described user profile;
Second determines unit, and configuration is for determining not speed limit buffering download according to described file to be downloaded information;
Transmitting element, configuration is for sending data to described user in each transmission cycle, wherein, send data volume reach described in speed limit buffering download before, speed limit does not send data to described user, not sending data to described user according to described downloading speed limiting after speed limit buffering download described in sending data volume and reaching, minute book sends cycle actual transmission data volume, and data volume is actual that send data volume plus described transmission cycle and renewal has sent data volume with sending.
8. the data sending device downloading request based on user according to claim 7, it is characterised in that the user profile of described user includes the class information of user;And
Described first determine unit configure further for:
Class information according to described user determines the downloading speed limiting of described user.
9. the data sending device downloading request based on user according to claim 7, it is characterised in that described file to be downloaded information includes the type information of file to be downloaded;And
Described second determine unit configure further for:
Type information according to described file to be downloaded determines not speed limit buffering download.
10. the data sending device according to the request of downloading based on user one of claim 7-9 Suo Shu, it is characterised in that described transmitting element includes:
Judge module, configuration is for judging whether to have sent data volume less than downloading data volume, and wherein, described data volume of downloading is by adopting formula one calculated:
CdSize=nolmtSize+lmtVDld* (curTm bgTm) (formula one)
Wherein, nolmtSize is described not speed limit buffering download, and lmtVDld is described downloading speed limiting, and curTm is current time, and bgTm is described download initial time, and cdSize is the data volume downloaded calculating gained;
Sending module, if configuration is for sending data volume less than downloading data volume, then this transmission cycle sends data to described user;
Not sending module, if configuration is not less than can download data volume for having sent data volume, then this transmission cycle does not send data to described user;
Logging modle, configuration sends cycle actual transmission data volume for minute book;
More new module, configuration is for actual that send data volume plus described transmission cycle and update and sent data volume with having sent data volume.
11. the data sending device downloading request based on user according to claim 10, it is characterised in that described sending module configures further and is used for:
This transmission cycle sends the data that can send data volume to described user, and wherein, the described data volume that sends is by adopting formula two calculated:
CsSize=cdSize aSize (formula two)
Wherein, cdSize is described data volume of downloading, and aSize has sent data volume, and csSize is the sent data volume calculating gained.
12. the data sending device downloading request based on user according to claim 10, it is characterised in that described not sending module configures further and is used for:
No longer send data to described user until need to wait for duration, wherein, described in need to wait for duration be adopt formula three calculated:
TWait=(aSize cdSize)/lmtVDld (formula three)
Wherein, aSize described has sent data volume, and cdSize is described data volume of downloading, and lmtVDld is described downloading speed limiting, tWait be calculate gained need to wait for duration.
CN201610171895.4A 2016-03-24 2016-03-24 Data sending method and device based on downloading request of user Pending CN105721604A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610171895.4A CN105721604A (en) 2016-03-24 2016-03-24 Data sending method and device based on downloading request of user

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610171895.4A CN105721604A (en) 2016-03-24 2016-03-24 Data sending method and device based on downloading request of user

Publications (1)

Publication Number Publication Date
CN105721604A true CN105721604A (en) 2016-06-29

Family

ID=56159173

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610171895.4A Pending CN105721604A (en) 2016-03-24 2016-03-24 Data sending method and device based on downloading request of user

Country Status (1)

Country Link
CN (1) CN105721604A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032759A (en) * 2018-08-01 2018-12-18 郑州云海信息技术有限公司 A kind of control method and device of virtualization system
CN115022717A (en) * 2022-05-31 2022-09-06 北京字跳网络技术有限公司 Data downloading method and device, computer equipment and storage medium
CN115065862A (en) * 2022-06-07 2022-09-16 北京达佳互联信息技术有限公司 Video data acquisition method, device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070192812A1 (en) * 2006-02-10 2007-08-16 John Pickens Method and system for streaming digital video content to a client in a digital video network
CN102111422A (en) * 2009-12-25 2011-06-29 中兴通讯股份有限公司 Method for estimating download time and device-side
CN102571894A (en) * 2010-12-07 2012-07-11 中国电信股份有限公司 Transmission control method and player of online streaming media
CN102790925A (en) * 2011-05-20 2012-11-21 深圳市快播科技有限公司 Method and VOD (Video On Demand) terminal for playing online streaming media
CN103686448A (en) * 2013-12-25 2014-03-26 乐视网信息技术(北京)股份有限公司 Video transcoding download speed limiting method and system
WO2015089772A1 (en) * 2013-12-18 2015-06-25 华为技术有限公司 Video acceleration method, client and network element

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070192812A1 (en) * 2006-02-10 2007-08-16 John Pickens Method and system for streaming digital video content to a client in a digital video network
CN102111422A (en) * 2009-12-25 2011-06-29 中兴通讯股份有限公司 Method for estimating download time and device-side
CN102571894A (en) * 2010-12-07 2012-07-11 中国电信股份有限公司 Transmission control method and player of online streaming media
CN102790925A (en) * 2011-05-20 2012-11-21 深圳市快播科技有限公司 Method and VOD (Video On Demand) terminal for playing online streaming media
WO2015089772A1 (en) * 2013-12-18 2015-06-25 华为技术有限公司 Video acceleration method, client and network element
CN103686448A (en) * 2013-12-25 2014-03-26 乐视网信息技术(北京)股份有限公司 Video transcoding download speed limiting method and system

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032759A (en) * 2018-08-01 2018-12-18 郑州云海信息技术有限公司 A kind of control method and device of virtualization system
CN115022717A (en) * 2022-05-31 2022-09-06 北京字跳网络技术有限公司 Data downloading method and device, computer equipment and storage medium
CN115022717B (en) * 2022-05-31 2023-11-07 北京字跳网络技术有限公司 Data downloading method, device, computer equipment and storage medium
CN115065862A (en) * 2022-06-07 2022-09-16 北京达佳互联信息技术有限公司 Video data acquisition method, device, equipment and medium
CN115065862B (en) * 2022-06-07 2024-01-19 北京达佳互联信息技术有限公司 Video data acquisition method, device, equipment and medium

Similar Documents

Publication Publication Date Title
US11172042B2 (en) Platform-independent application publishing to a front-end interface by encapsulating published content in a web container
CN104965848B (en) A kind of front end resource loading method and device
US11611633B2 (en) Systems and methods for platform-independent application publishing to a front-end interface
EP3714604A1 (en) Publication of applications using server-side virtual screen change capture
CN110096660A (en) Method, apparatus and electronic equipment for loading page picture
CN104978358B (en) The method and intercepting page segment of desktop presentation web page fragments are to desktop presentation system
CN105721462A (en) Information pushing method and device
CN103139137B (en) Network service provider method and device
CN103699635B (en) Information processing method and device
CN105284075A (en) Optimizing loading of web page based on aggregated user preferences for web page elements of web page
WO2018107628A1 (en) Display method and device
CN103067423A (en) Browser kernel adaption method and browser
CN102904959A (en) Network accelerating method and gateway
CN103412896A (en) Browser resource showing method and system
EP4113985A1 (en) Multimedia conference data processing method and apparatus, and electronic device
CN109510881A (en) Method, apparatus, electronic equipment and the readable storage medium storing program for executing of sharing files
CN112312222A (en) Video sending method and device and electronic equipment
CN111694757A (en) Application program testing method and device, electronic equipment and computer readable storage medium
CN105721604A (en) Data sending method and device based on downloading request of user
CN108334516A (en) Information-pushing method and device
CN112965673A (en) Content printing method, device, equipment and storage medium
CN102469109B (en) Display method of browser homepage in mobile terminal and apparatus thereof
CN105656921A (en) Data transmission method, apparatus and device
CN105743890A (en) Authority information generation method and device
CN112203158B (en) Image display method, device, system, equipment and medium

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20160629

RJ01 Rejection of invention patent application after publication