CN106604364A - Network connection method and terminal - Google Patents

Network connection method and terminal Download PDF

Info

Publication number
CN106604364A
CN106604364A CN201611121187.6A CN201611121187A CN106604364A CN 106604364 A CN106604364 A CN 106604364A CN 201611121187 A CN201611121187 A CN 201611121187A CN 106604364 A CN106604364 A CN 106604364A
Authority
CN
China
Prior art keywords
application
terminal
unit
intended application
speed
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
CN201611121187.6A
Other languages
Chinese (zh)
Other versions
CN106604364B (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 CN201611121187.6A priority Critical patent/CN106604364B/en
Publication of CN106604364A publication Critical patent/CN106604364A/en
Application granted granted Critical
Publication of CN106604364B publication Critical patent/CN106604364B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup

Abstract

The invention provides a network connection method and terminal. The method comprises the steps: determining a target application, which shares an antenna with Wi-Fi, in the terminal if the Wi-Fi is detected to be started; judging whether the target application is started or not; improving the priority of the Wi-Fi in using the antenna if the target application is started, so as to enable the terminal to be quickly connected to the Wi-Fi network. Therefore, according to the technical scheme of the invention, the method can enable the terminal to be quickly connected with the Wi-Fi network, thereby improving the user experience.

Description

A kind of method and terminal of network connection
Technical field
The present invention relates to field of terminal, and in particular to a kind of method and terminal of network connection.
Background technology
The popularization of booming and intelligent terminal with broadband industry, increasing user passes through intelligent terminal Wi-Fi Access gateway, to enjoy network service.
It is pointed out that in prior art, the short-range transmission technique such as Wi-Fi, bluetooth is all the antenna of common terminal The transmitting-receiving of packet has been carried out, therefore when multiple short-range transmission techniques are opened simultaneously, the networking speed of Wi-Fi can become Slowly.
The content of the invention
The method and terminal of a kind of network connection are embodiments provided, terminal is enabled to and is quickly connected Wi-Fi Network, so as to lift Consumer's Experience.
The method that embodiment of the present invention first aspect discloses network connection, methods described includes:
If detecting Wi-Fi to be unlocked, it is determined that with the intended application of the Wi-Fi common antenna in terminal;
Judge the intended application whether in opening;
If the intended application is in opening, Wi-Fi is lifted using the priority of the antenna so that described Terminal quickly accesses Wi-Fi network.
Second aspect present invention discloses a kind of terminal, and the terminal includes:
Determining unit, if being unlocked for detecting Wi-Fi, it is determined that with the mesh of the Wi-Fi common antenna in terminal Mark application;
Judging unit, for judging the intended application whether in opening;
Lift unit, if being in opening for the intended application, lifts Wi-Fi and uses the preferential of the antenna Level is so that the terminal quickly accesses Wi-Fi network.
Third aspect present invention discloses a kind of terminal, and the terminal includes:
Be stored with the memorizer of executable program code;
The processor coupled with the memorizer;
The processor calls the executable program code stored in the memorizer, performs as described in relation to the first aspect Method.
In the scheme of the embodiment of the present invention, if detect Wi-Fi being unlocked, it is determined that share with the Wi-Fi in terminal The intended application of antenna;Judge the intended application whether in opening;If the intended application is in opening, Wi-Fi is lifted using the priority of the antenna so that the terminal quickly accesses Wi-Fi network.It is hereby understood that by real The technical scheme of present invention offer is provided, is enabled to terminal and is quickly connected Wi-Fi network, so as to lift Consumer's Experience.
Description of the drawings
Technical scheme in order to be illustrated more clearly that the embodiment of the present invention, below by to be used needed for embodiment Accompanying drawing is briefly described, it should be apparent that, drawings in the following description are some embodiments of the present invention, general for this area For logical technical staff, on the premise of not paying creative work, can be with according to these other accompanying drawings of accompanying drawings acquisition.
Fig. 1 is a kind of schematic flow sheet of the method for network connection provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of the method for another kind of network connection provided in an embodiment of the present invention;
Fig. 3 is the schematic flow sheet of the method for another kind of network connection provided in an embodiment of the present invention;
Fig. 4 is a kind of structural representation of terminal provided in an embodiment of the present invention;
Fig. 5 is the structural representation of another kind of terminal provided in an embodiment of the present invention;
Fig. 6 is the structural representation of another kind of terminal provided in an embodiment of the present invention;
Fig. 7 is a kind of entity apparatus structural representation of terminal provided in an embodiment of the present invention;
Fig. 8 is a kind of entity apparatus structural representation of mobile phone provided in an embodiment of the present invention.
Specific embodiment
The method and terminal of a kind of network connection are embodiments provided, terminal is enabled to and is quickly connected Wi-Fi Network, so as to lift Consumer's Experience.
In order that those skilled in the art more fully understand the present invention program, below in conjunction with the embodiment of the present invention Accompanying drawing, is explicitly described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is the present invention one The embodiment divided, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art are not doing Go out the every other embodiment obtained under the premise of creative work, should all belong to the scope of protection of the invention.
Term " first ", " second " and " the 3rd " occurred in description of the invention, claims and accompanying drawing etc. is to use In the different objects of difference, and it is not intended to describe specific order.Additionally, term " comprising " and " having " and they are any Deformation, it is intended that cover non-exclusive including.For example contain process, method, system, the product of series of steps or unit Or equipment is not limited to the step of listing or unit, but alternatively also include the step of not listing or unit, or can Selection of land also includes other steps intrinsic for these processes, method, product or equipment or unit.
A kind of method of network connection is disclosed in one embodiment of the invention, and methods described includes:If detecting Wi-Fi is unlocked, it is determined that with the intended application of the Wi-Fi common antenna in terminal;Judge whether the intended application is located In opening;If the intended application is in opening, Wi-Fi is lifted using the priority of the antenna so that institute State terminal and quickly access Wi-Fi network.
Fig. 1 is referred to, Fig. 1 is a kind of method of network connection that one embodiment of the invention is provided.Wherein, such as Fig. 1 institutes Show, a kind of method of network connection that one embodiment of the present of invention is provided includes herein below:
If S101, detecting Wi-Fi and being unlocked, it is determined that with the intended application of the Wi-Fi common antenna in terminal;
, wherein it is desired to, it is noted that the executive agent of the method is terminal.The terminal includes but is not limited to intelligent handss Machine, panel computer, computer and Wearable etc. can carry out data transmission the electronic equipment of business by network.
Wherein, optionally, the intended application determined in terminal with the Wi-Fi common antenna, including:Search is described That what is installed in terminal possesses the application of short-distance transmission function;The configuration information of the application is read to determine the application transport Frequency;Intended application will be set to the application of the Wi-Fi same frequencys.
Wherein, the application of the short-distance transmission function including but not limited to applying in radio frequency identification, bluetooth applications, ZigBee Using, ultra wideband applications etc..
For example, conventional Wi-Fi is 2.4GHz, and the frequency of bluetooth is also 2.4GHz, then bluetooth will be set It is set to intended application.
S102, judge the intended application whether in opening;
For example, the list of the program of running background can be inquired about, if the mark comprising intended application in the list, Then individual intended application is at opening.
If S103, the intended application be in opening, lifted Wi-Fi using the antenna priority so that The terminal quickly accesses Wi-Fi network.
For example, if the Wi-Fi original priority is middle rank, the priority of Wi-Fi can be adjusted to senior.
It is understood that priority be generally divided into it is senior, intermediate and rudimentary.Because intended application and Wi-Fi share day Line, so they are time division multiplex.Priority is higher, and the timeslice of occupancy is more.
For example, the timeslice that the application of low priority takes is 1 part, and the timeslice that the application of middle priority takes is 2 parts, the timeslice that the application of high priority takes is 3 parts.It is understood that the timeslice number for taking is more, connect net The speed of network is faster.
Wherein, optionally, methods described also includes:If the intended application is in opening, the target is judged Whether the speed of application transport data is more than predetermined threshold value;If the speed that there is transmission data in the intended application is more than first The busy application of scheduled rate, then suspend the operation of the busy application.
For example, if bluetooth is in opening, then whether the speed for being judged as bluetooth current transmission data is big In 1M/S, if the speed of bluetooth current transmission data is more than 1M/S, suspend the operation of the bluetooth.
Optionally, after the operation for suspending the busy application, methods described also includes:Obtain the connection shape of Wi-Fi State;If the terminal connects Wi-Fi successes, the priority of the Wi-Fi is returned to into default conditions, and reply described busy Using operation.
For example, can monitor whether Wi-Fi has the transmission of up-downgoing data, and if there is up-downgoing in the Wi-Fi The transmission of data, then illustrate Wi-Fi connection success.If the Wi-Fi
Optionally, methods described also includes:The speed of detection Wi-Fi transmission datas;If the speed for detecting is less than second Scheduled rate, then obtain the list of application in running background;Recognize that frequency is used less than default used in the list of application The application of frequency, and the usage frequency is closed less than the application of default usage frequency.
As can be seen that in the scheme of the embodiment of the present invention, if detect Wi-Fi being unlocked, it is determined that in terminal with it is described The intended application of Wi-Fi common antenna;Judge the intended application whether in opening;If the intended application is in and opens State is opened, then lifts Wi-Fi using the priority of the antenna so that the terminal quickly accesses Wi-Fi network.So as to can Know, by implementing the technical scheme that the present invention is provided, enable to terminal and quickly connect Wi-Fi network, so as to lift user's body Test.
Fig. 2 is referred to, Fig. 2 is a kind of method of network connection that one embodiment of the invention is provided.Wherein, such as Fig. 2 institutes Show, a kind of method of network connection that one embodiment of the present of invention is provided includes herein below:
If S201, detecting Wi-Fi and being unlocked, search for install in the terminal possess short-distance transmission function should With;
, wherein it is desired to, it is noted that the executive agent of the method is terminal.The terminal includes but is not limited to intelligent handss Machine, panel computer, computer and Wearable etc. can carry out data transmission the electronic equipment of business by network.
For example, the application of the short-distance transmission can be bluetooth, ZigBee etc..
S202, the configuration information of the application is read to determine the application transport frequency;
For example, the frequency of bluetooth is 2.4GHz.
S203, intended application will be set to the application of the Wi-Fi same frequencys;
For example, the frequency of Wi-Fi is also that 2.4GH exists, then bluetooth is exactly intended application.
S202, judge the intended application whether in opening;
Wherein it is possible to polling routine operation list, judges the mark that bluetooth whether is included in the list, if in the list Mark comprising bluetooth, then illustrate that bluetooth is in opening;
If S203, the intended application be in opening, lifted Wi-Fi using the antenna priority so that The terminal quickly accesses Wi-Fi network.
If S204, the intended application are in opening, whether the speed of the intended application transmission data is judged More than predetermined threshold value;
For example, predetermined threshold value is 1M/S or 2M/S etc., and here is not limited.
If there is the busy application of the speed more than the first scheduled rate of transmission data in S205, the intended application, Suspend the operation of the busy application;
S206, the connection status for obtaining Wi-Fi;
It is understood that connection status can be successful connection or connection failure.
If S207, the terminal connect Wi-Fi successes, the priority of the Wi-Fi is returned to into default conditions, and it is extensive The operation of the multiple busy application.
Such as, Wi-Fi original priority is middle rank, is senior after lifting, when terminal connection Wi-Fi is successful, Then by the priority of the Wi-Fi from high-level recovery to middle rank, and recover the operation of the busy application.
The speed of S208, detection Wi-Fi transmission datas;
If S209, the speed for detecting are less than the second scheduled rate, the list of application in running background is obtained;
Wherein, the second scheduled rate can terminal acquiescence, or user arrange.Second scheduled rate can be with It is 1M/S, or 3M/S, here is not limited.
Frequency is less than the application for presetting usage frequency used in S210, the identification list of application, and uses frequency by described Rate is closed less than the application of default usage frequency.
As can be seen that whether the speed that detection intended application transmission data is extended in the scheme of the embodiment of the present invention is more than Predetermined threshold value;If there is the busy application of the speed more than the first scheduled rate of transmission data in the intended application, suspend The operation of the busy application.It is understood that suspending the operation of the busy application, the money that the busy application takes can be discharged Source, such Wi-Fi just directly can carry out network connection using the resource being released.
Fig. 3 is referred to, Fig. 3 is a kind of method of network connection that one embodiment of the invention is provided.Wherein, such as Fig. 3 institutes Show, a kind of method of network connection that one embodiment of the present of invention is provided includes herein below:
If S301, detecting Wi-Fi and being unlocked, it is determined that with the intended application of the Wi-Fi common antenna in terminal;
, wherein it is desired to, it is noted that the executive agent of the method is terminal.The terminal includes but is not limited to intelligent handss Machine, panel computer, computer and Wearable etc. can carry out data transmission the electronic equipment of business by network.
Wherein, the intended application determined in terminal with the Wi-Fi common antenna, including:In searching for the terminal That what is installed possesses the application of short-distance transmission function;The configuration information of the application is read to determine the application transport frequency; Intended application will be set to the application of the Wi-Fi same frequencys.
S302, judge the intended application whether in opening;
Wherein it is possible to polling routine operation list, judges the mark that bluetooth whether is included in the list, if in the list Mark comprising bluetooth, then illustrate that bluetooth is in opening;
If S303, the intended application are in opening, whether the speed of the intended application transmission data is judged More than predetermined threshold value;
If there is the busy application of the speed more than the first scheduled rate of transmission data in S304, the intended application, Suspend the operation of the busy application;
Wherein, the first scheduled rate can terminal acquiescence, or user arrange.First scheduled rate can be with It is 1M/S, or 3M/S, here is not limited.
S305, the connection status for obtaining Wi-Fi;
It is understood that connection status can be successful connection or connection failure.
If S306, the terminal connect Wi-Fi successes, recover the operation of the busy application;
The speed of S307, detection Wi-Fi transmission datas;
If S308, the speed for detecting are less than the second scheduled rate, the list of application in running background is obtained;
Wherein, the second scheduled rate can terminal acquiescence, or user arrange.Second scheduled rate can be with It is 1M/S, or 3M/S, here is not limited.
Frequency is less than the application for presetting usage frequency used in S309, the identification list of application, and uses frequency by described Rate is closed less than the application of default usage frequency.
Wherein it is possible to be understood by, default usage frequency can be terminal acquiescence, can also be what user was arranged.In advance If usage frequency can be, daily run time is 3 hours.Run time be can also be weekly for 5 hours, here is not limited System.
As can be seen that extend in the scheme of the embodiment of the present invention closing application of the usage frequency less than default usage frequency The step of, it is to be understood that some applications are closed, some resources can be discharged, so as to ensure that Wi-Fi has enough terminal money Source can use, and then ensure the data transmission bauds of Wi-Fi.
Fig. 4 is referred to, Fig. 4 is a kind of structural representation of terminal that one embodiment of the present of invention is provided.Wherein, as schemed Shown in 4, a kind of terminal 400 that one embodiment of the present of invention is provided, wherein, the terminal can be for smart mobile phone, flat board electricity The electronic equipments such as brain, intelligent wearable equipment.The terminal 400 includes determining unit 401, judging unit 402 and lift unit 403;
Determining unit 401, if being unlocked for detecting Wi-Fi, it is determined that with the Wi-Fi common antenna in terminal Intended application;
Judging unit 402, for judging the intended application whether in opening;
Lift unit 403, if being in opening for the intended application, lifts Wi-Fi and uses the antenna Priority is so that the terminal quickly accesses Wi-Fi network.
Wherein it is determined that unit 401, judging unit 402 and lift unit 403 can be used for performing step in embodiment 1 Method described in S101 to S103, specifically describes description of the detailed in Example 1 to methods described, will not be described here.
Fig. 5 is referred to, Fig. 5 is a kind of structural representation of terminal that one embodiment of the present of invention is provided.Wherein, as schemed Shown in 5, another kind of terminal 500 that one embodiment of the present of invention is provided, wherein, the terminal can be for smart mobile phone, flat board The electronic equipments such as computer, intelligent wearable equipment.The terminal 500 includes determining unit 501, judging unit 502, lift unit 503rd, unit 504, acquiring unit 505, recovery unit 506, detector unit 507 and recognition unit 508 are suspended;
Determining unit 501, if being unlocked for detecting Wi-Fi, it is determined that with the Wi-Fi common antenna in terminal Intended application;
Specifically, determining unit 501 includes search subelement, reads subelement, arranges subelement;
The search subelement, for searching for the terminal in the application for possessing short-distance transmission function installed;
The reading subelement, for reading the configuration information of the application to determine the application transport frequency;
The setting subelement, for intended application will to be set to the application of the Wi-Fi same frequencys.
Judging unit 502, for judging the intended application whether in opening;
Lift unit 503, if being in opening for the intended application, lifts Wi-Fi and uses the antenna Priority is so that the terminal quickly accesses Wi-Fi network;
Judging unit 502, if being in opening for the intended application, judges the intended application transmission data Speed whether be more than predetermined threshold value;
Suspend unit 504, if the speed for there is transmission data in the intended application is more than the first scheduled rate Busy application, then suspend the operation of the busy application;
Acquiring unit 505, for obtaining the connection status of Wi-Fi;
Recovery unit 506, if connecting Wi-Fi successes for the terminal, the priority of the Wi-Fi is returned to silent Recognize state, and recover the operation of the busy application;
Detector unit 507, for detecting the speed of Wi-Fi transmission datas;
Acquiring unit 505, if being additionally operable to the speed for detecting less than the second scheduled rate, obtains in running background List of application;
Recognition unit 508, for recognizing the list of application used in frequency less than default usage frequency application, and will The usage frequency is closed less than the application of default usage frequency.
Wherein it is determined that unit 501, judging unit 502, judging unit 503, time-out unit 504, acquiring unit 505, recovery Unit 506, detector unit 507 and recognition unit 508 can be used for performing the side in embodiment 2 described in step S201 to S210 Method, specifically describes description of the detailed in Example 2 to methods described, will not be described here.
Fig. 6 is referred to, Fig. 6 is a kind of structural representation of terminal that one embodiment of the present of invention is provided.Wherein, as schemed Shown in 6, another kind of terminal 600 that one embodiment of the present of invention is provided, wherein, the terminal can be for smart mobile phone, flat board The electronic equipments such as computer, intelligent wearable equipment.The terminal 600 includes that terminal 600 includes determining unit 601, judging unit 602nd, unit 603, acquiring unit 604, recovery unit 605, detector unit 606 and recognition unit 607 are suspended;
Determining unit 601, if being unlocked for detecting Wi-Fi, it is determined that with the Wi-Fi common antenna in terminal Intended application;
Specifically, determining unit 601 includes search subelement, reads subelement, arranges subelement;
The search subelement, for searching for the terminal in the application for possessing short-distance transmission function installed;
The reading subelement, for reading the configuration information of the application to determine the application transport frequency;
The setting subelement, for intended application will to be set to the application of the Wi-Fi same frequencys.
Judging unit 602, for judging the intended application whether in opening;
Judging unit 602, if being in opening for the intended application, judges the intended application transmission data Speed whether be more than predetermined threshold value;
Suspend unit 603, if the speed for there is transmission data in the intended application is more than the first scheduled rate Busy application, then suspend the operation of the busy application;
Acquiring unit 604, for obtaining the connection status of Wi-Fi;
Recovery unit 605, if connecting Wi-Fi successes for the terminal, the priority of the Wi-Fi is returned to silent Recognize state, and recover the operation of the busy application;
Detector unit 606, for detecting the speed of Wi-Fi transmission datas;
Acquiring unit 604, if being additionally operable to the speed for detecting less than the second scheduled rate, obtains in running background List of application;
Recognition unit 607, for recognizing the list of application used in frequency less than default usage frequency application, and will The usage frequency is closed less than the application of default usage frequency.
Wherein it is determined that unit 601, judging unit 602, time-out unit 603, acquiring unit 604, recovery unit 605, detection Unit 606 and recognition unit 607 can be used for performing the method in embodiment 3 described in step S301 to S309, specifically describe detailed See description of the embodiment 3 to methods described, will not be described here.
Fig. 7 is referred to, in another embodiment of the present invention, there is provided a kind of second terminal.The second terminal 700 is wrapped Include CPU701, memorizer 702, bus 703.Wherein, the terminal 700 can be smart mobile phone, panel computer, Intelligent worn device Deng the electronic equipment with call function.
Wherein, CPU701 performs the program being stored in advance in memorizer 702, and the implementation procedure is specifically included:
If detecting Wi-Fi to be unlocked, it is determined that with the intended application of the Wi-Fi common antenna in terminal;
Judge the intended application whether in opening;
If the intended application is in opening, Wi-Fi is lifted using the priority of the antenna so that described Terminal quickly accesses Wi-Fi network.
Optionally, the intended application determined in terminal with the Wi-Fi common antenna, including:
Search for the application for possessing short-distance transmission function installed in the terminal;
The configuration information of the application is read to determine the application transport frequency;
Intended application will be set to the application of the Wi-Fi same frequencys.
Optionally, the implementation procedure also includes:
If the intended application is in opening, judge the speed of the intended application transmission data whether more than pre- If threshold value;
If there is the busy application of the speed more than the first scheduled rate of transmission data in the intended application, suspending should The operation of busy application.
Optionally, after the operation for suspending the busy application, the implementation procedure also includes:
Obtain the connection status of Wi-Fi;
If the terminal connects Wi-Fi successes, the priority of the Wi-Fi is returned to into default conditions, and recover institute State the operation of busy application.
Optionally, the implementation procedure also includes:
The speed of detection Wi-Fi transmission datas;
If the speed for detecting is less than the second scheduled rate, the list of application in running background is obtained;
Recognize that frequency is less than the application of default usage frequency used in the list of application, and the usage frequency is less than The application of default usage frequency is closed.
As can be seen that in the scheme of the embodiment of the present invention, if detect Wi-Fi being unlocked, it is determined that in terminal with it is described The intended application of Wi-Fi common antenna;Judge the intended application whether in opening;If the intended application is in and opens State is opened, then lifts Wi-Fi using the priority of the antenna so that the terminal quickly accesses Wi-Fi network.So as to can Know, by implementing the technical scheme that the present invention is provided, enable to terminal and quickly connect Wi-Fi network, so as to lift user's body Test.
Fig. 8 is referred to, Fig. 8 is the frame of the part-structure of the mobile phone of the terminal correlation that one embodiment of the present of invention is provided Figure.With reference to Fig. 8, mobile phone includes:It is radio frequency (Radio Frequency, RF) circuit 810, memorizer 820, input block 830, aobvious Show unit 840, sensor 850, voicefrequency circuit 860, Wireless Fidelity (Wireless Fidelity, Wi-Fi) module 870, process The part such as device 880 and power supply 890.It will be understood by those skilled in the art that the handset structure illustrated in Fig. 8 do not constitute it is right The restriction of mobile phone, can include part more more or less of than diagram, or combine some parts, or different part cloth Put.
Each component parts of mobile phone are specifically introduced with reference to Fig. 8:
RF circuits 810 can be used for the reception and transmission of information.Generally, RF circuits 810 include but is not limited to antenna, at least one Individual amplifier, transceiver, bonder, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 810 can also be communicated by radio communication with network and other equipment.Above-mentioned radio communication can use arbitrary communication Standard or agreement, including but not limited to global system for mobile communications (Global System of Mobile Communication, GSM), general packet radio service (General Packet Radio Service, GPRS), code division it is many Location (Code Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), Email, Short Message Service (Short Messaging Service, SMS) etc..
Memorizer 820 can be used to store software program and module, and processor 880 is stored in memorizer 820 by operation Software program and module, so as to perform various function application and the data processing of mobile phone.Memorizer 820 can mainly include Storing program area and storage data field, wherein, the application journey that storing program area can be needed for storage program area, at least one function Sequence (such as network connecting function, touch control operation detection function etc.) etc.;Storage data field can be stored to be created according to using for mobile phone Data (such as antenna the use priority etc.) built etc..Additionally, memorizer 820 can include high-speed random access memory, also Nonvolatile memory, for example, at least one disk memory, flush memory device or other volatile solid-state storages can be included Device.
Input block 830 can be used for the numeral or character information of receives input, and produce with the user of mobile phone arrange with And the key signals input that function control is relevant.Specifically, input block 830 may include that fingerprint module 831 and other inputs set Standby 832.Fingerprint module 831, can gather user's finger print data thereon.Optionally, fingerprint module 831 may include that optical profile type refers to Stricture of vagina module, capacitance type fingerprint module and RF-type fingerprint module.So that fingerprint module 831 is capacitance type fingerprint module as an example, tool Body includes induction electrode (n1 abnormal induction electrode and n2 normal induction electrode) and the signal being connected with the induction electrode Process circuit (such as amplifying circuit, noise suppression circuit, analog-to-digital conversion circuit, etc.).Except fingerprint module 831, input block 830 can also include other input equipments 832.Specifically, other input equipments 832 can include but is not limited to physical keyboard, One or more in function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc..
Display unit 840 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 840 may include display screen 841, optionally, can adopt liquid crystal display (Liquid Crystal Display, LCD), the form such as Organic Light Emitting Diode (Organic Light-Emitting Diode, OLED) it is aobvious to configure Display screen 841.Although in fig. 8, fingerprint module 831 and display screen 841 are realizing the defeated of mobile phone as two independent parts Enter and input function, but it is in some embodiments it is possible to fingerprint module 831 and display screen 841 is integrated and realize mobile phone Input and output function.
Mobile phone may also include at least one sensor 850, such as optical sensor, motion sensor and other sensors. Specifically, optical sensor may include ambient light sensor and proximity transducer, wherein, ambient light sensor can be according to ambient light Light and shade adjusting the brightness of display screen 841, proximity transducer can when mobile phone is moved in one's ear, close display screen 841 and/or Backlight.Used as one kind of motion sensor, (generally three axles) acceleration is big in the detectable all directions of accelerometer sensor It is little, size and the direction of gravity is can detect that when static, can be used to recognize application (such as horizontal/vertical screen switching, the phase of mobile phone attitude Close game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;Can also configure as mobile phone The other sensors such as gyroscope, barometer, drimeter, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 860, speaker 881, microphone 882 can provide the audio interface between user and mobile phone.Audio-frequency electric The signal of telecommunication after the voice data for receiving conversion can be transferred to speaker 881 by road 860, and by speaker 881 sound is converted to Signal output;On the other hand, the acoustical signal of collection is converted to the signal of telecommunication by microphone 882, is turned after being received by voicefrequency circuit 860 Be changed to voice data, then after voice data output processor 880 is processed, Jing RF circuits 810 to be sent to such as another mobile phone, Or voice data is exported to memorizer 820 so as to further process.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 870 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 8 shows WiFi module 870, but it is understood that, it is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Become in the essential scope of invention and omit.
Processor 880 is the control centre of mobile phone, using various interfaces and the various pieces of connection whole mobile phone, is led to Cross operation or perform the software program and/or module that are stored in memorizer 820, and call and be stored in memorizer 820 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 880 can be wrapped Include one or more processing units;Preferably, processor 880 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are mainly processed with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 880.
Mobile phone also includes the power supply 890 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipe Reason system is logically contiguous with processor 880, so as to realize management charging, electric discharge and power managed by power-supply management system Etc. function.
Although not shown, mobile phone can also include photographic head, bluetooth module etc., will not be described here.
In embodiment shown in aforementioned Fig. 1, Fig. 2 and Fig. 3, each step method flow process can be based on the structure reality of the mobile phone It is existing.
In embodiment shown in aforementioned Fig. 4, Fig. 5 and Fig. 6, each unit function can be based on the structure of the mobile phone and realize.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, without the portion described in detail in certain embodiment Point, may refer to the associated description of other embodiment.
In several embodiments provided herein, it should be understood that disclosed device, can be by another way Realize.For example, device embodiment described above is only schematic, such as division of described unit, is only one kind Division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can with reference to or can To be integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed each other Coupling or direct-coupling or communication connection can be INDIRECT COUPLING or communication connection by some interfaces, device or unit, Can be electrical or other forms.
The unit as separating component explanation can be or may not be it is physically separate, it is aobvious as unit The part for showing can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can according to the actual needs be selected to realize the mesh of this embodiment scheme 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, it is also possible to It is that unit is individually physically present, it is also possible to which two or more units are integrated in a unit.Above-mentioned integrated list Unit both can be realized in the form of hardware, it would however also be possible to employ the form of SFU software functional unit is realized.
If the integrated unit is realized using in the form of SFU software functional unit and as independent production marketing or used When, during a computer read/write memory medium can be stored in.Based on such understanding, technical scheme is substantially The part for contributing to prior art in other words or all or part of the technical scheme can be in the form of software products Embody, the computer software product is stored in a storage medium, including some instructions are used so that a computer Equipment (can be personal computer, server or network equipment etc.) perform the whole of each embodiment methods described of the invention or Part steps.And aforesaid storage medium includes:USB flash disk, read only memory (ROM, Read-Only Memory), random access memory are deposited Reservoir (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with store program codes Medium.
The above, above example only to illustrate technical scheme, rather than a limitation;Although with reference to front State embodiment to be described in detail the present invention, it will be understood by those within the art that:It still can be to front State the technical scheme described in each embodiment to modify, or equivalent is carried out to which part technical characteristic;And these Modification is replaced, and does not make the scope of the essence disengaging various embodiments of the present invention technical scheme of appropriate technical solution.

Claims (11)

1. a kind of method of network connection, it is characterised in that methods described includes:
If detecting Wi-Fi to be unlocked, it is determined that with the intended application of the Wi-Fi common antenna in terminal;
Judge the intended application whether in opening;
If the intended application is in opening, Wi-Fi is lifted using the priority of the antenna so that the terminal Quickly access Wi-Fi network.
2. method according to claim 1, it is characterised in that with the Wi-Fi common antenna in the determination terminal Intended application, including:
Search for the application for possessing short-distance transmission function installed in the terminal;
The configuration information of the application is read to determine the application transport frequency;
Intended application will be set to the application of the Wi-Fi same frequencys.
3. method according to claim 2, it is characterised in that methods described also includes:
If the intended application is in opening, judge the speed of the intended application transmission data whether more than default threshold Value;
If there is the busy application of the speed more than the first scheduled rate of transmission data in the intended application, suspend this busy Using operation.
4. method according to claim 3, it is characterised in that after the operation of the time-out busy application, the side Method also includes:
Obtain the connection status of Wi-Fi;
If the terminal connects Wi-Fi successes, the priority of the Wi-Fi is returned to into default conditions, and recover described numerous The operation of busy application.
5. method according to claim 4, it is characterised in that methods described also includes:
The speed of detection Wi-Fi transmission datas;
If the speed for detecting is less than the second scheduled rate, the list of application in running background is obtained;
Recognize that frequency is less than the application for presetting usage frequency used in the list of application, and by the usage frequency less than default The application of usage frequency is closed.
6. a kind of terminal, it is characterised in that the terminal includes:
Determining unit, if being unlocked for detecting Wi-Fi, it is determined that should with the target of the Wi-Fi common antenna in terminal With;
Judging unit, for judging the intended application whether in opening;
Lift unit, if for the intended application be in opening, lifted Wi-Fi using the antenna priority with So that the terminal quickly accesses Wi-Fi network.
7. terminal according to claim 6, it is characterised in that the determining unit includes search subelement, to read son single Unit, setting subelement;
The search subelement, for searching for the terminal in the application for possessing short-distance transmission function installed;
The reading subelement, for reading the configuration information of the application to determine the application transport frequency;
The setting subelement, for intended application will to be set to the application of the Wi-Fi same frequencys.
8. terminal according to claim 7, it is characterised in that the terminal also includes suspending unit;
The judging unit, if being in opening for the intended application, judges the intended application transmission data Whether speed is more than predetermined threshold value;
The time-out unit, if the speed for there is transmission data in the intended application is busy more than the first scheduled rate Using then suspending the operation of the busy application.
9. terminal according to claim 8, it is characterised in that the terminal also includes acquiring unit and recovery unit;
The acquiring unit, for obtaining the connection status of Wi-Fi;
The recovery unit, if connecting Wi-Fi successes for the terminal, by the priority of the Wi-Fi acquiescence is returned to State, and recover the operation of the busy application.
10. terminal according to claim 9, it is characterised in that the terminal also includes detector unit and recognition unit;
The detector unit, for detecting the speed of Wi-Fi transmission datas;
The acquiring unit, if being additionally operable to the speed for detecting less than the second scheduled rate, obtains answering in running background Use list;
The recognition unit, for recognizing the list of application used in frequency less than default usage frequency application, and by institute State usage frequency to be closed less than the application of default usage frequency.
11. a kind of terminals, it is characterised in that include:
Be stored with the memorizer of executable program code;
The processor coupled with the memorizer;
The processor calls the executable program code stored in the memorizer, performs if claim 1 is to right Require the method described in 5 any one.
CN201611121187.6A 2016-12-07 2016-12-07 A kind of method of network connection, terminal and storage medium Active CN106604364B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201611121187.6A CN106604364B (en) 2016-12-07 2016-12-07 A kind of method of network connection, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201611121187.6A CN106604364B (en) 2016-12-07 2016-12-07 A kind of method of network connection, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN106604364A true CN106604364A (en) 2017-04-26
CN106604364B CN106604364B (en) 2019-08-30

Family

ID=58597404

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201611121187.6A Active CN106604364B (en) 2016-12-07 2016-12-07 A kind of method of network connection, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN106604364B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714907A (en) * 2018-11-08 2021-04-27 深圳市欢太科技有限公司 Method and device for filtering during freezing of application and electronic equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1516459A1 (en) * 2002-06-27 2005-03-23 STMicroelectronics S.A. Method for packet-like data transmission between two slave units and a master unit comprising two processors
CN101553993A (en) * 2006-12-11 2009-10-07 苹果公司 Wireless communications circuitry with simultaneous receive capabilities for handheld electronic devices
CN102263857A (en) * 2011-07-12 2011-11-30 康佳集团股份有限公司 Shared antenna circuit for mobile terminal
CN105704725A (en) * 2016-03-09 2016-06-22 青岛海信电器股份有限公司 Method and device for preventing mutual interference between WIFI communication and Bluetooth communication

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1516459A1 (en) * 2002-06-27 2005-03-23 STMicroelectronics S.A. Method for packet-like data transmission between two slave units and a master unit comprising two processors
CN101553993A (en) * 2006-12-11 2009-10-07 苹果公司 Wireless communications circuitry with simultaneous receive capabilities for handheld electronic devices
CN102263857A (en) * 2011-07-12 2011-11-30 康佳集团股份有限公司 Shared antenna circuit for mobile terminal
CN105704725A (en) * 2016-03-09 2016-06-22 青岛海信电器股份有限公司 Method and device for preventing mutual interference between WIFI communication and Bluetooth communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112714907A (en) * 2018-11-08 2021-04-27 深圳市欢太科技有限公司 Method and device for filtering during freezing of application and electronic equipment
CN112714907B (en) * 2018-11-08 2023-08-11 深圳市欢太科技有限公司 Method and device for filtering during application freezing and electronic equipment

Also Published As

Publication number Publication date
CN106604364B (en) 2019-08-30

Similar Documents

Publication Publication Date Title
CN105430600B (en) A kind of data transmission method and the terminal of data transmission
CN106055957A (en) Fingerprint unlocking method and terminal
CN106200970B (en) The method and terminal of a kind of split screen display available
CN107590375A (en) Unlocking method and related product
CN106851780A (en) The method and terminal of a kind of network connection
CN106446111A (en) Data migration method and terminal
CN106412033A (en) Data migration method and terminal
CN106022071A (en) Fingerprint unlocking method and terminal
CN106845422A (en) A kind of fingerprint recognition module, fingerprint identification method and mobile terminal
CN106445596A (en) Method and device for managing setting items
CN106658623A (en) Hotspot network switching method and terminal equipment
CN106341315A (en) Text message cleaning method, apparatus and mobile terminal
CN106714333A (en) Data migration method and terminal
CN106786907A (en) A kind of charging circuit, method and terminal
CN106569916A (en) Data backup method and mobile terminal
CN106534288A (en) Data transmission method and mobile terminal
CN106055954A (en) Terminal unlocking method and terminal
CN106454975A (en) Hotspot network switching method and terminal equipment
CN106127001A (en) A kind of method of start and terminal
CN106227534A (en) A kind of display screen division methods and terminal
CN106385482A (en) Contact information processing method and device, and mobile terminal
CN106815078A (en) A kind of internal memory control method and equipment
CN106487878A (en) A kind of method of Data Migration and terminal
CN106095558A (en) A kind of method of audio effect processing and terminal
CN106657214A (en) Data migration method and terminal

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
CB02 Change of applicant information

Address after: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

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

Address before: 523860 No. 18, Wu Sha Beach Road, Changan Town, Dongguan, Guangdong

Applicant before: Guangdong OPPO Mobile Communications Co., Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant