CN111726849B - WiFi hotspot type identification method and device and storage medium - Google Patents

WiFi hotspot type identification method and device and storage medium Download PDF

Info

Publication number
CN111726849B
CN111726849B CN202010605380.7A CN202010605380A CN111726849B CN 111726849 B CN111726849 B CN 111726849B CN 202010605380 A CN202010605380 A CN 202010605380A CN 111726849 B CN111726849 B CN 111726849B
Authority
CN
China
Prior art keywords
wifi
hotspot
type
wifi hotspot
broadcast message
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
Application number
CN202010605380.7A
Other languages
Chinese (zh)
Other versions
CN111726849A (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.)
Xian Yep Telecommunication Technology Co Ltd
Original Assignee
Xian Yep Telecommunication 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 Xian Yep Telecommunication Technology Co Ltd filed Critical Xian Yep Telecommunication Technology Co Ltd
Priority to CN202010605380.7A priority Critical patent/CN111726849B/en
Publication of CN111726849A publication Critical patent/CN111726849A/en
Application granted granted Critical
Publication of CN111726849B publication Critical patent/CN111726849B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • H04W48/10Access restriction or access information delivery, e.g. discovery data delivery using broadcasted information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • 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

Abstract

The application provides a WiFi hotspot type identification method, WiFi hotspot type identification equipment and a WiFi hotspot type storage medium. The method comprises the following steps: receiving a broadcast message sent by a WiFi access point, wherein the broadcast message comprises a type identifier of a WiFi hotspot of the WiFi access point, and the type identifier is used for indicating that the type of the WiFi hotspot is a mobile hotspot or a fixed hotspot; the broadcast message is parsed to determine the type of WiFi hotspot. The method improves the accuracy of type identification of the WiFi hot spot.

Description

WiFi hotspot type identification method and device and storage medium
Technical Field
The present disclosure relates to wireless communication technologies, and in particular, to a method, a device, and a storage medium for identifying a WiFi hotspot type.
Background
When a user uses a terminal, the network service is often used by connecting to a WiFi hotspot. WiFi hotspots can be divided into mobile hotspots and fixed hotspots. The mobile hotspot is a WiFi hotspot with a mobile terminal as a WiFi Access Point (AP), for example, a WiFi hotspot set by a smart phone or a tablet; a fixed hotspot is a WiFi hotspot that is set by the home/corporate gateway as a WiFi AP, e.g., by a home router. In many scenarios, the terminal may perform different operations depending on the type of WiFi hotspot connected. For example, when the terminal executes the positioning function, whether positioning needs to be started or not is determined according to the type of the connected WiFi hotspot, and if the WiFi hotspot is judged to be a mobile hotspot, the positioning function is triggered to acquire current position information; if the WiFi hotspot is judged to be the fixed hotspot, the position information acquired by positioning when the WiFi hotspot is connected for the first time is directly used without restarting positioning, so that the power consumption is reduced.
In the prior art, a mode for a terminal to determine a WiFi hotspot type is that the terminal analyzes an Option field in a DCHP message sent by a WiFi AP after WiFi connection is established. If the WiFi AP adopts the Android system, an Option field in the DCHP message sent by the WiFi AP will include Android information. Therefore, if the android information is contained in the analysis Option field of the terminal, the WiFi hotspot is judged to be a mobile hotspot; and if the Option field does not contain android information, judging the WiFi hotspot to be a fixed hotspot.
However, when the method is adopted, the mobile terminal adopting other systems except the Android system can be judged as a fixed hotspot because the Option field in the DCHP message sent by the mobile terminal does not contain Android information; and the home gateway adopting the Android system judges the home gateway as a mobile hotspot because the Option field in the DCHP message sent by the home gateway contains Android information. Therefore, this method is very likely to cause a judgment error.
Disclosure of Invention
The application provides a WiFi hotspot type identification method, WiFi hotspot type identification equipment and a WiFi hotspot type identification storage medium, so that the accuracy of type identification of WiFi hotspots is improved.
In a first aspect, the present application provides a WiFi hotspot type identification method, which is applied to a WiFi station, and the method includes:
receiving a broadcast message sent by a WiFi access point, wherein the broadcast message comprises a type identifier of a WiFi hotspot of the WiFi access point, and the type identifier is used for indicating that the type of the WiFi hotspot is a mobile hotspot or a fixed hotspot;
parsing the broadcast message to determine the type of the WiFi hotspot.
Optionally, the broadcast message is a Beacon message.
Optionally, the method further includes:
and determining whether to execute preset operation or not according to the type of the WiFi hotspot.
Optionally, the method further includes:
and outputting prompt information on a user interface, wherein the prompt information is used for prompting the type of the WiFi hotspot of the user.
In a second aspect, the present application provides a WiFi hotspot type identification method, which is applied to a WiFi access point, and the method includes:
generating a broadcast message, wherein the broadcast message comprises a type identifier of a WiFi hotspot of the WiFi access point, and the type identifier is used for indicating that the type of the WiFi hotspot is a mobile hotspot or a fixed hotspot;
and sending the broadcast message, wherein the broadcast message is used for instructing a WiFi station to determine the type of the WiFi hotspot.
Optionally, the broadcast message is a Beacon message.
Optionally, the method further includes:
when the type identification indicates that the type of the WiFi hotspot is a fixed hotspot, acquiring first cell information registered at the current moment and second cell information registered at the historical moment of the WiFi access point;
if the first cell information is different from the second cell information, modifying the type identifier of the WiFi hotspot, wherein the modified type identifier of the WiFi hotspot indicates that the type of the WiFi hotspot is a mobile hotspot.
In a third aspect, the present application provides an electronic device, comprising: a transceiver, a memory, and a processor; the transceiver, the memory and the processor are respectively connected;
the memory for storing a computer program;
the processor is configured to implement the method according to any of the first aspect as described above when the computer program is executed.
In a fourth aspect, the present application provides an electronic device, comprising: a transceiver, a memory, and a processor; the transceiver, the memory and the processor are respectively connected;
the memory for storing a computer program;
the processor is configured to implement the method according to any of the second aspect when the computer program is executed.
In a fifth aspect, the present application provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the method of any of the first or second aspects.
The method, the device and the storage medium for identifying the type of the WiFi hotspot enable the WiFi Station to determine the type of the WiFi hotspot according to the received broadcast message by the WiFi AP carrying the type identification of the WiFi hotspot in the broadcast message, and ensure the accuracy of type identification of the WiFi hotspot. In addition, because the type of the WiFi hotspot is identified in the broadcast message of the WiFi AP, the WiFi Station can receive the broadcast message without connecting to the WiFi AP, and analyzes the broadcast message to determine the type of the WiFi hotspot without determining after connecting, thereby improving efficiency.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to these drawings without inventive exercise.
Fig. 1 is an application scene diagram of a WiFi hotspot type identification method provided by the present application;
fig. 2 is a schematic flowchart of a WiFi hotspot type identification method provided in the present application;
fig. 3 is an application scenario diagram of a WiFi AP provided in the present application;
fig. 4 is a first schematic structural diagram of an electronic device provided in the present application;
fig. 5 is a schematic structural diagram of an electronic device according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Wireless access via WiFi hotspots has become a standard way for many terminals to surf the internet, for example, as shown in fig. 1, a plurality of WiFi stations (stations) access the network via a WiFi AP. The WiFi AP can be a mobile terminal such as a smart phone and a smart tablet, and the WiFi hotspot is a mobile hotspot; the WiFi AP may also be a home/corporate gateway, for example, a home wireless router, and its WiFi hotspot is a fixed hotspot. The WiFi Station may be any device that can be connected to the WiFi AP in the wireless network, such as a terminal, such as a notebook computer, a mobile phone, and a PDA, which is not limited in this embodiment. In many application scenarios, the WiFi Station may identify the type of the WiFi hotspot, and then may perform different operations according to the identified type of the WiFi hotspot. In the present application, a specific application scenario of the WiFi hotspot type identification is not limited, and is described as an example below.
For example, in one scenario, the positioning function of the terminal is one of its important functions, and the power consumption of the positioning function used by the terminal is usually large, so it is generally desirable to reduce the positioning frequency as much as possible while ensuring the normal use of the positioning function, so as to achieve the purpose of reducing the power consumption. In order to achieve the above purpose, when the terminal performs the positioning function, it is determined whether to initiate positioning according to the type of the connected WiFi hotspot. If the terminal judges that the WiFi hotspot is a mobile hotspot, a positioning function is triggered to acquire current position information; if the WiFi hotspot is judged to be a fixed hotspot, the position of the WiFi hotspot in the current time period is determined to be relatively fixed, so that the position information acquired by positioning when the WiFi hotspot is connected for the first time is directly used, and the positioning is not required to be started again, so that the power consumption is reduced.
For example, in another scenario, a user views or downloads a video using a terminal that determines whether to continue playing or downloading based on the type of WiFi hotspot connected. If the terminal judges that the WiFi hotspot is a fixed hotspot, the terminal continues to play or download the video; if the terminal judges that the WiFi hotspot is a mobile hotspot, playing or downloading the video is paused, or prompt information is output to remind a user that the mobile hotspot is currently used, so that the phenomenon that the network traffic of the mobile hotspot is excessively consumed is avoided.
As can be seen from the above statements, how the WiFi Station correctly determines the type of the WiFi hotspot is very important. In the prior art, the WiFi Station determines the WiFi hotspot type by analyzing an Option field in a DCHP message sent by a WiFi AP after the WiFi connection is established. If the WiFi AP adopts the Android system, an Option field in the DCHP message sent by the WiFi AP will include Android information. Therefore, if the WiFi Station analysis Option field contains android information, the WiFi hotspot is judged to be a mobile hotspot; and if the Option field does not contain android information, judging the WiFi hotspot to be a fixed hotspot.
However, in the above method, when a mobile terminal of a system other than the Android system is used as the WiFi AP, since the Option field in the DCHP message sent by the mobile terminal does not include Android information, the mobile terminal is determined to be a fixed hotspot; and the WiFi hotspot set by the home gateway adopting the Android system is judged as a mobile hotspot because the Option field in the DCHP message sent by the WiFi hotspot contains Android information. Therefore, this method is very likely to cause a judgment error.
In addition, there is a problem in that the type of the WiFi hotspot can be identified only after the WiFi Station has established a connection with the WiFi AP, and if the connection between the WiFi Station and the WiFi AP has not been established, the WiFi Station cannot identify the type of the WiFi hotspot.
In order to solve the above problem, the present application proposes that the type identifier is carried in a message broadcasted by the WiFi AP to the WiFi Station, and the type identifier may be preconfigured according to a product type of the WiFi AP. Therefore, the WiFi Station can accurately identify the type of the WIFI hotspot according to the received broadcast message sent by the WiFi AP.
The method for identifying the type of the WiFi hotspot provided by the present application is described in detail below with reference to specific embodiments. It is to be understood that the following detailed description may be combined with certain embodiments, and that the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a schematic flowchart of a WiFi hotspot type identification method provided in the present application. As shown in fig. 2, the method includes:
s201, the WiFi AP generates a broadcast message.
The broadcast message comprises a type identifier of the WiFi hotspot, wherein the type identifier is used for indicating that the type of the WiFi hotspot is a mobile hotspot or a fixed hotspot.
The broadcast message in this embodiment may be a Beacon (Beacon) message, or may also be a broadcast message newly defined between the WiFi AP and the WiFi Station, which is not limited in this embodiment. Taking the broadcast message as the Beacon message as an example, the Beacon message usually includes basic public information of the WiFi hotspot, such as a Media Access Control Address (MAC Address), a hotspot name, a Beacon message broadcast period, and the like, so that the WiFi Station can periodically receive the broadcast message to perform relevant information analysis and perform relevant processing at a service level. In order to solve the problem of identifying the hotspot type, a field is added in the Beacon message as a type identification field of the WiFi hotspot, that is, the field is used to mark the WiFi hotspot as a mobile hotspot or a fixed hotspot. Illustratively, an AP FIX field is added to the Beacon message, where 1 indicates a fixed hotspot and 2 indicates a mobile hotspot.
It should be understood that the foregoing only takes the broadcast message as the Beacon message, and the Beacon message is exemplified by adding an AP FIX field. In practical applications, the added fields and the type and meaning of the fields may be set as desired. In addition, the broadcast message may also be a broadcast message newly defined outside the existing broadcast message, and a field in the broadcast message is used as the type identification field of the WiFi hotspot.
The type identification field in the broadcast message can be driven by a chip of the WiFi AP to provide an external configuration interface, so that a product manufacturer of the WiFi AP can configure according to the product form during production. For example, when a home router is produced, a type identifier 1 is set in a WIFI chip of the home router, which indicates a fixed hotspot; when the smart phone is produced, a type identifier 2 is set in a WIFI chip module of the smart phone, and a mobile hotspot is represented. And when the WiFi AP generates the broadcast message, determining the preset type identifier as the value of the type identifier field.
S202, the WiFi AP sends a broadcast message, and the broadcast message is used for indicating the WiFi Station to determine the type of the WiFi hotspot.
And S203, the WiFi Station analyzes the broadcast message to determine the type of the WiFi hotspot.
The WiFi AP periodically broadcasts messages, the WiFi Station analyzes the received broadcast messages, and the type of the WiFi hot spot is determined according to the corresponding type identification field in the broadcast messages.
For example, taking the broadcast message as the Beacon message as an example, after receiving the Beacon message, the WiFi Station parses the Beacon message, identifies the type of the WiFi hotspot according to the AP FIX field therein, determines that the WiFi hotspot is a fixed hotspot if the AP FIX field is 1, and determines that the WiFi hotspot is a mobile hotspot if the AP FIX field is 2.
In the method for identifying the type of the WiFi hotspot provided in this embodiment, the WiFi AP carries the type identifier of the WiFi hotspot in the broadcast message, so that the WiFi Station can determine the type of the WiFi hotspot according to the received broadcast message, thereby ensuring the accuracy of identifying the type of the WiFi hotspot. In addition, because the type identifier of the WiFi hotspot is in the broadcast message of the WiFi AP, the WiFi Station can receive the broadcast message without connecting to the WiFi AP, and analyzes the broadcast message to determine the type of the WiFi hotspot, and does not need to determine after connecting. The WiFi Station may also determine the type of the WiFi hotspot of each WiFi AP according to the received broadcast message of multiple WiFi APs, and correspondingly select an access WiFi hotspot, for example, the WiFi Station may preferentially access a fixed hotspot.
On the basis of the method, the WiFi Station can determine whether to execute preset operation according to the type of the WiFi hotspot. For example, still taking the terminal to execute the positioning function as an example, if the WiFi hotspot is a mobile hotspot, the positioning function is triggered to obtain the current position information; and if the WiFi hotspot is a fixed hotspot, directly using historical positioning information after the WiFi hotspot is connected for the first time without restarting positioning. In an example, in a scene where a user watches or downloads a video by using a terminal, if the terminal judges that a WiFi hotspot is a fixed hotspot, the video is continuously played or downloaded; and if the WiFi hotspot is judged to be a mobile hotspot, pausing playing or downloading the video.
In addition, after the WiFi Station determines the type of the WiFi hotspot, a prompt message can be output on the user interface, and the prompt message is used for prompting the type of the WiFi hotspot of the user. Therefore, the user may manually select the accessed WiFi hotspot according to the type of the WiFi hotspot, or the user may perform corresponding operations according to the type of the accessed WiFi hotspot, for example, the user may download a larger file or application program after accessing the fixed hotspot.
In the above embodiments, it is explained that the WiFi hotspot type identifier of the WiFi AP may be configured by a manufacturer according to the product form when the manufacturer produces a product. However, in some scenarios, a device configured as a fixed hotspot at the factory may also be applied in a mobile scenario, thereby becoming a mobile hotspot in practical applications. For example, WiFi hotspots have been gradually distributed on vehicles such as buses, buses or high-speed rails, and in these usage scenarios, WiFi APs which are all gateway type are generally installed on the vehicles, that is, fixed WiFi hotspots are applied in mobile scenarios, and these WiFi APs provide internet access function through a Subscriber Identity Module (SIM card), as shown in fig. 3. In these scenarios, the type identification fields of the WiFi hotspots of the WiFi APs are initially the factory-set values representing fixed hotspots, but it is obvious that these type identification fields are incorrect in the mobile scenario.
In order to solve the problem, the application also provides a method for the WiFi AP to dynamically modify the type identifier of the WiFi hotspot. When the type identification indicates that the type of the WiFi hotspot is a fixed hotspot, acquiring first cell information registered at the current moment of the WiFi AP and second cell information registered at the historical moment; and if the first cell information is different from the second cell information, modifying the type identifier of the WiFi hotspot, wherein the modified type identifier of the WiFi hotspot indicates that the type of the WiFi hotspot is a mobile hotspot.
For a WiFi AP whose type identifier is a fixed hotspot when leaving a factory, in order to determine whether the WiFi AP is applied to a mobile scene, it is necessary to determine cell information registered in the WiFi AP. If the WiFi AP is moving, its location at different times will change, and the corresponding registered cell will also change. The WiFi AP compares first cell information registered at the current moment with second cell information registered at the historical moment, if the first cell information is different from the second cell information, the fact that the cell information registered by the WiFi AP changes within a period of time is determined, the WiFi AP is represented to be in movement, namely the WiFi AP is used as a mobile hotspot, and therefore the type identification of the WiFi AP needs to be modified, and the type identification is modified to be a value representing the mobile hotspot.
After the WiFi AP modifies the type identifier of the WiFi hotspot, when sending the broadcast message, the type identifier carried in the broadcast message is the modified type identifier, so that the WiFi Station can determine that the type of the WiFi hotspot is a mobile hotspot according to the modified type identifier in the received broadcast message.
For example, a gateway-like WiFi AP is installed on a high-speed rail, and when the WiFi AP is used for the first time, the AP FIX field in the Beacon message broadcasted by the WiFi AP for the beginning period of time is 1, which indicates that the WiFi hotspot is a fixed hotspot. After the high-speed rail walks for a period of time, due to the fact that the cells registered by the WiFi AP are correspondingly changed after passing through different places, the WiFi AP automatically modifies the AP FIX field in the broadcast Beacon message into 2 according to the change of the cell information, and the fact that the WiFi hotspot is a mobile hotspot is indicated.
According to the method provided by the embodiment, the WiFi AP can dynamically modify the type identifier of the WiFi hotspot to adapt to different application scenes, so that the condition that the initial configuration is inconsistent with the actual use scene is avoided, and the type identification correctness of the WiFi hotspot is further ensured.
Fig. 4 is a first structural schematic diagram of an electronic device provided in the present application. As shown in fig. 4, the electronic apparatus 40 includes: a transceiver 401, a memory 402, and a processor 403; the transceiver 401, memory 402 and processor 403 are connected by a bus 404.
A memory 402 for storing a computer program;
a processor 403 for implementing the method performed by the WiFi Station as in the above embodiments when the computer program is executed.
The electronic device of this embodiment may be configured to execute the scheme for implementing the WiFi Station in the foregoing embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
Fig. 5 is a schematic structural diagram of an electronic device according to the present application. As shown in fig. 5, the electronic apparatus 50 includes: a transceiver 501, a memory 502, and a processor 503; the transceiver 501, memory 502, and processor 503 are connected by a bus 504.
A memory 502 for storing a computer program.
A processor 503 for implementing the method performed by the WiFi AP as in the above embodiments when the computer program is executed.
The electronic device of this embodiment may be configured to execute the scheme executed by the WiFi AP in the foregoing embodiment, and the implementation principle and the technical effect are similar, which are not described herein again.
Optionally, the Processor may be a Central Processing Unit (CPU), or may be another general-purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method embodiment disclosed in this application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
The present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the method performed by the above-mentioned WiFi Station or WiFi AP.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Embodiments of the present application are described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processing unit of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processing unit of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various changes and modifications can be made in the embodiments of the present application without departing from the spirit and scope of the application. Thus, if such modifications and variations of the embodiments of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to encompass such modifications and variations.
In the present application, the terms "include" and variations thereof may refer to non-limiting inclusions; the term "or" and variations thereof may mean "and/or". The terms "first," "second," and the like in this application are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. In the present application, "a plurality" means two or more. "and/or" describes the association relationship of the associated object, indicating that there may be three relationships, for example, a and/or B, which may indicate: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.

Claims (9)

1. A WiFi hotspot type identification method is applied to a WiFi station, and is characterized by comprising the following steps:
receiving a broadcast message sent by a WiFi access point, wherein the broadcast message comprises a type identifier of a WiFi hotspot of the WiFi access point, and the type identifier is used for indicating that the type of the WiFi hotspot is a mobile hotspot or a fixed hotspot;
parsing the broadcast message to determine a type of the WiFi hotspot;
when the type identification indicates that the type of the WiFi hotspot is a fixed hotspot, acquiring first cell information registered at the current moment and second cell information registered at the historical moment of the WiFi access point;
if the first cell information is different from the second cell information, modifying the type identifier of the WiFi hotspot, wherein the modified type identifier of the WiFi hotspot indicates that the type of the WiFi hotspot is a mobile hotspot.
2. The method of claim 1, wherein the broadcast message is a Beacon message.
3. The method according to claim 1 or 2, characterized in that the method further comprises:
and determining whether to execute preset operation or not according to the type of the WiFi hotspot.
4. The method according to claim 1 or 2, characterized in that the method further comprises:
and outputting prompt information on a user interface, wherein the prompt information is used for prompting the type of the WiFi hotspot of the user.
5. A WiFi hotspot type identification method is applied to a WiFi access point, and is characterized by comprising the following steps:
generating a broadcast message, wherein the broadcast message comprises a type identifier of a WiFi hotspot of the WiFi access point, and the type identifier is used for indicating that the type of the WiFi hotspot is a mobile hotspot or a fixed hotspot;
sending the broadcast message, wherein the broadcast message is used for indicating a WiFi station to determine the type of the WiFi hotspot;
when the type identification indicates that the type of the WiFi hotspot is a fixed hotspot, acquiring first cell information registered at the current moment and second cell information registered at the historical moment of the WiFi access point;
if the first cell information is different from the second cell information, modifying the type identifier of the WiFi hotspot, wherein the modified type identifier of the WiFi hotspot indicates that the type of the WiFi hotspot is a mobile hotspot.
6. The method of claim 5, wherein the broadcast message is a Beacon message.
7. An electronic device, comprising: a transceiver, a memory, and a processor; the transceiver, the memory and the processor are respectively connected;
the memory for storing a computer program;
the processor for implementing the method of any one of claims 1-4 when the computer program is executed.
8. An electronic device, comprising: a transceiver, a memory, and a processor; the transceiver, the memory and the processor are respectively connected;
the memory for storing a computer program;
the processor for, when being executed by a computer program, implementing the method of any of the preceding claims 5-6.
9. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 1-4 or 5-6.
CN202010605380.7A 2020-06-29 2020-06-29 WiFi hotspot type identification method and device and storage medium Active CN111726849B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010605380.7A CN111726849B (en) 2020-06-29 2020-06-29 WiFi hotspot type identification method and device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010605380.7A CN111726849B (en) 2020-06-29 2020-06-29 WiFi hotspot type identification method and device and storage medium

Publications (2)

Publication Number Publication Date
CN111726849A CN111726849A (en) 2020-09-29
CN111726849B true CN111726849B (en) 2022-07-08

Family

ID=72569555

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010605380.7A Active CN111726849B (en) 2020-06-29 2020-06-29 WiFi hotspot type identification method and device and storage medium

Country Status (1)

Country Link
CN (1) CN111726849B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112235849A (en) * 2020-10-19 2021-01-15 展讯半导体(成都)有限公司 Method, system, electronic device, and medium for identifying Wi-Fi hotspot type
CN114928841B (en) * 2022-06-01 2023-07-11 西安紫光展锐科技有限公司 Wireless network access method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106302824A (en) * 2016-10-31 2017-01-04 努比亚技术有限公司 wireless WiFi control method, device and mobile terminal
CN106535092A (en) * 2016-11-01 2017-03-22 惠州Tcl移动通信有限公司 Network sharing method, network accessing method and system
CN106559789A (en) * 2016-11-15 2017-04-05 努比亚技术有限公司 Focus sharing means, method and system
CN106658358A (en) * 2016-09-30 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Network sharing method, network sharing device and terminal
CN107040965A (en) * 2017-05-10 2017-08-11 维沃移动通信有限公司 A kind of flow control methods, device and mobile terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100277285A1 (en) * 2009-05-01 2010-11-04 Anderson Joshua D Systems and methods for communication with RFID tags
US9271290B2 (en) * 2010-12-03 2016-02-23 Interdigital Patent Holdings, Inc. Methods, apparatus and systems for performing multi-radio access technology carrier aggregation
JP6784044B2 (en) * 2016-03-24 2020-11-11 カシオ計算機株式会社 Behavior analysis device, behavior analysis method and program
CN108112031B (en) * 2016-11-24 2020-01-10 腾讯科技(深圳)有限公司 Network type determination method and device
CN107241771A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Method for switching network, mobile terminal and computer-readable recording medium
CN107241782A (en) * 2017-06-16 2017-10-10 广东欧珀移动通信有限公司 Method for network access, mobile terminal and computer-readable recording medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106658358A (en) * 2016-09-30 2017-05-10 宇龙计算机通信科技(深圳)有限公司 Network sharing method, network sharing device and terminal
CN106302824A (en) * 2016-10-31 2017-01-04 努比亚技术有限公司 wireless WiFi control method, device and mobile terminal
CN106535092A (en) * 2016-11-01 2017-03-22 惠州Tcl移动通信有限公司 Network sharing method, network accessing method and system
CN106559789A (en) * 2016-11-15 2017-04-05 努比亚技术有限公司 Focus sharing means, method and system
CN107040965A (en) * 2017-05-10 2017-08-11 维沃移动通信有限公司 A kind of flow control methods, device and mobile terminal

Also Published As

Publication number Publication date
CN111726849A (en) 2020-09-29

Similar Documents

Publication Publication Date Title
CN110149370A (en) A kind of upgrade file method for down loading and device
CN110677900B (en) Paging processing method and related device
WO2020259306A1 (en) Network search configuration method, registration method, apparatus, and system
WO2017161834A1 (en) E-sim card-based operator selection method, device and mobile terminal
RU2742143C1 (en) Method for configuring measurement interval and corresponding apparatus, device, terminal device and system
CN111417111B (en) Data processing method and network equipment
CN109495875B (en) SIM card selection method and device, electronic equipment and storage medium
TWI751656B (en) Method, base station and user terminal for indicating energy saving information
CN111726849B (en) WiFi hotspot type identification method and device and storage medium
CN110249661B (en) Network connection method and device
WO2017219508A1 (en) Communication method and apparatus for multi-mode terminal
CN109155962B (en) HPLMN reselection method and terminal equipment
CN111869268A (en) Information configuration method, device, equipment and readable storage medium
CN108012294B (en) Network switching method and device
JP2020523927A (en) Data receiving method, related device, and system
US20210400641A1 (en) Device-to-device (d2d) communication method and d2d device
CN117221868A (en) Network registration method, device and readable storage medium
KR20200109347A (en) Method for paging, terminal device and network device
CN114205378A (en) Network distribution method and device of Internet of things equipment, storage medium and electronic device
CN105357272B (en) A kind of OTA upgrade method and equipment
CN112911659B (en) NR-based information reporting method and device
CN108141906B (en) Mobile data sharing method and mobile terminal
CN107343300B (en) eSIM card network communication method and device
CN113347732A (en) Random access information sending method, random access configuration method and equipment
CN105450548A (en) Router control method, device and system

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