CN105159781A - Method and apparatus for adjusting network speed of application of intelligent terminal and intelligent terminal - Google Patents

Method and apparatus for adjusting network speed of application of intelligent terminal and intelligent terminal Download PDF

Info

Publication number
CN105159781A
CN105159781A CN201510526490.3A CN201510526490A CN105159781A CN 105159781 A CN105159781 A CN 105159781A CN 201510526490 A CN201510526490 A CN 201510526490A CN 105159781 A CN105159781 A CN 105159781A
Authority
CN
China
Prior art keywords
application
network speed
relatively high
multiple application
certain
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
CN201510526490.3A
Other languages
Chinese (zh)
Other versions
CN105159781B (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.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp 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 Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN201510526490.3A priority Critical patent/CN105159781B/en
Publication of CN105159781A publication Critical patent/CN105159781A/en
Application granted granted Critical
Publication of CN105159781B publication Critical patent/CN105159781B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Abstract

The present invention discloses a method and an apparatus for adjusting a network speed of an application of an intelligent terminal and the intelligent terminal, and aims to more reasonably or intelligently allocate the network speeds of a variety of applications when a user of the intelligent terminal simultaneously starts the variety of applications. The method comprises: when the plurality of applications are connected to a network, acquiring an application network speed priority list and a real-time network speed of each application in the plurality of applications; and according to the application network speed priority list and the real-time network speed of each application in the plurality of applications, acquiring a relatively high network speed for the application with a relatively high preset priority in the plurality of applications. According to the technical scheme provided by the present invention, network speed control can be implemented on the side of the intelligent terminal; when the plurality of applications in the intelligent terminal are simultaneously connected to the network and resources are limited, the relatively high network speed can be allocated for the application with the relatively high preset priority, for example, a relatively high downloading speed is obtained, and the network speed of each application is optimized to enable the network speed of each application to meet expectation of the user, so that the experience of the user when using the intelligent terminal is enhanced.

Description

Regulate the method for intelligent terminal application network speed, device and intelligent terminal
Technical field
The invention belongs to mobile Internet field, particularly relate to the method, device and the intelligent terminal that regulate intelligent terminal application network speed.
Background technology
The development of the intelligent terminal such as smart mobile phone, panel computer technology, makes the function of these terminals from strength to strength, has surmounted the simple function of communication far away.Can not rant out, the intelligent terminals such as smart mobile phone have been no longer simple meanss of communication, but integrate the handicraft of leisure, amusement and functions such as communicating.The power of intelligent terminal just, makes the application that intelligent terminal is installed get more and more.Reportedly, certain smart mobile phone manufacturer declares that its smart mobile phone manufactured can be installed and nearly more than 300,000 plants application.
Intelligent terminal can be installed so abundant application and promote the development of mobile Internet, otherwise or, the develop rapidly of mobile Internet, has enriched the application on intelligent terminal further.When intelligent terminal user uses the application networking that it is installed, important experience is the speed of network speed.Network speed can give user good experience faster, otherwise then allows the experience of user be deteriorated.Therefore, the common aspiration that network speed is user, operator or intelligent terminal manufacturer is improved.
But realizing in process of the present invention, inventor finds that the raising that at least there is network speed in above-mentioned prior art has the upper limit, or the raising of network speed can be subject to the defects such as the restriction of the various objective factors such as resource.For example, a kind of method of existing raising network speed is made an effort on modulator-demodular unit (modem), that is, manage the processing speed improving modulator-demodular unit.To can yet be regarded as although above-mentioned a kind of method improving network speed, on the one hand, the processing speed of modulator-demodular unit has the upper limit, brings up to a certain degree and just there will be bottleneck; On the other hand, the processing speed merely improving modulator-demodular unit still can not solve the experience problem of user, such as, intelligent terminal user use its intelligent terminal open web page browsing, online listen to the music and the application such as backstage foradownloaded video time, backstage foradownloaded video occupies a large amount of resources and causes webpage to delay load or be in stress state for a long time often, thus allows Consumer's Experience become poor.
Summary of the invention
In view of this, the invention provides the method, device and the intelligent terminal that regulate intelligent terminal application network speed, during to open multiple application in intelligent terminal user simultaneously more rationally or the network speed of the various application of intelligent distribution.
First aspect present invention provides a kind of method regulating intelligent terminal application network speed, and described method comprises:
When multiple application networking, obtain the real-time network speed of each application in application network speed priority list and described multiple application, described application network speed priority list is included in the default network speed and pre-set priority that when multiple application is networked, each application is corresponding;
According to the real-time network speed of each application in described application network speed priority list and described multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed.
In conjunction with first aspect, in the first possible implementation of first aspect, described when multiple application networking, obtain the real-time network speed of each application in described multiple application, comprising:
Obtain the TCP/IP port that in described multiple application, each application is corresponding;
Monitor the flow of described each TCP/IP port;
By the flow of described each TCP/IP port compared with Preset Time, described in the result compared as the real-time network speed of each application in described multiple application.
In conjunction with first aspect, in the implementation that the second of first aspect is possible, the described real-time network speed according to each application in described application network speed priority list and described multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed, comprising:
Each application in described multiple application is mated with described application network speed priority list, obtains the pre-set priority of each application in described multiple application and default network speed;
If the relatively high and real-time network speed that is certain application described of the pre-set priority of certain application is less than default network speed of certain application described in described multiple application, then send information to improve real-time network speed of certain application described to server.
In conjunction with the implementation that the second of first aspect is possible, in the third possible implementation of first aspect, describedly send information to improve real-time network speed of certain application described to server, comprising:
Message is regulated to described server transmission and reception window, described receive window adjustment message comprises the size of adjusted TCP receive window corresponding to certain application described, and the size of described adjusted TCP receive window is greater than the size of the described TCP receive window that certain application is corresponding described in before described server transmission and reception window adjustment message.
In conjunction with first aspect, in the 4th kind of possible implementation of first aspect, the described real-time network speed according to each application in described application network speed priority list and described multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed, comprising:
Each application in described multiple application is mated with described application network speed priority list, obtains the pre-set priority of each application in described multiple application;
If in described multiple application certain or some application pre-set priority relatively high, while the data request service of certain or some the corresponding thread of application then continuing to keep described pre-set priority relatively high, suspend the data request service of relatively low certain or some the corresponding thread of application of pre-set priority in described multiple application.
Second aspect present invention provides a kind of device regulating intelligent terminal application network speed, and described device comprises:
Acquisition module, for when multiple application is networked, obtain the real-time network speed of each application in application network speed priority list and described multiple application, described application network speed priority list is included in the default network speed and pre-set priority that when multiple application is networked, each application is corresponding;
Network speed adjustment module, for the real-time network speed according to each application in described application network speed priority list and described multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed.
In conjunction with second aspect, in the first possible implementation of second aspect, described acquisition module comprises:
Port acquiring unit, for obtaining the TCP/IP port that in described multiple application, each application is corresponding;
Flow monitoring unit, for monitoring the flow of described each TCP/IP port;
Network speed computing unit, for by the flow of described each TCP/IP port compared with Preset Time, described in the result compared as the real-time network speed of each application in described multiple application.
In conjunction with second aspect, in the implementation that the second of second aspect is possible, described network speed adjustment module comprises:
First matching unit, for each application in described multiple application being mated with described application network speed priority list, obtains the pre-set priority of each application in described multiple application and default network speed;
Transmitting element, if relatively high and real-time network speed that is certain application described is less than default network speed of certain application described for the pre-set priority of certain application in described multiple application, then sends information to improve real-time network speed of certain application described to server.
In conjunction with the implementation that the second of second aspect is possible, in the third possible implementation of second aspect, described transmitting element comprises:
Packet sending unit, for regulating message to described server transmission and reception window, described receive window adjustment message comprises the size of adjusted TCP receive window corresponding to certain application described, and the size of described adjusted TCP receive window is greater than the size of the described TCP receive window that certain application is corresponding described in before described server transmission and reception window adjustment message.
In conjunction with second aspect, in the 4th kind of possible implementation of second aspect, described network speed adjustment module comprises:
Second matching unit, for each application in described multiple application being mated with described application network speed priority list, obtains the pre-set priority of each application in described multiple application;
Requesting processing, if in described multiple application certain or some application pre-set priority relatively high, while the data request service of certain or some the corresponding thread of application then continuing to keep described pre-set priority relatively high, suspend the data request service of relatively low certain or some the corresponding thread of application of pre-set priority in described multiple application.
Third aspect present invention provides a kind of intelligent terminal, and described intelligent terminal comprises the device of above-mentioned adjustment intelligent terminal application network speed.
From the invention described above technical scheme, due to can according to the real-time network speed of each application in the application network speed priority list obtained and multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed.Therefore, just improve network speed by the processing speed improving the network equipment with prior art but be subject to compared with various objective factor restricts, the present invention can realize the control of network speed in intelligent terminal side, when intelligent terminal has multiple application to network and is resource-constrained simultaneously, can be that the application that pre-set priority is relatively high distributes relatively high network speed, such as, obtain higher speed of download, optimize the network speed of each application, allow the network speed of each application reach the expection of user, thus strengthen experience when user uses intelligent terminal.
Accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is the realization flow schematic diagram of the method for the adjustment intelligent terminal application network speed that the embodiment of the present invention one provides;
Fig. 2 is the structural representation of the device of the adjustment intelligent terminal application network speed that the embodiment of the present invention two provides;
Fig. 3 is the structural representation of the device of the adjustment intelligent terminal application network speed that the embodiment of the present invention three provides;
Fig. 4 is the structural representation of the device of the adjustment intelligent terminal application network speed that the embodiment of the present invention four provides;
Fig. 5 is the structural representation of the device of the adjustment intelligent terminal application network speed that the embodiment of the present invention five provides;
Fig. 6 is the structural representation of the device of the adjustment intelligent terminal application network speed that the embodiment of the present invention six provides.
Embodiment
For making goal of the invention of the present invention, feature, advantage can be more obvious and understandable, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, and not all embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
The embodiment of the present invention provides the method regulating intelligent terminal application network speed, described method comprises: when multiple application networking, obtain the real-time network speed of each application in application network speed priority list and described multiple application, described application network speed priority list is included in the default network speed and pre-set priority that when multiple application is networked, each application is corresponding; According to the real-time network speed of each application in described application network speed priority list and described multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed.The embodiment of the present invention also provides the corresponding device and the intelligent terminal that regulate intelligent terminal application network speed.Below be described in detail respectively.
Refer to accompanying drawing 1, be the realization flow schematic diagram of the method for the adjustment intelligent terminal application network speed that the embodiment of the present invention one provides, be applied to the intelligent terminal such as smart mobile phone, panel computer.The method of the adjustment intelligent terminal application network speed of accompanying drawing 1 example mainly comprises the following steps S101 and step S102:
S101, when multiple application networking, obtains the real-time network speed of each application in application network speed priority list and described multiple application, and described application network speed priority list is included in the default network speed and pre-set priority that when multiple application is networked, each application is corresponding.
In embodiments of the present invention, application network speed priority list is each application when being included in multiple application networking and the default network speed of correspondence thereof and the list of pre-set priority, as shown in table 1 below:
Network speed priority list applied by table 1
Apply Names Preset network speed Pre-set priority
Application 1 50kb/s 1
Application 2 45kb/s 2
…… …… ……
Application 7 26kb/s 4
Application 8 18kb/s 6
…… …… ……
Pre-set priority one hurdle in above-mentioned table 1, its numeral is less, represents that pre-set priority is higher; Certainly, can also do contrary regulation, that is, its numeral is larger, represents that pre-set priority is higher.Usually, presetting the height of network speed is corresponding to the height of pre-set priority, that is, the default network speed of application is higher, and its pre-set priority is corresponding higher, otherwise then anti-.
It should be noted that, application network speed priority list can be whether user preserves according to application after the practical situation such as foreground, frequency of utilization, classification are arranged.Such as, for micro-letter, rob the application such as ticket software, QQ Online Music, Baidu's map, its a kind of possible application network speed priority list arranging rear preservation is as shown in table 2 below:
Network speed priority list applied by table 2
Apply Names Preset network speed Pre-set priority
Rob ticket software 80kb/s 1
Micro-letter 43kb/s 2
Baidu's map 30kb/s 3
QQ Online Music 26kb/s 4
…… …… ……
As one embodiment of the invention, when multiple application networking, the real-time network speed obtaining each application in described multiple application can realize by S1011 to step S1013 as follows:
S1011, obtains the TCP/IP port that in multiple application, each application is corresponding.
In embodiments of the present invention, apply by socket (socket) networking, the socket namely applying to create is connected to server; Be application when creating socket and be assigned with TCP/IP port accordingly.Therefore, when application is connected with internet, the TCP/IP port of this application correspondence can be obtained from its socket connected.
S1012, monitors the flow of TCP/IP port corresponding to each application.
After having known TCP/IP port, by monitoring the size and number of each TCP/IP port receives data bag or transmission packet, then, namely can be used as each flow applying corresponding TCP/IP port with the product of the size and number receiving packet or send packet.
S1013, by the flow of each TCP/IP port compared with Preset Time, the result compared is as the real-time network speed of application each in multiple application.
Obviously, in order to objective reality reflect the real-time network speed of each application, in embodiments of the present invention, the Preset Time calculating the real-time network speed of each application used should be identical.
S102, according to the real-time network speed of each application in the application network speed priority list obtained through step S101 and multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed.
As one embodiment of the invention, according to the real-time network speed of each application in the application network speed priority list obtained through step S101 and multiple application, can realize by S1021 and step S1022 as follows for the relatively high application of pre-set priority in described multiple application obtains relatively high network speed:
S1021, mates application each in multiple application with application network speed priority list, obtains the pre-set priority of each application in described multiple application and default network speed.
Such as, suppose on current intelligent terminal it is micro-letter, rob four, ticket software, QQ Online Music and Baidu's map application networking, then these four application can be mated with the application network speed priority list of aforementioned table 2 example, obtain their respective pre-set priority and default network speed respectively.
S1022, if the relatively high and real-time network speed that is certain application described of the pre-set priority of certain application is less than default network speed of certain application described in multiple application, then sends information to improve real-time network speed of certain application described to server.
The application network speed priority list represented for table 2.Suppose through overmatching, micro-letter, rob four, ticket software, QQ Online Music and Baidu's map application in, the pre-set priority robbing ticket software is the highest, and its default network speed is 80kb/s.If the real-time network speed robbing ticket software only has 55kb/s to be namely less than its default network speed, then this intelligent terminal robbing ticket software is installed and sends information to improve the real-time network speed robbing ticket software to server.
In an embodiment of the invention, information is sent to improve the real-time network speed of certain application to server, can be realize in the following way, namely, message is regulated to described server transmission and reception window, this receive window regulates message to comprise the size of adjusted TCP receive window corresponding to certain application described, and wherein, the size of adjusted TCP receive window is greater than the size of the TCP receive window that certain application described is corresponding before described server transmission and reception window adjustment message.
Still for the application network speed priority list that table 2 represents.According to above-mentioned citing, because the real-time network speed robbing ticket software only has 55kb/s, therefore, being provided with this intelligent terminal robbing ticket software is need to send information to server to rob the real-time network speed of ticket software to improve.Before supposing that intelligent terminal regulates message to described server transmission and reception window, when the real-time network speed namely robbing ticket software only has 55kb/s, the TCP receive window size of robbing ticket software corresponding is 32 bytes, when then intelligent terminal robs the real-time network speed of ticket software to server transmission information to improve, intelligent terminal regulates in message to the receive window that described server sends, the size of adjusted TCP receive window may be 64 bytes, 128 bytes or 256 bytes, etc.So, after server receives the adjusted TCP receive window that receive window regulates in message, then can with adjusted TCP receive window for transmission window robs to intelligent terminal transmission the data that this application of ticket software needs.Because the size of adjusted TCP receive window increases, therefore, the network speed robbing this application of ticket software obviously can be improved.
As another embodiment of the present invention, according to the real-time network speed of each application in the application network speed priority list obtained through step S101 and multiple application, can realize by S ' 1021 and step S ' 1022 as follows for the relatively high application of pre-set priority in described multiple application obtains relatively high network speed:
S ' 1021, mates each application in described multiple application with described application network speed priority list, obtains the pre-set priority of each application in described multiple application.
In the implementation procedure of step S ' 1021 and previous embodiment, the implementation procedure of step S1021 is similar, such as, suppose on current intelligent terminal it is micro-letter, rob four, ticket software, QQ Online Music and Baidu's map application networking, then these four application are mated with the application network speed priority list of aforementioned table 2 example, and the pre-set priority of acquisition is 2,1,4 and 3 respectively.
S ' 1022, if in described multiple application certain or some application pre-set priority relatively high, while the data request service of certain or some the corresponding thread of application then continuing to keep described pre-set priority relatively high, suspend the data request service of relatively low certain or some the corresponding thread of application of pre-set priority in described multiple application.
Such as, through the coupling of step S ' 1022, the pre-set priority robbing ticket software is obviously the highest, then continue the data request service keeping robbing thread corresponding to this application of ticket software, that is, keep robbing thread corresponding to this application of ticket software to continue to run, meanwhile, suspend the data request service of the corresponding thread of these three, micro-letter, QQ Online Music and Baidu's map application, method to block the thread corresponding to these three application.To rob corresponding to this application of ticket software thread continue to run owing to only maintaining, robbing ticket software can the resource such as eat alone bandwidth, and thus network speed is very fast.
It should be noted that, while the data request service of certain or some the corresponding thread of application continuing to keep pre-set priority relatively high, suspend the data request service of relatively low certain or some the corresponding thread of application of pre-set priority in described multiple application, here it is the gap of transmitting packet in certain or some application that pre-set priority is relatively high that time-out also can be understood as, such as, the gap of wait-receiving mode packet after sending packet, accept the data request service of relatively low certain or some the corresponding thread of application of pre-set priority in multiple application, namely, certain or some application that in multiple application, pre-set priority is relatively low can transmit packet.
From the method for the adjustment intelligent terminal application network speed of above-mentioned accompanying drawing 1 example, due to can according to the real-time network speed of each application in the application network speed priority list obtained and multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed.Therefore, just improve network speed by the processing speed improving the network equipment with prior art but be subject to compared with various objective factor restricts, the present invention can realize the control of network speed in intelligent terminal side, when intelligent terminal has multiple application to network and is resource-constrained simultaneously, can be that the application that pre-set priority is relatively high distributes relatively high network speed, such as, obtain higher speed of download, optimize the network speed of each application, allow the network speed of each application reach the expection of user, thus strengthen experience when user uses intelligent terminal.
Referring to accompanying drawing 2, is the structural representation of the device of the adjustment intelligent terminal application network speed that the embodiment of the present invention two provides.For convenience of explanation, illustrate only the part relevant to the embodiment of the present invention.The device of the adjustment intelligent terminal application network speed of accompanying drawing 2 example can be the executive agent of the method for the adjustment intelligent terminal application network speed that previous embodiment provides, and can be applicable to intelligent terminal, and it can be intelligent terminal or one of them functional module.The device of the adjustment intelligent terminal application network speed of accompanying drawing 2 example mainly comprises acquisition module 201 and network speed adjustment module 202, and each functional module is described in detail as follows:
Acquisition module 201, for when multiple application is networked, obtain the real-time network speed of each application in application network speed priority list and described multiple application, wherein, application network speed priority list is included in the default network speed and pre-set priority that when multiple application is networked, each application is corresponding.
In embodiments of the present invention, application network speed priority list is each application when being included in multiple application networking and the default network speed of correspondence thereof and the list of pre-set priority, as shown in aforementioned table 1.Pre-set priority one hurdle in table 1, its numeral is less, represents that pre-set priority is higher; Certainly, can also do contrary regulation, that is, its numeral is larger, represents that pre-set priority is higher.Usually, presetting the height of network speed is corresponding to the height of pre-set priority, that is, the default network speed of application is higher, and its pre-set priority is corresponding higher, otherwise then anti-.
It should be noted that, application network speed priority list can be whether user preserves according to application after the practical situation such as foreground, frequency of utilization, classification are arranged.Such as, for micro-letter, rob the application such as ticket software, QQ Online Music, Baidu's map, it arranges a kind of possible application network speed priority list of rear preservation as shown in Table 2 above.
Network speed adjustment module 202, for the real-time network speed of each application in the application network speed priority list that obtains according to acquisition module 201 and multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed.
It should be noted that, in the embodiment of the device of the adjustment intelligent terminal application network speed of above accompanying drawing 2 example, the division of each functional module only illustrates, can be as required in practical application, the facility of the such as configuration requirement of corresponding hardware or the realization of software is considered, and above-mentioned functions distribution is completed by different functional modules, inner structure by the device of described adjustment intelligent terminal application network speed is divided into different functional modules, to complete all or part of function described above.And, in practical application, corresponding functional module in the present embodiment can be by corresponding hardware implementing, also can perform corresponding software by corresponding hardware to complete, such as, aforesaid acquisition module, can be have perform aforementioned when multiple application networking, obtain the hardware of the real-time network speed of each application in application network speed priority list and described multiple application, such as getter also can be general processor or other hardware devices that can perform corresponding computer program thus complete aforementioned function; For another example aforesaid network speed adjustment module, it can be the real-time network speed according to each application in described application network speed priority list and described multiple application, for the relatively high application of pre-set priority in described multiple application obtains the hardware of relatively high network speed, such as network speed regulator also can be general processor or other hardware devices (each embodiment that this instructions provides all can apply foregoing description principle) that can perform corresponding computer program thus complete aforementioned function.
From the device of the adjustment intelligent terminal application network speed of above-mentioned accompanying drawing 2 example, because network speed adjustment module can according to the real-time network speed of each application in the application network speed priority list obtained and multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed.Therefore, just improve network speed by the processing speed improving the network equipment with prior art but be subject to compared with various objective factor restricts, the present invention can realize the control of network speed in intelligent terminal side, when intelligent terminal has multiple application to network and is resource-constrained simultaneously, can be that the application that pre-set priority is relatively high distributes relatively high network speed, such as, obtain higher speed of download, optimize the network speed of each application, allow the network speed of each application reach the expection of user, thus strengthen experience when user uses intelligent terminal.
The acquisition module 201 of accompanying drawing 2 example can comprise port acquiring unit 301, flow monitoring unit 302 and network speed computing unit 303, as shown in Figure 3 the device of adjustment intelligent terminal application network speed that provides of the embodiment of the present invention three, wherein:
Port acquiring unit 301, for obtaining the TCP/IP port that in described multiple application, each application is corresponding.
In embodiments of the present invention, apply by socket (socket) networking, the socket namely applying to create is connected to server; Be application when creating socket and be assigned with TCP/IP port accordingly.Therefore, when application is connected with internet, port acquiring unit 301 can obtain the TCP/IP port of this application correspondence from the socket that it connects.
Flow monitoring unit 302, for monitoring the flow of each TCP/IP port.
After port acquiring unit 301 has known TCP/IP port, flow monitoring unit 302 is by each TCP/IP port receives data bag of monitoring or the size and number sending packet, then, namely can be used as each flow applying corresponding TCP/IP port with the product of the size and number receiving packet or send packet.
Network speed computing unit 303, for flow monitoring unit 302 being monitored the flow of each TCP/IP port of gained compared with Preset Time, the result compared is as the real-time network speed of each application in described multiple application.
Obviously, in order to objective reality reflect the real-time network speed of each application, in embodiments of the present invention, the Preset Time that network speed computing unit 303 calculates the real-time network speed of each application used should be identical.
The network speed adjustment module 202 of accompanying drawing 2 example can comprise the first matching unit 401 and transmitting element 402, as shown in Figure 4 the device of adjustment intelligent terminal application network speed that provides of the embodiment of the present invention four, wherein:
First matching unit 401, for application each in multiple application being mated with application network speed priority list, obtains the pre-set priority of each application in described multiple application and default network speed.
Such as, suppose on current intelligent terminal it is micro-letter, rob four, ticket software, QQ Online Music and Baidu's map application networking, then these four application can be mated with the application network speed priority list of aforementioned table 2 example by the first matching unit 401, obtain their respective pre-set priority and default network speed respectively.
Transmitting element 402, if the pre-set priority for certain application in described multiple application is relatively high and real-time network speed that is certain application described is less than certain default network speed applied described, then send information to improve the real-time network speed of certain application described to server.
The application network speed priority list represented for table 2.Suppose the coupling through the first matching unit 401, micro-letter, rob four, ticket software, QQ Online Music and Baidu's map application in, the pre-set priority robbing ticket software is the highest, and its default network speed is 80kb/s.If the real-time network speed robbing ticket software only has 55kb/s to be namely less than its default network speed, then transmitting element 402 sends information to improve the real-time network speed robbing ticket software to server.
The transmitting element 402 of accompanying drawing 4 example can comprise packet sending unit 501, as shown in Figure 5 the device of adjustment intelligent terminal application network speed that provides of the embodiment of the present invention five.Packet sending unit 501 is for regulating message to server transmission and reception window, receive window regulates message to comprise the size of adjusted TCP receive window corresponding to certain application, wherein, the size of adjusted TCP receive window is greater than the size of packet sending unit 501 TCP receive window that certain application is corresponding described in before described server transmission and reception window adjustment message.
Still for the application network speed priority list that table 2 represents.According to above-mentioned citing, because the real-time network speed robbing ticket software only has 55kb/s, therefore, transmitting element 402 needs to send information to server and robs the real-time network speed of ticket software to improve.Before supposing that transmitting element 402 regulates message to described server transmission and reception window, when the real-time network speed namely robbing ticket software only has 55kb/s, the TCP receive window size of robbing ticket software corresponding is 32 bytes, when then transmitting element 402 robs the real-time network speed of ticket software to server transmission information to improve, its packet sending unit 501 regulates in message to the receive window that described server sends, the size of adjusted TCP receive window may be 64 bytes, 128 bytes or 256 bytes, etc.So, after server receives the adjusted TCP receive window that receive window regulates in message, then can with adjusted TCP receive window for transmission window robs to intelligent terminal transmission the data that this application of ticket software needs.Because the size of adjusted TCP receive window increases, therefore, the network speed robbing this application of ticket software obviously can be improved.
The network speed adjustment module 202 of accompanying drawing 2 example can comprise the second matching unit 601 and requesting processing 602, as shown in Figure 6 the device of adjustment intelligent terminal application network speed that provides of the embodiment of the present invention six, wherein:.
Second matching unit 601, for application each in multiple application being mated with application network speed priority list, obtains the pre-set priority of each application in described multiple application.
In the implementation procedure of the second matching unit 601 and previous embodiment, the implementation procedure of the first matching unit 401 is similar, such as, suppose on current intelligent terminal it is micro-letter, rob four, ticket software, QQ Online Music and Baidu's map application networking, then these four application are mated with the application network speed priority list of aforementioned table 2 example by the second matching unit 601, and the pre-set priority of acquisition is 2,1,4 and 3 respectively.
Requesting processing 602, if in multiple application certain or some application pre-set priority relatively high, while the data request service of certain or some the corresponding thread of application then continuing to keep described pre-set priority relatively high, suspend the data request service of relatively low certain or some the corresponding thread of application of pre-set priority in described multiple application.
Such as, through the coupling of the second matching unit 601, the pre-set priority robbing ticket software is obviously the highest, then requesting processing 602 continues the data request service that thread corresponding to this application of ticket software is robbed in maintenance, that is, keep robbing thread corresponding to this application of ticket software to continue to run, meanwhile, suspend the data request service of the corresponding thread of these three, micro-letter, QQ Online Music and Baidu's map application, method to block the thread corresponding to these three application.To rob corresponding to this application of ticket software thread continue to run because requesting processing 602 only maintains, robbing ticket software can the resource such as eat alone bandwidth, and thus network speed is very fast.
It should be noted that, while the data request service of certain or some the corresponding thread of application continuing to keep pre-set priority relatively high in requesting processing 602, suspend the data request service of relatively low certain or some the corresponding thread of application of pre-set priority in described multiple application, here it is the gap of transmitting packet in certain or some application that pre-set priority is relatively high that time-out also can be understood as, such as, the gap of wait-receiving mode packet after sending packet, accept the data request service of relatively low certain or some the corresponding thread of application of pre-set priority in multiple application, namely, certain or some application that in multiple application, pre-set priority is relatively low can transmit packet.
The embodiment of the present invention also provides a kind of intelligent terminal, and this mobile terminal comprises the device of the adjustment intelligent terminal application network speed that the arbitrary example of accompanying drawing 2 to accompanying drawing 6 provides.
It should be noted that, the content such as information interaction, implementation between each module/unit of said apparatus, due to the inventive method embodiment based on same design, its technique effect brought is identical with the inventive method embodiment, particular content see describing in the inventive method embodiment, can repeat no more herein.
Those of ordinary skill in the art can recognize, in conjunction with unit and the algorithm steps of each example of embodiment disclosed herein description, can realize with the combination of electronic hardware or computer software and electronic hardware.These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme.Professional and technical personnel can use distinct methods to realize described function to each specifically should being used for, but this realization should not thought and exceeds scope of the present invention.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the system of foregoing description, device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that disclosed system, apparatus and method can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or to connect can be by some interfaces, the indirect coupling of device or unit or connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.
If described function using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part of the part that technical scheme of the present invention contributes to prior art in essence in other words or this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, ROM (read-only memory) (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, is anyly familiar with those skilled in the art in the technical scope that the present invention discloses; change can be expected easily or replace, all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should described be as the criterion with the protection domain of claim.

Claims (11)

1. regulate a method for intelligent terminal application network speed, it is characterized in that, described method comprises:
When multiple application networking, obtain the real-time network speed of each application in application network speed priority list and described multiple application, described application network speed priority list is included in the default network speed and pre-set priority that when multiple application is networked, each application is corresponding;
According to the real-time network speed of each application in described application network speed priority list and described multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed.
2. the method for claim 1, is characterized in that, described when multiple application networking, obtains the real-time network speed of each application in described multiple application, comprising:
Obtain the TCP/IP port that in described multiple application, each application is corresponding;
Monitor the flow of described each TCP/IP port;
By the flow of described each TCP/IP port compared with Preset Time, described in the result compared as the real-time network speed of each application in described multiple application.
3. the method for claim 1, it is characterized in that, the described real-time network speed according to each application in described application network speed priority list and described multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed, comprising:
Each application in described multiple application is mated with described application network speed priority list, obtains the pre-set priority of each application in described multiple application and default network speed;
If the relatively high and real-time network speed that is certain application described of the pre-set priority of certain application is less than default network speed of certain application described in described multiple application, then send information to improve real-time network speed of certain application described to server.
4. method as claimed in claim 3, is characterized in that, describedly sends information to improve real-time network speed of certain application described to server, comprising:
Message is regulated to described server transmission and reception window, described receive window adjustment message comprises the size of adjusted TCP receive window corresponding to certain application described, and the size of described adjusted TCP receive window is greater than the size of the described TCP receive window that certain application is corresponding described in before described server transmission and reception window adjustment message.
5. the method for claim 1, it is characterized in that, the described real-time network speed according to each application in described application network speed priority list and described multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed, comprising:
Each application in described multiple application is mated with described application network speed priority list, obtains the pre-set priority of each application in described multiple application;
If in described multiple application certain or some application pre-set priority relatively high, while the data request service of certain or some the corresponding thread of application then continuing to keep described pre-set priority relatively high, suspend the data request service of relatively low certain or some the corresponding thread of application of pre-set priority in described multiple application.
6. regulate a device for intelligent terminal application network speed, it is characterized in that, described device comprises:
Acquisition module, for when multiple application is networked, obtain the real-time network speed of each application in application network speed priority list and described multiple application, described application network speed priority list is included in the default network speed and pre-set priority that when multiple application is networked, each application is corresponding;
Network speed adjustment module, for the real-time network speed according to each application in described application network speed priority list and described multiple application, the application relatively high for pre-set priority in described multiple application obtains relatively high network speed.
7. device as claimed in claim 6, it is characterized in that, described acquisition module comprises:
Port acquiring unit, for obtaining the TCP/IP port that in described multiple application, each application is corresponding;
Flow monitoring unit, for monitoring the flow of described each TCP/IP port;
Network speed computing unit, for by the flow of described each TCP/IP port compared with Preset Time, described in the result compared as the real-time network speed of each application in described multiple application.
8. device as claimed in claim 6, it is characterized in that, described network speed adjustment module comprises:
First matching unit, for each application in described multiple application being mated with described application network speed priority list, obtains the pre-set priority of each application in described multiple application and default network speed;
Transmitting element, if relatively high and real-time network speed that is certain application described is less than default network speed of certain application described for the pre-set priority of certain application in described multiple application, then sends information to improve real-time network speed of certain application described to server.
9. device as claimed in claim 8, it is characterized in that, described transmitting element comprises:
Packet sending unit, for regulating message to described server transmission and reception window, described receive window adjustment message comprises the size of adjusted TCP receive window corresponding to certain application described, and the size of described adjusted TCP receive window is greater than the size of the described TCP receive window that certain application is corresponding described in before described server transmission and reception window adjustment message.
10. device as claimed in claim 6, it is characterized in that, described network speed adjustment module comprises:
Second matching unit, for each application in described multiple application being mated with described application network speed priority list, obtains the pre-set priority of each application in described multiple application;
Requesting processing, if in described multiple application certain or some application pre-set priority relatively high, while the data request service of certain or some the corresponding thread of application then continuing to keep described pre-set priority relatively high, suspend the data request service of relatively low certain or some the corresponding thread of application of pre-set priority in described multiple application.
11. 1 kinds of intelligent terminals, is characterized in that, described intelligent terminal comprises the device of the adjustment intelligent terminal application network speed described in claim 6 to 10 any one.
CN201510526490.3A 2015-08-25 2015-08-25 Adjust the method, apparatus and intelligent terminal of intelligent terminal application network speed Active CN105159781B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510526490.3A CN105159781B (en) 2015-08-25 2015-08-25 Adjust the method, apparatus and intelligent terminal of intelligent terminal application network speed

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510526490.3A CN105159781B (en) 2015-08-25 2015-08-25 Adjust the method, apparatus and intelligent terminal of intelligent terminal application network speed

Publications (2)

Publication Number Publication Date
CN105159781A true CN105159781A (en) 2015-12-16
CN105159781B CN105159781B (en) 2018-11-27

Family

ID=54800644

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510526490.3A Active CN105159781B (en) 2015-08-25 2015-08-25 Adjust the method, apparatus and intelligent terminal of intelligent terminal application network speed

Country Status (1)

Country Link
CN (1) CN105159781B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106533988A (en) * 2016-10-26 2017-03-22 维沃移动通信有限公司 Control method for network speed of application and mobile terminal
WO2017107684A1 (en) * 2015-12-25 2017-06-29 北京奇虎科技有限公司 Data download system and data download method
CN107205084A (en) * 2017-05-11 2017-09-26 北京小米移动软件有限公司 Network speed processing method, device and the terminal of application program
CN107291557A (en) * 2017-08-02 2017-10-24 中国银行股份有限公司 A kind of method and device for business processing
CN107612670A (en) * 2017-09-29 2018-01-19 努比亚技术有限公司 A kind of receiving/transmission method of data, device, terminal and computer-readable recording medium
CN108322920A (en) * 2017-12-15 2018-07-24 深圳秀豹科技有限公司 A kind of method for limiting speed to mobile terminal data flow
CN108512864A (en) * 2017-02-23 2018-09-07 腾讯科技(深圳)有限公司 A kind of method and device of network request scheduling
CN109120541A (en) * 2018-08-01 2019-01-01 Oppo(重庆)智能科技有限公司 Limit method, apparatus, terminal device and the storage medium of network speed
WO2019072020A1 (en) * 2017-10-11 2019-04-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network bandwidth management method, terminal and computer storage medium
CN110717761A (en) * 2019-12-12 2020-01-21 腾讯科技(深圳)有限公司 Data processing method and device and computer storage medium
CN110838988A (en) * 2019-10-29 2020-02-25 深圳市高德信通信股份有限公司 Network flow current limiting system
CN112291799A (en) * 2020-10-23 2021-01-29 北京小米移动软件有限公司 Download network speed determining method and device, user equipment and storage medium
CN112804083A (en) * 2020-12-28 2021-05-14 许胜强 Network distribution method based on big data
US11016812B2 (en) 2017-07-31 2021-05-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
US11151010B2 (en) 2017-07-31 2021-10-19 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Resource configuration method, mobile terminal and storage medium
US11182210B2 (en) 2017-07-31 2021-11-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
CN115473806A (en) * 2022-08-12 2022-12-13 北京奇艺世纪科技有限公司 Resource downloading control method and device, electronic equipment and computer readable medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101009655A (en) * 2007-02-05 2007-08-01 华为技术有限公司 Traffic scheduling method and device
CN101155093A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Band width distribution method and device for wireless communication network
CN101431771A (en) * 2008-12-09 2009-05-13 中兴通讯股份有限公司 Method for implementing mobile terminal side packet data service band width allocation and mobile terminal thereof
CN103201988A (en) * 2010-11-02 2013-07-10 高通股份有限公司 Systems and methods for communicating in a network
CN103841054A (en) * 2014-03-31 2014-06-04 联想(北京)有限公司 Data interface bandwidth allocation method and device and electronic devices
CN104168606A (en) * 2014-07-24 2014-11-26 深圳天珑无线科技有限公司 Network speed control method of mobile terminal

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101155093A (en) * 2006-09-30 2008-04-02 华为技术有限公司 Band width distribution method and device for wireless communication network
CN101009655A (en) * 2007-02-05 2007-08-01 华为技术有限公司 Traffic scheduling method and device
CN101431771A (en) * 2008-12-09 2009-05-13 中兴通讯股份有限公司 Method for implementing mobile terminal side packet data service band width allocation and mobile terminal thereof
CN103201988A (en) * 2010-11-02 2013-07-10 高通股份有限公司 Systems and methods for communicating in a network
CN103841054A (en) * 2014-03-31 2014-06-04 联想(北京)有限公司 Data interface bandwidth allocation method and device and electronic devices
CN104168606A (en) * 2014-07-24 2014-11-26 深圳天珑无线科技有限公司 Network speed control method of mobile terminal

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017107684A1 (en) * 2015-12-25 2017-06-29 北京奇虎科技有限公司 Data download system and data download method
CN106533988B (en) * 2016-10-26 2020-07-14 维沃移动通信有限公司 Application program network speed control method and mobile terminal
CN106533988A (en) * 2016-10-26 2017-03-22 维沃移动通信有限公司 Control method for network speed of application and mobile terminal
CN108512864A (en) * 2017-02-23 2018-09-07 腾讯科技(深圳)有限公司 A kind of method and device of network request scheduling
CN108512864B (en) * 2017-02-23 2021-07-27 腾讯科技(深圳)有限公司 Network request scheduling method and device
CN107205084A (en) * 2017-05-11 2017-09-26 北京小米移动软件有限公司 Network speed processing method, device and the terminal of application program
US11151010B2 (en) 2017-07-31 2021-10-19 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Resource configuration method, mobile terminal and storage medium
US11182210B2 (en) 2017-07-31 2021-11-23 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
US11016812B2 (en) 2017-07-31 2021-05-25 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method for resource allocation and terminal device
CN107291557A (en) * 2017-08-02 2017-10-24 中国银行股份有限公司 A kind of method and device for business processing
CN107291557B (en) * 2017-08-02 2020-10-23 中国银行股份有限公司 Service processing method and device
CN107612670A (en) * 2017-09-29 2018-01-19 努比亚技术有限公司 A kind of receiving/transmission method of data, device, terminal and computer-readable recording medium
WO2019072020A1 (en) * 2017-10-11 2019-04-18 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Network bandwidth management method, terminal and computer storage medium
CN108322920A (en) * 2017-12-15 2018-07-24 深圳秀豹科技有限公司 A kind of method for limiting speed to mobile terminal data flow
CN109120541A (en) * 2018-08-01 2019-01-01 Oppo(重庆)智能科技有限公司 Limit method, apparatus, terminal device and the storage medium of network speed
CN109120541B (en) * 2018-08-01 2022-09-09 Oppo(重庆)智能科技有限公司 Method, device, terminal equipment and storage medium for limiting network speed
CN110838988A (en) * 2019-10-29 2020-02-25 深圳市高德信通信股份有限公司 Network flow current limiting system
CN110717761A (en) * 2019-12-12 2020-01-21 腾讯科技(深圳)有限公司 Data processing method and device and computer storage medium
CN112291799A (en) * 2020-10-23 2021-01-29 北京小米移动软件有限公司 Download network speed determining method and device, user equipment and storage medium
CN112291799B (en) * 2020-10-23 2024-04-09 北京小米移动软件有限公司 Method and device for determining download network speed, user equipment and storage medium
CN112804083A (en) * 2020-12-28 2021-05-14 许胜强 Network distribution method based on big data
CN115473806A (en) * 2022-08-12 2022-12-13 北京奇艺世纪科技有限公司 Resource downloading control method and device, electronic equipment and computer readable medium
CN115473806B (en) * 2022-08-12 2023-09-26 北京奇艺世纪科技有限公司 Resource download control method, device, electronic equipment and computer readable medium

Also Published As

Publication number Publication date
CN105159781B (en) 2018-11-27

Similar Documents

Publication Publication Date Title
CN105159781A (en) Method and apparatus for adjusting network speed of application of intelligent terminal and intelligent terminal
CN104243405A (en) Request processing method, device and system
CN102195944A (en) Priority access control method, device and system
CN106161280A (en) A kind of band width control method, device and electronic equipment
CN104053184A (en) Wireless load balancing method, wireless controller, wireless access point and system
CN105516264A (en) Distributed cluster system based session sharing method, apparatus and system
CN103841461A (en) Method and device for processing information and electronic equipment
CN102217247B (en) Method, apparatus and system for implementing multiple web application requests scheduling
CN113163008B (en) Connection intelligent management method and device of network service system and related equipment thereof
CN103068052B (en) Dynamic resource allocation method, system and Portal server
CN103561098A (en) Method, device and system for selecting storage resources
CN104184765A (en) Request control method, client apparatus and server-side apparatus
CN104320458A (en) Informatization achieving system based on Domino servers and Nginx server
CN105338069A (en) Conversation sharing method crossing web containers, system and web application server
CN103095836A (en) Method, device and system of adjustment of internet application service quality
CN103117959A (en) Resource redistribution method and information collection device and resource management device
CN110750349B (en) Distributed task scheduling method and system
CN104468293A (en) VPN accessing method
CN112187867A (en) Virtual desktop processing method and system combined with edge cloud
CN106411588A (en) Network device management method, master device and management server
CN104111860A (en) Method and system for virtual machine operation in server
CN105917694B (en) Service in telecommunication network provides and activation
CN101945448B (en) Service quality control method and equipment
CN103179200A (en) Management system and method for internet surfing accelerating equipment of mobile terminal
CN104158751A (en) Flow control method and terminal

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
CP03 Change of name, title or address

Address after: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Patentee after: OPPO Guangdong Mobile Communications Co., Ltd.

Address before: Changan town in Guangdong province Dongguan 523841 usha Beach Road No. 18

Patentee before: Guangdong Opel Mobile Communications Co., Ltd.

CP03 Change of name, title or address