CN109067571A - Electronic device and its network collocating method, storage medium - Google Patents

Electronic device and its network collocating method, storage medium Download PDF

Info

Publication number
CN109067571A
CN109067571A CN201810820767.7A CN201810820767A CN109067571A CN 109067571 A CN109067571 A CN 109067571A CN 201810820767 A CN201810820767 A CN 201810820767A CN 109067571 A CN109067571 A CN 109067571A
Authority
CN
China
Prior art keywords
electronic device
network
communication delay
server
book server
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
CN201810820767.7A
Other languages
Chinese (zh)
Other versions
CN109067571B (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 CN201810820767.7A priority Critical patent/CN109067571B/en
Publication of CN109067571A publication Critical patent/CN109067571A/en
Application granted granted Critical
Publication of CN109067571B publication Critical patent/CN109067571B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • 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
    • 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/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity

Abstract

This application discloses a kind of network collocating methods of electronic device, this method comprises: executing the continuity testing with book server after monitoring network communication requests that application program is issued to corresponding server to obtain the communication delay value of electronic device and book server;Judge whether communication delay value is greater than the set value;If so, combining the second network link transmit with the data of server using first network link.Disclosed herein as well is a kind of electronic devices and a kind of storage medium.By the above-mentioned means, the application is able to use two network links while carrying out data transmission, and it can guarantee to trigger the accuracy of simultaneous transmission.

Description

Electronic device and its network collocating method, storage medium
Technical field
The present invention relates to technical field of electronic equipment, more particularly to a kind of electronic device and its network collocating method, deposit Storage media.
Background technique
Currently, with the continuous development of science and technology, the electronic devices such as smart phone increasingly become people's daily life Necessity.
In order to meet user's online demand, electronic device can be by WIFI or data traffic come the network that accesses. When WIFI progress network access is used alone, WIFI signal intensity is weaker sometimes, causes to prolong when using WIFI access network When it is larger.When data traffic progress network access is used alone, the expense of great number is often generated, user's economy is caused to be damaged It loses.
Summary of the invention
The technical solution that the embodiment of the present application uses is: providing a kind of network collocating method of electronic device, the party Method includes: to execute and book server after monitoring network communication requests that application program is issued to corresponding server Continuity testing is to obtain the communication delay value of electronic device and book server;Judge whether communication delay value is greater than setting Value;If so, combining the second network link transmit with the data of server using first network link.
Another technical solution that the embodiment of the present application uses is: providing a kind of electronic device, electronic device includes monitoring And test module, for after monitoring network communication requests that application program is issued to corresponding server, executing and predetermined The continuity testing of server is to obtain the communication delay value of electronic device and book server;Judgment module leads to for judging Whether letter delay value is greater than the set value;Execution module, for using first network link when communication delay value is greater than the set value Transmit with the data of server in conjunction with the second network link.
Another technical solution that the embodiment of the present application uses is: providing a kind of electronic device, which includes place Reason device and the memory being electrically connected with processor, for memory for storing computer program, processor is for executing computer Program is to realize above-mentioned method.
Another technical solution that the embodiment of the present application uses is: providing a kind of computer readable storage medium, the calculating Machine readable storage medium storing program for executing is stored with computer program, and computer program can be performed to realize above-mentioned method.
The embodiment of the present application is by holding after monitoring network communication requests that application program is issued to corresponding server The capable continuity testing with book server is to obtain the communication delay value of electronic device and book server;Judge communication delay Whether value is greater than the set value;If so, combining the second network link pass with the data of server using first network link It is defeated, it is able to use two network links while carrying out data transmission, and can guarantee to trigger the accuracy of simultaneous transmission.
Detailed description of the invention
Fig. 1 is the flow diagram of the network collocating method of the application first embodiment electronic device;
Fig. 2 is that WIFI network link and mobile Internet network link open up benefit structural schematic diagram;
Fig. 3 is a kind of flow diagram for testing electronic device and book server connectivity of the embodiment of the present application;
Fig. 4 is test philosophy schematic diagram in Fig. 3;
Fig. 5 is the flow diagram of the embodiment of the present application another kind test electronic device and book server connectivity;
Fig. 6 is the flow diagram of the network collocating method of the electronic device of the application second embodiment;
Fig. 7 is the flow diagram of the network collocating method of the electronic device of the application 3rd embodiment;
Fig. 8 is the module diagram of the embodiment of the present application electronic device;
Fig. 9 is the hardware structural diagram of the embodiment of the present application electronic device.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation description.It is understood that specific embodiment described herein is only used for explaining the application, rather than to the limit of the application It is fixed.It also should be noted that illustrating only part relevant to the application for ease of description, in attached drawing and not all knot Structure.Based on the embodiment in the application, obtained by those of ordinary skill in the art without making creative efforts Every other embodiment, shall fall in the protection scope of this application.
Term " first ", " second " in the application etc. be for distinguishing different objects, rather than it is specific suitable for describing Sequence.In addition, term " includes " and " having " and their any deformations, it is intended that cover and non-exclusive include.Such as comprising The process, method, system, product or equipment of a series of steps or units are not limited to listed step or unit, and It is optionally further comprising the step of not listing or unit, or optionally further comprising for these process, methods, product or equipment Intrinsic other step or units.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Electronic device can usually pass through WIFI or data traffic (mobile Internet, such as 2G, 3G, 4G, 5G network) Come the network that accesses.When WIFI progress network access is used alone, WIFI signal intensity is weaker sometimes, causes using When WIFI accesses network, it is delayed larger.When data traffic progress network access is used alone, taking for great number is often generated With leading to user's economic loss.
To solve the above-mentioned problems, using SLA (Smart Link Aggreation, intelligence link polymerization), fill electronics Set using two or more network interface while to surf the Internet simultaneously.For example pass through link on the electronic device It polymerize while carries out net using WIFI interface (WIFI network link) and data traffic interface (mobile Internet network link) Network access, and the online of user's smoothness is reached to control assignment of traffic in management multichannel online by certain algorithm.
It is understood that electronic device can support cable network to connect, network interface can also be ethernet network Interface can use WIFI interface, data traffic interface, ethernet network interface simultaneously by link aggregation to realize online.
When the application program of operation support SLA function, corresponding server can be accessed according to the application program (with application Program is corresponding, is provided by the service provider of application program) the case where, to determine whether opening SLA function.For example, according to the application Program accesses the time delay of corresponding server in connection WIFI to judge whether current WIFI meets online demand, if delay is excessive Then think that possible online can be not smooth enough more than some value, can then trigger open SLA function at this time, opening data traffic and basis Certain algorithm distributes the ratio of WIFI and the various data volumes of data traffic.
There are problems for the mode of this triggering SLA function above, when forbidding accessing some server in some WIFI, SLA function, which may trigger, not to be controlled rationally, such as certain company guarantees working efficiency to forbid employee to chat QQ during work, Set its public WIFI hot spot to the server for forbidding accessing Tencent (service provider of QQ), then user is using support SLA function When application program (such as browser) of energy, Tencent's server, but other accessible servers can not be accessed at this time, if user works as Preceding has accessed Tencent's server, as a result without response, then reaches the condition of triggering SLA function, but WIFI network is fine at this time, and Be not due to WIFI signal it is weak caused by, open SLA function consumed flow instead.Or have WIFI can surf the Internet but Network delay comes into force when being more than some value, also will appear problem, for example, current WIFI network is poor, has reached opening SLA function Condition be then judged as and can not surf the Internet because Tencent's server can not be accessed, trigger but due to only having accessed Tencent's server SLA function causes unnecessary flow to waste, and it is also not good enough to experience.
To solve this problem, the embodiment of the present application is when application requests are with corresponding server communication, electronic device System bottom configuration carries out continuity testing with book server, and judges electronic device according to the network delay that test obtains Current network environment goes to decide whether to trigger SLA function.Referring specifically to the description of Examples below.
Referring to Fig. 1, Fig. 1 is the flow diagram of the network collocating method of the application first embodiment electronic device.
In the present embodiment, the network collocating method of electronic device may comprise steps of:
Step 101: judging whether electronic device is only connected to the network using first network link.
Wherein, first network link can be WIFI (Wireless Fidelity, Wireless Fidelity) network link.
In a step 101,102 are if the determination result is YES thened follow the steps.
In a step 101, if judging result is otherwise to return to step 101 to continue to judge.
Step 102: judging whether to monitor the network communication requests that application program is issued to corresponding server.
Each needs the application program networked, and can all have the server of corresponding service provider's offer to ensure application The normal use of program.For example, iqiyi.com video, has a corresponding server to store video resource, web page resources etc..
When application program will access network, which can send communication request, prison to the corresponding server Control this movement for issuing communication request.
In a step 102, if so, thening follow the steps 103.
In a step 102, if it is not, then return step 101 continues to judge.
Step 103: judge first network link, the second network link, application program intelligence link polymerizable functional whether Have turned on.
Optionally, the second network link can be mobile Internet network link.Mobile Internet refers to 2G, 3G, 4G, 5G Deng the network for using data traffic.
Please refer to Fig. 2, Fig. 2 is that WIFI network link and mobile Internet network link open up benefit structural schematic diagram.
Wherein, WIFI interface refers to the software module and hardware module of the realization WIFI function in electronic device.Data flow Amount interface refers to the software module and hardware module of the realization data traffic function in electronic device.Wireless aps (Access Point, access point) refer to hotspot, the i.e. trunking of WIFI interface access internet.Base station (Base Station, letter Claim BS) it is the trunking that data traffic interface accesses internet.
First network link is from WIFI interface to wireless aps again to the network link of internet.
Second network link is from data traffic interface to base station again to the network link of internet.
Judge whether WIFI network link is opened to refer to and judge whether electronic device opens WIFI function, i.e. electronic device WIFI interface whether open.
Judge whether mobile Internet network link opens the function for referring to and judging whether electronic device opens data traffic Can, i.e. whether the data traffic interface of electronic device is opened.
Judge whether application program opens intelligence link polymerizable functional and refer to whether application program supports that intelligence link is poly- Close function.Alternatively, referring to that application program supports intelligence link polymerizable functional, if open this function, i.e., whether allow Pass through the polymerization of judgement two network links of triggering in subsequent process.
Wherein, user can in advance configure each application program, the intelligent polymerizable functional of each application program It can be configured as two states, for example, "Yes" or "No".If the state of a certain application program is configured as "Yes", say The bright application program opens the function of intelligence link polymerization.If the state of a certain application program is configured as "No", illustrate The application program does not open the function of intelligence link polymerization.
Intelligence link polymerizable functional is opened in application program, and first network link and the second network link are opened When, execute step 104.
If intelligence link polymerizable functional, first network link, the second network link are not all turned on, return step 101 Continue to judge.
Step 104: carrying out continuity testing with book server and prolonged with the communication for obtaining electronic device and book server Duration.
Book server can be the server for having determined stable connection at present, will not be caused due to the failure of server Communication delay value between electronic device and book server is excessively high.Book server can be the service of Large-Scale Interconnected net enterprise Device is also possible to the server of producer's setting of electronic device.
As shown in Fig. 2, from wireless aps to internet be to the network link of book server again it is smooth, wireless aps do not have Book server intercept or other are limited.Continuity testing of the electronic device between progress and book server When, it is connectivity between the WIFI interface and wireless aps of reflection that test result is main.Test result reflects wireless aps The influence of WIFI signal intensity.
Please further combined with being a kind of test electronic device of the embodiment of the present application and reservation service refering to Fig. 3 and Fig. 4, Fig. 3 The flow diagram of device connectivity, Fig. 4 are test philosophy schematic diagrames in Fig. 3.
Step 104 can specifically include following steps:
Step 1041: sending test packet to book server, and the sending time of test packet point is recorded in test In message.
Wherein, electronic device sends one section of test packet to book server, and the sending time of test packet point is remembered Record is in test packet.
Step 1042: receiving the test packet that book server returns, and according to the receiving time for receiving test packet The sending time point recorded in point and test packet calculates the difference of receiving time point and sending time point, takes the difference as communication Delay value.
Wherein, electronic device receives the test packet that book server returns, and when parsing from test packet transmission Between point, then calculate test packet receiving time point and sending time point difference, which is communication delay value.
Step 105: judging whether communication delay value is greater than the set value.
In step 105, if the determination result is YES, 106 are thened follow the steps.
In step 105, if judging result be it is no, then follow the steps 107.
Wherein, which refers to server corresponding with application program, specifically refers to description above.
Step 106: combining the second network link transmit with the data of server using first network link.
Wherein, when the communication delay value detected is greater than the set value, electronic device use simultaneously WIFI network link and Mobile Internet network link carries out the data between server and transmits.WIFI network link shares the transport stream of a part Amount, mobile Internet network link shares the transmission flow of another part, thus while saving flow, it is ensured that data The bandwidth of transmission guarantees network transfer speeds.
Step 107: being carried out data transmission using first network link with server.
Wherein, when the communication delay value detected is less than or equal to setting value, WIFI network link and clothes is used only Business device carries out data transmission, and avoids avoiding unnecessary flow from consuming using mobile Internet network link.
In the present embodiment, by the communication delay value between test and book server, to decide whether to trigger network The polymerization of link can be improved the accuracy of link aggregation triggering, avoid the false triggering of link aggregation.
Referring to Fig. 5, Fig. 5 is the process of the embodiment of the present application another kind test electronic device and book server connectivity Schematic diagram.
The detailed process of step 104 can be with are as follows:
Step 104a: the first data packet number when sending test packet to book server, and test packet being sent It is recorded in test packet.
Data are to be sent when sending in the form of data packet, if test packet can wrap by the form division of data packet The data packet of multiple quantity is included, and the data packet number for including when test packet is sent in test packet it is believed that send out The first data packet number at this time is recorded in test packet when sending.
Step 104b: the test packet that book server returns is received, and records test packet when receiving test packet The second data packet number, the first data packet number is parsed from test packet.
Wherein, due to will appear data packetloss in transmission process, the quantity of the second data packet of the test packet received It can be fewer than the first data packet number when sending.
Step 104c: packet loss is calculated according to the second data packet number and the first data packet number.
Wherein, packet loss=(first the-the second data packet number of data packet number)/first data packet number.
It after this, can be according to the size of packet loss to determine whether triggering the polymerization of network link.It is big in packet loss When the packet loss of setting, while using the number between WIFI network link and the progress of mobile Internet network link and server According to transmission.WIFI network link is used only when packet loss is less than or equal to the packet loss of setting and server carries out data biography It is defeated.
It should be understood that the network connectivty parameter of continuity testing can be able to reflect the parameter of network connectivty for other, The embodiment of the present application is not listed one by one.
In other embodiments, electronic device can also carry out connectivity survey with the book server of multiple and different addresses Then examination decides whether the polymerization for triggering network link according to test result.Referring specifically to following description.
Referring to Fig. 6, Fig. 6 is the flow diagram of the network collocating method of the electronic device of the application second embodiment.
In the present embodiment, the network collocating method of electronic device may comprise steps of:
Step 201: judging whether electronic device is only connected to the network using first network link.
Wherein, first network link can be WIFI (Wireless Fidelity, Wireless Fidelity) network link.
In step 201,202 are if the determination result is YES thened follow the steps.
In step 201, if judging result is otherwise to return to step 201 to continue to judge.
Step 202: judging whether to monitor the network communication requests that application program is issued to corresponding server.
In step 202, if so, thening follow the steps 203.
In step 202, if it is not, then return step 201 continues to judge.
Step 203: judge first network link, the second network link, application program intelligence link polymerizable functional whether Have turned on.
Optionally, the second network link can be mobile Internet network link.Mobile Internet refers to 2G, 3G, 4G, 5G Deng the network for using data traffic.
Intelligence link polymerizable functional is opened in application program, and first network link and the second network link are opened When, execute step 204.
If intelligence link polymerizable functional, first network link, the second network link are not all turned on, return step 201 Continue to judge.
Step 204: carry out continuity testing with the book servers of multiple and different network address with obtain electronic device with The average communication delay value of multiple book servers.
Wherein, book server quantity is multiple.Electronic device and the book server of multiple and different network address are distinguished Continuity testing is carried out, multiple communication delay values are obtained, then multiple communication delay values are averaging, obtains average communication delay Value.
Step 205: judging whether average communication delay value is greater than the set value.
In step 205, if the determination result is YES, 206 are thened follow the steps.
In step 205, if judging result be it is no, then follow the steps 207.
Step 206: combining the second network link transmit with the data of server using first network link.
Step 207: being carried out data transmission using first network link with server.
For example, electronic device is connected to the network using WIFI network link, mobile Internet network link is also opened , when QQ program initiates communication request to Tencent's server, electronic device backstage executes the connection with three book servers Property test, three book servers are respectively Netease's network server (www.163.com), Sina's network server (www.sina.com.cn), phoenix network server (www.ifeng.com).For example, electronic device measures and network address The communication delay value of www.163.com is 56ms, and the communication delay value with www.sina.com.cn is 60ms, with The communication delay value of www.ifeng.com is 66ms, then average communication delay value is (56+60+66)/3=60.67ms.
If setting value is that 100ms will not so trigger network link polymerization, that is to say, that will use WIFI network chain Road carries out data transmission with server.
For example, it is 98ms that electronic device, which is measured with the communication delay value of network address www.163.com, with The communication delay value of www.sina.com.cn is 110ms, and the communication delay value with www.ifeng.com is 101ms, then flat Equal communication delay value is (98+110+101)/3=103ms.
If setting value is that 100ms will so trigger network link polymerization, that is to say, that use WIFI network link knot Mobile Internet network link is closed transmit with the data of Tencent's server.
In the present embodiment, by the connectivity in background test and multiple book servers, then comprehensively consider and more The average connectivity of a book server come as whether trigger network link polymerization judgment criteria, improve triggering network link The accuracy of polymerization avoids unnecessary data traffic from wasting, and saves the cost that user uses electronic device.
Referring to Fig. 7, Fig. 7 is the flow diagram of the network collocating method of the electronic device of the application 3rd embodiment.
In the present embodiment, the network collocating method of electronic device may comprise steps of:
Step 301: judging whether electronic device is only connected to the network using first network link.
Wherein, first network link can be WIFI (Wireless Fidelity, Wireless Fidelity) network link.
In step 301,302 are if the determination result is YES thened follow the steps.
In step 301, if judging result is otherwise to return to step 301 to continue to judge.
Step 302: judging whether to monitor the network communication requests that application program is issued to corresponding server.
In step 302, if so, thening follow the steps 303.
In step 302, if it is not, then return step 302 continues to judge.
Step 303: judge first network link, the second network link, application program intelligence link polymerizable functional whether Have turned on.
Optionally, the second network link can be mobile Internet network link.Mobile Internet refers to 2G, 3G, 4G, 5G Deng the network for using data traffic.
Intelligence link polymerizable functional is opened in application program, and first network link and the second network link are opened When, execute step 304.
If intelligence link polymerizable functional, first network link, the second network link are not all turned on, return step 301.
Step 304: carry out continuity testing with the book servers of multiple and different network address with obtain electronic device with The communication delay value of each book server.
Wherein, book server quantity is multiple.Electronic device and the book server of multiple and different network address are distinguished Continuity testing is carried out, multiple communication delay values are obtained
Step 305: whether judgement and the communication delay value of each book server are all larger than setting value.
In step 305, if the determination result is YES, 306 are thened follow the steps.
In step 305, if judging result be it is no, then follow the steps 307.
Step 306: combining the second network link transmit with the data of server using first network link.
Step 307: being carried out data transmission using first network link with server.
For example, electronic device is connected to the network using WIFI network link, mobile Internet network link is also opened , when QQ program initiates communication request to Tencent's server, electronic device backstage executes the connection with three book servers Property test, three book servers are respectively Netease's network server (www.163.com), Sina's network server (www.sina.com.cn), phoenix network server (www.ifeng.com).For example, electronic device measures and network address The communication delay value of www.163.com is 56ms, and the communication delay value with www.sina.com.cn is 60ms, with The communication delay value of www.ifeng.com is 110ms.
If setting value is 100ms, wherein the communication delay value of electronic device and phoenix network server is greater than setting Value, and other two be less than predetermined value, will not trigger network link polymerization, that is to say, that will use WIFI network link with Server carries out data transmission.
For example, it is 102ms that electronic device, which is measured with the communication delay value of network address www.163.com, with The communication delay value of www.sina.com.cn is 110ms, and the communication delay value with www.ifeng.com is 101ms.
If setting value is 100ms, the communication delay of electronic device and three book servers is all larger than setting value, Network link polymerization will then be triggered, that is to say, that will use the progress of WIFI network link combination mobile Internet network link It is transmitted with the data of Tencent's server.
In the present embodiment, by the connectivity in background test and multiple book servers, then comprehensively consider and more Whether the connectivity of a book server is come as the judgment criteria of network link polymerization is triggered, in the logical of multiple book servers Just triggering network link polymerization when letter delay value is above setting value, so as to improve the accurate of triggering network link polymerization Property, it avoids unnecessary data traffic from wasting, saves the cost that user uses electronic device.
Referring to Fig. 8, Fig. 8 is the module diagram of the embodiment of the present application electronic device.In the present embodiment, electronic device 80 may include with lower module:
Monitoring and test module 81, in the network communication requests for monitoring that application program is issued to corresponding server Afterwards, the continuity testing with book server is executed to obtain the communication delay value of electronic device 80 Yu book server.
Judgment module 82, for judging whether communication delay value is greater than the set value.
Execution module 83 uses first network chain for determining in judgment module 82 when communication delay value is greater than the set value Road combines the second network link transmit with the data of server.
Referring to Fig. 9, Fig. 9 is the hardware structural diagram of the embodiment of the present application electronic device.In the present embodiment, electronics Device 90 may include: processor 91 and memory 92.Memory 92 is electrically connected with processor 91.
Memory 92 is used to call the computer program then from memory 92 for storing computer program, processor 91 The method that the computer program is executed to realize above-mentioned any one embodiment.
The embodiment of the present application also provides a kind of computer readable storage medium, and the computer readable storage medium is for storing Computer program, the computer program can be executed by processor to realize the method provided in above-described embodiment.It is understood that , the computer program of readable storage medium storing program for executing storage in the present embodiment, the method used that is performed is mentioned with above-described embodiment The method of confession is similar, and principle is identical with step, and which is not described herein again.
Wherein, the storage medium can for USB flash disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), with Machine accesses various Jie that can store program code such as memory (RAM, Random Access Memory), magnetic or disk Matter.
Electronic device in the above-mentioned any one implementation of the application can be smart phone, wearable smart machine, plate Computer, palm PC, number PDA or other electronic devices.
The embodiment of the present application is by holding after monitoring network communication requests that application program is issued to corresponding server The capable continuity testing with book server is to obtain the communication delay value of electronic device and book server;Judge communication delay Whether value is greater than the set value;If so, combining the second network link pass with the data of server using first network link It is defeated, it is able to use two network links while carrying out data transmission, and can guarantee to trigger the accuracy of simultaneous transmission.
The foregoing is merely presently filed embodiments, are not intended to limit the scope of the patents of the application, all to utilize this Equivalent structure or equivalent flow shift made by application specification and accompanying drawing content, it is relevant to be applied directly or indirectly in other Technical field similarly includes in the scope of patent protection of the application.

Claims (10)

1. a kind of network collocating method of electronic device, which is characterized in that the described method includes:
After monitoring network communication requests that application program is issued to corresponding server, the connection with book server is executed Property test to obtain the communication delay value of the electronic device Yu the book server;
Judge whether the communication delay value is greater than the set value;
If so, transmit with the data of the server in conjunction with the second network link using first network link.
2. the method according to claim 1, wherein the first network link be WIFI network link, it is described Second network link is mobile Internet network link.
3. the method according to claim 1, wherein described execute the continuity testing with book server to obtain The communication delay value for taking the electronic device and the book server includes:
Test packet is sent to the book server, and the sending time of test packet point is recorded in the test and is reported Wen Zhong;
The test packet that the book server returns is received, and according to the receiving time point for receiving the test packet The difference that receiving time point and sending time point are calculated with the sending time point recorded in the test packet, the difference is made For the communication delay value.
4. described the method according to claim 1, wherein the network communication requests are initiated by application program The continuity testing with book server is executed to obtain the communication delay value of the electronic device and the book server Before step, the method also includes:
Judge whether the application program opens intelligence link polymerizable functional, whether the first network link is opened, is described Whether the second network link is opened;
Intelligence link polymerizable functional is opened in the application program, and the first network link and the second network link are opened Qi Shi executes the continuity testing with book server to obtain the communication delay of the electronic device Yu the book server Value.
5. the method according to claim 1, wherein the quantity of the book server is multiple, the execution Continuity testing with book server includes: with the communication delay value for obtaining the electronic device and the book server
The continuity testing with the book server of multiple and different network address is executed to obtain the electronic device and multiple institutes State the average communication delay value of book server;
It is described to judge whether the communication delay value is greater than the set value and include:
Judge whether the average communication delay value is greater than the set value.
6. the method according to claim 1, wherein the quantity of the book server is multiple, the execution Continuity testing with book server includes: with the communication delay value for obtaining the electronic device and the book server
The continuity testing with the book server of multiple and different network address is executed to obtain the electronic device and each institute State the communication delay value of book server;
It is described to judge whether the communication delay value is greater than the set value and include:
Judge whether the communication delay value of multiple book servers is all larger than setting value.
7. judging whether the communication delay value is greater than the set value the method according to claim 1, wherein described The step of after, the method also includes:
If it is not, then transmit with the data of the server using first network link.
8. a kind of electronic device, which is characterized in that the electronic device includes
Monitoring and test module, for holding after monitoring network communication requests that application program is issued to corresponding server The capable continuity testing with book server is to obtain the communication delay value of the electronic device Yu the book server;
Judgment module, for judging whether the communication delay value is greater than the set value;
Execution module determines in the judgment module and uses first network link knot when the communication delay value is greater than the set value The second network link is closed transmit with the data of the server.
9. a kind of electronic device, which is characterized in that it is characterized in that, the electronic device include processor and with the processor The memory of electrical connection, for the memory for storing computer program, the processor is for executing the computer journey Sequence is to realize method described in claim 1-7 any one.
10. a kind of storage medium, which is characterized in that the storage medium is for storing computer program, the computer program It can be performed to realize method described in claim 1-7 any one.
CN201810820767.7A 2018-07-24 2018-07-24 Electronic device, network configuration method thereof and storage medium Active CN109067571B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810820767.7A CN109067571B (en) 2018-07-24 2018-07-24 Electronic device, network configuration method thereof and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810820767.7A CN109067571B (en) 2018-07-24 2018-07-24 Electronic device, network configuration method thereof and storage medium

Publications (2)

Publication Number Publication Date
CN109067571A true CN109067571A (en) 2018-12-21
CN109067571B CN109067571B (en) 2021-10-15

Family

ID=64836245

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810820767.7A Active CN109067571B (en) 2018-07-24 2018-07-24 Electronic device, network configuration method thereof and storage medium

Country Status (1)

Country Link
CN (1) CN109067571B (en)

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587719A (en) * 2018-12-25 2019-04-05 Oppo广东移动通信有限公司 Data transmission method and relevant apparatus
CN109640178A (en) * 2018-12-29 2019-04-16 Oppo广东移动通信有限公司 Network shunt method and relevant device
CN109729556A (en) * 2019-02-12 2019-05-07 Oppo广东移动通信有限公司 Link connection method and relevant apparatus
CN111148137A (en) * 2019-12-30 2020-05-12 宇龙计算机通信科技(深圳)有限公司 Data transmission method and device, storage medium and terminal
WO2020143579A1 (en) * 2019-01-11 2020-07-16 Oppo广东移动通信有限公司 Link aggregation implementation method and related product
CN112751689A (en) * 2019-10-30 2021-05-04 北京京东振世信息技术有限公司 Network connectivity detection method, monitoring server and monitoring agent device
WO2021128251A1 (en) * 2019-12-27 2021-07-01 拉克诺德(深圳)科技有限公司 Multi-channel-based terminal data wireless transmission method and apparatus, device, and medium
US11973684B2 (en) 2019-01-11 2024-04-30 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Link aggregation implementation method and related product

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140293970A1 (en) * 2013-03-26 2014-10-02 Qualcomm Incorporated Wlan uplink scheduler for lte-wlan aggregation
CN104349415A (en) * 2013-08-01 2015-02-11 中国移动通信集团公司 Data packet sending method and apparatus
CN104735728A (en) * 2015-04-10 2015-06-24 宇龙计算机通信科技(深圳)有限公司 Service data flow transmission method and system
CN106790532A (en) * 2016-12-21 2017-05-31 清华大学深圳研究生院 A kind of online live method for uploading and system based on edge network polymerization
CN107251467A (en) * 2015-02-12 2017-10-13 诺基亚技术有限公司 The polymerization of cellular network and WLAN
CN107852635A (en) * 2015-08-07 2018-03-27 英特尔公司 The separation based on multi-user for more RAT polymerizations

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20140293970A1 (en) * 2013-03-26 2014-10-02 Qualcomm Incorporated Wlan uplink scheduler for lte-wlan aggregation
CN104349415A (en) * 2013-08-01 2015-02-11 中国移动通信集团公司 Data packet sending method and apparatus
CN107251467A (en) * 2015-02-12 2017-10-13 诺基亚技术有限公司 The polymerization of cellular network and WLAN
CN104735728A (en) * 2015-04-10 2015-06-24 宇龙计算机通信科技(深圳)有限公司 Service data flow transmission method and system
CN107852635A (en) * 2015-08-07 2018-03-27 英特尔公司 The separation based on multi-user for more RAT polymerizations
CN106790532A (en) * 2016-12-21 2017-05-31 清华大学深圳研究生院 A kind of online live method for uploading and system based on edge network polymerization

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109587719A (en) * 2018-12-25 2019-04-05 Oppo广东移动通信有限公司 Data transmission method and relevant apparatus
WO2020134721A1 (en) * 2018-12-25 2020-07-02 Oppo广东移动通信有限公司 Data transmission method and related apparatus
CN109640178A (en) * 2018-12-29 2019-04-16 Oppo广东移动通信有限公司 Network shunt method and relevant device
US11973684B2 (en) 2019-01-11 2024-04-30 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Link aggregation implementation method and related product
WO2020143579A1 (en) * 2019-01-11 2020-07-16 Oppo广东移动通信有限公司 Link aggregation implementation method and related product
CN109729556A (en) * 2019-02-12 2019-05-07 Oppo广东移动通信有限公司 Link connection method and relevant apparatus
WO2020164351A1 (en) * 2019-02-12 2020-08-20 Oppo广东移动通信有限公司 Link connection method and related apparatus
CN109729556B (en) * 2019-02-12 2020-10-20 Oppo广东移动通信有限公司 Link connection method and related device
CN112105058A (en) * 2019-02-12 2020-12-18 Oppo广东移动通信有限公司 Link connection method and related device
CN112751689A (en) * 2019-10-30 2021-05-04 北京京东振世信息技术有限公司 Network connectivity detection method, monitoring server and monitoring agent device
CN112751689B (en) * 2019-10-30 2023-12-05 北京京东振世信息技术有限公司 Network connectivity detection method, monitoring server and monitoring proxy device
WO2021128251A1 (en) * 2019-12-27 2021-07-01 拉克诺德(深圳)科技有限公司 Multi-channel-based terminal data wireless transmission method and apparatus, device, and medium
CN111148137B (en) * 2019-12-30 2023-06-27 宇龙计算机通信科技(深圳)有限公司 Data transmission method and device, storage medium and terminal
CN111148137A (en) * 2019-12-30 2020-05-12 宇龙计算机通信科技(深圳)有限公司 Data transmission method and device, storage medium and terminal

Also Published As

Publication number Publication date
CN109067571B (en) 2021-10-15

Similar Documents

Publication Publication Date Title
CN109067571A (en) Electronic device and its network collocating method, storage medium
US20200167258A1 (en) Resource allocation based on applicable service level agreement
US20170366467A1 (en) Data traffic control
Jarschel et al. SDN-based application-aware networking on the example of YouTube video streaming
JP6538869B2 (en) Network management
CN105956138B (en) The control method and device of database connection
US6801501B1 (en) Method and apparatus for performing measurement-based admission control using peak rate envelopes
CN105099989A (en) Service request processing and service processing result acquiring method, device and system
US20090003225A1 (en) Method and apparatus for probing of a communication network
CN110417650A (en) Multilink data distribution method, device and electronic equipment
CN109981805A (en) A kind of method and device of domain name mapping
CN111181849A (en) Return source path determining method, determining device, computer equipment and storage medium
CN102273136A (en) Method and apparatus for detecting multi-service performance in tunnel
CN102111337A (en) Method and system for task scheduling
EP2713270A1 (en) Resource scheduling method and device
CN106130791B (en) Cache equipment service capability traversal test system and method based on service quality
CN110401697A (en) A kind of method, system and the equipment of concurrent processing HTTP request
CN104469855A (en) Method and device for selecting time slot resources
US8862939B2 (en) Network system and management server
CN115174490B (en) Data transmission method and network application terminal
CN112994971A (en) Equipment offline monitoring method based on cloud server and related device
CN109039933A (en) A kind of cluster network optimization method, device, equipment and medium
WO2016149945A1 (en) Life cycle event processing method and vnfm
CA2857727A1 (en) Computer-implemented method, computer system, computer program product to manage traffic in a network
CN101951571A (en) Short message retrying method and short message gateway

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
GR01 Patent grant
GR01 Patent grant