CN107682909A - A kind of control method and device for connecting access point - Google Patents

A kind of control method and device for connecting access point Download PDF

Info

Publication number
CN107682909A
CN107682909A CN201711173296.7A CN201711173296A CN107682909A CN 107682909 A CN107682909 A CN 107682909A CN 201711173296 A CN201711173296 A CN 201711173296A CN 107682909 A CN107682909 A CN 107682909A
Authority
CN
China
Prior art keywords
access point
connection
time
connection failure
described access
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
CN201711173296.7A
Other languages
Chinese (zh)
Other versions
CN107682909B (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 CN201711173296.7A priority Critical patent/CN107682909B/en
Publication of CN107682909A publication Critical patent/CN107682909A/en
Application granted granted Critical
Publication of CN107682909B publication Critical patent/CN107682909B/en
Expired - Fee Related 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/02Access restriction performed under specific conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The application is applied to communication technical field, there is provided a kind of control method and device for connecting access point, the control method include:Initiate the connection to access point;If the connection failure initiated access point, the time is disabled according to corresponding to the connection failure number of described access point determines described access point, the connection failure number disables the time into positive correlation with described;Forbid initiating the connection to described access point within the disabling time.So as to avoid the power consumption of mobile terminal caused by initiation connection repeatedly.A balance is obtained in connection speed and power consumption, the speed connected automatically had both been can guarantee that or power consumption can be taken into account.

Description

A kind of control method and device for connecting access point
Technical field
The application belongs to communication technical field, more particularly to a kind of control method and device for connecting access point.
Background technology
Mobile terminal is needing to surf the Net at present, or during the equipment such as connection bluetooth, typically by either automatically or manually connecting Access point, described access point such as wireless aps, Wi-Fi hotspot, or blue-tooth device.And the problem of due to network, do not ensure that Once connect with regard to access point can be successfully connected, it is thus possible to can repeat to initiate the connection to access point, initiating connection repeatedly can lead Mobile terminal power consumption increase is caused, shortens the cruising time of mobile terminal.
The content of the invention
In view of this, the embodiment of the present application provides a kind of method and device for connecting access point, to solve prior art In connect access point repeatedly caused by power consumption increase the problem of.
The first aspect of the embodiment of the present application provides a kind of control method for connecting access point, including:
Initiate the connection to access point;
If the connection failure initiated access point, described access point pair is determined according to the connection failure number of described access point The disabling time answered, the connection failure number disable the time into positive correlation with described;
Forbid initiating the connection to described access point within the disabling time.
The second aspect of the embodiment of the present application provides a kind of control device for connecting access point, including:
Connection unit, for initiating the connection to access point;
Time determining unit is disabled, if for the connection failure initiated access point, is lost according to the connection of described access point Lose number and determine the disabling time corresponding to described access point, the connection failure number disables the time into positive correlation with described;
Forbidden cell, for forbidding initiating the connection to described access point within the disabling time.
The third aspect of the embodiment of the present application provides a kind of terminal device, including memory, processor and is stored in In the memory and the computer program that can run on the processor, it is characterised in that described in the computing device Realize that the connection referred in any possible implementation of above-mentioned first aspect or above-mentioned first aspect connects during computer program The control method of access point.
The fourth aspect of the embodiment of the present application provides a kind of computer-readable recording medium, including:The computer can Read storage medium and be stored with computer program, the computer program realized when being executed by processor above-mentioned first aspect or on State the control method of the connection access point referred in any possible implementation of first aspect.
5th aspect of the embodiment of the present application provides a kind of computer program product, and the computer program product includes Computer program, the computer program realize that the application first aspect provides described when being executed by one or more processors The step of connecting the control method of access point.
Existing beneficial effect is the embodiment of the present application compared with prior art:The application initiates the company to access point first Connect;If the connection failure initiated access point, according to corresponding to the connection failure number of described access point determines described access point The time is disabled, the connection failure number disables the time into positive correlation with described;Forbid initiating to institute within the disabling time State the connection of access point.So as to avoid the power consumption of mobile terminal caused by initiation connection repeatedly.Taken in connection speed and power consumption A balance is obtained, the speed connected automatically had both been can guarantee that or power consumption can be taken into account.
Brief description of the drawings
, below will be to embodiment or description of the prior art in order to illustrate more clearly of the technical scheme in the embodiment of the present application In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description are only some of the application Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is the control method one embodiment schematic flow sheet for the connection access point that the application provides;
Fig. 2 is another embodiment schematic flow sheet of the control method for the connection access point that the application provides;
Fig. 3 is another embodiment schematic flow sheet of the control method for the connection access point that the application provides;
Fig. 4 is the control device one embodiment structural representation for the connection access point that the application provides;
Fig. 5 is electric terminal one embodiment structural representation that the application provides.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present application.However, it will be clear to one skilled in the art that there is no these specific The application can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders the description of the present application.
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present application.However, it will be clear to one skilled in the art that there is no these specific The application can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders the description of the present application.
It should be appreciated that ought be in this specification and in the appended claims in use, special described by the instruction of term " comprising " Sign, entirety, step, operation, the presence of element and/or component, but be not precluded from one or more of the other feature, entirety, step, Operation, element, component and/or its presence or addition for gathering.
It is also understood that the term used in this present specification is merely for the sake of the mesh for describing specific embodiment And be not intended to limit the application.As used in present specification and appended claims, unless on Other situations are hereafter clearly indicated, otherwise " one " of singulative, "one" and "the" are intended to include plural form.
It will be further appreciated that the term "and/or" used in present specification and appended claims is Refer to any combinations of one or more of the associated item listed and be possible to combine, and including these combinations.
As used in this specification and in the appended claims, term " if " can be according to context quilt Be construed to " when ... " or " once " or " in response to determining " or " in response to detecting ".Similarly, phrase " if it is determined that " or " if detecting [described condition or event] " can be interpreted to mean according to context " once it is determined that " or " in response to true It is fixed " or " once detecting [described condition or event] " or " in response to detecting [described condition or event] ".
In order to illustrate technical scheme described herein, illustrated below by specific embodiment.
Embodiment one
Fig. 1 is the implementation process schematic diagram of the control method for the connection access point that the embodiment of the present application one provides.As schemed Show that this method may comprise steps of:
Step S101, initiate the connection to access point;
In the present embodiment, the equipment for initiating connection can be smart mobile phone, tablet personal computer, wearable device (example Such as intelligent watch, Intelligent bracelet) electronic equipment with communication function.Described access point can be wireless aps (AccessPoint), Wi-Fi hotspot, bluetooth peripheral hardware.Described access point can also be the access point of mobile cellular network, such as The access point of 3G, 4G online.User initiates the either automatically or manually connection to access point by mobile terminal, is connected as when described During automatic connection, the mode for initiating connection can continuously initiate connection to access point, example with predetermined connection number Predetermined connection number is 5 times as described in, and First Contact Connections are first carried out, automatic to perform second if First Contact Connections fail Secondary connection, if second of successful connection, stop follow-up 3 connections, if second of connection still fails, continue executing with the Connect three times, if until the 5th connection still fails, show the connection failure of the initiation, described predetermined connection number It is not limited to 5 times, it can be any positive integer.Continue to connect next time after a connection failure.Described predetermined Connection number in, as long as once can connect to access point, then show the successful connection of the initiation to access point, and stop Initiate connection.If show the connection initiated access point without the upper access point of connection by the predetermined connection number Failure.
Optionally, described access point has been successfully connected before being the access point for having logon rights, such as user, And the access point of logon rights is obtained by password authentification, so that when initiating the connection to the access point, without inputting again Password.There is the file for the access-in point information for specially preserving above-mentioned acquisition authority on mobile terminal.Described access point can be one Individual can also be multiple.Such as in family place or office space, an often only WAP having permission.And In public place, such as megastore, then there can be multiple WAPs for having obtained authority.When described access point is multiple When, automatically according to the signal intensity of multiple access points, the access point of selection signal maximum intensity is attached mobile terminal.It is and more Signal intensity between individual access point might have change, such as when simultaneously in the presence of the access point A and access point for having obtained authority B, when performing First Contact Connections, access point A signal intensity is more than access point B, and now First Contact Connections can automatically select pair Access point A connection, and when performing second and connecting, access point B signal intensity is likely larger than access point A, and now second Secondary connection can automatically select the connection to access point B.Therefore, as long as access can be successfully linked up in predetermined connection number Any access point in point A and access point B, then it is assumed that the successful connection of the access point of the initiation, if in predetermined connection number Access point A is inside cannot connect to, also cannot connect to access point B, then it is assumed that the connection failure of the access point of the initiation.
Step S102, if the connection failure initiated access point, institute is determined according to the connection failure number of described access point The disabling time corresponding to access point is stated, the connection failure number disables the time into positive correlation with described.
Step S103, forbid initiating the connection to described access point within the disabling time.
In the present embodiment, when initiating the connection failure to access point, that is, continuously perform predetermined connection number and fail Access point is successfully connected, then forbids initiating the connection to described access point within a period of time, described a period of time is to disable Time.The reason for connection failure can be, the signal intensity deficiency of wireless aps or, router failure, around other letters Number interference, wireless aps connection equipment excessively cause IP to conflict.After the disabling time is waited, mobile terminal can be carried out newly Attended operation of the initiation of one wheel to access point.It is described disabling the time determined by the connection failure number of access point, the connection The frequency of failure with it is described disabling the time into positive correlation, such as can be it is directly proportional, for example, when connection failure number be 5 times, It is 5 seconds then to disable the time;When connection failure number is 10 times, then it is 10 seconds to disable the time;When connection failure number be 15 times, then It is 15 seconds to disable the time.Certainly the disabling time in the present embodiment is not limited to directly proportional to the connection failure number of access point, It can also be nonlinear positive correlation.Such as when connection failure number is 5 times, then it is 5 seconds to disable the time;Work as connection failure Number is 10 times, then it is 10 seconds to disable the time;When connection failure number is 15 times, then it is 20 seconds to disable the time.Disable the time Increased amplitude is directly proportional to connection failure number.
In the present embodiment, by being controlled to connection access point, when the number of connection failure is more, show current environment It is relatively low that the possibility of the access point can be successfully connected down, therefore correspondingly extends the disabling time, may after the time is disabled The abnormal factor of connection has been solved, and the successful possibility for now initiating connection to access point again again is also higher.So as to Electric quantity consumption unnecessary caused by connecting repeatedly can be avoided.
Optionally, as shown in Fig. 2 disabling corresponding to the connection failure number according to access point determines described access point Time, including:
Step S201, obtain accumulative connection failure number of the described access point in nearest one section of preset time.
Step S202, the time is disabled according to corresponding to the accumulative connection failure number determines described access point.
In the present embodiment, the connection initiated access point can be it is automatic carry out or it is manually operated or It is automatic be attached during and meanwhile have that user's is manually operated, for example, during connection wait, user thinks this Connection possibly can not be successfully connected access point, then cancel this connection manually, and manually perform and connect next time.Or In continuous connection procedure, may have it is of short duration several times be successfully connected, then disconnect again quickly.I.e., in the given time, it is actual The number of connection failure is probably different.Therefore can by calculate the number of a period of time accumulative connection failure recently come Determine the disabling time corresponding to described access point.For example, nearest one section of preset time, such as can be 1 minute, the above one The secondary disabling time terminates to start, and calculates the number for adding up connection failure in 1 minute, and the connection includes automatic connection and/or hand Dynamic connection.And determine next to need the disabling time for disabling connection according to the number for adding up connection failure.Described default It is more to add up the number of connection failure in time, shows that the possibility that may successfully link up described access point is lower, therefore, phase The extension disabling time answered.
Preferably, because the number of disabling time execution is more, it equally can also reflect and be successfully connected described access point Possibility is relatively low.So the number of the execution of disabling connection can also be obtained simultaneously.By the way that the disabling is connected into time performed Number is multiplied with accumulative connection failure number, obtains next needing the disabling time for disabling connection.Such as when connection failure number For 5 times, then it is 5 seconds to disable the time;When connection failure number is 10 times, then it is 10 seconds to disable the time;When connection failure number is 15 times, i.e., it have disabled twice before this,, will when connection failure number is 15 times if not considering the number of disabling connection Disabling 15 seconds.If considering the number of disabling connection, 2 were multiplied by by described 15 seconds, the disabling time obtained next time is 30 seconds.
Preferably, the accumulative connection failure number for obtaining described access point in nearest one section of preset time, including:
If successful connection connection described access point of the initiation to access point, after calculating is successfully connected described access point Holding connection duration;
If described keep connection duration to exceed very first time threshold value, the number of accumulative connection failure is reset.
In the present embodiment, due in multiple connection, thering is part connection to be successfully connected to access point, but it is above-mentioned The connection possible duration is shorter, then can disconnect again.After described access point is successfully connected, if keeping connection Time is too short, then must not believe that this connection is effectively to connect.Therefore, very first time threshold value can be set, it is described for judging Whether effective it is successfully connected.Specifically, when the duration for keeping connection exceedes very first time threshold value, then it is assumed that this connection be Effectively connection, then the accumulative connection failure number in nearest one section of preset time is reset.If it is described keep connection when Length is not less than very first time threshold value, then it is assumed that this connection is invalid connection, and accumulative connection failure number is not processed. The present embodiment is by judging the validity being successfully connected.If effectively connection in preset time be present, illustrate successfully to connect It is larger to connect the possibility of described access point, therefore by the way that accumulative connection failure number is reset so that calculated in preset time Accumulative connection failure number it is less, reduce the disabling time next time accordingly.So that the calculating more adduction of disabling time Reason.
Optionally, as shown in figure 3, disabling corresponding to the connection failure number according to access point determines described access point Time, including:
Step S301, obtain the current continuously coupled frequency of failure of described access point.
Step S302, the time is disabled according to corresponding to the continuously coupled frequency of failure determines described access point.
In the present embodiment, the determination of the disabling time, can also be by calculating the continuously coupled failure to access point Number determines.For example, the continuously coupled frequency of failure can be pre-set with disabling the corresponding relation of time, and by the correspondence Relation stores on mobile terminals, during connection is initiated to access point, according to the continuously coupled frequency of failure of acquisition, The disabling time corresponding to being searched in corresponding relation, and after the connection failure, according to the disabling time found, in the taboo With forbidding initiating connection to described access point in the time.
Optionally, if the connection failure initiated access point, is determined according to the connection failure number of described access point The disabling time corresponding to described access point, including:
If the connection failure initiated described access point, and the connection failure number of described access point has reached default threshold Value, the time is disabled according to corresponding to the connection failure number of described access point determines described access point.
In the present embodiment, during actually access point is connected, connection failure has many accidentalia, and number is few Connection failure be acceptable, therefore and need not after each connection failure all disabling connection.Pass through in the present embodiment Set predetermined threshold value, when the number of connection failure has reached predetermined threshold value, just enable the disabling time, so as to avoid due to Connection failure caused by accidental factor extends the disabling time without necessary, improves the effect that mobile terminal is connected to access point Rate.
Optionally, if the duration of the disabling time is closed to the automatic of described access point more than the second time threshold Linkage function.
In the present embodiment, if the disabling time that the number based on connection failure is calculated has exceeded the second time threshold, That is the disabling overlong time, such as 1 hour, then the disabling time is without the meaning of timing.Therefore close and connect to described The linkage function of access point.In such a case, it is possible to by restarting linkage function password for pre-setting, when linkage function is closed After closing, if user needs to restart linkage function, the password authentification for restarting even function is had to pass through.Or can also be, User must can restart the linkage function to access point by way of restarting mobile terminal.
Optionally, the disabling time can be combined with battery dump energy to be calculated.Specifically, lost by connecting Lose number calculate disabling the time after, the battery dump energy is obtained, if the battery dump energy is less, accordingly Extend the disabling time, if the battery dump energy is more, reduce the disabling time accordingly, it is specific to calculate public affairs Formula can determine according to the demand of reality.
Optionally, the control method also includes:
Whether detection mobile terminal moves within the disabling time;
If detecting, the mobile terminal moves, and the translational speed is within a predetermined range, then suspends the taboo With the time, and initiate the connection to described access point.
In the present embodiment, be probably the reason for connection failure due to access point signals insufficient strength, mobile terminal with In the case that access point is distant, it is difficult to be successfully accessed access point, therefore user may find with access point closer to position To put and be attached, within the disabling time, whether detection mobile terminal is moved the present embodiment, if mobile terminal is moved, And mobile speed within a predetermined range when, judge that user is look for optimal connection distance, during so as to suspend the disabling Between, and during the mobile terminal moves, keep initiating the connection to access point, in order to which user is in moving process The position that may be coupled to access point can be accurately positioned.The preset range of the translational speed can be the speed of normal person's walking Spend scope.When beyond preset range, then do not suspend the disabling time, to prevent from moving caused by user's normal use mobile terminal Terminal moves, so that the operation of erroneous trigger disabling time stopped.When detecting that mobile terminal stops movement more than one section Between, and when still failing to be connected to described access point, then recover the disabling time, forbid within the disabling time to access The connection of point.The present embodiment within the disabling time by detecting whether mobile terminal is moved to judge whether user is finding signal Stronger link position.So as to keep the connection to access point to initiate in user's moving process, it is quick to be advantageous to mobile terminal It is connected to access point.
Embodiment two
Fig. 4 shows the composition structure of the control device for the connection access point that the embodiment of the present application one provides, for the ease of Illustrate, illustrate only the part related to the embodiment of the present application.
In the embodiment of the present application, described device is used to realize the control method of the connection access point described in Fig. 1 embodiments, It can be the unit for being built in the software unit of mobile terminal, hardware cell or software and hardware combining.The mobile terminal is set There are wireless link block, such as WiFi module, bluetooth module, a mobile data network module, including but not limited to smart mobile phone, flat Plate computer, learning machine or intelligent wearable device etc..
As shown in figure 4, described device includes:
Connection unit 401, for initiating the connection to access point;
Time determining unit 402 is disabled, if for the connection failure initiated access point, according to the connection of described access point The frequency of failure determines the disabling time corresponding to described access point, and the connection failure number disables the time into positive correlation with described;
Forbidden cell 403, for forbidding initiating the connection to described access point within the disabling time.
In the present embodiment, by being controlled to connection access point, when the number of connection failure is more, show current environment It is relatively low that the possibility of the access point can be successfully connected down, therefore correspondingly extends the disabling time, may after the time is disabled The abnormal factor of connection has been solved, and the successful possibility for now initiating connection to access point again again is also higher.So as to Electric quantity consumption unnecessary caused by connecting repeatedly can be avoided.
Optionally, the accumulative connection failure number for obtaining described access point in nearest one section of preset time, including:
If successful connection connection described access point of the initiation to access point, after calculating is successfully connected described access point Holding connection duration;
If described keep connection duration to exceed very first time threshold value, the number of accumulative connection failure is reset.
Optionally, the connection failure number according to access point determine described access point corresponding to disable the time, including:
Obtain the current continuously coupled frequency of failure of described access point;
The time is disabled according to corresponding to the continuously coupled frequency of failure determines described access point.
Optionally, the connection failure number according to access point determine described access point corresponding to disable the time, including:
Obtain the current continuously coupled frequency of failure of described access point;
The time is disabled according to corresponding to the continuously coupled frequency of failure determines described access point.
Optionally, the forbidden cell is additionally operable to:
If the connection failure initiated described access point, and the connection failure number of described access point has reached default threshold Value, the time is disabled according to corresponding to the connection failure number of described access point determines described access point.
In the present embodiment, during actually access point is connected, connection failure has many accidentalia, and number is few Connection failure be acceptable, therefore and need not after each connection failure all disabling connection.Pass through in the present embodiment Set predetermined threshold value, when the number of connection failure has reached predetermined threshold value, just enable the disabling time, so as to avoid due to Connection failure caused by accidental factor extends the disabling time without necessary, improves the effect that mobile terminal is connected to access point Rate.
Optionally, described device also includes:
Connection closed unit, if the duration for the disabling time connects more than the second time threshold, closing to described The linkage function of access point
Optionally, described device also includes:
Mobile detection unit, for detecting whether mobile terminal moves within the disabling time;
Mobile link unit, if for detecting that the mobile terminal is moving, and the translational speed is in predetermined model In enclosing, then suspend the disabling time, and initiate the connection to described access point.
The present embodiment within the disabling time by detecting whether mobile terminal is moved to judge whether user is finding signal Stronger link position.So as to keep the connection to access point to initiate in user's moving process, it is quick to be advantageous to mobile terminal It is connected to access point.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present application forms any limit with its function and internal logic It is fixed.
Embodiment three
The embodiment of the present application provides a kind of electric terminal, referring to Fig. 5, the electric terminal in the embodiment of the present application includes: Memory 501, one or more processors 502 (one is only shown in Fig. 5) and is stored on memory 501 and can be in processor The computer program of upper operation.Wherein:Memory 501 is used to store software program and module, and processor 502 is deposited by operation The software program and unit in memory 501 are stored up, so as to perform various function application and data processing.Specifically, handle Device 502 realizes following steps when being stored in the above computer program of memory 501 by operation:
Initiate the connection to access point;
If the connection failure initiated access point, described access point pair is determined according to the connection failure number of described access point The disabling time answered, the connection failure number disable the time into positive correlation with described;
Forbid initiating the connection to described access point within the disabling time.
Assuming that above-mentioned is the first possible embodiment, then provided based on the first possible embodiment Second of possible embodiment in, the connection failure number according to access point determine described access point corresponding to disabling Time, including:
Obtain accumulative connection failure number of the described access point in nearest one section of preset time;
The time is disabled according to corresponding to the accumulative connection failure number determines described access point.
It is described in the third the possible embodiment provided based on above-mentioned second possible implementation Accumulative connection failure number of the described access point in nearest one section of preset time is obtained, including:
If successful connection connection described access point of the initiation to access point, after calculating is successfully connected described access point Holding connection duration;
If described keep connection duration to exceed very first time threshold value, the number of accumulative connection failure is reset.
It is described in the 4th kind of possible embodiment provided based on the first above-mentioned possible implementation The time is disabled according to corresponding to the connection failure number of access point determines described access point, including:
Obtain the current continuously coupled frequency of failure of described access point;
The time is disabled according to corresponding to the continuously coupled frequency of failure determines described access point.
In the 5th kind of possible embodiment provided based on above-mentioned first to fourth kind possible implementation, If the connection failure initiated access point, according to corresponding to the connection failure number of described access point determines described access point The time is disabled, including:
If the connection failure initiated described access point, and the connection failure number of described access point has reached default threshold Value, the time is disabled according to corresponding to the connection failure number of described access point determines described access point.
In the 6th kind of possible embodiment provided based on above-mentioned the first to five kind possible implementation, Including:If the duration of the disabling time closes the linkage function to described access point more than the second time threshold.
Optionally, as shown in figure 5, above-mentioned electric terminal may also include:One or more input equipments 503 (only show in Fig. 5 Go out one) and one or more output equipments 504 (one is only shown in Fig. 5).Memory 501, processor 502, input equipment 503 and output equipment 504 connected by bus 505.
It should be appreciated that in the embodiment of the present application, alleged processor 302 can be CPU (Central Processing Unit, CPU), the processor can also be other general processors, digital signal processor (Digital Signal Processor, DSP), application specific integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field-Programmable Gate Array, FPGA) or other FPGAs Device, discrete gate or transistor logic, discrete hardware components etc..General processor can be microprocessor or this at It can also be any conventional processor etc. to manage device.
Input equipment 503 can include keyboard, Trackpad, fingerprint adopt sensor (finger print information that is used to gathering user and The directional information of fingerprint), microphone etc., output equipment 504 can include display, loudspeaker etc..
Memory 504 can include read-only storage and random access memory, and provide instruction sum to processor 501 According to.Part or all of memory 504 can also include nonvolatile RAM.For example, memory 504 may be used also With the information of storage device type.
Therefore the application initiates the connection to access point first;If the connection failure initiated access point, according to institute The connection failure number for stating access point determines disabling time corresponding to described access point, the connection failure number and the disabling Time is into positive correlation;Forbid initiating the connection to described access point within the disabling time.So as to avoid the company of initiation repeatedly The power consumption of mobile terminal caused by connecing.Obtain a balance in connection speed and power consumption, both can guarantee that the speed that connects automatically or Power consumption can be taken into account.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of said apparatus are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed Scope of the present application.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, system embodiment described above is only schematical, for example, the division of above-mentioned module or unit, Only a kind of division of logic function, can there is an other dividing mode when actually realizing, such as multiple units or component can be with With reference to or be desirably integrated into another system, or some features can be ignored, or not perform.It is another, it is shown or discussed Mutual coupling or direct-coupling or communication connection can be by some interfaces, the INDIRECT COUPLING of device or unit or Communication connection, can be electrical, mechanical or other forms.
The above-mentioned unit illustrated as separating component can be or may not be physically separate, show as unit The part shown 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 be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
If above-mentioned integrated unit is realized in the form of SFU software functional unit and is used as independent production marketing or use When, it can be stored in a computer read/write memory medium.Based on such understanding, the application realizes above-described embodiment side All or part of flow in method, by computer program the hardware of correlation can also be instructed to complete, above-mentioned computer Program can be stored in a computer-readable recording medium, and the computer program can be achieved above-mentioned each when being executed by processor The step of individual embodiment of the method.Wherein, above computer program includes computer program code, and above computer program code can Think source code form, object identification code form, executable file or some intermediate forms etc..Above computer computer-readable recording medium can be with Including:Any entity or device, recording medium, USB flash disk, mobile hard disk, magnetic disc, the light of above computer program code can be carried Disk, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It should be noted that above computer The content that computer-readable recording medium includes can carry out appropriate increase and decrease according to legislation in jurisdiction and the requirement of patent practice, such as In some jurisdictions, according to legislation and patent practice, computer-readable medium does not include being electric carrier signal and telecommunications letter Number.
Above above-described embodiment is only to illustrate the technical scheme of the application, rather than its limitations;Although with reference to foregoing reality Example is applied the application is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of each embodiment technical scheme of the application, all should Within the protection domain of the application.

Claims (10)

  1. A kind of 1. control method for connecting access point, it is characterised in that including:
    Initiate the connection to access point;
    If the connection failure initiated access point, according to corresponding to the connection failure number of described access point determines described access point The time is disabled, the connection failure number disables the time into positive correlation with described;
    Forbid initiating the connection to described access point within the disabling time.
  2. 2. control method as claimed in claim 1, it is characterised in that the connection failure number according to access point determines institute The disabling time corresponding to access point is stated, including:
    Obtain accumulative connection failure number of the described access point in nearest one section of preset time;
    The time is disabled according to corresponding to the accumulative connection failure number determines described access point.
  3. 3. control method as claimed in claim 2, it is characterised in that the acquisition described access point is when nearest one section default Interior accumulative connection failure number, including:
    If successful connection connection described access point of the initiation to access point, calculating are successfully connected the guarantor after described access point Hold connection duration;
    If described keep connection duration to exceed very first time threshold value, the number of accumulative connection failure is reset.
  4. 4. control method as claimed in claim 1, it is characterised in that the connection failure number according to access point determines institute The disabling time corresponding to access point is stated, including:
    Obtain the current continuously coupled frequency of failure of described access point;
    The time is disabled according to corresponding to the continuously coupled frequency of failure determines described access point.
  5. 5. the control method as described in any one of Claims 1-4, it is characterised in that if the connection initiated access point Failure, the time is disabled according to corresponding to the connection failure number of described access point determines described access point, including:
    If the connection failure initiated described access point, and the connection failure number of described access point has reached predetermined threshold value, root Determine to disable the time corresponding to described access point according to the connection failure number of described access point.
  6. 6. the control method as described in any one of claim 1 to 5, it is characterised in that
    If the duration of the disabling time closes the linkage function to described access point more than the second time threshold.
  7. A kind of 7. control device for connecting access point, it is characterised in that including:
    Connection unit, for initiating the connection to access point;
    Time determining unit is disabled, if for the connection failure initiated access point, according to the connection failure of described access point time Number determines disabling time corresponding to described access point, the connection failure number and the disabling time into positive correlation;
    Forbidden cell, for forbidding initiating the connection to described access point within the disabling time.
  8. 8. control device as claimed in claim 7, it is characterised in that the connection failure number according to access point determines institute The disabling time corresponding to access point is stated, including:
    Obtain accumulative connection failure number of the described access point in nearest one section of preset time;
    The time is disabled according to corresponding to the accumulative connection failure number determines described access point.
  9. 9. a kind of terminal device, including memory, processor and it is stored in the memory and can be on the processor The computer program of operation, it is characterised in that realize such as claim 1 to 6 described in the computing device during computer program The step of any one methods described.
  10. 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In when the computer program is executed by processor the step of realization such as any one of claim 1 to 6 methods described.
CN201711173296.7A 2017-11-22 2017-11-22 Control method and device for connecting access point Expired - Fee Related CN107682909B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711173296.7A CN107682909B (en) 2017-11-22 2017-11-22 Control method and device for connecting access point

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711173296.7A CN107682909B (en) 2017-11-22 2017-11-22 Control method and device for connecting access point

Publications (2)

Publication Number Publication Date
CN107682909A true CN107682909A (en) 2018-02-09
CN107682909B CN107682909B (en) 2020-06-26

Family

ID=61149270

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711173296.7A Expired - Fee Related CN107682909B (en) 2017-11-22 2017-11-22 Control method and device for connecting access point

Country Status (1)

Country Link
CN (1) CN107682909B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112243211A (en) * 2020-10-13 2021-01-19 安徽江淮汽车集团股份有限公司 Vehicle-mounted terminal networking method, device, equipment and storage medium
CN112351471A (en) * 2020-08-24 2021-02-09 深圳Tcl新技术有限公司 Method for accessing device to gateway, gateway device and computer readable storage medium
WO2022193798A1 (en) * 2021-03-15 2022-09-22 Oppo广东移动通信有限公司 Method for standalone weak coverage, and terminal device and storage medium
US12028811B2 (en) 2019-05-16 2024-07-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for controlling power consumption of terminal, and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101841831A (en) * 2010-04-27 2010-09-22 展讯通信(上海)有限公司 Method for detecting base station identification code in GSM (Global System for Mobile communications) neighbouring cell, and terminal device
CN102256323A (en) * 2011-07-29 2011-11-23 华为终端有限公司 Network registration method and device
CN102318230A (en) * 2009-02-03 2012-01-11 Itec东京株式会社 Method for detecting distributed peer to transmit multimedia data in wireless peer-to-peer network
EP2472958A1 (en) * 2010-12-30 2012-07-04 HTC Corporation Methods for access control with a back-off timer maintained for low priority devices or machine type communication (MTC) devices, and apparatuses using the same
WO2012148257A1 (en) * 2011-04-26 2012-11-01 Mimos Berhad Method for use in multi hop wireless sensor network
CN103981919A (en) * 2014-04-30 2014-08-13 华侨大学 Device and method for prolonging standby time of onboard communication terminal of excavator
CN104066151A (en) * 2013-03-22 2014-09-24 株式会社日立制作所 Base station device and access control method thereof
CN105307188A (en) * 2014-05-28 2016-02-03 苹果公司 User Context Aware Throttling of Transition Attempts to Connected Mode
CN105357146A (en) * 2015-10-21 2016-02-24 北京交通大学 Saturation attack defending method, device and system of buffer queue in outlet gateway
CN107332741A (en) * 2017-08-25 2017-11-07 广东欧珀移动通信有限公司 A kind of network detecting method, network detection means and intelligent terminal

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102318230A (en) * 2009-02-03 2012-01-11 Itec东京株式会社 Method for detecting distributed peer to transmit multimedia data in wireless peer-to-peer network
CN101841831A (en) * 2010-04-27 2010-09-22 展讯通信(上海)有限公司 Method for detecting base station identification code in GSM (Global System for Mobile communications) neighbouring cell, and terminal device
EP2472958A1 (en) * 2010-12-30 2012-07-04 HTC Corporation Methods for access control with a back-off timer maintained for low priority devices or machine type communication (MTC) devices, and apparatuses using the same
WO2012148257A1 (en) * 2011-04-26 2012-11-01 Mimos Berhad Method for use in multi hop wireless sensor network
CN102256323A (en) * 2011-07-29 2011-11-23 华为终端有限公司 Network registration method and device
CN104066151A (en) * 2013-03-22 2014-09-24 株式会社日立制作所 Base station device and access control method thereof
CN103981919A (en) * 2014-04-30 2014-08-13 华侨大学 Device and method for prolonging standby time of onboard communication terminal of excavator
CN105307188A (en) * 2014-05-28 2016-02-03 苹果公司 User Context Aware Throttling of Transition Attempts to Connected Mode
CN105357146A (en) * 2015-10-21 2016-02-24 北京交通大学 Saturation attack defending method, device and system of buffer queue in outlet gateway
CN107332741A (en) * 2017-08-25 2017-11-07 广东欧珀移动通信有限公司 A kind of network detecting method, network detection means and intelligent terminal

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US12028811B2 (en) 2019-05-16 2024-07-02 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Method and apparatus for controlling power consumption of terminal, and storage medium
CN112351471A (en) * 2020-08-24 2021-02-09 深圳Tcl新技术有限公司 Method for accessing device to gateway, gateway device and computer readable storage medium
CN112351471B (en) * 2020-08-24 2024-04-30 深圳Tcl新技术有限公司 Method for accessing device to gateway, gateway device and computer readable storage medium
CN112243211A (en) * 2020-10-13 2021-01-19 安徽江淮汽车集团股份有限公司 Vehicle-mounted terminal networking method, device, equipment and storage medium
WO2022193798A1 (en) * 2021-03-15 2022-09-22 Oppo广东移动通信有限公司 Method for standalone weak coverage, and terminal device and storage medium

Also Published As

Publication number Publication date
CN107682909B (en) 2020-06-26

Similar Documents

Publication Publication Date Title
CN107682909A (en) A kind of control method and device for connecting access point
EP3016451B1 (en) Electronic device and method of controlling power of electronic device background
CN107609375B (en) Unlocking control method and related product
US9325189B2 (en) Battery, and method, device, and system for battery protection
EP3340424B1 (en) Electronic device and method of controlling charging of the same
US20160357616A1 (en) Application management method and application management apparatus
US20180137565A1 (en) Method, device, and storage medium for determining credit score
CN107526609A (en) Electronic equipment including EUICC and the method for operating the electronic equipment
CN107484190B (en) Method for connecting network, mobile terminal and computer readable storage medium
CN109324902B (en) Method for adjusting working frequency of mobile terminal, mobile terminal and storage medium
CN106851754B (en) A kind of cell registration method and device
CN112292604B (en) Battery voltage compensation method and device and terminal equipment
CN111416412B (en) Charging control method and device and terminal equipment
CN107317918B (en) Parameter setting method and related product
CN107402808B (en) Process management method, device, storage medium and electronic equipment
CN112135325A (en) Network switching method, device, storage medium and terminal
CN108647050A (en) Application program launching method, device and mobile terminal
CN108021454A (en) A kind of method, terminal and the computer-readable storage medium of processor load equilibrium
CN107197489A (en) Method for switching network, mobile terminal and computer-readable recording medium
CN107404740A (en) Method for switching network, device and the terminal device of safety
CN106648854A (en) Task execution method and device for terminal
KR102205935B1 (en) Method and terminal for adjusting screen-on duration of terminal
CN105530673B (en) A kind of method for connecting network and user equipment
CN107277896A (en) Wifi hotspot management method, device and terminal device
CN105204891B (en) Downloading method and device for shutdown of mobile terminal and mobile 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: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant after: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

Address before: Changan town in Guangdong province Dongguan 523860 usha Beach Road No. 18

Applicant before: GUANGDONG OPPO MOBILE TELECOMMUNICATIONS Corp.,Ltd.

CB02 Change of applicant information
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20200626

CF01 Termination of patent right due to non-payment of annual fee