CN102791045A - Mobile communication terminal and transfer protocol automatic preferentially-selecting method thereof - Google Patents

Mobile communication terminal and transfer protocol automatic preferentially-selecting method thereof Download PDF

Info

Publication number
CN102791045A
CN102791045A CN2011101326141A CN201110132614A CN102791045A CN 102791045 A CN102791045 A CN 102791045A CN 2011101326141 A CN2011101326141 A CN 2011101326141A CN 201110132614 A CN201110132614 A CN 201110132614A CN 102791045 A CN102791045 A CN 102791045A
Authority
CN
China
Prior art keywords
host
protocol
preset value
mobile communication
communication terminal
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN2011101326141A
Other languages
Chinese (zh)
Other versions
CN102791045B (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.)
Shanghai Simcom Wireless Solutions Co Ltd
Original Assignee
Shanghai Simcom 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 Shanghai Simcom Ltd filed Critical Shanghai Simcom Ltd
Priority to CN201110132614.1A priority Critical patent/CN102791045B/en
Publication of CN102791045A publication Critical patent/CN102791045A/en
Application granted granted Critical
Publication of CN102791045B publication Critical patent/CN102791045B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a mobile communication terminal and a transfer protocol automatic preferentially-selecting method thereof. The mobile communication terminal comprises a data counter, a timer, a judging device and a protocol controller, wherein the data counter is used for receiving data and calculating an average packet loss probability and average transmission delay according to the data, the timer is used for timing and judging whether time spent in receiving the data by the counter exceeds a first preset value, the judging device is used for judging whether the average packet loss probability exceeds a second preset value and whether the average transmission delay exceeds a third preset value and sending out an instruction according to judgment results, and the protocol controller is used for using a transfer protocol according to the instruction. When the connection of communication of a web application fails, the mobile communication terminal can automatically select a better transfer protocol according to actual transfer conditions, users are not required to manually select the transfer protocol, and transfer speeds and transfer reliability are high, so that the users can enjoy better network experiences.

Description

