CN108966366A - WiFi disconnects method of adjustment, device, mobile terminal and storage medium - Google Patents
WiFi disconnects method of adjustment, device, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN108966366A CN108966366A CN201810604013.8A CN201810604013A CN108966366A CN 108966366 A CN108966366 A CN 108966366A CN 201810604013 A CN201810604013 A CN 201810604013A CN 108966366 A CN108966366 A CN 108966366A
- Authority
- CN
- China
- Prior art keywords
- wifi
- mobile terminal
- crowding
- wifi channel
- channel
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
- H04W76/34—Selective release of ongoing connections
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W76/00—Connection management
- H04W76/30—Connection release
- H04W76/38—Connection release triggered by timers
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/08—Testing, supervising or monitoring using real traffic
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The embodiment of the present application discloses a kind of WiFi and disconnects method of adjustment, device, mobile terminal and storage medium, is related to field of communication technology.The described method includes: the WiFi channel where the WiFi that detection is connect with mobile terminal, is obtained the current crowding of the WiFi channel, the present beacon timeout value between mobile terminal and the WiFi is determined based on the current crowding.WiFi provided by the embodiments of the present application disconnects method of adjustment, device, mobile terminal and storage medium and passes through the crowding for the place the WiFi WiFi channel connecting with mobile terminal, configure the beacon timeout value between mobile terminal and the WiFi of connection, with more compatibility, user experience is higher.
Description
Technical field
This application involves fields of communication technology, disconnect method of adjustment, device, movement eventually more particularly, to a kind of WiFi
End and storage medium.
Background technique
When mobile terminal opens wireless lan function, mobile terminal can be to the Wireless Fidelity of ambient enviroment
(Wireless Fidelity, WiFi) hot spot is attached, in certain time upon connection, if not receiving continuously certain
Beacon (beacon) frame just will do it WiFi disconnection.But currently, the strategy that WiFi is disconnected is sentenced using fixed disconnection
The long this mode of timing, compatibility is low, and user experience is not high.
Summary of the invention
In view of the above problems, present applicant proposes a kind of WiFi to disconnect method of adjustment, device, mobile terminal and storage
Medium, by the crowding of WiFi channel where the WiFi that is connect with mobile terminal, configure mobile terminal and connection WiFi it
Between beacon timeout value, with more compatibility, user experience is higher.
In a first aspect, the embodiment of the present application, which provides a kind of WiFi, disconnects method of adjustment, which comprises detection with
WiFi channel where the WiFi of mobile terminal connection;Obtain the current crowding of the WiFi channel;It is currently gathered around based on described
Squeeze the present beacon timeout value spent and determined between the mobile terminal and the WiFi.
Second aspect, the embodiment of the present application provide a kind of WiFi disconnection adjustment device, and described device includes: WiFi letter
Road detection module, for detecting the WiFi channel where the WiFi connecting with mobile terminal;Current crowding obtains module, uses
In the current crowding for obtaining the WiFi channel;Present beacon timeout value obtains module, for being based on the current crowding
Determine the present beacon timeout value between the mobile terminal and the WiFi.
The third aspect, the embodiment of the present application provide a kind of mobile terminal, including display screen, memory and processor,
The display screen and the memory are couple to the processor, the memory store instruction, when described instruction is by described
It manages processor when device executes and executes the above method.
Fourth aspect, the computer that the embodiment of the present application provides a kind of program code that can be performed with processor can
Storage medium is read, said program code makes the processor execute the above method.
A kind of WiFi provided by the embodiments of the present application disconnects method of adjustment, device, mobile terminal and storage medium, inspection
The WiFi channel where the WiFi connecting with mobile terminal is surveyed, the current crowding of the WiFi channel is obtained, is currently gathered around based on this
The present beacon timeout value spent and determined between mobile terminal and the WiFi is squeezed, to pass through the WiFi institute connecting with mobile terminal
In the crowding of WiFi channel, the beacon timeout value between mobile terminal and the WiFi of connection is configured, with more compatibility, is used
Family Experience Degree is higher.
These aspects or other aspects of the application can more straightforward in the following description.
Detailed description of the invention
In order to more clearly explain the technical solutions in the embodiments of the present application, required in being described below to embodiment
The attached drawing used is briefly described, it should be apparent that, the drawings in the following description are only some examples of the present application,
For those skilled in the art, without creative efforts, it can also be obtained according to these attached drawings other
Attached drawing.
Fig. 1 shows the flow diagram that the first WiFi provided by the embodiments of the present application disconnects method of adjustment;
Fig. 2 shows the flow diagrams that second of WiFi provided by the embodiments of the present application disconnects method of adjustment;
Fig. 3 shows the module frame chart that the first WiFi provided by the embodiments of the present application disconnects adjustment device;
Fig. 4 shows the module frame chart that second of WiFi provided by the embodiments of the present application disconnects adjustment device;
Fig. 5 shows a kind of structural schematic diagram of mobile terminal provided by the embodiments of the present application;
Fig. 6 shows the block diagram for executing the mobile terminal for disconnecting method of adjustment according to the WiFi of the embodiment of the present application.
Specific embodiment
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of embodiments of the present application, instead of all the embodiments.It is based on
Embodiment in the application, it is obtained by those of ordinary skill in the art without making creative efforts it is all its
Its embodiment, shall fall in the protection scope of this application.
With the development of mobile terminal, WLAN WiFi has become the standard configuration of all kinds of mobile terminals, passes through this
Configuration, mobile terminal can connect the Wi-Fi hotspot near it, surfed the Internet using Wi-Fi hotspot, also, after connecting certain
In time, if being continuously not received by the beacon frame that connected Wi-Fi hotspot is sent just will do it WiFi disconnection, still, mesh
The strategy that preceding WiFi is disconnected all is this mode that duration is determined using fixed disconnection, and compatibility is low, and user experience is not high.
In view of the above-mentioned problems, inventors herein propose WiFi provided by the embodiments of the present application disconnect method of adjustment, device, mobile terminal with
And storage medium, by the crowding of WiFi channel where the WiFi that is connect with mobile terminal, configuration mobile terminal with connect
WiFi between beacon timeout value, with more compatibility, user experience is higher.Wherein, specific WiFi disconnects adjustment side
Method is described in detail in subsequent embodiment.
Embodiment
Referring to Fig. 1, the process that Fig. 1 shows the first WiFi disconnection method of adjustment provided by the embodiments of the present application is shown
It is intended to.The WiFi disconnects method of adjustment and is used to match by the crowding for the place the WiFi WiFi channel connecting with mobile terminal
The beacon timeout value between mobile terminal and the WiFi of connection is set, with more compatibility, user experience is higher.Specific
In embodiment, the WiFi disconnects method of adjustment and is applied to WiFi disconnection adjustment device 200 as shown in Figure 3 and is configured with
The WiFi disconnects the mobile terminal (Fig. 5) of adjustment device 200.It will illustrate the tool of the present embodiment by taking mobile terminal as an example below
Body process, it will of course be understood that, mobile terminal applied by the present embodiment can be smart phone, tablet computer, wearing
Formula electronic equipment etc. does not do specific restriction herein.It will be explained in detail below for process shown in FIG. 1, it is described
WiFi, which disconnects method of adjustment, can specifically include following steps:
Step S101: the WiFi channel where the WiFi that detection is connect with mobile terminal.
In the present embodiment, mobile terminal, can be by when scanning all WiFi access points in network coverage
The WiFi channel supported according to mobile terminal carries out the scanning of WiFi channel one by one, to obtain the multiple WiFi channels scanned
In WiFi access point on each WiFi channel, and determine that a WiFi access point is attached from multiple WiFi access points.
Further, after mobile terminal is connect with WiFi, the WiFi channel where the WiFi connecting with mobile terminal is examined
It surveys, to obtain the WiFi channel where the WiFi connecting with mobile terminal.
Step S102: the current crowding of the WiFi channel is obtained.
Wherein, crowding can reflect the quality of the communication quality of WiFi channel, it is possible to understand that, when WiFi channel
When crowding is higher, the communication quality for characterizing the WiFi channel is not good enough, opposite, when the crowding of WiFi channel is lower, table
The communication quality for levying the WiFi channel is good.
As a kind of mode, the crowding which can be determined by the routing quantity on the WiFi channel,
Specifically, after determining the WiFi channel where the WiFi connecting with mobile terminal, to the current routing number on the WiFi channel
Amount is obtained, it can is obtained, and is based on to the quantity of the current attachable WiFi access point on the WiFi channel
The current routing quantity obtained determines the current crowding of the WiFi channel, it is possible to understand that, it is current to route quantity and currently gather around
Crowded degree is positively correlated, i.e., when the current routing quantity on the WiFi channel is more, characterizes the current crowding of the WiFi channel
It is higher, it is more crowded;When the current routing quantity on the WiFi channel is fewer, the current crowding for characterizing the WiFi channel is got over
It is low, it is more not crowded.In addition, in the present embodiment, the occurrence of crowding can also being calculated by routing quantity, is then established
And the mapping relations between routing quantity and the occurrence of crowding are saved, to obtain the current routing on WiFi channel
When quantity, the occurrence of the crowding of the WiFi channel can be quickly positioned.
Alternatively, gathering around for the WiFi channel can also be determined by the transmission rate on the WiFi channel
Degree is squeezed, specifically, after determining the WiFi channel where the WiFi connecting with mobile terminal, forward pass is worked as to the WiFi channel
Defeated rate is obtained, and the current crowding of the WiFi channel is determined based on the current transmission rate of acquisition, it is possible to understand that
, current transmission rate is negatively correlated with current crowding, i.e., when the current transmission rate on the WiFi channel is faster, table
The current crowding for levying the WiFi channel is lower, more not crowded;When the current transmission rate on the WiFi channel is slower, table
The current crowding for levying the WiFi channel is higher, more crowded.In addition, in the present embodiment, can also be calculated by transmission rate
Then the mapping relations between transmission rate and the occurrence of crowding are established and saved to the occurrence of crowding, so as to
When obtaining the current transmission rate on WiFi channel, the occurrence of the crowding of the WiFi channel can be quickly positioned.
Certainly, in the present embodiment, the current routing quantity and current transmission of the synthesis WiFi channel can also be passed through
Rate, and the judgement of current crowding is carried out according to the result after synthesis, it does not do herein specifically defined.
Step S103: the present beacon between the mobile terminal and the WiFi is determined based on the current crowding
Timeout value.
Wherein, beacon timeout value (beacon timeout) refers within a certain period of time continuously when not receiving beacon frame
The duration disconnected.For example, when mobile terminal and WiFi are in connection status, it is assumed that mobile terminal has left this
The case where beacon timeout will occur in the region that WiFi is covered, i.e., if being not received by the WiFi's for a long time
Beacon frame signal, mobile terminal will be considered that the mobile terminal has had been moved off the overlay area WiFi, can select to disconnect and be somebody's turn to do
The connection of WiFi.
Therefore, in the present embodiment, the current of the WiFi channel where the WiFi connecting with mobile terminal has been determined gathers around
It squeezes when spending, since the size of the current crowding has reacted the signal quality of the WiFi channel, according to the current crowding
It determines the beacon timeout of the WiFi channel, can determine the channel for the signal quality of the WiFi channel
beacon timeout。
As a kind of mode, as shown in table 1, the current crowding that can be the WiFi channel is higher, the letter of WiFi channel
Number quality is poorer, then the beacon timeout between mobile terminal and WiFi is shorter, can be bad for those signal qualities
WiFi channel shorten the beacon timeout time because the signal quality of the WiFi channel is bad, then on the WiFi channel
The signal quality of WiFi also can be poor, then the WiFi on the WiFi channel can be abandoned, to guarantee that mobile terminal connects
Communication quality more preferably WiFi.
Table 1
Crowding | beacon timeout |
60 | 10s |
70 | 9s |
80 | 8s |
90 | 7s |
Alternatively, as shown in table 2, the current crowding that can be WiFi channel is higher, the letter of WiFi channel
Number quality is poorer, then the beacon timeout between mobile terminal and WiFi is longer, then can be for those signal qualities not
The good WiFi channel lengthening beacon timeout time may result in letter because the signal quality of WiFi channel is bad
Number transmission is slower, needs the longer time that can just receive signal, then needs to lengthen the beacon timeout time, to protect
The stability connected between card mobile terminal and WiFi.
Table 2
Crowding | beacon timeout |
60 | 7s |
70 | 8s |
80 | 9s |
90 | 10s |
It therefore, can be the WiFi on the WiFi channel according to the crowding after the crowding for determining the WiFi channel
A beacon timeout is configured, i.e., is manually each channel configuration beacon timeout, it is of course also possible to be setting
The corresponding relationship etc. of one crowding and beacon timeout, not do specific restriction herein, to promote WiFi connection
Success rate.Optionally, in the present embodiment, it is positively correlated between the crowding and beacon timeout of the WiFi channel,
Mapping relations i.e. as shown in Table 2.
The first WiFi provided by the embodiments of the present application disconnects method of adjustment, detects the WiFi institute connecting with mobile terminal
WiFi channel, obtain the current crowding of the WiFi channel, based on the current crowding determine mobile terminal and WiFi it
Between present beacon timeout value, thus by the crowding of WiFi channel where the WiFi that is connect with mobile terminal, configuration movement
Beacon timeout value between terminal and the WiFi of connection, with more compatibility, user experience is higher.
Referring to Fig. 2, Fig. 2 shows second of WiFi provided by the embodiments of the present application processes for disconnecting method of adjustment to show
It is intended to.It will be explained in detail below for process shown in Fig. 2, the method can specifically include following steps:
Step S201: each WiFi channel in multiple WiFi channels that the mobile terminal is supported is configured in difference
Beacon timeout value under crowding.
Wherein, to mobile terminal beacon timeout of each WiFi channel supported under different crowdings can
To be to obtain when in use, it is also possible to test and configure before mobile terminal dispatches from the factory.Specifically, when the mobile terminal
In the WiFi channel supported when the beacon timeout under different crowdings is by testing and configuring before dispatching from the factory, then,
Before mobile terminal factory, test environment can be pre-established, for example, by the communication quality to mobile terminal on WiFi channel
The influential other influences factor in addition to crowding immobilizes, then each WiFi channel that mobile terminal is supported
Crowding is tested, and according to the corresponding beacon timeout of the different crowdings of test result configuration, to obtain the movement
Beacon timeout of each WiFi channel that terminal is supported under different crowdings.
Wherein, the WiFi channel that mobile terminal is supported may include one or more of 1 channel to 13 channels, example
Such as, if the supported WiFi channel of mobile terminal includes all WiFi channels of 1 channel into 13 channels, obtain respectively this 13
Beacon timeout of a WiFi channel under different crowdings.
Step S202: establishing and saves between each WiFi channel, the crowding and the beacon timeout value
Mapping relations, wherein the crowding is positively correlated with the beacon timeout value.
Further, in the present embodiment, before mobile terminal factory, its gathering around in each WiFi channel is established
The mapping relations between degree and beacon timeout are squeezed, the mapping relations between crowding and beacon timeout are protected
Deposit to mobile terminal, so as in mobile terminal in use, directly obtaining beacon from local by the crowding of WiFi channel
Timeout accelerates acquisition speed.Optionally, in the present embodiment, the crowding of the WiFi channel and beacon timeout
Between be positively correlated, as shown in table 2.
Step S203: the WiFi channel where the WiFi that detection is connect with mobile terminal.
Step S204: the current crowding of the WiFi channel is obtained.
Step S205: the mapping between each WiFi channel, the crowding and the beacon timeout value is obtained
Relationship.
Step S206: based on mapping relationship searching present beacon timeout value corresponding with the current crowding.
Wherein, it in the use process of mobile terminal, is gathered around when detecting wait the current of WiFi channel where connecting WiFi
It squeezes when spending, obtains between the crowding and beacon timeout for each WiFi channel for being stored in mobile terminal before factory
Mapping relations, and the WiFi channel where searching the WiFi that connect with mobile terminal in the mapping relations is current crowded
Spend corresponding beacon timeout, using the beacon timeout as on the WiFi channel mobile terminal with connect
Optimal beacon timeout between WiFi, the reasonability that promotion WiFi turn-off time determines.
Step S207: when the mobile terminal is not received by beacon frame in the present beacon timeout value, control
The mobile terminal disconnects the connection between the WiFi.
In the present embodiment, if mobile terminal is not received by beacon frame in the beacon timeout of setting, break
Open the connection between the mobile terminal and WiFi.
Step S208: the mobile terminal and the automatic disconnection times of the WiFi within a preset time are obtained;
It should be understood that mobile terminal and the WiFi are upon opening, it can rescan and cover all of the mobile terminal
WiFi trial is attached, and therefore, which may rescan and connect after disconnecting with the WiFi
The WiFi.In the present embodiment, mobile terminal and the automatic disconnection times of the WiFi within a preset time are examined
It surveys, wherein the preset time can be by system configuration, can also be by user's self-setting, it is not limited here.
Step S209: judge whether the automatic disconnection times are greater than preset times.
As a kind of mode, the mobile terminal presets and is stored with preset times, wherein the preset times are used
In the judgment basis as the automatic disconnection times.Specifically, detect mobile terminal and WiFi within a preset time from
When dynamic disconnection times, automatic disconnection times are compared with preset times, to judge it is pre- whether the automatic disconnection times are greater than
If number, when the automatic disconnection times are greater than preset times, the failure of the WiFi is characterized, then display and reporting fault
Prompt information, to facilitate user to understand the situation of the WiFi in time and in time solve the WiFi failure.
Step S210: it when the automatic disconnection times are greater than the preset times, show and reporting fault prompt is believed
Breath.
It is removed as a kind of mode when the automatic disconnection times between the mobile terminal and WiFi are greater than preset times
Except display and reporting fault prompt information, the crowding of each WiFi channel that can also be obtained, and it is based on each WiFi
The crowding of channel is ranked up multiple WiFi channels, to obtain current WiFi channel sequence.It should be understood that WiFi believes
The crowding in road is smaller, and the communication quality for characterizing the mobile terminal in the WiFi channel is better, therefore, can be based on multiple
The crowding of WiFi channel is ranked up multiple WiFi channels, specifically, by comparing each WiFi channel crowding,
Then multiple WiFi channels are ranked up further according to comparison result.
As a kind of mode, as shown in table 3, can by multiple WiFi channels by the crowding of each WiFi channel from low
It is ranked up to height, it can be seen that, crowding is lower, then the sequence of corresponding WiFi channel is more forward, and crowded from table 3
Spend higher, then the sequence of corresponding WiFi channel is more rearward.
Table 3
Crowding | Sequence |
60 | 1 |
70 | 2 |
80 | 3 |
90 | 4 |
In the present embodiment, successively multiple WiFi channels are scanned based on the current WiFi channel sequence, Ke Yili
Solution, the sequence of scanning is successively to scan from the highest WiFi channel that sorts to the minimum WiFi channel that sorts, wherein if
When sorting in highest WiFi channel scanning to the WiFi access point that can connect, then do not continue to be scanned, to promote shifting
Dynamic terminal access communications quality more preferably success rate while, power consumption caused by reducing mobile terminal due to scanning.
The embodiment of the present application provides second of WiFi and disconnects method of adjustment, multiple WiFi that configuration mobile terminal is supported
Beacon timeout value of each WiFi channel under different crowdings in channel, establishes and saves each WiFi channel, crowding
And the mapping relations between beacon timeout value, the WiFi channel where the WiFi connecting with mobile terminal is detected, obtaining should
The current crowding of WiFi channel obtains the mapping relations between each WiFi channel, crowding and beacon timeout value, base
In mapping relationship searching present beacon timeout value corresponding with current crowding, when mobile terminal is in present beacon timeout value
When being inside not received by beacon frame, control mobile terminal disconnects the connection between WiFi, obtains mobile terminal and the WiFi exists
Disconnection times in preset time, judge whether the disconnection times are greater than preset times, if so, simultaneously reporting fault mentions for display
Show information, to disconnect method of adjustment compared to the first WiFi, this method can not only quickly obtain beacon timeout value,
It can also timely reflect mobile terminal and the disconnection of WiFi.
Referring to Fig. 3, Fig. 3 shows the module that the first WiFi provided by the embodiments of the present application disconnects adjustment device 200
Block diagram.It will be illustrated below for block diagram shown in Fig. 3, it includes: the inspection of WiFi channel that the WiFi, which disconnects adjustment device 200,
Survey module 210, current crowding obtains module 220 and present beacon timeout value obtains module 230, in which:
WiFi channel detection module 210, for detecting the WiFi channel where the WiFi connecting with mobile terminal.
Current crowding obtains module 220, for obtaining the current crowding of the WiFi channel.
Present beacon timeout value obtains module 230, for determining the mobile terminal and institute based on the current crowding
State the present beacon timeout value between WiFi.
It please refers to 4, Fig. 4 and shows the module frame that second of WiFi provided by the embodiments of the present application disconnects adjustment device 300
Figure.It will be illustrated below for block diagram shown in Fig. 4, it includes: that beacon timeout value is matched that the WiFi, which disconnects adjustment device 300,
It sets module 310, mapping relations preserving module 320, WiFi channel detection module 330, crowding and obtains module 340, beacon time-out
Value determining module 350 disconnects control module 360, disconnection times acquisition module 370, disconnection times judgment module 380 and mentions
Show information display module 390, in which:
Beacon timeout value configuration module 310, it is every in multiple WiFi channels that the mobile terminal is supported for configuring
Beacon timeout value of a WiFi channel under different crowdings.
Mapping relations preserving module 320, for establishing and saving each WiFi channel, the crowding and institute
State the mapping relations between beacon timeout value, wherein the crowding is positively correlated with the beacon timeout value.
WiFi channel detection module 330, for detecting the WiFi channel where the WiFi connecting with mobile terminal.
Crowding obtains module 340, for obtaining the current crowding of the WiFi channel.
Beacon timeout value determining module 350, for based on the current crowding determine the mobile terminal with it is described
Present beacon timeout value between WiFi.Further, the beacon timeout value determining module 350 includes: that mapping relations obtain
Submodule and beacon timeout value determine submodule, in which:
Mapping relations acquisition submodule is super for obtaining each WiFi channel, the crowding and the beacon
Mapping relations between duration.
Beacon timeout value determines submodule, for corresponding with the current crowding based on the mapping relationship searching
Present beacon timeout value.
Control module 360 is disconnected, for being not received by letter in the present beacon timeout value when the mobile terminal
When marking frame, the connection between the mobile terminal disconnection and the WiFi is controlled.
Disconnection times obtain module 370, for obtaining the mobile terminal and the WiFi within a preset time automatic
Disconnection times.
Disconnection times judgment module 380, for judging whether the automatic disconnection times are greater than preset times.
Prompt information display module 390, for when the automatic disconnection times are greater than the preset times, display to be simultaneously
Reporting fault prompt information.
In conclusion a kind of WiFi provided by the embodiments of the present application disconnects method of adjustment, device, mobile terminal and deposits
Storage media detects the WiFi channel where the WiFi connecting with mobile terminal, obtains the current crowding of the WiFi channel, base
The present beacon timeout value between mobile terminal and WiFi is determined in the current crowding, thus by connecting with mobile terminal
WiFi where WiFi channel crowding, the beacon timeout value between mobile terminal and the WiFi of connection is configured, with more simultaneous
Capacitive, user experience are higher.
It should be noted that all the embodiments in this specification are described in a progressive manner, each embodiment weight
Point explanation is all differences from other embodiments, and the same or similar parts between the embodiments can be referred to each other.
For device class embodiment, since it is basically similar to the method embodiment, so being described relatively simple, related place
Illustrate referring to the part of embodiment of the method.For arbitrary processing mode described in embodiment of the method, in device
It can be no longer repeated one by one in Installation practice by corresponding processing modules implement in embodiment.
Referring to Fig. 5, method of adjustment, device are disconnected based on above-mentioned WiFi, the embodiment of the present application also provides one kind
Mobile terminal 100 comprising electronic body portion 10, the electronic body portion 10 include shell 12 and be arranged in the shell 12
On main display 120.Metal can be used in the shell 12, such as steel, aluminium alloy are made.In the present embodiment, the main display
Screen 120 generally includes display panel 111, may also comprise for responding the circuit for carrying out touch control operation to the display panel 111
Deng.The display panel 111 can be a liquid crystal display panel (Liquid Crystal Display, LCD), some
In embodiment, the display panel 111 is a display screen 109 simultaneously.
Please refer to Fig. 6, in actual application scenarios, the mobile terminal 100 can be used as intelligent mobile phone terminal into
It exercises and uses, the electronic body portion 10 also typically includes one or more (only showing one in figure) processing in this case
Device 102, memory 104, RF (Radio Frequency, radio frequency) module 106, voicefrequency circuit 110, sensor 114, input mould
Block 118, power module 122.It will appreciated by the skilled person that structure shown in fig. 6 is only to illustrate, it is not right
The structure in the electronic body portion 10 causes to limit.For example, the electronic body portion 10 may also include it is more than shown in Fig. 6
Perhaps less component or with the configuration different from shown in Fig. 6.
It will appreciated by the skilled person that all other component is equal for the processor 102
Belong to peripheral hardware, is coupled between the processor 102 and these peripheral hardwares by multiple Peripheral Interfaces 124.The Peripheral Interface
124 can be based on following standard implementation: Universal Asynchronous Receive/sending device (Universal Asynchronous Receiver/
Transmitter, UART), universal input/output (General Purpose Input Output, GPIO), serial peripheral
Interface (Serial Peripheral Interface, SPI), internal integrated circuit (Inter-Integrated Circuit,
I2C), but it is not limited to above-mentioned standard.In some instances, the Peripheral Interface 124 can only include bus;In other realities
In example, the Peripheral Interface 124 may also include other elements, described aobvious such as one or more controller, such as connecting
Show the display controller of panel 111 or the storage control for connecting memory.In addition, these controllers can also be from
It detaches, and is integrated in the processor 102 or in corresponding peripheral hardware in the Peripheral Interface 124.
The memory 104 can be used for storing software program and module, and the processor 102 is stored in by operation
Software program and module in the memory 104, thereby executing various function application and data processing.For example, described
Memory 104 stores WiFi provided by the above embodiment and disconnects software program and module corresponding to method of adjustment, processor
When 102 WiFi for operationally stating embodiment offer disconnect the software program and module of method of adjustment, executes above-described embodiment and mention
The WiFi of confession disconnects method of adjustment.The memory 104 may include high speed random access memory, may also include non-volatile memories
Device, such as one or more magnetic storage device, flash memory or other non-volatile solid state memories.In some instances,
The memory 104 can further comprise the memory remotely located relative to the processor 102, these remote memories
Network connection to the electronic body portion 10 or the main display 120 can be passed through.The example of above-mentioned network includes but unlimited
In internet, intranet, local area network, mobile radio communication and combinations thereof.
The RF module 106 is used to receive and transmit electromagnetic wave, realizes the mutual conversion of electromagnetic wave and electric signal, from
And it is communicated with communication network or other equipment.The RF module 106 may include various existing for executing these function
The circuit element of energy, for example, antenna, RF transceiver, digital signal processor, encryption/deciphering chip, subscriber identity module
(SIM) card, memory etc..The RF module 106 can be carried out with various networks such as internet, intranet, wireless network
Communication is communicated by wireless network and other equipment.Above-mentioned wireless network may include cellular telephone networks, nothing
Line local area network or Metropolitan Area Network (MAN).Various communication standards, agreement and technology can be used in above-mentioned wireless network, including but not
It is limited to global system for mobile communications (Global System for Mobile Communication, GSM), enhanced movement is led to
Letter technology (Enhanced Data GSM Environment, EDGE), Wideband CDMA Technology (wideband code
Division multiple access, W-CDMA), Code Division Multiple Access (Code division access, CDMA), when
Division multiple access technology (time division multiple access, TDMA), adopting wireless fidelity technology (Wireless,
Fidelity, WiFi) (such as American Institute of Electrical and Electronics Engineers's standard IEEE 802.10A, IEEE 802.11b,
IEEE802.11g and/or IEEE 802.11n), it is the networking telephone (Voice over internet protocal, VoIP), complete
Ball microwave interconnecting accesses (Worldwide Interoperability for Microwave Access, Wi-Max), Qi Tayong
It in the agreement and any other suitable communications protocol of mail, instant messaging and short message, or even may include that those are current
The agreement not being developed yet.
Voicefrequency circuit 110, earpiece 101, sound jack 103, microphone 105 provide user and the electronic body jointly
Audio interface between portion 10 or the main display 120.Specifically, the voicefrequency circuit 110 is from the processor 102
Voice data is received, voice data is converted into electric signal, by electric signal transmission to the earpiece 101.The earpiece 101 will
Electric signal is converted to the sound wave that human ear can be heard.The voicefrequency circuit 110 receives electric signal also from the microphone 105, will
Electric signal is converted to voice data, and gives the processor 102 to be further processed data transmission in network telephony.Audio
Data can obtain from the memory 104 or through the RF module 106.In addition, audio data also can store
It is sent in the memory 104 or by the RF module 106.
The setting of sensor 114 is in the electronic body portion 10 or in the main display 120, the sensor
114 example includes but is not limited to: optical sensor, operation sensor, pressure sensor, gravity accelerometer and
Other sensors.
Specifically, the sensor 114 may include light sensor 114F, pressure sensor 114G.Wherein, pressure passes
Sensor 114G can detecte the sensor by pressing the pressure generated in mobile terminal 100.That is, pressure sensor 114G is detected
By the pressure of contact or pressing generation between user and mobile terminal, such as by between the ear and mobile terminal of user
The pressure that contact or pressing generate.Therefore, pressure sensor 114G may be used to determine between user and mobile terminal 100
Whether contacted or pressed and the size of pressure.
Referring to Fig. 6, specifically in the embodiment shown in fig. 6, the light sensor 114F and the pressure
Sensor 114G is arranged adjacent to the display panel 111.The light sensor 114F can have object close to the main display
When shielding 120, such as when the electronic body portion 10 is moved in one's ear, the processor 102 closes display output.
As a kind of motion sensor, gravity accelerometer can detect in all directions (generally three axis) and add
The size of speed can detect that size and the direction of gravity, can be used to identify answering for 100 posture of mobile terminal when static
With (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, percussion)
Deng.In addition, the electronic body portion 10 can also configure other sensors such as gyroscope, barometer, hygrometer, thermometer, herein
It repeats no more,
In the present embodiment, the input module 118 may include the display screen being arranged on the main display 120
109, the display screen 109 collects the touch operation of user on it or nearby, and (for example user is appointed using finger, stylus etc.
What operation of suitable object or attachment on the display screen 109 or near the display screen 109), and according to setting in advance
The corresponding attachment device of fixed driven by program.Optionally, the display screen 109 may include touch detecting apparatus and touch control
Device.Wherein, the touch orientation of the touch detecting apparatus detection user, and touch operation bring signal is detected, signal is passed
Give the touch controller;The touch controller receives touch information from the touch detecting apparatus, and by the touching
It touches information and is converted into contact coordinate, then give the processor 102, and order that the processor 102 is sent can be received and added
To execute.Furthermore, it is possible to realize the display screen using multiple types such as resistance-type, condenser type, infrared ray and surface acoustic waves
109 touch detection function.In addition to the display screen 109, in other change embodiments, the input module 118 may be used also
To include other input equipments, such as key 107.The key 107 for example may include the character keys for inputting character, with
And the control button for triggering control function.The example of the control button includes " returning to main screen " key, power on/off
Key etc..
The information and the electronics that the main display 120 is used to show information input by user, is supplied to user
The various graphical user interface of body part 10, these graphical user interface can by figure, text, icon, number, video and
Any combination thereof is constituted, in an example, the display screen 109 may be disposed on the display panel 111 to institute
It states display panel 111 and constitutes an entirety.
The power module 122 is used to provide power supply to the processor 102 and other each components.Specifically,
The power module 122 may include power-supply management system, one or more power supply (such as battery or alternating current), charging circuit,
Power-fail detection circuit, inverter, indicator of the power supply status and it is other arbitrarily with the electronic body portion 10 or the master
The generation, management of electric power and the relevant component of distribution in display screen 120.
The mobile terminal 100 further includes locator 119, and the locator 119 is for determining the mobile terminal 100
Locating physical location.In the present embodiment, the locator 119 realizes determining for the mobile terminal 100 using positioning service
Position, the positioning service, it should be understood that the location information of the mobile terminal 100 is obtained by specific location technology
(such as latitude and longitude coordinates) are marked on the electronic map by the technology or service of the position of positioning object.
It should be understood that above-mentioned mobile terminal 100 is not limited to intelligent mobile phone terminal, should refer to can be
Computer equipment used in movement.Specifically, mobile terminal 100, refers to the mobile computing for being equipped with intelligent operating system
Machine equipment, mobile terminal 100 include but is not limited to smart phone, smartwatch, tablet computer, etc..
In the description of this specification, reference term " one embodiment ", " some embodiments ", " example ", " specifically show
The description of example " or " some examples " etc. means specific features, structure, material or spy described in conjunction with this embodiment or example
Point is contained at least one embodiment or example of the application.In the present specification, schematic expression of the above terms are not
It must be directed to identical embodiment or example.Moreover, particular features, structures, materials, or characteristics described can be in office
It can be combined in any suitable manner in one or more embodiment or examples.In addition, without conflicting with each other, this field
Technical staff can by the feature of different embodiments or examples described in this specification and different embodiments or examples into
Row combination and combination.
In addition, term " first ", " second " are used for description purposes only, it is not understood to indicate or imply relatively important
Property or implicitly indicate the quantity of indicated technical characteristic." first " is defined as a result, the feature of " second " can be expressed
Or implicitly include at least one this feature.In the description of the present application, the meaning of " plurality " is at least two, such as two
It is a, three etc., unless otherwise specifically defined.
Any process or the method description described in other ways in flow chart or herein is construed as, and indicates packet
Include it is one or more for realizing specific logical function or process the step of executable instruction code module, segment
Or part, and the range of the preferred embodiment of the application includes other realization, wherein can not be by shown or discussion
Sequence, including according to related function by it is basic simultaneously in the way of or in the opposite order, to execute function, this should be by
Embodiments herein person of ordinary skill in the field is understood.
The logic and/or step for indicating or describing in other ways herein in flow charts, for example, being considered
For realizing the order list of the executable instruction of logic function, may be embodied in any computer-readable medium, with
For instruction execution system, device or equipment (such as computer based system, the system including processor or it is other can be from finger
Enable the system for executing system, device or equipment instruction fetch and executing instruction) it uses, or combine these instruction execution systems, device
Or equipment and use.For the purpose of this specification, " computer-readable medium ", which can be, any may include, store, communicating, passing
It broadcasts or transfer program makes for instruction execution system, device or equipment or in conjunction with these instruction execution systems, device or equipment
Device.The more specific example (non-exhaustive list) of computer-readable medium include the following: there are one or more cloth
The electrical connection section (mobile terminal) of line, portable computer diskette box (magnetic device), random access memory (RAM), read-only storage
Device (ROM), erasable edit read-only storage (EPROM or flash memory), fiber device and portable optic disk are only
It reads memory (CDROM).In addition, computer-readable medium can even is that the paper or other that can print described program on it
Suitable medium, because can then be edited for example by carrying out optical scanner to paper or other media, be interpreted or must
It is handled when wanting with other suitable methods electronically to obtain described program, is then stored in computer storage
In device.
It should be appreciated that each section of the application can be realized with hardware, software, firmware or their combination.Above-mentioned
In embodiment, multiple steps or method can be executed soft in memory and by suitable instruction execution system with storage
Part or firmware are realized.It, and in another embodiment, can be with well known in the art for example, if realized with hardware
Any one of following technology or their combination are realized: having a logic gate for realizing logic function to data-signal
The discrete logic of circuit, the specific integrated circuit with suitable combinational logic gate circuit, programmable gate array (PGA),
Field programmable gate array (FPGA) etc..
Those skilled in the art are understood that realize all or part of step that above-described embodiment method carries
It suddenly is that relevant hardware can be instructed to complete by program, the program can store in a kind of computer-readable storage
In medium, which when being executed, includes the steps that one or a combination set of embodiment of the method.In addition, in each implementation of the application
Each functional unit in example can integrate in a processing module, is also possible to each unit and physically exists alone, can also be with
Two or more units are integrated in a module.Above-mentioned integrated module both can take the form of hardware realization,
It can be realized in the form of software function module.If the integrated module is realized simultaneously in the form of software function module
When sold or used as an independent product, it also can store in a computer readable storage medium.
Storage medium mentioned above can be read-only memory, disk or CD etc..Although having been shown and retouching above
Embodiments herein is stated, it is to be understood that above-described embodiment is exemplary, and should not be understood as the limit to the application
System, those skilled in the art above-described embodiment can be changed, be modified within the scope of application, replaced and
Modification.
Finally, it should be noted that above embodiments are only to illustrate the technical solution of the application, rather than its limitations;To the greatest extent
Pipe is with reference to the foregoing embodiments described in detail the application, and those skilled in the art are when understanding: it still may be used
To modify the technical solutions described in the foregoing embodiments or equivalent replacement of some of the technical features;
And these are modified or replaceed, and the essence of corresponding technical solution is not driven to be detached from the essence of each embodiment technical solution of the application
Mind and range.
Claims (10)
1. a kind of WiFi disconnects method of adjustment, which is characterized in that the described method includes:
Detect the WiFi channel where the WiFi connecting with mobile terminal;
Obtain the current crowding of the WiFi channel;
The present beacon timeout value between the mobile terminal and the WiFi is determined based on the current crowding.
2. the method according to claim 1, wherein the current crowding for obtaining the WiFi channel, packet
It includes:
Obtain the current routing quantity of the WiFi channel;
Determine the current crowding of the WiFi channel based on the current routing quantity, wherein the current routing quantity and
The current crowding is positively correlated.
3. the method according to claim 1, wherein the current crowding for obtaining the WiFi channel, packet
It includes:
Obtain the current transmission rate of the WiFi channel;
The current crowding of the WiFi channel is determined based on the current transmission rate, wherein the current transmission rate with
The current crowding is negatively correlated.
4. method according to claim 1-3, which is characterized in that described true based on the current congestion index degree
After present beacon timeout value between the fixed mobile terminal and the WiFi, further includes:
When the mobile terminal is not received by beacon frame in the present beacon timeout value, it is disconnected to control the mobile terminal
Open the connection between the WiFi.
5. according to the method described in claim 4, it is characterized in that, described detect the place WiFi connecting with the mobile terminal
WiFi channel before, further includes:
Configure beacon of each WiFi channel in multiple WiFi channels that the mobile terminal is supported under different crowdings
Timeout value;
The mapping relations between each WiFi channel, the crowding and the beacon timeout value are established and save,
In, the crowding is positively correlated with the beacon timeout value.
6. according to the method described in claim 5, it is characterized in that, described determine the movement eventually based on the current crowding
Present beacon timeout value between end and the WiFi, comprising:
Obtain the mapping relations between each WiFi channel, the crowding and the beacon timeout value;
Based on mapping relationship searching present beacon timeout value corresponding with the current crowding.
7. according to the method described in claim 4, it is characterized in that, described when the mobile terminal is in the present beacon time-out
When being not received by beacon frame in value, after controlling the connection that the mobile terminal disconnects between the WiFi, further includes:
Obtain the mobile terminal and the automatic disconnection times of the WiFi within a preset time;
Judge whether the automatic disconnection times are greater than preset times;
When the automatic disconnection times are greater than the preset times, simultaneously reporting fault prompt information is shown.
8. a kind of WiFi disconnects adjustment device, which is characterized in that described device includes:
WiFi channel detection module, for detecting the WiFi channel where the WiFi connecting with mobile terminal;
Current crowding obtains module, for obtaining the current crowding of the WiFi channel;
Present beacon timeout value obtains module, for based on the current crowding determine the mobile terminal and the WiFi it
Between present beacon timeout value.
9. a kind of mobile terminal, which is characterized in that including display screen, memory and processor, the display screen is deposited with described
Reservoir is couple to the processor, the memory store instruction, the when executed by the processor processing
Device executes the method according to claim 1 to 7.
10. a kind of computer-readable storage medium for the program code that can be performed with processor, which is characterized in that the journey
Sequence code makes the processor execute the method according to claim 1 to 7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810604013.8A CN108966366B (en) | 2018-06-12 | 2018-06-12 | WiFi disconnection adjusting method and device, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810604013.8A CN108966366B (en) | 2018-06-12 | 2018-06-12 | WiFi disconnection adjusting method and device, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108966366A true CN108966366A (en) | 2018-12-07 |
CN108966366B CN108966366B (en) | 2021-04-13 |
Family
ID=64488630
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810604013.8A Active CN108966366B (en) | 2018-06-12 | 2018-06-12 | WiFi disconnection adjusting method and device, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108966366B (en) |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101040542A (en) * | 2005-01-12 | 2007-09-19 | 思科技术公司 | Maintaining uninterrupted service in a wireless access point and client stations thereof |
CN102291276A (en) * | 2011-08-01 | 2011-12-21 | 浪潮(北京)电子信息产业有限公司 | Heartbeat information regulation method and system for network system |
CN102802232A (en) * | 2012-07-25 | 2012-11-28 | 华为技术有限公司 | Wireless access point accessing method and wireless access point and terminal |
US20140086048A1 (en) * | 2011-04-15 | 2014-03-27 | Industry-University Cooperation Foundation Sogang University | Data transmission rate control method and system in upward vertical handover in overlay network environment |
US8699367B1 (en) * | 2001-09-07 | 2014-04-15 | Qualcomm Incorporated | Wireless LAN using transmission monitoring |
CN104837214A (en) * | 2014-02-10 | 2015-08-12 | 三星电子株式会社 | Electronic device and method of connecting electronic device to network |
CN106102100A (en) * | 2016-06-23 | 2016-11-09 | 深圳市百米生活股份有限公司 | A kind of access type and migration formula wireless load balancing system |
WO2017000286A1 (en) * | 2015-07-01 | 2017-01-05 | 冯旋宇 | Router timeout re-transmission method and router |
CN106879027A (en) * | 2017-03-30 | 2017-06-20 | 上海斐讯数据通信技术有限公司 | A kind of load-balancing method and system based on wireless routing device response speed |
CN106992893A (en) * | 2017-05-17 | 2017-07-28 | 北京小米移动软件有限公司 | The management method and device of router |
CN108055706A (en) * | 2018-01-31 | 2018-05-18 | 广东欧珀移动通信有限公司 | wireless network connection control method, device, storage medium and terminal device |
-
2018
- 2018-06-12 CN CN201810604013.8A patent/CN108966366B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8699367B1 (en) * | 2001-09-07 | 2014-04-15 | Qualcomm Incorporated | Wireless LAN using transmission monitoring |
CN101040542A (en) * | 2005-01-12 | 2007-09-19 | 思科技术公司 | Maintaining uninterrupted service in a wireless access point and client stations thereof |
US20140086048A1 (en) * | 2011-04-15 | 2014-03-27 | Industry-University Cooperation Foundation Sogang University | Data transmission rate control method and system in upward vertical handover in overlay network environment |
CN102291276A (en) * | 2011-08-01 | 2011-12-21 | 浪潮(北京)电子信息产业有限公司 | Heartbeat information regulation method and system for network system |
CN102802232A (en) * | 2012-07-25 | 2012-11-28 | 华为技术有限公司 | Wireless access point accessing method and wireless access point and terminal |
CN104837214A (en) * | 2014-02-10 | 2015-08-12 | 三星电子株式会社 | Electronic device and method of connecting electronic device to network |
WO2017000286A1 (en) * | 2015-07-01 | 2017-01-05 | 冯旋宇 | Router timeout re-transmission method and router |
CN106102100A (en) * | 2016-06-23 | 2016-11-09 | 深圳市百米生活股份有限公司 | A kind of access type and migration formula wireless load balancing system |
CN106879027A (en) * | 2017-03-30 | 2017-06-20 | 上海斐讯数据通信技术有限公司 | A kind of load-balancing method and system based on wireless routing device response speed |
CN106992893A (en) * | 2017-05-17 | 2017-07-28 | 北京小米移动软件有限公司 | The management method and device of router |
CN108055706A (en) * | 2018-01-31 | 2018-05-18 | 广东欧珀移动通信有限公司 | wireless network connection control method, device, storage medium and terminal device |
Also Published As
Publication number | Publication date |
---|---|
CN108966366B (en) | 2021-04-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109803278B (en) | Non-connection state measuring method, terminal and base station | |
CN111182579B (en) | Positioning measurement information reporting method, terminal and network equipment | |
CN110650492B (en) | Measurement method, terminal and network side equipment | |
CN112929926B (en) | Sending method and receiving method of adjacent cell CSI report and related equipment | |
CN108901031A (en) | Radio frequency parameter method of adjustment, device, mobile terminal and storage medium | |
CN108990105A (en) | Wireless communication transmission method, device, mobile terminal and computer-readable storage medium | |
CN108811045B (en) | WiFi channel scanning method and device, mobile terminal and storage medium | |
CN108964838A (en) | transmission rate adjusting method, device and electronic device | |
CN108345422A (en) | Application control method, apparatus, mobile terminal and computer-readable medium | |
CN110740470B (en) | Measurement indication method, device and system | |
CN110519793B (en) | Measurement reporting method, measurement configuration method, terminal and network side equipment | |
CN108924908A (en) | WiFi scan method, device and electronic device | |
CN111601347B (en) | Reporting method, configuration method, terminal and network side equipment | |
CN108650335A (en) | The method, apparatus and test equipment being communicatively coupled with mobile terminal to be tested | |
CN108880751A (en) | transmission rate adjusting method, device and electronic device | |
CN108646967A (en) | Display changeover method, device, mobile terminal and storage medium | |
CN108471622A (en) | WiFi connections method of adjustment, device, mobile terminal and storage medium | |
CN108449787A (en) | Connect control method, device and electronic equipment | |
CN108924868B (en) | WiFi disconnection adjusting method and device, mobile terminal and storage medium | |
CN108882335A (en) | Method for connecting network, device and electronic device | |
CN108667962A (en) | Display methods, device, mobile terminal and storage medium | |
CN108990104A (en) | Wireless communication transmission method, device, mobile terminal and computer-readable storage medium | |
CN108848566A (en) | Wireless communication transmission method, device, mobile terminal and computer-readable storage medium | |
CN108494907A (en) | mobile terminal screen control method, device, mobile terminal and storage medium | |
CN108632822A (en) | Detection method, device and the mobile terminal of wireless access point |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |