CN112492521B - WiFi roaming trigger condition determining method and device, mobile terminal and storage medium - Google Patents
WiFi roaming trigger condition determining method and device, mobile terminal and storage medium Download PDFInfo
- Publication number
- CN112492521B CN112492521B CN202011226083.8A CN202011226083A CN112492521B CN 112492521 B CN112492521 B CN 112492521B CN 202011226083 A CN202011226083 A CN 202011226083A CN 112492521 B CN112492521 B CN 112492521B
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- roaming
- wifi
- triggering
- trigger
- 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.)
- Active
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
- H04W4/022—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences with dynamic range variability
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/0005—Control or signalling for completing the hand-off
- H04W36/0083—Determination of parameters used for hand-off, e.g. generation or modification of neighbour cell lists
- H04W36/00837—Determination of triggering parameters for hand-off
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/30—Reselection being triggered by specific parameters by measured or perceived connection quality data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W36/00—Hand-off or reselection arrangements
- H04W36/24—Reselection being triggered by specific parameters
- H04W36/32—Reselection being triggered by specific parameters by location or mobility data, e.g. speed data
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/029—Location-based management or tracking services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/80—Services using short range communication, e.g. near-field communication [NFC], radio-frequency identification [RFID] or low energy communication
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/02—Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
- H04W8/08—Mobility data transfer
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE 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/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
The disclosure relates to a method and a device for determining triggering conditions of WiFi roaming, a mobile terminal and a storage medium. The method for determining the triggering condition of WiFi roaming is applied to a mobile terminal, and comprises the following steps: positioning the mobile terminal to obtain positioning information; determining an application place of the geographic position of the mobile terminal according to the positioning information; and determining triggering conditions of the WiFi roaming of the mobile terminal according to the application places.
Description
Technical Field
The disclosure relates to the field of electronic technology, and in particular, to a method and device for determining a triggering condition of Wireless-Fidelity (WiFi) WiFi roaming, a mobile terminal, and a storage medium.
Background
In WiFi technology, a mobile terminal is a Station (STA) in WiFi technology (where STA includes, but is not limited to, a mobile phone) and generally obtains network services by connecting to a wireless Access Point (AP). But the range that an AP can cover is limited. Because of the mobility of wireless networks, the user of the terminal device may quickly move out of coverage of the currently connected access point. A new AP, closer to the STA, is needed to access so that the mobile terminal can connect to the new wireless access point to maintain its original internet service. A procedure in which a wireless mobile terminal changes from a current AP to another AP and maintains a network connection is called roaming.
The STA is a decision maker and an initiator of roaming behavior, and the STA actively switches the association relation with one AP to another AP in view of the mobile terminal, so that the purpose of always keeping connection with the wireless is realized.
Disclosure of Invention
The embodiment of the disclosure provides a method and a device for determining triggering conditions of WiFi roaming, a mobile terminal and a storage medium.
An embodiment of the present disclosure provides a method for determining a triggering condition of WiFi roaming, applied to a mobile terminal, the method including:
positioning the mobile terminal to obtain positioning information;
determining an application place of the geographic position of the mobile terminal according to the positioning information;
and determining triggering conditions of the WiFi roaming of the mobile terminal according to the application places.
Based on the above scheme, the method further comprises:
starting a geofence of the mobile terminal;
the positioning the mobile terminal to obtain positioning information comprises the following steps:
and after the geofence is started, positioning the mobile terminal to obtain the positioning information.
Based on the above scheme, the determining, according to the positioning information, an application location of the geographic location where the mobile terminal is located includes:
Determining whether the mobile terminal triggers the geofence based on the positioning information;
and responding to the mobile terminal to trigger the geofence, and determining the application place of the geographic position of the mobile terminal according to the positioning information.
Based on the above scheme, the determining, according to the application location, a triggering condition of the mobile terminal for WiFi roaming includes:
enabling roaming of a preset trigger configuration with the application field adapted trigger condition or disabling roaming of a preset trigger configuration with the application field not adapted trigger condition.
Based on the above scheme, the roaming preset trigger configuration includes:
a trigger condition for triggering WiFi roaming based on signal strength, which is enabled by default;
default enabled station kick mode triggered trigger conditions for WiFi roaming;
default enabled trigger conditions for WiFi roaming triggered based on beacon frame loss rate;
default to the triggering condition of the packet error rate triggered WiFi roaming that is enabled.
Based on the above scheme, the determining, according to the application location, a triggering condition of the mobile terminal for WiFi roaming further includes:
and modifying the configuration parameters of the enabled triggering conditions according to the usage scene.
Based on the above scheme, the determining, according to the application location, a triggering condition of the mobile terminal for WiFi roaming includes:
the second determining module is configured to enable a signal strength-based trigger condition in the roaming preset trigger configuration and improve a signal strength threshold for triggering WiFi roaming of the mobile terminal in the signal strength-based trigger condition in response to an application place of the geographic location where the mobile terminal is located being a home place; and/or, responding to the application place of the geographic position of the mobile terminal as a house place, enabling the triggering condition of WiFi roaming triggered based on the beacon frame loss rate, and reducing the threshold value of the number of lost beacon frames of the triggering condition of WiFi roaming triggered based on the beacon frame loss rate.
Based on the above scheme, the determining, according to the application location, a triggering condition of the mobile terminal for WiFi roaming includes:
and enabling a triggering condition of the WiFi roaming triggered by the packet error rate in the preset triggering configuration of the roaming in response to the application place being a public transportation place.
A second aspect of the embodiments of the present disclosure provides a trigger condition determining apparatus for WiFi roaming, which is applied to a mobile terminal, and the method includes:
The positioning module is used for positioning the mobile terminal to obtain positioning information;
the first determining module is used for determining the application place of the geographic position of the mobile terminal according to the positioning information;
and the second determining module is used for determining triggering conditions of the WiFi roaming of the mobile terminal according to the application places.
Based on the above scheme, the device further comprises:
a starting module for starting the geofence of the mobile terminal;
and the positioning module is used for positioning the mobile terminal to obtain the positioning information after the geofence is started.
Based on the above scheme, the second determining module is configured to determine, based on the positioning information, whether the mobile terminal triggers the geofence; and responding to the mobile terminal to trigger the geofence, and determining the application place of the geographic position of the mobile terminal according to the positioning information.
Based on the above scheme, the second positioning module is configured to
Enabling roaming of a preset trigger configuration with the application field adapted trigger condition or disabling roaming of a preset trigger configuration with the application field not adapted trigger condition.
Based on the above scheme, the roaming preset trigger configuration includes:
a trigger condition for triggering WiFi roaming based on signal strength, which is enabled by default;
default enabled station kick mode triggered trigger conditions for WiFi roaming;
default enabled trigger conditions for WiFi roaming triggered based on beacon frame loss rate;
default to the triggering condition of the packet error rate triggered WiFi roaming that is enabled.
Based on the above scheme, the second determining module is configured to modify the configuration parameters of the enabled trigger condition according to the usage scenario.
Based on the above scheme, the second determining module is configured to, in response to the application location of the geographic location where the mobile terminal is located being a home location, enable a signal strength-based trigger condition in the preset trigger configuration of roaming, and increase a signal strength threshold value for triggering WiFi roaming of the mobile terminal in the signal strength-based trigger condition; and/or, responding to the application place of the geographic position of the mobile terminal as a house place, enabling the triggering condition of WiFi roaming triggered based on the beacon frame loss rate, and reducing the threshold value of the number of lost beacon frames of the triggering condition of WiFi roaming triggered based on the beacon frame loss rate.
Based on the above scheme, the second determining module is configured to enable a triggering condition of WiFi roaming triggered by a packet error rate in a preset triggering configuration of the roaming in response to the application place being a public transportation place.
A third aspect of an embodiment of the present disclosure provides a mobile terminal, including:
a memory for storing processor-executable instructions;
a processor connected to the memory;
the processor is configured to execute the triggering condition determining method of the WiFi roaming provided by any of the foregoing technical schemes.
A fourth aspect of the disclosed embodiments provides a non-transitory computer-readable storage medium, where computer-executable instructions are stored, where the computer-executable instructions, when executed by a processor, implement a method for determining a triggering condition of WiFi roaming provided by any of the foregoing technical solutions.
The technical scheme provided by the embodiment of the disclosure can comprise the following beneficial effects:
in the embodiment of the disclosure, the triggering condition of WiFi roaming of the mobile terminal is determined according to the application place to which the current location of the mobile terminal belongs, so in the embodiment of the disclosure, the triggering condition of WiFi roaming of the mobile terminal can be switched according to the application place to which the mobile terminal belongs, so that the triggering condition of WiFi p roaming used by the mobile terminal accords with the WiFi coverage condition of the current application place, and the mobile terminal can access to a WiFi AP or a WiFi AP with better communication quality in time.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flowchart illustrating a method for determining a triggering condition of WiFi roaming according to an embodiment of the disclosure.
Fig. 2 is a flow chart illustrating a WiFi roaming according to an embodiment of the disclosure.
FIG. 3 is a schematic illustration of the effect of a geofence on a map interface, as shown in an embodiment of the present disclosure.
Fig. 4 is a flowchart of a method for determining a triggering condition of WiFi roaming according to an embodiment of the disclosure.
Fig. 5 is a flow chart illustrating roaming triggering based on a triggering condition of signal strength triggered WiFi roaming according to an embodiment of the present disclosure.
Fig. 6 is a flow chart illustrating a roaming trigger based on a trigger condition of a beacon frame loss rate triggered WiFi roaming according to an embodiment of the present disclosure.
Fig. 7 is a schematic structural diagram of a trigger condition determining apparatus for WiFi roaming according to an embodiment of the disclosure.
Fig. 8 is a flowchart of a method for determining a triggering condition of WiFi roaming according to an embodiment of the disclosure.
Fig. 9 is a schematic structural diagram of a mobile terminal according to an embodiment of the present disclosure.
Detailed Description
Reference will now be made in detail to exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numbers in different drawings refer to the same or similar elements, unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the invention. Rather, they are merely examples of apparatus and methods consistent with aspects of the invention as detailed in the accompanying claims.
As shown in fig. 1, an embodiment of the present disclosure provides a method for determining a triggering condition of WiFi roaming, which is applied to a mobile terminal, and the method includes:
s110: positioning the mobile terminal to obtain positioning information;
s120: determining an application place of the geographic position of the mobile terminal according to the positioning information;
s130: and determining triggering conditions of the WiFi roaming of the mobile terminal according to the application places.
The mobile terminal provided by the embodiment of the disclosure comprises, but is not limited to, at least one of the following electronic devices: a cell phone, tablet, wearable device, or vehicle-mounted device.
In the embodiment of the disclosure, the mobile terminal can locate the position of the mobile terminal, so that the location information indicating the geographical position of the mobile terminal is obtained.
In one embodiment, the positioning information may include: longitude and latitude information, and the like. In one embodiment, the positioning information may be: distance information and/or azimuth information of the mobile terminal relative to a preset position.
For example, the mobile terminal may be located by satellite positioning. Satellite positioning herein includes, but is not limited to: global positioning system (Global Position System, GPS) positioning or beidou positioning.
Alternatively, the positioning of the mobile terminal may be positioning based on positioning technologies such as assisted positioning of the base station or ultrasound.
In summary, in the embodiment of the present disclosure, the mobile terminal may be able to locate its own location, and obtain location information.
Since the positioning information is positioned, the application place of the geographic position of the mobile terminal can be determined.
In one embodiment, in S120, the mobile terminal may query a local or server database with the positioning information as a query index, and determine the function or use of the positioning information, thereby determining the application location of the geographic location.
In another embodiment, in S120, the mobile terminal may query a geographic area to which the positioning information belongs, and determine an attribute of a WiFi AP covering the geographic area; if the attribute of the WiFi AP is a home WiFi AP, the application place of the current geographic position of the mobile terminal is a home scene, and if the attribute of the WiFi AP is a mall WiFi AP, the application place of the current geographic position of the mobile terminal is a mall scene.
Of course, the above is merely illustrative, and the application location of the current geographic location of the mobile terminal is determined according to the positioning information of the mobile terminal, which is not limited to any one of the above embodiments.
The WiFi APs at different application sites are provided with different characteristics, so that the WiFi coverage has different characteristics. In order to make the mobile terminal better access to the WiFi AP or obtain better communication quality, a WiFi roaming strategy which is currently effective for the mobile terminal is determined according to the application place of the geographic position of the mobile terminal.
The triggering conditions of the WiFi roaming at least include:
triggering the mobile terminal to perform WiFi roaming.
If the mobile terminal determines that WiFi roaming is currently required according to the triggering condition of WiFi roaming, and therefore the mobile terminal accesses to a WiFi AP with better communication quality, the mobile terminal can conduct WiFi scanning; if the WiFi broadcast signal of the adjacent WiFi AP is scanned, the WiFi AP is requested to be accessed through sending a detection request frame. If the adjacent WiFi AP receives the detection request frame, the relevant information for accessing the WiFi AP is sent to the mobile terminal through a detection response frame or a beacon frame.
In the embodiment of the disclosure, the triggering condition of the WiFi roaming of the mobile terminal is switched according to the application place where the mobile terminal is located, so that the triggering condition of the WiFi p roaming used by the mobile terminal accords with the WiFi coverage condition of the current application place, and the mobile terminal can access to the WiFi AP in time or to the WiFi AP with better communication quality.
Fig. 2 is a schematic flow chart of WiFi roaming of a mobile terminal, where the specific WiFi roaming includes:
in phase 1, trigger conditions, including, for example, but not limited to, configuring the trigger conditions of currently active WiFi roaming;
the roaming module is good in trigger condition based on RSSI in trigger conditions based on WiFi roaming, trigger conditions based on beacon frame loss or trigger conditions based on STA kick-off;
stage 2: at least one triggering condition is met, and roaming triggering is performed; the roaming trigger is the trigger of the WiFi roaming.
After the roaming scanning module receives the roaming trigger, notifying the scanning module to send a detection request frame; receiving a beacon response frame or a probe response frame;
stage 3: if the beacon response frame or the probe response frame is successfully received, the roaming switching module controls the mobile terminal to be connected to a new WiFi site;
If the roaming event is satisfied (e.g., a trigger condition for roaming is hit), roaming synchronous propagation is performed.
In one embodiment, as shown in fig. 4, the method further comprises:
s100: starting a geofence of the mobile terminal; the S110 may include: s111; and the S111 may include:
and after the geofence is started, positioning the mobile terminal to obtain the positioning information.
Geofencing (Geo-fencing) functionality is an application based on location services, which is to configure a virtual fence; the fence encloses a virtual boundary of a geographic area on the map. In fig. 3, black circles are the display effects of the configured virtual boundaries on the map.
The mobile terminal automatically monitors the self geographic position once started, and the mobile terminal triggers the geographic fence once entering into the geographic area surrounded by the virtual boundary or triggers the positioning module for positioning the mobile terminal based on various positioning technologies once the mobile terminal leaves the geographic area surrounded by the virtual boundary, so that the triggered triggering message of the geographic fence is reported. In this way, the application layer or operating system of the mobile terminal can be timely triggered based on whether the geofence is triggered. Once the geofence is triggered, the operational event that the geofence is trigger-bound is also triggered. In the disclosed embodiments, the operational events for which the geofence is triggered to bind include: determining event of triggering condition of WiFi roaming of the mobile terminal. The event of determining the triggering condition of the WiFi roaming of the mobile terminal may also be referred to as: update event of trigger condition of WiFi roaming of mobile terminal.
In one embodiment, the configuration of the geofence is required prior to the start of the geofence. The configuration of the geofence may include:
starting the geofence configuration, and displaying a page of the geofence configuration;
selecting coordinates and triggering precision of a geofence to be set in the page to obtain fence information;
and issuing the fence information to the positioning module.
The fence information includes, but is not limited to: the geofence encloses the coordinates and radius of the center point of the geographic area.
In one embodiment, the S120 may include:
determining whether the mobile terminal triggers the geofence based on the positioning information;
and responding to the mobile terminal to trigger the geofence, and determining the application place of the geographic position of the mobile terminal according to the positioning information.
If the current positioning information of the mobile terminal enters a geographic area corresponding to a geofence configured by the mobile terminal or a geographic area corresponding to the mobile geofence, the mobile terminal is triggered to redetermine the update of the application place of the current geographic position of the mobile terminal.
If the mobile terminal determines that the application location of the geographic location of the mobile terminal is changed, in S130, the WiFi roaming policy suitable for the current application location is redetermined according to the application location of the geographic location of the mobile terminal, so as to ensure that the mobile terminal can access to the WiFi AP with good communication quality or expected by the user in time.
In order to accelerate the mobile terminal to enter different application places, wi Fi roaming strategies suitable for the current application places can be quickly started. In the embodiment of the disclosure, a roaming preset trigger configuration is preconfigured in the mobile terminal, and the roaming preset trigger configuration may be a default trigger condition generally. Thus, considering the policy difference of different application sites, only the parameter value of the corresponding policy parameter in the preset trigger configuration or one or more trigger conditions in the preset trigger configuration for enabling or disabling roaming need to be modified, so as to take into effect the trigger conditions of WiFi roaming matched with the current use site Jing Shi.
Of course, in another embodiment, in S140, the mobile terminal may reconfigure according to the trigger condition of the WiFi roaming that is currently in effect, instead of modifying the preset trigger configuration of the roaming to obtain the trigger condition of the WiFi roaming that is currently in effect.
In one embodiment, the determining, according to the application location, a triggering condition of WiFi roaming by the mobile terminal includes:
a trigger condition that enables roaming of a preset trigger configuration with adaptation of the application field and/or a trigger condition that enables roaming of a preset trigger configuration with non-adaptation of the application field.
For example, the preset trigger configuration for roaming includes one or more trigger conditions, one of which may correspond to one of the triggers for WiFi roaming.
In one case, each trigger condition in the roaming preset trigger configuration is default in the disabling state, and the trigger condition that is effective in the current scenario needs to be enabled in S130.
In one case, each trigger condition in the roaming preset trigger configuration is in an enabled state by default, and the trigger condition that is not effective in the current scenario needs to be disabled in S130.
In still another case, some defaults are in an enabled state and some defaults are in a disabled state, and then in S130, the trigger condition that is currently in an enabled state and does not need to be validated is disabled, and/or the trigger condition that is currently in a disabled state and needs to be validated is enabled. In this case, the trigger condition that is in the enabled state by default may be one or more trigger conditions that determine that the frequency of effectiveness is highest based on the statistical characteristics.
In one embodiment, the roaming preset trigger configuration includes:
A trigger condition for triggering WiFi roaming based on signal strength, which is enabled by default;
default enabled station kick mode triggered trigger conditions for WiFi roaming;
default enabled trigger conditions for WiFi roaming triggered based on beacon frame loss rate;
default to the triggering condition of the packet error rate triggered WiFi roaming that is enabled.
As shown in fig. 5, the flow for triggering WiFi roaming based on signal strength may include:
acquiring signal strength (RSSI) of WiFi signal of WiFi AP currently accessed by mobile terminal
Determining whether the RSSI is greater than a first signal strength Threshold (GT); if the RSSI is greater than the GT, wiFi roaming is not performed;
determining whether the RSSI is greater than a second signal strength Threshold (PT) and less than a first signal strength Threshold; PT herein may be less than or equal to GT.
If the RSSI is larger than PT and smaller than GT, entering a tracking stage;
determining whether the RSSI continues to drop by D1 in the tracking stage; if the RSSI continues to drop by D1 in the tracking stage, triggering WiFi roaming;
if the RSSI is directly smaller than the PT, the tracking stage is also entered, whether the RSSI continues to drop D2 is determined in the tracking stage, and if the RSSI continues to drop D2 in the tracking stage, the WiFi roaming is triggered.
Here D1 may be equal to or greater than D2.
The GT and PT herein are signal strength thresholds in WiFi roaming triggered based on signal strength.
As shown in fig. 6, trigger conditions for WiFi roaming, which may be default enabled based on beacon frame loss rate triggering, may include:
if the number of the lost beacon frames is more than 50, entering a tracking stage; here 50 is a first number threshold of beacon frame losses in a trigger condition of WiFi roaming based on a beacon frame loss rate trigger;
after entering the tracking phase, continuing to monitor the number of lost beacon frames;
if the number of the lost beacon frames is greater than 100, executing roaming triggering; here 100 is a second number threshold for beacon frame loss in trigger conditions based on WiFi roaming triggered by beacon frame loss rate; the second number threshold is greater than the first number threshold.
In some specific cases, the mobile terminal may actively transmit probe request frames and receive probe response frames from the WiFi AP even without triggering WiFi roaming.
Before the tracking stage is not entered, the mobile terminal can detect RSSI or count lost beacon frames on hardware without reporting the application layer; if the tracking stage is determined to be entered, the RSSI detection and the number of lost beacon frames on the hardware are reported to an application layer; after the application layer receives the data reported by the hardware, it further judges whether the roaming needs to be started.
Triggering WiFi roaming based on trigger conditions for site kick-off mode triggered WiFi roaming may include:
based on the response mechanism, communication between the station and the AP is carried out, and if the sent data does not receive the response, roaming is triggered; or when no response is received after the response is not received based on a Retry (Retry) mechanism, roaming is triggered.
Triggering conditions for WiFi roaming based on packet error rate triggering the WiFi roaming may include:
and counting the error rate of the Packet (Packet), and triggering WiFi roaming if the error rate reaches an error rate threshold.
In some embodiments, the S130 may include:
and modifying the configuration parameters of the enabled triggering conditions according to the usage scene.
For example, a trigger threshold in one or more trigger conditions is modified. The trigger threshold includes, but is not limited to: a signal strength threshold, a beacon frame loss number threshold, and/or a trigger threshold for packet error rate. Of course, this is merely an example, and the embodiments are not limited thereto.
In one embodiment, the S130 may include:
the second determining module is configured to enable a signal strength-based trigger condition in the roaming preset trigger configuration and improve a signal strength threshold for triggering WiFi roaming of the mobile terminal in the signal strength-based trigger condition in response to an application place of the geographic location where the mobile terminal is located being a home place; and/or, responding to the application place of the geographic position of the mobile terminal as a house place, enabling the triggering condition of WiFi roaming triggered based on the beacon frame loss rate, and reducing the threshold value of the number of lost beacon frames of the triggering condition of WiFi roaming triggered based on the beacon frame loss rate.
The house is corresponding to the home environment, and a plurality of WiFi APs are arranged; the distance of bedrooms, living rooms or restaurants is very close, and the roaming switching of a plurality of WiFi APs with a smaller distance is more suitable for triggering WiFi roaming based on signal strength (RSSI) and triggering other modes such as beacon frame loss.
Thus, at home, a signal strength based trigger condition in a preset trigger configuration for roaming is enabled. And considering that the distance may be short, if the signal intensity threshold in the pre-trigger condition is adopted, the signal intensity threshold for triggering the WiFi roaming may need to be improved, so that the mobile terminal can be re-accessed to the WiFi AP set in the current space after the mobile terminal is in different spaces and can pass through the WiFi roaming, and better WiFi communication quality is obtained.
If the triggering condition of WiFi roaming triggered based on the beacon frame loss rate is a WiFi roaming strategy effective in a home scene, the threshold value of the number of the lost beacon frames can be properly reduced.
In some embodiments, the S130 may include: and responding to the application place being an office place, and determining that the triggering condition of the mobile terminal for WiFi roaming is defined in the preset triggering configuration of the roaming.
That is, in one embodiment, considering that the office location is the location where the average user stays the longest for the daytime period, setting the trigger condition of WiFi roaming at the office location directly to the trigger condition currently enabled in the preset trigger configuration of roaming may at least reduce the rate of update of the WiFi roaming policy when entering and leaving the office location.
In one embodiment, the S130 may further include: and enabling a triggering condition of the WiFi roaming triggered by the packet error rate in the preset triggering configuration of the roaming in response to the application place being a public transportation place.
Public transportation locations herein include, but are not limited to:
airport, high-speed rail station, railway station or subway station, etc.
In these public transportation places, there are situations that the space range is large, the interference ratio is large, and the number of surrounding stations is variable, so in order to prompt the mobile terminal to perform WiFi roaming at a higher frequency, before the WiFi communication needs to be used, the available WiFi AP is found in time and accessed to the corresponding WiFi AP.
In the embodiment of the present disclosure, in response to the application location being a public transportation location, each trigger condition in the roaming preset trigger configuration is enabled, so when the trigger condition defined by any one trigger condition is reached, the mobile terminal is triggered to perform WiFi roaming, so as to find or access a WiFi AP available for access as far as possible.
In some embodiments, the application sites where the mobile terminal is located may include other sites in addition to the above-mentioned home sites, office sites, public transportation sites. In an embodiment of the disclosure, the method further comprises: if the mobile terminal determines that the application place of the current geographic position is uncertain or does not belong to any preset application place, the preset trigger condition can be validated by default.
As shown in fig. 7, an embodiment of the present disclosure provides a triggering condition determining apparatus for WiFi roaming, which is applied to a mobile terminal, and the method includes:
the positioning module 710 is configured to position the mobile terminal to obtain positioning information;
a first determining module 720, configured to determine, according to the positioning information, an application location of a geographic location where the mobile terminal is located;
and a second determining module 730, configured to determine, according to the application location, a triggering condition of the mobile terminal for WiFi roaming.
In one embodiment, the positioning module 710, the first determining module 720, and the second determining module 730 may all be program modules; the program modules may be capable of carrying out the functions described above when executed by a processor.
In another embodiment, the positioning module 710, the first determining module 720 and the second determining module 730 may be soft-hard combination modules; the soft and hard combined die block comprises but is not limited to: various programmable arrays. The programmable array includes, but is not limited to: complex programmable arrays and/or field programmable arrays.
In yet another embodiment, the positioning module 710, the first determining module 720, and the second determining module 730 may all be purely hardware modules; the pure hardware modules include, but are not limited to: an application specific integrated circuit.
In one embodiment, the apparatus further comprises:
a starting module for starting the geofence of the mobile terminal;
the positioning module 710 is configured to position the mobile terminal to obtain the positioning information after the geofence is started.
In one embodiment, the second determining module 730 is configured to determine, based on the positioning information, whether the mobile terminal triggers the geofence; and responding to the mobile terminal to trigger the geofence, and determining the application place of the geographic position of the mobile terminal according to the positioning information.
In one embodiment, the second positioning module 710 is configured to enable a roaming preset trigger configuration and a trigger condition of the application field adaptation, or disable a roaming preset trigger configuration and a trigger condition of the application field adaptation.
In one embodiment, the roaming preset trigger configuration includes:
a trigger condition for triggering WiFi roaming based on signal strength, which is enabled by default;
default enabled station kick mode triggered trigger conditions for WiFi roaming;
default enabled trigger conditions for WiFi roaming triggered based on beacon frame loss rate;
default to the triggering condition of the packet error rate triggered WiFi roaming that is enabled.
In one embodiment, the second determining module 730 is configured to modify the configuration parameters of the enabled trigger condition according to the usage scenario.
In one embodiment, the second determining module 730 is configured to enable a signal strength-based trigger condition in the preset roaming trigger configuration and increase a signal strength threshold for triggering WiFi roaming of the mobile terminal in the signal strength-based trigger condition in response to an application location of the geographic location of the mobile terminal being a home location; and/or, responding to the application place of the geographic position of the mobile terminal as a house place, enabling the triggering condition of WiFi roaming triggered based on the beacon frame loss rate, and reducing the threshold value of the number of lost beacon frames of the triggering condition of WiFi roaming triggered based on the beacon frame loss rate.
In one embodiment, the second determining module 730 is configured to determine, in response to the application location being an office location, that a trigger condition of WiFi roaming by the mobile terminal is a preset trigger configuration of the roaming.
In one embodiment, the second determining module 730 is configured to enable a triggering condition of the WiFi roaming triggered by a packet error rate in a preset triggering configuration of the roaming in response to the application location being a public transportation location.
The embodiment of the disclosure provides a method for determining a triggering condition of WiFi roaming, which mainly relates to a configuration stage of a geofence and a stage for dynamically adjusting the triggering condition of effective WiFi roaming based on the triggering of the geofence.
The configuration of the geofence includes:
geofencing (Geo-fencing) is an application of location based services (Location Based Services, LBS) in which a virtual fence is used to enclose a virtual geographic boundary, and when a mobile terminal such as a cell phone enters or leaves a particular geographic area (the area enclosed by the virtual boundary set by the geofence), or is active within that area, the mobile terminal may receive an automatic notification or alert. For example, when the mobile terminal enters a certain mall, the mobile terminal automatically receives a coupon push (push) message sent by the corresponding mall.
Referring to FIG. 8, a decision is made via an android Settings interface as to whether to enable geofencing; the android setting page here is: one of the aforementioned geofencing pages;
and entering a fence setting interface, and selecting a coordinate point to be set and triggering precision. Taking the mobile terminal with the operating system as an android system as an example, the fence information can be issued to positioning modules such as a GPS module through an android standard interface.
Using the functions public void requestGeofence (LocationRequest request, geofence geofence, P endingIntent intent,
String packageName){}。
the LocationRequest is: a class name of a location request class used for making a location request; the request is a variable of locationrequest.
Geofence is: the class of geofences; geoface is a variable of the geoface class.
PendingIntent is: the message obtains the class name of the class; the intent is a variable of the PendingIntent class. The PendingIntent class is used to obtain various messages based on the geofence, such as notification messages or alert messages that the geofence is triggered.
After the geofence is successfully set, the GPS module can monitor the current position of the user in real time, report the trigger message according to the target position, and then issue different roaming trigger conditions according to different positions.
void onTransitionEvent(IZatGeofenceHandle handle,
int event,
Location location);
IzatGeofenceHandle is a class of threads that perform geofences; the handle is a variable of IzatGeofenceHandle; positioning is a positioning class; the location is a variable of the location class and is used for carrying location information.
The GPS engine shown in fig. 8 is one of the positioning modules for generating an engine indicating the current geographic location of the mobile terminal based on the received positioning signals.
Adjusting triggering conditions for validated WiFi roaming may include:
when the mobile terminal is at home, the roaming environment is relatively simple, and has no great amount of interference, if the beacon frame loss (beacon) or station kick-off (sta kickout) mode is continuously used, roaming can not be triggered at all, and the opposite mode of using the RSSI is more effective, but the threshold value of the RSSI needs to be adjusted due to the limited range of the home space, the final roaming triggering condition is as follows,
iwpriv wlan0 set FastRoamEnabled =1// fast roaming mode is enabled, where the fast roaming mode is the roaming trigger mode corresponding to the trigger condition for triggering WiFi roaming based on signal strength.
Iwpriv wlan0 set head_bad_rsi_thresh_offset_2g=40// setting bad rssi threshold,40 being denoted-65; iwpriv wlan0 set head_bad_rsi_thresh_offset is equivalent to setting the signal light precision;
Iwpriv wlan0 set head_bg_scan_bad_rsti_thresh= -60// setting roam background scan threshold to-60, where bad_rsti_thresh corresponds to PT as described above;
iwpriv wlan0 set groam_dense_rsi_thresh_offset=10// set roaming RSSI accuracy to 10
Iwpriv wlan0 set maxMSDUsPerRxInd =100// is set to an oversized value, equivalent to turning off sta kickout mode; the sta kckout mode is a trigger mode corresponding to the trigger condition of WiFi roaming triggered by the station kick mode.
Iwpriv wlan0 set gRoamBmissFirstBcnt=10
Iwpriv wlan0 set gRoamBmissFinalBcnt =10// properly narrowing the number of beacon MISs and setting the values of first and final to be the same, the default value may be +30/50; the gRoambMass corresponds to the WiFi roaming mode triggered by the triggering condition of the WiFi roaming triggered by the beacon frame loss rate;
iwpriv wlan0 set gper_rom_enabled=0// off PER mode, #0:disabled
#1:enabled for Rx traffic#2:enabled for Tx traffic#3:enabled for Tx and Rx traffic
The PER mode herein is a roaming trigger mode corresponding to the triggering condition of the WiFi roaming triggered by the packet error rate.
When the mobile terminal is in a company, the space range is wider, the connection number of each AP is relatively fixed, the general default configuration is kept, the final roaming triggering condition is as follows,
When the mobile terminal is in an airport/subway, the space range is wider, the interference is larger, surrounding STA data are unstable, sometimes the surrounding STA data are relatively concentrated, if the surrounding STA data are connected to the same AP, the network speed is slower, a PER (packet error rate) mode, namely a mode of detecting the packet loss rate, is enabled on the basis of using a default strategy, the general default configuration is kept, the final roaming triggering condition is as follows,
the WIFI-driven activation configuration also needs to be restarted after the policy is issued to the Roaming module (Roaming module) by a command (e.g., ioctrl command).
Iwpriv wlan0 down
Iwpriv wlan0 up。
The embodiment of the disclosure provides a mobile terminal, which comprises:
a memory for storing processor-executable instructions;
a processor connected with the memory;
the processor is configured to execute the triggering condition determining method of the WiFi roaming provided by any of the foregoing technical schemes.
The processor may include various types of storage medium, which are non-transitory computer storage media, capable of continuing to memorize information stored thereon after a power down of the communication device.
Fig. 9 is a block diagram of a mobile terminal 800, according to an example embodiment. For example, the mobile terminal 800 may be a mobile phone, a mobile computer, or the like.
Referring to fig. 9, a mobile terminal 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the mobile terminal 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the device 800. Examples of such data include instructions for any application or method operating on the mobile terminal 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the mobile terminal 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the mobile terminal 800.
The multimedia component 808 includes a screen between the mobile terminal 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or sliding action, but also the duration and pressure associated with the touch or sliding operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operational state, such as a photographing state or a video state. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the mobile terminal 800 is in an operational state, such as a call state, a recording state, and a voice recognition state. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the mobile terminal 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the mobile terminal 800, the sensor assembly 814 may also detect a change in position of the mobile terminal 800 or a component of the mobile terminal 800, the presence or absence of a user's contact with the mobile terminal 800, an orientation or acceleration/deceleration of the mobile terminal 800, and a change in temperature of the mobile terminal 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the mobile terminal 800 and other devices, either wired or wireless. The mobile terminal 800 may access a wireless network based on a communication standard, such as Wi-Fi,2G, or 3G, or a combination thereof. In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the mobile terminal 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of mobile terminal 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
The disclosed embodiments provide a non-transitory computer readable storage medium, which when executed by a processor of a UE, enables the UE to perform the wireless communication method provided by any of the foregoing embodiments, and to perform at least one of the methods as shown in any of fig. 1, 2, 3-7.
For example, the processor, when executing instructions of the non-transitory computer-readable storage medium, can implement at least the following method: positioning the mobile terminal to obtain positioning information; determining an application place of the geographic position of the mobile terminal according to the positioning information; and determining triggering conditions of the WiFi roaming of the mobile terminal according to the application places.
In practice, the method further comprises: starting a geofence of the mobile terminal;
the positioning the mobile terminal to obtain positioning information comprises the following steps:
and after the geofence is started, positioning the mobile terminal to obtain the positioning information.
In an embodiment, the determining, according to the positioning information, an application location of the geographic location where the mobile terminal is located includes: determining whether the mobile terminal triggers the geofence based on the positioning information;
And responding to the mobile terminal to trigger the geofence, and determining the application place of the geographic position of the mobile terminal according to the positioning information.
In an embodiment, the determining, according to the application location, a triggering condition of WiFi roaming by the mobile terminal includes:
enabling roaming of a preset trigger configuration with the application field adapted trigger condition or disabling roaming of a preset trigger configuration with the application field not adapted trigger condition.
In some embodiments, the roaming preset trigger configuration includes:
a trigger condition for triggering WiFi roaming based on signal strength, which is enabled by default;
default enabled station kick mode triggered trigger conditions for WiFi roaming;
default enabled trigger conditions for WiFi roaming triggered based on beacon frame loss rate;
default to the triggering condition of the packet error rate triggered WiFi roaming that is enabled.
In an embodiment, the determining, according to the application location, a triggering condition of WiFi roaming by the mobile terminal further includes:
and modifying the configuration parameters of the enabled triggering conditions according to the usage scene.
In an embodiment, the determining, according to the application location, a triggering condition of WiFi roaming by the mobile terminal includes:
Responding to the application place of the geographic position of the mobile terminal as a house place, enabling a triggering condition based on signal intensity in the roaming preset triggering configuration, and improving a signal intensity threshold value for triggering WiFi roaming of the mobile terminal in the triggering condition based on signal intensity;
and/or the number of the groups of groups,
and responding to the application place of the geographic position of the mobile terminal as a house place, enabling the triggering condition of WiFi roaming based on the beacon frame loss rate, and reducing the threshold value of the number of the beacon frames lost based on the triggering condition of WiFi roaming triggered by the beacon frame loss rate.
In an embodiment, the determining, according to the application location, a triggering condition of WiFi roaming by the mobile terminal includes:
and responding to the application place being an office place, and determining that the triggering condition of the mobile terminal for WiFi roaming is defined in the preset triggering configuration of the roaming.
In an embodiment, the determining, according to the application location, a triggering condition of WiFi roaming by the mobile terminal includes:
and enabling a triggering condition of the WiFi roaming triggered by the packet error rate in the preset triggering configuration of the roaming in response to the application place being a public transportation place.
Other embodiments of the invention will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the invention and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the invention being indicated by the following claims.
It is to be understood that the invention is not limited to the precise arrangements and instrumentalities shown in the drawings, which have been described above, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the invention is limited only by the appended claims.
Claims (18)
1. A method for determining triggering conditions of WiFi roaming in wireless fidelity, which is applied to a mobile terminal, the method comprising:
positioning the mobile terminal to obtain positioning information;
determining an application place of the geographic position of the mobile terminal according to the positioning information;
according to the application place, determining a triggering condition of the mobile terminal for WiFi roaming, wherein the triggering condition of the mobile terminal for WiFi roaming comprises at least one or more of the following triggering conditions: triggering a triggering condition of WiFi roaming based on signal strength; wiFi roaming trigger conditions triggered based on site kick mode; a trigger condition of WiFi roaming triggered based on a beacon frame loss rate; triggering conditions of WiFi roaming triggered based on packet error rate;
And the triggering condition of the WiFi roaming is used for the terminal to determine whether the WiFi roaming is needed currently.
2. The method according to claim 1, wherein the method further comprises: starting a geofence of the mobile terminal;
the positioning the mobile terminal to obtain positioning information comprises the following steps:
and after the geofence is started, positioning the mobile terminal to obtain the positioning information.
3. The method according to claim 2, wherein determining the application site of the geographic location of the mobile terminal according to the positioning information comprises:
determining whether the mobile terminal triggers the geofence based on the positioning information;
and responding to the mobile terminal to trigger the geofence, and determining the application place of the geographic position of the mobile terminal according to the positioning information.
4. A method according to any one of claims 1 to 3, wherein the determining, according to the application location, a trigger condition for WiFi roaming by the mobile terminal includes:
enabling a roaming preset trigger configuration and a trigger condition adapted to the application site, or disabling a roaming preset trigger configuration and a trigger condition not adapted to the application site.
5. The method of claim 4, wherein the roaming preset trigger configuration comprises:
a trigger condition for triggering WiFi roaming based on signal strength, which is enabled by default;
default enabled station kick mode triggered trigger conditions for WiFi roaming;
default enabled trigger conditions for WiFi roaming triggered based on beacon frame loss rate;
default to the triggering condition of the packet error rate triggered WiFi roaming that is enabled.
6. The method of claim 4, wherein determining the trigger condition for WiFi roaming by the mobile terminal according to the application location further comprises:
and modifying the configuration parameters of the enabled triggering conditions according to the application places.
7. The method of claim 4, wherein the determining, according to the application location, a trigger condition for WiFi roaming by the mobile terminal comprises:
responding to the application place of the geographic position of the mobile terminal as a house place, enabling a triggering condition based on signal intensity in the roaming preset triggering configuration, and improving a signal intensity threshold value for triggering WiFi roaming of the mobile terminal in the triggering condition based on signal intensity;
And/or the number of the groups of groups,
and responding to the application place of the geographic position of the mobile terminal as a house place, enabling the triggering condition of WiFi roaming based on the beacon frame loss rate, and reducing the threshold value of the number of the beacon frames lost based on the triggering condition of WiFi roaming triggered by the beacon frame loss rate.
8. The method of claim 5, wherein the determining, according to the application location, a trigger condition for WiFi roaming by the mobile terminal comprises:
and enabling a triggering condition of the WiFi roaming triggered by the packet error rate in the preset triggering configuration of the roaming in response to the application place being a public transportation place.
9. A trigger condition determining apparatus for WiFi roaming in wireless fidelity, the apparatus being applied to a mobile terminal, the apparatus comprising:
the positioning module is used for positioning the mobile terminal to obtain positioning information;
the first determining module is used for determining the application place of the geographic position of the mobile terminal according to the positioning information;
the second determining module is configured to determine, according to the application location, a triggering condition of WiFi roaming of the mobile terminal, where the triggering condition of WiFi roaming of the mobile terminal includes at least one or more triggering conditions of: triggering a triggering condition of WiFi roaming based on signal strength; wiFi roaming trigger conditions triggered based on site kick mode; a trigger condition of WiFi roaming triggered based on a beacon frame loss rate; triggering conditions of WiFi roaming triggered based on packet error rate; and the triggering condition of the WiFi roaming is used for the terminal to determine whether the WiFi roaming is needed currently.
10. The apparatus of claim 9, wherein the apparatus further comprises:
a starting module for starting the geofence of the mobile terminal;
and the positioning module is used for positioning the mobile terminal to obtain the positioning information after the geofence is started.
11. The apparatus of claim 10, wherein the second determining module is configured to determine whether the mobile terminal triggers the geofence based on the positioning information; and responding to the mobile terminal to trigger the geofence, and determining the application place of the geographic position of the mobile terminal according to the positioning information.
12. The apparatus according to any one of claims 9 to 11, further comprising: and the second positioning module is used for enabling the roaming preset trigger configuration and the trigger condition adapted to the application place or disabling the roaming preset trigger configuration and the trigger condition not adapted to the application place.
13. The apparatus of claim 12, wherein the roaming preset trigger configuration comprises:
a trigger condition for triggering WiFi roaming based on signal strength, which is enabled by default;
Default enabled station kick mode triggered trigger conditions for WiFi roaming;
default enabled trigger conditions for WiFi roaming triggered based on beacon frame loss rate;
default to the triggering condition of the packet error rate triggered WiFi roaming that is enabled.
14. The apparatus of claim 12, wherein the second determining module is configured to modify a configuration parameter of the trigger condition that is enabled according to the application locale.
15. The apparatus of claim 12, wherein the second determining module is configured to enable a signal strength-based trigger condition in the preset trigger configuration of roaming and to increase a signal strength threshold for triggering WiFi roaming of the mobile terminal in the signal strength-based trigger condition in response to an application site of the geographic location where the mobile terminal is located being a home site; and/or, responding to the application place of the geographic position of the mobile terminal as a house place, enabling the triggering condition of WiFi roaming triggered based on the beacon frame loss rate, and reducing the beacon frame loss number threshold of the triggering condition of Wi Fi roaming triggered based on the beacon frame loss rate.
16. The apparatus of claim 14, wherein the second determining module is configured to enable a triggering condition for packet error rate triggered WiFi roaming in the preset trigger configuration for roaming in response to the application location being a public transportation location.
17. A mobile terminal, comprising:
a memory for storing processor-executable instructions;
a processor connected to the memory;
wherein the processor is configured to perform the triggering condition determination method of WiFi roaming according to any of claims 1 to 8.
18. A non-transitory computer readable storage medium, wherein computer executable instructions are stored in the computer readable storage medium, which when executed by a processor implement the method for determining triggering conditions for WiFi roaming provided in any one of claims 1 to 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011226083.8A CN112492521B (en) | 2020-11-05 | 2020-11-05 | WiFi roaming trigger condition determining method and device, mobile terminal and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011226083.8A CN112492521B (en) | 2020-11-05 | 2020-11-05 | WiFi roaming trigger condition determining method and device, mobile terminal and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112492521A CN112492521A (en) | 2021-03-12 |
CN112492521B true CN112492521B (en) | 2023-08-08 |
Family
ID=74928678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011226083.8A Active CN112492521B (en) | 2020-11-05 | 2020-11-05 | WiFi roaming trigger condition determining method and device, mobile terminal and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112492521B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115988476A (en) * | 2022-12-22 | 2023-04-18 | 上海商米科技集团股份有限公司 | Adaptive roaming method, terminal, and computer-readable medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103999511A (en) * | 2011-12-08 | 2014-08-20 | 苹果公司 | Mechanisms to improve mobile device roaming in wireless networks |
CN107040910A (en) * | 2017-04-24 | 2017-08-11 | 北京小米移动软件有限公司 | Wireless roaming method, radio roaming device and electronic equipment |
CN109089261A (en) * | 2018-10-18 | 2018-12-25 | Oppo广东移动通信有限公司 | Method, apparatus, computer equipment and the storage medium of radio roaming triggering |
CN111246525A (en) * | 2020-01-09 | 2020-06-05 | 中移(杭州)信息技术有限公司 | Home wireless roaming method and system, cloud device and networking device |
CN111314900A (en) * | 2020-03-23 | 2020-06-19 | Oppo广东移动通信有限公司 | Wireless connection method, wireless connection device and mobile terminal |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9313320B2 (en) * | 2014-02-19 | 2016-04-12 | Qualcomm Incorporated | Automatic switching of modes and mode control capabilities on a wireless communication device |
-
2020
- 2020-11-05 CN CN202011226083.8A patent/CN112492521B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103999511A (en) * | 2011-12-08 | 2014-08-20 | 苹果公司 | Mechanisms to improve mobile device roaming in wireless networks |
CN107040910A (en) * | 2017-04-24 | 2017-08-11 | 北京小米移动软件有限公司 | Wireless roaming method, radio roaming device and electronic equipment |
CN109089261A (en) * | 2018-10-18 | 2018-12-25 | Oppo广东移动通信有限公司 | Method, apparatus, computer equipment and the storage medium of radio roaming triggering |
CN111246525A (en) * | 2020-01-09 | 2020-06-05 | 中移(杭州)信息技术有限公司 | Home wireless roaming method and system, cloud device and networking device |
CN111314900A (en) * | 2020-03-23 | 2020-06-19 | Oppo广东移动通信有限公司 | Wireless connection method, wireless connection device and mobile terminal |
Also Published As
Publication number | Publication date |
---|---|
CN112492521A (en) | 2021-03-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109496439B (en) | Method and device for establishing unicast connection based on object direct connection | |
WO2022041245A1 (en) | Paging cause sending method and apparatus, and paging cause acquisition method and apparatus | |
KR101777029B1 (en) | Method, device, program and recording medium for communication | |
WO2020232712A1 (en) | Paging method and apparatus | |
US8787941B2 (en) | Prohibiting electronic device usage based on geographical location | |
US11711864B2 (en) | Network connection method and device | |
CN106454998B (en) | Wireless local area network access method, device and terminal | |
CN117354877A (en) | Method, device, equipment and medium for determining frequency priority and issuing information | |
JP7337170B2 (en) | Method and apparatus for transmitting configuration information for measurement control | |
CN108307308B (en) | Positioning method, device and storage medium for wireless local area network equipment | |
US20230354059A1 (en) | Measurement configuration method and method for reporting measurement information | |
CN112492521B (en) | WiFi roaming trigger condition determining method and device, mobile terminal and storage medium | |
WO2022205202A1 (en) | Candidate cell determination method and apparatus | |
JP6076543B2 (en) | LOCATION METHOD, DEVICE, PROGRAM, AND RECORDING MEDIUM | |
US11848885B2 (en) | System information reception method and apparatus, and system information transmission method and apparatus | |
CN110140367B (en) | Control method and device for terminal access | |
CN109309924B (en) | Data transmission method and device | |
CN106792570B (en) | Positioning method and device | |
CN112188603B (en) | Power control method, device and storage medium | |
CN113407569A (en) | Information processing method, device and storage medium | |
CN107529140B (en) | Positioning method and device | |
US20220256498A1 (en) | Paging method and apparatus, and travel route reporting method and apparatus | |
WO2024138437A1 (en) | Information transmission method and apparatus, and storage medium | |
CN106714280B (en) | Terminal positioning method and device | |
CN115396995A (en) | Drive test method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |