CN102355327B - Method, device and equipment for determining data transmission timeout duration - Google Patents

Method, device and equipment for determining data transmission timeout duration Download PDF

Info

Publication number
CN102355327B
CN102355327B CN201110249394.0A CN201110249394A CN102355327B CN 102355327 B CN102355327 B CN 102355327B CN 201110249394 A CN201110249394 A CN 201110249394A CN 102355327 B CN102355327 B CN 102355327B
Authority
CN
China
Prior art keywords
transmission
data transfer
time
data
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
CN201110249394.0A
Other languages
Chinese (zh)
Other versions
CN102355327A (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.)
Baidu Online Network Technology Beijing Co Ltd
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 CN201110249394.0A priority Critical patent/CN102355327B/en
Publication of CN102355327A publication Critical patent/CN102355327A/en
Application granted granted Critical
Publication of CN102355327B publication Critical patent/CN102355327B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention aims to provide a method and equipment for determining data transmission timeout duration. In the method, a timeout duration determination device acquires transmission rate corresponding to a data transmission request according to a network type of a network by acquiring the data transmission request transmitted by transmission equipment based on the network, and further determines data transmission timeout duration corresponding to the data transmission request according to data transmission quantity and the transmission rate in the data transmission request. Compared with the prior art, the invention has the advantage that by dynamically regulating the timeout duration of the data transmission, the timeout waiting time of the transmission equipment in a network environment with higher network transmission speed is shortened, and furthermore, the timeout processing efficiency is increased and the user experience of users is promoted.

Description

A kind of method, device and equipment for determining data transmission timeout duration
Technical field
The present invention relates to computer communication field, particularly relate to a kind of technology determining data transmission timeout duration.
Background technology
In the prior art, mobile terminal uses fixing network timeout period when transmitting data based on dissimilar network, general use network transmission speed is slower, the network types such as such as cmwap, network timeout period, if this, in network transmission speed faster network, as 3G network, due to burst reason during the network connection interruption of the mobile terminal that causes and the network equipment, this mobile terminal still needs longer fixed network time-out time by the time just can obtain the information of network timeout, thus adds the mobile terminal unnecessary stand-by period.
Therefore, how effectively to determine data transmission timeout duration, become one of current problem demanding prompt solution.
Summary of the invention
The object of this invention is to provide a kind of in a network for determining the method and apparatus of data transmission timeout duration.
According to an aspect of the present invention, provide a kind of in a network for determining the method for data transmission timeout duration, the method comprises the following steps:
A obtains transmission equipment data transfer request of carrying out transmitting Network Based;
B, according to described network of network type, obtains the transmission rate corresponding with described data transfer request;
C, according to the volume of transmitted data in described data transfer request and described transmission rate, determines the data transmission timeout duration corresponding with this data transfer request.
According to a further aspect in the invention, additionally provide a kind of in a network for determining the device of data transmission timeout duration, this device comprises:
Acquisition request device, for obtaining transmission equipment data transfer request of carrying out transmitting Network Based;
Transmission rate acquisition device, for according to described network of network type, obtains the transmission rate corresponding with described data transfer request;
First determining device, for according to the volume of transmitted data in described data transfer request and described transmission rate, determines the data transmission timeout duration corresponding with this data transfer request.
Compared with prior art, the time-out time that the present invention is transmitted by dynamic adjusting data, thus, shortens the waiting-timeout time of transmission equipment in network transfer speeds faster network environment, and then improves timeout treatment efficiency, promote user's experience.
Accompanying drawing explanation
By reading the detailed description done non-limiting example done with reference to the following drawings, other features, objects and advantages of the present invention will become more obvious:
Fig. 1 illustrate according to one aspect of the invention really given data transmission time-out time device schematic diagram;
Fig. 2 illustrates in accordance with a preferred embodiment of the present invention the device schematic diagram of given data transmission time-out time really;
Fig. 3 illustrate according to another preferred embodiment of the present invention really given data transmission time-out time device schematic diagram;
Fig. 4 illustrates according to a further aspect of the present invention the method flow diagram of given data transmission time-out time really
Fig. 5 illustrates in accordance with a preferred embodiment of the present invention the method flow diagram of given data transmission time-out time really;
Fig. 6 illustrates in accordance with a preferred embodiment of the present invention the method flow diagram of given data transmission time-out time really.
In accompanying drawing, same or analogous Reference numeral represents same or analogous parts.
Embodiment
Below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 illustrates the device schematic diagram according to one aspect of the invention determination data transmission timeout duration.Time-out time determining device 1 comprises acquisition request device 11, transmission rate acquisition device 12 and the first determining device 13.At this, time-out time determining device 1 can be arranged in subscriber equipment, also the network equipment can be arranged in, wherein subscriber equipment includes but not limited to that any one can to carry out the electronic product of man-machine interaction, such as computer, smart mobile phone, PDA, PSP or IPTV etc. with user by keyboard, remote controller, touch pad or voice-operated device; The network equipment includes but not limited to computer, network host, network base station, router etc.
Be described in detail according to one embodiment of the invention based on Fig. 1 below.As shown in Figure 1, first, acquisition request device 11 obtains transmission equipment data transfer request of carrying out transmitting Network Based.
Particularly, acquisition request device 11 termly or event of answering trigger and obtain transmission equipment data transfer request of carrying out transmitting Network Based in real time, wherein said data transfer request includes but not limited to data waiting for transmission, the target device etc. of data volume waiting for transmission, transfer of data.
Wherein, described network includes but not limited to: the Internet, wide area network, metropolitan area network, local area network (LAN), VPN, wireless self-organization network (Ad Hoc network) etc.
Below, we are arranged in transmission equipment for time-out time determining device 1, set forth various embodiments of the present invention.But those skilled in the art will be understood that this time-out time determining device 1 also can be arranged in other subscriber equipmenies or the network equipment.
In one example, acquisition request device 11 event of answering obtains the data transfer request of transmission equipment with triggering.First, user, by the interactive device of this transmission equipment, includes but not limited to keyboard, mouse, remote controller, touch pad or handwriting equipment, in browser software, application program or client software, input data waiting for transmission; For keyboard, user is by the client software in this transmission equipment, data waiting for transmission are inputted in the input frame of this client software, and by click " transmissions " button or other mode trigger communication equipment generation by this transfer of data waiting for transmission to the data transfer request of target device, comprise the information such as these data waiting for transmission and described target device in this data transfer request.Then, transmission equipment calls the communication mode of API (API) that time-out time determining device 1 provides or other agreements by one or many, as bus communication etc., sends this data transfer request to time-out time determining device 1.Acquisition request device 11 in time-out time determining device 1, by interception request message, receives this data transfer request in real time.
In another example, acquisition request device 11 to send to the request apparatus for initiating (not shown) of transmission equipment and obtains the request message of data transfer request by calling predetermined API (API) in transmission equipment inside termly, and receives the data transfer request that this request apparatus for initiating returns in response to this request message.
Those skilled in the art will be understood that the mode of above-mentioned acquisition data transfer request is only citing; the mode of other acquisition data transfer request that are existing or that may occur from now on is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
Then, transmission rate acquisition device 12, according to network of network type used, obtains the transmission rate corresponding with described data transfer request.
Particularly, the data transfer request that transmission rate acquisition device 12 obtains according to acquisition request device 11, obtains the target device information in this data transfer request; Then, determined between transmission equipment and target device, transmit this data transfer request network of network type used by described target device information; Subsequently, the scheduled transmission speed of this network type is obtained, as the transmission rate corresponding with this data transfer request.Wherein, the mode obtaining this scheduled transmission speed includes but not limited to:
1) from other network equipments, this scheduled transmission speed is obtained;
2) from transmission equipment, obtain this scheduled transmission speed, such as, carry out inquiring about obtaining in the local storage of transmission equipment.
At this, described network type includes but not limited to: GPRS (cmnet, cmwap), GSM, CDMA, WCDMA, WIFI etc.
In one example, the data transfer request that transmission rate acquisition device 12 obtains according to acquisition request device 11, extract the target device information in this data transfer request, and using this target device information as parameter, the API that transmission equipment provides is called, to obtain the network type used to this target device transmission data according to the mode of agreement.Then, transmission rate acquisition device 12 is according to this network type, in the network information database of this transmission equipment, inquiry obtains the scheduled transmission speed corresponding with this network type, and this scheduled transmission speed is back to transmission rate acquisition device 12 as the transmission rate corresponding with this data transfer request.Wherein, described network information database comprises the information such as scheduled transmission speed, current network signal strength signal intensity, current network flow size of network type and correspondence thereof.
Those skilled in the art will be understood that the mode of above-mentioned acquisition transmission rate is only citing; the mode of other acquisition transmission rates that are existing or that may occur from now on is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
Subsequently, the first determining device 13, according to the volume of transmitted data in described data transfer request and described transmission rate, determines the data transmission timeout duration corresponding with this data transfer request.
Particularly, the transmission rate that the volume of transmitted data comprised in the data transfer request that first determining device 13 obtains according to acquisition request device 11 and transmission rate acquisition device 12 obtain, determine the data transmission timeout duration corresponding with this data transfer request, wherein, describedly determine that the mode of data transmission timeout duration includes but not limited to:
1) undertaken the account form such as removing by volume of transmitted data and transmission rate, determine data transmission timeout duration;
Such as, the transmission rate obtained when transmission rate acquisition device 12 is 800kbps, first determining device 13 is according to the volume of transmitted data 2mb (=2048kb) comprised in transmission request, pass through computing formula: time-out time=volume of transmitted data/transmission rate, determine that data transmission timeout duration is 2.56s (=2048kb/800kbps).
2) according to volume of transmitted data and the transmission rate of data transfer request, the reference time-out time corresponding with this data transfer request is determined; Then, according to this reference time-out time, and in conjunction with the state information of described network, determine described data transmission timeout duration.
Those skilled in the art also will be understood that the mode of above-mentioned acquisition data transmission timeout duration is only citing; the mode of other acquisition data transmission timeout duration that are existing or that may occur from now on is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
Preferably, acquisition request device 11, be work continuously between transmission rate acquisition device 12 and the first determining device 13.Particularly, acquisition request device 11 obtains transmission equipment data transfer request of carrying out transmitting Network Based constantly; Then, transmission rate acquisition device 12, also constantly according to described network of network type, obtains the transmission rate corresponding with described data transfer request; Subsequently, the first determining device 13 also constantly according to the volume of transmitted data in described data transfer request and described transmission rate, determines the data transmission timeout duration corresponding with this data transfer request.At this, it will be understood by those skilled in the art that " continuing " refers to that each device constantly carries out the determination of the acquisition of above-mentioned data transfer request, the acquisition of transmission rate and data transmission timeout duration, until meet predetermined stoppage condition, such as acquisition request device 11 stops the acquisition to data transfer request in a long time.
Preferably, transmission rate acquisition device 12 according to described network of network type, in conjunction with the relevant information of described transmission equipment, can obtain described transmission rate.
Particularly, transmission rate acquisition device 12, according to network of network type used, obtains the scheduled transmission speed corresponding with this network type from the network information database of this transmission equipment; Then, according to set rate regulation rule, and based on the relevant information of this transmission equipment, this scheduled transmission speed is adjusted, to obtain the transmission rate corresponding with data transfer request.Wherein, the relevant information of described transmission equipment includes but not limited to:
1) the historic transmission record of described transmission equipment;
Particularly, transmission rate acquisition device 12, according to network type, obtains the scheduled transmission speed corresponding with this network type from the network information database of transmission equipment; Then, according to obtained scheduled transmission speed, and in conjunction with the historic transmission record of transmission equipment, obtain the transmission rate corresponding with this data transfer request.Wherein, described obtain manner includes but not limited to:
There is with this data transfer in-extraction historic transmission record the historical data transmission rate of a up-to-date data transfer of identical network type; Subsequently, according to predetermined Weighted Rule, this historical data transmission rate and this scheduled transmission speed are weighted, to obtain the transmission rate of this data transfer;
2) the transmission performance parameter of described transmission equipment;
Particularly, transmission rate acquisition device 12, according to network of network type used, obtains the scheduled transmission speed corresponding with this network type from the network information database of transmission equipment; Then, according to set rate regulation rule, based on the transmission performance parameter of transmission equipment, adjust the scheduled transmission speed of this data transfer, to obtain transmission rate.Particularly, this set rate regulation rule includes but not limited to:
A is when the transmission performance parameter of described transmission equipment is higher than predetermined reference performance index, then transmission rate acquisition device 12 can determine corresponding speed amplification according to both differences, and in this scheduled transmission rate basis, increase this speed amplification, using the transmission rate as this data transfer;
B is when the transmission performance parameter of described transmission equipment is lower than predetermined reference performance index, then transmission rate acquisition device 12 can determine corresponding speed amount of decrease according to both differences, in this scheduled transmission rate basis, this speed amount of decrease is reduced, using the transmission rate as this data transfer by set rate regulation rule.
Those skilled in the art will be understood that the relevant information of above-mentioned two transmission equipments not only can obtain described transmission rate for transmission rate acquisition device 12 separately, these two combinations can also be used for transmission rate acquisition device 12 and obtain described transmission rate.
Those skilled in the art also will be understood that the relevant information of above-mentioned transmission equipment is only citing; the relevant information of other transmission equipments that are existing or that may occur from now on is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
In one example, when network of network type used is WCDMA network, transmission rate acquisition device 12 is according to this network type, in the network information database of transmission equipment, inquiry obtains the scheduled transmission speed corresponding with this network type is 800kbps, and this transmission rate acquisition device 12 is according to this network type, matching inquiry is carried out in the historic transmission record storehouse of transmission equipment, the historical data transmission rate obtaining a up-to-date data transfer of carrying out based on WCDMA network is 400kbps, if the weight of this scheduled transmission speed is 0.6 in predetermined Weighted Rule, the weight of this up-to-date historical data transmission rate is 0.4, then transmission rate acquisition device 12 obtains the transmission rate of this data transfer is 640kbps (=800kbps × 0.6+400kbps × 0.4).Wherein, described historic transmission record storehouse comprises the network type of this transmission equipment historical data transmission and the historical data transmission rate etc. of correspondence thereof.
In another example, when network of network type used is WCDMA, transmission rate acquisition device 12 obtains and the scheduled transmission speed corresponding to this network type according to this network type, illustrate that its predetermined upstream rate is 480kbp, and transmission rate acquisition device 12 is according to this network type, inquire about in the performance parameter storehouse of this transmission equipment, obtain the transmission performance parameter of this transmission equipment, illustrate that the highest upstream rate of this transmission equipment is 256kbps, highest downlink speed is 512kbps, if set rate regulation rule is for transmission rate with the highest upstream rate shown in transmission performance parameter, then transmission rate acquisition device 12 obtains the transmission rate of this data transfer is 256kbps.Wherein, described performance parameter storehouse comprises the configuration parameter information, performance parameter information etc. of transmission equipment.
Preferably, transmission rate acquisition device 12 also according to the historic transmission record of transmission equipment, directly can obtain the transmission rate corresponding with data transfer request; Such as, transmission rate acquisition device 12 extracts the historical data transmission rate of the repeatedly transfer of data with this data transfer in historic transmission record with identical network type, calculate the mean value obtaining this repeatedly historic transmission speed, i.e. average historical data transmission rate, and using the transmission rate of this average historical data transmission rate as this data transfer.
At this, those skilled in the art will be understood that described network information database, described historic transmission record storehouse, described performance parameter storehouse both for separate database, also can be able to be integrated in as same database.
At this, it should be noted that, the every numerical value in above-mentioned citing is only the example of illustration, and for reader understanding the present invention, the True Data not during practical application, should not be considered as any restriction to present patent application protection range.If no special instructions, the function of other local numerical value occurred is with identical herein herein, for simplicity's sake, repeats no more.
Fig. 2 illustrates in accordance with a preferred embodiment of the present invention the device schematic diagram of given data transmission time-out time really.
The relevant information of described transmission equipment comprises the historic transmission record of described transmission equipment, and wherein, time-out time determining device 1 also comprises base station determining device 14 ' and record acquisition device 15 '; Base station determining device 14 ' determines the transmission base station belonging to this transmission equipment; Record acquisition device 15 ' obtains the described historic transmission record between this transmission base station and this transmission equipment; Transmission rate acquisition device 12 ', according to described network of network type, in conjunction with described historic transmission record, obtains described transmission rate.At this, device 11 ' shown in Fig. 2 with identical with the content of 13 with reference to the device 11 described by Fig. 1 above with 13 ', for simplicity's sake, be contained in this with way of reference, and do not repeat.
Particularly, base station determining device 14 ', by specific location technology, obtains the geographical location information at transmission equipment place.Wherein, described location technology includes but not limited to:
1) global positioning system (GPS) location is carried out to the position at this transmission equipment place;
2) utilize the measuring and calculating of one or more base station of mobile operation network and the spacing of this transmission equipment, carry out the location of transmission equipment.
At this, described positional information includes but not limited to:
1) absolute geographical location information, as longitude, the latitude coordinates at this transmission equipment place;
2) the relative geographical location information at this transmission equipment place, as " being positioned at Haidian District, Beijing City and Chaoyang District intersection ".
Then, this base station determining device 14 ', according to this geographical location information, determines the transmission base station belonging to this transmission equipment.Wherein, describedly determine that transmitting the mode of base station includes but not limited to:
1) obtain to determine from the local data base of transmission equipment or from third party device;
2) determine the base station between transmission equipment and base station with minimum measuring and calculating distance, be the transmission base station that this transmission equipment carries out transfer of data.
In one example, base station determining device 14 ' is according to GPS location, and the geographical location information obtaining transmission equipment place is " No. 1, East Chang'an Avenue, Dongcheng District, Beijing ".Then, base station determining device 14 ' is according to this geographical location information, by calling the API (API) that third party device provides, in the base station data storehouse of this third party device, carrying out matching inquiry, determine the base station corresponding with this geographical location information.Wherein, the base station that comprises transfer of data, described base station data storehouse and the geographical location information etc. that covers thereof.
Subsequently, record acquisition device 15 ' is from the fixed transmission base station information corresponding with transmission equipment geographic location information, extract the mark of this transmission base station, and according to the mark of this transmission base station, matching inquiry in the historic transmission record storehouse of this transmission equipment, obtains the historic transmission record between this transmission base station and this transmission equipment.Subsequently, transmission rate acquisition device 12 ' according to network of network type, and in conjunction with this historic transmission record, obtains the transmission rate of this data transfer.At this, described historic transmission record storehouse comprises the transmission rate etc. that the historical data between transmission base station and transmission equipment is transmitted.
Those skilled in the art will be understood that and above-mentionedly determine to transmit base station and/or obtain historic transmission record and/or obtain the mode of transmission rate to be only citing; the mode of other determination transmission base stations that are existing or that may occur from now on and/or acquisition historic transmission record and/or acquisition transmission rate is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
Fig. 3 illustrate according to another preferred embodiment of the present invention really given data transmission time-out time device schematic diagram.
As shown in Figure 3, the first determining device 13 of time-out time determining device 1 " comprise reference time determining unit 131 " and time determining unit 132 ".Wherein, reference time determining unit 131 " according to the volume of transmitted data of described data transfer request and described transmission rate, determine the reference time-out time corresponding with this data transfer request; Then, time determining unit 132 " according to described reference time-out time, in conjunction with the state information of described network, determine described data transmission timeout duration.At this, device 11 shown in Fig. 3 " with 12 ", with identical with the content of 12 with reference to the device 11 described by Fig. 1 above, for simplicity's sake, be contained in this with way of reference, and do not repeat.
More specifically, reference time determining unit 131 " according to acquisition request device 11 " volume of transmitted data that comprises in the data transfer request that obtains and transmission rate acquisition device 12 " transmission rate that obtains; removed by this volume of transmitted data and this transmission rate, determine that this transfer of data is with reference to time-out time; Then, time determining unit 132 " according to reference time determining unit 131 " the reference time-out time determined, in conjunction with the state information of network, according to predetermined time-out time regulation rule, as modes such as weightings, determine data transmission timeout duration, wherein, the state information of described network includes but not limited to:
1) signal strength signal intensity of described network; Such as, network signal strength signal intensity, time determining unit 132 " adjustable with reference to time-out time to determine data transmission timeout duration:
A exceedes certain signal threshold value when network signal intensity, can shorten with reference to time-out time using as data transmission timeout duration by predetermined time-out time regulation rule;
B, when network signal intensity is lower than certain signal threshold value, can increase with reference to time-out time by predetermined time-out time regulation rule using as data transmission timeout duration.
2) described network of network flow; Such as, network network traffics, time determining unit 132 " adjustable with reference to time-out time to determine data transmission timeout duration:
A, when network traffics are lower than certain flow threshold, can shorten with reference to time-out time by predetermined time-out time regulation rule using as data transmission timeout duration;
B, when network traffics exceed certain flow threshold, can increase with reference to time-out time by predetermined time-out time regulation rule using as data transmission timeout duration.
Those skilled in the art will be understood that above-mentioned two network state informations not only can separately for time determining unit 132 " determine data transmission timeout duration, these two combinations can also be used for time determining unit 132 " determine data transmission timeout duration.
Those skilled in the art will be understood that the state information of above-mentioned network is only citing; the state information of other networks that are existing or that may occur from now on is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
In one example, when network type is GPRS network, scheduled transmission speed is 140kbps, the volume of transmitted data 700kb comprised in data transfer request, then reference time determining unit 131 " determine that with reference to time-out time be 5s (=700k/140kbps) by calculating; Then, time determining unit 132 " according to the mode of arranging; in the network information database of transmission equipment, inquiry obtains current network signal intensity is 60% of ideal network signal strength signal intensity; then according to predetermined time-out time regulation rule; increase 1s, by 6s as the data transmission timeout duration corresponding with this data transfer request with reference to time-out time.
In another example, when network type is cdma network, transmission rate is 256kbps, the volume of transmitted data 2mb (=2048kb) comprised in transmission request, then reference time determining unit 131 " determine that with reference to time-out time be 8s (=2048kb/256kbps) by calculating; Then, time determining unit 132 " according to the mode of agreement; in the network information database of transmission equipment, inquiry obtains the flow of current network is 240kbps; and these current network traffics are less than predetermined amount of flow threshold value 256kbps; then according to predetermined time-out time regulation rule; increase 1s with reference to time-out time, by 9s as the corresponding data transmission timeout duration of this data transfer request.
Those skilled in the art will be understood that and above-mentionedly determine with reference to time-out time and/or determine that the mode of data transmission timeout duration is only citing; other determinations that are existing or that may occur from now on are with reference to time-out time and/or determine that the mode of data transmission timeout duration is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
In a preferred embodiment (with reference to Fig. 1), time-out time determining device 1 also comprises processing unit (not shown), processing unit exceedes described data transmission timeout duration when the actual data transfer time corresponding to described data transfer request, according to predetermined process rule, described data transfer request is processed.
Be described in detail this another preferred embodiment referring to Fig. 1, wherein, acquisition request device 11 obtains transmission equipment data transfer request of carrying out transmitting Network Based; Then, transmission rate acquisition device 12, according to described network of network type, obtains the transmission rate corresponding with described data transfer request; Subsequently, the first determining device 13, according to the volume of transmitted data in described data transfer request and described transmission rate, determines the data transmission timeout duration corresponding with this data transfer request.Above-mentioned acquisition request device 11, transmission rate acquisition device 12 and the detailed process performed by the first determining device 13 and aforementioned identical with the process performed by the first determining device 13 with reference to acquisition request device 11 in the embodiment described by Fig. 1, transmission rate acquisition device 12, for simplicity's sake, be contained in this with way of reference, and do not repeat.
Particularly, transmission equipment sends data transfer request to target device, the API (API) that processing unit is provided by this transmission equipment, whether this target device of real-time monitoring returns the receiving feedback information to this data transfer request to this transmission equipment, when processing unit does not monitor the receiving feedback information obtained from this target device in the data transmission timeout duration that the first determining device 13 obtains, namely the actual data transfer time corresponding to data transfer request exceedes data transmission timeout duration, then according to predetermined process rule, described data transfer request is processed.Wherein, described predetermined process rule includes but not limited to following at least any one:
1) new data transfer request is generated, to re-start transfer of data;
Particularly, when the actual data transfer time corresponding to data transfer request exceedes data transmission timeout duration, processing unit generates new data transfer request, to re-start transfer of data.Wherein, the mode re-starting transfer of data according to data transfer request includes but not limited to following two kinds of situations:
A processing unit generates overtime information, and by the technological means of this overtime information by adopting any known computer to provide people's readable information, the such as mode such as screen display, loud speaker broadcasting, user is provided to by transmission equipment, and then according to user instruction, determine whether again initiate data transfer request, or continue to send data based on this data transfer request;
B processing unit generates new data transfer request afterwards automatically in transfer of data time-out, re-starts transfer of data.
2) described data transfer request is abandoned;
Particularly, when the actual data transfer time corresponding to data transfer request exceedes data transmission timeout duration, processing unit abandons this data transfer request, to ensure fail safe and the security requirements of transfer of data.
Those skilled in the art will be understood that above-mentioned predetermined process rule is only citing, and other predetermined process rules that are existing or that may occur from now on, as being applicable to the present invention, within also should being included in scope, and are contained in this at this with way of reference.
In one example, when transmission equipment is mobile phone, this mobile phone is to target device, as the webserver, send data transfer request, the API (API) that processing unit is provided by this transmission equipment, monitor this webserver in real time whether to return to this mobile phone and confirm to this data transfer the feedback information that finishes receiving, when processing unit in data transmission timeout duration monitoring obtain the feedback information finished receiving from the confirmation of this webserver, then processing unit generates new data transfer request automatically, again to carry out transfer of data to this webserver.
Preferably, when the actual data transfer time corresponding to data transfer request exceedes data transmission timeout duration, and the number of times that transmission equipment re-starts this transfer of data is not when exceeding the predetermined threshold value of the number of transmissions again, after a time out, processing unit generates new data transfer request automatically to re-start transfer of data; If when the number of times that transmission equipment re-starts this transfer of data exceedes the predetermined threshold value of the number of transmissions again, then processing unit directly abandons this data transfer request.
Those skilled in the art will be understood that the above-mentioned mode that processes data transfer request or predetermined process rule are only citing; other existing or modes processed data transfer request that may occur from now on and predetermined process rule are as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
In another preferred embodiment (with reference to Fig. 1), time-out time determining device 1 also comprises generator (not shown), and wherein, acquisition request device 11 obtains the described data transfer request that user is inputted by transmission equipment; Transfer of data result corresponding to described data transfer request is supplied to described user by generator.
Referring to Fig. 1, this another preferred embodiment is described in detail, wherein, transmission rate acquisition device 12 is according to described network of network type, obtain the transmission rate corresponding with described data transfer request, subsequently, first determining device 13, according to the volume of transmitted data in described data transfer request and described transmission rate, determines the data transmission timeout duration corresponding with this data transfer request.Above-mentioned transmission rate acquisition device 12 is identical with the process performed by the first determining device 13 with transmission rate acquisition device 12 in the embodiment described by the detailed process performed by the first determining device 13 and aforementioned reference Fig. 1, for simplicity's sake, be contained in this with way of reference, and do not repeat.
Particularly, acquisition request device 11 such as answers the transmit operation of user on transmission equipment to obtain data transfer request with triggering; The API (API) that generator is provided by transmission equipment, ground is triggered based on predetermined condition or event, or monitoring objective equipment returns the transfer of data result corresponding with this data transfer request to this transmission equipment termly, as this data transfer confirms the feedback information that finishes receiving, and by this transfer of data result, adopt any known computer to provide the technological means of people's readable information, such as screen display, loud speaker broadcasting etc., be supplied to this user.
In one example, target device is the webserver, and first, acquisition request device 11 obtains the data transfer request that user is sent by transmission equipment; Then, the API (API) that generator is provided by this transmission equipment, monitor the feedback information that this webserver confirms to this data transfer that this transmission equipment returns to finish receiving in real time, and by this feedback information, any known transmission equipment is adopted to provide the technological means of people's readable information, such as screen display, loud speaker broadcasting etc., be supplied to this user by this transmission equipment.For screen display, the feedback information that this webserver returns by generator, utilizes the communication mode of agreement, is supplied to this transmission equipment in certain sequence, browses for user with form.
Those skilled in the art will be understood that above-mentioned acquisition data transfer request or provide the mode of transfer of data result to be only citing; other acquisition data transfer request that are existing or that may occur from now on and provide the mode of transfer of data result as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
Preferably, time-out time determining device 1 also comprises updating device (not shown), and updating device, according to described transfer of data result, is set up or upgrades described historic transmission record.Particularly, updating device is provided to the transfer of data result of user according to generator, extract transmission equipment wherein carry out this transfer of data use the information such as the transmission base station that in the actual transfer rate of network of network type, this transfer of data and this data transmission procedure, transmission equipment uses, and these information are written in historic transmission record storehouse, to upgrade this historic transmission record; If detect, historic transmission record storehouse is not set up, then this historic transmission record storehouse of leading initialization, then described information is written in this historic transmission record storehouse.Those skilled in the art will be understood that the mode of above-mentioned foundation or renewal historic transmission record is only citing; the mode of other foundation that are existing or that may occur from now on or renewal historic transmission record is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
Fig. 4 illustrates the method flow diagram according to one aspect of the invention determination data transmission timeout duration.At this, time-out time determining device 1 can be arranged in subscriber equipment, also the network equipment can be arranged in, wherein subscriber equipment includes but not limited to that any one can to carry out the electronic product of man-machine interaction, such as computer, smart mobile phone, PDA, PSP or IPTV etc. with user by keyboard, remote controller, touch pad or voice-operated device; The network equipment includes but not limited to computer, network host, network base station, router etc.
Be described in detail according to one embodiment of the invention based on Fig. 4 below.As shown in Figure 4, first, in step sl, time-out time determining device 1 obtains transmission equipment data transfer request of carrying out transmitting Network Based.
Particularly, in step sl, time-out time determining device 1 termly or event of answering trigger and obtain transmission equipment data transfer request of carrying out transmitting Network Based in real time, wherein said data transfer request includes but not limited to data waiting for transmission, the target device etc. of data volume waiting for transmission, transfer of data.
Wherein, described network includes but not limited to: the Internet, wide area network, metropolitan area network, local area network (LAN), VPN, wireless self-organization network (Ad Hoc network) etc.
Below, we are arranged in transmission equipment for time-out time determining device 1, as shown in Figure 1, set forth various embodiments of the present invention.But those skilled in the art will be understood that this time-out time determining device 1 also can be arranged in other subscriber equipmenies or the network equipment.
In one example, in step sl, time-out time determining device 1 event of answering obtains the data transfer request of transmission equipment with triggering.First, user, by the interactive device of this transmission equipment, includes but not limited to keyboard, mouse, remote controller, touch pad or handwriting equipment, in browser software, application program or client software, input data waiting for transmission; For keyboard, user is by the client software in this transmission equipment, data waiting for transmission are inputted in the input frame of this client software, and by click " transmissions " button or other mode trigger communication equipment generation by this transfer of data waiting for transmission to the data transfer request of target device, comprise the information such as these data waiting for transmission and described target device in this data transfer request.Then, transmission equipment calls the communication mode of API (API) that time-out time determining device 1 provides or other agreements by one or many, as bus communication etc., sends this data transfer request to time-out time determining device 1.Time-out time determining device 1, by interception request message, receives this data transfer request in real time.
In another example, in step sl, time-out time determining device 1 to send to the request initiation module (not shown) of transmission equipment and obtains the request message of data transfer request by calling predetermined API (API) in transmission equipment inside termly, and receives the data transfer request that this request initiation module returns in response to this request message.
Those skilled in the art will be understood that the mode of above-mentioned acquisition data transfer request is only citing; the mode of other acquisition data transfer request that are existing or that may occur from now on is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
Then, in step s 2, time-out time determining device 1, according to network of network type used, obtains the transmission rate corresponding with described data transfer request.
Particularly, in step s 2, the data transfer request that time-out time determining device 1 obtains in step sl according to it, obtains the target device information in this data transfer request; Then, determined between transmission equipment and target device, transmit this data transfer request network of network type used by described target device information; Subsequently, the scheduled transmission speed of this network type is obtained, as the transmission rate corresponding with this data transfer request.Wherein, the mode obtaining this scheduled transmission speed includes but not limited to:
1) from other network equipments, this scheduled transmission speed is obtained;
2) from transmission equipment, obtain this scheduled transmission speed, such as, carry out inquiring about obtaining in the local storage of transmission equipment.
At this, described network type includes but not limited to: GPRS (cmnet, cmwap), GSM, CDMA, WCDMA, WIFI etc.
In one example, in step s 2, the data transfer request that time-out time determining device 1 obtains in step sl according to it, extract the target device information in this data transfer request, and using this target device information as parameter, the API that transmission equipment provides is called, to obtain the network type used to this target device transmission data according to the mode of agreement.Then, time-out time determining device 1 is according to this network type, in the network information database of this transmission equipment, inquiry obtains the scheduled transmission speed corresponding with this network type, and this scheduled transmission speed is back to time-out time determining device 1 as the transmission rate corresponding with this data transfer request.Wherein, described network information database comprises the information such as scheduled transmission speed, current network signal strength signal intensity, current network flow size of network type and correspondence thereof.
Those skilled in the art will be understood that the mode of above-mentioned acquisition transmission rate is only citing; the mode of other acquisition transmission rates that are existing or that may occur from now on is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
Subsequently, in step s3, time-out time determining device 1, according to the volume of transmitted data in described data transfer request and described transmission rate, determines the data transmission timeout duration corresponding with this data transfer request.
Particularly, in step s3, time-out time determining device 1 is according to the volume of transmitted data comprised in its data transfer request obtained in step sl and the transmission rate obtained in step s 2 thereof, determine the data transmission timeout duration corresponding with this data transfer request, wherein, describedly determine that the mode of data transmission timeout duration includes but not limited to:
1) undertaken the account form such as removing by volume of transmitted data and transmission rate, determine data transmission timeout duration;
Such as, the transmission rate obtained in step s 2 when time-out time determining device 1 is 800kbps, in step s3, time-out time determining device 1 is according to the volume of transmitted data 2mb (=2048kb) comprised in transmission request, pass through computing formula: time-out time=volume of transmitted data/transmission rate, determine that data transmission timeout duration is 2.56s (=2048kb/800kbps).
2) according to volume of transmitted data and the transmission rate of data transfer request, the reference time-out time corresponding with this data transfer request is determined; Then, according to this reference time-out time, and in conjunction with the state information of described network, determine described data transmission timeout duration.
Those skilled in the art also will be understood that the mode of above-mentioned acquisition data transmission timeout duration is only citing; the mode of other acquisition data transmission timeout duration that are existing or that may occur from now on is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
Preferably, time-out time determining device 1 is work continuously in step S1, step S2 and step S3.Particularly, in step sl, time-out time determining device 1 obtains transmission equipment data transfer request of carrying out transmitting Network Based constantly; Then, in step s 2, time-out time determining device 1, also constantly according to described network of network type, obtains the transmission rate corresponding with described data transfer request; Subsequently, in step s3, time-out time determining device 1 also constantly according to the volume of transmitted data in described data transfer request and described transmission rate, determines the data transmission timeout duration corresponding with this data transfer request.At this, it will be understood by those skilled in the art that " continuing " refers to that each step constantly carries out the determination of the acquisition of above-mentioned data transfer request, the acquisition of transmission rate and data transmission timeout duration, until meet predetermined stoppage condition, such as time-out time determining device 1 stops the acquisition to data transfer request in a long time.
Preferably, in step s 2, time-out time determining device 1 according to described network of network type, in conjunction with the relevant information of described transmission equipment, can obtain described transmission rate.
Particularly, in step s 2, time-out time determining device 1, according to network of network type used, obtains the scheduled transmission speed corresponding with this network type from the network information database of this transmission equipment; Then, according to set rate regulation rule, and based on the relevant information of this transmission equipment, this scheduled transmission speed is adjusted, to obtain the transmission rate corresponding with data transfer request.Wherein, the relevant information of described transmission equipment includes but not limited to:
1) the historic transmission record of described transmission equipment;
Particularly, in step s 2, time-out time determining device 1, according to network type, obtains the scheduled transmission speed corresponding with this network type from the network information database of transmission equipment; Then, according to obtained scheduled transmission speed, and in conjunction with the historic transmission record of transmission equipment, obtain the transmission rate corresponding with this data transfer request.Wherein, described obtain manner includes but not limited to:
There is with this data transfer in-extraction historic transmission record the historical data transmission rate of a up-to-date data transfer of identical network type; Subsequently, according to predetermined Weighted Rule, this historical data transmission rate and this scheduled transmission speed are weighted, to obtain the transmission rate of this data transfer;
2) the transmission performance parameter of described transmission equipment;
Particularly, in step s 2, time-out time determining device 1, according to network of network type used, obtains the scheduled transmission speed corresponding with this network type from the network information database of transmission equipment; Then, according to set rate regulation rule, based on the transmission performance parameter of transmission equipment, adjust the scheduled transmission speed of this data transfer, to obtain transmission rate.Particularly, this set rate regulation rule includes but not limited to:
A is when the transmission performance parameter of described transmission equipment is higher than predetermined reference performance index, then time-out time determining device 1 can determine corresponding speed amplification according to both differences in step s 2, and in this scheduled transmission rate basis, increase this speed amplification, using the transmission rate as this data transfer;
B is when the transmission performance parameter of described transmission equipment is lower than predetermined reference performance index, then time-out time determining device 1 can determine corresponding speed amount of decrease according to both differences in step s 2, in this scheduled transmission rate basis, this speed amount of decrease is reduced, using the transmission rate as this data transfer by set rate regulation rule.
Those skilled in the art will be understood that, the relevant information of above-mentioned two transmission equipments not only can obtain described transmission rate for time-out time determining device 1 separately in step s 2, these two combinations can also be used for time-out time determining device 1 and obtain described transmission rate in step s 2.
Those skilled in the art also will be understood that the relevant information of above-mentioned transmission equipment is only citing; the relevant information of other transmission equipments that are existing or that may occur from now on is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
In one example, when network of network type used is WCDMA network, in step s 2, time-out time determining device 1 is according to this network type, in the network information database of transmission equipment, inquiry obtains the scheduled transmission speed corresponding with this network type is 800kbps, and this time-out time determining device 1 is according to this network type, matching inquiry is carried out in the historic transmission record storehouse of transmission equipment, the historical data transmission rate obtaining a up-to-date data transfer of carrying out based on WCDMA network is 400kbps, if the weight of this scheduled transmission speed is 0.6 in predetermined Weighted Rule, the weight of this up-to-date historical data transmission rate is 0.4, then time-out time determining device 1 obtains the transmission rate of this data transfer is 640kbps (=800kbps × 0.6+400kbps × 0.4).Wherein, described historic transmission record storehouse comprises the network type of this transmission equipment historical data transmission and the historical data transmission rate etc. of correspondence thereof.
In another example, when network of network type used is WCDMA, in step s 2, time-out time determining device 1 obtains and the scheduled transmission speed corresponding to this network type according to this network type, illustrate that its predetermined upstream rate is 480kbp, and time-out time determining device 1 is according to this network type, inquire about in the performance parameter storehouse of this transmission equipment, obtain the transmission performance parameter of this transmission equipment, illustrate that the highest upstream rate of this transmission equipment is 256kbps, highest downlink speed is 512kbps, if set rate regulation rule is for transmission rate with the highest upstream rate shown in transmission performance parameter, then time-out time determining device 1 obtains the transmission rate of this data transfer is 256kbps.Wherein, described performance parameter storehouse comprises the configuration parameter information, performance parameter information etc. of transmission equipment.
Preferably, in step s 2, time-out time determining device 1 also according to the historic transmission record of transmission equipment, directly can obtain the transmission rate corresponding with data transfer request; Such as, in step s 2, time-out time determining device 1 extracts the historical data transmission rate of the repeatedly transfer of data with this data transfer in historic transmission record with identical network type, calculate the mean value obtaining this repeatedly historic transmission speed, i.e. average historical data transmission rate, and using the transmission rate of this average historical data transmission rate as this data transfer.
At this, those skilled in the art will be understood that described network information database, described historic transmission record storehouse, described performance parameter storehouse both for separate database, also can be able to be integrated in as same database.
At this, it should be noted that, the every numerical value in above-mentioned citing is only the example of illustration, and for reader understanding the present invention, the True Data not during practical application, should not be considered as any restriction to present patent application protection range.If no special instructions, the function of other local numerical value occurred is with identical herein herein, for simplicity's sake, repeats no more.
Fig. 5 illustrates in accordance with a preferred embodiment of the present invention the method flow diagram of given data transmission time-out time really.
The relevant information of described transmission equipment comprises the historic transmission record of described transmission equipment, and wherein, the method also comprises step S4 ' and step S5 '; In step S4 ', time-out time determining device 1 determines the transmission base station belonging to this transmission equipment; In step S5 ', time-out time determining device 1 obtains the described historic transmission record between this transmission base station and this transmission equipment; In step S2 ', time-out time determining device 1, according to described network of network type, in conjunction with described historic transmission record, obtains described transmission rate.At this, step S1 ' shown in Fig. 5 and step S3 ', with identical with the content of step S3 with reference to the step S1 described by Fig. 4 above, for simplicity's sake, be contained in this with way of reference, and do not repeat.
Particularly, in step S4 ', time-out time determining device 1, by specific location technology, obtains the geographical location information at transmission equipment place.Wherein, described location technology includes but not limited to:
1) global positioning system (GPS) location is carried out to the position at this transmission equipment place;
2) utilize the measuring and calculating of one or more base station of mobile operation network and the spacing of this transmission equipment, carry out the location of transmission equipment.
At this, described positional information includes but not limited to:
1) absolute geographical location information, as longitude, the latitude coordinates at this transmission equipment place;
2) the relative geographical location information at this transmission equipment place, as " being positioned at Haidian District, Beijing City and Chaoyang District intersection ".
Then, in step S4 ', time-out time determining device 1, according to this geographical location information, determines the transmission base station belonging to this transmission equipment.Wherein, describedly determine that transmitting the mode of base station includes but not limited to:
1) obtain to determine from the local data base of transmission equipment or from third party device;
2) determine the base station between transmission equipment and base station with minimum measuring and calculating distance, be the transmission base station that this transmission equipment carries out transfer of data.
In one example, in step S4 ', time-out time determining device 1 is according to GPS location, and the geographical location information obtaining transmission equipment place is " No. 1, East Chang'an Avenue, Dongcheng District, Beijing ".Then, in step S4 ', time-out time determining device 1 is according to this geographical location information, by calling the API (API) that third party device provides, in the base station data storehouse of this third party device, carry out matching inquiry, determine the base station corresponding with this geographical location information.Wherein, the base station that comprises transfer of data, described base station data storehouse and the geographical location information etc. that covers thereof.
Subsequently, in step S5 ', time-out time determining device 1 is from the fixed transmission base station information corresponding with transmission equipment geographic location information, extract the mark of this transmission base station, and according to the mark of this transmission base station, matching inquiry in the historic transmission record storehouse of this transmission equipment, obtains the historic transmission record between this transmission base station and this transmission equipment.Subsequently, in step S2 ', time-out time determining device 1 according to network of network type, and in conjunction with this historic transmission record, obtains the transmission rate of this data transfer.At this, include but not limited in described historic transmission record storehouse: the transmission rate that the historical data between transmission base station and transmission equipment is transmitted.
Those skilled in the art will be understood that and above-mentionedly determine to transmit base station and/or obtain historic transmission record and/or obtain the mode of transmission rate to be only citing; the mode of other determination transmission base stations that are existing or that may occur from now on and/or acquisition historic transmission record and/or acquisition transmission rate is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
Fig. 6 illustrate according to another preferred embodiment of the present invention really given data transmission time-out time method flow diagram.
As shown in Figure 6, step S3 " also comprise step S31 " and step S32 ".In step S31 " in, time-out time determining device 1, according to the volume of transmitted data of described data transfer request and described transmission rate, determines the reference time-out time corresponding with this data transfer request; Then, in step S32 " in, time-out time determining device 1 with reference to time-out time, in conjunction with the state information of described network, determines described data transmission timeout duration according to described.At this, step S1 shown in Fig. 6 " with step S2 " with identical with step S2 content with reference to the step S 1 described by Fig. 4 above, for simplicity's sake, be contained in this with way of reference, and do not repeat.
More specifically, in step S31 " in; time-out time determining device 1 according to it in step S 1 " in the data transfer request that obtains the volume of transmitted data that comprises and in step S2 " in the transmission rate that obtains; removed by this volume of transmitted data and this transmission rate, determine this transfer of data reference time-out time; Then, in step S32 " in; time-out time determining device 1 according to it in step S31 " in the reference time-out time determined, in conjunction with the state information of network, according to predetermined time-out time regulation rule, as modes such as weightings, determine data transmission timeout duration, wherein, the state information of described network includes but not limited to:
1) signal strength signal intensity of described network; Such as, network signal strength signal intensity, in step S32 " in, time-out time determining device 1 adjustable reference time-out time is to determine data transmission timeout duration:
A exceedes certain signal threshold value when network signal intensity, can shorten with reference to time-out time using as data transmission timeout duration by predetermined time-out time regulation rule;
B, when network signal intensity is lower than certain signal threshold value, can increase with reference to time-out time by predetermined time-out time regulation rule using as data transmission timeout duration.
2) described network of network flow; Such as, network network traffics, in step S32 " in, time-out time determining device 1 adjustable reference time-out time is to determine data transmission timeout duration:
A, when network traffics are lower than certain flow threshold, can shorten with reference to time-out time by predetermined time-out time regulation rule using as data transmission timeout duration;
B, when network traffics exceed certain flow threshold, can increase with reference to time-out time by predetermined time-out time regulation rule using as data transmission timeout duration.
Those skilled in the art will be understood that, above-mentioned two network state informations not only can determine data transmission timeout duration in step S32 in " in determine data transmission timeout duration, these two combinations can also be used for time-out time determining device 1 in step S32 " for time-out time determining device 1 separately.
Those skilled in the art will be understood that the state information of above-mentioned network is only citing; the state information of other networks that are existing or that may occur from now on is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
In one example, when network type is GPRS network, scheduled transmission speed is 140kbps, the volume of transmitted data 700kb comprised in data transfer request, then time-out time determining device 1 is in step S31 " in by calculating determine with reference to time-out time be 5s (=700k/140kbps); Then, in step S32 " in; time-out time determining device 1 is according to the mode of agreement; in the network information database of transmission equipment, inquiry obtains current network signal intensity is 60% of ideal network signal strength signal intensity; then according to predetermined time-out time regulation rule; increase 1s, by 6s as the data transmission timeout duration corresponding with this data transfer request with reference to time-out time.
In another example, when network type is cdma network, transmission rate is 256kbps, the volume of transmitted data 2mb (=2048kb) comprised in transmission request, then in step S31 " in, by calculating, time-out time determining device 1 determines that with reference to time-out time be 8s (=2048kb/256kbps); Then, time-out time determining device 1 is in step S32 " according to the mode of agreement; in the network information database of transmission equipment, inquiry obtains the flow of current network is 240kbps; and these current network traffics are less than predetermined amount of flow threshold value 256kbps; then according to predetermined time-out time regulation rule; increase 1s with reference to time-out time, by 9s as the corresponding data transmission timeout duration of this data transfer request.
Those skilled in the art will be understood that and above-mentionedly determine with reference to time-out time and/or determine that the mode of data transmission timeout duration is only citing; other determinations that are existing or that may occur from now on are with reference to time-out time and/or determine that the mode of data transmission timeout duration is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
In a preferred embodiment (with reference to Fig. 4), the method also comprises step S6 (not shown), in step s 6, time-out time determining device 1 exceedes described data transmission timeout duration when the actual data transfer time corresponding to described data transfer request, according to predetermined process rule, described data transfer request is processed.
Be described in detail this another preferred embodiment referring to Fig. 4, wherein, in step sl, time-out time determining device 1 obtains transmission equipment data transfer request of carrying out transmitting Network Based; Then, in step s 2, time-out time determining device 1, according to described network of network type, obtains the transmission rate corresponding with described data transfer request; Subsequently, in step s3, time-out time determining device 1, according to the volume of transmitted data in described data transfer request and described transmission rate, determines the data transmission timeout duration corresponding with this data transfer request.The detailed process of above-mentioned time-out time determining device 1 performed by step S1, step S2 with step S3 is identical with the aforementioned process performed in step S1, step S2 with step S3 with reference to time-out time determining device 1 in the embodiment described by Fig. 4, for simplicity's sake, be contained in this with way of reference, and do not repeat.
Particularly, transmission equipment sends data transfer request to target device, in step s 6, the API (API) that time-out time determining device 1 is provided by this transmission equipment, whether this target device of real-time monitoring returns the receiving feedback information to this data transfer request to this transmission equipment, in step s 6, time-out time determining device 1 ought not monitor the receiving feedback information obtained from this target device in the data transmission timeout duration that it obtains in step s3, namely the actual data transfer time corresponding to data transfer request exceedes data transmission timeout duration, then according to predetermined process rule, described data transfer request is processed.Wherein, described predetermined process rule includes but not limited to following at least any one:
1) new data transfer request is generated, to re-start transfer of data;
Particularly, when the actual data transfer time corresponding to data transfer request exceedes data transmission timeout duration, in step s 6, time-out time determining device 1 generates new data transfer request, to re-start transfer of data.Wherein, the mode re-starting transfer of data according to data transfer request includes but not limited to following two kinds of situations:
In step s 6, time-out time determining device 1 generates overtime information to a, and
People's readable information is provided by adopting any known computer by this overtime information
Technological means, such as the mode such as screen display, loud speaker broadcasting, is carried by transmission equipment
Be supplied to user, and then according to user instruction, determine whether again initiate data transfer request,
Or continue to send data based on this data transfer request;
In step s 6, time-out time determining device 1 is automatic afterwards in transfer of data time-out for b
Generate new data transfer request, re-start transfer of data.
2) described data transfer request is abandoned;
Particularly, when the actual data transfer time corresponding to data transfer request exceedes data transmission timeout duration, in step s 6, time-out time determining device 1 abandons this data transfer request, to ensure fail safe and the security requirements of transfer of data.
Those skilled in the art will be understood that above-mentioned predetermined process rule is only citing, and other predetermined process rules that are existing or that may occur from now on, as being applicable to the present invention, within also should being included in scope, and are contained in this at this with way of reference.
In one example, when transmission equipment is mobile phone, this mobile phone is to target device, as the webserver, send data transfer request, in step s 6, the API (API) that time-out time determining device 1 is provided by this transmission equipment, monitor this webserver in real time whether to return to this mobile phone and confirm to this data transfer the feedback information that finishes receiving, when time-out time determining device 1 in step s 6 in data transmission timeout duration monitoring obtain the feedback information finished receiving from the confirmation of this webserver, then time-out time determining device 1 generates new data transfer request automatically, again to carry out transfer of data to this webserver.
Preferably, when the actual data transfer time corresponding to data transfer request exceedes data transmission timeout duration, and the number of times that transmission equipment re-starts this transfer of data is not when exceeding the predetermined threshold value of the number of transmissions again, after a time out, time-out time determining device 1 generates new data transfer request in step s 6 automatically to re-start transfer of data; If when the number of times that transmission equipment re-starts this transfer of data exceedes the predetermined threshold value of the number of transmissions again, then time-out time determining device 1 directly abandons this data transfer request in step s 6.
Those skilled in the art will be understood that the above-mentioned mode that processes data transfer request or predetermined process rule are only citing; other existing or modes processed data transfer request that may occur from now on and predetermined process rule are as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
In another preferred embodiment (with reference to Fig. 4), the method also comprises step S7 (not shown), and wherein, in step sl, time-out time determining device 1 obtains the described data transfer request that user is inputted by transmission equipment; In the step s 7, the transfer of data result corresponding to described data transfer request is supplied to described user by time-out time determining device 1.
Referring to Fig. 4, this another preferred embodiment is described in detail, wherein, in step s 2, time-out time determining device 1 is according to described network of network type, obtain the transmission rate corresponding with described data transfer request, subsequently, in step s3, time-out time determining device 1, according to the volume of transmitted data in described data transfer request and described transmission rate, determines the data transmission timeout duration corresponding with this data transfer request.The detailed process of above-mentioned time-out time determining device 1 performed by step S2 with step S3 is identical with the aforementioned process performed in step S2 with step S3 with reference to time-out time determining device 1 in the embodiment described by Fig. 4, for simplicity's sake, be contained in this with way of reference, and do not repeat.
Particularly, in step S 1, time-out time determining device 1 such as answers the transmit operation of user on transmission equipment to obtain data transfer request with triggering; In the step s 7, the API (API) that time-out time determining device 1 is provided by transmission equipment, ground is triggered based on predetermined condition or event, or monitoring objective equipment returns the transfer of data result corresponding with this data transfer request to this transmission equipment termly, as this data transfer confirms the feedback information that finishes receiving, and by this transfer of data result, any known computer is adopted to provide the technological means of people's readable information, such as screen display, loud speaker broadcasting etc., be supplied to this user.
In one example, target device is the webserver, and first, in step sl, time-out time determining device 1 obtains the data transfer request that user is sent by transmission equipment; Then, in the step s 7, the API (API) that time-out time determining device 1 is provided by this transmission equipment, monitor the feedback information that this webserver confirms to this data transfer that this transmission equipment returns to finish receiving in real time, and by this feedback information, adopt any known transmission equipment to provide the technological means of people's readable information, such as screen display, loud speaker broadcasting etc., be supplied to this user by this transmission equipment.For screen display, the feedback information that this webserver returns by generator, utilizes the communication mode of agreement, is supplied to this transmission equipment in certain sequence, browses for user with form.
Those skilled in the art will be understood that above-mentioned acquisition data transfer request or provide the mode of transfer of data result to be only citing; other acquisition data transfer request that are existing or that may occur from now on and provide the mode of transfer of data result as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
Preferably, the method also comprises step S8 (not shown), and in step s 8, time-out time determining device 1, according to described transfer of data result, is set up or upgrades described historic transmission record.Particularly, in step s 8, time-out time determining device 1 is provided to the transfer of data result of user in the step s 7 according to it, extract transmission equipment wherein carry out this transfer of data use the information such as the transmission base station that in the actual transfer rate of network of network type, this transfer of data and this data transmission procedure, transmission equipment uses, and these information are written in historic transmission record storehouse, to upgrade this historic transmission record; If detect, historic transmission record storehouse is not set up, then this historic transmission record storehouse of leading initialization, then described information is written in this historic transmission record storehouse.Those skilled in the art will be understood that the mode of above-mentioned foundation or renewal historic transmission record is only citing; the mode of other foundation that are existing or that may occur from now on or renewal historic transmission record is as being applicable to the present invention; also within scope should being included in, and this is contained at this with way of reference.
To those skilled in the art, obviously the invention is not restricted to the details of above-mentioned one exemplary embodiment, and when not deviating from spirit of the present invention or essential characteristic, the present invention can be realized in other specific forms.Therefore, no matter from which point, all should embodiment be regarded as exemplary, and be nonrestrictive, scope of the present invention is limited by claims instead of above-mentioned explanation, and all changes be therefore intended in the implication of the equivalency by dropping on claim and scope are included in the present invention.Any Reference numeral in claim should be considered as the claim involved by limiting.In addition, obviously " comprising " one word do not get rid of other unit or step, odd number does not get rid of plural number.Multiple unit of stating in device claim or device also can be realized by software or hardware by a unit or device.First, second word such as grade is used for representing title, and does not represent any specific order.

