CN112261677A - Hotspot information processing method and device, terminal and storage medium - Google Patents

Hotspot information processing method and device, terminal and storage medium Download PDF

Info

Publication number
CN112261677A
CN112261677A CN202011105764.9A CN202011105764A CN112261677A CN 112261677 A CN112261677 A CN 112261677A CN 202011105764 A CN202011105764 A CN 202011105764A CN 112261677 A CN112261677 A CN 112261677A
Authority
CN
China
Prior art keywords
hotspot
information
access
wireless
terminal
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.)
Pending
Application number
CN202011105764.9A
Other languages
Chinese (zh)
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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011105764.9A priority Critical patent/CN112261677A/en
Publication of CN112261677A publication Critical patent/CN112261677A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/08Access point devices

Landscapes

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

Abstract

The invention discloses a hotspot information processing method, a hotspot information processing device, a terminal and a storage medium. The method comprises the following steps: acquiring access information of the terminal for accessing the wireless hotspot; detecting the deletion operation of the hotspot information; and in response to the deletion operation, deleting the hotspot information of the wireless hotspot meeting the low-frequency access condition on the basis of the access information deletion access record, so that the convenience of hotspot information deletion is improved, the complexity of analyzing the configuration file at the access of the wireless hotspot is reduced, the time for the terminal to access the wireless hotspot is reduced, and the user experience is improved.

Description

Hotspot information processing method and device, terminal and storage medium
Technical Field
The present invention relates to the technical field of terminal devices, and in particular, to a method and an apparatus for processing hotspot information, a terminal, and a storage medium.
Background
After the terminal equipment successfully accesses the Wi-Fi hotspot, the terminal equipment can automatically record the hotspot information of the Wi-Fi hotspot and is used for automatically accessing when entering the Wi-Fi hotspot signal range next time.
And the stored hotspot information needs to be deleted manually, so that the operation is complex and the efficiency is low. The terminal equipment can store a large amount of hotspot information in the use process, and when the terminal equipment is connected with the Wi-Fi hotspot, a large amount of hotspot information data needs to be analyzed, so that the Wi-Fi hotspot connection speed is influenced, and the user experience is influenced.
Disclosure of Invention
The invention provides a hotspot information processing method, a hotspot information processing device, a terminal and a storage medium.
According to a first aspect of the embodiments of the present invention, there is provided a hotspot information processing method applied in a terminal, the method including:
acquiring access information of the terminal for accessing the wireless hotspot;
detecting the deletion operation of the hotspot information;
and in response to the deletion operation, deleting hotspot information of the wireless hotspot with an access record meeting a low-frequency access condition based on the access information.
In one embodiment, the obtaining access information of the terminal to access the wireless hotspot includes:
and acquiring time information of the wireless hotspot accessed by the terminal and the number information of the wireless hotspot accessed by the terminal.
In one embodiment, the deleting, in response to the deleting operation, the hotspot information of the wireless hotspot whose access record meets a low-frequency access condition based on the access information includes:
and in response to the deleting operation, deleting the hotspot information of the wireless hotspot which is not accessed in a preset time period and/or the access frequency is lower than an access threshold value based on the time information and the frequency information.
In one embodiment, the deleting the hotspot information of the wireless hotspot which is not accessed within a preset time period and has a number of times of access lower than an access threshold includes:
ordering the hotspot information of each wireless hotspot according to the access times, and determining a first hotspot identification of the wireless hotspot with the access times lower than the access threshold according to the ordering result;
ordering the hotspot information of each wireless hotspot according to access time, and determining a second hotspot identification of the wireless hotspot which is not accessed in the preset time period according to an ordering result;
and deleting the hotspot information which is the wireless hotspot corresponding to the first hotspot identification and the second hotspot identification at the same time.
In one embodiment, the obtaining access information of the terminal to access the wireless hotspot includes:
and acquiring the access information of the terminal accessing the wireless hotspot from a network configuration file.
According to a second aspect of the embodiments of the present invention, there is provided a hotspot information processing device applied in a terminal, the device including: an acquisition module, a detection module and an operation module, wherein,
the acquisition module is configured to acquire access information of the terminal for accessing the wireless hotspot;
the detection module is configured to detect a deletion operation of the hotspot information;
the operation module is configured to respond to the deletion operation, and delete the hotspot information of the wireless hotspot with an access record meeting a low-frequency access condition based on the access information.
In one embodiment, the obtaining module includes:
the first obtaining submodule is configured to obtain time information of the wireless hotspot accessed by the terminal and frequency information of the wireless hotspot accessed by the terminal.
In one embodiment, the operation module includes:
and the operation sub-module is configured to respond to the deletion operation, and delete the hotspot information of the wireless hotspot which is not accessed within a preset time period and/or has the access frequency lower than an access threshold value based on the time information and the frequency information.
In one embodiment, the operation submodule includes:
the first determining unit is configured to rank the hotspot information of each wireless hotspot according to the access times, and determine a first hotspot identification of the wireless hotspot with the access times lower than the access threshold according to a ranking result;
a second determining unit, configured to rank the hotspot information of each wireless hotspot according to access time, and determine a second hotspot identifier of the wireless hotspot that is not accessed within the preset time period according to a ranking result;
and the deleting unit is configured to delete the hotspot information which is the wireless hotspot corresponding to the first hotspot identification and the second hotspot identification at the same time.
In one embodiment, the obtaining module includes:
and the second obtaining submodule is configured to obtain the access information of the terminal accessing the wireless hotspot from a network configuration file.
According to a third aspect of the embodiments of the present invention, there is provided a terminal, including: the hotspot information processing method comprises a processor, a transceiver, a memory and an executable program which is stored on the memory and can be run by the processor, wherein the processor executes the executable program to execute the steps of the hotspot information processing method according to the first aspect.
According to a fourth aspect of the embodiments of the present invention, there is provided a storage medium on which an executable program is stored, the executable program, when executed by a processor, implementing the steps of the hotspot information processing method according to the first aspect.
According to the hotspot information processing method, device and storage medium provided by the embodiment of the invention, the terminal acquires the access information of the terminal accessing the wireless hotspot; detecting the deletion operation of the hotspot information; and in response to the deletion operation, deleting hotspot information of the wireless hotspot with an access record meeting a low-frequency access condition based on the access information. Therefore, the access records are determined by recording the access information, and the hotspot information of the wireless hotspots needing to be deleted is screened out through the low-frequency access condition to be deleted. On the other hand, by deleting the hotspot information of the wireless hotspot, unnecessary information is reduced, so that the data volume of the configuration file for storing the hotspot information can be reduced, the complexity and the analysis workload for analyzing the configuration file when the wireless hotspot is accessed are reduced, the time for accessing the wireless hotspot by the terminal is reduced, and the user experience is improved.
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 invention, as claimed.
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 block diagram illustrating a wireless communication system in accordance with an exemplary embodiment;
FIG. 2 is a flowchart illustrating a related art hotspot information processing method;
FIG. 3 is a flowchart illustrating a method for processing hotspot information according to an exemplary embodiment;
fig. 4 is a schematic diagram illustrating a composition structure of a hotspot information processing device according to an exemplary embodiment;
fig. 5 is a block diagram illustrating an apparatus for hotspot information processing according to an exemplary embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with embodiments of the invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of embodiments of the invention, as detailed in the following claims.
The terminology used in the embodiments of the invention is for the purpose of describing particular embodiments only and is not intended to be limiting of the embodiments of the invention. As used in the examples of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used to describe various information in embodiments of the present invention, the information should not be limited by these terms. These terms are only used to distinguish one type of information from another. For example, the first information may also be referred to as second information, and similarly, the second information may also be referred to as first information, without departing from the scope of embodiments of the present invention. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Referring to fig. 1, a schematic structural diagram of a wireless communication system according to an embodiment of the present invention is shown. As shown in fig. 1, the wireless communication system is a communication system based on a cellular mobile communication technology, and may include: several terminals 11 and several base stations 12.
Terminal 11 may refer to, among other things, a device that provides voice and/or data connectivity to a user. The terminal 11 may communicate with one or more core networks via a Radio Access Network (RAN), and the terminal 11 may be an internet of things terminal, such as a sensor device, a mobile phone (or referred to as a "cellular" phone), and a computer having the internet of things terminal, and may be a fixed, portable, pocket, handheld, computer-included, or vehicle-mounted device, for example. For example, a Station (STA), a subscriber unit (subscriber unit), a subscriber Station (subscriber Station), a mobile Station (mobile), a remote Station (remote Station), an access point (ap), a remote terminal (remote terminal), an access terminal (access terminal), a user equipment (user terminal), a user agent (user agent), a user equipment (user device), or a user terminal (UE). Alternatively, the terminal 11 may be a device of an unmanned aerial vehicle. Alternatively, the terminal 11 may also be a vehicle-mounted device, for example, a vehicle computer with a wireless communication function, or a wireless communication device externally connected to the vehicle computer. Alternatively, the terminal 11 may be a roadside device, for example, a street lamp, a signal lamp or other roadside device with a wireless communication function.
The base station 12 may be a network side device in a wireless communication system. The wireless communication system may be a fourth generation mobile communication (4G) system, which is also called a Long Term Evolution (LTE) system; alternatively, the wireless communication system can be a 5G system, which is also called a New Radio (NR) system or a 5G NR system. Alternatively, the wireless communication system may be a next-generation system of a 5G system. Among them, the Access Network in the 5G system may be referred to as NG-RAN (New Generation-Radio Access Network, New Generation Radio Access Network). Alternatively, an MTC system.
The base station 12 may be an evolved node b (eNB) used in a 4G system. Alternatively, the base station 12 may be a base station (gNB) adopting a centralized distributed architecture in the 5G system. When the base station 12 adopts a centralized distributed architecture, it generally includes a Centralized Unit (CU) and at least two Distributed Units (DU). A Packet Data Convergence Protocol (PDCP) layer, a Radio Link layer Control Protocol (RLC) layer, and a Media Access Control (MAC) layer are provided in the central unit; a Physical (PHY) layer protocol stack is disposed in the distribution unit, and the embodiment of the present invention does not limit the specific implementation manner of the base station 12.
The base station 12 and the terminal 11 may establish a wireless connection over a wireless air interface. In various embodiments, the wireless air interface is based on a fourth generation mobile communication network technology (4G) standard; or the wireless air interface is based on a fifth generation mobile communication network technology (5G) standard, for example, the wireless air interface is a new air interface; alternatively, the wireless air interface may be a wireless air interface based on a 5G next generation mobile communication network technology standard.
In some embodiments, an E2E (End to End) connection may also be established between terminals 11. Scenarios such as V2V (vehicle to vehicle) communication, V2I (vehicle to Infrastructure) communication, and V2P (vehicle to vehicle) communication in vehicle networking communication (V2X).
In some embodiments, the wireless communication system may further include a network management device 13.
Several base stations 12 are connected to a network management device 13, respectively. The network Management device 13 may be a Core network device in a wireless communication system, for example, the network Management device 13 may be a Mobility Management Entity (MME) in an Evolved Packet Core (EPC). Alternatively, the Network management device may also be other core Network devices, such as a Serving GateWay (SGW), a Public Data Network GateWay (PGW), a Policy and Charging Rules Function (PCRF), a Home Subscriber Server (HSS), or the like. The implementation form of the network management device 13 is not limited in the embodiment of the present invention.
The execution subject related to the embodiment of the invention includes but is not limited to: the mobile phone terminal comprises terminals such as a mobile phone, a computer, a tablet computer and interpersonal interaction equipment with a touch function.
An application scenario of the embodiment of the present disclosure is that, in the related art, a specific step of Wi-Fi hotspot information saving list processing is performed by an Android (Android) device, as shown in fig. 2, the method includes:
step 201: and entering a Wi-Fi hotspot information stored interface of the equipment.
Step 202: and selecting the hotspot information which the user wants to delete in the saved list.
Step 203: click select not save.
Step 204: and exiting the Wi-Fi saved network interface.
The steps of selecting and deleting one by one are complicated, and the efficiency is low.
Fig. 3 is a flowchart illustrating a hotspot information processing method according to an exemplary embodiment, where as shown in fig. 3, the hotspot information processing method may be applied to a terminal, and includes the following steps:
step 301: acquiring access information of the terminal for accessing the wireless hotspot;
step 302: detecting the deletion operation of the hotspot information;
step 303: and in response to the deletion operation, deleting hotspot information of the wireless hotspot with an access record meeting a low-frequency access condition based on the access information.
Here, the wireless hotspot may be an Access Point (AP) in the Wi-Fi communication system, or an STA that is an Access Point in Two Stations (STAs).
The terminal may establish a connection with the access point through a Wi-Fi network.
Here, the access information may be information associated with each wireless hotspot recorded during the terminal accessing each wireless hotspot. For example, the access information may include: the method comprises the following steps of time length of the terminal accessing the wireless hotspot, starting time of the terminal accessing the wireless hotspot, ending time of the terminal accessing the wireless hotspot, the number of times of the terminal accessing the wireless hotspot in a preset time period, the total number of times of the terminal accessing the wireless hotspot and the like. The terminal may record access information for each wireless hotspot.
The terminal can acquire the recorded access information of the wireless hotspot accessed by the terminal when the terminal has a need.
In one embodiment, the deletion operation may be an instruction received by the terminal from the input port to instruct deletion of hotspot information of the wireless hotspot. The deletion operation may include a touch deletion operation by the user, and may also include a received deletion command, and the like.
In another embodiment, the delete operation may also be: and the terminal automatically generates deleting operation according to the deleting event configuration information.
For example, the deleting operation automatically generated by the terminal according to the deleting event configuration information includes:
monitoring the state of the terminal;
determining whether the state of the terminal meets a deletion condition defined by the deletion event configuration information;
and if the state of the terminal accords with the deleting condition, generating the deleting operation.
The determining whether the state of the terminal meets the deletion condition defined by the deletion event configuration information includes at least one of:
the interval duration between the current time and the generation time of the previous deleting operation reaches a first preset interval;
the number of the wireless hotspots in the terminal, which store the hotspot information, reaches a quantity threshold;
and the last login time length of the wireless hotspots with the preset number in the terminal reaches a second preset interval from the current time.
The hotspot information may be login information of the terminal when logging in the wireless hotspot, and the login information may include: identification information and encryption associated information of the wireless hotspot. The identification type information of the wireless hotspot may be: name information and/or Service Set Identifier (SSID) of the wireless hotspot, and the like. The encryption associated information of the wireless hotspot may be login password information and/or encryption mode information. The terminal can firstly search whether the hotspot information of the wireless hotspot is stored when accessing the wireless hotspot, if so, the terminal logs in by adopting the hotspot information, and if not, the terminal receives the hotspot information through a man-machine interaction interface; and logging in (namely accessing) the wireless hotspot by using the received hotspot information.
After the terminal successfully accesses a wireless hotspot, the hotspot information of the wireless hotspot can be recorded. The number of different wireless hotspots accessed by the terminal is increased, and the hotspot information recorded by the terminal is also increased continuously. The configuration file for recording the hotspot information is continuously increased along with the increase of the hotspot information, so that the time for the terminal to analyze the record file is increased, the delay of the terminal in accessing the wireless hotspot is increased, and the user experience is influenced.
The access record may be a statistical result of the terminal access wireless hotspot counted based on the access information. For example, the access record may be used to characterize the frequency of the terminal accessing different wireless hotspots, the access record may be used to characterize the average duration of the terminal accessing different wireless hotspots, and the like. And the terminal determines the access record of each wireless hotspot based on the access record information of each wireless hotspot.
When detecting the deletion operation, the terminal can delete the hotspot information of the wireless hotspot with the access record meeting the low-frequency access condition. Here, hotspot information for one and/or more wireless hotspots may be deleted. The low frequency access condition may be preset. The low frequency access condition may be that the total number of times that the terminal accesses the wireless hotspot is less than or equal to a frequency threshold, and/or that the time interval during which the terminal accesses the wireless hotspot is greater than or equal to a time interval threshold, and the like.
Therefore, the access records are determined by recording the access information, and the hotspot information of the wireless hotspots needing to be deleted is screened out through the low-frequency access condition to be deleted. On the other hand, by deleting the hotspot information of the wireless hotspot, unnecessary information is reduced, so that the data volume of the configuration file for storing the hotspot information can be reduced, the complexity and the analysis workload for analyzing the configuration file when the wireless hotspot is accessed are reduced, the time for accessing the wireless hotspot by the terminal is reduced, and the user experience is improved.
In one embodiment, the obtaining access information of the terminal to access the wireless hotspot includes:
and acquiring time information of the wireless hotspot accessed by the terminal and the number information of the wireless hotspot accessed by the terminal.
Here, the time information may include, but is not limited to: and the terminal is successfully connected with the time information of the wireless hotspot. The time information of the terminal successfully connecting to the wireless hotspot may include: the access starting time information of the terminal, the access ending time information of the terminal, the duration information of the connection between the terminal and the wireless hotspot and the like. The terminal can determine the current time length from the last connection wireless hotspot based on the time information, and the like.
In one embodiment, if the wireless hotspot is determined to be a low-frequency access wireless hotspot according to the recorded time information of the wireless hotspot, the hotspot information of the wireless hotspot can be deleted. For example, when the terminal determines that the distance between the time of last access to a certain wireless hotspot and the current time exceeds a preset time threshold based on the time information, it can be determined that the terminal has less access to the wireless hotspot, and the wireless hotspot is determined to be a low-frequency access wireless hotspot, and the hotspot information of the wireless hotspot is deleted.
The number information may be used to record the total number of times the terminal accesses the wireless hotspot. The terminal may determine how often the terminal connects to the wireless hotspot based on the time information.
In one embodiment, if the wireless hotspot is determined to be a low-frequency access wireless hotspot according to the recorded number information of the wireless hotspot, the hotspot information of the wireless hotspot can be deleted. For example, when the terminal determines that the number of times that the terminal accesses a certain wireless hotspot is lower than a predetermined number threshold based on the number information, it may be determined that the terminal rarely accesses the wireless hotspot, and then the wireless hotspot is determined to be a low-frequency access wireless hotspot, and hotspot information of the wireless hotspot is deleted.
For example, the terminal may establish two fields in the configuration file for recording the time information and the number information. For example, the Connected count is used to store the number of times the terminal accesses the wireless hotspot, and the Last Connected time is used to store the Last time the wireless hotspot is successfully Connected. When the terminal connects to a saved wireless hotspot each time, the Connected count field value +1, e.g., the user connects to the Wi-Fi hotspot XXXX _5G at 2020/08/21/10:10:20, the Connected count value will change from 10 to 11 and the time recorded in the Last Connected time field will be updated to the latest connection time 2020/08/21/10:10: 20.
In one embodiment, the deleting, in response to the deleting operation, the hotspot information of the wireless hotspot whose access record meets a low-frequency access condition based on the access information includes:
and in response to the deleting operation, deleting the hotspot information of the wireless hotspot which is not accessed in a preset time period and/or the access frequency is lower than an access threshold value based on the time information and the frequency information.
Here, the wireless hotspot satisfying the low frequency access condition may be a wireless hotspot that is not accessed within a preset time period. The preset time period may include: a fixed time period with the current time as the end time may also include a time period that represents only the time span. For example, when the terminal determines that the time of last access to a certain wireless hotspot is longer than the current time by a preset time period based on the time information, the hotspot information of the wireless hotspot can be deleted.
Here, the wireless hotspot satisfying the low frequency access condition may also be a wireless hotspot whose access number is lower than an access threshold. The number of accesses may be the total number of accesses to a certain wireless hotspot, or the number of directions within a certain time range. For example, when the total number of times that the terminal accesses a certain wireless hotspot based on the number information is lower than an access threshold, the hotspot information of the wireless hotspot can be deleted.
The wireless hotspots meeting the low-frequency access condition can also meet the low-frequency access condition at the same time and have access times lower than the access threshold.
Therefore, different low-frequency access conditions can meet the requirement for deleting the hotspot information in different use scenes, and the flexibility of deleting the hotspot information is improved.
In one embodiment, the deleting the hotspot information of the wireless hotspot which is not accessed within a preset time period and has a number of times of access lower than an access threshold includes:
ordering the hotspot information of each wireless hotspot according to the access times, and determining a first hotspot identification of the wireless hotspot with the access times lower than the access threshold according to the ordering result;
ordering the hotspot information of each wireless hotspot according to access time, and determining a second hotspot identification of the wireless hotspot which is not accessed in the preset time period according to an ordering result;
and deleting the hotspot information which is the wireless hotspot corresponding to the first hotspot identification and the second hotspot identification at the same time.
The method is used for the condition that the wireless hotspot meeting the low-frequency access condition is a wireless hotspot meeting the low-frequency access condition at the same time, and the access frequency is lower than the access threshold.
The wireless hotspots can be sorted according to the access times from large to small, wherein the larger the number is, the higher the connection frequency of the wireless hotspot is, and the smaller the number is, the lower the connection frequency is. And identifying the wireless hotspots with the access times lower than the access threshold value by adopting the first hotspot identification. For example, the first hotspot identification may occupy one bit. A "1" may be used to identify a wireless hotspot with a number of accesses below an access threshold, and if "0" indicates no identification.
And then, sequencing the wireless hotspots according to the access time, and identifying the wireless hotspots which are not accessed in the preset time period by adopting a second hotspot identification. For example, the second hotspot identification may also occupy one bit. A "1" may be used to identify a wireless hotspot that has not been accessed within a preset time period, and if "0" indicates no identification. The first hotspot identification and the second hotspot identification may occupy different bits.
And finally, deleting the wireless hotspot identified by the first hotspot identification and the second hotspot identification at the same time.
For example, the first hotspot identification and the second hotspot identification are cross-compared, so that the identification of the wireless hotspot to be deleted, which is the first hotspot identification and the second hotspot identification at the same time, can be determined.
For another example, the first hotspot identification and the second hotspot identification are regarded as two hotspot identification sets formed by the hotspot identifications; and solving the intersection of the two hot spot identification sets, wherein the hot spot identification in the intersection is the identification of the wireless hot spot to be deleted, which is the first hot spot identification and the second hot spot identification at the same time.
In one embodiment, the obtaining access information of the terminal to access the wireless hotspot includes:
and acquiring the access information of the terminal accessing the wireless hotspot from a network configuration file.
Here, the network profile may be a file for storing access information in an operating system. The network configuration file can be an existing file in the related technology, so that the information quantity of the existing file is increased, and the file use efficiency is improved. The terminal can also add a special network configuration file for recording the access information.
The terminal can record the access information to the network configuration file when accessing the wireless hotspot. The access information recorded in the network profile may be acquired upon the detected deletion operation.
In one embodiment, the network profile includes: xml Wi-ficfigstore.
Here, the network profile may have been saved at the android system: xml adds two new fields to each saved hotspot message and is: connected count and Last Connected time for recording the number of times information and the time information, respectively. The Connected count is used to count the number of successful connections of the device to the current hotspot, and the Connected count is incremented by 1 each time a connection is successfully made. Last connected time is used for counting the time when the device is successfully connected with the current hotspot Last time, here, taking hotspot information stored in a configuration file as an example, the configuration file code is as follows:
<Wi-FiConfiguration>
<string name="ConfigKey">&quot;XXXX_5G&quot;WPA_PSK</string>
< string name ═ SSID' > " XXXXXX _5G " </string >// name denoting a connection hotspot is XXXX _5G
...// omitting other configuration information associated with the save hotspot
A newly defined parameter indicating that the number of times the hotspot was successfully Connected is 10 times
< string name: "LastUpdateName" >2020/08/20/09:10:33</string >// a newly defined parameter used to indicate that the time when the device last connected to hot spot XXXX _5G was 10 minutes 33 seconds at 9 am, 10 am, 33 am, 8/20/2020
</Wi-FiConfiguration>。
Therefore, the hotspot information can be deleted in the android system by adopting the method provided by the embodiment of the invention.
The following provides 1 specific example in conjunction with any of the embodiments described above:
1. in a network configuration file of the Android device: xml adds two new fields, the number information Connected count and the time information Last Connected time, to each saved hotspot message. The Connected count is used to count the number of times that the device is successfully Connected to the current wireless hotspot, the Connected count is increased by 1 every time the device is successfully Connected, the Last Connected time is used to count the time that the device is successfully Connected to the current wireless hotspot Last time, here, taking a hotspot message stored in a configuration file as an example, the configuration file code is as follows:
<Wi-FiConfiguration>
<string name="ConfigKey">&quot;XXXX_5G&quot;WPA_PSK</string>
< string name ═ SSID' > " XXXXXX _5G " </string >// name denoting connecting to a wireless hotspot is XXXX _5G
...// other configuration information associated with the stored wireless hotspot is omitted here
A newly defined parameter indicating that the number of times the wireless hotspot is successfully Connected is 10 times
< string name: "LastUpdateName" >2020/08/20/09:10:33</string >// a newly defined parameter used to indicate that the time when the device last connected to wireless hotspot XXXX _5G was 9 am, 10 min 33 sec, 8/20/2020, 10 am, 33 p.s.
</Wi-FiConfiguration>
2. When the user connects to a saved wireless hotspot each time, the Connected count field value is increased by 1, for example, the user connects to the Wi-Fi wireless hotspot XXXX _5G at 2020/08/21/10:10:20, the Connected count value is changed from 10 to 11, and the time recorded in the Last Connected time field is updated to the latest connection time 2020/08/21/10:10:20, and so on.
3. An intelligent cleaning saved network switch can be arranged on the Wi-Fi advanced setting page, so that a user can select to intelligently delete the wireless hotspot. The user hopes to intelligently clear the stored wireless hotspots in the Android device, enters a Wi-Fi advanced setting page of the device, and opens a switch for intelligently clearing the stored network.
4. And after the switch is turned on, the Android device analyzes the configuration file Wi-FiConfigStore.
5. The first round of sorting is performed according to the value corresponding to the Connected count from large to small, the larger the number is, the higher the connection frequency of the Wi-Fi wireless hotspot is stored is, and the smaller the number is, the lower the connection frequency is.
6. And the second round of sorting is performed for the second time according to Last connected time on the basis of the list finished in the first round of sorting, and the time recorded by the field is closer to the current time, which indicates that the wireless hotspot is successfully connected at the time point closer to the current time, and is successfully connected at the time point farther from the current time.
7. After sorting is completed, the Android device traverses the file from bottom to top from the bottommost part of the file again, and finds all wireless hotspots with Last Connected time more than 3 months from the current time and Connected count less than or equal to 2.
8. And deleting the hotspot information of the wireless hotspot of which Last Connected time is more than 3 months away from the current time and Connected count is less than or equal to 2.
9. And prompting the user that the intelligent cleaning of the saved wireless hotspot is finished, automatically closing a switch of the saved Wi-Fi network in the Wi-Fi high-level setting, and intelligently cleaning the switch.
Fig. 4 is a block diagram of a hotspot information processing device 100 according to an exemplary embodiment, where the hotspot information processing device 100 is applied to a terminal, and the device 100 includes: an acquisition module 110, a detection module 120, and an operation module 130, wherein,
the obtaining module 110 is configured to obtain access information of the terminal accessing the wireless hotspot;
the detection module 120 is configured to detect a deletion operation of the hotspot information;
the operation module 130 is configured to, in response to the deletion operation, delete, based on the access information, hotspot information of the wireless hotspot whose access record meets a low-frequency access condition.
In one embodiment, the obtaining module 110 includes:
the first obtaining sub-module 111 is configured to obtain time information of the wireless hotspot accessed by the terminal and frequency information of the wireless hotspot accessed by the terminal.
In one embodiment, the operation module 130 includes:
the operation sub-module 131 is configured to, in response to the deletion operation, delete the hotspot information of the wireless hotspot that is not accessed within a preset time period and/or has an access frequency lower than an access threshold value based on the time information and the frequency information.
In one embodiment, the operation sub-module 131 includes:
a first determining unit 1311, configured to rank the hotspot information of each wireless hotspot according to the access times, and determine, according to a ranking result, a first hotspot identifier of the wireless hotspot whose access time is lower than the access threshold;
a second determining unit 1312 is configured to rank the hotspot information of each wireless hotspot according to access time, and determine a second hotspot identifier of the wireless hotspot that is not accessed within the preset time period according to a ranking result;
and the deleting unit is configured to delete the hotspot information which is the wireless hotspot corresponding to the first hotspot identification and the second hotspot identification at the same time.
In one embodiment, the obtaining module 110 includes:
a second obtaining sub-module 112, configured to obtain, from a network configuration file, the access information of the terminal accessing the wireless hotspot.
In one embodiment, the network profile includes: xml Wi-ficfigstore.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 5 is a block diagram illustrating a hotspot information processing device 800 according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 5, the apparatus 800 may include one or more of the following components: processing component 802, memory 804, power component 806, multimedia component 808, audio component 810, input/output (I/O) interface 812, sensor component 814, and communication component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction 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 operation at the device 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile 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 disks.
Power components 806 provide power to the various components of device 800. The power components 806 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the apparatus 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. 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 an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front-facing camera and/or the rear-facing camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
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 apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also 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 keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed state of the device 800, the relative positioning of the components, such as a display and keypad of the apparatus 800, the sensor assembly 814 may also detect a change in position of the apparatus 800 or a component of the apparatus 800, the presence or absence of user contact with the apparatus 800, orientation or acceleration/deceleration of the apparatus 800, and a change in temperature of the apparatus 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object 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 gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as Wi-Fi, 2G, or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an 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 apparatus 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, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
A non-transitory computer readable storage medium, wherein instructions of the storage medium, when executed by a processor of a terminal, enable the terminal to perform the steps of one of the above-described hotspot information processing methods.
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 will be understood that the invention is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the invention is limited only by the appended claims.

Claims (12)

1. A hotspot information processing method is applied to a terminal, and the method comprises the following steps:
acquiring access information of the terminal for accessing the wireless hotspot;
detecting the deletion operation of the hotspot information;
and in response to the deletion operation, deleting hotspot information of the wireless hotspot with an access record meeting a low-frequency access condition based on the access information.
2. The method of claim 1, wherein the obtaining access information of the terminal to access the wireless hotspot comprises:
and acquiring time information of the wireless hotspot accessed by the terminal and the number information of the wireless hotspot accessed by the terminal.
3. The method of claim 2, wherein the deleting access to the hotspot information of the wireless hotspot meeting a low-frequency access condition based on the access information in response to the deleting operation comprises:
and in response to the deleting operation, deleting the hotspot information of the wireless hotspot which is not accessed in a preset time period and/or the access frequency is lower than an access threshold value based on the time information and the frequency information.
4. The method according to claim 3, wherein the deleting the hotspot information of the wireless hotspot which is not accessed within a preset time period and has an access frequency lower than an access threshold comprises:
ordering the hotspot information of each wireless hotspot according to the access times, and determining a first hotspot identification of the wireless hotspot with the access times lower than the access threshold according to the ordering result;
ordering the hotspot information of each wireless hotspot according to access time, and determining a second hotspot identification of the wireless hotspot which is not accessed in the preset time period according to an ordering result;
and deleting the hotspot information which is the wireless hotspot corresponding to the first hotspot identification and the second hotspot identification at the same time.
5. The method according to any one of claims 1 to 4, wherein the obtaining access information of the terminal accessing the wireless hotspot comprises:
and acquiring the access information of the terminal accessing the wireless hotspot from a network configuration file.
6. A hotspot information processing device is applied to a terminal, and the device comprises: an acquisition module, a detection module and an operation module, wherein,
the acquisition module is configured to acquire access information of the terminal for accessing the wireless hotspot;
the detection module is configured to detect a deletion operation of the hotspot information;
the operation module is configured to respond to the deletion operation, and delete the hotspot information of the wireless hotspot with an access record meeting a low-frequency access condition based on the access information.
7. The apparatus of claim 6, wherein the means for obtaining comprises:
the first obtaining submodule is configured to obtain time information of the wireless hotspot accessed by the terminal and frequency information of the wireless hotspot accessed by the terminal.
8. The apparatus of claim 7, wherein the operation module comprises:
and the operation sub-module is configured to respond to the deletion operation, and delete the hotspot information of the wireless hotspot which is not accessed within a preset time period and/or has the access frequency lower than an access threshold value based on the time information and the frequency information.
9. The apparatus of claim 8, wherein the operation submodule comprises:
the first determining unit is configured to rank the hotspot information of each wireless hotspot according to the access times, and determine a first hotspot identification of the wireless hotspot with the access times lower than the access threshold according to a ranking result;
a second determining unit, configured to rank the hotspot information of each wireless hotspot according to access time, and determine a second hotspot identifier of the wireless hotspot that is not accessed within the preset time period according to a ranking result;
and the deleting unit is configured to delete the hotspot information which is the wireless hotspot corresponding to the first hotspot identification and the second hotspot identification at the same time.
10. The apparatus of any of claims 6 to 9, wherein the obtaining means comprises:
and the second obtaining submodule is configured to obtain the access information of the terminal accessing the wireless hotspot from a network configuration file.
11. A terminal, comprising: processor, transceiver, memory and executable program stored on the memory and capable of being executed by the processor, wherein the processor executes the executable program to perform the steps of the hotspot information processing method according to any one of the claims 1 to 5.
12. A storage medium on which an executable program is stored, wherein the executable program, when executed by a processor, implements the steps of the hotspot information processing method of any one of claims 1 to 5.
CN202011105764.9A 2020-10-15 2020-10-15 Hotspot information processing method and device, terminal and storage medium Pending CN112261677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011105764.9A CN112261677A (en) 2020-10-15 2020-10-15 Hotspot information processing method and device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011105764.9A CN112261677A (en) 2020-10-15 2020-10-15 Hotspot information processing method and device, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN112261677A true CN112261677A (en) 2021-01-22

Family

ID=74243612

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011105764.9A Pending CN112261677A (en) 2020-10-15 2020-10-15 Hotspot information processing method and device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112261677A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090137228A1 (en) * 2007-11-16 2009-05-28 Qualcomm Incorporated Utilizing restriction codes in wireless access point connection attempts
CN104582000A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Method and mobile terminal for wireless hotspot treatment
US20150373562A1 (en) * 2013-02-21 2015-12-24 Nokia Technologies Oy Updating stored information about wireless access points
CN105491642A (en) * 2015-11-25 2016-04-13 小米科技有限责任公司 Network connection method and device
CN106131929A (en) * 2016-08-03 2016-11-16 北京小米移动软件有限公司 WiFi access-in point information method for cleaning and device
CN106550423A (en) * 2016-11-04 2017-03-29 广东欧珀移动通信有限公司 A kind of access point management method and terminal
CN108882229A (en) * 2018-05-31 2018-11-23 上海连尚网络科技有限公司 Information processing method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090137228A1 (en) * 2007-11-16 2009-05-28 Qualcomm Incorporated Utilizing restriction codes in wireless access point connection attempts
US20150373562A1 (en) * 2013-02-21 2015-12-24 Nokia Technologies Oy Updating stored information about wireless access points
CN104582000A (en) * 2014-12-31 2015-04-29 广东欧珀移动通信有限公司 Method and mobile terminal for wireless hotspot treatment
CN105491642A (en) * 2015-11-25 2016-04-13 小米科技有限责任公司 Network connection method and device
CN106131929A (en) * 2016-08-03 2016-11-16 北京小米移动软件有限公司 WiFi access-in point information method for cleaning and device
CN106550423A (en) * 2016-11-04 2017-03-29 广东欧珀移动通信有限公司 A kind of access point management method and terminal
CN108882229A (en) * 2018-05-31 2018-11-23 上海连尚网络科技有限公司 Information processing method and device

Similar Documents

Publication Publication Date Title
CN106358189B (en) Method and device for accessing wireless local area network
CN114916251B (en) Communication method and device, access equipment, terminal and storage medium
US20230413150A1 (en) Method and apparatus for determining target cell of ue, communication device, and storage medium
WO2021243620A1 (en) Method and apparatus for determining random access configuration, communication device, and storage medium
US20230133309A1 (en) Network data collection method
CN111543094B (en) Paging processing method, paging processing device, user equipment, base station and storage medium
CN115053473A (en) RSRP threshold determination method, device, communication equipment and storage medium
CN112753266B (en) Auxiliary UE selection method, auxiliary UE selection device, communication equipment and storage medium
CN115443675A (en) Measurement interval processing method, device, communication equipment and storage medium
CN110546974A (en) method and device for acquiring system message, communication equipment and storage medium
CN112261677A (en) Hotspot information processing method and device, terminal and storage medium
CN111727653A (en) Method, device, communication equipment and storage medium for transferring service
WO2024138444A1 (en) Information processing methods, apparatus, communication device and storage medium
CN112586027B (en) Measurement data processing method, device, communication equipment and storage medium
CN114846854B (en) Configuration method, device, communication equipment and storage medium for discontinuous reception parameters
WO2024113189A1 (en) Small data transmission (sdt) method and apparatus, and communication device and storage medium
WO2024145855A1 (en) Cell access control method, system, and apparatus, communication device, and storage medium
CN111034263B (en) Information transmission method and device and communication equipment
WO2024036438A1 (en) Network selection method and apparatus, and communication device and storage medium
WO2023130442A1 (en) Measurement method and apparatus, communication device and storage medium
CN117882441A (en) Information processing method, system and device, communication equipment and storage medium
CN117769854A (en) Information transmission method, device, communication equipment and storage medium
CN116438774A (en) SRS configuration information updating method and device, communication equipment and storage medium
CN116601902A (en) Method, apparatus, communication device and storage medium for performing predetermined operation
CN116602027A (en) Method, device, communication equipment and storage medium for receiving and transmitting NCD-SSB configuration information

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210122