CN109005569B - Network connection method and device and routing equipment - Google Patents

Network connection method and device and routing equipment Download PDF

Info

Publication number
CN109005569B
CN109005569B CN201810753392.7A CN201810753392A CN109005569B CN 109005569 B CN109005569 B CN 109005569B CN 201810753392 A CN201810753392 A CN 201810753392A CN 109005569 B CN109005569 B CN 109005569B
Authority
CN
China
Prior art keywords
network
state information
network state
layer
layer network
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
CN201810753392.7A
Other languages
Chinese (zh)
Other versions
CN109005569A (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 CN201810753392.7A priority Critical patent/CN109005569B/en
Publication of CN109005569A publication Critical patent/CN109005569A/en
Application granted granted Critical
Publication of CN109005569B publication Critical patent/CN109005569B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/08Access restriction or access information delivery, e.g. discovery data delivery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/16Discovering, processing access restriction or access information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/20Selecting an access point

Abstract

The disclosure relates to a network connection method, a network connection device and routing equipment. The network connection method comprises the following steps: generating a wireless management frame based on the three-layer network state information; and sending the wireless management frame to a terminal of a network to be accessed so that the terminal determines the network to be accessed based on the three-layer network state information. According to the technical scheme, the terminal can select the network to be accessed through the wireless management frame which is sent by the router and carries the state information of the three-layer network, so that the situation that the network to be accessed is selected only according to the state of the two-layer network in the related technology, the network is unavailable and the like can be avoided, the terminal is helped to find the optimal network access point, and accurate and quick network connection is realized.

Description

Network connection method and device and routing equipment
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a network connection method, an apparatus, and a routing device.
Background
With the development of network technology, in some scenarios, multiple SSIDs (Service Set identifiers) may be provided for the terminal to select, and with the popularization of smart home suites, the terminal has various decisions in connecting networks and roaming to select networks so as to obtain the best network Service.
In the related art, the routing device in the wireless access and roaming scheme usually provides only a two-layer link state to the terminal, so that the terminal can determine the network condition and determine whether to access the network. However, the network state is judged only by the two-layer link state, which is not comprehensive and accurate enough, and may easily cause some situations, for example, the two-layer link state is good, but the network port line of the router is disconnected, so that the terminal cannot actually access the network.
Disclosure of Invention
In order to overcome the problems in the related art, embodiments of the present disclosure provide a network connection method, device and routing device, so as to help a terminal find an optimal network access point, thereby implementing accurate and fast network connection.
According to a first aspect of the embodiments of the present disclosure, there is provided a network connection method, including:
generating a wireless management frame based on the three-layer network state information;
and sending the wireless management frame to a terminal of a network to be accessed so that the terminal determines the network to be accessed based on the three-layer network state information.
In an embodiment, the three-layer network state information includes any one or more of:
whether the network is available, the number of devices accessing the network, and average delay information for completing a specified service.
In an embodiment, the three-layer network state information exists in the wireless management frame by using Vendor-defined Vendor IE as a carrier.
In an embodiment, the organization unique identifier of the Vendor IE is identified by 8C: BE: BE, the 8C: BE: the content part of the BE includes a plurality of fields, a field type 1 indicates whether a network is available, a field type 2 indicates the number of devices that have accessed the network, and a field type 3 indicates an average delay time for completing a specified service.
In one embodiment, the organization unique identifier is of type 2 and represents an information element of the service set identifying the link status.
In an embodiment, the method further comprises:
and carrying the two-layer network state information in the wireless management frame so that the terminal determines the network to be accessed based on the two-layer network state information and the three-layer network state information.
In an embodiment, the two-layer network state information includes any one or more of:
network service quality, security information, channel information, bandwidth information, packet loss rate, and delay rate.
According to a second aspect of the embodiments of the present disclosure, there is provided a network connection apparatus including:
a generation module configured to generate a wireless management frame based on three-layer network state information;
and the sending module is configured to send the wireless management frame to a terminal of a network to be accessed so that the terminal determines the network to be accessed based on the three-layer network state information.
In an embodiment, the three-layer network state information based on which the generating module is configured to generate comprises any one or more of:
whether a network is available, the number of access networks, and average delay information to complete a given service.
In an embodiment, the three-layer network state information based on which the generating module is based exists in the wireless management frame with Vendor-defined Vendor IE as a carrier.
In an embodiment, the organization unique identifier of the Vendor IE is identified by 8C: BE: BE, the 8C: BE: the content part of the BE includes a plurality of fields, a field type 1 indicates whether a network is available, a field type 2 indicates the number of devices that have accessed the network, and a field type 3 indicates an average delay time for completing a specified service.
In one embodiment, the organization unique identifier is of type 2 and represents an information element of the service set identifying the link status.
In one embodiment, the apparatus further comprises:
and the carrying module is configured to carry the two-layer network state information in the wireless management frame, so that the terminal determines a network to be accessed based on the two-layer network state information and the three-layer network state information.
In an embodiment, the two-layer network state information carried by the carrying module includes any one or more of the following:
network service quality, security information, channel information, bandwidth information, packet loss rate, and delay rate.
In an embodiment, the two-layer network status information and the three-layer network status information exist in the radio management frame using a Vendor IE as a bearer.
According to a third aspect of the embodiments of the present disclosure, there is provided a routing device, including:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to:
generating a wireless management frame based on the three-layer network state information;
and sending the wireless management frame to a terminal of a network to be accessed so that the terminal determines the network to be accessed based on the three-layer network state information.
According to a fourth aspect of embodiments of the present disclosure, there is provided a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of:
generating a wireless management frame based on the three-layer network state information;
and sending the wireless management frame to a terminal of a network to be accessed so that the terminal determines the network to be accessed based on the three-layer network state information.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
the method and the device can enable the terminal to select the network to be accessed through the wireless management frame which is sent by the router and carries the state information of the three-layer network, thereby avoiding the situation that the network to be accessed is selected only according to the state of the two-layer network in the related technology, the network is possibly unavailable and the like, helping the terminal to find the optimal network access point, and realizing accurate and quick network connection.
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. 1A is a flow chart illustrating a method of network connectivity according to an example embodiment.
Fig. 1B is a diagram illustrating a network connection method according to an example embodiment.
Fig. 2 is a flow chart illustrating another method of network connectivity according to an example embodiment.
Fig. 3 is a flow chart illustrating another method of network connectivity according to an example embodiment.
Fig. 4 is a block diagram illustrating a network connection device in accordance with an example embodiment.
Fig. 5 is a block diagram illustrating another network connection device in accordance with an example embodiment.
Fig. 6 is a block diagram illustrating a suitable network connection device according to an example embodiment.
Fig. 7 is a block diagram illustrating another suitable network connection device according to 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. 1A is a flow diagram illustrating a method of network connectivity in accordance with an exemplary embodiment, and FIG. 1B is a diagram illustrating a scenario of a method of network connectivity in accordance with an exemplary embodiment; the network connection method can be applied to a terminal, and the terminal in the disclosure may be any intelligent terminal having an internet access function, for example, a mobile phone, a tablet computer, a PDA (Personal Digital Assistant), and the like.
The terminal can access the router through the wireless local area network and access the server on the public network through the router. As shown in fig. 1A, the network connection method includes the following steps 101-102:
in step 101, a wireless management frame carrying state information of a three-layer network is received.
In the embodiment of the disclosure, when entering an area with a network, a terminal receives a wireless management frame broadcast by a router, where the wireless management frame carries state information of a three-layer network.
The three-layer network state information comes from the IP application layer, and may at least include: whether a network is available, the number of devices accessing the network, average delay information for completing a specified service, etc. are used for information indicating the state of the three-layer network.
In step 102, a network to be accessed is determined based on three-layer network state information.
In the embodiment of the disclosure, the terminal may determine whether to access the network or select a network to be accessed based on the three-layer network information.
For example, in one embodiment, a terminal may access a network in three-tier network state information when the network is available; when the network in the three-layer network state information is unavailable, the terminal cannot access the network and can select other networks.
In another embodiment, when the number of access networks is more than one, the network to be accessed may be selected based on the number of devices accessing the network, the smaller the number of devices accessing the network, the better the network quality; similarly, the larger the number of devices accessing the network, the worse the network quality.
In another embodiment, when the average delay information for completing the specified service is lower than a set threshold, the corresponding network may be determined as the network to be accessed, and the shorter the average delay, the better the network quality is; similarly, the longer the average delay, the worse the network quality.
In one embodiment, the three-layer network state information may be present in a radio management frame as a bearer in the form of a Vendor-defined IE, in which the Identification (ID) of the Vendor IE may be 221.
In one embodiment, the OUI (organization unique identifier) of the Vendor IE can BE represented by 8C: BE, the OUI type can BE represented by 2, and the OUI type can BE 2 for the IE (Information Element) representing the SSID link status.
In one embodiment, the CONTEXT portion of BE is represented by a plurality of fields, each using TLV (TYPE, LENGTH, VALUE, TYPE, LENGTH, and VALUE) format, one field representing a link state. For TYPE, for example, TYPE ═ 1 indicates whether the device can access internet (i.e., whether a network is available, TYPE ═ 2 indicates the number of devices currently accessing the network in the network, TYPE ═ 3 indicates an average delay time for completing a certain specified service, and the like, where the specified service may be a network game, a network payment transaction, a network short message, and the like. The LENGTH is variable, and represents the LENGTH of VALUE, and can be extended according to actual needs, for example, LENGTH 1 can represent the LENGTH of 1 byte. For VALUE, a specific numerical VALUE is shown.
In an exemplary scenario, as shown in fig. 1B, taking an example that a terminal is in a network with three SSIDs as an example, in the scenario shown in fig. 1B, the method includes: the system comprises a smart phone as a terminal and a routing device. When the smart phone enters a network coverage area with SSID 10, SSID 20 and SSID 30, a wireless management frame broadcasted by the routing equipment is received, the smart phone analyzes the wireless management frame to obtain a network state identifier in the wireless management frame, the network state identifier is used for representing a three-layer network state, and when the network state identifier represents that the three-layer network state of SSID 10 is available, the terminal accesses a network corresponding to the SSID 10.
Please refer to the following embodiments for details of how to perform network connection.
Therefore, the method provided by the embodiment of the present disclosure enables the terminal to select the network to be accessed through the wireless management frame carrying the three-layer network state information sent by the router, thereby avoiding the situation that the network to be accessed is selected only according to the two-layer network state in the related art, which may cause network unavailability, and the like, helping the terminal to find the best network access point, and realizing accurate and fast network connection.
The technical solutions provided by the embodiments of the present disclosure are described below with specific embodiments.
Fig. 2 is a flowchart illustrating another network connection method according to an exemplary embodiment, where this embodiment uses the method provided in the embodiment of the present disclosure to exemplarily explain how to implement network connection, as shown in fig. 2, the method includes the following steps 201 and 202:
in step 201, the wireless management frame is parsed to obtain two-layer network state information.
In the embodiment of the present disclosure, the wireless management frame not only carries the state information of the three-layer network, but also carries the state information of the two-layer network.
The two-layer network state information may include: network Qos (Quality of Service), security information, channel information, bandwidth information, packet loss rate, delay rate, and other information used to represent the status of the two-layer link.
In step 202, a network to be accessed is determined based on the two-layer network state information and the three-layer network state information.
In the embodiment of the disclosure, the terminal selects a network to be accessed by combining the two-layer network state and the three-layer network state.
For example, for a call scenario, where a high latency low bandwidth network state is required, the terminal may select a fully encrypted WPA2(Wi-Fi Protected Access) in combination with the two-tier network state and the three-tier network state.
In one embodiment, the two-layer network status information may also be present in the radio management frame in the form of a Vendor IE. In conjunction with the embodiment shown in fig. 1A, for example, the network QoS is represented by TYPE-4, the security information is represented by TYPE-5, and the like.
In this embodiment, the terminal may carry the three-layer network state information and the two-layer network state information in a wireless management frame and send the wireless management frame to the terminal, so that the terminal selects a network to be accessed based on the two-layer network state information and the three-layer network state information, thereby facilitating selection of an optimal network suitable for a current scenario when the terminal accesses a multi-SSID environment, and improving a success rate of accessing the network.
FIG. 3 is a flow chart illustrating another method of network connectivity in accordance with an exemplary embodiment; the network connection method may be applied to a routing device, and this embodiment is exemplarily described with reference to fig. 1B, as shown in fig. 3, the network connection method may include the following steps 301 and 302:
in step 301, a wireless management frame is generated based on three-layer network state information.
In an embodiment, the routing device may obtain three-layer network state information from the IP application layer, for example, any one or more of whether a network is available, the number of devices accessing the network, and average delay information for completing a specified service, and carry the three-layer network state information in a wireless management frame for broadcasting.
In step 302, a wireless management frame is sent to a terminal of a network to be accessed, so that the terminal determines the network to be accessed based on the three-layer network state information.
In an embodiment, the terminal learns three-layer network status information based on the received wireless management frame, and determines whether to access the network based on the three-layer network status information or selects a network to be accessed based on the three-layer network status information.
For example, in one embodiment, a terminal may access a network in three-tier network state information when the network is available; when the network in the three-layer network state information is unavailable, the terminal cannot access the network and can select other networks.
In another embodiment, when the number of access networks is more than one, the network to be accessed may be selected based on the number of devices accessing the network, the smaller the number of devices accessing the network, the better the network quality; similarly, the larger the number of devices accessing the network, the worse the network quality.
In another embodiment, when the average delay information for completing the specified service is lower than a set threshold, the corresponding network may be determined as the network to be accessed, and the shorter the average delay, the better the network quality is; similarly, the longer the average delay, the worse the network quality.
In one embodiment, the three-layer network state information may be present in a radio management frame as a bearer in the form of a Vendor-defined IE, in which the Identification (ID) of the Vendor IE may be 221.
In one embodiment, the OUI of the Vendor IE may BE represented by 8C: BE, OUI type may BE represented by 2, and OUI type ═ 2 is used for the IE representing SSID link status.
In one embodiment, the CONTEXT portion of BE is represented by a plurality of fields, each using TLV (TYPE, LENGTH, VALUE, TYPE, LENGTH, and VALUE) format, one field representing a link state. For TYPE, for example, TYPE ═ 1 indicates whether the device can access the internet, i.e., whether the network is available, TYPE ═ 2 indicates the number of devices in the network that have currently accessed the network, TYPE ═ 3 indicates an average delay time for completing a certain specified service, and the like, where the specified service may be a network game, a network payment transaction, a network short message, and the like. The LENGTH is variable, and represents the LENGTH of VALUE, and can be extended according to actual needs, for example, LENGTH 1 can represent the LENGTH of 1 byte. For VALUE, a specific numerical VALUE is shown.
In this embodiment, through the steps 301 and 302, the router can send the wireless management frame carrying the information of the three-layer network state to the terminal, so that the terminal can select the network to be accessed according to the three-layer network state, thereby avoiding the situation that the network to be accessed is selected only according to the two-layer network state in the related art, which may cause network unavailability, and helping the terminal to find the best network access point, thereby implementing accurate and fast network connection.
In another embodiment, the routing device may further carry the two-layer network state information and the three-layer network state information in a wireless management frame, and broadcast the wireless management frame to the terminal, so that the terminal determines a network to be accessed based on the two-layer network state information and the three-layer network state information.
Therefore, the routing equipment sends the wireless management frame carrying the two-layer network state information and the three-layer network state information to the terminal, so that the terminal can determine the network to be accessed by combining the two-layer network state and the three-layer network state, and the optimal network most suitable for the current scene can be selected.
Fig. 4 is a block diagram illustrating a network connection device according to an example embodiment, and as shown in fig. 4, the network connection device may include: a generating module 410 and a transmitting module 420.
A generating module 410 configured to generate a wireless management frame based on three-layer network state information;
a sending module 420 configured to send the wireless management frame generated by the generating module 410 to a terminal of a network to be accessed, so that the terminal determines the network to be accessed based on the three-layer network state information.
The three-layer network state information based on which the generating module 410 is configured includes any one or more of the following items: whether the network is available, the number of devices accessing the network, and average delay information for completing a specified service.
The three-layer network state information based on the generating module 410 exists in the wireless management frame by taking Vendor-defined Vendor IE as a carrier.
The organization unique identifier of the Vendor IE is identified by 8C: BE: BE, the 8C: BE: the content part of the BE includes a plurality of fields, a field type 1 indicates whether a network is available, a field type 2 indicates the number of devices that have accessed the network, and a field type 3 indicates an average delay time for completing a specified service.
In one embodiment, the type of the organization unique identifier is 2, which is used to indicate an information element of the service set identifying the link status.
The device provided by the embodiment of the disclosure can enable the terminal to select the network to be accessed through the wireless management frame carrying the three-layer network state information sent by the router, thereby avoiding the situation that the network to be accessed is selected only according to the two-layer network state in the related art, which may cause network unavailability and the like, helping the terminal to find the best network access point, and realizing accurate and fast network connection.
Fig. 5 is a block diagram of another network connection device according to an exemplary embodiment, as shown in fig. 5, based on the embodiment shown in fig. 4, in an embodiment, the device further includes: the module 430 is carried.
A carrying module 430, configured to carry two-layer network state information in the wireless management frame, so that the terminal determines a network to be accessed based on the two-layer network state information and the three-layer network state information.
In an embodiment, the two-layer network state information carried by the carrying module 430 includes any one or more of the following:
network service quality, security information, channel information, bandwidth information, packet loss rate, and delay rate.
And the two-layer network state information and the three-layer network state information exist in the wireless management frame by taking a Vendor IE as a carrier.
With regard to the apparatus in the above 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 described in detail here.
As shown in fig. 6, fig. 6 is a schematic diagram illustrating a structure of a network connection device 600 according to an exemplary embodiment. For example, the apparatus 600 may be provided as a routing device. Referring to fig. 6, the apparatus 600 includes a processing component 622 that further includes one or more processors and memory resources, represented by memory 632, for storing instructions, such as applications, that are executable by the processing component 622. The application programs stored in memory 632 may include one or more modules that each correspond to a set of instructions. Further, the processing component 622 is configured to execute instructions to perform the network connection methods described above.
The processing component 622 is configured to:
generating a wireless management frame based on the three-layer network state information;
and sending the wireless management frame to a terminal of a network to be accessed so that the terminal determines the network to be accessed based on the three-layer network state information.
The apparatus 600 may also include a power component 626 configured to perform power management of the apparatus 600, a wired or wireless network interface 650 configured to connect the apparatus 600 to a network, and an input/output (I/O) interface 658. The apparatus 600 may operate based on an operating system stored in the memory 632, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
Fig. 7 is a block diagram illustrating a suitable network connection device according to an example embodiment. For example, the apparatus 700 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, or the like routing device.
Referring to fig. 7, apparatus 700 may include one or more of the following components: a processing component 702, a memory 704, a power component 706, a multimedia component 708, an audio component 710, an input/output (I/O) interface 712, a sensor component 714, and a communication component 716.
The processing component 702 generally controls overall operation of the device 700, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing element 702 may include one or more processors 720 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 702 may include one or more modules that facilitate interaction between the processing component 702 and other components. For example, the processing component 702 can include a multimedia module to facilitate interaction between the multimedia component 708 and the processing component 702.
The memory 704 is configured to store various types of data to support operation at the device 700. Examples of such data include instructions for any application or method operating on device 700, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 704 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.
The power component 706 provides power to the various components of the device 700. The power components 706 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the apparatus 700.
The multimedia component 708 includes a screen that provides an output interface between the device 700 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 708 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 700 is in an operational 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 710 is configured to output and/or input audio signals. For example, audio component 710 includes a Microphone (MIC) configured to receive external audio signals when apparatus 700 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signal may further be stored in the memory 704 or transmitted via the communication component 716. In some embodiments, audio component 710 also includes a speaker for outputting audio signals.
The I/O interface 712 provides an interface between the processing component 702 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 714 includes one or more sensors for providing status assessment of various aspects of the apparatus 700. For example, the sensor assembly 714 may detect an open/closed state of the device 700, the relative positioning of components, such as a display and keypad of the apparatus 700, the sensor assembly 714 may also detect a change in position of the apparatus 700 or a component of the apparatus 700, the presence or absence of user contact with the apparatus 700, orientation or acceleration/deceleration of the apparatus 700, and a change in temperature of the apparatus 700. The sensor assembly 714 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 714 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 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 716 is configured to facilitate communication between the apparatus 700 and other devices in a wired or wireless manner. The apparatus 700 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 section 716 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 716 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 700 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 704 comprising instructions, executable by the processor 720 of the device 700 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.
Wherein the processor 720 is configured to:
receiving a wireless management frame carrying three-layer network state information;
and determining a network to be accessed based on the three-layer network state information.
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 that have been 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 (6)

1. A method of network connectivity, the method comprising:
generating a wireless management frame based on three-layer network state information acquired from an IP application layer, wherein the three-layer network state information comprises whether a network is available, the number of devices accessed to the network and average delay information for completing specified services;
sending the wireless management frame to a terminal of a network to be accessed so that the terminal determines the network to be accessed based on the three-layer network state information; the three-layer network state information exists in the wireless management frame by taking vendor-defined VendorIE as a carrier;
the organization unique identifier of the Vendor IE is determined by 8C: BE: BE, the 8C: BE: the content part of the BE comprises a plurality of fields, wherein the field type 1 represents whether the network is available or not, the field type 2 represents the number of devices which have access to the network, and the field type 3 represents the average delay time for completing the specified service;
the type of the organization unique identifier is 2, and the organization unique identifier is used for representing an information unit of a service set identification link state;
the method further comprises the following steps:
and carrying the two-layer network state information in the wireless management frame so that the terminal determines the network to be accessed based on the two-layer network state information and the three-layer network state information.
2. The method of claim 1, wherein the two-tier network state information comprises any one or more of:
network service quality, security information, channel information, bandwidth information, packet loss rate, and delay rate.
3. The method of claim 1, wherein the two-layer network state information and the three-layer network state information are present in the radio management frame using VendorIE as a bearer.
4. A network connection apparatus, the apparatus comprising:
the wireless management system comprises a generating module, a sending module and a receiving module, wherein the generating module is configured to generate a wireless management frame based on three-layer network state information acquired from an IP application layer, and the three-layer network state information comprises whether a network is available, the number of devices accessed to the network and average delay information for completing a specified service;
a sending module configured to send the wireless management frame to a terminal of a network to be accessed, so that the terminal determines the network to be accessed based on the three-layer network state information;
the three-layer network state information based on the generation module exists in the wireless management frame by taking Vendor-defined Vendor IE as a carrier;
the organization unique identifier of the Vendor IE is determined by 8C: BE: BE, the 8C: BE: the content part of the BE comprises a plurality of fields, wherein the field type 1 represents whether the network is available or not, the field type 2 represents the number of devices which have access to the network, and the field type 3 represents the average delay time for completing the specified service;
the type of the organization unique identifier is 2, and the organization unique identifier is used for representing an information unit of a service set identification link state;
the device further comprises:
and the carrying module is configured to carry the two-layer network state information in the wireless management frame, so that the terminal determines a network to be accessed based on the two-layer network state information and the three-layer network state information.
5. The apparatus of claim 4, wherein the layer-two network state information carried by the carrying module comprises any one or more of the following:
network service quality, security information, channel information, bandwidth information, packet loss rate, and delay rate.
6. The apparatus of claim 4, wherein the two-layer network state information and the three-layer network state information are present in the radio management frame using VendorIE as a bearer.
CN201810753392.7A 2018-07-10 2018-07-10 Network connection method and device and routing equipment Active CN109005569B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810753392.7A CN109005569B (en) 2018-07-10 2018-07-10 Network connection method and device and routing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810753392.7A CN109005569B (en) 2018-07-10 2018-07-10 Network connection method and device and routing equipment

Publications (2)

Publication Number Publication Date
CN109005569A CN109005569A (en) 2018-12-14
CN109005569B true CN109005569B (en) 2022-05-17

Family

ID=64598849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810753392.7A Active CN109005569B (en) 2018-07-10 2018-07-10 Network connection method and device and routing equipment

Country Status (1)

Country Link
CN (1) CN109005569B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2385727A1 (en) * 2010-05-04 2011-11-09 France Telecom Method for controlling a terminal operable to access a wireless access network
CN105873154A (en) * 2016-03-30 2016-08-17 北京小米移动软件有限公司 Network access method and device
CN107995644A (en) * 2017-11-14 2018-05-04 深圳市信锐网科技术有限公司 Method, interchanger, system and the storage medium that wireless access point is recovered automatically

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE602005009795D1 (en) * 2005-01-28 2008-10-30 Research In Motion Ltd Apparatus and method for facilitating the selection of a power supply by a mobile node to perform a selected communications service
CN101657000B (en) * 2008-08-21 2012-02-01 中国移动通信集团公司 Method and system for determining accessed network
US9788269B2 (en) * 2015-03-20 2017-10-10 Qualcomm Incorporated Selection of an access point in a wireless communications network
CN105323121B (en) * 2015-11-27 2019-08-16 上海斐讯数据通信技术有限公司 A kind of Network status detection method and device
CN107306436A (en) * 2016-04-25 2017-10-31 中兴通讯股份有限公司 The sending method of broadcast frame, access point determine method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2385727A1 (en) * 2010-05-04 2011-11-09 France Telecom Method for controlling a terminal operable to access a wireless access network
CN105873154A (en) * 2016-03-30 2016-08-17 北京小米移动软件有限公司 Network access method and device
CN107995644A (en) * 2017-11-14 2018-05-04 深圳市信锐网科技术有限公司 Method, interchanger, system and the storage medium that wireless access point is recovered automatically

Also Published As

Publication number Publication date
CN109005569A (en) 2018-12-14

Similar Documents

Publication Publication Date Title
CN109565451B (en) Method and device for using network slice
CN108476421B (en) Transmission configuration method and device
CN106454998B (en) Wireless local area network access method, device and terminal
CN109644457B (en) Resource allocation method and device
WO2021022474A1 (en) Mdt information sending method and apparatus, and mdt information receiving method and apparatus
KR102436552B1 (en) Cell type indication method, apparatus and computer readable storage medium
CN111031002A (en) Broadcast discovery method, broadcast discovery apparatus, and storage medium
CN110945883A (en) Paging signaling receiving method and device and paging signaling sending method and device
CN110268746B (en) Cell switching method and device, switching configuration method and device and user equipment
WO2019119421A1 (en) Cell access method and device, and storage medium
US11252623B2 (en) Network switching method, device and storage medium
US20230180101A1 (en) Communication control method and communication control apparatus
CN108028810B (en) Method and device for establishing service connection
CN108521882B (en) Network access method and device
CN106792570B (en) Positioning method and device
CN114430370B (en) Method, device, equipment and storage medium for determining network slice
CN110945926B (en) Connection establishing method and device, base station, user equipment and core network equipment
CN109005569B (en) Network connection method and device and routing equipment
CN110337823B (en) Information configuration method and device, service processing method and device and base station
US20220225473A1 (en) Network switching resource determining method and network switching resource configuration method
CN109565710B (en) Method, device and system for transmitting data
CN111800836A (en) Communication method, communication device, electronic equipment and storage medium
CN111836356A (en) Method, device, storage medium and mobile terminal for requesting data
US20220104003A1 (en) Random access method and apparatus, and computer readable storage medium
WO2022133950A1 (en) Information indication method and apparatus, and information determination method and apparatus

Legal Events

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