The method of mobile communication terminal and automatic selection of optimal host-host protocol thereof
Technical field
The present invention relates to a kind of mobile communication terminal and method thereof, but particularly relate to a kind of mobile communication terminal and method thereof of automatic selection of optimal host-host protocol.
Background technology
At present, along with the development of 3G technology, the web application on the mobile communication terminal more and more widely.The complicated application program of wherein a lot of network functions; The design that its protocol stack has adopted application layer to separate with transport layer; Like SIP (Session Initiation Protocol, i.e. session initiation protocol), VOIP (Voice over Internet Protocol, the i.e. networking telephone) and RTMP (Routing Table Maintenance Protocol; Be routing table maintenance protocol) or the like; All support TCP (Transmission Control Protocol, i.e. transmission control protocol) and two kinds of agreements of UDP (User Datagram Protocol, i.e. User Datagram Protocol).Because the high real-time of UDP host-host protocol share udp protocol at most of and can obtain higher transmission rate; But bad or gateway uses Transmission Control Protocol to carry the transmission reliability that transport layer can obtain to be much better than udp protocol to the occasion that UDP is surrounded by restriction in some network conditions.
Yet, though these web applications allow to adopt different transport protocols, to how preferred host-host protocol does not have guiding standard.In the actual use of these web applications, connect under the situation of not breaking off at network, most connectivity problems are all caused by the UDP packet loss, and in fact this packet loss problem can be avoided through changing host-host protocol.Host-host protocol can't be switched intelligently according to the strengths and weaknesses of various host-host protocols in existing terminal, when connectivity problem appears in the communication of web application, need come manually to select host-host protocol according to actual conditions by the user usually.Yet,, require the user can select more excellent host-host protocol unpractical often, and brought very big inconvenience to the user because the user does not generally have the communicating knowledge of specialty.In addition, the transmission plan of existing mobile communication terminal can not have been given play to the application layer of these web applications and the advantage of transport layer separate design, can't take into account transmission rate and transmission reliability simultaneously.
Summary of the invention
The technical problem that the present invention will solve is in order to overcome in the prior art; Mobile communication terminal can not switch the defective of host-host protocol intelligently according to the strengths and weaknesses of various host-host protocols; But a kind of mobile communication terminal and method thereof of automatic selection of optimal host-host protocol are provided, make the user can enjoy better network and experience.
The present invention solves above-mentioned technical problem through following technical proposals: a kind of mobile communication terminal, and its characteristics are that it comprises: a data statistics device, be used to receive data, and according to said data computation average packet loss ratio and average transmission delay; One timer is used for timing and whether surpasses one first preset value with the time of judging said data statistics device reception data; One determining device is used to judge that whether said average packet loss ratio surpasses one second preset value, and whether the time-delay of said average transmission surpass one the 3rd preset value, and sends an instruction according to said judged result; One protocol controller is used for using a kind of host-host protocol according to said instruction.
Preferably, having preset a default transport protocol and an alternative host-host protocol in the said protocol controller, for example is respectively udp protocol and Transmission Control Protocol.
Preferably, said mobile communication terminal allows the user that said default transport protocol and said alternative host-host protocol are set.
Preferably, said mobile communication terminal allows the user that said first preset value, said second preset value and said the 3rd preset value are set.
The present invention also provides a kind of method of mobile communication terminal automatic selection of optimal host-host protocol, and its characteristics are that said method comprises: the first step; Mobile communication terminal and server are accomplished application layer and are consulted; And use a default transport protocol to begin to transmit and receive data, simultaneously, timer picks up counting; In second step, the data statistics device receives data; In the 3rd step, whether said timer judgement time surpasses one first preset value, if not, then returns for second step, if then got into for the 4th step; In the 4th step, the data that said data statistics device statistics receives are calculated average packet loss ratio and average transmission delay; In the 5th step, determining device judges that whether said average packet loss ratio and the time-delay of said average transmission surpass one second preset value and one the 3rd preset value respectively, if not, then get into for the 6th step, if then got into for the 7th step; In the 6th step, determining device sends the instruction of using alternative host-host protocol, and gets into for the 8th step; In the 7th step, determining device sends the instruction of using default transport protocol; In the 8th step, protocol controller uses a kind of host-host protocol according to said instruction.
Preferably, before the first step, can also comprise that the user is provided with the step of said first preset value, said second preset value and said the 3rd preset value.
Preferably, after the 8th step, can also comprise that timer restarts timing, and return the step in second step.
Positive progressive effect of the present invention is:
When connectivity problem appears in the communication of web application; Mobile communication terminal of the present invention does not need the user manually to select host-host protocol; And can select more excellent host-host protocol according to the actual transmissions situation automatically, and given play to the application layer of web application and the advantage of transport layer separate design, take into account transmission rate and transmission reliability; For web application provides a more steady network transmission environment,, the user experiences thereby can enjoying better network.
Description of drawings
But Fig. 1 is the module diagram of the mobile communication terminal of the automatic selection of optimal host-host protocol of preferred embodiment of the present invention.
Fig. 2 is the logical flow chart of the mobile communication terminal automatic selection of optimal host-host protocol of preferred embodiment of the present invention.
Embodiment
Provide preferred embodiment of the present invention below in conjunction with accompanying drawing, to specify technical scheme of the present invention.In Figure of description, the element with similar structures or function will be used the components identical symbolic representation.Accompanying drawing is not to carry out the explanation of exhaustive to the present invention just for the ease of each embodiment of the present invention is described, neither limit scope of the present invention.
According to one embodiment of present invention, but the sketch map of Fig. 1 each functional module that to be a mobile communication terminal that is used to explain the automatic selection of optimal host-host protocol 100 required.Fig. 1 only shown in the mobile communication terminal 100 for describing the essential module of present embodiment.For example, said mobile communication terminal 100 can be mobile phone, PDA(Personal Digital Assistant), e-book or a panel computer etc.
Said mobile communication terminal 100 comprises a data statistics device 120, is used to receive data, and according to said data computation average packet loss ratio and average transmission delay.Said calculating can be passed through existing techniques in realizing, therefore repeats no more.
Said mobile communication terminal 100 also comprises a timer 110, is used for timing and whether surpasses one first preset value with the time of judging said data statistics device reception data.In a preferred embodiment, said first preset value can be 30 seconds.Certainly, said first preset value also can be other numerical value, like 15 seconds or 1 minute etc.Said first preset value can not be oversize, in order to avoid the connectivity problem that 100 pairs of web applications of said portable terminal occur in communication process can not react rapidly; Said first preset value can not be too short, is paroxysmal in order to avoid said data statistics device connects 120 data received, thereby the average packet loss ratio that calculates does not possess representativeness with average transmission delay.This shows that the actual conditions that said first preset value and user belong to network have certain relation.Therefore, in another preferable example, said mobile communication terminal 100 allows the user that said first preset value is set, and adapts to the heterogeneous networks situation of different user.
Said mobile communication terminal 100 also comprises a determining device 130, is used to judge that whether said average packet loss ratio surpasses one second preset value, and whether the time-delay of said average transmission surpass one the 3rd preset value, and sends an instruction according to said judged result.In a preferred embodiment, said second preset value can be 0.5%, and said the 3rd preset value can be 500 milliseconds.Obviously, said second preset value and said the 3rd preset value also can be other numerical value that tallies with the actual situation.In another preferred embodiment, said mobile communication terminal 100 allows the user that said second preset value and said the 3rd preset value are set, and satisfies user's different demands.
Said mobile communication terminal 100 also comprises a protocol controller 140, is used for using a kind of host-host protocol according to said instruction.In a preferred embodiment, said protocol controller 140 has been preset two kinds of agreements, is respectively udp protocol and Transmission Control Protocol, and wherein, udp protocol is a default transport protocol, and Transmission Control Protocol is alternative host-host protocol.In another preferred embodiment, said mobile communication terminal 100 allows the user that said default transport protocol and said alternative host-host protocol are set.For example when the network condition at user place frequent when poor; Be that average packet loss ratio often surpasses said second preset value; As 0.5%, or the average transmission time-delay is often above said the 3rd preset value, during as 500 milliseconds; Transmission Control Protocol can have more performance than udp protocol, continues udp protocol is not obviously met actual conditions as default transport protocol.At this moment, the user just can be made as default transport protocol with Transmission Control Protocol, and udp protocol is made as alternative host-host protocol.
As shown in Figure 2; The method of the mobile communication terminal automatic selection of optimal host-host protocol of preferred embodiment of the present invention may further comprise the steps: step 210; Mobile communication terminal 100 is accomplished application layer with the server (not shown) and is consulted; And use a default transport protocol to begin to transmit and receive data, simultaneously, timer 110 picks up counting; Step 220, data statistics device 120 receives data; Step 230, whether said timer 110 judgement times surpass one first preset value, if not, then return step 220, if then get into step 240; Step 240, the data that said data statistics device 120 statistics receive are calculated average packet loss ratio and average transmission delay; Step 250, determining device 130 judge that whether said average packet loss ratio and the time-delay of said average transmission surpass one second preset value and one the 3rd preset value respectively, if not, then get into step 260, if then get into step 270; Step 260, determining device 130 are sent and are used alternative host-host protocol instruction, and get into step 280; Step 270, determining device 130 are sent and are used the default transport protocol instruction; Step 280, protocol controller 140 uses a kind of host-host protocol according to said instruction.In the present embodiment; What pay particular attention to is that after step 280, the host-host protocol of said mobile communication terminal 100 current uses will be considered to preferable host-host protocol; And will no longer add up, also no longer host-host protocol switched transmission data afterwards.
In a preferred embodiment, before step 210, can also comprise that the user is provided with the step 200 of said first preset value, said second preset value and said the 3rd preset value.
In another preferred embodiment, can also comprise that after step 280 timer 110 restarts timing, and return the step 290 of step 220.In the present embodiment; The meaning of step 290 is that said data statistics device 120 will constantly add up the data that receive; And the host-host protocol that uses when said mobile communication terminal 100 no longer adapts to current network conditions; Said determining device 130 can be according to the statistics of said data statistics device 120, and the instruction of using preferable host-host protocol is sent in promptly said average packet loss ratio and the time-delay of said average transmission in time.For example, user just when a underpass is passed in walking, also using said mobile communication terminal 100, such as a mobile phone is connected browsing information with Internet in real time.Well-known, because underpass has certain shielding character, network condition maybe be not good; It is said second preset value that said average packet loss ratio surpasses said mobile communication terminal 100; Such as 0.5%, or the time-delay of said average transmission is above said the 3rd preset value, such as 500 milliseconds; Then said mobile communication terminal 100 can be selected alternative host-host protocol automatically according to the method for present embodiment, such as Transmission Control Protocol.When the user walks out said underpass, network condition have take a turn for the better, if continue to use said alternative host-host protocol,, possibly just can not effectively utilize the resource of said network such as Transmission Control Protocol.And in the present embodiment, owing to said data statistics device 120 is constantly added up the data that receive, when network condition takes a turn for the better; It is said second preset value that said average packet loss ratio is no more than said mobile communication terminal 100; Such as 0.5%, and said average transmission time-delay is no more than said the 3rd preset value, during such as 500 milliseconds; Said determining device 130 can in time send instruction, makes said protocol controller 140 switch back default transport protocol once more.
Though more than described embodiment of the present invention, it will be understood by those of skill in the art that these only illustrate, protection scope of the present invention is limited appended claims.Those skilled in the art can make numerous variations or modification to these execution modes under the prerequisite that does not deviate from principle of the present invention and essence, but these changes and modification all fall into protection scope of the present invention.

Claims (7)

1. mobile communication terminal is characterized in that it comprises:
One data statistics device is used to receive data, and according to said data computation average packet loss ratio and average transmission delay;
One timer is used for timing and whether surpasses one first preset value with the time of judging said data statistics device reception data;
One determining device is used to judge that whether said average packet loss ratio surpasses one second preset value, and whether the time-delay of said average transmission surpass one the 3rd preset value, and sends an instruction according to said judged result;
One protocol controller is used for using a kind of host-host protocol according to said instruction.
2. mobile communication terminal as claimed in claim 1 is characterized in that, has preset a default transport protocol and an alternative host-host protocol in the said protocol controller.
3. mobile communication terminal as claimed in claim 2 is characterized in that, said mobile communication terminal allows the user that said default transport protocol and said alternative host-host protocol are set.
4. mobile communication terminal as claimed in claim 1 is characterized in that, said mobile communication terminal allows the user that said first preset value, said second preset value and said the 3rd preset value are set.
5. the method for a mobile communication terminal automatic selection of optimal host-host protocol as claimed in claim 1 is characterized in that, said method comprises:
The first step, mobile communication terminal and server are accomplished application layer and are consulted, and use a default transport protocol to begin to transmit and receive data, and simultaneously, timer picks up counting;
In second step, the data statistics device receives data;
In the 3rd step, whether said timer judgement time surpasses one first preset value, if not, then returns for second step, if then got into for the 4th step;
In the 4th step, the data that said data statistics device statistics receives are calculated average packet loss ratio and average transmission delay;
In the 5th step, determining device judges that whether said average packet loss ratio and the time-delay of said average transmission surpass one second preset value and one the 3rd preset value respectively, if not, then get into for the 6th step, if then got into for the 7th step;
In the 6th step, determining device sends the instruction of using alternative host-host protocol, and gets into for the 8th step;
In the 7th step, determining device sends the instruction of using default transport protocol;
In the 8th step, protocol controller uses a kind of host-host protocol according to said instruction.
6. the method for mobile communication terminal automatic selection of optimal host-host protocol as claimed in claim 5 is characterized in that, before the first step, comprises that also the user is provided with the step of said first preset value, said second preset value and said the 3rd preset value.
7. the method for mobile communication terminal automatic selection of optimal host-host protocol as claimed in claim 5 is characterized in that, after the 8th step, comprises that also timer restarts timing, and returns the step in second step.
CN201110132614.1A 2011-05-20 2011-05-20 Mobile communication terminal and its automatically method of preferred host-host protocol Active CN102791045B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201110132614.1A CN102791045B (en) 2011-05-20 2011-05-20 Mobile communication terminal and its automatically method of preferred host-host protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201110132614.1A CN102791045B (en) 2011-05-20 2011-05-20 Mobile communication terminal and its automatically method of preferred host-host protocol

