CN102791045B - Mobile communication terminal and its automatically method of preferred host-host protocol - Google Patents

Mobile communication terminal and its automatically method of preferred host-host protocol Download PDF

Info

Publication number
CN102791045B
CN102791045B CN201110132614.1A CN201110132614A CN102791045B CN 102791045 B CN102791045 B CN 102791045B CN 201110132614 A CN201110132614 A CN 201110132614A CN 102791045 B CN102791045 B CN 102791045B
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.)
Active
Application number
CN201110132614.1A
Other languages
Chinese (zh)
Other versions
CN102791045A (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

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a kind of mobile communication terminal and its automatically method of preferred host-host protocol;Mobile communication terminal includes:One data statisticss device, for receiving data, and calculates average packet loss ratio and average transmission delay according to the data;One timer, for timing and judging the time of the data statisticss device receiving data whether more than one first preset value;One diagnosis apparatuss, for whether judging the average packet loss ratio more than one second preset value, and whether the average transmission time delay is more than one the 3rd preset value, and sends an instruction according to the judged result;One protocol controller, for using a kind of host-host protocol according to the instruction.When there is connectivity problem in the communication of web application, the mobile communication terminal of the present invention does not need user to manually select host-host protocol, and preferably host-host protocol can be selected automatically according to actual transmissions situation, transfer rate and transmission reliability are taken into account, so as to user can enjoy more preferable network experience.

Description

Mobile communication terminal and its automatically method of preferred host-host protocol
Technical field
The present invention relates to a kind of mobile communication terminal and its method, it is more particularly to a kind of can preferred host-host protocol automatically Mobile communication terminal and its method.
Background technology
At present, with the development of 3G technology, the web application on mobile communication terminal is more and more extensive.It is wherein a lot The more complicated application program of network function, its protocol stack employ application layer design detached with transport layer, such as SIP (Session Initiation Protocol, i.e. session initiation protocol), VOIP (Voice over Internet Protocol, i.e. network Phone) and RTMP (Routing Table Maintenance Protocol, i.e. routing table maintenance protocol) etc., prop up Hold TCP (Transmission Control Protocol, i.e. transmission control protocol) and UDP (User Datagram Protocol, i.e. User Datagram Protocol) two kinds of agreements.Due to the high real-time of UDP host-host protocols, use in most of occasions Udp protocol can obtain higher transfer rate;But it is bad in some network conditions or gateway is to the conditional field of UDP bags Close, the transmission reliability for being much better than udp protocol can be obtained using Transmission Control Protocol carrying transport layer.
Although however, how preferably these web applications permissions using different host-host protocols, the host-host protocol to Not guiding specification.These web applications it is actually used in, in the case where network connection does not disconnect, absolutely Most of connectivity problems are all caused by UDP packet losses, and this packet loss problem can essentially by change host-host protocol come Avoid.Existing terminal cannot intelligently switch host-host protocol according to the strengths and weaknesses of various host-host protocols, when web application Communication is when there is connectivity problem, it usually needs by user according to practical situation manually selecting host-host protocol.However, due to user The general communicating knowledge without specialty, it is desirable to which user can select preferably host-host protocol often unpractical, and Very big inconvenience is brought to user.In addition, the transmission plan of existing mobile communication terminal can not give play to these network applications The application layer of program and the advantage of transport layer separate design, it is impossible to while taking into account transfer rate and transmission reliability.
The content of the invention
The technical problem to be solved in the present invention is that, in order to overcome in prior art, mobile communication terminal can not be according to various biographies The strengths and weaknesses of defeated agreement intelligently switches the defect of host-host protocol, there is provided it is a kind of can preferred mobile communication end of host-host protocol automatically End and its method, allow user to enjoy more preferable network experience.
The present invention is solving above-mentioned technical problem by following technical proposals:A kind of mobile communication terminal, its feature It is which includes:One data statisticss device, for receiving data, and calculates average packet loss ratio and average transmission according to the data Time delay;One timer, for timing and judging the time of the data statisticss device receiving data whether more than one first preset value; One diagnosis apparatuss, for judging the average packet loss ratio whether more than one second preset value, and whether the average transmission time delay More than one the 3rd preset value, and an instruction is sent according to the judged result;One protocol controller, for being made according to the instruction Use a kind of host-host protocol.
It is preferred that a default transport protocol and an alternative transmission protocols have been preset in the protocol controller, for example, divide It is not udp protocol and Transmission Control Protocol.
It is preferred that the mobile communication terminal is allowed, and user arranges the default transport protocol and the alternate transmission is assisted View.
It is preferred that the mobile communication terminal allows user to arrange first preset value, second preset value and institute State the 3rd preset value.
The method that the present invention also provides a kind of automatic preferably host-host protocol of mobile communication terminal, its feature is, the side Method includes:The first step, mobile communication terminal complete application layer negotiation with server, and start to send using a default transport protocol And receiving data, meanwhile, timer starts timing;Second step, data statisticss device receiving data;3rd step, the timer are sentenced Whether the disconnected time is more than one first preset value, if it is not, then returning second step, if so, then enters the 4th step;4th step, the number The data that device statistics is received according to statistics, calculate average packet loss ratio and average transmission delay;5th step, diagnosis apparatuss judge described Average packet loss ratio and the average transmission time delay whether respectively more than one second preset value and one the 3rd preset value, if it is not, then entering Enter the 6th step, if so, then enter the 7th step;6th step, diagnosis apparatuss send the instruction using alternative transmission protocols, and enter the 8th Step;7th step, diagnosis apparatuss send the instruction using default transport protocol;8th step, protocol controller are used according to the instruction A kind of host-host protocol.
It is preferred that can also include before the first step user arrange first preset value, second preset value and The step of three preset value.
It is preferred that timing can also be restarted including timer after the 8th step, and the step of return second step.
The present invention positive effect be:
When connectivity problem occurs in the communication of web application, the mobile communication terminal of the present invention does not need user manual Host-host protocol is selected, and preferably host-host protocol can be selected automatically according to actual transmissions situation, given play to web application Application layer and transport layer separate design advantage, take into account transfer rate and transmission reliability, provide one for web application Individual more stable network transmission environment, so as to user can enjoy more preferable network experience.
Description of the drawings
Fig. 1 for present pre-ferred embodiments can the preferred module diagram of the mobile communication terminal of host-host protocol automatically.
Logical flow charts of the Fig. 2 for the automatic preferably host-host protocol of mobile communication terminal of present pre-ferred embodiments.
Specific embodiment
Present pre-ferred embodiments are given below in conjunction with the accompanying drawings, to describe technical scheme in detail.In description In accompanying drawing, the element with similar structures or function will be represented with identical component symbol.Accompanying drawing is only to facilitate illustrate this Each embodiment of invention, is not intended to carry out the present invention explanation of exhaustive, nor limiting the scope of the present invention System.
According to one embodiment of present invention, Fig. 1 is one be used to explaining can the preferred mobile communication of host-host protocol automatically The schematic diagram of each functional module needed for terminal 100.Fig. 1 illustrate only in mobile communication terminal 100 for describe this enforcement Module necessary to example.For example, the mobile communication terminal 100 can be a mobile phone, personal digital assistant (PDA), electricity The philosophical works or panel computer etc..
The mobile communication terminal 100 includes a data statisticss device 120, for receiving data, and according to the data Calculate average packet loss ratio and average transmission delay.The calculating can be achieved by the prior art, therefore repeat no more.
The mobile communication terminal 100 also includes a timer 110, for timing and judging that the data statisticss device connects The time of data is received whether more than one first preset value.In a preferred embodiment, first preset value can be 30 seconds. Certainly, first preset value can also be other numerical value, such as 15 seconds or 1 minute etc..First preset value can not be oversize, with Exempt from the connectivity problem that the mobile terminal 1 00 occurs web application in communication process to react rapidly;Described One preset value can not be too short, in case it is paroxysmal that the data statisticss device connects 120 data for receiving, so as to calculated Average packet loss ratio and average transmission delay do not possess representativeness.As can be seen here, first preset value and user place network Practical situation has certain relation.Therefore, in another preferable example, it is described that the mobile communication terminal 100 allows user to arrange First preset value, adapts to the heterogeneous networks situation of different user.
The mobile communication terminal 100 also includes a diagnosis apparatuss 130, for judging whether the average packet loss ratio exceedes One second preset value, and whether the average transmission time delay is more than one the 3rd preset value, and sent according to the judged result One instruction.In a preferred embodiment, second preset value can be 0.5%, and the 3rd preset value can be 500 millis Second.Obviously, second preset value and the 3rd preset value can also be other numerical value for tallying with the actual situation.At another In preferred embodiment, the mobile communication terminal 100 allows user to arrange second preset value and the 3rd preset value, comes Meet the different demands of user.
The mobile communication terminal 100 also includes a protocol controller 140, for being passed using a kind of according to the instruction Defeated agreement.In a preferred embodiment, the protocol controller 140 has preset two kinds of agreements, respectively udp protocol and TCP associations View, wherein, udp protocol is default transport protocol, and Transmission Control Protocol is alternative transmission protocols.In a further preferred embodiment, the shifting Mobile communication terminal 100 allows user to arrange the default transport protocol and the alternative transmission protocols.For example when user place When network condition Jing is often poor, i.e. average packet loss ratio Jing often exceedes second preset value, and such as 0.5%, or average transmission prolongs Shi Jingchang exceedes the 3rd preset value, and when such as 500 milliseconds, Transmission Control Protocol can have better performance than udp protocol, continue UDP Host-host protocol is clearly not meet practical situation to agreement by default.At this moment, Transmission Control Protocol just can be set to acquiescence biography by user Defeated agreement, and udp protocol is set to into alternative transmission protocols.
As shown in Fig. 2 the method for the automatic preferably host-host protocol of the mobile communication terminal of present pre-ferred embodiments include with Lower step:Step 210, mobile communication terminal 100 complete application layer negotiation with server (not shown), and use a default transport Agreement starts to send and receive data, meanwhile, timer 110 starts timing;Step 220,120 receiving data of data statisticss device; Step 230, the timer 110 judge the time whether more than one first preset value, if it is not, then return to step 220, if so, then Into step 240;Step 240, the data that the statistics of data statisticss device 120 is received calculate average packet loss ratio and average biography Defeated time delay;Whether step 250, diagnosis apparatuss 130 judge the average packet loss ratio and the average transmission time delay respectively more than 1 Two preset values and one the 3rd preset value, if it is not, then entering step 260, if so, then enter step 270;Step 260, diagnosis apparatuss 130 are sent and are instructed using alternative transmission protocols, and enter step 280;Step 270, diagnosis apparatuss 130 send is assisted using default transport View instruction;Step 280, protocol controller 140 is according to the instruction using a kind of host-host protocol.In the present embodiment, need spy Not it is noted that after step 280, the currently used host-host protocol of the mobile communication terminal 100 will be considered as preferable Host-host protocol, and no longer transmission data afterwards will be counted, also no longer host-host protocol is switched over.
In a preferred embodiment, can also include before step 210 user arrange first preset value, described the The step of two preset values and three preset value 200.
In a further preferred embodiment, timing can also be restarted including timer 110 after step 280, and is returned The step of returning step 220 290.In the present embodiment, the meaning of step 290 is that the data statisticss device 120 constantly will be docked The data for receiving are counted, and when the host-host protocol that the mobile communication terminal 100 is used no longer adapts to current network shape Condition, the diagnosis apparatuss 130 can be according to the statistical results of the data statisticss device 120, i.e., described average packet loss ratio and described flat Transmission delay, sends the instruction using preferably host-host protocol in time.For example, a user is walking through a underground During passage, also using the mobile communication terminal 100, such as a mobile phone, it is connected the information of browsing in real time with the Internet.It is many Well known, as underpass has certain shielding character, network condition may not be good, i.e., described average packet loss ratio exceedes Second preset value of the mobile communication terminal 100, such as 0.5%, or the average transmission time delay is more than the described 3rd Preset value, such as 500 milliseconds, then the meeting of the mobile communication terminal 100 automatically select alternate transmission according to the method for the present embodiment Agreement, such as Transmission Control Protocol.When user walks out the underpass, network condition may take a turn for the better, if being continuing with institute Alternative transmission protocols, such as Transmission Control Protocol are stated, the resource of the network may cannot be effectively utilized.And in the present embodiment, It is as data of the data statisticss device 120 constantly to receiving are counted, when network condition takes a turn for the better, i.e., described averagely to lose Second preset value of the bag rate less than the mobile communication terminal 100, such as 0.5%, and the average transmission time delay is not More than the 3rd preset value, when such as 500 milliseconds, the diagnosis apparatuss 130 can send instruction in time, make the protocol integrated test system Device 140 switches back into default transport protocol again.
Although the foregoing describing the specific embodiment of the present invention, it will be appreciated by those of skill in the art that these It is merely illustrative of, protection scope of the present invention is defined by the appended claims.Those skilled in the art is not carrying on the back On the premise of the principle and essence of the present invention, various changes or modifications, but these changes can be made to these embodiments Protection scope of the present invention is each fallen within modification.

Claims (3)

1. the method for the automatic preferably host-host protocol of a kind of mobile communication terminal, it is characterised in that the mobile communication terminal includes:
One data statisticss device, for receiving data, and calculates average packet loss ratio and average transmission delay according to the data;
One timer, for timing and judging the time of the data statisticss device receiving data whether more than one first preset value;
One diagnosis apparatuss, for judging the average packet loss ratio whether more than one second preset value, and the average transmission time delay Whether more than one the 3rd preset value, and an instruction is sent according to the judged result;
One protocol controller, for using a kind of host-host protocol according to the instruction;
Methods described includes:
The first step, mobile communication terminal and server complete application layer negotiation, and start to send using a default transport protocol and Receiving data, meanwhile, timer starts timing;
Second step, data statisticss device receiving data;
3rd step, the timer judge that the time, whether more than one first preset value, if it is not, then returning second step, if so, then enters Enter the 4th step;
4th step, the data that the data statisticss device statistics is received, calculates average packet loss ratio and average transmission delay;
Whether the 5th step, diagnosis apparatuss judge the average packet loss ratio and the average transmission time delay respectively more than one second preset value With one the 3rd preset value, if it is not, then entering the 6th step, the 7th step is if so, then entered;
6th step, diagnosis apparatuss send the instruction using alternative transmission protocols, and enter the 8th step;
7th step, diagnosis apparatuss send the instruction using default transport protocol;
8th step, protocol controller is according to the instruction using a kind of host-host protocol.
2. the method for the automatic preferably host-host protocol of mobile communication terminal as claimed in claim 1, it is characterised in that in the first step Also include the step of user arranges first preset value, second preset value and three preset value before.
3. the method for the automatic preferably host-host protocol of mobile communication terminal as claimed in claim 1, it is characterised in that in the 8th step The step of also restarting timing including timer afterwards, and return 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 CN102791045A (en) 2012-11-21
CN102791045B true 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)

Families Citing this family (8)

* 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
CN103685281B (en) * 2013-12-18 2017-08-15 中国联合网络通信集团有限公司 The switching method and equipment of a kind of network address agreement
WO2020014880A1 (en) * 2018-07-17 2020-01-23 华为技术有限公司 Multi-screen interaction method and device
CN110621040B (en) * 2019-10-24 2021-02-02 北京大学 Method and system for realizing multipath parallel transmission communication
CN114257662B (en) * 2020-09-24 2024-04-12 花瓣云科技有限公司 Method, device, electronic equipment and storage medium for indicating transmission protocol
CN112583818B (en) * 2020-12-08 2021-12-24 清华大学 Adaptive transport protocol selection method and device for mobile Web service
CN113973124B (en) * 2021-10-27 2023-01-20 北京达佳互联信息技术有限公司 Data transmission method and device, electronic equipment and computer readable 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

Also Published As

Publication number Publication date
CN102791045A (en) 2012-11-21

Similar Documents

Publication Publication Date Title
CN102791045B (en) Mobile communication terminal and its automatically method of preferred host-host protocol
CN103200606B (en) Terminal and data service handling method
CN104185305B (en) It is a kind of to apply networking methods and mobile terminal with priority
CN102684951B (en) The system of selection of many Wide Area Network interface networking, system and network equipment
CN110049505A (en) Data transmission method and relevant apparatus
CN103139307B (en) A kind of Internet resources download the restoration methods and download system of interrupting
CN102055627A (en) Method and device for identifying peer-to-peer (P2P) application connection
CN100592287C (en) Device for improving mobile phone wireless networking transmission band width
CN106453149A (en) Wireless WIFI router and method for automatically allocating bandwidths based on user applications
CN105207949B (en) A kind of TCP optimization methods and system, SP servers
CN106550241A (en) Video traffic identifying system and virtualization dispositions method
WO2020164351A1 (en) Link connection method and related apparatus
CN107026800B (en) A kind of jamming control method and device
CN102594696B (en) A kind of method and device managing network device link aggregation group
CN110177389A (en) Method for routing based on the social group degree of association
CN102316116B (en) System for supporting multiple platform network communication processing and method thereof
CN103916331A (en) Connection method for analyzing data packet to select connection path
CN105246133A (en) Guest network control method, guest network control device and router
CN107733732A (en) A kind of method and device for judging network condition
CN103856924B (en) PCC strategy achieving method and device
CN106954240B (en) Intelligent mobile end interface selects System and method for
Zhang et al. Understanding HTTP flow rates in cellular networks
CN104486245B (en) A kind of flow control methods, system and gateway device
CN109274704A (en) TCP acceleration method and device, acceleration effect judge controller and gateway
CN108347579A (en) Band width control method and device

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
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.