CN109287001A - Link connection method and relevant apparatus - Google Patents

Link connection method and relevant apparatus Download PDF

Info

Publication number
CN109287001A
CN109287001A CN201811197595.9A CN201811197595A CN109287001A CN 109287001 A CN109287001 A CN 109287001A CN 201811197595 A CN201811197595 A CN 201811197595A CN 109287001 A CN109287001 A CN 109287001A
Authority
CN
China
Prior art keywords
destination application
local area
electronic equipment
area network
wireless lan
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
CN201811197595.9A
Other languages
Chinese (zh)
Other versions
CN109287001B (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 CN201811197595.9A priority Critical patent/CN109287001B/en
Publication of CN109287001A publication Critical patent/CN109287001A/en
Priority to PCT/CN2019/108578 priority patent/WO2020078199A1/en
Application granted granted Critical
Publication of CN109287001B publication Critical patent/CN109287001B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release

Abstract

The embodiment of the present application discloses a kind of link connection method, is applied to electronic equipment, which comprises when detecting that front stage operation has destination application, whether the wireless local area network communications module for detecting the electronic equipment is opened;When the wireless local area network communications module for detecting the electronic equipment is in the open state, it controls the wireless local area network communications module and keeps the network service outages state for being directed to the destination application in preset period of time, the preset period of time is the period of destination application described in the electronic equipment front stage operation.The time of link connection consumption is advantageously reduced, network delay is reduced, optimizes the game experiencing of user.

Description

Link connection method and relevant apparatus
Technical field
This application involves technical field of electronic equipment, and in particular to a kind of link connection method and relevant apparatus.
Background technique
With the development of mobile communication technology, demand of the user to data communication is increasing, at present intelligence on the market Terminal generally sends data by the modes such as cellular mobile network communication or Wi-Fi communication, is moving when carrying out data transmission Some Wi-Fi signals of rotating ring border are very weak, or need to authenticate the Wi-Fi that could surf the Internet, at this time the mobile phone of user be cannot on Net, the normal use of user is seriously affected, and with the change of environment, the continuous variation of cell phone network, it may appear that card The case where pausing, postponing, has seriously affected user experience.
Summary of the invention
The embodiment of the present application provides a kind of link connection method and relevant apparatus, to improve the speed of link connection, Network delay is reduced, the game experiencing of user is optimized.
In a first aspect, the embodiment of the present application provides a kind of link connection method, it is applied to electronic equipment, the method packet It includes:
When detecting that front stage operation has destination application, the wireless local area network communications module of the electronic equipment is detected Whether open;
When the wireless local area network communications module for detecting the electronic equipment is in the open state, the wireless office is controlled Domain Network Communication module keeps the network service outages state for the destination application in preset period of time, when described default Section is the period of destination application described in the electronic equipment front stage operation.
Second aspect, the embodiment of the present application provide a kind of link connection device, are applied to electronic equipment, the link connection Device includes detection unit and control unit, wherein
The detection unit, for when detecting that front stage operation has destination application, detecting the electronic equipment Whether wireless local area network communications module is opened;
Described control unit, in the open state in the wireless local area network communications module for detecting the electronic equipment When, it controls the wireless local area network communications module and is kept in preset period of time in the network service for the destination application Disconnected state, the preset period of time are the period of destination application described in the electronic equipment front stage operation.
The third aspect, the embodiment of the present application provide a kind of electronic equipment, including processor, memory, communication interface and One or more programs, wherein said one or multiple programs are stored in above-mentioned memory, and are configured by above-mentioned It manages device to execute, above procedure is included the steps that for executing the instruction in the embodiment of the present application first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, wherein above-mentioned computer-readable Storage medium storage is used for the computer program of electronic data interchange, wherein above-mentioned computer program executes computer such as Step some or all of described in the embodiment of the present application first aspect either method.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product It can be a software installation packet.
As can be seen that in the embodiment of the present application, electronic equipment first when detecting that front stage operation has destination application, Whether the wireless local area network communications module for detecting the electronic equipment is opened, secondly, detecting the wireless of the electronic equipment When local area network communications module is in the open state, controls the wireless local area network communications module and kept in preset period of time for institute The network service outages state of destination application is stated, the preset period of time is that target described in the electronic equipment front stage operation is answered With the period of program.As it can be seen that electronic equipment can be in operational objective application program, to cellular mobile network and WLAN Network is attached control, by interrupting Wireless LAN module come disconnection of wireless local area network, avoids because of WLAN Network is unstable, causes network to disconnect reconnection, and then influence the usage experience of destination application, can be improved the steady of link connection It is qualitative, network delay is reduced, the link connection quality of electronic equipment is improved.
Detailed description of the invention
In order to illustrate the technical solutions in the embodiments of the present application or in the prior art more clearly, to embodiment or will show below There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this Some embodiments of application for those of ordinary skill in the art without creative efforts, can be with It obtains other drawings based on these drawings.
Fig. 1 is the example system architecture figure of wireless communication system locating for a kind of electronic equipment provided by the embodiments of the present application;
Fig. 2 is a kind of flow diagram of link connection method provided by the embodiments of the present application;
Fig. 3 is the flow diagram of another link connection method provided by the embodiments of the present application;
Fig. 4 is the flow diagram of another link connection method provided by the embodiments of the present application;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment provided by the embodiments of the present application;
Fig. 6 is a kind of functional unit composition block diagram of link connection device provided by the embodiments of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
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 equipment involved by the embodiment of the present application can be the electronic equipment for having data transmission capabilities, the electronics Equipment may include the various handheld devices with wireless communication function, mobile unit, wearable device, calculate equipment or connection It is mobile to other processing equipments of radio modem and various forms of user equipmenies (User Equipment, UE) Platform (Mobile Station, MS), terminal device (terminal device) etc..
It describes in detail below to the embodiment of the present application.
Link aggregation is that equipment is instigated using two or more network interface while can to surf the Internet simultaneously, than Such as network access is carried out using Wi-Fi and data network while on mobile phone by link aggregation.Android network system System, when Wi-Fi is enabled, will lead to unusable (the connectivityService network scoring of data network Data network is caused to disconnect), and link aggregation at least needs two or more available networks, so service-level agreement The precondition of (Service-Level Agreement, be abbreviated as SLA) seeks to keep Wi-Fi and data network coexisted.Such as figure Shown in 1, electronic equipment 101 can connect data network 103 at present, and data network is the communication network for being used for transmission data service;Wi- Fi 102, Wi-Fi are a kind of technologies for allowing electronic equipment to be connected to a WLAN;Usually using 2.4G UHF or 5G SHF ISM radio frequency band;And bluetooth 104, a kind of wireless technology standard is, it can be achieved that fixed equipment, mobile device and building Short-range data exchange (using the UHF radio wave of the ISM band of 2.4-2.485GHz) between people domain net etc..
Referring to Fig. 2, Fig. 2 is that the embodiment of the present application provides a kind of flow diagram of link connection method, it is applied to Electronic equipment, as shown, this link connection method includes:
Step 201, electronic equipment detects the nothing of the electronic equipment when detecting that front stage operation has destination application Whether line local area network communications module is opened.
Wherein, the destination application can be for game application, Video Applications etc., herein without limitation.
In the specific implementation, electronic equipment can be by splitting data flow to be processed, by enabling cellular mobile network Network module and wireless local area network communications module carry out shunting transmission to link connection task to be processed.Such as by giving data packet Different mark values is stamped, to inquire different routing tables by matching different mark values, connect data packet from different Mouth access network.
Step 202, when the wireless local area network communications module for detecting the electronic equipment is in the open state, institute is controlled It states wireless local area network communications module and keeps the network service outages state for being directed to the destination application, institute in preset period of time State the period that preset period of time is destination application described in the electronic equipment front stage operation.
Wherein, when the wireless local area network communications module is in the open state, the Wireless LAN in module be can be at Not-connected status or first off-state after connection.
As can be seen that in the embodiment of the present application, electronic equipment first when detecting that front stage operation has destination application, Whether the wireless local area network communications module for detecting the electronic equipment is opened, secondly, detecting the wireless of the electronic equipment When local area network communications module is in the open state, controls the wireless local area network communications module and kept in preset period of time for institute The network service outages state of destination application is stated, the preset period of time is that target described in the electronic equipment front stage operation is answered With the period of program.As it can be seen that electronic equipment can be in operational objective application program, to cellular mobile network and WLAN Network is attached control, by interrupting Wireless LAN module come disconnection of wireless local area network, avoids because of WLAN Network is unstable, causes network to disconnect reconnection, and then influence the usage experience of destination application, can be improved the steady of link connection It is qualitative, network delay is reduced, the link connection quality of electronic equipment is improved.
In a possible example, the control wireless local area network communications module keeps being directed in preset period of time The network service outages state of the destination application, comprising: determine and arrived by wireless local area network communications module scanning At least one Wireless LAN;Blacklist is added at least one described Wireless LAN;About by the blacklist Shu Suoshu destination application passes through the mobile network always and carries out data transmission.
Wherein, blacklist is refusal network connection, does not allow to access or do not allow the list by verifying.
As it can be seen that electronic equipment can be by blacklist mechanism in this example, it in a disguised form will be in wireless local area network communications module It is disconnected, it further ensure that the data transmission of destination application is carried out by mobile network, avoid and using mobile network When network, WLAN in connection, and then caused network instability, be conducive to the stability of link connection, reduce network Delay, improves the link connection quality of electronic equipment.
It is described that at least one described Wireless LAN is added after blacklist in a possible example, it is described Method further include: when detecting that the destination application is exited by the foreground, generate and remove instruction;According to the removal Instruction removes at least one described Wireless LAN from the blacklist;Detecting the destination application recovery When to the front stage operation, selection meets a WLAN of preset condition from least one described Wireless LAN Network access, and control the destination application and carried out data transmission by the Wireless LAN accessed.
Wherein, preset condition at a distance from electronic equipment and can be transmitted fast for the signal strength of network, network signal source Rate etc. does not do unique restriction herein.
As it can be seen that electronic equipment can flexibly be adjusted link according to front stage operation situation in this example, running When destination application, mobile network is used, when exiting destination application, WLAN can be reused, is guaranteed Link stability in operational objective application program is conducive to improve link connection convenience, stability.
In a possible example, the control wireless local area network communications module keeps being directed in preset period of time The destination application network service outages state, comprising: when detecting that the destination application is in group's battlefield scape, Close the wireless local area network communications module;After the closing wireless local area network communications module, the method is also wrapped It includes: when detecting that the destination application is exited by described battlefield scape, opening the wireless local area network communications module, examine It surveys with the presence or absence of the Wireless LAN for meeting preset condition;If so, access meets a WLAN of preset condition Network, and control the destination application and carried out data transmission by the Wireless LAN;If it is not, then keeping the target Application program accesses the state of the mobile network.
As it can be seen that electronic equipment can be according to a battlefield scape, the switching of flexible two networks of control and company in this example It connects, ensure that the link stability in operational objective application program, be conducive to improve link connection convenience, stability.
The channel quality that electronic equipment is capable of task based access control type or wireless communication module first determine link connection task with The corresponding relationship of wireless communication module bracket obtains outgoing link further according to the channel quality parameter of number of channels and wireless communication module The data volume for the data grouping that connection task is split.It ensure that big data matches high-quality channel, small data matches poor channel, protects The raising for having demonstrate,proved link connection speed, avoids network delay.
In a possible example, it is described detect that front stage operation has destination application before, the method is also It include: that the mobile network is switched to by the first Wireless LAN in the network for detecting that the destination application accesses When, the destination application is obtained in the runing time on foreground;Determine that the runing time is more than default runing time, connection The mobile network.
Wherein, default runing time can be one minute, three minutes, five minutes etc., not do unique restriction herein.
As it can be seen that electronic equipment can determine whether user enters destination application by runing time in this example, into And network link connection is changed, be conducive to improve link connection convenience, stability.
In a possible example, detecting the network of the destination application access by the first WLAN Network is switched to before the mobile network, the method also includes: detection passes through the WLAN in reference time section Communication module connects the number of first Wireless LAN;If the connection number is greater than preset times, it is determined that described First Wireless LAN is unstable.
Wherein, preset times can for ten times, five times, it is eight inferior, do not do unique restriction herein.
Wherein, electronic equipment is according to reference time section and the connection available rate of connections of number, when rate of connections reaches When 70 or more percent, determine that current wireless Local Area Network network is unstable.
As it can be seen that electronic equipment can judge stability, and then interrupt wireless local area according to the attribute of network in this example The connection of network, ensure that link connection quality, improve the speed of link connection, avoid postponing.
In a possible example, the control wireless local area network communications module keeps being directed in preset period of time After the network service outages state of the destination application, the method also includes: detecting the target application journey When the time that sequence exits foreground is greater than the reference time, wireless local area network communications module is opened;To the wireless LAN communication mould Block scans for, and obtains at least one Wireless LAN;Obtain each wireless office at least one described Wireless LAN The signal strength of domain network;The Wireless LAN chosen more than preset strength is attached.
Wherein, the reference time can be one minute, two minutes or three minutes etc., not do unique restriction herein.
Wherein, preset strength can be manufacturer's sets itself or the signal strength according to current all Wireless LAN Average value carry out dynamic setting, do not do unique restriction herein.
As it can be seen that electronic equipment timely adjusts connecting link after detecting that destination application exits in this example, Avoid in the case where mobile network has delay, also continue using the case where, be conducive to the stability of link connection, reduce net Network delay, improves the link connection quality of electronic equipment.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 3, Fig. 3 is a kind of link provided by the embodiments of the present application The flow diagram of connection method, applied to electronic equipment as described in Figure 1, as shown, this link connection method includes:
S301, electronic equipment detect the wireless of the electronic equipment when detecting that front stage operation has destination application Whether local area network communications module is opened.
S302, the electronic equipment are in the open state in the wireless local area network communications module for detecting the electronic equipment When, determine at least one Wireless LAN scanned by the wireless local area network communications module.
Blacklist is added at least one described Wireless LAN by S303, the electronic equipment.
S304, the electronic equipment constrain the destination application by the blacklist and pass through the mobile network always Network carries out data transmission.
As can be seen that in the embodiment of the present application, electronic equipment first when detecting that front stage operation has destination application, Whether the wireless local area network communications module for detecting the electronic equipment is opened, secondly, detecting the wireless of the electronic equipment When local area network communications module is in the open state, controls the wireless local area network communications module and kept in preset period of time for institute The network service outages state of destination application is stated, the preset period of time is that target described in the electronic equipment front stage operation is answered With the period of program.As it can be seen that electronic equipment can be in operational objective application program, to cellular mobile network and WLAN Network is attached control, by interrupting Wireless LAN module come disconnection of wireless local area network, avoids because of WLAN Network is unstable, causes network to disconnect reconnection, and then influence the usage experience of destination application, can be improved the steady of link connection It is qualitative, network delay is reduced, the link connection quality of electronic equipment is improved.
In addition, electronic equipment in a disguised form can be interrupted wireless local area network communications module, further by blacklist mechanism The data transmission that ensure that destination application is carried out by mobile network, is avoided when using mobile network, in connection WLAN, and then caused network instability are conducive to the stability of link connection, reduce network delay, improve The link connection quality of electronic equipment.
It is consistent with above-mentioned embodiment shown in Fig. 2, referring to Fig. 4, Fig. 4 is a kind of link provided by the embodiments of the present application The flow diagram of connection method is applied to electronic equipment, as shown, this link connection method includes:
S401, electronic equipment detect the wireless of the electronic equipment when detecting that front stage operation has destination application Whether local area network communications module is opened.
S402, the electronic equipment are in the open state in the wireless local area network communications module for detecting the electronic equipment When, when detecting that the destination application is in group's battlefield scape, close the wireless local area network communications module.
S403, the electronic equipment detect the destination application exit foreground time be greater than the reference time When, open wireless local area network communications module.
S404, the electronic equipment scan for the wireless local area network communications module, obtain at least one wireless office Domain network.
S405, the electronic equipment obtain the signal of each Wireless LAN at least one described Wireless LAN Intensity.
S406, the electronic equipment selection are more than that the Wireless LAN of preset strength is attached.
As can be seen that in the embodiment of the present application, electronic equipment first when detecting that front stage operation has destination application, Whether the wireless local area network communications module for detecting the electronic equipment is opened, secondly, detecting the wireless of the electronic equipment When local area network communications module is in the open state, controls the wireless local area network communications module and kept in preset period of time for institute The network service outages state of destination application is stated, the preset period of time is that target described in the electronic equipment front stage operation is answered With the period of program.As it can be seen that electronic equipment can be in operational objective application program, to cellular mobile network and WLAN Network is attached control, by interrupting Wireless LAN module come disconnection of wireless local area network, avoids because of WLAN Network is unstable, causes network to disconnect reconnection, and then influence the usage experience of destination application, can be improved the steady of link connection It is qualitative, network delay is reduced, the link connection quality of electronic equipment is improved.
In addition, electronic equipment can flexibly control the switching and connection of two networks, ensure that according to a battlefield scape Link stability when operational objective application program is conducive to improve link connection convenience, stability.
In addition, electronic equipment timely adjusts connecting link after detecting that destination application exits, avoids and moving In the case that dynamic network has delay, also continue using the case where, be conducive to the stability of link connection, reduce network delay, mention The high link connection quality of electronic equipment.
It is consistent with above-mentioned Fig. 2, Fig. 3, embodiment shown in Fig. 4, referring to Fig. 5, Fig. 5 is provided by the embodiments of the present application The structural schematic diagram of a kind of electronic equipment 500, as shown, the electronic equipment 500 includes application processor 510, memory 520, communication interface 530 and one or more programs 521, wherein one or more of programs 521 are stored in above-mentioned deposit In reservoir 520, and it is configured to be executed by above-mentioned application processor 510, one or more of programs 521 include for executing The instruction of following steps:
When detecting that front stage operation has destination application, the wireless local area network communications module of the electronic equipment is detected Whether open;
When the wireless local area network communications module for detecting the electronic equipment is in the open state, the wireless office is controlled Domain Network Communication module keeps the network service outages state for the destination application in preset period of time, when described default Section is some or all of destination application described in the electronic equipment front stage operation period.
As can be seen that in the embodiment of the present application, electronic equipment first when detecting that front stage operation has destination application, Whether the wireless local area network communications module for detecting the electronic equipment is opened, secondly, detecting the wireless of the electronic equipment When local area network communications module is in the open state, controls the wireless local area network communications module and kept in preset period of time for institute The network service outages state of destination application is stated, the preset period of time is that target described in the electronic equipment front stage operation is answered With the period of program.As it can be seen that electronic equipment can be in operational objective application program, to cellular mobile network and WLAN Network is attached control, by interrupting Wireless LAN module come disconnection of wireless local area network, avoids because of WLAN Network is unstable, causes network to disconnect reconnection, and then influence the usage experience of destination application, can be improved the steady of link connection It is qualitative, network delay is reduced, the link connection quality of electronic equipment is improved.
In a possible example, needle is kept in preset period of time in the control wireless local area network communications module To the network service outages state aspect of the destination application, the instruction in described program is specifically used for executing following behaviour Make: determining at least one Wireless LAN scanned by the wireless local area network communications module;Will it is described at least one Blacklist is added in Wireless LAN;The destination application, which is constrained, by the blacklist passes through the mobile network always Carry out data transmission.
In a possible example, after blacklist is added in described at least one Wireless LAN by described in, institute It states the instruction in program and is also used to execute following operation: is raw when detecting that the destination application is exited by the foreground It is instructed at removing;It is instructed according to the removal and removes at least one described Wireless LAN from the blacklist;It is examining When measuring the destination application and being restored to the front stage operation, select to meet from least one described Wireless LAN One Wireless LAN of preset condition accesses, and controls the destination application and pass through the WLAN of access Network carries out data transmission.
In a possible example, needle is kept in preset period of time in the control wireless local area network communications module To the destination application network service outages state aspect, the instruction in described program is specifically used for executing following operation: When detecting that the destination application is in group's battlefield scape, the wireless local area network communications module is closed;In the closing After the wireless local area network communications module, the method also includes: detecting that the destination application fought by the group When scene exits, the wireless local area network communications module is opened, detects whether there is the Wireless LAN for meeting preset condition; If so, access meets a Wireless LAN of preset condition, and control the destination application pass through it is described wireless Local area network carries out data transmission;If it is not, the destination application is then kept to access the state of the mobile network.
In a possible example, it is described detect that front stage operation has destination application before, in described program Instruction be also used to execute following operation: detecting the network of destination application access by the first Wireless LAN When being switched to the mobile network, the destination application is obtained in the runing time on foreground;Determine that the runing time is super Default runing time is crossed, the mobile network is connected.
In a possible example, detecting the network of the destination application access by the first WLAN Network is switched to before the mobile network, and the instruction in described program is also used to execute following operation: detection is in reference time section The interior number that first Wireless LAN is connected by the wireless local area network communications module;If the connection number is greater than Preset times, it is determined that first Wireless LAN is unstable.In a possible example, the control is described wireless It is described after local area network communications module keeps the network service outages state for the destination application in preset period of time Instruction in program is also used to execute following operation: detect the destination application exit foreground time be greater than reference When the time, wireless local area network communications module is opened;The wireless local area network communications module is scanned for, at least one nothing is obtained Line local area network;Obtain the signal strength of each Wireless LAN at least one described Wireless LAN;Selection is more than The Wireless LAN of preset strength is attached.
It is above-mentioned that mainly the scheme of the embodiment of the present application is described from the angle of method side implementation procedure.It is understood that , in order to realize the above functions, it comprises execute the corresponding hardware configuration of each function and/or software mould for electronic equipment Block.Those skilled in the art should be readily appreciated that, in conjunction with each exemplary unit of embodiment description presented herein And algorithm steps, the application can be realized with the combining form of hardware or hardware and computer software.Some function actually with Hardware or computer software drive the mode of hardware to execute, the specific application and design constraint item depending on technical solution Part.Professional technician can specifically realize described function to each using distinct methods, but this reality Now it is not considered that exceeding scope of the present application.
The embodiment of the present application can carry out the division of functional unit according to above method example to electronic equipment, for example, can With each functional unit of each function division of correspondence, two or more functions can also be integrated in a processing unit In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Fig. 6 is the functional unit composition block diagram of link connection device 600 involved in the embodiment of the present application.The link connects Connection device 600 is applied to electronic equipment, including detection unit 601 and control unit 602, wherein
The detection unit 601, for when detecting that front stage operation has destination application, detecting the electronic equipment Wireless local area network communications module whether open;
Described control unit 602 is opened for being in the wireless local area network communications module for detecting the electronic equipment When state, controls the wireless local area network communications module and the network for the destination application is kept to take in preset period of time Business interrupt status, the preset period of time are the period of destination application described in the electronic equipment front stage operation.
Wherein, the link connection device 600 can also include storage unit 603, for storing the program of electronic equipment Code and data.Storage unit 603 can be memory.
As can be seen that in the embodiment of the present application, electronic equipment first when detecting that front stage operation has destination application, Whether the wireless local area network communications module for detecting the electronic equipment is opened, secondly, detecting the wireless of the electronic equipment When local area network communications module is in the open state, controls the wireless local area network communications module and kept in preset period of time for institute The network service outages state of destination application is stated, the preset period of time is that target described in the electronic equipment front stage operation is answered With the period of program.As it can be seen that electronic equipment can be in operational objective application program, to cellular mobile network and WLAN Network is attached control, by interrupting Wireless LAN module come disconnection of wireless local area network, avoids because of WLAN Network is unstable, causes network to disconnect reconnection, and then influence the usage experience of destination application, can be improved the steady of link connection It is qualitative, network delay is reduced, the link connection quality of electronic equipment is improved.
In a possible example, needle is kept in preset period of time in the control wireless local area network communications module To the network service outages state aspect of the destination application, described control unit 602 is specifically used for: determining by described At least one Wireless LAN that wireless local area network communications module scans;At least one described Wireless LAN is added Blacklist;Pass through the mobile network always by the blacklist constraint destination application to carry out data transmission.
In a possible example, after blacklist is added in described at least one Wireless LAN by described in, institute State control unit 602 also particularly useful for: when detecting that the destination application is exited by the foreground, generate remove refers to It enables;It is instructed according to the removal and removes at least one described Wireless LAN from the blacklist;It is described detecting When destination application is restored to the front stage operation, selection meets preset condition from least one described Wireless LAN A Wireless LAN access, and control the destination application by access the Wireless LAN counted According to transmission.
In a possible example, needle is kept in preset period of time in the control wireless local area network communications module To the destination application network service outages state aspect, described control unit 602 is specifically used for: detecting the mesh When marking application program in group's battlefield scape, the wireless local area network communications module is closed;The WLAN is closed described After communication module, the method also includes: when detecting that the destination application is exited by described battlefield scape, open The wireless local area network communications module detects whether there is the Wireless LAN for meeting preset condition;If so, access meets One Wireless LAN of preset condition, and control the destination application and data are carried out by the Wireless LAN Transmission;If it is not, the destination application is then kept to access the state of the mobile network.
In a possible example, it is described detect that front stage operation has destination application before, the detection is single Member 601 also particularly useful for: institute is switched to by the first Wireless LAN in the network for detecting destination application access When stating mobile network, the destination application is obtained in the runing time on foreground;Determine that the runing time is more than default fortune The row time connects the mobile network.
In a possible example, detecting the network of the destination application access by the first WLAN Network is switched to before the mobile network, and the detection unit 601 is specifically used for: detection is in reference time section through the nothing Line local area network communications module connects the number of first Wireless LAN;If the connection number is greater than preset times, Determine that first Wireless LAN is unstable.
In a possible example, the control wireless local area network communications module keeps being directed in preset period of time After the network service outages state of the destination application, described control unit 602 is specifically used for: detecting the mesh When the time that mark application program exits foreground is greater than the reference time, wireless local area network communications module is opened;To the wireless local area Network Communication module scans for, and obtains at least one Wireless LAN;It obtains every at least one described Wireless LAN The signal strength of a Wireless LAN;The Wireless LAN chosen more than preset strength is attached.
The embodiment of the present application also provides a kind of computer storage medium, wherein computer storage medium storage is for electricity The computer program of subdata exchange, the computer program make computer execute any as recorded in above method embodiment Some or all of method step, above-mentioned computer include electronic equipment.
The embodiment of the present application also provides a kind of computer program product, and above-mentioned computer program product includes storing calculating The non-transient computer readable storage medium of machine program, above-mentioned computer program are operable to that computer is made to execute such as above-mentioned side Some or all of either record method step in method embodiment.The computer program product can be a software installation Packet, above-mentioned computer includes electronic equipment.
It should be noted that for the various method embodiments described above, for simple description, therefore, it is stated as a series of Combination of actions, but those skilled in the art should understand that, the application is not limited by the described action sequence because According to the application, some steps may be performed in other sequences or simultaneously.Secondly, those skilled in the art should also know It knows, the embodiments described in the specification are all preferred embodiments, related actions and modules not necessarily the application It is necessary.
In the above-described embodiments, it all emphasizes particularly on different fields to the description of each embodiment, there is no the portion being described in detail in some embodiment Point, reference can be made to the related descriptions of other embodiments.
In several embodiments provided herein, it should be understood that disclosed device, it can be by another way It realizes.For example, the apparatus embodiments described above are merely exemplary, such as the division of said units, it is only a kind of Logical function partition, there may be another division manner in actual implementation, such as multiple units or components can combine or can To be integrated into another system, or some features can be ignored or not executed.Another point, shown or discussed is mutual Coupling, direct-coupling or communication connection can be through some interfaces, the indirect coupling or communication connection of device or unit, It can be electrical or other forms.
Above-mentioned unit as illustrated by the separation member may or may not be physically separated, aobvious as unit The component shown may or may not be physical unit, it can and it is in one place, or may be distributed over multiple In network unit.It can select some or all of unit therein according to the actual needs to realize the mesh of this embodiment scheme 's.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unit It is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated list Member both can take the form of hardware realization, can also realize in the form of software functional units.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and sells or use as independent product When, it can store in a computer-readable access to memory.Based on this understanding, the technical solution of the application substantially or Person says that all or part of the part that contributes to existing technology or the technical solution can body in the form of software products Reveal and, which is stored in a memory, including some instructions are used so that a computer equipment (can be personal computer, server or network equipment etc.) executes all or part of each embodiment above method of the application Step.And memory above-mentioned includes: USB flash disk, read-only memory (ROM, Read-Only Memory), random access memory The various media that can store program code such as (RAM, Random Access Memory), mobile hard disk, magnetic or disk.
Those of ordinary skill in the art will appreciate that all or part of the steps in the various methods of above-described embodiment is can It is completed with instructing relevant hardware by program, which can store in a computer-readable memory, memory May include: flash disk, read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), disk or CD etc..
The embodiment of the present application is described in detail above, specific case used herein to the principle of the application and Embodiment is expounded, the description of the example is only used to help understand the method for the present application and its core ideas; At the same time, for those skilled in the art can in specific embodiments and applications according to the thought of the application There is change place, in conclusion the contents of this specification should not be construed as limiting the present application.

Claims (10)

1. a kind of link connection method, which is characterized in that be applied to electronic equipment, which comprises
When detecting that front stage operation has destination application, detect the electronic equipment wireless local area network communications module whether It opens;
When the wireless local area network communications module for detecting the electronic equipment is in the open state, the WLAN is controlled Communication module keeps the network service outages state for the destination application in preset period of time, and the preset period of time is The period of destination application described in the electronic equipment front stage operation.
2. the method according to claim 1, wherein the control wireless local area network communications module is default The network service outages state for being directed to the destination application is kept in period, comprising:
Determine at least one Wireless LAN scanned by the wireless local area network communications module;
Blacklist is added at least one described Wireless LAN;
Pass through the mobile network always by the blacklist constraint destination application to carry out data transmission.
3. according to the method described in claim 2, it is characterized in that, described that at least one Wireless LAN addition is black After list, the method also includes:
When detecting that the destination application is exited by the foreground, generates and remove instruction;
It is instructed according to the removal and removes at least one described Wireless LAN from the blacklist;
When detecting that the destination application is restored to the front stage operation, from least one described Wireless LAN Selection meets the Wireless LAN access of preset condition, and controls the destination application and pass through the nothing of access Line local area network carries out data transmission.
4. the method according to claim 1, wherein the control wireless local area network communications module is default It keeps being directed to the destination application network service outages state in period, comprising:
When detecting that the destination application is in group's battlefield scape, the wireless local area network communications module is closed;
After the closing wireless local area network communications module, the method also includes:
When detecting that the destination application is exited by described battlefield scape, the wireless local area network communications module is opened, Detect whether there is the Wireless LAN for meeting preset condition;
If so, access meets a Wireless LAN of preset condition, and the destination application is controlled described in Wireless LAN carries out data transmission;
If it is not, the destination application is then kept to access the state of the mobile network.
5. the method according to claim 1, wherein detecting that front stage operation has destination application described When, the method also includes:
When detecting that the network of the destination application access is switched to the mobile network by the first Wireless LAN, The destination application is obtained in the runing time on foreground;
It determines that the runing time is more than default runing time, connects the mobile network.
6. according to the method described in claim 5, it is characterized in that, the network for detecting destination application access by First Wireless LAN is switched to before the mobile network, the method also includes:
Detect time for connecting first Wireless LAN by the wireless local area network communications module in reference time section Number;
If the connection number is greater than preset times, it is determined that first Wireless LAN is unstable.
7. method according to claim 1-6, which is characterized in that the control wireless LAN communication mould After block keeps the network service outages state for the destination application in preset period of time, the method also includes:
When detecting that the destination application exits the time on foreground greater than the reference time, wireless LAN communication mould is opened Block;
The wireless local area network communications module is scanned for, at least one Wireless LAN is obtained;
Obtain the signal strength of each Wireless LAN at least one described Wireless LAN;
The Wireless LAN chosen more than preset strength is attached.
8. a kind of link connection device, which is characterized in that be applied to electronic equipment, the link connection device includes detection unit And control unit, wherein
The detection unit, for when detecting that front stage operation has destination application, detecting the wireless of the electronic equipment Whether local area network communications module is opened;
Described control unit, for when the wireless local area network communications module for detecting the electronic equipment is in the open state, It controls the wireless local area network communications module and keeps the network service outages for being directed to the destination application in preset period of time State, the preset period of time are the period of destination application described in the electronic equipment front stage operation.
9. a kind of electronic equipment, which is characterized in that including processor, memory, communication interface, and one or more programs, One or more of programs are stored in the memory, and are configured to be executed by the processor, described program packet Include the instruction for executing the step in the method according to claim 1 to 7.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange, In, the computer program makes computer execute the method according to claim 1 to 7.
CN201811197595.9A 2018-10-15 2018-10-15 Link connection method and related device Active CN109287001B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201811197595.9A CN109287001B (en) 2018-10-15 2018-10-15 Link connection method and related device
PCT/CN2019/108578 WO2020078199A1 (en) 2018-10-15 2019-09-27 Link connection method and related apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811197595.9A CN109287001B (en) 2018-10-15 2018-10-15 Link connection method and related device

Publications (2)

Publication Number Publication Date
CN109287001A true CN109287001A (en) 2019-01-29
CN109287001B CN109287001B (en) 2021-04-09

Family

ID=65176882

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811197595.9A Active CN109287001B (en) 2018-10-15 2018-10-15 Link connection method and related device

Country Status (2)

Country Link
CN (1) CN109287001B (en)
WO (1) WO2020078199A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020078199A1 (en) * 2018-10-15 2020-04-23 Oppo广东移动通信有限公司 Link connection method and related apparatus
CN112105058A (en) * 2019-02-12 2020-12-18 Oppo广东移动通信有限公司 Link connection method and related device
CN112261680A (en) * 2020-10-22 2021-01-22 珠海格力电器股份有限公司 Method, device, equipment and storage medium for adjusting network
CN114500367A (en) * 2021-12-21 2022-05-13 联想(北京)有限公司 Path selection method and electronic equipment

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103997768A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Method and device for preventing access to invalid Wi-Fi hot spots
CN104852937A (en) * 2014-02-14 2015-08-19 腾讯科技(北京)有限公司 Network access method and device for mobile application
US9232013B1 (en) * 2014-09-05 2016-01-05 Openpeak Inc. Method and system for enabling data usage accounting
CN107302623A (en) * 2017-05-05 2017-10-27 广东小天才科技有限公司 A kind of collocation method and device of mobile terminal network connected mode
CN107396365A (en) * 2017-06-29 2017-11-24 宇龙计算机通信科技(深圳)有限公司 Data transmission method and mobile terminal
CN107734577A (en) * 2017-09-25 2018-02-23 北京小米移动软件有限公司 Network function control method and network function control device
CN108322599A (en) * 2018-01-23 2018-07-24 维沃移动通信有限公司 A kind of Network Access Method and mobile terminal

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101730357B1 (en) * 2010-11-22 2017-04-27 삼성전자주식회사 Apparatus and method for connecting access point in portable terminal
CN104821992B (en) * 2015-05-25 2018-01-19 广东欧珀移动通信有限公司 A kind of method and device of mobile phone automatically switching network connection type
CN107182055B (en) * 2017-06-22 2021-01-26 深圳传音通讯有限公司 Mobile terminal network connection processing method and mobile terminal
CN108322943B (en) * 2018-01-30 2021-01-15 努比亚技术有限公司 Local area network allocation method, terminal and storage medium
CN109287001B (en) * 2018-10-15 2021-04-09 Oppo广东移动通信有限公司 Link connection method and related device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104852937A (en) * 2014-02-14 2015-08-19 腾讯科技(北京)有限公司 Network access method and device for mobile application
CN103997768A (en) * 2014-05-16 2014-08-20 深圳市欧珀通信软件有限公司 Method and device for preventing access to invalid Wi-Fi hot spots
US9232013B1 (en) * 2014-09-05 2016-01-05 Openpeak Inc. Method and system for enabling data usage accounting
CN107302623A (en) * 2017-05-05 2017-10-27 广东小天才科技有限公司 A kind of collocation method and device of mobile terminal network connected mode
CN107396365A (en) * 2017-06-29 2017-11-24 宇龙计算机通信科技(深圳)有限公司 Data transmission method and mobile terminal
CN107734577A (en) * 2017-09-25 2018-02-23 北京小米移动软件有限公司 Network function control method and network function control device
CN108322599A (en) * 2018-01-23 2018-07-24 维沃移动通信有限公司 A kind of Network Access Method and mobile terminal

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2020078199A1 (en) * 2018-10-15 2020-04-23 Oppo广东移动通信有限公司 Link connection method and related apparatus
CN112105058A (en) * 2019-02-12 2020-12-18 Oppo广东移动通信有限公司 Link connection method and related device
EP3923626A4 (en) * 2019-02-12 2022-06-22 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Link connection method and related apparatus
CN112261680A (en) * 2020-10-22 2021-01-22 珠海格力电器股份有限公司 Method, device, equipment and storage medium for adjusting network
CN114500367A (en) * 2021-12-21 2022-05-13 联想(北京)有限公司 Path selection method and electronic equipment
CN114500367B (en) * 2021-12-21 2023-10-24 联想(北京)有限公司 Path selection method and electronic equipment

Also Published As

Publication number Publication date
WO2020078199A1 (en) 2020-04-23
CN109287001B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN109287001A (en) Link connection method and relevant apparatus
US11648466B2 (en) Data transmission method and related apparatus
CN112291816B (en) Data transmission method, device, storage medium and electronic equipment
CN104160759B (en) Methods and apparatus for subscription management in dual SIM single standby devices
CN106233698B (en) System, method and computer readable storage medium for dialogue-based device configuration
CN109362097A (en) Transfer control method and relevant apparatus
CN109743783B (en) Data transmission control method and related product
US20090296785A1 (en) Multi-Mode Coexistence Method of a Multi-Mode Communication Device
CN109729556B (en) Link connection method and related device
CN109495880A (en) Data transmission method and relevant apparatus
CN104584490B (en) Data transmission method for uplink and device
CN104936240A (en) Network switching method and terminal
CN105828402B (en) A kind of blind reorientation method and core net, base station
CN109587719A (en) Data transmission method and relevant apparatus
CN109547469A (en) Data transmission method and relevant apparatus
CN108882305A (en) A kind of shunt method and device of data packet
CN101951665A (en) Routing method of double-card mobile terminal and double-card mobile terminal
CN109274596A (en) Data transmission method and relevant apparatus
CN109587336A (en) Data transmission method and relevant apparatus
CN107666694A (en) The method and its relevant device switched between distributed AP
CN109107158A (en) Sound effect treatment method, device and electronic equipment
CN109743761A (en) A kind of switching method of wireless network, device and equipment
CN103155646A (en) Dynamic internetwork load balancing
CN104063033B (en) State switching method and electronic equipment based on interconnection electronic devices
CN109392018B (en) Data transmission method and related device

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