Publications (2)

Publication Number Publication Date
CN102791045A true CN102791045A (en) 2012-11-21
CN102791045B CN102791045B (en) 2017-03-29

Family

ID=47156319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201110132614.1A Active CN102791045B (en) 2011-05-20 2011-05-20 Mobile communication terminal and its automatically method of preferred host-host protocol

Country Status (1)

Country Link
CN (1) CN102791045B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103685281A (en) * 2013-12-18 2014-03-26 中国联合网络通信集团有限公司 Network address protocol switching method and device
CN104601521A (en) * 2013-10-30 2015-05-06 中国电信股份有限公司 Method, device and system for dynamically selecting communication transmission protocol
CN110621040A (en) * 2019-10-24 2019-12-27 北京大学 Method and system for realizing multipath parallel transmission communication
CN111316598A (en) * 2018-07-17 2020-06-19 华为技术有限公司 Multi-screen interaction method and equipment
CN112583818A (en) * 2020-12-08 2021-03-30 清华大学 Adaptive transport protocol selection method and device for mobile Web service
CN113973124A (en) * 2021-10-27 2022-01-25 北京达佳互联信息技术有限公司 Data transmission method and device
CN114257662A (en) * 2020-09-24 2022-03-29 华为技术有限公司 Method and device for indicating transmission protocol, electronic equipment and storage medium
CN114500528A (en) * 2021-12-28 2022-05-13 天翼云科技有限公司 Data transmission method and device based on cloud platform

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402494A (en) * 2002-09-29 2003-03-12 清华大学 Method for selecting transmission protocol based on client terminal feedback
WO2010037318A1 (en) * 2008-09-26 2010-04-08 腾讯科技(深圳)有限公司 Data transmission system and data transmission method
CN101834879A (en) * 2010-02-09 2010-09-15 北京中科大洋科技发展股份有限公司 Intelligent efficient video/audio data transmission method adapted to different network environments

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1402494A (en) * 2002-09-29 2003-03-12 清华大学 Method for selecting transmission protocol based on client terminal feedback
WO2010037318A1 (en) * 2008-09-26 2010-04-08 腾讯科技(深圳)有限公司 Data transmission system and data transmission method
CN101834879A (en) * 2010-02-09 2010-09-15 北京中科大洋科技发展股份有限公司 Intelligent efficient video/audio data transmission method adapted to different network environments

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601521A (en) * 2013-10-30 2015-05-06 中国电信股份有限公司 Method, device and system for dynamically selecting communication transmission protocol
CN103685281A (en) * 2013-12-18 2014-03-26 中国联合网络通信集团有限公司 Network address protocol switching method and device
CN103685281B (en) * 2013-12-18 2017-08-15 中国联合网络通信集团有限公司 The switching method and equipment of a kind of network address agreement
CN111316598A (en) * 2018-07-17 2020-06-19 华为技术有限公司 Multi-screen interaction method and equipment
CN111316598B (en) * 2018-07-17 2021-08-31 华为技术有限公司 Multi-screen interaction method and equipment
CN110621040A (en) * 2019-10-24 2019-12-27 北京大学 Method and system for realizing multipath parallel transmission communication
CN110621040B (en) * 2019-10-24 2021-02-02 北京大学 Method and system for realizing multipath parallel transmission communication
CN114257662A (en) * 2020-09-24 2022-03-29 华为技术有限公司 Method and device for indicating transmission protocol, electronic equipment and storage medium
CN114257662B (en) * 2020-09-24 2024-04-12 花瓣云科技有限公司 Method, device, electronic equipment and storage medium for indicating transmission protocol
CN112583818A (en) * 2020-12-08 2021-03-30 清华大学 Adaptive transport protocol selection method and device for mobile Web service
CN113973124A (en) * 2021-10-27 2022-01-25 北京达佳互联信息技术有限公司 Data transmission method and device
CN114500528A (en) * 2021-12-28 2022-05-13 天翼云科技有限公司 Data transmission method and device based on cloud platform

Also Published As

Publication number Publication date
CN102791045B (en) 2017-03-29

Similar Documents

Publication Publication Date Title
CN102791045A (en) Mobile communication terminal and transfer protocol automatic preferentially-selecting method thereof
EP2461631B1 (en) System support for accessing and switching among multiple wireless interfaces on mobile devices
US8140066B2 (en) Power consumption reduction logic for unscheduled APSD and real time services
US8867364B2 (en) Method and apparatus for multi-homing path selection of stream control transmission protocol
CN110798869A (en) Network switching method, electronic equipment and chip subsystem
CN103546950A (en) Method and device for automatically turning on and turning off WiFi module of wireless router
CN109245936A (en) Control method, service quality control entity and the communication equipment of network transfer delay
US7961756B1 (en) Integrated multimedia system
WO2006010614A3 (en) Method and device for session control in hybrid telecommunication networks
CN110049505A (en) Data transmission method and relevant apparatus
JP2009535956A5 (en)
KR101436956B1 (en) System and method of establishing transmission control protocol connections
CN112291816A (en) Data transmission method, device, storage medium and electronic equipment
JP2004193854A (en) Communication system, wireless communication terminal, and wireless base station
Nirjon et al. Multinets: A system for real-time switching between multiple network interfaces on mobile devices
CN108234309A (en) A kind of transmission method of network data
WO2008014101A3 (en) Method for establishing a circuit switched call at a dual mode access terminal
CN108566286A (en) A kind of implementation method, router and the electronic equipment of intelligent router service quality
CN102984827A (en) Timer duration setting method used for switching time setting for communication modules, and selection method of communication module
CN115720384A (en) Connection establishment method and related equipment
CN105550105B (en) The selection method and system of the identical application program of function in a kind of mobile terminal
CN105357373B (en) Multi net voting based on android system simultaneously uses method and system
CN102271146A (en) Multi-personal area network equipment cooperative downloading method and system
CN109617802B (en) Link aggregation implementation method and related product
CN116709458B (en) High-reliability integrated circuit based on automatic card cutting and card cutting control method

Legal Events

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

Effective date of registration: 20170929

Address after: 200335 Shanghai Admiralty Road No. 633 building A Room 201

Patentee after: SIMCom Wireless Technology (Shanghai) Co., Ltd.

Address before: 200335 Shanghai city Changning District Admiralty Road No. 633

Patentee before: Shanghai SIMCom Ltd.

TR01 Transfer of patent right