CN116156586A - Method, device and equipment for dynamically switching WIFI channel list - Google Patents

Method, device and equipment for dynamically switching WIFI channel list Download PDF

Info

Publication number
CN116156586A
CN116156586A CN202211434262.XA CN202211434262A CN116156586A CN 116156586 A CN116156586 A CN 116156586A CN 202211434262 A CN202211434262 A CN 202211434262A CN 116156586 A CN116156586 A CN 116156586A
Authority
CN
China
Prior art keywords
network
current
resident
equipment
wifi
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202211434262.XA
Other languages
Chinese (zh)
Other versions
CN116156586B (en
Inventor
黄嘉虹
吴曦
邓兆伟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Tongze Kangwei Technology Co ltd
Original Assignee
Guangzhou Tongze Kangwei Intelligent Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangzhou Tongze Kangwei Intelligent Technology Co ltd filed Critical Guangzhou Tongze Kangwei Intelligent Technology Co ltd
Priority to CN202211434262.XA priority Critical patent/CN116156586B/en
Publication of CN116156586A publication Critical patent/CN116156586A/en
Application granted granted Critical
Publication of CN116156586B publication Critical patent/CN116156586B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/14Reselecting a network or an air interface
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • H04W72/044Wireless resource allocation based on the type of the allocated resource
    • H04W72/0453Resources in frequency domain, e.g. a carrier in FDMA
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/26Network addressing or numbering for mobility support
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/10Small scale networks; Flat hierarchical networks
    • H04W84/12WLAN [Wireless Local Area Networks]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

The invention discloses a method, a device and equipment for dynamically switching WI F I channel lists, which comprises the following steps: detecting network state information of equipment in real time, wherein the network state information comprises whether an SIM card is inserted, a current resident network and a current resident base station; if the equipment is not currently inserted with the SIM card or the equipment is currently inserted with the SIM card but the equipment does not reside on the network, switching to a default WIF I country code and a corresponding WIF I channel list; if the current equipment is already resident in the network, the user identification is read according to the current resident network and the current resident base station, and the WI F I channel list is switched according to the user identification. By detecting the state information of the current equipment in real time, selecting different user identifications according to different resident networks of the equipment, acquiring WIF I country codes and dynamically switching WIF I channel lists through multiple channels in combination with actual scenes, and improving user experience.

Description

Method, device and equipment for dynamically switching WIFI channel list
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a method, an apparatus, and a device for dynamically switching a WIFI channel list.
Background
Currently, in different countries or regions, the opening of WIFI (wireless network communication technology) channels is generally controlled, so before the mobile equipment leaves the factory, the mobile equipment is fixedly configured according to the country or region used by the product, the on or off of certain channels are fixed, and whether the WIFI channel control of the product meets the requirement is determined through the scanning results of the different channels.
The WIFI country code and the WIFI channel list are usually matched, and the WIFI channel list is basically determined by determining the WIFI country code. Currently, which WIFI country code is used by the WIFI equipment is confirmed, and a WIFI country code and a WIFI channel list are preset basically before the equipment leaves a factory; or presetting a list of WIFI country codes on the system and setting a list of WIFI country codes as a default value, and changing on the interface when the user needs.
The existing WIFI channel switching list method needs to be preconfigured with WIFI, the customization workload is large, human resources are needed, and meanwhile, when the SIM card is replaced in cross-region use, user experience is affected due to inconsistent WIFI country codes and local equipment and interference between a WIFI channel and the WIFI channel of the local equipment.
Disclosure of Invention
The invention provides a method, a device and equipment for dynamically switching a WIFI channel list, and aims to solve the technical problem that a WIFI channel cannot be automatically switched according to the network condition of equipment, and user experience is affected.
In order to solve the above technical problems, an embodiment of the present invention provides a method for dynamically switching a WIFI channel list, including:
detecting network state information of equipment in real time, wherein the network state information comprises whether a SIM card is inserted, a current resident network and a current resident base station;
if the equipment is not currently inserted into the SIM card or the equipment is not currently inserted into the SIM card but the equipment is not in the network, switching to a default WIFI country code and a corresponding WIFI channel list;
if the current equipment is already resident in the network, reading a user identifier according to the current resident network and the current resident base station, and switching a WIFI channel list according to the user identifier. According to the method, the state information of the current equipment is detected in real time, different user identifications are selected according to different resident networks of the equipment, and a WIFI country code and a dynamic switching WIFI channel list are acquired through multiple channels in combination with an actual scene, so that the situation that the network cannot be used due to inconsistent WIFI country code, WIFI channel list and local resident network base station when the system is used across areas and countries is avoided; meanwhile, time for switching WIFI channels by manpower is saved.
Further, the reading the user identifier according to the current resident network and the current resident base station specifically includes:
acquiring a current resident network of the equipment, if the current resident network is a 2G network or a 3G network, reading the IMSI of the SIM card, and acquiring a user identifier;
if the current resident network is a 4G network, reading ECGI of the current resident base station and acquiring a user identification;
if the current resident network is a 5G network, reading the NCGI of the current resident base station and acquiring a user identification;
according to the invention, the user identifications are respectively acquired through the specific resident network of the equipment, the PLMN of the base station currently connected with the equipment is directly confirmed, and the accuracy of WIFI channel switching can be further improved in roaming and other scenes.
Further, after the switching of the WIFI channel list according to the user identifier, the method further includes:
if the current resident network is an LTE network, the current resident frequency band of the equipment is obtained, and the interference channel in the WIFI channel list is deleted according to the current resident frequency band.
According to the invention, through eliminating interference channels from the resident frequency band of the LTE network, a channel list is optimized, and the influence of the user experience caused by the selection of the WIFI channel interfering with the current resident frequency band of the LTE network by the user is avoided.
Further, the switching of the WIFI channel list according to the user identifier specifically includes: and matching the corresponding WIFI country code from a preset channel list according to the user identification, and switching to the corresponding WIFI channel list.
According to the invention, the WIFI country code and the WIFI channel list are dynamically matched through the user identifier, so that the problem that certain WIFI channels which are not allowed to be used locally possibly exist in the WIFI channel list due to inconsistent WIFI country code and local actual WIFI country code in the cross-over area is avoided.
In a second aspect, an embodiment of the present invention further provides an apparatus for dynamically switching a WIFI channel list, including: the system comprises a state detection module, a non-network-resident switching module and a network-resident switching module;
the state detection module is used for detecting network state information of the equipment in real time, wherein the network state information comprises whether a SIM card is inserted, a current resident network and a current resident base station;
the non-network-resident switching module is used for switching to a default WIFI country code and a corresponding WIFI channel list if the equipment is not currently inserted into the SIM card or the equipment is not currently inserted into the SIM card but is not network-resident;
and the network residence switching module is used for reading a user identifier according to the current residence network and the current residence base station and switching a WIFI channel list according to the user identifier if the current equipment resides on the network.
Further, the network-resident switching module is specifically configured to:
acquiring a current resident network of the equipment, if the current resident network is a 2G network or a 3G network, reading the IMSI of the SIM card, and acquiring a user identifier; if the current resident network is a 4G network, reading ECGI of the current resident base station and acquiring a user identification;
if the current resident network is a 5G network, the NCGI of the current resident base station is read, and the user identification is obtained. Further, the device for dynamically switching the WIFI channel list further comprises a channel list optimizing module;
and the channel list optimizing module is used for acquiring the current resident frequency band of the equipment if the current resident network is an LTE network, and deleting the interference channel in the WIFI channel list according to the current resident frequency band.
Further, the network-resident switching module is further configured to:
and matching the corresponding WIFI country code from a preset channel list according to the user identification, and switching to the corresponding WIFI channel list.
In a third aspect, an embodiment of the present invention provides a computer apparatus, including: the device comprises a processor, a communication interface and a memory, wherein the processor, the communication interface and the memory are mutually connected, executable program codes are stored in the memory, and the processor is used for calling the executable program codes and executing the method for dynamically switching the WIFI channel list.
In a fourth aspect, embodiments of the present invention provide a computer-readable storage medium having stored thereon computer instructions that, when executed by a processor, implement the method of dynamically switching WIFI channel lists.
Drawings
Fig. 1 is a schematic flow chart of a method for dynamically switching WIFI channel lists according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a device for dynamically switching WIFI channel lists according to an embodiment of the present invention;
fig. 3 is another flow chart of a method for dynamically switching WIFI channel lists according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Example 1
Referring to fig. 1, fig. 1 is a flowchart of a method for dynamically switching a WIFI channel list according to an embodiment of the present invention, including steps 101 to 103, specifically as follows:
step 101: detecting network state information of equipment in real time, wherein the network state information comprises whether a SIM card is inserted, a current resident network and a current resident base station;
in this embodiment, the scene of using and replacing the SIM card in the device across regions influences the user experience, for example, the device which is conveniently carried by MIFI is brought to foreign countries for use, no matter whether the user replaces the local SIM card or not, the user experience can be influenced by inconsistent WIFI country codes and local devices, interference exists between WIFI channels and WIFI channels of the local devices, and the like, so that the WIFI country codes and WIFI channels of the device are updated in real time by detecting the state information of the SIM card of the current device in real time, and network unusable caused by inconsistent WIFI country codes, WIFI channel lists and local network-resident base stations in use across regions and across regions is avoided.
In this embodiment, it is necessary to detect in real time whether the SIM card, the current residence network and the current residence base station used by the current device change, and switch the WIFI channel list according to the actual situation.
Step 102: if the equipment is not currently inserted into the SIM card or the equipment is not currently inserted into the SIM card but the equipment is not in the network, switching to a default WIFI country code and a corresponding WIFI channel list;
in this embodiment, detecting, in real time, the status information of the current SIM card of the device includes checking whether the device inserts the SIM card, if the SIM card is inserted, detecting whether the SIM card of the device has been network-resident, and if the SIM card is not inserted or the device has not been network-resident, using a default WIFI country code and a corresponding WIFI channel selectable list. The default WIFI country code and the corresponding WIFI channel selectable list are set on the program and the software in advance through fixed codes. At factory preset, a configuration needs to be imported, and the configuration can be changed through the actual use area.
Step 103: if the current equipment is already resident in the network, reading a user identifier according to the current resident network and the current resident base station, and switching a WIFI channel list according to the user identifier.
In this embodiment, the reading, according to the current residence network and the current residence base station, a user identifier is specifically:
acquiring a current resident network of the equipment, if the current resident network is a 2G network or a 3G network, reading the IMSI of the SIM card, and acquiring a user identifier; if the current resident network is a 4G network, reading ECGI of the current resident base station and acquiring a user identification;
if the current resident network is a 5G network, the NCGI of the current resident base station is read, and the user identification is obtained.
In this embodiment, the switching the WIFI channel list according to the user identifier specifically includes:
and matching the corresponding WIFI country code from a preset channel list according to the user identification, and switching to the corresponding WIFI channel list.
In this embodiment, the user identifier dynamically matches the WIFI country code and the WIFI channel list, so as to avoid that some WIFI channels which are not allowed to be used locally may exist in the WIFI channel list due to inconsistent WIFI country code and local actual WIFI country code in the cross-zone area.
In this embodiment, it is necessary to determine the residence network of the current SIM card, and if the current device resides in the 2G network or the 3G network, the IMSI (International Mobile Subscriber Identity ) of the SIM card is read, where the IMSI is a unique identifier allocated to each subscriber and has 15 digits in total, and the structure is as follows: mcc+mnc+msin. And acquiring the first five digits of the IMSI, namely PLMN (Public Land Mobile Network ), wherein the PLMN=MCC+MNC, taking the IMSI of the first five digits as a 2G/3G user identifier, searching a matching item from a preset corresponding relation set table of PLMN-WIFI country code-WIFI channel optional list through the 2G/3G user identifier, and determining the WIFI country code and the WIFI channel list.
In this embodiment, if the current device resides in the 4G network, an ECGI (E-UTRAN Cell Global Identifier, cell global identifier) of the currently-resident base station is read, where the ECGI is composed of plmn+cell Identity, and is used to globally identify a Cell in the PLMN. Cell Identity (Cell Identity) consists of enodebid+cell ID. Which contains 28 bits of information, the first 20 bits representing the enodebs ID and the last 8 bits representing the Cell ID. ECGI (non more than 52 bits) =plmn id+eci. And acquiring the first five digits of the ECGI, namely MNC and MCC, as 4G user identifiers, searching a matching item from a preset corresponding relation set table of PLMN-WIFI country code-WIFI channel selectable list according to the 4G user identifiers, and determining the WIFI country code and the WIFI channel list.
In this embodiment, if the current device camps on the 5G network, the NCGI (NR Cell Global Identifier, global identifier) of the currently camping base station is read, where the NCGI is composed of mcc+mnc+nci, and nci=gbid+cellid. Taking the first five digits of NCGI (MNC (Mobile Country Code, mobile country code), MCC (Mobile Network Code ) as 5G user identification, searching a matching item from a preset corresponding relation set table of PLMN-WIFI country code-WIFI channel optional list according to the 5G user identification, and determining the WIFI country code and the WIFI channel list.
In this embodiment, instead of directly adopting the PLMN of the SIM card to confirm the WIFI country code and the WIFI channel list, the PLMN of the SIM is used only if the device has the SIM card, but does not successfully camp on the network or resides in 2G or resides in 3G; in the 4G or 5G, the ECGI or the NCGI is adopted to directly confirm the PLMN of the base station to which the device is currently connected, so that in the roaming and other scenarios, the accuracy can be further improved, for example, MIFI is carried to the united states, but a mobile SIM card in china is used, if the PLMN of the SIM card is directly used, the device cannot be automatically changed into the WIFI country code in the united states, so that the user experience can be affected.
In this embodiment, the PLMN, that is, MNC and MCC, is obtained through combining multiple channels of the actual scenario, so that the PLMN of the base station to which the device is currently connected is directly confirmed, and in the roaming scenario, the accuracy of WIFI channel switching can be further improved.
In this embodiment, after the switching of the WIFI channel list according to the user identifier, the method further includes:
if the current resident network is an LTE network, the current resident frequency band of the equipment is obtained, and the interference channel in the WIFI channel list is deleted according to the current resident frequency band.
According to the invention, through eliminating interference channels from the resident frequency band of the LTE network, optimizing a channel list, avoiding that the user selects the WIFI channel which is interfered with the frequency band of the current resident LTE network to influence user experience, and if the user selects the WIFI channel which is interfered with the frequency band of the current resident LTE network, the generated influence comprises the reduction of the LTE network rate and the reduction of the WIFI network rate.
In this embodiment, when the residence network is 4G, it needs to determine whether the device is currently used as an LTE network, and if so, acquire the current residence frequency band of the device; and according to the rule of ' when the LTE resident frequency Band is Band 40, removing the WIFI channels 1 to 5 from the current WIFI channel selectable list ', and when the LTE resident frequency Band is Band 7 or Band 41, removing the WIFI channels 11 to 13 from the current WIFI channel selectable list ', optimizing the WIFI channel selectable list.
In this embodiment, through eliminating the interference channel from the resident frequency band of the LTE network, the channel list is optimized, and the interference channel is prevented from affecting the user experience.
In the embodiment, through detecting the state information of the current equipment SIM card in real time, different user identifications are selected according to different resident networks of the SIM card, and a WIFI country code and a dynamic switching WIFI channel list are acquired through multiple channels in combination with an actual scene, so that network incapability of using caused by inconsistent WIFI country code, WIFI channel list and local resident network base stations in use across regions and countries is avoided; meanwhile, time for switching WIFI channels by manpower is saved.
Referring to fig. 2, fig. 2 is a schematic structural diagram of an apparatus for dynamically switching a WIFI channel list according to an embodiment of the present invention, including a state detection module 201, an off-network switching module 202, and an on-network switching module 203, which are specifically as follows:
the state detection module 201 is configured to detect network state information of the device in real time, where the network state information includes whether a SIM card is inserted, a current residence network, and a current residence base station;
the non-network-resident switching module 202 is configured to switch to a default WIFI country code and a corresponding WIFI channel list if the device is not currently plugged into the SIM card or if the device is not currently plugged into the SIM card but the device is not network-resident;
the network residence switching module 203 is configured to read a user identifier according to the current residence network and the current residence base station if the current device already hosts a network, and switch a WIFI channel list according to the user identifier. In this embodiment, the network-resident switching module is specifically configured to:
acquiring a current resident network of the equipment, if the current resident network is a 2G network or a 3G network, reading the IMSI of the SIM card, and acquiring a user identifier; if the current resident network is a 4G network, reading ECGI of the current resident base station and acquiring a user identification; if the current resident network is a 5G network, the NCGI of the current resident base station is read, and the user identification is obtained.
In this embodiment, the device for dynamically switching WIFI channel lists further includes a channel list optimizing module;
and the channel list optimizing module is used for acquiring the current resident frequency band of the equipment if the current resident network is an LTE network, and deleting the interference channel in the WIFI channel list according to the current resident frequency band.
In this embodiment, the network residence switching module is further configured to:
and matching the corresponding WIFI country code from a preset channel list according to the user identification, and switching to the corresponding WIFI channel list.
The embodiment of the invention also provides computer equipment, which comprises: the device comprises a processor, a communication interface and a memory, wherein the processor, the communication interface and the memory are mutually connected, executable program codes are stored in the memory, and the processor is used for calling the executable program codes and executing the method for dynamically switching the WIFI channel list.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer instructions are stored on the computer readable storage medium, and the method for dynamically switching the WIFI channel list is realized when the computer instructions are executed by a processor.
Referring to fig. 3, fig. 3 is another flow chart of a method for dynamically switching a WIFI channel list according to an embodiment of the invention.
In this embodiment, after the device is powered on, it is checked whether the device inserts a SIM card, if so, the IMSI of the SIM card is read, marked as sim_plmn, and whether the current device has been camped on is determined. If the current SIM card is not inserted or the current equipment is not in the network, adopting a default WIFI country code and a corresponding WIFI channel selectable list.
In another alternative embodiment, if the current device does not reside in the network, the sim_plmn may also determine the WIFI country code and the WIFI channel list by searching for a matching item from a preset table of correspondence set of PLMN-WIFI country code-WIFI channel optional list.
In this embodiment, if the device is already on the network, the current network is determined, and if the device is already on the network and the device is on the 2G or 3G network, the sim_plmn is also used as a basis to search a matching item from a preset table of correspondence set of PLMN-WIFI country code-WIFI channel selectable list, so as to determine the WIFI country code and the WIFI channel list.
If the network is resident and the equipment is resident in 4G, the ECGI is read, the first five digits of the ECGI are taken as PLMN, the PLMN is marked as 4G_PLMN, a matching item is searched from a preset corresponding relation set table of PLMN-WIFI country code-WIFI channel optional list according to the 4G_PLMN, and the WIFI country code and the WIFI channel list are determined.
If the network is resident and the equipment is resident in 5G, the NCGI is read, the first five digits of the NCGI are taken as PLMN, the PLMN is marked as 5G_PLMN, a matching item is searched from a preset corresponding relation set table of PLMN-WIFI country code-WIFI channel optional list according to the 5G_PLMN, and the WIFI country code and the WIFI channel list are determined.
In this embodiment, if the current device resides in the 4G network, the WIFI channel selectable list is optimized, that is, whether the device is currently used is judged to be an LTE network, if so, the current resident frequency Band of the device is obtained, and according to the rule of "when the LTE resident frequency Band is Band 40, WIFI channels 1 to 5 are removed from the current WIFI channel selectable list, and when the LTE resident frequency Band is Band 7 or Band 41, WIFI channels 11 to 13 are removed from the current WIFI channel selectable list," the WIFI channel selectable list is optimized.
In this embodiment, the method further includes real-time monitoring, and when the currently used SIM card, the currently resident network and the currently resident base station of the device change, the WIFI country code and the WIFI channel list are reconfirmed.
In this embodiment, an AT instruction (at+cimi) is used to obtain the IMSI of the SIM card and compare with the recorded IMSI, so as to determine whether the currently used SIM card changes; obtaining the type of the current resident network by using an AT instruction (AT+CREG; and obtaining the ID of the current resident base station, comparing the ID with the last recorded ID, and judging whether the resident base station changes or not.
In this embodiment, the AT instruction set is sent from a Terminal device (Terminal Equipment, TE), or data Terminal device (Data Terminal Equipment, DTE), to a Terminal Adapter (TA) or data circuit Terminal device (Data Circuit Terminal Equipment, DCE). The function of a Mobile Station (MS) is controlled by sending an AT command through the TA and the TE, and the Mobile Station interacts with GSM network service.
In this embodiment, the multi-scenario multi-channel obtains the PLMN, and only if the device has a SIM card, but does not successfully camp on the network or camp on 2G or 3G, the PLMN of the SIM is used; in the 4G or 5G, ECGI or NCGI is adopted to directly confirm the PLMN of the base station to which the equipment is currently connected, and in the scenes of roaming and the like, the accuracy can be further improved.
The foregoing embodiments have been provided for the purpose of illustrating the general principles of the present invention, and are not to be construed as limiting the scope of the invention. It should be noted that any modifications, equivalent substitutions, improvements, etc. made by those skilled in the art without departing from the spirit and principles of the present invention are intended to be included in the scope of the present invention.

Claims (10)

1. A method for dynamically switching a WIFI channel list, comprising:
detecting network state information of equipment in real time, wherein the network state information comprises whether a SIM card is inserted, a current resident network and a current resident base station;
if the equipment is not currently inserted into the SIM card or the equipment is not currently inserted into the SIM card but the equipment is not in the network, switching to a default WIFI country code and a corresponding WIFI channel list;
if the current equipment is already resident in the network, reading a user identifier according to the current resident network and the current resident base station, and switching a WIFI channel list according to the user identifier.
2. The method for dynamically switching WIFI channel lists according to claim 1, wherein the reading, according to the current residing network and the current residing base station, a user identifier is specifically:
acquiring a current resident network of the equipment, if the current resident network is a 2G network or a 3G network, reading the IMSI of the SIM card, and acquiring a user identifier;
if the current resident network is a 4G network, reading ECGI of the current resident base station and acquiring a user identification;
if the current resident network is a 5G network, the NCGI of the current resident base station is read, and the user identification is obtained.
3. The method for dynamically switching WIFI channel lists according to claim 2, further comprising, after switching WIFI channel lists according to the user identification:
if the current resident network is an LTE network, the current resident frequency band of the equipment is obtained, and the interference channel in the WIFI channel list is deleted according to the current resident frequency band.
4. The method for dynamically switching WIFI channel lists according to claim 1, wherein the switching WIFI channel list according to the user identifier specifically includes:
and matching the corresponding WIFI country code from a preset channel list according to the user identification, and switching to the corresponding WIFI channel list.
5. An apparatus for dynamically switching a WIFI channel list, comprising: the system comprises a state detection module, a non-network-resident switching module and a network-resident switching module;
the state detection module is used for detecting network state information of the equipment in real time, wherein the network state information comprises whether a SIM card is inserted, a current resident network and a current resident base station;
the non-network-resident switching module is used for switching to a default WIFI country code and a corresponding WIFI channel list if the equipment is not currently inserted into the SIM card or the equipment is not currently inserted into the SIM card but is not network-resident;
and the network residence switching module is used for reading a user identifier according to the current residence network and the current residence base station and switching a WIFI channel list according to the user identifier if the current equipment resides on the network.
6. The apparatus for dynamically switching WIFI channel lists according to claim 5, wherein the network resident switching module is specifically configured to:
acquiring a current resident network of the equipment, if the current resident network is a 2G network or a 3G network, reading the IMSI of the SIM card, and acquiring a user identifier; if the current resident network is a 4G network, reading ECGI of the current resident base station and acquiring a user identification;
if the current resident network is a 5G network, the NCGI of the current resident base station is read, and the user identification is obtained.
7. The apparatus for dynamically switching WIFI channel lists according to claim 6, wherein the apparatus for dynamically switching WIFI channel lists further comprises a channel list optimization module;
and the channel list optimizing module is used for acquiring the current resident frequency band of the equipment if the current resident network is an LTE network, and deleting the interference channel in the WIFI channel list according to the current resident frequency band.
8. The apparatus for dynamically switching WIFI channel lists according to claim 5, wherein the network resident switching module is further configured to:
and matching the corresponding WIFI country code from a preset channel list according to the user identification, and switching to the corresponding WIFI channel list.
9. A computer device, comprising: processor, communication interface and memory, said processor, communication interface and memory interconnect, wherein, the memory stores executable program code, and the processor is used for invoking the executable program code, carries out the method of dynamically switching WIFI channel lists according to any of claims 1 to 4.
10. A computer readable storage medium having stored thereon computer instructions which when executed by a processor implement the method of dynamically switching WIFI channel lists according to any of claims 1 to 4.
CN202211434262.XA 2022-11-16 2022-11-16 Method, device and equipment for dynamically switching WIFI channel list Active CN116156586B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211434262.XA CN116156586B (en) 2022-11-16 2022-11-16 Method, device and equipment for dynamically switching WIFI channel list

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211434262.XA CN116156586B (en) 2022-11-16 2022-11-16 Method, device and equipment for dynamically switching WIFI channel list

Publications (2)

Publication Number Publication Date
CN116156586A true CN116156586A (en) 2023-05-23
CN116156586B CN116156586B (en) 2023-10-24

Family

ID=86355200

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211434262.XA Active CN116156586B (en) 2022-11-16 2022-11-16 Method, device and equipment for dynamically switching WIFI channel list

Country Status (1)

Country Link
CN (1) CN116156586B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685718A (en) * 2012-05-25 2012-09-19 华为技术有限公司 Wi-Fi configuration method and system
CN103906272A (en) * 2012-12-25 2014-07-02 华为终端有限公司 Wireless local area network configuration method and wireless terminal
CN104427507A (en) * 2013-08-29 2015-03-18 华为终端有限公司 Method for self-adaption of Wi-Fi channel range and wireless access equipment controller
CN105657793A (en) * 2016-01-29 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Network connection method and user terminal
US20170094652A1 (en) * 2015-09-30 2017-03-30 Hisense Mobile Communications Technology Co., Ltd. Apparatus and method for configuring wifi channel of mobile device
CN108347754A (en) * 2017-01-25 2018-07-31 中兴通讯股份有限公司 The method and device of Wi-Fi working channels switching
CN111279670A (en) * 2017-08-25 2020-06-12 深圳传音通讯有限公司 Emergency number matching method and device
CN115243330A (en) * 2021-04-25 2022-10-25 中国联合网络通信集团有限公司 Method, terminal and storage medium for automatically switching WiFi and cellular network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102685718A (en) * 2012-05-25 2012-09-19 华为技术有限公司 Wi-Fi configuration method and system
CN103906272A (en) * 2012-12-25 2014-07-02 华为终端有限公司 Wireless local area network configuration method and wireless terminal
CN104427507A (en) * 2013-08-29 2015-03-18 华为终端有限公司 Method for self-adaption of Wi-Fi channel range and wireless access equipment controller
US20170094652A1 (en) * 2015-09-30 2017-03-30 Hisense Mobile Communications Technology Co., Ltd. Apparatus and method for configuring wifi channel of mobile device
CN105657793A (en) * 2016-01-29 2016-06-08 宇龙计算机通信科技(深圳)有限公司 Network connection method and user terminal
CN108347754A (en) * 2017-01-25 2018-07-31 中兴通讯股份有限公司 The method and device of Wi-Fi working channels switching
CN111279670A (en) * 2017-08-25 2020-06-12 深圳传音通讯有限公司 Emergency number matching method and device
CN115243330A (en) * 2021-04-25 2022-10-25 中国联合网络通信集团有限公司 Method, terminal and storage medium for automatically switching WiFi and cellular network

Also Published As

Publication number Publication date
CN116156586B (en) 2023-10-24

Similar Documents

Publication Publication Date Title
EP2774419B1 (en) Public land mobile network plmn selection
WO2020038076A1 (en) Network switching method and apparatus, terminal and storage medium
KR100929090B1 (en) Wireless-terminal for auto-managing national code and method for storing and searching phone number using the wireless-terminal
CN110401943B (en) Mobile terminal network-residing method, device, server and storage medium
CN111698763B (en) Terminal residing network control method, MME (mobility management entity) equipment, AMF (advanced metering framework) equipment and network
CN102118839B (en) PLMN (Public Land Mobile Network) network selecting method of multimode terminal
CN108282845B (en) Network access method and mobile communication terminal
CN108322908B (en) Base station searching method and terminal
EP3136800B1 (en) Method for updating rplmn information, and user equipment
CN108601017B (en) Network searching control method based on user terminal and user terminal
CN106559770B (en) Network selection method and system of foreign roaming boundary
CN110177392B (en) Cell selection method and device
CA2472719A1 (en) Method and apparatus for efficient selection and acquisition of a wireless communications system
CN106793009B (en) Network searching method and mobile terminal
CN113573372B (en) Cell selection method and terminal
CN108271225B (en) Network acquisition method and device
CN110602765B (en) Network selection method and device
WO2016151041A1 (en) Cellular mobile device
CN106211250B (en) Mobile terminal and self-adaptive switching method and system of card slot of mobile terminal
CN105704734A (en) Specified type cell detection method, device and communication terminal
CN108718457B (en) Network reselection method, device, chip and storage medium
CN104853411A (en) Network access method and mobile communication terminal
WO2017080623A1 (en) Visited plmn (vplmn) selection for roaming subscribers
KR100651428B1 (en) Apparatus and method for providing improved roaming service in mobile terminal
CN107302776A (en) Network selection method, device and the mobile terminal of circuit domain dropping

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
CP01 Change in the name or title of a patent holder
CP01 Change in the name or title of a patent holder

Address after: 510000 room 1301, No. 37, Jinlong street, Xiangjiang financial and business center, Nansha District, Guangzhou City, Guangdong Province (office only)

Patentee after: Guangzhou Tongze Kangwei Technology Co.,Ltd.

Address before: 510000 room 1301, No. 37, Jinlong street, Xiangjiang financial and business center, Nansha District, Guangzhou City, Guangdong Province (office only)

Patentee before: Guangzhou Tongze Kangwei Intelligent Technology Co.,Ltd.