[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN108200588A - A kind of network optimized approach, device, computer readable storage medium and mobile terminal - Google Patents

A kind of network optimized approach, device, computer readable storage medium and mobile terminal Download PDF

Info

Publication number
CN108200588A
CN108200588A CN201711442062.8A CN201711442062A CN108200588A CN 108200588 A CN108200588 A CN 108200588A CN 201711442062 A CN201711442062 A CN 201711442062A CN 108200588 A CN108200588 A CN 108200588A
Authority
CN
China
Prior art keywords
network
channel
network channel
service
data packet
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
Application number
CN201711442062.8A
Other languages
Chinese (zh)
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.)
Nanchang Black Shark Technology Co Ltd
Original Assignee
Nanchang Black Shark Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Nanchang Black Shark Technology Co Ltd filed Critical Nanchang Black Shark Technology Co Ltd
Priority to CN201711442062.8A priority Critical patent/CN108200588A/en
Publication of CN108200588A publication Critical patent/CN108200588A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/22Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks comprising specially adapted graphical user interfaces [GUI]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/50Allocation or scheduling criteria for wireless resources
    • H04W72/54Allocation or scheduling criteria for wireless resources based on quality criteria
    • H04W72/542Allocation or scheduling criteria for wireless resources based on quality criteria using measured or perceived quality

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Environmental & Geological Engineering (AREA)
  • Human Computer Interaction (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The present invention provides a kind of network optimized approach, device, computer readable storage medium and mobile terminal, the network optimized approach includes the following steps:S101:In at least two network channels default in a terminal device;S102:Different delay deltas is set for each network channel;S103:All-network service in the terminal device is divided at least two classifications, each classification corresponds to a network channel;S104:When a network service is run, the classification according to belonging to the network service distributes corresponding network channel for it.It is each network service reasonable distribution bandwidth resources, it is ensured that close network service is interacted with user and obtains more bandwidth resources, promotes user experience on the whole after above-mentioned technical proposal is implemented;Hardware device need not be changed, cost is relatively low.

Description

A kind of network optimized approach, device, computer readable storage medium and mobile terminal
Technical field
The present invention relates to network technique field more particularly to a kind of network optimized approach, device, computer-readable storage mediums Matter and mobile terminal.
Background technology
In current generation background, the terminal devices such as smart mobile phone, satellite phone, tablet computer, television set are provided with network Linkage function to be required for connection internet on above-mentioned terminal device there are many service, and with the service offer of the internet other end Side interacts to obtain corresponding network service.With the development of Internet technology, function of surfing the Net used in people is also got over Carry out more, such as the network functions application such as web page browsing, shopping at network, data download, instant chat, online game, be required to Pass through network and the external interaction for carrying out data packet.
In network communication field, the size of message capacity and traffic rate depends on bandwidth.In the field of communications, signal Bandwidth refers to the frequency range occupied by the various different frequency ingredients that the signal is included;In digital device, bandwidth refers to list Position time can usually be represented, i.e., the digit of the data per second transmitted by the data volume of link with bps.Bandwidth can be divided into Upstream bandwidth and downlink bandwidth, upstream bandwidth refer to send data to the bandwidth in the direction of server-side, downlink band from terminal device Width refers to the bandwidth in the direction that terminal device is sent data to from server-side.Bandwidth is limited resources, can for a terminal device Multiple network services can be simultaneously run, there have been bands when actually required network data transmission amount has reached the bandwidth upper limit The competition of wide resource.In this case, the bandwidth resources that subnetwork service can use are less than the bandwidth of actual needs, clothes Business effect will be worse than desired value, and particularly certain network services interact more close network service with user for user, just Very poor experience can be brought to user.For example user is carrying out playing online game when data download on the terminal device, Data download task can occupy a large amount of bandwidth, and the bandwidth that online game can use is seldom, will show as interim card, this card Pausing can be perceived by the user, and seriously affect the experience of user.
Therefore, how the interactive experience that user uses network service is promoted under limited bandwidth resources, is a needs The technical issues of solution.
Invention content
In order to overcome prior art defect, can be protected under limited bandwidth resources the purpose of the present invention is to provide a kind of Hinder network optimized approach, network optimization device, computer readable storage medium and the mobile terminal of user-interaction experience.
The first aspect of the present invention discloses a kind of network optimized approach, includes the following steps:
S101:In at least two network channels default in a terminal device;
S102:Different delay deltas is set for each network channel;
S103:All-network service in the terminal device is divided at least two classifications, each classification corresponds to one Network channel;
S104:When a network service is run, the classification according to belonging to the network service distributes corresponding network for it Channel.
Preferably, in step S103, all-network service is divided into three according to the interactive mode of network service and user A classification:First category, the network service provide real time human-machine interaction interface;Second category, the network service do not provide Real time human-machine interaction interface periodically or non-periodically sends service message to user;Third classification, the network service do not provide reality When human-computer interaction interface, not to user send service message.
Preferably, in step S101, in first network channel default in a terminal device, the second network channel, third net Network channel and the 4th network channel;In step S102, the delay delta of the first network channel is set as 0 millisecond, sets institute It is 100 milliseconds to state the second network channel delay delta, sets the third network channel delay delta as 300 milliseconds, sets institute It is 600 milliseconds to state the 4th network channel delay delta.
Preferably, step S104 includes:
S104-1:Judge whether there is data packet to be sent;
S104-2:When there is data packet to be sent, judge the data packet whether be first category network service Any one of data packet, the Internet Control Message Protocol packet less than 128 bytes or domain name mapping packet;
S104-3:If the step S104-2 judging results are set up, by the allocation of packets to first network channel;
S104-4:If the step S104-2 judging results are invalid, judge whether the data packet belongs to second category Network service;
S104-5:If the step S104-4 judging results are set up, by the allocation of packets to the second network channel;
S104-6:If the step S104-4 judging results are invalid, judge whether the data packet is a two-way interactive Network service first data packet;
S104-7:If the step S104-6 judging results are set up, by the allocation of packets to third network channel;
S104-8:If the step S104-6 judging results are invalid, by the allocation of packets to the 4th network channel.
Preferably, in step S103, the classification is different queue, and each queue corresponds to a network channel;Step In S104, when the classification according to belonging to the network service distributes corresponding network channel for it, by the number of the network service It is sent into the queue belonging to the network service according to packet.
Preferably, in step S101, the network channel is data feedback channel.
The second aspect of the present invention discloses a kind of network optimization device, including:
Network channel presetting module, at least two network channels default in a terminal device;
Delay delta setting module is connect with the network channel presetting module, is set for each network channel different Delay delta;
All-network service in the terminal device is divided at least two classifications, each classification pair by division module Answer a network channel;
Distribution module is connect with division module, when a network service is run, according to the classification belonging to the network service Corresponding network channel is distributed for it.
Preferably, all-network service is divided into three by the division module according to the interactive mode of network service and user A classification:First category, the network service provide real time human-machine interaction interface;Second category, the network service do not provide Real time human-machine interaction interface periodically or non-periodically sends service message to user;Third classification, the network service do not provide reality When human-computer interaction interface, not to user send service message.
Preferably, the network channel presetting module is led in first network channel default in a terminal device, the second network Road, third network channel and the 4th network channel;The delay delta setting module sets the delay of the first network channel Increment is 0 millisecond, sets the second network channel delay delta as 100 milliseconds, sets the third network channel delay and increases It is 300 milliseconds to measure, and sets the 4th network channel delay delta as 600 milliseconds;The distribution module includes:
First judging unit judges whether there is data packet to be sent;
Second judgment unit, when there is data packet to be sent, judge the data packet whether be first category network Any one of the data packet of service, the Internet Control Message Protocol packet less than 128 bytes or domain name mapping packet;
First allocation unit, if the second judgment unit judging result is set up, by the allocation of packets to the first net Network channel;
Third judging unit if the second judgment unit judging result is invalid, judges whether the data packet belongs to The network service of second category;
Second allocation unit, if the third judging unit judging result is set up, by the allocation of packets to the second net Network channel;
4th judging unit if the third judging unit judging result is invalid, judges whether the data packet is one First data packet of the network service of two-way interactive;
Third allocation unit, if the 4th judging unit judging result is set up, by the allocation of packets to third net Network channel;
4th allocation unit:If the 4th judging unit judging result is invalid, by the allocation of packets to the 4th Network channel.
Preferably, the all-network service in the terminal device is divided at least two classifications by the division module When, the classification is different queue, and each queue corresponds to a network channel;The distribution module is according to the network service institute When the classification of category distributes corresponding network channel for it, the data packet of the network service is sent into belonging to the network service In queue.
Preferably, the network channel presetting module is described when at least two network channels are preset in a terminal device Network channel is data feedback channel.
The third aspect of the present invention discloses a kind of computer readable storage medium, is stored thereon with computer program, institute It states when computer program is executed by processor and realizes following steps:
S105:In at least two network channels default in a terminal device;
S106:Different delay deltas is set for each network channel;
S107:All-network service in the terminal device is divided at least two classifications, each classification corresponds to one Network channel;
S108:When a network service is run, the classification according to belonging to the network service distributes corresponding network for it Channel.
Preferably, in step S107, all-network service is divided into three according to the interactive mode of network service and user A classification:First category, the network service provide real time human-machine interaction interface;Second category, the network service do not provide Real time human-machine interaction interface periodically or non-periodically sends service message to user;Third classification, the network service do not provide reality When human-computer interaction interface, not to user send service message.
Preferably, in step S105, in first network channel default in a terminal device, the second network channel, third net Network channel and the 4th network channel;In step S106, the delay delta of the first network channel is set as 0 millisecond, sets institute It is 100 milliseconds to state the second network channel delay delta, sets the third network channel delay delta as 300 milliseconds, sets institute It is 600 milliseconds to state the 4th network channel delay delta.
Preferably, step S108 includes:
S108-1:Judge whether there is data packet to be sent;
S108-2:When there is data packet to be sent, judge the data packet whether be first category network service Any one of data packet, the Internet Control Message Protocol packet less than 128 bytes or domain name mapping packet;
S108-3:If the step S108-2 judging results are set up, by the allocation of packets to first network channel;
S108-4:If the step S108-2 judging results are invalid, judge whether the data packet belongs to second category Network service;
S108-5:If the step S108-4 judging results are set up, by the allocation of packets to the second network channel;
S108-6:If the step S108-4 judging results are invalid, judge whether the data packet is a two-way interactive Network service first data packet;
S108-7:If the step S108-6 judging results are set up, by the allocation of packets to third network channel;
S108-8:If the step S108-6 judging results are invalid, by the allocation of packets to the 4th network channel.
Preferably, in step S107, the classification is different queue, and each queue corresponds to a network channel;Step In S108, when the classification according to belonging to the network service distributes corresponding network channel for it, by the number of the network service It is sent into the queue belonging to the network service according to packet.
Preferably, in step S105, the network channel is data feedback channel.
The fourth aspect of the present invention discloses a kind of mobile terminal, including memory, processor, communication module and storage On a memory and the computer program that can run on a processor, the processor connect with the memory and communication module It connects, the processor performs the computer program and realizes above-mentioned network optimized approach.
After employing above-mentioned technical proposal, compared with prior art, have the advantages that:
1. for each network service reasonable distribution bandwidth resources, it is ensured that interacted with user close network service obtain it is more Bandwidth resources promote user experience on the whole;
2. need not be changed to hardware device, cost is relatively low.
Description of the drawings
Fig. 1 is the flow diagram for meeting network optimized approach in one embodiment of the present invention;
Fig. 2 is the flow diagram of step S104 in Fig. 1;
Fig. 3 is the structure diagram for meeting network optimization device in one embodiment of the present invention;
Fig. 4 is the structure diagram of distribution module in Fig. 3;
Fig. 5 is the flow signal for meeting computer program on one embodiment of the present invention Computer readable storage medium storing program for executing Figure;
The flow diagram of step S108 in Fig. 6 Fig. 5;
Fig. 7 is the structure diagram for meeting mobile terminal in one embodiment of the present invention.
Reference numeral:
10- network optimization devices, 11- network channels presetting module, 12- delay deltas setting module, 13- division modules, 14- distribution modules, the first judging units of 141-, 142- second judgment units, the first allocation units of 143-, 144- thirds judge single Member, the second allocation units of 145-, the 4th judging units of 146-, 147- thirds allocation unit, the 4th allocation units of 148-, 20- are moved Dynamic terminal, 21- memories, 22- processors, 23- communication modules.
Specific embodiment
The advantages of the present invention is further explained below in conjunction with attached drawing and specific embodiment.
Here exemplary embodiment will be illustrated in detail, example is illustrated in the accompanying drawings.Following description is related to During attached drawing, unless otherwise indicated, the same numbers in different attached drawings represent the same or similar element.Following exemplary embodiment Described in embodiment do not represent all embodiments consistent with the disclosure.On the contrary, they be only with it is such as appended The example of the consistent device and method of some aspects be described in detail in claims, the disclosure.
It is only merely for the purpose of description specific embodiment in the term that the disclosure uses, and is not intended to be limiting the disclosure. " one kind " of singulative used in disclosure and the accompanying claims book, " described " and "the" are also intended to including majority Form, unless context clearly shows that other meanings.It is also understood that term "and/or" used herein refers to and wraps Containing one or more associated list items purposes, any or all may be combined.
It will be appreciated that though various information, but this may be described using term first, second, third, etc. in the disclosure A little information should not necessarily be limited by these terms.These terms are only used for same type of information being distinguished from each other out.For example, not departing from In the case of disclosure range, the first information can also be referred to as the second information, and similarly, the second information can also be referred to as One information.Depending on linguistic context, word as used in this " if " can be construed to " ... when " or " when ... When " or " in response to determining ".
In the description of the present invention, it is to be understood that term " longitudinal direction ", " transverse direction ", " on ", " under ", "front", "rear", The orientation or position relationship of the instructions such as "left", "right", " vertical ", " level ", " top ", " bottom " " interior ", " outer " is based on attached drawing institutes The orientation or position relationship shown is for only for ease of the description present invention and simplifies description rather than instruction or imply signified dress It puts or element must have specific orientation, with specific azimuth configuration and operation, therefore it is not intended that limit of the invention System.
In the description of the present invention, unless otherwise prescribed and limit, it should be noted that term " installation ", " connected ", " connection " should be interpreted broadly, for example, it may be the connection inside mechanical connection or electrical connection or two elements, it can To be to be connected directly, can also be indirectly connected by intermediary, it for the ordinary skill in the art, can basis Concrete condition understands the concrete meaning of above-mentioned term.
In subsequent description, using for representing that the suffix of such as " module ", " component " or " unit " of element is only Be conducive to the explanation of the present invention, itself there is no specific meanings.Therefore, " module " can mixedly make with " component " With.
Refering to Fig. 1, to meet the flow diagram of network optimized approach in one embodiment of the present invention, the network is excellent Change method includes the following steps:
S101:In at least two network channels default in a terminal device.
The terminal device includes smart mobile phone, satellite phone, tablet computer, television set etc. and supports network connection and have The equipment of integration of user interaction functionality.The terminal device (can contain wireless local by internet, mobile cellular network, local area network Net and limited LAN) and external progress information exchange.This step in the terminal device preset at least two network channels, The network channel can be the division concept on a kind of software logic, and heterogeneous networks channel can be independently with outside into row information It is interactive, it can coordinate bandwidth resources between each network channel.When dividing network channel with software logic, the network channel can be with It is different network interface title or the title of network service task queue, it is real that all network services must pass through network channel Now with external information exchange.Each network channel is then further realized by procotol or network interface to be led to external network Telecommunication function.Preset all-network channel is for same network type, such as both for WLAN in this step Network channel or the network channel both for mobile cellular network, because only that can just be produced inside homogeneous networks type Raw bandwidth resources anxiety problem.
S102:Different delay deltas is set for each network channel.
During network communication, information is sent to the opposing party from a side and always generates delay, such as pass through ping orders One external object is tested, delay time can be obtained, this delay itself having be by the transmission mechanism of information with Often it is Millisecond and caused by the composite factors such as network environment, hereinafter referred to as existing delay.Various networks clothes on terminal device Business (such as chat software, game application software) can be reacted for delay situation, if delay is longer, show as reacting compared with Slowly, there is interim card.This step then increases delay delta on the basis of the existing delay of each network channel, and such network service passes through When network channel carries out information exchange, it can be handled according to existing delay plus delay delta as total delay time.Example Delay delta is such as set to a network channel as 100 milliseconds, the existing delay that a network service passes through the network channel is 10 millis Second, then when the network service carries out information exchange by the network channel, it can be handled according to 110 milliseconds.Clearly for prolonging The smaller network channels of Shi Zengliang, since its total delay is relatively small, corresponding network task can preferentially obtain information transmission Chance, the larger network channel of other delay deltas can usually in delay wait for, in general, delay delta is smaller Network channel can be more to the occupancy of bandwidth resources.
S103:All-network service in the terminal device is divided at least two classifications, each classification corresponds to one Network channel.
This step carries out the all-network service in the terminal device division of classification, is divided at least two classes Not.Such as divided according to the requirement of real-time of the Internet Services information exchange, by high stroke of requirement of real-time It is divided into one kind, such as Games Software;By requirement of real-time it is low be divided into one kind, such as download software.After having divided classification, per a kind of Not Dui Ying a network channel, this refers to each classifications corresponding network channel, not necessarily classification and network channel Correspond, if such as this step divided first category, second category, third classification, divided the first net in step S101 First category, then can be corresponded to first network channel by network channel and the second network channel, and second category and third classification correspond to Second network channel.It is of course also possible to make the quantity of classification and network channel quantity equal when classification is divided, to realize The two corresponds.When each classification corresponding network channel is set, the network service in each classification must be considered for delay Susceptibility, the class that the classification high to delay sensitivity can be corresponding with the smaller network channel of delay delta, low to delay sensitivity Network channel that can be not larger with delay delta is corresponding.
S104:When a network service is run, the classification according to belonging to the network service distributes corresponding network for it Channel.
This step is monitored the operation of network service, when there is network service operation, according to belonging to the network service Classification be that it distributes the category corresponding network channel.Since the step S101 and step S103 are divided different Classification and network channel, therefore belong to different classes of network task and can distribute different network according to its classification at runtime Channel will also have different delay deltas at runtime, and causing total delay duration, there are marked differences.Due to inhomogeneity Total delay duration of other network service is there are marked difference, when multiple network services are run simultaneously, total delay duration compared with Few network service can be responded faster, it is not necessary to wait for the long time, can preferentially ensure so interactive real-time compared with High network task preferentially obtains bandwidth resources, does not influence the interactive experience of user.
As being further improved for the network optimized approach, in the step S103, according to network service and user All-network service is divided into three classifications by interactive mode:First category, the network service provide real time human-machine interaction circle Face;Second category, the network service do not provide real time human-machine interaction interface, and periodically or non-periodically sending service to user disappears Breath;Third classification, the network service do not provide real time human-machine interaction interface, do not send service message to user.The present embodiment Middle that all network services are divided into three classifications, the standard of division is the interactive mode with user, is embodied real to interaction The requirement of when property.In first category, the human-computer interaction interface refers to provide to the user the interface of vision observable, and supports to use Family input operation, such as Games Software, instant chat software.In second category, the service message, which refers to work as, trigger event During generation, prompting message is sent to user, such as internet message is reminded, downloads and complete the functions such as prompting.In third classification, very much The network service of running background appears to be in " silent status ", will not bother user, can actually generate network communication, such as Handshake Protocol etc. in the virus base update of antivirus software, communication.
As being further improved for above-mentioned network optimized approach, in the step S101, in presetting the in a terminal device One network channel, the second network channel, third network channel and the 4th network channel.In the step S102, setting described the The delay delta of one network channel is 0 millisecond, set the second network channel delay delta as 100 milliseconds, sets described the Three network channel delay deltas are 300 milliseconds, set the 4th network channel delay delta as 600 milliseconds.In the present embodiment Four network channels have been preset altogether, and delay delta is set to each network channel, wherein the first network channel prolongs Shi Zengliang is 0 millisecond, that is, no-delay increment is, it can be achieved that the response of most fast information exchange, second network channel, third Network channel, the 4th network channel response speed increase successively.
Referring to Fig.2, the step S104 includes:
S104-1:Judge whether there is data packet to be sent.
The data packet is the base unit in network communication, and data are constantly carried out when terminal device is communicated with outside Information exchange is realized in the transmission of packet.When the terminal device generates a data packet, corresponding event can be triggered or change mark Know position, therefore may determine that identification.
S104-2:When there is data packet to be sent, judge the data packet whether be first category network service Any one of data packet, the Internet Control Message Protocol packet less than 128 bytes or domain name mapping packet.
When step S104-1 judges to set up, that is, when having data packet to be sent, this step further judges the data packet Classification and ownership, must judge whether the data packet is one of following three kinds of situations:The first situation is that the data packet is The data packet of the network service of the first category;The second situation is whether the data packet is less than the control of 128 bytes Message protocol packet;Situation is whether the data packet is domain name mapping packet in third.Wherein described control message packet is otherwise known as ICMP packets, English are Internet Control Message Protocol, and corresponding Internet Control Message Protocol, it is One sub-protocol of TCP/IP protocol suite, for transmitting control message between IP hosts, router, for the biography of user data It passs and plays an important role.Domain name parsing packet is also known as DNS packets, and English full name is Domain Name System, i.e. domain Name system, domain name system is the distributed data base mutually mapped as domain name and IP address on internet, can User is made more easily to access internet, remembers to be parsed by the IP number strings that machine is directly read, domain name without spending Packet obtains the mapping relations from hostname-to-IP address for domain name mapping (or hostname resolution).Three cases above for All it is very urgent and important, therefore the data packet as same grade is judged for user or communication process.
S104-3:If the step S104-2 judging results are set up, by the allocation of packets to first network channel.
When the step S104-2 judging results are set up, i.e., described data packet is the data of the network service of first category When any one of packet, the Internet Control Message Protocol packet less than 128 bytes or domain name mapping packet, this step is performed.This step by institute Allocation of packets is stated to the first network channel, the delay for making its total is minimum, can obtain the bandwidth resources of highest priority.
S104-4:If the step S104-2 judging results are invalid, judge whether the data packet belongs to second category Network service.
When the step S104-2 judging results are invalid, i.e., described data packet is not belonging to the network service of first category When any one of data packet, the Internet Control Message Protocol packet less than 128 bytes or domain name mapping packet, this step is performed.This step Judgement is continued to execute, judges whether the data packet belongs to the network service of the second category.Due to including in data packet The source-information of the data packet, therefore be that can identify which the network service in its source is.
S104-5:If the step S104-4 judging results are set up, by the allocation of packets to the second network channel.
When the step S104-4 judging results are set up, i.e., described data packet belongs to the network service of second category, performs This step.The allocation of packets to second network channel is made it obtain the high bandwidth resources of preferential level by this step.
S104-6:If the step S104-4 judging results are invalid, judge whether the data packet is a two-way interactive Network service first data packet.
When the step S104-4 judging results are invalid, i.e., described data packet is not belonging to the network service of second category, Perform this step.This step continues to execute judgement, judge the data packet whether be a two-way interactive network service First data packet.By the judgement of the step S104-4, until the data packet necessarily belongs to the third class during this step , do not need further to be judged by the subsidiary conditions of this step, i.e., described data packet whether be a two-way interactive network First data packet of service.The two-way interactive is that two sides to communicate can send mutually information, and the transmission of information is double To.First data packet means that this is to initiate first data packet that a side of communication sends out, often for " spy The data on road ", interaction requirement of real-time is not high, pretends as last Rule of judgment.
S104-7:If the step S104-6 judging results are set up, by the allocation of packets to third network channel.
When the step S104-6 judging results are set up, i.e., described data packet is the first of the network service of a two-way interactive During a data packet, this step is performed.The allocation of packets to the third network channel, is made it obtain priority by this step General bandwidth resources.
S104-8:If the step S104-6 judging results are invalid, by the allocation of packets to the 4th network channel.
When the step S104-6 judging results are invalid, i.e., described data packet is not the network service of a two-way interactive During first data packet, this step is performed.The allocation of packets to the 4th network channel obtains it excellent by this step The minimum bandwidth resources of first grade.
As being further improved for the network optimized approach, in step S103, the classification is different queue, each Queue corresponds to a network channel.In the step S108, the classification according to belonging to the network service distributes corresponding net for it During network channel, the data packet of the network service is sent into the queue belonging to the network service.In the present embodiment, using team The mode of row is managed network service, and the network service is distributed according to classification into different queues, and different Queue, which is divided into, does not correspond to each network channel, it is achieved that in different queue the bandwidth resources priority of network task distribution.
As being further improved for the network optimized approach, in step S101, the network channel is data feedback channel.On Row refers to send information to external server-side by the terminal device;Downlink refers to send information to institute by external server-side State terminal device.In the present embodiment, all network channels are data feedback channel, to be sent out to the terminal device The information gone carries out bandwidth management.
Refering to Fig. 3, to meet the structure diagram of network optimization device 10 in one embodiment of the present invention, the network is excellent Makeup is put 10 and is included:
Network channel presetting module 11
The network channel presetting module 11 is at least two network channels default in a terminal device.The network channel Presetting module 11 carries out the division of the network channel according to software logic, is presented as different network interface titles or network clothes The title of business task queue.The 11 preset all-network channel of network channel presetting module is directed to same network class Type, such as the network channel both for WLAN or the network channel both for mobile cellular network.
Delay delta setting module 12
The delay delta setting module 12 is connect with the network channel presetting module 11, is set for each network channel Different delay deltas.The delay delta setting module 12 obtains the letter of network channel from the network channel presetting module 11 Breath, increases delay delta on the basis of the existing delay of each network channel, and such network service is by network channel into row information During interaction, it can be handled according to existing delay plus delay delta as total delay time.
Division module 13
All-network service in the terminal device is divided at least two classifications by the division module 13, per a kind of It Dui Ying not a network channel.The division module 13 can according to the requirement of real-time of the Internet Services information exchange into Row divide, by requirement of real-time it is high be divided into one kind, such as Games Software;By requirement of real-time it is low be divided into one kind, it is as follows Carry software.When the division module 13 divides classification, each classification can be corresponded to a network channel, this refers to each classifications There is corresponding network channel, can be that the quantity of classification and network channel is equal and correspond;Can also be classification and network Quantity it is unequal, multiple classifications correspond to consolidated network channel.
Distribution module 14
The distribution module 14 is connect with division module 13, when a network service is run, according to the network service institute The classification of category distributes corresponding network channel for it.The distribution module 14 is obtained from the division module 13 belonging to network service Classification and the correspondence of each classification and network channel, when a network service is run, can judge the network Classification belonging to service, and then distribute the network service to network channel corresponding to the category.
As being further improved for the network optimization device 10, the division module 13 is according to network service and user All-network service is divided into three classifications by interactive mode:First category, the network service provide real time human-machine interaction circle Face;Second category, the network service do not provide real time human-machine interaction interface, and periodically or non-periodically sending service to user disappears Breath;Third classification, the network service do not provide real time human-machine interaction interface, do not send service message to user.
As being further improved for above-mentioned network optimization device 10, the network channel presetting module 11 is in a terminal device Interior default first network channel, the second network channel, third network channel and the 4th network channel.The delay delta sets mould Block 12 sets the delay delta of the first network channel as 0 millisecond, sets the second network channel delay delta as 100 millis Second, the third network channel delay delta is set as 300 milliseconds, sets the 4th network channel delay delta as 600 millis Second.
Refering to Fig. 4, the distribution module 14 includes:
- the first judging unit 141
First judging unit 141 judges whether there is data packet to be sent.First judging unit 141 identifies institute It states the associated event of data packet or changes flag, realize the judgement to sent data packet.
Second judgment unit 142
When first judging unit 141 judgement has data packet to be sent, the second judgment unit 142 judges institute State data packet whether be first category network service data packet, less than the Internet Control Message Protocol packet of 128 bytes or domain name solution Any one of analysis packet.
- the first allocation unit 143
First allocation unit 143 obtains judging result from the second judgment unit 142, if judging result is set up, First allocation unit 143 is by the allocation of packets to first network channel.
Third judging unit 144
The third judging unit 144 obtains judging result from the second judgment unit 142, if described second judges list First 142 judging results are invalid, and the third judging unit 144 judges whether the data packet belongs to the network clothes of second category Business.
- the second allocation unit 145
Second allocation unit 145 obtains judging result from the third judging unit 144, if the third judges list First 144 judging results are set up, and second allocation unit 145 is by the allocation of packets to the second network channel.
- the four judging unit 146
4th judging unit 146 obtains judging result from the third judging unit 144, if the third judges list First 144 judging results are invalid, the 4th judging unit 146 judge the data packet whether be a two-way interactive network clothes First data packet of business.
Third allocation unit 147
The third allocation unit 147 obtains judging result from the 4th judging unit 146, if the described 4th judges list First 146 judging results are set up, and the third allocation unit 147 is by the allocation of packets to third network channel.
- the four allocation unit 148
4th allocation unit 148 obtains judging result from the 4th judging unit 146, if the described 4th judges list First 146 judging results are invalid, and the 4th allocation unit 148 is by the allocation of packets to the 4th network channel.
As being further improved for the network optimization device 10, the division module 13 is by the institute in the terminal device When having the network service to be divided at least two classifications, the classification is different queue, and each queue corresponds to a network channel.Institute When stating classification of the distribution module 14 according to belonging to the network service as its corresponding network channel of distribution, by the network service Data packet be sent into the queue belonging to the network service.
As being further improved for the network optimization device 10, the network channel presetting module 11 is in a terminal device During interior default at least two network channels, the network channel is data feedback channel.
Refering to Fig. 5, to meet the stream of computer program on one embodiment of the present invention Computer readable storage medium storing program for executing Journey schematic diagram, the computer program realize following steps when being executed by processor:
S105:In at least two network channels default in a terminal device;
S106:Different delay deltas is set for each network channel;
S107:All-network service in the terminal device is divided at least two classifications, each classification corresponds to one Network channel;
S108:When a network service is run, the classification according to belonging to the network service distributes corresponding network for it Channel.
As being further improved for the computer program, in step S107, according to network service and the side of interaction of user All-network service is divided into three classifications by formula:First category, the network service provide real time human-machine interaction interface;Second Classification, the network service do not provide real time human-machine interaction interface, periodically or non-periodically send service message to user;Third class Not, the network service does not provide real time human-machine interaction interface, does not send service message to user.
As being further improved for above computer program, in step S105, in presetting first network in a terminal device Channel, the second network channel, third network channel and the 4th network channel;In step S106, the first network channel is set Delay delta for 0 millisecond, set the second network channel delay delta as 100 milliseconds, set the third network channel Delay delta is 300 milliseconds, sets the 4th network channel delay delta as 600 milliseconds,.
Refering to Fig. 6, step S108 includes:
S108-1:Judge whether there is data packet to be sent;
S108-2:When there is data packet to be sent, judge the data packet whether be first category network service Any one of data packet, the Internet Control Message Protocol packet less than 128 bytes or domain name mapping packet;
S108-3:If the step S108-2 judging results are set up, by the allocation of packets to first network channel;
S108-4:If the step S108-2 judging results are invalid, judge whether the data packet belongs to second category Network service;
S108-5:If the step S108-4 judging results are set up, by the allocation of packets to the second network channel;
S108-6:If the step S108-4 judging results are invalid, judge whether the data packet is a two-way interactive Network service first data packet;
S108-7:If the step S108-6 judging results are set up, by the allocation of packets to third network channel;
S108-8:If the step S108-6 judging results are invalid, by the allocation of packets to the 4th network channel.
As being further improved for the computer program, in step S107, the classification is different queue, each team The corresponding network channel of row;In step S108, the classification according to belonging to the network service distributes corresponding network channel for it When, the data packet of the network service is sent into the queue belonging to the network service.
As being further improved for the computer program, in step S105, the network channel is data feedback channel.
The method and step of above computer program is consistent with the realization method of the network optimized approach in the present invention, no longer superfluous It states.
Refering to Fig. 7, to meet the structure diagram of mobile terminal 20 in one embodiment of the present invention, the mobile terminal 20 There is the terminal device of mobile communication function for smart mobile phone, digital radio station etc., the mobile terminal 20 includes:
Processor 22
Core component of the processor 22 for the mobile terminal 20, that is, CPU, can carry out high-speed computation, and processing is each Kind task, runs computer program.
Memory 21
Memory 21 is connect with the processor 22, stores the computer program and computer program operation The information such as data, picture, video file, audio file, the contact person of Shi Suoxu.The processor 22 can be from the memory 21 obtain the various data needed for operation, can also write data into the memory 21.
Communication module 23
Communication module 23 is the module being communicatively coupled with outside, can be wireless network card (wifi module), mobile bee The types such as nest communication module, bluetooth module can connect different networks according to application scenario.The communication module 23 and the place Reason device 22 connects, and receives the instruction of the processor 22, can receive the external communication information sent, can also send communications out letter Breath.
When the computer program stored on the memory 21 is performed by the processor 22, the aforementioned network optimization is realized Method.
It should be noted that the embodiment of the present invention has preferable implementation, and not the present invention is made any type of Limitation, any one skilled in the art change or are modified to possibly also with the technology contents of the disclosure above equivalent effective Embodiment, as long as without departing from the content of technical solution of the present invention, what technical spirit according to the present invention made above example Any modification or equivalent variations and modification, in the range of still falling within technical solution of the present invention.

Claims (15)

1. a kind of network optimized approach, which is characterized in that include the following steps:
S101:In at least two network channels default in a terminal device;
S102:Different delay deltas is set for each network channel;
S103:All-network service in the terminal device is divided at least two classifications, each classification corresponds to a network Channel;
S104:When a network service is run, the classification according to belonging to the network service distributes corresponding network channel for it.
2. network optimized approach as described in claim 1, which is characterized in that
In step S103, all-network service is divided by three classifications according to the interactive mode of network service and user:
First category, the network service provide real time human-machine interaction interface;
Second category, the network service do not provide real time human-machine interaction interface, and periodically or non-periodically sending service to user disappears Breath;
Third classification, the network service do not provide real time human-machine interaction interface, do not send service message to user.
3. network optimized approach as claimed in claim 2, which is characterized in that
In step S101, in first network channel default in a terminal device, the second network channel, third network channel and the 4th Network channel;
In step S102, the delay delta of the first network channel is set as 0 millisecond, sets the second network channel delay Increment is 100 milliseconds, sets the third network channel delay delta as 300 milliseconds, sets the 4th network channel delay Increment is 600 milliseconds.
4. network optimized approach as claimed in claim 3, which is characterized in that
Step S104 includes:
S104-1:Judge whether there is data packet to be sent;
S104-2:When there is data packet to be sent, judge the data packet whether be first category network service data Any one of packet, the Internet Control Message Protocol packet less than 128 bytes or domain name mapping packet;
S104-3:If the step S104-2 judging results are set up, by the allocation of packets to first network channel;
S104-4:If the step S104-2 judging results are invalid, judge whether the data packet belongs to the net of second category Network service;
S104-5:If the step S104-4 judging results are set up, by the allocation of packets to the second network channel;
S104-6:If the step S104-4 judging results are invalid, judge the data packet whether be a two-way interactive net First data packet of network service;
S104-7:If the step S104-6 judging results are set up, by the allocation of packets to third network channel;
S104-8:If the step S104-6 judging results are invalid, by the allocation of packets to the 4th network channel.
5. such as claim 1-4 any one of them network optimized approach, which is characterized in that
In step S103, the classification is different queue, and each queue corresponds to a network channel;
In step S104, when the classification according to belonging to the network service distributes corresponding network channel for it, by the network The data packet of service is sent into the queue belonging to the network service.
6. such as claim 1-4 any one of them network optimized approach, which is characterized in that
In step S101, the network channel is data feedback channel.
7. a kind of network optimization device, which is characterized in that including:
Network channel presetting module, at least two network channels default in a terminal device;
Delay delta setting module is connect with the network channel presetting module, and different delays is set for each network channel Increment;
All-network service in the terminal device is divided at least two classifications by division module, and each classification corresponds to one Network channel;
Distribution module is connect with division module, and when a network service is run, the classification according to belonging to the network service is it Distribute corresponding network channel.
8. network optimization device as claimed in claim 7, which is characterized in that
The network channel presetting module is in first network channel default in a terminal device, the second network channel, third network Channel and the 4th network channel;
The delay delta setting module sets the delay delta of the first network channel as 0 millisecond, sets second net Network communication channel delay increment is 100 milliseconds, sets the third network channel delay delta as 300 milliseconds, sets the 4th net Network communication channel delay increment is 600 milliseconds;
The distribution module includes:
First judging unit judges whether there is data packet to be sent;
Second judgment unit, when there is data packet to be sent, judge the data packet whether be first category network service Any one of data packet, the Internet Control Message Protocol packet less than 128 bytes or domain name mapping packet;
If the second judgment unit judging result is set up, the allocation of packets to first network is led to for first allocation unit Road;
Third judging unit if the second judgment unit judging result is invalid, judges whether the data packet belongs to second The network service of classification;
If the third judging unit judging result is set up, the allocation of packets to the second network is led to for second allocation unit Road;
4th judging unit if the third judging unit judging result is invalid, judges whether the data packet is one two-way First data packet of interactive network service;
If the 4th judging unit judging result is set up, the allocation of packets to third network is led to for third allocation unit Road;
4th allocation unit:If the 4th judging unit judging result is invalid, by the allocation of packets to the 4th network Channel.
9. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program quilt Processor realizes following steps when performing:
S105:In at least two network channels default in a terminal device;
S106:Different delay deltas is set for each network channel;
S107:All-network service in the terminal device is divided at least two classifications, each classification corresponds to a network Channel;
S108:When a network service is run, the classification according to belonging to the network service distributes corresponding network channel for it.
10. computer readable storage medium as claimed in claim 9, which is characterized in that
In step S107, all-network service is divided by three classifications according to the interactive mode of network service and user:
First category, the network service provide real time human-machine interaction interface;
Second category, the network service do not provide real time human-machine interaction interface, and periodically or non-periodically sending service to user disappears Breath;
Third classification, the network service do not provide real time human-machine interaction interface, do not send service message to user.
11. computer readable storage medium as claimed in claim 10, which is characterized in that
In step S105, in first network channel default in a terminal device, the second network channel, third network channel and the 4th Network channel;
In step S106, the delay delta of the first network channel is set as 0 millisecond, sets the second network channel delay Increment is 100 milliseconds, sets the third network channel delay delta as 300 milliseconds, sets the 4th network channel delay Increment is 600 milliseconds.
12. computer readable storage medium as claimed in claim 11, which is characterized in that
Step S108 includes:
S108-1:Judge whether there is data packet to be sent;
S108-2:When there is data packet to be sent, judge the data packet whether be first category network service data Any one of packet, the Internet Control Message Protocol packet less than 128 bytes or domain name mapping packet;
S108-3:If the step S108-2 judging results are set up, by the allocation of packets to first network channel;
S108-4:If the step S108-2 judging results are invalid, judge whether the data packet belongs to the net of second category Network service;
S108-5:If the step S108-4 judging results are set up, by the allocation of packets to the second network channel;
S108-6:If the step S108-4 judging results are invalid, judge the data packet whether be a two-way interactive net First data packet of network service;
S108-7:If the step S108-6 judging results are set up, by the allocation of packets to third network channel;
S108-8:If the step S108-6 judging results are invalid, by the allocation of packets to the 4th network channel.
13. such as claim 9-12 any one of them computer readable storage mediums, which is characterized in that
In step S107, the classification is different queue, and each queue corresponds to a network channel;
In step S108, when the classification according to belonging to the network service distributes corresponding network channel for it, by the network The data packet of service is sent into the queue belonging to the network service.
14. such as claim 9-12 any one of them computer readable storage mediums, which is characterized in that
In step S105, the network channel is data feedback channel.
15. a kind of mobile terminal, including memory, processor, communication module and storage on a memory and can be on a processor The computer program of operation, the processor are connect with the memory and communication module, which is characterized in that the processor is held The row computer program realizes claim 1-4 any one of them network optimized approach.
CN201711442062.8A 2017-12-27 2017-12-27 A kind of network optimized approach, device, computer readable storage medium and mobile terminal Pending CN108200588A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711442062.8A CN108200588A (en) 2017-12-27 2017-12-27 A kind of network optimized approach, device, computer readable storage medium and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711442062.8A CN108200588A (en) 2017-12-27 2017-12-27 A kind of network optimized approach, device, computer readable storage medium and mobile terminal

Publications (1)

Publication Number Publication Date
CN108200588A true CN108200588A (en) 2018-06-22

Family

ID=62584432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711442062.8A Pending CN108200588A (en) 2017-12-27 2017-12-27 A kind of network optimized approach, device, computer readable storage medium and mobile terminal

Country Status (1)

Country Link
CN (1) CN108200588A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2802678C1 (en) * 2021-06-16 2023-08-30 Хонор Девайс Ко., Лтд. Channel switching method, electronic device and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1708929A (en) * 2002-10-29 2005-12-14 高通股份有限公司 Multi-channel communication system and method based on class of service requirements
CN1909511A (en) * 2006-07-19 2007-02-07 华为技术有限公司 Multiple service supporting method and network equipment based on XDSL multiple-time-delay access
EP2259649A1 (en) * 2001-01-31 2010-12-08 Tantivy Communications, Inc. Dynamic bandwidth allocation for multiple access communication using session queues
CN103200606A (en) * 2013-03-18 2013-07-10 东莞宇龙通信科技有限公司 Terminal and data service processing method
CN105791899A (en) * 2014-12-19 2016-07-20 中国移动通信集团公司 Multimedia data transmission and terminal
US20170325286A1 (en) * 2015-04-20 2017-11-09 Shoelace Wireless, Inc. Systems for Improved Multi-Channel Network Connectivity Performance and Security

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2259649A1 (en) * 2001-01-31 2010-12-08 Tantivy Communications, Inc. Dynamic bandwidth allocation for multiple access communication using session queues
CN1708929A (en) * 2002-10-29 2005-12-14 高通股份有限公司 Multi-channel communication system and method based on class of service requirements
CN1909511A (en) * 2006-07-19 2007-02-07 华为技术有限公司 Multiple service supporting method and network equipment based on XDSL multiple-time-delay access
CN103200606A (en) * 2013-03-18 2013-07-10 东莞宇龙通信科技有限公司 Terminal and data service processing method
CN105791899A (en) * 2014-12-19 2016-07-20 中国移动通信集团公司 Multimedia data transmission and terminal
US20170325286A1 (en) * 2015-04-20 2017-11-09 Shoelace Wireless, Inc. Systems for Improved Multi-Channel Network Connectivity Performance and Security

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
RU2802678C1 (en) * 2021-06-16 2023-08-30 Хонор Девайс Ко., Лтд. Channel switching method, electronic device and storage medium

Similar Documents

Publication Publication Date Title
Hassan et al. Edge computing in 5G: A review
Nguyen et al. Decentralized and revised content-centric networking-based service deployment and discovery platform in mobile edge computing for IoT devices
Atzori et al. SDN&NFV contribution to IoT objects virtualization
CN111200878B (en) Information transmission method and device
US7826465B2 (en) Methods, systems and computer program products for dynamic communication data routing by a multi-network remote communication terminal
CN111010702A (en) Time delay sensitive network communication method and device thereof
CN102447638A (en) Load balancing method and forwarding apparatus
CN113364809B (en) Offloading network data to perform load balancing
CN108566286B (en) Method for realizing service quality of intelligent router, router and electronic equipment
CN111107672B (en) Method, device and system for establishing sub-streams of multi-path connection
CN112566164B (en) Communication system and service quality control method
CN104335198B (en) Server, method and the terminal for preventing accessing resource are accessed for management terminal
EP2860942A1 (en) System and method of delivering data that provides service differentiation and monetization in mobile data networks
CN112134866A (en) Service access control method, device, system and computer readable storage medium
CN113938872B (en) Communication method, device, system and computer storage medium
CN112333690B (en) Data transmission method, device, storage medium, terminal and network access point equipment
CN102845042A (en) System and method for aggregating bandwidth of multiple active physical interfaces on application layer
CN110213170A (en) A kind of method and device of message transmissions
CN108200588A (en) A kind of network optimized approach, device, computer readable storage medium and mobile terminal
JP6888478B2 (en) Sorting system
EP4135288B1 (en) Multiple state control interfaces between a control plane and a user plane in a disaggregated broadband network gateway architecture
CN106973014B (en) Anycast route publishing system and method and electronic equipment
CN109495477A (en) A kind of authentication method, equipment and system
CN105592414B (en) A kind of information processing method and the first electronic equipment
Nguyen et al. A proposal of autonomic edge cloud platform with CCN-based service routing protocol

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
AD01 Patent right deemed abandoned
AD01 Patent right deemed abandoned

Effective date of abandoning: 20230714