Claims (19)

1., in a network for determining a method for data transmission timeout duration, wherein, the method comprises the following steps:
A obtains transmission equipment data transfer request of carrying out transmitting Network Based;
B, according to described network of network type, obtains the scheduled transmission speed of described network type, as the transmission rate corresponding with described data transfer request;
C is according to the volume of transmitted data in described data transfer request and described transmission rate, determine the data transmission timeout duration corresponding with this data transfer request, wherein, described data transmission timeout duration is used for exceeding described data transmission timeout duration when the actual data transfer time corresponding to described data transfer request, according to predetermined process rule, described data transfer request is processed.
2. method according to claim 1, wherein, described step b comprises:
-according to described network of network type, in conjunction with the relevant information of described transmission equipment, obtain described transmission rate.
3. method according to claim 2, wherein, the relevant information of described transmission equipment comprises following at least any one:
The historic transmission record of-described transmission equipment;
The transmission performance parameter of-described transmission equipment.
4. method according to claim 3, wherein, the relevant information of described transmission equipment comprises the historic transmission record of described transmission equipment, and wherein, the method also comprises:
-transmission the base station determining belonging to this transmission equipment;
-obtain described historic transmission record between this transmission base station and this transmission equipment.
5. method according to any one of claim 1 to 4, wherein, described step c comprises:
-according to the volume of transmitted data of described data transfer request and described transmission rate, determine the reference time-out time corresponding with this data transfer request;
-according to described reference time-out time, in conjunction with the state information of described network, determine described data transmission timeout duration.
6. method according to claim 5, wherein, the state information of described network comprises following at least any one:
The signal strength signal intensity of-described network;
-described network of network flow.
7. method according to claim 1, wherein, described predetermined process rule comprises following any one:
-generate new data transfer request, to re-start transfer of data;
-abandon described data transfer request.
8. the method according to claim 3 or 4, wherein, described step a comprises:
The described data transfer request that-acquisition user is inputted by transmission equipment;
Wherein, the method also comprises:
-the transfer of data result corresponding to described data transfer request is supplied to described in
User.
9. method according to claim 8, wherein, the method also comprises:
-according to described transfer of data result, set up or upgrade described historic transmission record.
10., in a network for determining a time-out time determining device for data transmission timeout duration, wherein, this time-out time determining device comprises:
Acquisition request device, for obtaining transmission equipment data transfer request of carrying out transmitting Network Based;
Transmission rate acquisition device, for according to described network of network type, obtains the scheduled transmission speed of described network type, as the transmission rate corresponding with described data transfer request;
First determining device, for according to the volume of transmitted data in described data transfer request and described transmission rate, determine the data transmission timeout duration corresponding with this data transfer request, wherein, described data transmission timeout duration is used for exceeding described data transmission timeout duration when the actual data transfer time corresponding to described data transfer request, according to predetermined process rule, described data transfer request is processed.
11. time-out time determining devices according to claim 10, wherein, described transmission rate acquisition device is used for according to described network of network type, in conjunction with the relevant information of described transmission equipment, obtains described transmission rate.
12. time-out time determining devices according to claim 11, wherein, the relevant information of described transmission equipment comprises following at least any one:
The historic transmission record of-described transmission equipment;
The transmission performance parameter of-described transmission equipment.
13. time-out time determining devices according to claim 12, wherein, the relevant information of described transmission equipment comprises the historic transmission record of described transmission equipment, and wherein, this time-out time determining device also comprises:
Base station determining device, for determining the transmission base station belonging to this transmission equipment;
Record acquisition device, for obtaining the described historic transmission record between this transmission base station and this transmission equipment.
14. according to claim 10 to the time-out time determining device according to any one of 13, and wherein, described first determining device comprises:
Reference time determining unit, for according to the volume of transmitted data of described data transfer request and described transmission rate, determines the reference time-out time corresponding with this data transfer request;
Time determining unit, for according to described reference time-out time, in conjunction with the state information of described network, determines described data transmission timeout duration.
15. time-out time determining devices according to claim 14, wherein, the state information of described network comprises following at least any one:
The signal strength signal intensity of-described network;
-described network of network flow.
16. time-out time determining devices according to claim 10, wherein, described predetermined process rule comprises following any one:
-generate new data transfer request, to re-start transfer of data;
-abandon described data transfer request.
17. time-out time determining devices according to claim 12 or 13, wherein, the described data transfer request that described request acquisition device is inputted by transmission equipment for obtaining user;
Wherein, this time-out time determining device also comprises:
Generator, for being supplied to described user by the transfer of data result corresponding to described data transfer request.
18. time-out time determining devices according to claim 17, wherein, this time-out time determining device also comprises:
Updating device, for according to described transfer of data result, sets up or upgrades described historic transmission record.
19. 1 kinds of transmission equipments, wherein, this transmission equipment comprises the time-out time determining device according to any one of claim 10 to 18.
CN201110249394.0A 2011-08-26 2011-08-26 Method, device and equipment for determining data transmission timeout duration Active CN102355327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110249394.0A CN102355327B (en) 2011-08-26 2011-08-26 Method, device and equipment for determining data transmission timeout duration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110249394.0A CN102355327B (en) 2011-08-26 2011-08-26 Method, device and equipment for determining data transmission timeout duration

Publications (2)

Publication Number Publication Date
CN102355327A CN102355327A (en) 2012-02-15
CN102355327B true CN102355327B (en) 2015-05-13

Family

ID=45578828

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110249394.0A Active CN102355327B (en) 2011-08-26 2011-08-26 Method, device and equipment for determining data transmission timeout duration

Country Status (1)

Country Link
CN (1) CN102355327B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103825933A (en) * 2013-12-04 2014-05-28 北京三民太奇教育科技有限公司 File transfer control method in learning system
CN103823864A (en) * 2014-02-24 2014-05-28 联想(北京)有限公司 Information processing method and electronic device
CN105451260B (en) * 2014-08-12 2019-12-20 优视科技有限公司 Network request method, network fluctuation measuring method and device
CN105744308A (en) * 2014-12-08 2016-07-06 深圳Tcl数字技术有限公司 Method and device for downloading streaming media data
CN106528301B (en) * 2015-09-11 2020-06-30 中兴通讯股份有限公司 Method and device for updating timeout waiting duration
CN106788877B (en) * 2015-11-24 2020-03-10 ***通信集团浙江有限公司 Data service uplink rate adjusting method, terminal and wireless network controller
KR102522154B1 (en) * 2016-03-15 2023-04-17 에스케이하이닉스 주식회사 Controller of semiconductor memory device and operating method thereof
CN106487652A (en) * 2016-09-19 2017-03-08 深圳市金立通信设备有限公司 A kind of information interacting method and terminal
CN107102822B (en) * 2017-04-27 2020-01-03 杭州迪普科技股份有限公司 Data write-back method and device
CN108901079B (en) * 2018-06-20 2021-03-09 Oppo(重庆)智能科技有限公司 Timeout time determination method, device, equipment and storage medium
CN110166572A (en) * 2019-06-06 2019-08-23 北京达佳互联信息技术有限公司 Network processing method, device, electronic equipment and storage medium
CN112118329A (en) * 2020-08-31 2020-12-22 北京奇艺世纪科技有限公司 Network request processing method and device, electronic equipment and storage medium
CN112637362B (en) * 2020-12-30 2022-10-25 北京奇艺世纪科技有限公司 Request result determining method, device and system, electronic equipment and storage medium
CN113240332B (en) * 2021-06-07 2022-12-02 宁夏力成电气集团有限公司 Operation management method and device for power distribution system
CN113778827A (en) * 2021-09-16 2021-12-10 西安热工研究院有限公司 Batch processing method, system, equipment and storage medium for simulating industrial high-frequency data
CN113873026A (en) * 2021-09-24 2021-12-31 深圳市元征科技股份有限公司 Dynamic timeout response method, device, terminal equipment and storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101110818A (en) * 2007-07-12 2008-01-23 深圳市融合视讯科技有限公司 Optimization method facing data protocol of non-connected user
WO2008023891A1 (en) * 2006-08-21 2008-02-28 Samsung Electronics Co., Ltd. Method and apparatus for transmitting data using information on communication environment
CN101227414A (en) * 2008-02-04 2008-07-23 浙江大学 On-line optimized wireless network data transmission method based on transmission data package length
CN101835235A (en) * 2010-04-23 2010-09-15 西安电子科技大学 Routing method for heterogeneous network based on cognition

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4697068B2 (en) * 2006-06-27 2011-06-08 ソニー株式会社 Wireless communication system, wireless communication apparatus, wireless communication method, and computer program

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2008023891A1 (en) * 2006-08-21 2008-02-28 Samsung Electronics Co., Ltd. Method and apparatus for transmitting data using information on communication environment
CN101110818A (en) * 2007-07-12 2008-01-23 深圳市融合视讯科技有限公司 Optimization method facing data protocol of non-connected user
CN101227414A (en) * 2008-02-04 2008-07-23 浙江大学 On-line optimized wireless network data transmission method based on transmission data package length
CN101835235A (en) * 2010-04-23 2010-09-15 西安电子科技大学 Routing method for heterogeneous network based on cognition

Also Published As

Publication number Publication date
CN102355327A (en) 2012-02-15

Similar Documents

Publication Publication Date Title
CN102355327B (en) Method, device and equipment for determining data transmission timeout duration
US10278012B2 (en) Location-based reminding method, indication device, reminding device, and mobile terminal
CN103458354B (en) A kind of location-based group's generation method, apparatus and system
CN103997757A (en) Pseudo base station locating method and device and information reporting method and device
CN103945007A (en) Information pushing method and device
WO2014028289A2 (en) Methods and apparatus for serving content to a wireless device
US10405195B2 (en) Determining the optimum coverage position in a building for externally provided RF signals
CN103826237A (en) Method for establishing location privacy protection model for continuous location based service
CN101820677B (en) Method for positioning mobile terminal and mobile positioning center
US20160117639A1 (en) Device association-based locating system and method
CN106789465A (en) Method and device, the electronic equipment of scene switching
CN106465065B (en) A kind of multicast service transmitting device and method
CN106912084A (en) A kind of method and apparatus for determining WLAN access points
CN106899929A (en) A kind of signal search methods, devices and systems
CN106304095A (en) A kind of dynamic spectrum management system and method
US20140357296A1 (en) Locating method and locating system
CN103702277A (en) Data transmission method and electronic equipment
JP2005303669A (en) Radio lan system, transmission power control method, position managing method and transmission power control program
CN111031526A (en) CMAS message processing method, device, storage medium and terminal equipment
WO2022179455A1 (en) Cell data transmission method and apparatus, and electronic device
TWI471042B (en) Wireless telephone search device and its searching method
CN107995584A (en) Presence switching method and device
CN107995146B (en) Login processing method and device
CN201819990U (en) Personnel geographical location identification system
CN103096241A (en) Method and device used for offering position information

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant