CN111065090A - Method for establishing network connection and wireless routing equipment - Google Patents

Method for establishing network connection and wireless routing equipment Download PDF

Info

Publication number
CN111065090A
CN111065090A CN201911356825.6A CN201911356825A CN111065090A CN 111065090 A CN111065090 A CN 111065090A CN 201911356825 A CN201911356825 A CN 201911356825A CN 111065090 A CN111065090 A CN 111065090A
Authority
CN
China
Prior art keywords
wireless routing
equipment
network connection
terminal equipment
wireless
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201911356825.6A
Other languages
Chinese (zh)
Inventor
邹兴林
鲁成军
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
TP Link Technologies Co Ltd
Original Assignee
TP Link Technologies 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 TP Link Technologies Co Ltd filed Critical TP Link Technologies Co Ltd
Priority to CN201911356825.6A priority Critical patent/CN111065090A/en
Publication of CN111065090A publication Critical patent/CN111065090A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/40Security arrangements using identity modules
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/06Authentication
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers

Landscapes

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

Abstract

The application is applicable to the technical field of communication, and provides a method for establishing network connection, which comprises the following steps: acquiring a management frame which carries a manufacturer information element and is broadcast by terminal equipment; the manufacturer information element is used for identifying the identity of the terminal equipment; verifying the manufacturer information element to obtain a verification result; and when the verification result marks that the terminal equipment is matched with the wireless routing equipment, establishing network connection with the terminal equipment. According to the method, the verification of the manufacturer information elements is added before the network connection is established, when the verification is passed, the network connection is directly established, the pairing is directly promoted without manual operation of a user, and the efficiency of establishing the network connection is improved.

Description

Method for establishing network connection and wireless routing equipment
Technical Field
The present application belongs to the field of communications technologies, and in particular, to a method for establishing a network connection and a wireless routing device.
Background
In the related art, the methods for establishing network connection between the terminal device and the wireless routing device mainly include the following steps: inputting a wireless name and a password of the wireless routing equipment needing to be connected through an interactive page of the terminal equipment; respectively pressing WPS keys of the terminal equipment and the wireless routing equipment in a Wi-Fi Protected Setup (WPS) mode to quickly establish connection; inputting a specific pin code through an interactive page of the terminal, and then pressing a WPS key of the wireless routing equipment to quickly establish connection; and setting the access time of the visitor network or the host network through the Web page.
However, the above schemes all require the user to manually operate, and the pairing can be promoted only by manually inputting a key by the user or manually entering a related interaction page to perform related operations, so that the efficiency of establishing the network connection is low.
Disclosure of Invention
The embodiment of the application provides a method for establishing network connection and wireless routing equipment, and can solve the problems that the existing network connection method can promote pairing only by manual operation of a user, and the efficiency of establishing network connection is low.
In a first aspect, an embodiment of the present application provides a method for establishing a network connection, which is applied to a wireless routing device, and includes:
acquiring a management frame which carries a manufacturer information element and is broadcast by terminal equipment; the manufacturer information element is used for identifying the identity of the terminal equipment;
verifying the manufacturer information element to obtain a verification result;
and when the verification result marks that the terminal equipment is matched with the wireless routing equipment, establishing network connection with the terminal equipment.
Further, the vendor information element comprises a vendor identity, a protocol number and a protocol version;
the verifying the vendor information element to obtain a verification result comprises:
analyzing the manufacturer information element to obtain the manufacturer identity, the protocol number and the protocol version;
and verifying the manufacturer identity identification, the protocol number and the protocol version based on preset manufacturer information to obtain a verification result.
Further, when the verification result identifies that the terminal device matches the wireless routing device, establishing a network connection with the terminal device includes:
when the verification result identifies that the terminal equipment is matched with the wireless routing equipment, prompting a user to trigger and generate a network connection instruction;
when the network connection instruction is detected, changing the access authority information of the wireless routing equipment into accessible information;
sending the wireless network name and the password corresponding to the wireless routing equipment to the terminal equipment; the wireless network name and the password are used for the terminal equipment to connect to the wireless network.
And establishing network connection with the terminal equipment.
In a second aspect, an embodiment of the present application provides a method for establishing a network connection, which is applied to a terminal device, and includes:
when the wireless network is not connected within the preset time, acquiring a manufacturer identity, a protocol number and a protocol version;
generating a manufacturer information element based on the manufacturer identity identification, the protocol number and the protocol version, and sending a management frame carrying the manufacturer information element to the wireless routing equipment; the manufacturer information element is used for triggering the wireless routing equipment to return a verification result; the verification result is used for determining whether the terminal equipment is matched with the wireless routing equipment;
and when receiving the verification result returned by the wireless routing equipment and identifying that the terminal equipment is matched with the wireless routing equipment, establishing network connection with the wireless routing equipment.
Further, before the step of obtaining the vendor identity, the protocol number and the protocol version when the wireless network is not connected within the preset time period, the method further includes:
and when the history connection wireless network is detected, establishing network connection with the history connection wireless network.
In a third aspect, an embodiment of the present application provides a wireless routing device, including:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a management frame which carries a manufacturer information element and is broadcasted by terminal equipment; the manufacturer information element is used for identifying the identity of the terminal equipment;
the verification unit is used for verifying the manufacturer information element to obtain a verification result;
and the connection unit is used for establishing network connection with the terminal equipment when the verification result identifies that the terminal equipment is matched with the wireless routing equipment.
Further, the vendor information element comprises a vendor identity, a protocol number and a protocol version;
the verification unit is specifically configured to:
analyzing the manufacturer information element to obtain the manufacturer identity, the protocol number and the protocol version;
and verifying the manufacturer identity identification, the protocol number and the protocol version based on preset manufacturer information to obtain a verification result.
Further, the connection unit is specifically configured to:
when the verification result identifies that the terminal equipment is matched with the wireless routing equipment, prompting a user to trigger and generate a network connection instruction;
when the network connection instruction is detected, changing the access authority information of the wireless routing equipment into accessible information;
sending the wireless network name and the password corresponding to the wireless routing equipment to the terminal equipment; the wireless network name and the password are used for the terminal equipment to connect to the wireless network.
And establishing network connection with the terminal equipment.
In a fourth aspect, an embodiment of the present application provides a terminal device, including:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a manufacturer identity, a protocol number and a protocol version when the device is not connected to a wireless network within a preset time length;
the processing unit is used for generating a manufacturer information element based on the manufacturer identity identifier, the protocol number and the protocol version and sending a management frame carrying the manufacturer information element to the wireless routing equipment; the manufacturer information element is used for triggering the wireless routing equipment to return a verification result; the verification result is used for determining whether the terminal equipment is matched with the wireless routing equipment;
and the connection unit is used for establishing network connection with the wireless routing equipment when the verification result returned by the wireless routing equipment is received and identifies that the terminal equipment is matched with the wireless routing equipment.
Further, the terminal device further includes:
and the processing unit is used for establishing network connection with the historical connection wireless network when the historical connection wireless network is detected.
In a fifth aspect, an embodiment of the present application provides a wireless routing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method for establishing a network connection according to the first aspect.
In a sixth aspect, an embodiment of the present application provides a wireless routing device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where the processor executes the computer program to implement the method for establishing a network connection according to the second aspect.
In a seventh aspect, this application embodiment provides a computer-readable storage medium, where a computer program is stored, and when executed by a processor, the computer program implements the method for establishing a network connection according to the first aspect.
In an eighth aspect, the present application provides a computer-readable storage medium, which stores a computer program, and when the computer program is executed by a processor, the computer program implements the method for establishing a network connection according to the second aspect.
In the embodiment of the application, a management frame which carries a manufacturer information element and is broadcast by terminal equipment is obtained; the manufacturer information element is used for identifying the identity of the terminal equipment; verifying the manufacturer information element to obtain a verification result; and when the verification result marks that the terminal equipment is matched with the wireless routing equipment, establishing network connection with the terminal equipment. According to the method, the verification of the manufacturer information elements is added before the network connection is established, when the verification is passed, the network connection is directly established, the pairing is directly promoted without manual operation of a user, and the efficiency of establishing the network connection is improved.
On the other hand, when the wireless network is not connected within the preset time, acquiring a manufacturer identity, a protocol number and a protocol version; generating a manufacturer information element based on the manufacturer identity identification, the protocol number and the protocol version, and sending a management frame carrying the manufacturer information element to the wireless routing equipment; and when receiving the verification result returned by the wireless routing equipment and identifying that the terminal equipment is matched with the wireless routing equipment, establishing network connection with the wireless routing equipment. According to the method, the manufacturer information elements are sent to the wireless routing equipment for verification before the network connection is established, when the wireless routing equipment passes the verification, the network connection is established, the pairing is directly promoted without manual operation of a user, and the efficiency of establishing the network connection is improved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic flow chart of a method for establishing a network connection according to a first embodiment of the present application;
FIG. 2 is a schematic diagram of system interaction provided by an embodiment of the present application;
fig. 3 is a schematic flowchart of a refinement of S102 in a method for establishing a network connection according to a first embodiment of the present application;
fig. 4 is a schematic flowchart of a refinement of S103 in a method for establishing a network connection according to a first embodiment of the present application;
fig. 5 is a schematic flow chart of a method for establishing a network connection according to a second embodiment of the present application;
fig. 6 is a schematic diagram of a wireless routing device provided in a third embodiment of the present application;
fig. 7 is a schematic diagram of a terminal device provided in a fourth embodiment of the present application;
fig. 8 is a schematic diagram of a wireless routing device provided in a fifth embodiment of the present application;
fig. 9 is a schematic diagram of a terminal device according to a sixth embodiment of the present application.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
It should also be understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
As used in this specification and the appended claims, the term "if" may be interpreted contextually as "when", "upon" or "in response to" determining "or" in response to detecting ". Similarly, the phrase "if it is determined" or "if a [ described condition or event ] is detected" may be interpreted contextually to mean "upon determining" or "in response to determining" or "upon detecting [ described condition or event ]" or "in response to detecting [ described condition or event ]".
Furthermore, in the description of the present application and the appended claims, the terms "first," "second," "third," and the like are used for distinguishing between descriptions and not necessarily for describing or implying relative importance.
Reference throughout this specification to "one embodiment" or "some embodiments," or the like, means that a particular feature, structure, or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," or the like, in various places throughout this specification are not necessarily all referring to the same embodiment, but rather "one or more but not all embodiments" unless specifically stated otherwise. The terms "comprising," "including," "having," and variations thereof mean "including, but not limited to," unless expressly specified otherwise.
Referring to fig. 1, fig. 1 is a schematic flow chart of a method for establishing a network connection according to a first embodiment of the present application. The main execution body of the method for establishing network connection in this embodiment is a wireless routing device. The method for establishing network connection as shown in fig. 1 may include:
s101: acquiring a management frame which carries a manufacturer information element and is broadcast by terminal equipment; the vendor information element is used for identifying the identity of the terminal equipment.
As shown in fig. 2, in this embodiment, a wireless routing device interacts with a terminal device, when the terminal device joins a wireless network corresponding to the wireless routing device, information for identifying an identity, that is, a manufacturer information element, needs to be generated first, and the manufacturer information element is sent to the wireless routing device for verification, the wireless routing device verifies the manufacturer information element to obtain a verification result, when the verification result identifies that the wireless routing device matches the terminal device, the identity of the terminal device is confirmed, and the wireless routing device establishes network connection with the terminal device.
When the wireless routing equipment is started, the wireless routing equipment can carry out wireless transmission, the wireless routing equipment can receive data sent by other equipment in a wireless range, and the wireless routing equipment acquires a management frame which is broadcasted by the terminal equipment and carries a manufacturer information element, wherein the manufacturer information element is used for identifying the identity of the terminal equipment.
The management frame is one of ethernet frames, which is a basic form of transmission information in ethernet, and is a basic unit of ethernet communication signals, and the ethernet frames are generally divided into two types, namely, data frames and management frames. The wireless network device receives a management frame sent by the terminal device, wherein the management frame carries a manufacturer information element. The Vendor information Element (Vendor IE) is in the 802.11 protocol, and is used for carrying Vendor private information in the wireless management frame.
S102: and verifying the manufacturer information element to obtain a verification result.
And the wireless routing equipment verifies the manufacturer information element to obtain a verification result. The wireless routing equipment prestores verification information used for verifying manufacturer information elements, when the manufacturer information elements are consistent with the verification information, a verification result is obtained and is verified to be passed, and the terminal equipment is identified to be matched with the wireless routing equipment, namely the wireless routing equipment confirms the identity of the terminal equipment; and when the manufacturer information element is inconsistent with the verification information, obtaining a verification result as that the verification fails, and identifying that the terminal equipment is not matched with the wireless routing equipment, namely the wireless routing equipment cannot confirm the identity of the terminal equipment.
Further, the vendor information element includes a vendor identity, a protocol number and a protocol version, and in order to accurately obtain the verification result, S102 may include S1021 to S1022, as shown in fig. 3, where S1021 to S1022 are specifically as follows:
s1021: and analyzing the manufacturer information element to obtain the manufacturer identity, the protocol number and the protocol version.
In this embodiment, the vendor information element includes a vendor identity, a protocol number, and a protocol version. The manufacturer identity may be an Organization Unique Identifier (OUI), and in a 6-byte MAC address burned in any network card (NIC), the first 3 bytes are the OUI, the OUI indicates the manufacturer identity, and the OUI identifier is unique. The protocol number and protocol version are the number and version of the protocol used.
The wireless routing equipment analyzes the manufacturer information element to obtain the manufacturer identity identifier, the protocol number and the protocol version.
Further, the vendor information element may further include a type Tag of data declaring the local network rate related information, a Length of the data, a structure (TLV) composed of a Value of the data, a TLV declaring the local channel state, and a TLV declaring the local Mesh network ID.
S1022: and verifying the manufacturer identity identification, the protocol number and the protocol version based on preset manufacturer information to obtain a verification result.
The wireless routing equipment prestores preset manufacturer information which is used for verifying manufacturer identity identification, protocol number and protocol version. The preset manufacturer information can comprise a preset manufacturer identity, a preset protocol number and a preset protocol version, the wireless routing equipment verifies the manufacturer identity, the protocol number and the protocol version based on the preset manufacturer information, when the manufacturer identity is consistent with the preset manufacturer identity, the protocol number is consistent with the preset protocol number, and the protocol version is consistent with the preset protocol version, the wireless routing equipment and the terminal equipment can be mutually matched to work, a verification result is obtained, and the terminal equipment is matched with the wireless routing equipment.
S103: and when the verification result marks that the terminal equipment is matched with the wireless routing equipment, establishing network connection with the terminal equipment.
And when the verification result identifies that the terminal equipment is matched with the wireless routing equipment, determining that the terminal equipment and the wireless terminal route can be matched with each other, and establishing network connection between the wireless routing equipment and the terminal equipment.
The wireless routing equipment establishes network connection with the terminal equipment, namely the wireless routing equipment sends a user name and a password of a wireless network corresponding to the wireless routing equipment to the terminal equipment, and the terminal equipment joins the wireless network corresponding to the wireless routing equipment according to the received user name and password.
Further, in order to improve the quality of establishing the network connection, S103 may include S1031 to S1033, as shown in fig. 4, S1031 to S1033 are specifically as follows:
s1031: and when the verification result marks that the terminal equipment is matched with the wireless routing equipment, prompting a user to trigger and generate a network connection instruction.
In this embodiment, when it is determined that the terminal device matches the wireless routing device, network connection needs to be triggered through a network connection instruction, and the network connection instruction may be triggered and generated by a user, for example, the user may trigger and generate the network connection instruction by clicking a connection button on the wireless routing device.
And when the wireless routing equipment acquires that the verification result identification terminal equipment is matched with the wireless routing equipment, the wireless routing equipment prompts a user to trigger generation of a network connection instruction. The prompt user can trigger the generation of the network connection instruction through a corresponding indicator light on the wireless routing device, and when the corresponding indicator light flickers, the prompt user is prompted to trigger the generation of the network connection instruction.
S1032: and when the network connection instruction is detected, changing the access authority information of the wireless routing equipment into accessible.
In this embodiment, the wireless routing device prompts a user to trigger generation of a network connection establishment instruction, and the user generates the network connection establishment instruction according to the prompt. When the wireless routing equipment detects the network connection instruction, the access authority information of the wireless routing equipment is changed to be accessible, namely, the wireless routing equipment enters a pairing state.
S1033: sending the wireless network name and the password corresponding to the wireless routing equipment to the terminal equipment; the wireless network name and the password are used for the terminal equipment to connect to the wireless network.
The wireless routing equipment can automatically configure the wireless network name and the password required by the terminal equipment to connect the wireless network through Wi-Fi Protected Setup (WPS). WPS is an authentication project implemented by the Wi-Fi alliance and is mainly used for simplifying the security connection mode of WiFi. For a common user, the safe connection can be realized without knowing the name and the password of the wireless network; and the user's security key cannot be broken by outsiders because it is randomly generated; most importantly, the user does not need to memorize a lengthy wireless encryption password, and the trouble of forgetting the password is avoided. The equipment sends the configured wireless network name and the configured password to the terminal equipment, and the wireless network name and the configured password are used for connecting the terminal equipment to the wireless network.
In the embodiment of the application, a management frame which carries a manufacturer information element and is broadcast by terminal equipment is obtained; the manufacturer information element is used for identifying the identity of the terminal equipment; verifying the manufacturer information element to obtain a verification result; and when the verification result marks that the terminal equipment is matched with the wireless routing equipment, establishing network connection with the terminal equipment. According to the method, the verification of the manufacturer information elements is added before the network connection is established, when the verification is passed, the network connection is directly established, the pairing is directly promoted without manual operation of a user, and the efficiency of establishing the network connection is improved.
Referring to fig. 5, fig. 5 is a schematic flow chart of a method for establishing a network connection according to a second embodiment of the present application. The main execution body of the method for establishing network connection in this embodiment is a terminal device. The method of establishing a network connection as shown in fig. 5 may include:
s201: and when the wireless network is not connected within the preset time, acquiring the manufacturer identity, the protocol number and the protocol version.
In this embodiment, the execution subject is a terminal device to be connected to the wireless network, a preset time duration is pre-stored in the terminal device, and when the terminal device is not connected to the wireless network within the preset time duration, the terminal device obtains a manufacturer identity, a protocol number and a protocol version. The details of the vendor id, the protocol number and the protocol version may be referred to in the related description of the first embodiment.
Further, in order to improve the efficiency of network connection, before S201, the method may further include: and when the history connection wireless network is detected, establishing network connection with the history connection wireless network. When the terminal device is successfully connected to the wireless network once, the successfully connected wireless network is marked as a history connection wireless network, and when the terminal device detects the history connection wireless network, network connection can be established with the history connection wireless network so as to quickly join the wireless network.
S202: generating a manufacturer information element based on the manufacturer identity identification, the protocol number and the protocol version, and sending a management frame carrying the manufacturer information element to the wireless routing equipment; the manufacturer information element is used for triggering the wireless routing equipment to return a verification result; and the verification result is used for determining whether the terminal equipment is matched with the wireless routing equipment.
The terminal equipment generates a manufacturer information element based on the manufacturer identity identification, the protocol number and the protocol version, wherein the manufacturer information element comprises the manufacturer identity identification, the protocol number and the protocol version, the manufacturer information element is used for triggering the wireless routing equipment to return a verification result, and the verification result is used for determining whether the terminal equipment is matched with the wireless routing equipment. And the terminal equipment sends the management frame carrying the manufacturer information element to the wireless routing equipment.
S203: and when receiving the verification result returned by the wireless routing equipment and identifying that the terminal equipment is matched with the wireless routing equipment, establishing network connection with the wireless routing equipment.
And the terminal equipment receives the verification result returned by the wireless routing equipment, and when the verification result identifies that the terminal equipment is matched with the wireless routing equipment, the terminal equipment can establish network connection with the wireless routing equipment through verification. When the terminal device determines that the network connection with the wireless routing device can be established, the terminal device can enter a pairing mode, receive the wireless network name and the password sent by the wireless routing device, and establish the network connection with the wireless routing device based on the received wireless network name and the password.
In the embodiment, when the wireless network is not connected within the preset time, the manufacturer identity, the protocol number and the protocol version are obtained; generating a manufacturer information element based on the manufacturer identity identification, the protocol number and the protocol version, and sending a management frame carrying the manufacturer information element to the wireless routing equipment; and when receiving the verification result returned by the wireless routing equipment and identifying that the terminal equipment is matched with the wireless routing equipment, establishing network connection with the wireless routing equipment. According to the method, the manufacturer information elements are sent to the wireless routing equipment for verification before the network connection is established, when the wireless routing equipment passes the verification, the network connection is established, the pairing is directly promoted without manual operation of a user, and the efficiency of establishing the network connection is improved.
It should be understood that, the sequence numbers of the steps in the foregoing embodiments do not imply an execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.
Referring to fig. 6, fig. 6 is a schematic diagram of a wireless routing device according to a third embodiment of the present application. The units are included for executing the steps in the embodiments corresponding to fig. 1, 3-4. Please refer to fig. 1, 3-4 for the corresponding embodiments. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 6, the wireless routing device 6 includes:
an obtaining unit 610, configured to obtain a management frame carrying a vendor information element broadcast by a terminal device; the manufacturer information element is used for identifying the identity of the terminal equipment;
a verification unit 620, configured to verify the vendor information element to obtain a verification result;
a connection unit 630, configured to establish a network connection with the terminal device when the verification result identifies that the terminal device matches the wireless routing device.
Further, the vendor information element comprises a vendor identity, a protocol number and a protocol version;
the verification unit 620 is specifically configured to:
analyzing the manufacturer information element to obtain the manufacturer identity, the protocol number and the protocol version;
and verifying the manufacturer identity identification, the protocol number and the protocol version based on preset manufacturer information to obtain a verification result.
Further, the connection unit 630 is specifically configured to:
when the verification result identifies that the terminal equipment is matched with the wireless routing equipment, prompting a user to trigger and generate a network connection instruction;
when the network connection instruction is detected, changing the access authority information of the wireless routing equipment into accessible information;
sending the wireless network name and the password corresponding to the wireless routing equipment to the terminal equipment; the wireless network name and the password are used for the terminal equipment to connect to the wireless network.
And establishing network connection with the terminal equipment.
Referring to fig. 7, fig. 7 is a schematic diagram of a terminal device according to a fourth embodiment of the present application. The units are included for performing the steps in the corresponding embodiment of fig. 5. Please refer to fig. 5 for a corresponding embodiment. For convenience of explanation, only the portions related to the present embodiment are shown. Referring to fig. 7, the terminal device 7 includes:
an obtaining unit 710, configured to obtain a manufacturer identity, a protocol number, and a protocol version when the wireless network is not connected to the wireless network within a preset duration;
the processing unit 720 is configured to generate a vendor information element based on the vendor identity, the protocol number, and the protocol version, and send a management frame carrying the vendor information element to the wireless routing device; the manufacturer information element is used for triggering the wireless routing equipment to return a verification result; the verification result is used for determining whether the terminal equipment is matched with the wireless routing equipment;
a connection unit 730, configured to establish a network connection with the wireless routing device when receiving that the verification result returned by the wireless routing device identifies that the terminal device matches the wireless routing device.
Further, the terminal device 7 further includes:
and the processing unit is used for establishing network connection with the historical connection wireless network when the historical connection wireless network is detected.
Fig. 8 is a schematic diagram of a wireless routing device according to a fifth embodiment of the present application. As shown in fig. 8, the wireless routing device 8 of this embodiment includes: a processor 80, a memory 81 and a computer program 82 stored in said memory 81 and operable on said processor 80, for example a program for establishing a network connection. The processor 80, when executing the computer program 82, implements the steps in the various method embodiments described above for establishing a network connection, such as the steps 101 to 103 shown in fig. 1. Alternatively, the processor 80, when executing the computer program 82, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 610 to 630 shown in fig. 6.
Illustratively, the computer program 82 may be partitioned into one or more modules/units that are stored in the memory 81 and executed by the processor 80 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing certain functions, which are used to describe the execution of the computer program 82 in the wireless routing device 8. For example, the computer program 82 may be divided into an acquisition unit, an authentication unit, and a connection unit, and each unit specifically functions as follows:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a management frame which carries a manufacturer information element and is broadcasted by terminal equipment; the manufacturer information element is used for identifying the identity of the terminal equipment;
the verification unit is used for verifying the manufacturer information element to obtain a verification result;
and the connection unit is used for establishing network connection with the terminal equipment when the verification result identifies that the terminal equipment is matched with the wireless routing equipment.
The wireless routing device may include, but is not limited to, a processor 80, a memory 81. Those skilled in the art will appreciate that fig. 8 is merely an example of a wireless routing device 8 and does not constitute a limitation of the wireless routing device 8 and may include more or fewer components than shown, or some components in combination, or different components, e.g., the wireless routing device may also include input output devices, network access devices, buses, etc.
The Processor 80 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic device, discrete hardware component, or the like. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 81 may be an internal storage unit of the wireless routing device 8, such as a hard disk or a memory of the wireless routing device 8. The memory 81 may also be an external storage device of the wireless routing device 8, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the wireless routing device 8. Further, the wireless routing device 8 may also include both an internal storage unit and an external storage device of the wireless routing device 8. The memory 81 is used to store the computer program and other programs and data required by the wireless routing device. The memory 81 may also be used to temporarily store data that has been output or is to be output.
Fig. 9 is a schematic diagram of a terminal device according to a sixth embodiment of the present application. As shown in fig. 9, the terminal device 9 of this embodiment includes: a processor 90, a memory 91 and a computer program 92 stored in said memory 91 and executable on said processor 90, such as a program establishing a network connection. The processor 90, when executing the computer program 92, implements the steps in the above-described embodiments of the method for establishing a network connection, such as the steps 201 to 203 shown in fig. 5. Alternatively, the processor 90, when executing the computer program 92, implements the functions of the modules/units in the above-mentioned device embodiments, such as the functions of the modules 710 to 730 shown in fig. 7.
Illustratively, the computer program 92 may be partitioned into one or more modules/units that are stored in the memory 91 and executed by the processor 90 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 92 in the terminal device 9. For example, the computer program 92 may be divided into an acquisition unit, a processing unit, and a connection unit, and each unit specifically functions as follows:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a manufacturer identity, a protocol number and a protocol version when the device is not connected to a wireless network within a preset time length;
the processing unit is used for generating a manufacturer information element based on the manufacturer identity identifier, the protocol number and the protocol version and sending a management frame carrying the manufacturer information element to the wireless routing equipment; the manufacturer information element is used for triggering the wireless routing equipment to return a verification result; the verification result is used for determining whether the terminal equipment is matched with the wireless routing equipment;
and the connection unit is used for establishing network connection with the wireless routing equipment when the verification result returned by the wireless routing equipment is received and identifies that the terminal equipment is matched with the wireless routing equipment.
The terminal device may include, but is not limited to, a processor 90, a memory 91. Those skilled in the art will appreciate that fig. 9 is only an example of a terminal device 9, and does not constitute a limitation to the terminal device 9, and may include more or less components than those shown, or combine some components, or different components, for example, the terminal device may also include an input-output device, a network access device, a bus, etc.
The Processor 90 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The memory 91 may be an internal storage unit of the terminal device 9, such as a hard disk or a memory of the terminal device 9. The memory 91 may also be an external storage device of the terminal device 9, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, which are provided on the terminal device 9. Further, the terminal device 9 may also include both an internal storage unit and an external storage device of the terminal device 9. The memory 91 is used for storing the computer program and other programs and data required by the wireless routing device. The memory 91 may also be used to temporarily store data that has been output or is to be output.
It should be noted that, for the information interaction, execution process, and other contents between the above-mentioned devices/units, the specific functions and technical effects thereof are based on the same concept as those of the embodiment of the method of the present application, and specific reference may be made to the part of the embodiment of the method, which is not described herein again.
It will be apparent to those skilled in the art that, for convenience and brevity of description, only the above-mentioned division of the functional units and modules is illustrated, and in practical applications, the above-mentioned function distribution may be performed by different functional units and modules according to needs, that is, the internal structure of the apparatus is divided into different functional units or modules to perform all or part of the above-mentioned functions. Each functional unit and module in the embodiments may be integrated in one processing unit, or each unit may exist alone physically, or two or more units are integrated in one unit, and the integrated unit may be implemented in a form of hardware, or in a form of software functional unit. In addition, specific names of the functional units and modules are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present application. The specific working processes of the units and modules in the system may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
An embodiment of the present application further provides a network device, where the network device includes: at least one processor, a memory, and a computer program stored in the memory and executable on the at least one processor, the processor implementing the steps of any of the various method embodiments described above when executing the computer program.
The embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the computer program implements the steps in the above-mentioned method embodiments.
The embodiments of the present application provide a computer program product, which when running on a mobile terminal, enables the mobile terminal to implement the steps in the above method embodiments when executed.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the methods of the embodiments described above can be implemented by a computer program, which can be stored in a computer-readable storage medium and can implement the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer readable medium may include at least: any entity or device capable of carrying computer program code to a photographing apparatus/terminal apparatus, a recording medium, computer Memory, Read-Only Memory (ROM), random-access Memory (RAM), an electrical carrier signal, a telecommunications signal, and a software distribution medium. Such as a usb-disk, a removable hard disk, a magnetic or optical disk, etc. In certain jurisdictions, computer-readable media may not be an electrical carrier signal or a telecommunications signal in accordance with legislative and patent practice.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus/network device and method may be implemented in other ways. For example, the above-described apparatus/network device embodiments are merely illustrative, and for example, the division of the modules or units is only one logical division, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.

Claims (10)

1. A method for establishing network connection, applied to a wireless routing device, is characterized in that the method comprises:
acquiring a management frame which carries a manufacturer information element and is broadcast by terminal equipment; the manufacturer information element is used for identifying the identity of the terminal equipment;
verifying the manufacturer information element to obtain a verification result;
and when the verification result marks that the terminal equipment is matched with the wireless routing equipment, establishing network connection with the terminal equipment.
2. The method of establishing a network connection of claim 1, wherein the vendor information elements include a vendor identity, a protocol number, and a protocol version;
the verifying the vendor information element to obtain a verification result comprises:
analyzing the manufacturer information element to obtain the manufacturer identity, the protocol number and the protocol version;
and verifying the manufacturer identity identification, the protocol number and the protocol version based on preset manufacturer information to obtain a verification result.
3. The method for establishing a network connection according to claim 1, wherein the establishing a network connection with the terminal device when the verification result identifies that the terminal device matches the wireless routing device comprises:
when the verification result identifies that the terminal equipment is matched with the wireless routing equipment, prompting a user to trigger and generate a network connection instruction;
when the network connection instruction is detected, changing the access authority information of the wireless routing equipment into accessible information;
sending the wireless network name and the password corresponding to the wireless routing equipment to the terminal equipment; the wireless network name and the password are used for the terminal equipment to connect to the wireless network.
And establishing network connection with the terminal equipment.
4. A method for establishing network connection is applied to terminal equipment, and is characterized in that the method comprises the following steps:
when the wireless network is not connected within the preset time, acquiring a manufacturer identity, a protocol number and a protocol version;
generating a manufacturer information element based on the manufacturer identity identification, the protocol number and the protocol version, and sending a management frame carrying the manufacturer information element to the wireless routing equipment; the manufacturer information element is used for triggering the wireless routing equipment to return a verification result; the verification result is used for determining whether the terminal equipment is matched with the wireless routing equipment;
and when receiving the verification result returned by the wireless routing equipment and identifying that the terminal equipment is matched with the wireless routing equipment, establishing network connection with the wireless routing equipment.
5. The method for establishing network connection according to claim 4, wherein before acquiring the vendor identity, the protocol number and the protocol version when not connected to the wireless network within the preset time period, the method further comprises:
and when the history connection wireless network is detected, establishing network connection with the history connection wireless network.
6. A wireless routing device, comprising:
the system comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a management frame which carries a manufacturer information element and is broadcasted by terminal equipment; the manufacturer information element is used for identifying the identity of the terminal equipment;
the verification unit is used for verifying the manufacturer information to obtain a verification result;
and the connection unit is used for establishing network connection with the terminal equipment when the verification result identifies that the terminal equipment is matched with the wireless routing equipment.
7. A terminal device, comprising:
the device comprises an acquisition unit, a processing unit and a processing unit, wherein the acquisition unit is used for acquiring a manufacturer identity, a protocol number and a protocol version when the device is not connected to a wireless network within a preset time length;
the processing unit is used for generating manufacturer information based on the manufacturer identity identification, the protocol number and the protocol version and sending a management frame carrying manufacturer information elements to the wireless routing equipment; the manufacturer information is used for triggering the wireless routing equipment to return a verification result; the verification result is used for determining whether the terminal equipment is matched with the wireless routing equipment;
and the connection unit is used for establishing network connection with the wireless routing equipment when the verification result returned by the wireless routing equipment is received and identifies that the terminal equipment is matched with the wireless routing equipment.
8. A wireless routing device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 1 to 3 when executing the computer program.
9. A terminal device comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method according to any of claims 4 to 5 when executing the computer program.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1 to 3, or 4 to 5.
CN201911356825.6A 2019-12-25 2019-12-25 Method for establishing network connection and wireless routing equipment Pending CN111065090A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911356825.6A CN111065090A (en) 2019-12-25 2019-12-25 Method for establishing network connection and wireless routing equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911356825.6A CN111065090A (en) 2019-12-25 2019-12-25 Method for establishing network connection and wireless routing equipment

Publications (1)

Publication Number Publication Date
CN111065090A true CN111065090A (en) 2020-04-24

Family

ID=70303432

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911356825.6A Pending CN111065090A (en) 2019-12-25 2019-12-25 Method for establishing network connection and wireless routing equipment

Country Status (1)

Country Link
CN (1) CN111065090A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738059A (en) * 2020-12-23 2021-04-30 迈普通信技术股份有限公司 Terminal access validity verification method and device, electronic equipment and storage medium
CN113691974A (en) * 2021-08-19 2021-11-23 支付宝(杭州)信息技术有限公司 Method and apparatus for authenticating a wireless access point
CN115174656A (en) * 2022-05-27 2022-10-11 青岛海尔科技有限公司 Device configuration method and apparatus, storage medium, and electronic apparatus
TWI801138B (en) * 2022-01-12 2023-05-01 瑞昱半導體股份有限公司 Wireless communication device and wireless communication method able to verify vendor information

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572112A (en) * 2016-11-09 2017-04-19 北京小米移动软件有限公司 Access control method and device
CN107396364A (en) * 2017-08-21 2017-11-24 上海掌门科技有限公司 A kind of method and apparatus for being used to carry out user equipment wireless connection pre-authorization
CN108924907A (en) * 2018-06-22 2018-11-30 四川斐讯信息技术有限公司 A kind of fast access method of wireless network, system and for net equipment
CN110290570A (en) * 2019-06-10 2019-09-27 浙江大华技术股份有限公司 Wireless network access method and relevant device, storage device
CN110602693A (en) * 2019-09-11 2019-12-20 深圳市共进电子股份有限公司 Networking method and equipment of wireless network
CN110602671A (en) * 2018-10-17 2019-12-20 深圳市文鼎创数据科技有限公司 Bluetooth search result display method and device, terminal equipment and storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572112A (en) * 2016-11-09 2017-04-19 北京小米移动软件有限公司 Access control method and device
CN107396364A (en) * 2017-08-21 2017-11-24 上海掌门科技有限公司 A kind of method and apparatus for being used to carry out user equipment wireless connection pre-authorization
CN108924907A (en) * 2018-06-22 2018-11-30 四川斐讯信息技术有限公司 A kind of fast access method of wireless network, system and for net equipment
CN110602671A (en) * 2018-10-17 2019-12-20 深圳市文鼎创数据科技有限公司 Bluetooth search result display method and device, terminal equipment and storage medium
CN110290570A (en) * 2019-06-10 2019-09-27 浙江大华技术股份有限公司 Wireless network access method and relevant device, storage device
CN110602693A (en) * 2019-09-11 2019-12-20 深圳市共进电子股份有限公司 Networking method and equipment of wireless network

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112738059A (en) * 2020-12-23 2021-04-30 迈普通信技术股份有限公司 Terminal access validity verification method and device, electronic equipment and storage medium
CN113691974A (en) * 2021-08-19 2021-11-23 支付宝(杭州)信息技术有限公司 Method and apparatus for authenticating a wireless access point
TWI801138B (en) * 2022-01-12 2023-05-01 瑞昱半導體股份有限公司 Wireless communication device and wireless communication method able to verify vendor information
CN115174656A (en) * 2022-05-27 2022-10-11 青岛海尔科技有限公司 Device configuration method and apparatus, storage medium, and electronic apparatus

Similar Documents

Publication Publication Date Title
CN111065090A (en) Method for establishing network connection and wireless routing equipment
US20220264431A1 (en) Method for Provisioning of Smart Device, System, and Readable Medium
CN105703938B (en) Equipment configuration method, configuration device and management equipment
CN108667699B (en) Method and device for interconnecting terminal equipment and gateway equipment
CN111182659B (en) Mode switching method and mode switching device of Mesh equipment and Mesh equipment
CN111385180B (en) Communication tunnel construction method, device, equipment and medium
CN106464556B (en) Node network access method, device and system
CN112202747A (en) Target device binding method and device, storage medium and electronic device
CN111355708B (en) Equipment password resetting method and device
CN111510326A (en) Master-slave equipment configuration information synchronization method, system, terminal equipment and storage medium
CN109120419B (en) Upgrading method and device for ONU version of optical network unit and storage medium
CN113920615A (en) Method for connecting Bluetooth key with vehicle, vehicle Bluetooth system and Bluetooth key
CN113613251B (en) Information synchronization method and system, storage medium and electronic device
CN112073961B (en) SIM card state updating method and device, terminal and readable storage medium
CN113259918A (en) Equipment binding method and system
CN111182527B (en) OTA (over the air) firmware upgrading method and device, terminal equipment and storage medium thereof
CN112714009A (en) Network distribution method, network equipment to be distributed and network equipment
CN112600744A (en) Authority control method and device, storage medium and electronic device
CN113242550A (en) Network distribution method, device, equipment and storage medium
CN110636473A (en) Vehicle Bluetooth communication method and device, electronic equipment and readable storage medium
CN109729515B (en) Method for realizing machine-card binding, user identification card and Internet of things terminal
CN110199536B (en) Network communication for connecting devices
CN114785534B (en) Communication method and device
CN111835504A (en) Identification code generation method and server
CN113422712B (en) Network distribution method, network distribution device, household equipment and computer readable storage medium

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