CN105873154B - Network access method and device - Google Patents

Network access method and device Download PDF

Info

Publication number
CN105873154B
CN105873154B CN201610192353.5A CN201610192353A CN105873154B CN 105873154 B CN105873154 B CN 105873154B CN 201610192353 A CN201610192353 A CN 201610192353A CN 105873154 B CN105873154 B CN 105873154B
Authority
CN
China
Prior art keywords
wifi network
connection
wifi
network
accessed
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
CN201610192353.5A
Other languages
Chinese (zh)
Other versions
CN105873154A (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.)
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 CN201610192353.5A priority Critical patent/CN105873154B/en
Publication of CN105873154A publication Critical patent/CN105873154A/en
Application granted granted Critical
Publication of CN105873154B publication Critical patent/CN105873154B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/26Reselection being triggered by specific parameters by agreed or negotiated communication parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information

Landscapes

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

Abstract

The disclosure relates to a method and a device for accessing a network, wherein the method for accessing the network comprises the following steps: displaying information of a candidate WIFI network under the current environment, wherein the information comprises at least one of a route manufacturer, a WIFI position, whether to charge, a connection priority and a connection strategy; determining a WIFI network to be accessed according to the displayed information of the candidate WIFI network; and accessing the determined WIFI network to be accessed. According to the embodiment of the disclosure, the information of the candidate WIFI network in the current environment is displayed, and the WIFI network to be accessed is determined according to the displayed information of the candidate WIFI network, so that the purpose of determining the WIFI network to be accessed by comprehensively considering a routing manufacturer, a WIFI position, charging, connection priority, a connection strategy and the like is achieved, the most suitable WIFI network can be determined in a targeted manner before each access to the network, and the personalized requirement of a user for accessing the network is better met.

Description

Network access method and device
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and an apparatus for accessing a network.
Background
WiFi (Wireless-Fidelity) technology is a Wireless connection technology. With the development of science and technology, wireless networks using WiFi technology are spread throughout every corner of people's daily life, and WiFi technology is also increasingly important to people's daily life.
However, since there are many WiFi application scenarios, for example, there are WiFi of the same name in the user's home and company, and there are a plurality of connectable WiFi in the current environment where the user is located, the user cannot quickly and effectively find the WiFi that the user wants to connect to in different application scenarios.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a method and an apparatus for accessing a network.
According to a first aspect of the embodiments of the present disclosure, there is provided a method for accessing a network, including:
displaying information of a candidate WIFI network under the current environment, wherein the information comprises at least one of a route manufacturer, a WIFI position, whether to charge, a connection priority and a connection strategy;
determining a WIFI network to be accessed according to the displayed information of the candidate WIFI network;
and accessing the determined WIFI network to be accessed.
In an embodiment, the determining, according to the displayed information of the candidate WIFI networks, a WIFI network to be accessed includes:
judging whether the current scene belongs to the multiple scenes, and if the current scene belongs to the multiple scenes, determining a current connection strategy;
and automatically determining the WIFI network to be accessed according to the current connection strategy.
In one embodiment, the connection policies under the plurality of scenarios include one or more of the following connection policies:
connecting a WIFI network with the maximum signal intensity under the same-name WIFI network;
connecting the WIFI network with the highest priority when a plurality of WIFI networks exist;
connecting the free WIFI network when the charging WIFI network and the free WIFI network exist;
and when a plurality of WIFI networks exist, the WIFI network with the highest connection reliability is connected.
In an embodiment, the automatically determining the WIFI network to be accessed according to the current connection policy includes:
if the current connection strategy is the WIFI network with the maximum connection signal intensity, identifying the WIFI network with the maximum signal intensity according to the WIFI position, and taking the WIFI network with the maximum signal intensity as the WIFI network to be accessed; and/or
If the current connection strategy is the WIFI network with the highest connection priority, determining the WIFI network with the highest priority according to the connection priority, and taking the WIFI network with the highest priority as the WIFI network to be accessed; and/or
If the current connection strategy is to connect a free WIFI network, determining the free WIFI network according to the charge, and using the free WIFI network as the WIFI network to be accessed; and/or
And if the current connection strategy is the WIFI network with the highest connection reliability, determining the WIFI network with the highest reliability according to the routing manufacturer, and taking the WIFI network with the highest reliability as the WIFI network to be accessed.
In an embodiment, the determining the current connection policy includes:
and if a plurality of connection strategies are determined according to the current scene, selecting the connection strategy with the highest priority from the plurality of connection strategies as the current connection strategy according to the preset connection strategy priority.
In an embodiment, the determining a WIFI network to be accessed according to the displayed information of the candidate WIFI networks includes:
and taking the WIFI network selected by the user according to the information as the WIFI network to be accessed.
In an embodiment, the method further comprises:
and receiving and storing the information correspondingly added by the user in a newly added field of the WIFI network existing in the current environment, wherein the newly added field comprises at least one of a route manufacturer field, a WIFI position field, a charge field, a connection priority field and a connection strategy field.
In an embodiment, the method further comprises:
and receiving and storing the information updated by the user aiming at the WIFI network.
According to a second aspect of the embodiments of the present disclosure, there is provided an apparatus for accessing a network, including:
the display module is configured to display information of the candidate WIFI network under the current environment, wherein the information comprises at least one of a route manufacturer, a WIFI position, whether to charge, a connection priority and a connection strategy;
the determining module is configured to determine a WIFI network to be accessed according to the information of the candidate WIFI network displayed by the display module;
an accessing module configured to access the WIFI network to be accessed determined by the determining module.
In one embodiment, the connection policy includes connection policies under a plurality of scenarios, and the determining module includes:
the judgment determining submodule is configured to judge whether the current scene belongs to the multiple scenes, and if the current scene belongs to the multiple scenes, the current connection strategy is determined;
and the automatic determination sub-module is configured to automatically determine the WIFI network to be accessed according to the current connection strategy determined by the judgment determination sub-module.
In one embodiment, the connection policies under the plurality of scenarios include one or more of the following connection policies:
connecting a WIFI network with the maximum signal intensity under the same-name WIFI network;
connecting the WIFI network with the highest priority when a plurality of WIFI networks exist;
connecting the free WIFI network when the charging WIFI network and the free WIFI network exist;
and when a plurality of WIFI networks exist, the WIFI network with the highest connection reliability is connected.
In one embodiment, the automatic determination sub-module comprises:
the first determining unit is configured to identify the WIFI network with the maximum signal strength according to the WIFI position and use the WIFI network with the maximum signal strength as the WIFI network to be accessed if the current connection strategy is the WIFI network with the maximum connection signal strength; and/or
The second determination unit is configured to determine the WIFI network with the highest priority according to the connection priority if the current connection policy is the WIFI network with the highest connection priority, and use the WIFI network with the highest priority as the WIFI network to be accessed; and/or
A third determining unit, configured to determine a free WIFI network according to whether the current connection policy is to connect to the free WIFI network, and use the free WIFI network as the to-be-accessed WIFI network; and/or
And the fourth determining unit is configured to determine the WIFI network with the highest reliability according to the route manufacturer if the current connection strategy is the WIFI network with the highest connection reliability, and use the WIFI network with the highest reliability as the WIFI network to be accessed.
In an embodiment, the determination sub-module is further configured to: and if a plurality of connection strategies are determined according to the current scene, selecting the connection strategy with the highest priority from the plurality of connection strategies as the current connection strategy according to the preset connection strategy priority.
In an embodiment, the determining module is configured to use a WIFI network selected by a user according to the information as the WIFI network to be accessed.
In one embodiment, the apparatus further comprises:
the receiving and storing module is configured to receive and store the information correspondingly added by the user in a newly added field of the WIFI network existing in the current environment, wherein the newly added field comprises at least one of a routing manufacturer field, a WIFI position field, a charging field, a connection priority field and a connection policy field.
In an embodiment, the receiving and saving module is further configured to receive and save the information updated by the user for the WIFI network.
According to a third aspect of the embodiments of the present disclosure, there is provided an apparatus for accessing a network, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
displaying information of a candidate WIFI network under the current environment, wherein the information comprises at least one of a route manufacturer, a WIFI position, whether to charge, a connection priority and a connection strategy;
determining a WIFI network to be accessed according to the displayed information of the candidate WIFI network;
and accessing the determined WIFI network to be accessed.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: the method has the advantages that the information of the candidate WIFI network in the current environment is displayed, the WIFI network to be accessed is determined according to the displayed information of the candidate WIFI network, and the purpose of determining the WIFI network to be accessed by comprehensively considering routing manufacturers, WIFI positions, charging, connection priority or connection strategies and the like is achieved.
The current connection strategy is determined according to the current scene, and the WIFI network to be accessed is automatically determined, so that the aim of automatically accessing the WIFI network is fulfilled, the user time is saved while the user requirements are met.
A plurality of connection strategies corresponding to a plurality of scenes are described, and the connection strategies are rich and diverse in content.
The WIFI network to be accessed is automatically determined through various connection strategies so as to achieve the purpose of automatically accessing the WIFI network, and the realization mode is flexible and various.
The current connection strategy is determined according to the preset connection strategy priority, so that the WIFI network to be accessed can be determined according to the determined current connection strategy, and the implementation mode is simple.
And the WIFI network selected by the user according to the information of the candidate WIFI network is used as the WIFI network to be accessed, so that the purpose of determining the most suitable WIFI network is achieved.
By receiving and storing the information correspondingly added by the user in the newly added field of the WIFI network existing in the current environment, an implementation mode for adding the information is provided, so that the WIFI network to be accessed can be determined according to the information in the following process.
By receiving and storing the updated information of the user aiming at the WIFI network, the accuracy of determining the WIFI network to be accessed can be 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 disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and together with the description, serve to explain the principles of the invention.
Fig. 1 is a flow chart illustrating a method of accessing a network according to an example embodiment.
Fig. 2 is a flow chart illustrating another method of accessing a network in accordance with an example embodiment.
Fig. 3 is a flow chart illustrating another method of accessing a network in accordance with an example embodiment.
Fig. 4 is a block diagram illustrating an apparatus for accessing a network in accordance with an example embodiment.
Fig. 5 is a block diagram illustrating another apparatus for accessing a network in accordance with an example embodiment.
Fig. 6 is a block diagram illustrating another apparatus for accessing a network in accordance with an example embodiment.
Fig. 7 is a block diagram illustrating another apparatus for accessing a network in accordance with an example embodiment.
Fig. 8 is a block diagram illustrating an apparatus adapted for use in an access network in accordance with an example 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 embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the invention, as detailed in the appended claims.
Fig. 1 is a flowchart illustrating a method for accessing a network according to an exemplary embodiment, which is applicable to a mobile terminal, as shown in fig. 1, and includes the following steps S101-S103:
in step S101, information of a candidate WIFI network in the current environment is displayed, where the information includes at least one of a route manufacturer, a WIFI location, whether to charge, a connection priority, and a connection policy.
In this embodiment, the candidate WIFI networks in the current environment may be all accessible WIFI networks in the current environment, the WIFI locations may include, but are not limited to, homes, companies, or other public places, the connection priority may be a self-defined order of preferentially connecting to the WIFI networks, and the connection policy may include connection policies in various scenarios.
The connection policies under various scenarios may include, but are not limited to, one or more of the following connection policies:
connecting a WIFI network with the maximum signal intensity under the same-name WIFI network;
connecting the WIFI network with the highest priority when a plurality of WIFI networks exist;
connecting the free WIFI network when the charging WIFI network and the free WIFI network exist;
and when a plurality of WIFI networks exist, the WIFI network with the highest connection reliability is connected.
In step S102, a WIFI network to be accessed is determined according to the displayed information of the candidate WIFI networks.
In this embodiment, the WIFI network to be accessed may be automatically determined or determined by the user according to information including at least one of a routing vendor, a WIFI location, whether to charge, a connection priority, and a connection policy.
In step S103, the determined WIFI network to be accessed is accessed.
According to the embodiment of the network access method, the information of the candidate WIFI network in the current environment is displayed, and the WIFI network to be accessed is determined according to the displayed information of the candidate WIFI network, so that the aim of determining the WIFI network to be accessed by comprehensively considering a route manufacturer, a WIFI position, charging, connection priority, a connection strategy and the like is fulfilled.
Fig. 2 is a flowchart illustrating another method for accessing a network according to an exemplary embodiment, as shown in fig. 2, including the following steps S201-S206:
in step S201, information that is correspondingly added to a newly added field of a WIFI network existing in the current environment by the user is received and stored.
In this embodiment, the added fields may include, but are not limited to, at least one of a routing vendor field, a WIFI location field, a charging or not field, a connection priority field, and a connection policy field.
In step S202, information of the candidate WIFI networks in the current environment is displayed, where the information includes at least one of a route manufacturer, a WIFI location, whether to charge, a connection priority, and a connection policy.
In step S203, it is determined whether the current scene belongs to multiple scenes, and if the current scene does not belong to multiple scenes, the operation is ended; if the current scene belongs to a plurality of scenes, step S204 is executed.
In step S204, a current connection policy is determined, and a WIFI network to be accessed is automatically determined according to the current connection policy.
In this embodiment, a current connection policy may be determined according to a current scenario, and a WIFI network to be accessed may be automatically determined according to the current connection policy. If the current connection strategy is the WIFI network with the maximum connection signal intensity, the WIFI network with the maximum signal intensity can be identified according to the WIFI position, and the WIFI network with the maximum signal intensity is used as the WIFI network to be accessed. If the current connection policy is the WIFI network with the highest connection priority, the WIFI network with the highest priority can be determined according to the connection priority, and the WIFI network with the highest priority is used as the WIFI network to be accessed. If the current connection strategy is to connect a free WIFI network, the free WIFI network can be determined according to whether the charge is given or not, and the free WIFI network is used as the WIFI network to be accessed. If the current connection strategy is the WIFI network with the highest connection reliability, the WIFI network with the highest reliability can be determined according to the route manufacturer, and the WIFI network with the highest reliability is used as the WIFI network to be accessed.
In addition, if a plurality of connection policies can be determined according to the current scenario, a connection policy with the highest priority can be selected from the plurality of connection policies as the current connection policy according to a preset connection policy priority, wherein the connection policy priority can be set by a user according to experience.
In step S205, the determined WIFI network to be accessed is accessed.
In step S206, the updated information of the user for the WIFI network is received and saved.
In this embodiment, if the information of the WIFI network is not changed, the step S206 does not need to be executed. If the information of the WIFI network is changed, step S206 is executed. For example, when the WIFI network is changed from a charging network to a free network, the update of the user for the information is received and saved.
According to the method embodiment for accessing the network, the information correspondingly added in the newly added field of the WIFI network existing in the current environment by the user is received and stored, and conditions are provided for subsequently determining the WIFI network to be accessed. In addition, a current connection strategy is determined according to a current scene, and a WIFI network to be accessed is automatically determined, so that the aim of automatically accessing the WIFI network is fulfilled, the user time is saved while the user requirements are met. In addition, the accuracy of determining the WIFI network to be accessed can be improved by receiving and storing the updated information of the user aiming at the WIFI network.
Fig. 3 is a flow chart illustrating another method of accessing a network according to an exemplary embodiment, as shown in fig. 3, including the following steps S301-S305:
in step S301, information that is correspondingly added to a newly added field of a WIFI network existing in the current environment by the user is received and stored.
In this embodiment, the added fields may include, but are not limited to, at least one of a routing vendor field, a WIFI location field, a charging or not field, a connection priority field, and a connection policy field.
In step S302, information of the candidate WIFI networks in the current environment is displayed, where the information includes at least one of a route manufacturer, a WIFI location, whether to charge, a connection priority, and a connection policy.
In step S303, the WIFI network selected by the user according to the information of the candidate WIFI network is used as the WIFI network to be accessed.
In this embodiment, the user may manually select the WIFI network according to the information of the candidate WIFI network, and use the WIFI network manually selected by the user as the WIFI network to be accessed. For example, a user has a Service Set Identifier (SSID) of a WIFI network of miooffice at home and at a company, but the signal strength of the company is worse than that of the home, and the user can manually select to access the WIFI network of the home according to the signal strength. For another example, the user has a plurality of connectable WIFI networks in the current environment, and the user may manually select the WIFI network with the highest priority as the WIFI network to be accessed through the marked connection priorities of the plurality of WIFI networks. The connection priority can be marked after the user comprehensively considers multiple dimensions such as signal strength, signal reliability and the like according to the use experience, and the marked priority does not depend on the instantaneous network measurement result and is high in objectivity.
In step S304, the determined WIFI network to be accessed is accessed.
In step S305, information updated by the user for the WIFI network is received and saved.
In this embodiment, if the information of the WIFI network is not changed, the step S305 does not need to be executed. If the information of the WIFI network is changed, step S305 is executed. For example, when the WIFI network is changed from a charging network to a free network, the update of the user for the information is received and saved.
According to the embodiment of the network access method, the WIFI network selected by the user according to the information of the candidate WIFI network is used as the WIFI network to be accessed, so that the purpose of determining the most suitable WIFI network is achieved.
Corresponding to the foregoing method embodiment of accessing a network, the present disclosure also provides an apparatus embodiment of accessing a network.
Fig. 4 is a block diagram illustrating an apparatus for accessing a network according to an exemplary embodiment, and as shown in fig. 4, the apparatus for accessing a network includes a display module 41, a determination module 42, and an access module 43.
The display module 41 is configured to display information of the candidate WIFI networks in the current environment, where the information includes at least one of a route vendor, a WIFI location, whether to charge, a connection priority, and a connection policy.
In this embodiment, the candidate WIFI networks in the current environment may be all accessible WIFI networks in the current environment, the WIFI locations may include, but are not limited to, homes, companies, or other public places, the connection priority may be a self-defined order of preferentially connecting to the WIFI networks, and the connection policy may include connection policies in various scenarios.
The connection policies under various scenarios may include, but are not limited to, one or more of the following connection policies:
connecting a WIFI network with the maximum signal intensity under the same-name WIFI network;
connecting the WIFI network with the highest priority when a plurality of WIFI networks exist;
connecting the free WIFI network when the charging WIFI network and the free WIFI network exist;
and when a plurality of WIFI networks exist, the WIFI network with the highest connection reliability is connected.
A determining module 42 configured to determine a WIFI network to be accessed according to the information of the candidate WIFI networks displayed by the display module 41.
In this embodiment, the WIFI network to be accessed may be automatically determined or determined by the user according to information including at least one of a routing vendor, a WIFI location, whether to charge, a connection priority, and a connection policy.
In an embodiment, the determination module 42 may be configured to use the WIFI network selected by the user according to the information as the WIFI network to be accessed.
For example, a user has a WIFI network with SSID of miffice at home and a company, but the signal strength of the company is worse than that of the home, and the user can manually select to access the WIFI network of the home according to the signal strength. For another example, the user has a plurality of connectable WIFI networks in the current environment, and the user may manually select the WIFI network with the highest priority as the WIFI network to be accessed through the marked connection priorities of the plurality of WIFI networks. The connection priority can be marked after the user comprehensively considers multiple dimensions such as signal strength, signal reliability and the like according to the use experience, and the marked priority does not depend on the instantaneous network measurement result and is high in objectivity.
And an accessing module 43 configured to access the WIFI network to be accessed determined by the determining module 42.
The apparatus shown in fig. 4 is used for implementing the method flow shown in fig. 1, and related contents are described the same, which are not described herein again.
According to the embodiment of the network access device, the information of the candidate WIFI network in the current environment is displayed, and the WIFI network to be accessed is determined according to the displayed information of the candidate WIFI network, so that the aim of determining the WIFI network to be accessed by comprehensively considering a route manufacturer, a WIFI position, charging, connection priority, a connection strategy and the like is fulfilled.
Fig. 5 is a block diagram illustrating another apparatus for accessing a network according to an exemplary embodiment, and as shown in fig. 5, based on the embodiment shown in fig. 4, the determining module 42 may include:
the judgment determining submodule 421 is configured to judge whether the current scene belongs to multiple scenes, and if the current scene belongs to multiple scenes, determine the current connection policy.
The automatic determination sub-module 422 is configured to automatically determine a WIFI network to be accessed according to the current connection policy determined by the judgment determination sub-module 421.
In this embodiment, a current connection policy may be determined according to a current scenario, and a WIFI network to be accessed may be automatically determined according to the current connection policy. If the current connection strategy is the WIFI network with the maximum connection signal intensity, the WIFI network with the maximum signal intensity can be identified according to the WIFI position, and the WIFI network with the maximum signal intensity is used as the WIFI network to be accessed. If the current connection policy is the WIFI network with the highest connection priority, the WIFI network with the highest priority can be determined according to the connection priority, and the WIFI network with the highest priority is used as the WIFI network to be accessed. If the current connection strategy is to connect a free WIFI network, the free WIFI network can be determined according to whether the charge is given or not, and the free WIFI network is used as the WIFI network to be accessed. If the current connection strategy is the WIFI network with the highest connection reliability, the WIFI network with the highest reliability can be determined according to the route manufacturer, and the WIFI network with the highest reliability is used as the WIFI network to be accessed.
In addition, the judgment determination submodule 421 may further be configured to: and if a plurality of connection strategies are determined according to the current scene, selecting the connection strategy with the highest priority from the plurality of connection strategies as the current connection strategy according to the preset connection strategy priority. Wherein the connection policy priority may be set by the user empirically.
The apparatus shown in fig. 5 is used for implementing the method flow shown in fig. 2, and related contents are described the same, which are not described herein again.
According to the embodiment of the device for accessing the network, the current connection strategy is determined according to the current scene, and the WIFI network to be accessed is automatically determined, so that the aim of automatically accessing the WIFI network is fulfilled, the user time is saved while the user requirements are met.
Fig. 6 is a block diagram illustrating another apparatus for accessing a network according to an exemplary embodiment, and as shown in fig. 6, based on the above embodiment shown in fig. 5, the automatic determination sub-module 422 may include: at least one of first determining unit 4221, second determining unit 4222, third determining unit 4223 and fourth determining unit 4224.
The first determining unit 4221 is configured to, if the current connection policy is to connect the WIFI network with the maximum signal strength, identify the WIFI network with the maximum signal strength according to the WIFI position, and use the WIFI network with the maximum signal strength as the WIFI network to be accessed.
The second determining unit 4222 is configured to determine, if the current connection policy is the WIFI network with the highest connection priority, the WIFI network with the highest priority according to the connection priority, and use the WIFI network with the highest priority as the WIFI network to be accessed.
A third determining unit 4223 configured to determine a free WIFI network according to whether to charge if the current connection policy is to connect the free WIFI network, and use the free WIFI network as the WIFI network to be accessed.
The fourth determining unit 4224 is configured to determine, according to the routing manufacturer, the WIFI network with the highest reliability if the current connection policy is the WIFI network with the highest connection reliability, and use the WIFI network with the highest reliability as the WIFI network to be accessed. The apparatus shown in fig. 6 is used to implement the method flow shown in fig. 2, and related contents are described the same, which are not described herein again.
According to the embodiment of the device for accessing the network, the WIFI network to be accessed is automatically determined based on various connection strategies, so that the aim of automatically accessing the WIFI network is fulfilled, and the realization mode is flexible and various.
Fig. 7 is a block diagram illustrating another apparatus for accessing a network according to an exemplary embodiment, where as shown in fig. 7, on the basis of the above embodiment shown in fig. 4, the apparatus may further include: a receive save module 40.
The receiving and storing module 40 is configured to receive and store information that is correspondingly added by a user in an added field of a WIFI network existing in a current environment, where the added field includes at least one of a routing manufacturer field, a WIFI location field, a charging field, a connection priority field, and a connection policy field.
In addition, the receiving and saving module 40 may be further configured to receive and save the updated information of the user for the WIFI network.
The apparatus shown in fig. 7 is used to implement the method flow shown in fig. 2 or fig. 3, and related contents are described the same, which are not described herein again.
According to the embodiment of the device for accessing the network, the information correspondingly added in the newly added field of the WIFI network existing in the current environment by the user is received and stored, so that conditions are provided for subsequently determining the WIFI network to be accessed.
With regard to the apparatus in the above embodiment, the specific manner in which each module and sub-module performs operations has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 8 is a block diagram illustrating an apparatus adapted for use in an access network in accordance with an example 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. 8, 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 elements 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 component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and the 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 WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast associated information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications 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.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure 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 present disclosure is limited only by the appended claims.

Claims (5)

1. A method for accessing a network, the method comprising:
displaying information of a candidate WIFI network under the current environment, wherein the information comprises at least one of a route manufacturer, a WIFI position, whether to charge, a connection priority and a connection strategy;
determining a WIFI network to be accessed according to the displayed information of the candidate WIFI network;
accessing the determined WIFI network to be accessed;
the connection strategies comprise connection strategies under various scenes, and the method for determining the WIFI network to be accessed according to the displayed information of the candidate WIFI network comprises the following steps:
judging whether the current scene belongs to the multiple scenes, and if the current scene belongs to the multiple scenes, determining a current connection strategy;
automatically determining the WIFI network to be accessed according to the current connection strategy;
the determining the current connection policy includes:
if a plurality of connection strategies are determined according to the current scene, selecting a connection strategy with the highest priority from the plurality of connection strategies as a current connection strategy according to the preset priority of the connection strategy;
the connection strategies under the multiple scenes comprise one or more of the following connection strategies:
connecting a WIFI network with the maximum signal intensity under the same-name WIFI network;
connecting the WIFI network with the highest priority when a plurality of WIFI networks exist;
connecting the free WIFI network when the charging WIFI network and the free WIFI network exist;
and when a plurality of WIFI networks exist, the WIFI network with the highest connection reliability is connected.
2. The method for accessing the network according to claim 1, wherein the automatically determining the WIFI network to be accessed according to the current connection policy comprises:
if the current connection strategy is the WIFI network with the maximum connection signal intensity, identifying the WIFI network with the maximum signal intensity according to the WIFI position, and taking the WIFI network with the maximum signal intensity as the WIFI network to be accessed; and/or
If the current connection strategy is the WIFI network with the highest connection priority, determining the WIFI network with the highest priority according to the connection priority, and taking the WIFI network with the highest priority as the WIFI network to be accessed; and/or
If the current connection strategy is to connect a free WIFI network, determining the free WIFI network according to the charge, and using the free WIFI network as the WIFI network to be accessed; and/or
And if the current connection strategy is the WIFI network with the highest connection reliability, determining the WIFI network with the highest reliability according to the routing manufacturer, and taking the WIFI network with the highest reliability as the WIFI network to be accessed.
3. An apparatus for accessing a network, the apparatus comprising:
the display module is configured to display information of the candidate WIFI network under the current environment, wherein the information comprises at least one of a route manufacturer, a WIFI position, whether to charge, a connection priority and a connection strategy;
the determining module is configured to determine a WIFI network to be accessed according to the information of the candidate WIFI network displayed by the display module;
an access module configured to access the WIFI network to be accessed determined by the determination module;
the connection policy comprises connection policies under a plurality of scenes, and the determining module comprises:
the judgment determining submodule is configured to judge whether the current scene belongs to the multiple scenes, and if the current scene belongs to the multiple scenes, the current connection strategy is determined;
the automatic determination sub-module is configured to automatically determine the WIFI network to be accessed according to the current connection strategy determined by the judgment determination sub-module;
the judgment determination submodule is further configured to:
if a plurality of connection strategies are determined according to the current scene, selecting a connection strategy with the highest priority from the plurality of connection strategies as a current connection strategy according to the preset priority of the connection strategy;
the connection strategies under the multiple scenes comprise one or more of the following connection strategies:
connecting a WIFI network with the maximum signal intensity under the same-name WIFI network;
connecting the WIFI network with the highest priority when a plurality of WIFI networks exist;
connecting the free WIFI network when the charging WIFI network and the free WIFI network exist;
and when a plurality of WIFI networks exist, the WIFI network with the highest connection reliability is connected.
4. The apparatus of claim 3, wherein the automatic determination submodule comprises:
the first determining unit is configured to identify the WIFI network with the maximum signal strength according to the WIFI position and use the WIFI network with the maximum signal strength as the WIFI network to be accessed if the current connection strategy is the WIFI network with the maximum connection signal strength; and/or
The second determination unit is configured to determine the WIFI network with the highest priority according to the connection priority if the current connection policy is the WIFI network with the highest connection priority, and use the WIFI network with the highest priority as the WIFI network to be accessed; and/or
A third determining unit, configured to determine a free WIFI network according to whether the current connection policy is to connect to the free WIFI network, and use the free WIFI network as the to-be-accessed WIFI network; and/or
And the fourth determining unit is configured to determine the WIFI network with the highest reliability according to the route manufacturer if the current connection strategy is the WIFI network with the highest connection reliability, and use the WIFI network with the highest reliability as the WIFI network to be accessed.
5. An apparatus for accessing a network, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
displaying information of a candidate WIFI network under the current environment, wherein the information comprises at least one of a route manufacturer, a WIFI position, whether to charge, a connection priority and a connection strategy;
determining a WIFI network to be accessed according to the displayed information of the candidate WIFI network;
accessing the determined WIFI network to be accessed;
the connection strategies comprise connection strategies under various scenes, and the method for determining the WIFI network to be accessed according to the displayed information of the candidate WIFI network comprises the following steps:
judging whether the current scene belongs to the multiple scenes, and if the current scene belongs to the multiple scenes, determining a current connection strategy;
automatically determining the WIFI network to be accessed according to the current connection strategy;
the determining the current connection policy includes:
if a plurality of connection strategies are determined according to the current scene, selecting a connection strategy with the highest priority from the plurality of connection strategies as a current connection strategy according to the preset priority of the connection strategy;
the connection strategies under the multiple scenes comprise one or more of the following connection strategies:
connecting a WIFI network with the maximum signal intensity under the same-name WIFI network;
connecting the WIFI network with the highest priority when a plurality of WIFI networks exist;
connecting the free WIFI network when the charging WIFI network and the free WIFI network exist;
and when a plurality of WIFI networks exist, the WIFI network with the highest connection reliability is connected.
CN201610192353.5A 2016-03-30 2016-03-30 Network access method and device Active CN105873154B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610192353.5A CN105873154B (en) 2016-03-30 2016-03-30 Network access method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610192353.5A CN105873154B (en) 2016-03-30 2016-03-30 Network access method and device

Publications (2)

Publication Number Publication Date
CN105873154A CN105873154A (en) 2016-08-17
CN105873154B true CN105873154B (en) 2020-01-03

Family

ID=56626586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610192353.5A Active CN105873154B (en) 2016-03-30 2016-03-30 Network access method and device

Country Status (1)

Country Link
CN (1) CN105873154B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109005569B (en) * 2018-07-10 2022-05-17 北京小米移动软件有限公司 Network connection method and device and routing equipment
CN113993081A (en) * 2021-10-19 2022-01-28 闻泰通讯股份有限公司 Network selection method and device, mobile terminal and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517372A (en) * 2012-06-21 2014-01-15 中国移动通信集团公司 Method for selecting access point in wireless local area network, device and system thereof
CN103874018A (en) * 2014-02-21 2014-06-18 小米科技有限责任公司 Access point information sharing method and device
CN104837179A (en) * 2015-04-02 2015-08-12 广东欧珀移动通信有限公司 Method and device for displaying wireless hotspot equipment producer information
WO2015165075A1 (en) * 2014-04-30 2015-11-05 Hewlett-Packard Development Company, L.P. Wireless access point selection based on a connection plan
CN105163368A (en) * 2015-07-31 2015-12-16 腾讯科技(深圳)有限公司 Wireless network access method and device
CN105407542A (en) * 2015-12-25 2016-03-16 珠海奔图电子有限公司 Wireless communication connection automatic establishment method, station apparatus and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101877832A (en) * 2009-04-28 2010-11-03 财团法人资讯工业策进会 Intelligent hotspot connection system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103517372A (en) * 2012-06-21 2014-01-15 中国移动通信集团公司 Method for selecting access point in wireless local area network, device and system thereof
CN103874018A (en) * 2014-02-21 2014-06-18 小米科技有限责任公司 Access point information sharing method and device
WO2015165075A1 (en) * 2014-04-30 2015-11-05 Hewlett-Packard Development Company, L.P. Wireless access point selection based on a connection plan
CN104837179A (en) * 2015-04-02 2015-08-12 广东欧珀移动通信有限公司 Method and device for displaying wireless hotspot equipment producer information
CN105163368A (en) * 2015-07-31 2015-12-16 腾讯科技(深圳)有限公司 Wireless network access method and device
CN105407542A (en) * 2015-12-25 2016-03-16 珠海奔图电子有限公司 Wireless communication connection automatic establishment method, station apparatus and system

Also Published As

Publication number Publication date
CN105873154A (en) 2016-08-17

Similar Documents

Publication Publication Date Title
CN106961526B (en) Notification message display method and device and electronic equipment
US9667774B2 (en) Methods and devices for sending virtual information card
EP2991275A1 (en) Making router management application compatible with router firmware
EP3136699A1 (en) Method and device for connecting external equipment
EP3016443A1 (en) Communication method and terminal
US11457479B2 (en) Method and apparatus for configuring random access occasion, method and apparatus for random access
CN107071862B (en) Account number binding method and device and intelligent equipment
EP3125615A1 (en) Method, apparatus and system for smart device to access router
US11284398B2 (en) Communication link configuration method and device
US20160174146A1 (en) Method and device for connecting appliance to network
CN108629178B (en) Resource access authority configuration method and device of application program
WO2018000710A1 (en) Method and device for displaying wifi signal icon and mobile terminal
CN106507282B (en) Wireless connection control method and device
US9723639B2 (en) Communication method and terminal
CN112331158B (en) Terminal display adjusting method, device, equipment and storage medium
CN105227426B (en) Application interface switching method and device and terminal equipment
EP2985697A1 (en) Method and device for controlling router plug-in
CN105873154B (en) Network access method and device
US11075811B2 (en) Method and apparatus for device identification
CN106773750B (en) Equipment image display method and device
CN106506808B (en) Method and device for prompting communication message
US20170041377A1 (en) File transmission method and apparatus, and storage medium
CN108401518B (en) Channel coordination method and device
CN107885464B (en) Data storage method, device and computer readable storage medium
CN108521882B (en) Network access method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant