CN118055171A - Self-adaptive matching method of 4G network transmission protocol and mobile communication terminal thereof - Google Patents
Self-adaptive matching method of 4G network transmission protocol and mobile communication terminal thereof Download PDFInfo
- Publication number
- CN118055171A CN118055171A CN202211459303.0A CN202211459303A CN118055171A CN 118055171 A CN118055171 A CN 118055171A CN 202211459303 A CN202211459303 A CN 202211459303A CN 118055171 A CN118055171 A CN 118055171A
- Authority
- CN
- China
- Prior art keywords
- preset value
- transmission
- protocol
- network
- transmission protocol
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 230000005540 biological transmission Effects 0.000 title claims abstract description 97
- 238000010295 mobile communication Methods 0.000 title claims abstract description 39
- 238000000034 method Methods 0.000 title claims abstract description 15
- 230000003044 adaptive effect Effects 0.000 claims description 7
- 230000006854 communication Effects 0.000 abstract description 5
- 238000004891 communication Methods 0.000 abstract description 4
- 238000013461 design Methods 0.000 description 3
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000000926 separation method Methods 0.000 description 2
- 230000001413 cellular effect Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/16—Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
- H04L69/165—Combined use of TCP and UDP protocols; selection criteria therefor
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The invention discloses a self-adaptive matching method of a 4G network transmission protocol; the mobile communication terminal includes: the data statistics device is used for receiving data and calculating average packet loss rate and average transmission delay according to the data; a timer for counting time and judging whether the time of the data statistics device receiving data exceeds a first preset value under the 4G network; the judging device is used for judging whether the average packet loss rate exceeds a second preset value and whether the average transmission delay exceeds a third preset value under the 4G network, and sending an instruction according to the judging result; and the protocol controller is used for using a transmission protocol according to the instruction. When the communication of the network application program has a connection problem, the mobile communication terminal does not need a user to manually select a transmission protocol, but can automatically select a better transmission protocol according to the actual transmission condition, and the transmission rate and the transmission reliability are taken into account, so that the user can enjoy better 4G network experience.
Description
Technical Field
The present invention relates to a 4G network transmission protocol adaptive matching technology, and in particular, to a 4G network transmission protocol adaptive matching method and a mobile communication terminal thereof.
Background
Currently, with the development of 4G technology, network applications on mobile communication terminals are becoming more and more widespread. Many applications with more complex network functions, the protocol stack of which adopts a design that the application layer is separated from the transport layer, such as SIP (SessionInitiation Protocol, i.e. session initiation protocol), VOIP (Voice over Internet Protocol, i.e. network telephony), RTMP (Routing Table Maintenance Protocol, i.e. routing table maintenance protocol), and the like, support both TCP (Transmission Control Protocol, i.e. transmission control protocol) and UDP (User DatagramProtocol, i.e. user data packet protocol). Due to the high real-time property of the UDP transmission protocol, the UDP transmission protocol can obtain higher transmission rate in most occasions; however, in some situations where the network conditions are not good or the gateway has a limitation on UDP packets, the transmission reliability far superior to UDP protocol can be obtained by using the TCP protocol bearer transport layer.
However, these network applications, while allowing for the use of different transport protocols, have no instructive specifications on how to prefer a transport protocol. In practical use of these network applications, most of the connection problems are caused by UDP packet loss without disconnection of the network connection, which can be practically avoided by exchanging the transport protocol. The existing terminal cannot intelligently switch the transmission protocols according to the advantages and disadvantages of various transmission protocols, and when the communication of the network application program has a connection problem, a user is usually required to manually select the transmission protocol according to actual conditions. However, since the user generally does not have specialized communication knowledge, it is often impractical and also very inconvenient for the user to be able to select a preferred transmission protocol. In addition, the transmission scheme of the existing mobile communication terminal cannot exert the advantages of the application layer and the transmission layer separation design of the network application programs, and cannot simultaneously achieve the transmission rate and the transmission reliability.
Disclosure of Invention
The invention aims to overcome the defect that in the prior art, a mobile communication terminal cannot intelligently switch transmission protocols according to the advantages and disadvantages of various transmission protocols, and provides a mobile communication terminal capable of automatically optimizing the transmission protocols under a 4G LTE network and a method thereof, so that a user can enjoy better network experience.
The invention solves the technical problems by the following technical proposal: an adaptive matching method of a 4G network transmission protocol, comprising: firstly, after registering a 4G LTE network, the mobile communication terminal completes application layer negotiation with a server, starts sending and receiving data by using a default transmission protocol, and simultaneously starts timing by a timer; the second step, the data statistics device receives the data; thirdly, judging whether the time exceeds a first preset value by the timer, if not, returning to the second step, and if so, entering a fourth step; step four, the data statistics device counts the received data, and calculates the average packet loss rate and the average transmission delay; fifthly, the judging device judges whether the average packet loss rate and the average transmission delay exceed a second preset value and a third preset value respectively, if not, the sixth step is carried out, and if yes, the seventh step is carried out; a sixth step, the judger sends out an instruction of using the alternative transmission protocol, and the eighth step is entered; seventh, the judger sends out an instruction to use the default transmission protocol; eighth, the protocol controller uses a transmission protocol according to the instruction.
Preferably, the method further comprises the step of setting the first preset value, the second preset value and the third preset value by a user before the first step.
Preferably, the method further comprises the steps of restarting the timer after the eighth step and returning to the second step.
The present invention also provides a mobile communication terminal comprising: the data statistics device is used for receiving data and calculating average packet loss rate and average transmission delay according to the data; a timer for counting time and judging whether the time of the data statistics device receiving data exceeds a first preset value; the judging device is used for judging whether the average packet loss rate exceeds a second preset value and whether the average transmission delay exceeds a third preset value, and sending an instruction according to the judging result; and the protocol controller is used for using a transmission protocol according to the instruction.
Preferably, a default transmission protocol and an alternative transmission protocol, such as UDP and TCP, are preset in the protocol controller.
Preferably, the mobile communication terminal allows a user to set the default transmission protocol and the alternative transmission protocol.
Preferably, the mobile communication terminal allows a user to set the first preset value, the second preset value, and the third preset value.
The invention has the positive progress effects that:
When the 4G LTE communication of the network application program has a connection problem, the mobile communication terminal does not need a user to manually select a transmission protocol, but can automatically select a better transmission protocol according to the actual transmission condition, thereby playing the advantages of the separation design of the application layer and the transmission layer of the network application program, taking the transmission rate and the transmission reliability into consideration, and providing a more stable network transmission environment for the network application program, so that the user can enjoy better network experience.
Drawings
Fig. 1 is a schematic block diagram of a mobile communication terminal capable of automatically optimizing a transmission protocol in a 4G LTE network according to a preferred embodiment of the present invention.
Fig. 2 is a flowchart of a method for adaptively matching a 4G network transmission protocol according to a preferred embodiment of the present invention.
Detailed Description
The following description of the preferred embodiments of the present invention is given with reference to the accompanying drawings, so as to explain the technical scheme of the present invention in detail. In the drawings, elements having similar structures or functions will be denoted by the same reference numerals. The drawings are only for purposes of illustrating various embodiments of the invention and are not to be construed as limiting the scope of the invention.
Fig. 1 is a schematic diagram for explaining functional modules required for a mobile communication terminal 100 that can automatically prefer a transmission protocol in a 4G LTE network according to an embodiment of the present invention. Fig. 1 shows only the modules in the mobile communication terminal 100 necessary for describing the present embodiment. For example, the mobile communication terminal 100 may be a mobile phone, a Personal Digital Assistant (PDA), an electronic book, a tablet computer, or the like.
The mobile communication terminal 100 includes a data statistics unit 120 for receiving data and calculating an average packet loss rate and an average transmission delay according to the data. The calculation may be implemented by the prior art, and thus will not be described in detail.
The mobile communication terminal 100 further includes a timer 110 for counting and judging whether the time for which the data statistics are received exceeds a first preset value. In a preferred embodiment, the first preset value may be 30 seconds. Of course, the first preset value may be another value, such as 15 seconds or 1 minute. The first preset value cannot be too long, so that the mobile terminal 100 cannot quickly respond to a connection problem of a network application program in a communication process; the first preset value should not be too short, so as to avoid that the data received by the data statistics unit 120 is bursty, and thus the average packet loss rate and the average transmission delay obtained by calculation are not representative. Therefore, the first preset value has a certain relation with the actual condition of the network where the user is located. Therefore, in another preferred embodiment, the mobile communication terminal 100 allows the user to set the first preset value to adapt to different network conditions of different users.
The mobile communication terminal 100 further includes a determiner 130 for determining whether the average packet loss rate exceeds a second preset value and whether the average transmission delay exceeds a third preset value, and issuing an instruction according to the determination result. In a preferred embodiment, the second preset value may be 0.5% and the third preset value may be 500 milliseconds. Obviously, the second preset value and the third preset value may be other values according to practical situations. In another preferred embodiment, the mobile communication terminal 100 allows the user to set the second preset value and the third preset value to meet different requirements of the user.
The mobile communication terminal 100 further comprises a protocol controller 140 for using a transmission protocol according to the instructions. In a preferred embodiment, the protocol controller 140 presets two protocols, namely, a UDP protocol and a TCP protocol, wherein the UDP protocol is a default transmission protocol, and the TCP protocol is an alternative transmission protocol. In another preferred embodiment, the mobile communication terminal 100 allows a user to set the default transmission protocol and the alternative transmission protocol. For example, when the network situation where the user is located is often poor, i.e. the average packet loss rate often exceeds the second preset value, for example 0.5%, or the average transmission delay often exceeds the third preset value, for example 500 ms, the TCP protocol can have better performance than the UDP protocol, and it is obviously not practical to continue using the UDP protocol as the default transmission protocol. At this time, the user can set the TCP protocol as a default transport protocol and the UDP protocol as an alternative transport protocol.
As shown in fig. 2, the adaptive matching method of the 4G network transmission protocol according to the preferred embodiment of the present invention includes the following steps: step 210, the mobile communication terminal 100 completes application layer negotiation with a server (not shown) under the 4G LTE network, and starts transmitting and receiving data using a default transmission protocol, and at the same time, the timer 110 starts timing; step 220, the data statistics 120 receives the data; step 230, the timer 110 determines whether the time exceeds a first preset value, if not, returns to step 220, if yes, proceeds to step 240; step 240, the data statistics unit 120 counts the received data, and calculates an average packet loss rate and an average transmission delay; step 250, the determiner 130 determines whether the average packet loss rate and the average transmission delay exceed a second preset value and a third preset value, respectively, if not, step 260 is entered, and if yes, step 270 is entered; step 260, the arbiter 130 issues an instruction to use an alternative transport protocol, and proceeds to step 280; step 270, the arbiter 130 issues an instruction to use the default transport protocol; in step 280, the protocol controller 140 uses a transport protocol according to the instructions. In this embodiment, it should be noted that, after step 280, the transmission protocol currently used by the mobile communication terminal 100 will be considered as a preferred transmission protocol, and the statistics of the transmission data will not be performed, and the transmission protocol will not be switched.
In a preferred embodiment, step 200 of setting the first preset value, the second preset value and the third preset value by a user may be further included before step 210.
In another preferred embodiment, step 280 may be followed by step 290 which may further include restarting the timer 110 and returning to step 220. In this embodiment, the meaning of step 290 is that the data statistics unit 120 will continuously count the received data, and when the transmission protocol used by the mobile communication terminal 100 is no longer suitable for the current network condition, the determining unit 130 may timely issue an instruction for using the preferred transmission protocol according to the statistics result of the data statistics unit 120, that is, the average packet loss rate and the average transmission delay. For example, a user is walking through an underground passage and is also using the mobile communication terminal 100, such as a cellular phone, to browse information in real time with the internet. As is well known, due to the fact that the underground channel has a certain shielding characteristic, the network situation may not be good, i.e. the average packet loss rate exceeds the second preset value of the mobile communication terminal 100, such as 0.5%, or the average transmission delay exceeds the third preset value, such as 500 ms, the mobile communication terminal 100 will automatically select an alternative transmission protocol, such as TCP protocol, according to the method of the present embodiment. The 4G LTE network situation may be improved when the user walks out of the underground tunnel, and if the alternative transmission protocol, such as the TCP protocol, is continued to be used, the resources of the network may not be efficiently utilized. In this embodiment, since the data statistics unit 120 continuously performs statistics on the received data, when the network situation is improved, that is, the average packet loss rate does not exceed the second preset value of the mobile communication terminal 100, for example, 0.5%, and the average transmission delay does not exceed the third preset value, for example, 500 ms, the determining unit 130 may timely issue an instruction to switch the protocol controller 140 back to the default transmission protocol again.
While specific embodiments of the invention have been described above, it will be appreciated by those skilled in the art that these are by way of example only, and the scope of the invention is defined by the appended claims. Various changes and modifications to these embodiments may be made by those skilled in the art without departing from the principles and spirit of the invention, but such changes and modifications fall within the scope of the invention.
Claims (7)
1. An adaptive matching method for a 4G network transmission protocol, comprising:
The method comprises the steps that firstly, a mobile communication terminal and a server complete application layer negotiation under a 4G network, a default transmission protocol is used for starting to send and receive data, and a timer starts to count;
The second step, the data statistics device receives the data;
thirdly, the timer judges whether the transmission time on the 4G network exceeds a first preset value, if not, the second step is returned, and if so, the fourth step is entered;
step four, the data statistics device counts the received data, and calculates the average packet loss rate and the average transmission delay;
Fifthly, the judging device judges whether the average packet loss rate and the average transmission delay exceed a second preset value and a third preset value respectively, if not, the sixth step is carried out, and if yes, the seventh step is carried out;
A sixth step, the judger sends out an instruction of using the alternative transmission protocol, and the eighth step is entered;
seventh, the judger sends out an instruction to use the default transmission protocol;
Eighth, the protocol controller uses a transmission protocol according to the instruction.
2. The method for adaptive matching of 4G network transmission protocols according to claim 1, further comprising the step of setting the first preset value, the second preset value, and the third preset value by a user before the first step.
3. The adaptive matching method of 4G network transmission protocol according to claim 1, further comprising the step of restarting the timer after the eighth step and returning to the second step.
4. A mobile communication terminal, comprising:
The data statistics device is used for receiving data and calculating average packet loss rate and average transmission delay according to the data;
a timer for timing and judging whether the time of the data statistics device receiving the data exceeds a first preset value under the 4G network;
The judging device is used for judging whether the average packet loss rate exceeds a second preset value and whether the average transmission delay exceeds a third preset value under the 4G network, and sending an instruction according to the judging result;
and the protocol controller is used for using a transmission protocol according to the instruction.
5. The mobile communication terminal according to claim 4, wherein,
A default transmission protocol and an alternative transmission protocol are preset in the protocol controller.
6. The mobile communication terminal according to claim 5, wherein,
The mobile communication terminal allows a user to set the default transmission protocol and the alternative transmission protocol.
7. The mobile communication terminal according to claim 4, wherein,
The mobile communication terminal allows a user to set the first preset value, the second preset value, and the third preset value.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211459303.0A CN118055171A (en) | 2022-11-17 | 2022-11-17 | Self-adaptive matching method of 4G network transmission protocol and mobile communication terminal thereof |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211459303.0A CN118055171A (en) | 2022-11-17 | 2022-11-17 | Self-adaptive matching method of 4G network transmission protocol and mobile communication terminal thereof |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118055171A true CN118055171A (en) | 2024-05-17 |
Family
ID=91045444
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211459303.0A Pending CN118055171A (en) | 2022-11-17 | 2022-11-17 | Self-adaptive matching method of 4G network transmission protocol and mobile communication terminal thereof |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118055171A (en) |
-
2022
- 2022-11-17 CN CN202211459303.0A patent/CN118055171A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100525504C (en) | Multimedia session service quality management method under multiple radio network integrated environment | |
US8140066B2 (en) | Power consumption reduction logic for unscheduled APSD and real time services | |
WO2017148260A1 (en) | Voice code sending method and apparatus | |
JPH11331222A (en) | Device and method for transmitting voice having adaptive packet length | |
EP1395014B1 (en) | A method of transmitting data streams with data segments of variable length | |
CN112821992A (en) | Data transmission method and device, electronic equipment and storage medium | |
JP2003318966A (en) | Bit rate control method and apparatus for real time communication | |
CN110149167A (en) | Method and device for dynamically adjusting codes, mobile terminal and storage medium | |
US20150358376A1 (en) | Method, Apparatus and System for Transmitting Media Data | |
US9674737B2 (en) | Selective rate-adaptation in video telephony | |
KR20050019679A (en) | Packet service enhancement method for mobile communication terminal | |
CN1759571A (en) | Method and communication system for signalling information for optimising rate control schemes in wireless networks | |
US20060200577A1 (en) | Method for transmitting moving picture data to mobile terminal using pseudo-streaming technology | |
CN103428240A (en) | Data transmission method and data transmission terminal | |
EP1351465B1 (en) | Voice transmitting and receiving system | |
CN101335687A (en) | Subscriber service quality guarantee method for radio communication system | |
JP4205675B2 (en) | VOD data processing method for portable terminal | |
CN118055171A (en) | Self-adaptive matching method of 4G network transmission protocol and mobile communication terminal thereof | |
CN100531131C (en) | Portable terminal, streaming communication system, streaming communication method, and streaming communication program | |
CN111404922B (en) | Communication terminal and VOIP multi-account dynamic adjustment registration system and method thereof | |
CN109769273A (en) | Method and system based on the control VoWifi switching of RTP delay variation | |
KR20050060922A (en) | Streaming service method according to battery capacity of mobile communication terminal | |
JP2002359651A (en) | System and method for codec selection | |
CN107404363A (en) | A kind of method of adjustment, system, terminal and the network side equipment of voice code check | |
US8873539B2 (en) | Multimedia call control mechanism and communication equipment using the same |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication |