CN106550366A - A kind of connection control method and mobile terminal - Google Patents

A kind of connection control method and mobile terminal Download PDF

Info

Publication number
CN106550366A
CN106550366A CN201610977258.6A CN201610977258A CN106550366A CN 106550366 A CN106550366 A CN 106550366A CN 201610977258 A CN201610977258 A CN 201610977258A CN 106550366 A CN106550366 A CN 106550366A
Authority
CN
China
Prior art keywords
wap
mobile terminal
duration
access
authentication information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610977258.6A
Other languages
Chinese (zh)
Inventor
周璇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
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 CN201610977258.6A priority Critical patent/CN106550366A/en
Publication of CN106550366A publication Critical patent/CN106550366A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a kind of connection control method and mobile terminal, including:Obtain the WAP that pre-set space is present;Judge that whether WAP is the WAP that mobile terminal was accessed;If the WAP that WAP was accessed for mobile terminal, obtain the accumulative use duration of the WAP for prestoring and averagely use duration;If accumulative be more than or equal to the first predetermined threshold value using duration, and averagely uses threshold value more than or equal to second using duration, then the access authentication information of WAP is obtained;Send access authentication information to access WAP to WAP.The embodiment of the present invention is conducive to lifting the safety and stability that mobile terminal network is accessed.

Description

A kind of connection control method and mobile terminal
Technical field
The present invention relates to technical field of mobile terminals, and in particular to a kind of connection control method and mobile terminal.
Background technology
The application of the mobile terminals such as smart mobile phone is more and more extensive, and modern life people have substantially been one hand of staff Machine, all kinds of mobile phone applications are installed in mobile phone to meet the demand that user's food and clothing lives row each side, corresponding, mobile phone need Consume more flows to support that user uses various applications, such as Video Applications, shopping application etc..
At present, user mobile phone can pass through the wireless network of connection route device to access internet, so as to use free stream Amount, but as all kinds of private datas that user produces in use need to be forwarded by the router, such as user Network payment information, chat data etc., some users access wireless network in the Wireless Fidelity Wi-Fi function using mobile phone When, the safety and stability of the wireless network that mobile phone is currently accessed often is unnoticed by the user.
The content of the invention
A kind of connection control method and mobile terminal are embodiments provided, mobile terminal network access can be lifted Safety and stability.
The embodiment of the present invention provides a kind of connection control method, including:
Obtain the WAP that pre-set space is present;
Judge that whether the WAP is the WAP that mobile terminal was accessed;
If the WAP is the WAP that the mobile terminal was accessed, prestore described wireless is obtained The accumulative use duration of access point and averagely use duration;
If the accumulative use duration is more than or equal to the first predetermined threshold value, and the average use duration is more than or equal to Second uses threshold value, then obtain the access authentication information of the WAP;
Send the access authentication information to access the WAP to the WAP.
As can be seen that relative to mobile terminal in correlation technique only by verifying access authentication information to access wireless access The scheme of point, in connection control method provided in an embodiment of the present invention, mobile terminal obtains the wireless of pre-set space presence first Secondly access point, judges that whether WAP is the WAP that mobile terminal was accessed, if WAP is to move The WAP that terminal was accessed, then obtain the accumulative use duration of the WAP for prestoring and averagely use duration, if It is accumulative to be more than or equal to the first predetermined threshold value using duration, and averagely threshold value is used more than or equal to second using duration, then obtain Take the access authentication information of WAP, most after send access authentication information accessing WAP to WAP. Due to the security for adding up the longer WAP of duration duration it is higher, the average WAP longer using duration it is steady It is qualitative higher, therefore, can be by the safety and stability of WAP by the first predetermined threshold value and the second predetermined threshold value Be limited to one it is higher on the basis of, so as to ensure the safety and stability of WAP that mobile terminal is accessed every time.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing Accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are only this Some embodiments of invention, for those of ordinary skill in the art, on the premise of not paying creative work, can be with Other accompanying drawings are obtained according to these accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of connection control method provided in an embodiment of the present invention;
Fig. 2 is the schematic flow sheet of another kind of connection control method disclosed in the embodiment of the present invention;
Fig. 3 is the schematic flow sheet of another kind of connection control method disclosed in the embodiment of the present invention;
Fig. 4 A are a kind of functional unit composition block diagrams of mobile terminal disclosed in the embodiment of the present invention;
Fig. 4 B are a kind of structural representations of mobile terminal disclosed in the embodiment of the present invention;
Fig. 5 is the structural representation of another kind of mobile terminal disclosed in the embodiment of the present invention.
Specific embodiment
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 clearly and completely described to the technical scheme in the embodiment of the present invention, it is clear that described embodiment is only The a part of embodiment of the present invention, rather than the embodiment of whole.Based on the embodiment in the present invention, those of ordinary skill in the art The every other embodiment obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
Term " first ", " second " in description and claims of this specification and above-mentioned accompanying drawing etc. are for distinguishing Different objects, rather than for describing particular order.Additionally, term " comprising " and " having " and their any deformations, it is intended that It is to cover non-exclusive including.Process, method, system, product or the equipment for for example containing series of steps or unit does not have The step of listing or unit are defined in, but alternatively also include the step of not listing or unit, or alternatively also wrapped Include other steps intrinsic for these processes, method, product or equipment or unit.
Referenced herein " embodiment " is it is meant that the special characteristic, structure or the characteristic that describe can be wrapped in conjunction with the embodiments It is contained at least one embodiment of the present invention.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 it is understood by, embodiment described herein can be combined with other embodiments.
At present, the mobile terminal in correlation technique detect WAP and user choose the WAP it Afterwards, after mobile terminal can directly remind the access authentication information of the WAP that user's typing or extraction prestore, then Directly send the access authentication information to access the WAP to the WAP.
Connection control method provided in an embodiment of the present invention, mobile terminal obtain the wireless access of pre-set space presence first Secondly point, judges that whether WAP is the WAP that mobile terminal was accessed, if WAP is mobile terminal The WAP for accessing, then obtain the accumulative use duration of the WAP for prestoring and averagely use duration, if accumulative It is more than or equal to the first predetermined threshold value using duration, and averagely uses threshold value more than or equal to second using duration, then obtains nothing The access authentication information of line access point, most after send access authentication information accessing WAP to WAP.Due to The security of the longer WAP of accumulative duration duration is higher, the stability of the average WAP longer using duration It is higher, therefore, the safety and stability of WAP can be limited by the first predetermined threshold value and the second predetermined threshold value At one it is higher on the basis of, so as to ensure the safety and stability of WAP that mobile terminal is accessed every time.
Additionally, the mobile terminal involved by the embodiment of the present invention can include it is various with the hand-held of wireless communication function Equipment, mobile unit, wearable device, computing device are connected to other processing equipments of radio modem, and respectively The user equipment (User Equipment, UE) of the form of kind, mobile station (Mobile Station, MS), terminal device (terminal device) etc..For convenience of describing, apparatus mentioned above is referred to as mobile terminal.Below to of the invention real Apply example to describe in detail.
Fig. 1 is referred to, Fig. 1 is to embodiments provide a kind of schematic flow sheet of connection control method, as schemed institute Show, this connection control method includes:
S101, the WAP that acquisition for mobile terminal pre-set space is present.
Wherein, the WAP is used to provide WLAN, the concrete composition form example of the WAP Can such as be Wireless Fidelity WIFI hot spot, wireless router etc., the pre-set space can be specifically with the current institute of mobile terminal Diameter of Spherical Volume scope centered on place position, such as radius is 10 meters, 11 meters, 15 meters, 20 meters of soccer star's spatial dimension.
Wherein, the specific implementation of the WAP for obtaining pre-set space presence can be:
The beacon frame that the WAP of the mobile terminal monitoring pre-set space sends;
The network parameter of the WAP in beacon frame described in the acquisition for mobile terminal.
Wherein, the beacon frame refers to (such as WAP) in a wireless device that appointed interval transmission is pressed in timing successively Regular wireless signal (similar heartbeat packet), be mainly used in positioning and synchronous use.
S102, the mobile terminal judge that whether the WAP is the WAP that mobile terminal was accessed.
Wherein, mobile terminal can store the network parameter of the WAP for accessing, and the network parameter specifically can be with Network name, BSSID (MAC Address of WAP access point), signal strength signal intensity, encryption and certification including WAP Mode etc., wherein, network name is service set (Service Set Identifier, SSID).
In implementing, the network parameter of the WAP for accessing can be stored in default wireless by mobile terminal Access in point list, hereafter, the network parameter of the WAP that mobile terminal can be to obtain is identified as inquiry, and inquiry is default Wireless access point list, to judge that whether WAP is the WAP that mobile terminal was accessed.
S103, if the WAP is the WAP that the mobile terminal was accessed, the mobile terminal Obtain the accumulative use duration of the WAP for prestoring and averagely use duration.
Wherein, the accumulative use duration of the WAP and averagely mobile terminal is specifically referred to using duration and connect at this Enter the use duration parameters in the case of the WAP, a length of 50 when such as mobile phone 1 accesses the accumulative use of WAP A Hour, a length of 25 minutes etc. during average use.
S104, if the accumulative use duration is more than or equal to the first predetermined threshold value, and the average use duration is more than Or use threshold value equal to second, then the access authentication information of WAP described in the acquisition for mobile terminal.
Wherein, first predetermined threshold value can for example be 30 hours, 40 hours, 100 hours etc., the described second default threshold Value can for example be 20 minutes, 25 minutes, 40 minutes etc..
Wherein, the access authentication information can for example be the information such as the authentication password of WAP.
S105, the mobile terminal send the access authentication information to the WAP and described are wirelessly connect with accessing Access point.
As can be seen that relative to mobile terminal in correlation technique only by verifying access authentication information to access wireless access The scheme of point, in connection control method provided in an embodiment of the present invention, mobile terminal obtains the wireless of pre-set space presence first Secondly access point, judges that whether WAP is the WAP that mobile terminal was accessed, if WAP is to move The WAP that terminal was accessed, then obtain the accumulative use duration of the WAP for prestoring and averagely use duration, if It is accumulative to be more than or equal to the first predetermined threshold value using duration, and averagely threshold value is used more than or equal to second using duration, then obtain Take the access authentication information of WAP, most after send access authentication information accessing WAP to WAP. Due to the security for adding up the longer WAP of duration duration it is higher, the average WAP longer using duration it is steady It is qualitative higher, therefore, can be by the safety and stability of WAP by the first predetermined threshold value and the second predetermined threshold value Be limited to one it is higher on the basis of, so as to ensure the safety and stability of WAP that mobile terminal is accessed every time.
In one example, there is multiple WAPs that the mobile terminal was accessed, and institute in the pre-set space The accumulative duration duration of each WAP in multiple WAPs is stated more than or equal to first predetermined threshold value, institute The duration that averagely uses for stating each WAP in multiple WAPs is more than or equal to second predetermined threshold value;Institute The specific implementation for stating the access authentication information of WAP described in acquisition for mobile terminal can be:
Add up connecing for the WAP using duration maximum in the plurality of WAP of the acquisition for mobile terminal Enter authentication information;Or,
In the plurality of WAP of the acquisition for mobile terminal, the average WAP using duration maximum connecing Enter authentication information.
It can be seen that, in the connection control method provided by this example, mobile terminal detect pre-set space include it is many It is individual meet safety and stability condition WAP when, can be best according to security highest strategy or stability Strategy, chooses a WAP, so as to further lift the stability or security of mobile terminal wireless access control.
In this illustration, the mobile terminal sends the access authentication information to access to the WAP After stating WAP, the method for the embodiment of the present invention can also include:
When detecting the mobile terminal and disconnecting the connection with the WAP, the WAP is updated It is accumulative using duration and averagely to use duration.
It can be seen that, in the connection control method provided by this example, mobile terminal can be recorded Use duration parameters, and update accumulative duration duration and averagely use duration, to keep during the use of each WAP The accuracy of long parameter, is conducive to lifting the accuracy that corresponding strategies judgement is carried out when mobile terminal accesses WAP.
In one example, the mobile terminal sends the access authentication information to access to the WAP After stating WAP, the method for the embodiment of the present invention can also include:
When the payment class application for detecting the mobile terminal is opened, the mobile terminal is inquired about in the wireless access Payment record under the wireless network of point;
If not inquiring payment record of the mobile terminal under the wireless network of the WAP, output is moved Access state of the dynamic terminal in the WAP, it is noted that the information of safety of payment.
It can be seen that, in the connection control method provided by this example, when mobile terminal is detecting user by propping up Class application is paid when carrying out delivery operation, payment record of the enquiry mobile terminal under the wireless network of WAP;If not looking into Payment record of the mobile terminal under the wireless network of WAP is ask, then output mobile terminal is in WAP Access state, it is noted that the information of safety of payment, reminds whether user is paid by new wireless network in time, keeps away Exempt from privacy of user data by routing forwarding being carried out without the actively acknowledged WAP of user, be conducive to improving mobile whole Terminate the payment safety under wireless access dotted state.
It is consistent with the embodiment shown in above-mentioned Fig. 1, Fig. 2 is referred to, Fig. 2 is that another kind provided in an embodiment of the present invention connects The schematic flow sheet of access control method.As illustrated, this connection control method includes:
S201, the WAP that acquisition for mobile terminal pre-set space is present.
Wherein, there is multiple WAPs that the mobile terminal was accessed, and the plurality of nothing in the pre-set space In line access point, the accumulative duration duration of each WAP is more than or equal to the first predetermined threshold value, the plurality of wirelessly to connect In access point, each WAP is averagely more than or equal to the second predetermined threshold value using duration;
S202, the mobile terminal judge that whether the WAP is the WAP that mobile terminal was accessed.
S203, if the WAP is the WAP that the mobile terminal was accessed, obtains the institute for prestoring State the accumulative use duration of WAP and averagely use duration.
S204, if the accumulative use duration is more than or equal to the first predetermined threshold value, and the average use duration is more than Or use threshold value equal to second, then add up in the plurality of WAP of the acquisition for mobile terminal using the maximum nothing of duration The access authentication information of line access point.
S205, the mobile terminal send the access authentication information to the WAP and described are wirelessly connect with accessing Access point.
S206, the mobile terminal when detecting the mobile terminal and disconnecting the connection with the WAP, more The accumulative use duration of the new WAP and averagely use duration.
As can be seen that relative to mobile terminal in correlation technique only by verifying access authentication information to access wireless access The scheme of point, in connection control method provided in an embodiment of the present invention, mobile terminal obtains the wireless of pre-set space presence first Secondly access point, judges that whether WAP is the WAP that mobile terminal was accessed, if WAP is to move The WAP that terminal was accessed, then obtain the accumulative use duration of the WAP for prestoring and averagely use duration, if It is accumulative to be more than or equal to the first predetermined threshold value using duration, and averagely threshold value is used more than or equal to second using duration, then obtain Take the access authentication information of WAP, most after send access authentication information accessing WAP to WAP. Due to the security for adding up the longer WAP of duration duration it is higher, the average WAP longer using duration it is steady It is qualitative higher, therefore, can be by the safety and stability of WAP by the first predetermined threshold value and the second predetermined threshold value Be limited to one it is higher on the basis of, so as to ensure the safety and stability of WAP that mobile terminal is accessed every time.
Additionally, mobile terminal includes multiple meeting wirelessly connecing for safety and stability condition detecting pre-set space During access point, a WAP can be chosen according to security highest strategy, it is wireless so as to further lift mobile terminal The security of Access Control.
Additionally, mobile terminal can record the use duration parameters for accessing WAP every time, and when updating accumulative duration Grow and averagely use duration, to keep the accuracy of the use duration parameters of each WAP, be conducive to lifting mobile end Terminate into the accuracy that corresponding strategies judgement is carried out during WAP.
It is consistent with the embodiment shown in above-mentioned Fig. 1, Fig. 3 is referred to, Fig. 3 is that another kind provided in an embodiment of the present invention connects The schematic flow sheet of access control method.As illustrated, this connection control method includes:
S301, the WAP that acquisition for mobile terminal pre-set space is present.
There is multiple WAPs that the mobile terminal was accessed, and the plurality of wireless access in the pre-set space In point, the accumulative duration duration of each WAP is more than or equal to the first predetermined threshold value, in the plurality of WAP The duration that averagely uses of each WAP is more than or equal to the second predetermined threshold value;
S302, the mobile terminal judge that whether the WAP is the WAP that mobile terminal was accessed.
S303, if the WAP is the WAP that the mobile terminal was accessed, obtains the institute for prestoring State the accumulative use duration of WAP and averagely use duration.
S304, if the accumulative use duration is more than or equal to the first predetermined threshold value, and the average use duration is more than Or use threshold value equal to second, then averagely using the nothing that duration is maximum in the plurality of WAP of the acquisition for mobile terminal The access authentication information of line access point.
S305, the mobile terminal send the access authentication information to the WAP and described are wirelessly connect with accessing Access point.
S306, the mobile terminal inquire about the movement when the payment class application for detecting the mobile terminal is opened Payment record of the terminal under the wireless network of the WAP.
S307, if not inquiring payment record of the mobile terminal under the wireless network of the WAP, Access state of the mobile terminal output mobile terminal in the WAP, it is noted that the prompting letter of safety of payment Breath.
As can be seen that relative to mobile terminal in correlation technique only by verifying access authentication information to access wireless access The scheme of point, in connection control method provided in an embodiment of the present invention, mobile terminal obtains the wireless of pre-set space presence first Secondly access point, judges that whether WAP is the WAP that mobile terminal was accessed, if WAP is to move The WAP that terminal was accessed, then obtain the accumulative use duration of the WAP for prestoring and averagely use duration, if It is accumulative to be more than or equal to the first predetermined threshold value using duration, and averagely threshold value is used more than or equal to second using duration, then obtain Take the access authentication information of WAP, most after send access authentication information accessing WAP to WAP. Due to the security for adding up the longer WAP of duration duration it is higher, the average WAP longer using duration it is steady It is qualitative higher, therefore, can be by the safety and stability of WAP by the first predetermined threshold value and the second predetermined threshold value Be limited to one it is higher on the basis of, so as to ensure the safety and stability of WAP that mobile terminal is accessed every time.
Additionally, mobile terminal includes multiple meeting wirelessly connecing for safety and stability condition detecting pre-set space During access point, a WAP can be chosen according to the best strategy of stability, it is wireless so as to further lift mobile terminal The stability of Access Control.
Additionally, when mobile terminal detect user by pay class application carry out delivery operation when, inquiry movement Payment record of the terminal under the wireless network of WAP;If not inquiring wireless network of the mobile terminal in WAP Payment record under network, then output mobile terminal in WAP access state, it is noted that safety of payment prompting letter Breath, reminds whether user is paid by new wireless network in time, it is to avoid privacy of user data are by without user's active Acknowledged WAP carries out routing forwarding, is conducive to improving the payment peace under mobile terminal access wireless access dotted state Quan Xing.
It is above-mentioned mainly the scheme of the embodiment of the present invention to be described from the angle of method side implementation procedure.It is appreciated that , mobile terminal it comprises the corresponding hardware configuration of execution each function and/or software mould to realize above-mentioned functions Block.Those skilled in the art should be readily appreciated that, with reference to the unit of each example of the embodiments described herein description And algorithm steps, it is of the invention to be realized with the combining form of hardware or hardware and computer software.Certain function actually with Hardware or computer software drive the mode of hardware to perform, the application-specific and design constraint bar depending on technical scheme Part.Professional and technical personnel can use different methods to realize described function to each specific application, but this reality Now it is not considered that beyond the scope of this invention.
The embodiment of the present invention can carry out the division of functional unit according to said method example to mobile terminal, for example, can Each functional unit is divided to correspond to each function, it is also possible to which two or more functions are integrated in into a processing unit In.Above-mentioned integrated 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.Need It is noted that be schematic, only a kind of division of logic function to the division of unit in the embodiment of the present invention, it is actual real There can be other dividing mode now.
In the case of using integrated unit, Fig. 4 A show one kind of involved mobile terminal in above-described embodiment Possible structural representation.Mobile terminal 400 includes:Processing unit 402 and communication unit 403.Processing unit 402 is for moving The action of dynamic terminal is controlled management, and for example, processing unit 402 is used to support that mobile terminal performs step S101 in Fig. 1 Step S301 to S307 in step S201 into S105, Fig. 2 to 206 and Fig. 3 and/or it is used for techniques described herein Other processes.Communication unit 403 is used for the communication for supporting mobile terminal and other equipment, for example with mobile communications network in Communication between base station.Mobile terminal can also include memory cell 401, for the program code sum of memory mobile terminal According to.
Wherein, processing unit 402 can be processor or controller, for example, can be central processing unit (Central Processing Unit, CPU), general processor, digital signal processor (Digital Signal Processor, DSP), Special IC (Application-Specific Integrated Circuit, ASIC), field programmable gate array It is (Field Programmable Gate Array, FPGA) or other PLDs, transistor logic, hard Part part or its any combination.What which can realize or perform with reference to described by the disclosure of invention various exemplary patrols Collect square frame, module and circuit.The processor can also be the combination for realizing computing function, such as comprising one or more micro- places Reason device combination, combination of DSP and microprocessor etc..Communication unit 403 can be communication interface, transceiver, transmission circuit etc., Wherein, communication interface is to be referred to as, and can include one or more interfaces.Memory cell 401 can be memory.
When processing unit 402 is processor, communication unit 403 is communication interface, when memory cell 401 is memory, this Mobile terminal involved by inventive embodiments can be the mobile terminal shown in Fig. 4 B.
Refering to shown in Fig. 4 B, the mobile terminal 410 includes:Processor 412, transceiver 413, memory 411.Optionally, Mobile terminal 410 can also include bus 414.Wherein, transceiver 413, processor 412 and memory 411 can be by total Line 414 is connected with each other;Bus 414 can be Peripheral Component Interconnect standard (Peripheral Component Interconnect, abbreviation PCI) bus or EISA (Extended Industry Standard Architecture, abbreviation EISA) bus etc..The bus 414 can be divided into address bus, data/address bus, controlling bus etc.. For ease of representing, only represented with a thick line in Fig. 4 B, it is not intended that only one bus or a type of bus.
Mobile terminal shown in above-mentioned Fig. 4 A or Fig. 4 B is it can be appreciated that a kind of device for mobile terminal, the present invention Embodiment is not limited.
The embodiment of the present invention additionally provides another kind of mobile terminal, as shown in figure 5, for convenience of description, illustrate only with The related part of the embodiment of the present invention, particular technique details are not disclosed, and refer to present invention method part.The movement Terminal can be to include mobile phone, panel computer, PDA (Personal Digital Assistant, personal digital assistant), POS The arbitrarily terminal device such as (Point of Sales, point-of-sale terminal), vehicle-mounted computer, so that mobile terminal is as mobile phone as an example:
Fig. 5 is illustrated that the block diagram of the part-structure of the mobile phone related to mobile terminal provided in an embodiment of the present invention.Ginseng Fig. 5 is examined, mobile phone includes:Radio frequency (Radio Frequency, RF) circuit 910, memory 920, input block 930, display unit 940th, sensor 950, voicefrequency circuit 960, Wireless Fidelity (Wireless Fidelity, WiFi) module 970, processor 980, And the part such as power supply 990.It will be understood by those skilled in the art that the handset structure illustrated in Fig. 5 is not constituted to mobile phone Limit, can include than illustrating more or less of part, or combine some parts, or different part arrangements.
Each component parts of mobile phone is specifically introduced with reference to Fig. 5:
RF circuits 910 can be used for the reception and transmission of information.Generally, RF circuits 910 include but is not limited to antenna, at least one Individual amplifier, transceiver, coupler, low-noise amplifier (Low Noise Amplifier, LNA), duplexer etc..Additionally, RF circuits 910 can also be communicated with network and other equipment by radio communication.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..
Memory 920 can be used to store software program and module, and processor 980 is stored in memory 920 by operation Software program and module, so as to perform various function application and the data processing of mobile phone.Memory 920 mainly can include Storing program area and storage data field, wherein, storing program area can storage program area, the application journey needed at least one function Sequence etc.;Storage data field can be stored and use created data etc. according to mobile phone.Additionally, memory 920 can be included at a high speed Random access memory, can also include nonvolatile memory, for example, at least one disk memory, flush memory device or Other volatile solid-state parts.
Input block 930 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 930 may include fingerprint recognition module 931 and other are defeated Enter equipment 932.Fingerprint recognition module 931, can gather user's finger print data thereon.Except fingerprint recognition module 931, input Unit 930 can also include other input equipments 932.Specifically, other input equipments 932 can include but is not limited to touch-control One kind in screen, physical keyboard, function key (such as volume control button, switch key etc.), trace ball, mouse, action bars etc. Or it is various.
Display unit 940 can be used for show by user input information or be supplied to user information and mobile phone it is various Menu.Display unit 940 may include display screen 941, 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 941.Although in Figure 5, fingerprint recognition module 931 and display screen 941 are realizing mobile phone as two independent parts Input and input function, but in some embodiments it is possible to will be fingerprint recognition module 931 integrated and real with display screen 941 The input of existing mobile phone and playing function.
Mobile phone may also include at least one sensor 950, 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 941, proximity transducer can when mobile phone is moved in one's ear, close display screen 941 and/or Backlight.Used as one kind of motion sensor, in the detectable all directions of accelerometer sensor, (generally three axles) acceleration is big 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, hygrometer, thermometer, infrared ray sensor, will not be described here.
Voicefrequency circuit 960, loudspeaker 961, microphone 962 can provide the COBBAIF between user and mobile phone.Audio-frequency electric Electric signal after the voice data for receiving conversion can be transferred to loudspeaker 961, is converted to sound by loudspeaker 961 by road 960 Signal is played;On the other hand, the voice signal of collection is converted to electric signal by microphone 962, is turned after being received by voicefrequency circuit 960 Be changed to voice data, then after voice data playback process device 980 is processed, Jing RF circuits 910 to be sent to such as another mobile phone, Or voice data is played to memory 920 further to process.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronicses postal by WiFi module 970 Part, browse webpage and access streaming video etc., it has provided the user wireless broadband internet and has accessed.Although Fig. 5 shows WiFi module 970, but it is understood that, which is simultaneously not belonging to must be configured into for mobile phone, can not change as needed completely Omit in the scope of the essence for becoming invention.
Processor 980 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 memory 920, and call and be stored in memory 920 Data, perform the various functions and processing data of mobile phone, so as to carry out integral monitoring to mobile phone.Optionally, processor 980 can be wrapped Include one or more processing units;Preferably, processor 980 can integrated application processor and modem processor, wherein, should Operating system, user interface and application program etc. are processed mainly with processor, modem processor mainly processes radio communication. It is understood that above-mentioned modem processor can not also be integrated in processor 980.
Mobile phone also includes the power supply 990 (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 980, 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 camera, bluetooth module etc., will not be described here.
In embodiment shown in aforementioned Fig. 1~Fig. 3, each step method flow process can be realized based on the structure of the mobile phone.
In embodiment shown in earlier figures 4A, each unit function can be realized based on the structure of the mobile phone.
The embodiment of the present invention also provides a kind of computer-readable storage medium, wherein, the computer-readable storage medium can be stored with journey Sequence, includes the part or all of step of any connection control method described in said method embodiment during the program performing Suddenly.
It should be noted that for aforesaid each method embodiment, in order to be briefly described, therefore which is all expressed as a series of Combination of actions, but those skilled in the art should know, the present invention do not limited by described sequence of movement because According to the present invention, some steps can adopt other orders or while carry out.Secondly, those skilled in the art should also know Know, embodiment described in this description belongs to preferred embodiment, involved action and module are not necessarily of the invention It is necessary.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and does not have 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 have when actually realizing other dividing mode, 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 local to be located at one, or can also be distributed to multiple On NE.Some or all of unit therein can be selected according to the actual needs 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 and as independent production marketing or use using in the form of SFU software functional unit When, can be stored in a computer-readable access to memory.Based on such understanding, technical scheme substantially or Person say the part or technical scheme contributed by prior art all or part can in the form of software product body Reveal and, the computer software product is stored in a memory, use so that a computer equipment including some instructions (can be personal computer, server or network equipment etc.) performs all or part of each embodiment methods described of the invention Step.And aforesaid memory includes:USB flash disk, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), portable hard drive, magnetic disc or CD etc. are various can be with the medium of store program codes.
One of ordinary skill in the art will appreciate that all or part of step in the various methods of above-described embodiment is can Instruct related hardware to complete with by program, the program can be stored in a computer-readable memory, memory Can include:Flash disk, read-only storage (English:Read-Only Memory, referred to as:ROM), random access device (English: Random Access Memory, referred to as:RAM), disk or CD etc..
Above the embodiment of the present invention is described in detail, specific case used herein to the principle of the present invention and Embodiment is set forth, and the explanation of above example is only intended to help and understands the method for the present invention and its core concept; Simultaneously for one of ordinary skill in the art, according to the thought of the present invention, can in specific embodiments and applications There is change part, in sum, this specification content should not be construed as limiting the invention.

Claims (10)

1. a kind of connection control method, it is characterised in that include:
Obtain the WAP that pre-set space is present;
Judge that whether the WAP is the WAP that mobile terminal was accessed;
If the WAP is the WAP that the mobile terminal was accessed, the wireless access for prestoring is obtained Point accumulative use duration and averagely use duration;
If the accumulative use duration is more than or equal to the first predetermined threshold value, and the average use duration is more than or equal to second Using threshold value, then the access authentication information of the WAP is obtained;
Send the access authentication information to access the WAP to the WAP.
2. method according to claim 1, it is characterised in that the pre-set space has what the mobile terminal was accessed In multiple WAPs, and the plurality of WAP, the accumulative duration duration of each WAP is more than or equal to First predetermined threshold value, in the plurality of WAP, the average of each WAP is more than or equal to using duration Second predetermined threshold value;The access authentication information for obtaining the WAP, including:
Add up the access authentication information using the maximum WAP of duration in obtaining the plurality of WAP;Or,
Obtain the access authentication information of the average WAP for using duration maximum in the plurality of WAP.
3. method according to claim 2, it is characterised in that described to send the access authentication to the WAP After information is to access the WAP, methods described also includes:
When detecting the mobile terminal and disconnecting the connection with the WAP, the accumulative of the WAP is updated Duration is used using duration and averagely.
4. the method according to any one of claim 1-3, it is characterised in that described to send described to the WAP After access authentication information is to access the WAP, methods described also includes:
When the payment class application for detecting the mobile terminal is opened, the mobile terminal is inquired about in the WAP Payment record under wireless network;
If not inquiring payment record of the mobile terminal under the wireless network of the WAP, output mobile end Access state of the end in the WAP, it is noted that the information of safety of payment.
5. the method according to any one of claim 1-4, it is characterised in that what the acquisition pre-set space was present wirelessly connects Access point, including:
The beacon frame that the WAP of monitoring pre-set space sends;
Obtain the network parameter of WAP described in the beacon frame.
6. a kind of mobile terminal, it is characterised in that include:Processing unit and communication unit,
The processing unit is used to obtain the WAP that pre-set space is present by the communication unit;And for judging Whether the WAP is the WAP that mobile terminal was accessed;And if being described for the WAP The WAP that mobile terminal was accessed, then obtaining the accumulative of the WAP for prestoring by the communication unit makes Duration is used with duration peace;And if be more than or equal to the first predetermined threshold value for the accumulative use duration, it is and described Averagely threshold value is used more than or equal to second using duration, then the access of the WAP is obtained by the communication unit Authentication information;And be used to send the access authentication information to access to the WAP by the communication unit State WAP.
7. mobile terminal according to claim 6, it is characterised in that the pre-set space has the mobile terminal and accesses The multiple WAPs crossed, and in the plurality of WAP each WAP accumulative duration duration be more than or Equal to first predetermined threshold value, in the plurality of WAP each WAP be averagely more than using duration or Equal to second predetermined threshold value;
In the access authentication message context that the WAP is obtained by the communication unit, the processing unit tool Body is used for:Obtained by the communication unit and added up in the plurality of WAP using the maximum WAP of duration Access authentication information;Or, obtained in the plurality of WAP averagely using duration maximum by the communication unit The access authentication information of WAP.
8. mobile terminal according to claim 7, it is characterised in that the processing unit is by the communication unit to institute After the WAP transmission access authentication information is stated to access the WAP, it is additionally operable to detecting the shifting When dynamic terminal disconnects the connection with the WAP, the accumulative use duration of the WAP and average use are updated Duration.
9. the mobile terminal according to any one of claim 6-8, it is characterised in that the processing unit is wirelessly connect to described After access point sends the access authentication information to access the WAP, it is additionally operable to detecting the mobile terminal When paying class application unlatching, payment record of the mobile terminal under the wireless network of the WAP is inquired about;And If for not inquiring payment record of the mobile terminal under the wireless network of the WAP, by described logical Access state of the letter unit output mobile terminal in the WAP, it is noted that the information of safety of payment.
10. the mobile terminal according to any one of claim 6-9, it is characterised in that exist in the acquisition pre-set space WAP in terms of, the processing unit specifically for:The beacon frame that the WAP of monitoring pre-set space sends;It is logical Cross the network parameter that the communication unit obtains WAP described in the beacon frame.
CN201610977258.6A 2016-11-07 2016-11-07 A kind of connection control method and mobile terminal Pending CN106550366A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610977258.6A CN106550366A (en) 2016-11-07 2016-11-07 A kind of connection control method and mobile terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610977258.6A CN106550366A (en) 2016-11-07 2016-11-07 A kind of connection control method and mobile terminal

Publications (1)

Publication Number Publication Date
CN106550366A true CN106550366A (en) 2017-03-29

Family

ID=58395615

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610977258.6A Pending CN106550366A (en) 2016-11-07 2016-11-07 A kind of connection control method and mobile terminal

Country Status (1)

Country Link
CN (1) CN106550366A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108391305A (en) * 2018-02-26 2018-08-10 维沃移动通信有限公司 A kind of Wi-Fi hotspot selection method and terminal device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101785336A (en) * 2007-08-17 2010-07-21 高通股份有限公司 Access control for an AD-HOC small-coverage base station
CN103874152A (en) * 2012-12-18 2014-06-18 展讯通信(上海)有限公司 Control method of mobile terminal
CN103891332A (en) * 2011-08-12 2014-06-25 F-赛酷公司 Detection of suspect wireless access points
CN103906173A (en) * 2012-12-24 2014-07-02 展讯通信(上海)有限公司 Method for controlling mobile terminal
CN105519193A (en) * 2013-08-06 2016-04-20 摩托罗拉移动有限责任公司 Method and device for accepting or rejecting request associated with mobile device wirelessly connecting to network

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101785336A (en) * 2007-08-17 2010-07-21 高通股份有限公司 Access control for an AD-HOC small-coverage base station
CN103891332A (en) * 2011-08-12 2014-06-25 F-赛酷公司 Detection of suspect wireless access points
CN103874152A (en) * 2012-12-18 2014-06-18 展讯通信(上海)有限公司 Control method of mobile terminal
CN103906173A (en) * 2012-12-24 2014-07-02 展讯通信(上海)有限公司 Method for controlling mobile terminal
CN105519193A (en) * 2013-08-06 2016-04-20 摩托罗拉移动有限责任公司 Method and device for accepting or rejecting request associated with mobile device wirelessly connecting to network

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108391305A (en) * 2018-02-26 2018-08-10 维沃移动通信有限公司 A kind of Wi-Fi hotspot selection method and terminal device

Similar Documents

Publication Publication Date Title
CN106792993A (en) Channel scanning method and mobile terminal
CN107332757A (en) Delete the method and Related product of PUSH message
CN107231159A (en) A kind of Radio frequency interference processing method, device, storage medium and terminal
CN106358225B (en) A kind of processing method of network data, device and mobile terminal
CN106469028B (en) A kind of data migration method and mobile terminal
CN106920307A (en) Gate inhibition's open method, device and mobile terminal
CN107071147A (en) A kind of parameter regulation means and equipment
CN106792819A (en) A kind of method and device of the power consumption for reducing mobile terminal
CN107466041A (en) Identify pseudo-base station method, device and mobile terminal
CN107272985B (en) Notification message processing method and related product
CN107682825A (en) Scan frequency control method and Related product
CN106793010A (en) A kind of method for network access and equipment
CN106535188A (en) Access control method and mobile terminal
CN106980554B (en) Process processing method and device
CN104363590A (en) Access point connection method and device
CN107466015A (en) Access control method and Related product
CN107277232A (en) Locking screen interface control method and Related product
CN106454979A (en) Network type switching method and mobile terminal
CN106331302B (en) A kind of method and apparatus adding contact person
CN106817489A (en) The reminding method and mobile terminal of message
CN106713648B (en) A kind of communication means and mobile terminal
CN106535249A (en) Control method and control device for wireless local area networks, and terminal
CN107092819B (en) Fingerprint input inspection method and device
CN107708115A (en) Redirect management-control method, device and mobile terminal
CN107708071A (en) Transmission power control method and related product

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20170329