Wireless network access method and communication system

By using the detection request frame and response frame of the private protocol for security verification between the terminal and the target base station, the problem of information leakage during the wireless network access process is solved, and the security of the terminal access and the protection of the wireless network are achieved.

CN114698057BActive Publication Date: 2024-10-22NEW SINGULARITY INT TECHN DEV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202011631667.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-12-31
Publication Date
2024-10-22
Estimated Expiration
2040-12-31

AI Technical Summary

Technical Problem

When a terminal accesses a wireless network, the risk of information leakage is high. Illegal terminals or base stations can intercept and view the specific content of the access request, affecting the security of the wireless network.

Method used

By generating detection request frames and response frames of private protocols, security verification is performed between the terminal and the target base station to ensure that only devices that support private protocols can parse and identify data, thus preventing illegal devices from parsing and intercepting.

Benefits of technology

It effectively improves the security of terminal access to wireless networks, prevents information leakage, and ensures that only authorized devices can access the wireless network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114698057B_ABST
    Figure CN114698057B_ABST
Patent Text Reader

Abstract

The present application provides a wireless network access method. After the terminal determines the target base station to be accessed, the terminal verifies the right to access the wireless network of the target base station by sending a probe request frame to the target base station, and when the network management platform determines that the terminal has access authority, the target base station sends a wireless network connection parameter corresponding to the target base station to the terminal, so that the terminal can use the wireless network connection parameter to access the wireless network of the target base station. In the present application, the probe request and the probe response are both generated according to the same private protocol. Therefore, the terminal and the target base station can identify the data interacting with each other, and the terminal or base station that does not support the private protocol cannot parse these requests, thereby ensuring the security of the terminal accessing the wireless network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of Internet technology, and in particular to a wireless network access method and a communication system. Background Art

[0002] Enterprise Internet connects people, data and machines through the network, thus realizing mutual control and data sharing between people and machines, and between machines. Terminal access to wireless network means that the terminal is connected to the base station, and the terminal uploads and downloads data in the corresponding wireless network through signal transmission and reception between the base station and the base station.

[0003] When a terminal accesses a wireless network, it usually broadcasts an access request to the surrounding base stations. At this time, the surrounding base stations can directly view the specific content of the access request, such as terminal information, etc. Moreover, the wireless network information fed back by the base station to the terminal, such as the SSID of the wireless network, can also be directly viewed by any terminal that obtains the wireless network information. It can be seen that during the process of the terminal accessing the wireless network, the terminal and the base station have no authority to parse and view the information sent to each other. Once the information is intercepted by an illegal terminal or illegal base station during the transmission process, these important information will also be directly viewed by these illegal devices, causing information leakage, which seriously affects the security of the wireless network. Summary of the invention

[0004] The present application provides a wireless network access method and a communication system to improve the security of a terminal accessing a wireless network.

[0005] In a first aspect, the present application provides a wireless network access method, which is applied to a terminal, and the method includes: sending a probe request frame (probe request) to a target base station, wherein the probe request is generated according to a private protocol so that the probe request is only recognized by the target base station; receiving a probe response frame (probe response) fed back by the target base station when the terminal has the authority to access the wireless network of the target base station, wherein the probe response includes wireless network connection parameters corresponding to the target base station, wherein the probe response is generated according to the private protocol so that the probe response is only recognized by the terminal; parsing the probe response according to the private protocol to obtain the wireless network connection parameters corresponding to the target base station; and using the wireless network connection parameters to access the wireless network of the target base station.

[0006] In a second aspect, the present application provides a wireless network access method, which is applied to a target base station, and the method includes: receiving a probe request frame probe request sent by a terminal, the probe request is generated according to a private protocol so that the probe request is only recognized by the target base station; sending the probe request to a network management platform to verify the terminal's authority to access the wireless network of the target base station on the network management platform; receiving a verification result sent by the network management platform; if the verification result is that the terminal has the authority to access the wireless network of the target base station, generating a probe response frame probe response according to the private protocol so that the probe response is only recognized by the terminal, wherein the probe response includes the wireless network connection parameters corresponding to the target base station; sending the probe response to the terminal so that the terminal can access the wireless network of the target base station according to the wireless network connection parameters.

[0007] In the third aspect, the present application provides a wireless network access method, which is applied to a network management platform, and the method includes: receiving a probe request frame probe request sent by a target base station, the probe request is generated according to a private protocol so that the probe request is only recognized by the target base station; obtaining terminal information from the probe request; verifying whether the terminal has the authority to access the wireless network of the target base station according to the terminal information, and generating a verification result, wherein if the verification result is that the terminal has the authority to access the wireless network of the target base station, then the verification result includes the wireless network connection parameters corresponding to the target base station, so that the terminal can access the wireless network of the target base station; and sending the verification result to the target base station.

[0008] In a fourth aspect, the present application provides a communication system, which includes a terminal, a target base station corresponding to the terminal, and a network management platform, wherein the terminal, the target base station and the network management platform are used to execute the wireless network access method as described above.

[0009] It can be seen from the above technical solutions that the present application provides a wireless network access method. After the terminal determines the target base station to be accessed, it verifies the authority to access the wireless network of the target base station by sending a probe request frame to the target base station, and when the network management platform determines that the terminal has access authority, it sends the wireless network connection parameters corresponding to the target base station to the terminal through the target base station, so that the terminal can use the wireless network connection parameters to access the wireless network of the target base station. In the present application, both the probe request and the probe response are generated according to the same private protocol. Therefore, the terminal and the target base station can identify the data interacting with each other, and the terminal or base station that does not support the private protocol cannot parse these requests, thereby ensuring the security of the terminal accessing the wireless network. BRIEF DESCRIPTION OF THE DRAWINGS

[0010] In order to more clearly illustrate the technical solution of the present application, the drawings required for use in the embodiments are briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.

[0011] Figure 1 A flowchart of a wireless network access method provided in an embodiment of the present application;

[0012] Figure 2 A schematic diagram of the structure of a communication system provided in an embodiment of the present application;

[0013] Figure 3 A schematic diagram of wireless network communication signal coverage provided by an embodiment of the present application;

[0014] Figure 4 A schematic diagram of the structure of a terminal provided in an embodiment of the present application;

[0015] Figure 5 A schematic diagram of the structure of a target base station provided in an embodiment of the present application;

[0016] Figure 6 A schematic diagram of the structure of a network management platform provided in an embodiment of the present application. DETAILED DESCRIPTION

[0017] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0018] Enterprise Internet connects people, data and machines through the network, thus realizing mutual control and data sharing between people and machines, and between machines. Terminal access to wireless network means that the terminal is connected to the base station, and the terminal uploads and downloads data in the corresponding wireless network through signal transmission and reception between the base station and the base station.

[0019] When a terminal accesses a wireless network, it usually broadcasts an access request to the base station to be accessed. At this time, the surrounding base stations can directly view the specific content of the access request, such as terminal information, etc. Moreover, the wireless network information fed back by the base station to the terminal, such as the SSID of the wireless network, can also be directly viewed by any terminal that obtains the wireless network information. It can be seen that in the process of the terminal accessing the wireless network, the terminal and the base station have no authority to parse and view the information sent to each other. Once the information is intercepted by an illegal terminal or illegal base station during the transmission process, these important information will also be directly viewed by these illegal devices, causing information leakage, which seriously affects the security of the wireless network.

[0020] In order to solve the above problems, the present application provides a wireless network access method, such as Figure 1 As shown, the method includes:

[0021] Figure 1 A flowchart of a wireless network access method provided in an embodiment of the present application is as follows: Figure 1 As shown, the method includes:

[0022] S1. The base station radiates wireless network communication signals to the surroundings.

[0023] Figure 2 A schematic diagram of the structure of a communication system provided in an embodiment of the present application is shown in FIG. Figure 2 As shown, the communication system includes a terminal 1, a base station 2 and a network management platform 3, wherein the terminal 1 and the network management platform 3 perform data exchange through the base station 2. The base station 2 radiates wireless network communication signals to the surroundings so that each terminal can find a base station that can be used.

[0024] S2. The terminal receives the wireless network communication signal.

[0025] In the embodiment of the present application, the terminal can be a mobile phone, PC, tablet computer and other electronic devices that can access the base station. After the terminal starts the wireless network search, it can receive the wireless network communication signals sent by the surrounding base stations to find the base stations that can be accessed.

[0026] The network management platform provided in the embodiment of the present application is used to supervise the work of the terminal and the base station, and is mainly used to record the terminal's access rights to the wireless network and the connection information of the wireless network. Therefore, the terminal needs to register the terminal information to the network management platform in advance to announce that the network management platform records the terminal information and generates and records the access rights to the wireless network corresponding to the terminal. The details are as follows:

[0027] S101. A terminal registers terminal information on a network management platform to store authentication information of the terminal accessing wireless networks of various base stations on the network management platform to verify the access authority of the terminal.

[0028] The terminal information may be the device ID of the terminal, the MAC address of the terminal, and other information with a unique identification function, and may also include wireless network information that the terminal is restricted or specified to access, so that the network management platform can generate terminal permissions that accurately correspond to the terminal based on the terminal information. The network management platform will pre-store wireless network information, which may be the SSID, BSSID, etc. of the base station, and may also include terminal information that is restricted or specified to access the wireless network. The network management platform combines the terminal information and the wireless network information to generate terminal permissions according to certain rules. The generation rules may be that the terminal is restricted to access wireless networks corresponding to certain SSIDs or BSSIDs, or that the wireless network is restricted to access terminals with non-specified device IDs or MAC addresses. For example, if terminal A is restricted to access the wireless network with SSID "beijing03", the network management platform generates the corresponding terminal permissions based on the terminal information of terminal A, which is to restrict access to "beijing03". It should be noted that, relative to these restricted wireless networks, wireless networks that are not restricted to access, that is, wireless networks that are authorized to access, can be called authorized wireless networks of the terminal, such as the wireless network with SSID "beijing01".

[0029] When the terminal is located within the coverage of the wireless network communication signal of only one base station, the base station is the target base station. When the terminal is located within the coverage of the wireless network communication signal of multiple base stations at the same time, the terminal needs to select the target base station for wireless network communication from these base stations. For example, Figure 3 A wireless network communication signal coverage diagram provided in an embodiment of the present application is shown in FIG. Figure 3As shown, terminal 1 is located within the coverage of wireless network communication signals of base stations A, B and C. When terminal 1 receives wireless network communication signals sent by base stations A, B and C, it can select a base station to be connected, for example, according to the network status of the wireless network corresponding to the base station, select the target base station to be accessed, such as according to indicators such as signal strength and signal quality, where signal strength is such as path loss, and signal quality is such as received signal strength indication (RSSI). The terminal will select a wireless network with the highest signal strength and the best signal quality for connection, for example, if base station A is selected, then base station A is the target base station.

[0030] S3. The terminal sends a probe request frame probe requset to the target base station.

[0031] After determining the target base station, the terminal needs to further obtain the connection information of the wireless network accessing the target base station. At this time, the terminal generates a probe request frame probe request, which includes terminal information, such as the terminal's MAC address, device ID, etc., and sends it to the target base station to request the connection information of the wireless network.

[0032] A probe request is a frame formed by multiple fields arranged in a certain format, where each field corresponds to a different function or transmits different information. A network protocol is a set of conventions that two devices follow during communication. Usually, a network protocol specifies the field structure of the data frame transmitted during device communication, the specific content in the frame structure, such as frame header information, data part, frame tail information, and the arrangement format of the fields in each part. A network protocol can be for the entire data frame or for some fields in the data frame. The same network protocol defines the same fields. It can be considered that if two devices follow the same network protocol, the two devices will use the same data frame to exchange information, so that the two devices can identify and parse the received data frame. On the contrary, if the two devices follow different network protocols, that is, the two devices use different data frames to transmit information, then even if the two devices receive information sent by each other, they cannot identify and parse the received data frame. According to the above characteristics of information transmission, in order to make the information only recognized by a specific terminal and base station, that is, only recognized by the terminal and the target base station, it can be ensured that the terminal and the target base station follow the same network protocol. In an embodiment of the present application, the network protocol followed by the terminal and the target base station can be called a private protocol. In this embodiment, the probe request sent by the terminal is also a data frame. Therefore, the data frame is also generated according to the private protocol, has a structure and content corresponding to the private protocol, and can only be recognized by the target base station.

[0033] In one implementation, the probe request includes terminal information, such as the terminal's MAC address, device ID, etc., and the SSID field of the probe request is defined using a private protocol, so that only the target base station that also supports the private protocol can identify the probe request, thereby ensuring the transmission security of the probe request sent by the terminal, and preventing other base stations from intercepting the probe request and implementing illegal operations such as forced access to the terminal. Furthermore, other fields can also be defined based on the definition of the SSID field according to the private protocol.

[0034] S4. The target base station receives the probe request sent by the terminal.

[0035] S5. The target base station sends the probe request to the network management platform.

[0036] The target base station plays a forwarding role. After receiving the probe request sent by the terminal, it needs to forward it to the network management platform for processing.

[0037] S6. The network management platform receives the probe request sent by the target base station.

[0038] S7. The network management platform verifies the authority of the terminal to access the wireless network of the target base station according to the probe request, and generates a verification result.

[0039] S8. The network management platform sends the verification result to the target base station.

[0040] S9. The target base station receives the verification result.

[0041] In order to improve the security of the terminal connecting to the wireless network, the terminal's access rights need to be verified. The terminal cannot access any wireless network. Due to restrictions such as operators and work areas, the terminal will limit the wireless network it uses. At the same time, the wireless network will also limit the terminals that can access it. Combining the above two restrictions, the wireless network that the terminal has the right to access can be called an authorized wireless network, and the wireless network that the terminal does not have the right to access can be called an unauthorized wireless network.

[0042] As mentioned above, the network management platform is used to manage various types of information of terminals and base stations. Among them, the network management platform is used to store the authorized wireless network information corresponding to the terminal. After the terminal is registered on the network management platform, the network management platform will generate the authorized wireless network information corresponding to the terminal. At the same time, the network management platform also stores the access conditions of each base station. In this way, the network management platform can determine whether the terminal has the authority to access the wireless network of the target base station based on the authorized wireless network information corresponding to the terminal and the access conditions of the base station.

[0043] As long as the terminal registers the terminal information in the network management platform, the terminal information and the corresponding terminal authority will be recorded in the network management platform. For example, the terminal information recorded in the network management platform is the MAC address of the terminal, or it can be the device ID of the terminal and other information that can uniquely identify the terminal. When the network management platform receives the probe request forwarded by the target base station, it can query the terminal authority corresponding to the terminal based on the terminal information carried in the probe request. For example, the terminal information stored in the network management platform for terminal 1 is MAC address a, and the terminal authority is the right to access the wireless network with SSID A. If terminal 1 sends a probe request to the target base station, the probe request will carry MAC address a, and the network management platform can query the terminal authority corresponding to terminal 1 based on MAC address a, which is "the right to access the wireless network with SSID A".

[0044] In one implementation, the network management platform can also learn the SSID of the target base station. If the SSID of the target base station is A, the network management platform can directly determine that the terminal has the authority to access the wireless network of the target base station; if the SSID of the target base station is not A, the network management platform can directly determine that the terminal does not have the authority to access the wireless network of the target base station. The network management platform generates a verification result based on the above judgment. At this time, the verification result is verification passed or verification failed.

[0045] If the verification fails, the network management platform may not send any data to the target base station. If the verification passes, the network management platform needs to add the SSID and the specified field of the target base station in the verification result as the connection parameters of the wireless network. Restriction information such as the effective time of the connection may also be added to invalidate the above wireless network connection information when the terminal has not accessed the target base station for a long time, so as to ensure the security of wireless network communication. The specified field may be a field randomly generated by the network management platform, or a field extracted by the network management platform from a specific database stored therein, which may store a large number of fields, or a password factor selected by the network management platform from a password library, wherein the password library is composed of multiple password pairs, and the password pair is composed of a password and a password factor.

[0046] In another implementation, the network management platform will not directly determine whether the terminal has the right to access the wireless network of the target base station, but will send the queried terminal authority as a verification result to the target base station, and the target base station will further determine whether the terminal has the right to access based on the verification result. If the terminal has the right to access, the target base station generates a request to obtain wireless network access information, or the target base station sends the judgment result that it can access to the terminal and receives the terminal's request to obtain wireless network access information. The target base station then sends the request to obtain wireless network access information to the network management platform, and the network management platform generates the corresponding wireless network access information, including the SSID and designated fields of the target base station; if the terminal does not have the right to access, the target base station generates unauthorized access information and feeds it back to the terminal, or the target base station no longer sends any data to the terminal.

[0047] It can be seen that through the above process, the network management platform can effectively prevent unregistered illegal terminals or terminals without corresponding access permissions from accessing the wireless network, thereby ensuring the security of the wireless network.

[0048] S10. The target base station generates a probe response frame according to the verification result.

[0049] If the terminal passes the verification, that is, the terminal has the authority to access the wireless network of the target base station, the target base station needs to generate a probe response frame to send the wireless network access information to the terminal, such as the SSID and password index of the target base station.

[0050] In an embodiment of the present application, in order to ensure the security of data transmission and prevent the leakage of the SSID and designated fields of the target base station, the probe request and the probe response are generated based on the same set of data interaction identification rules. For example, the key index information is written into the BSSID field in the probe response, and the SSID information of the target base station is written into the SSID field in the probe response. As can be seen from the above, in order to protect the security of the wireless network, it is necessary to define the SSID field using a private protocol. In this embodiment, the SSID information after the protocol is obtained after the SSID field is defined using a private protocol, which is composed of the SSID field of the target base station and the private header information corresponding to the private protocol.

[0051] In order to further improve the confidentiality of the SSID field of the target base station, the above SSID information can be processed by a preset logical operation to obtain a processed SSID field. For example, the SSID information is processed by a preset logical operation, such as the original SSID information is all visible characters in the ascii table. Once the illegal terminal steals the SSID information, the wireless network corresponding to the target base station can be directly discovered. After the SSID information is processed, for example, logical operations such as addition, subtraction, multiplication, and division are performed on each character in the SSID information. If the original character is ascii and the preset logical operation is -30, the processed SSID field is ascii-30. Because it does not conform to the usual format of the SSID field, non-specific terminals cannot recognize the processed SSID field, that is, they cannot discover the wireless network corresponding to the target base station. However, the terminal (supporting a private protocol) can recognize the processed SSID field and use it as a normal SSID field, thereby avoiding the discovery and access of the wireless network of the target base station by illegal terminals, and improving the access security of the wireless network.

[0052] S11. The target base station sends the probe response to the terminal.

[0053] S12. The terminal receives a probe response sent by the target base station.

[0054] S13. The terminal generates an access password according to the probe response.

[0055] Specifically, the terminal parses the probe response to obtain the SSID and designated field of the target base station. The terminal generates an access password based on the SSID and designated field of the target base station. If the designated field is a password factor, in one case, in order to further ensure the security of the terminal's access to the wireless network, the terminal is also required to find the corresponding password based on the password factor and use the password as the real designated field to generate the access password. Since the terminal has been registered in the network management platform, the password library used by the terminal is associated with the password library used by the platform. If the two use the same password factor, the passwords queried in their respective password libraries should be the same.

[0056] After the terminal determines the SSID and specified fields of the target base station, it can generate an access password as follows:

[0057] According to the 6 bytes of the terminal's MAC address and the first three bytes of the BSSID corresponding to the target base station's SSID, a 12-byte access password is obtained through the encryption method of psk2+ccmp. Specifically, an example is given, F(num) = the even bytes of the 6 bytes of the terminal's MAC address are added to the first three bytes of the BSSID to obtain the first 6 bytes of the access password, the odd bytes of the 6 bytes of the terminal's MAC address are added to the first three bytes of the BSSID to obtain the last 6 bytes of the access password, and finally the specified fields are added to the 12 bytes to obtain the access password. For example, the access password that can be obtained through the above algorithm is:

[0058] stamac[0]+bssid[0]+num, stamac[1]+num, stamac[2]+bssid[1]+num, stamac[3]+num, stamac[4]+bssid[2]+num, stamac[5]+num, stamac[0]+num, stamac[1]+bssid[0]+num, stamac[2]+num, stamac[3]+bssid[1]+num, stamac[4]+num, stamac[5]+bssid[2]+num.

[0059] Among them, stamac represents the MAC address of the terminal, [] represents bytes, and num represents the specified field.

[0060] Usually, the first three bytes of the BSSID of the target base station can be defined in the range of 0-255, which will correspond to 256 different access password algorithms. Of course, other algorithms can also be used, such as using the SSID name of the target base station for calculation, adding a specified field after the specified byte, or subtracting a specified field after the specified byte. It can be seen that the access password can be calculated according to a variety of calculation logics, which ensures the non-uniqueness of the access password and increases the difficulty of cracking the access password, thereby improving the security of the terminal accessing the wireless network. At the same time, it can be seen from the above that the access password corresponding to the terminal has a unique correspondence with the terminal itself, that is, different terminals use different access passwords to connect to the same wireless network, which can also avoid the reuse of access passwords between different terminals.

[0061] S14. The terminal accesses the wireless network of the target base station according to the access password.

[0062] The terminal sends the access password to the target base station to connect to the wireless network. After the target base station receives the access password, it needs to verify the access password. Specifically, the target base station also needs to generate a verification password according to the SSID and specified fields of the target base station according to the preset generation rules, and compare the verification password with the access password to determine whether the terminal can access the wireless network. If the verification password is consistent with the access password, the terminal can access the wireless network; if the verification password is inconsistent with the access password, the terminal cannot access the wireless network.

[0063] The target base station can generate the verification password after receiving the access password sent by the terminal. However, in order to improve the access speed of the terminal, the target base station can generate the verification password immediately after sending the probe response to the terminal. It can be seen from the various password generation rules disclosed above that if other terminals want to access the wireless network, they cannot know the MAC address of the terminal that can access the wireless network, the SSID of the wireless network, the specified field, and the calculation method of the access password, so it is difficult to access the wireless network, thereby effectively ensuring the security of the wireless network.

[0064] It can be seen that the above processes of generating access passwords, verification passwords and access verification are all processes of automatic calculation by the terminal, base station and network management platform, without the need for human input or other operations, so it can reduce human and other external intervention, thereby enhancing the security of the password and reducing the risk of password leakage.

[0065] In order to avoid password leakage, the network management platform needs to periodically update the specified field, so that the access password used by the same terminal in different periods is also different, and it will be more difficult for illegal terminals to crack the access password. When the specified field is updated, the terminal will disconnect from the target base station and regenerate the access password according to the specified field to connect again.

[0066] In one implementation, the above-mentioned wireless network access method can use the Internet of Things to support terminal verification communication before the terminal connects to the wireless network. At this time, the terminal, base station, and network management platform are all equipped with an Internet of Things communication module. The Internet of Things communication module can be used for communication between the terminal, base station, and network management platform through the Internet of Things channel. The Internet of Things is equivalent to a regional network with specific restrictions in the wireless network, that is, only specific devices can communicate in the Internet of Things. According to the communication characteristics of the Internet of Things, some devices (terminals, base stations) that do not comply with the Internet of Things usage rules can be shielded first, thereby ensuring that some illegal terminals access the wireless network. Moreover, the Internet of Things can use 5GHz channels to increase the data transmission speed and increase the terminal verification speed.

[0067] Figure 4 A schematic diagram of a terminal structure provided in an embodiment of the present application is shown in FIG. Figure 4 As shown, the terminal includes: a receiver 11, a processor 12 and a transmitter 13;

[0068] The transmitter 13 is used to send a probe request frame probe request to the target base station, wherein the probe request is generated according to a private protocol so that the probe request is only recognized by the target base station;

[0069] The receiver 11 is used to receive a probe response frame probe response fed back by the target base station when the terminal has the right to access the wireless network of the target base station, wherein the probe response includes a wireless network connection parameter corresponding to the target base station, wherein the probe response is generated according to the private protocol so that the probe response is only recognized by the terminal;

[0070] The processor 12 is used to parse the probe response according to the private protocol to obtain the wireless network connection parameters corresponding to the target base station;

[0071] The transmitter 13 is configured to access the wireless network of the target base station using the wireless network connection parameters.

[0072] Figure 5 A schematic diagram of the structure of a target base station provided in an embodiment of the present application is shown in FIG. Figure 5 As shown, the target base station includes: a receiver 21, a processor 22 and a transmitter 23;

[0073] The receiver 21 is used to receive a probe request frame probe request sent by the terminal, wherein the probe request is generated according to a private protocol so that the probe request is only recognized by the target base station;

[0074] The transmitter 23 is used to send the probe request to the network management platform to verify the authority of the terminal to access the wireless network of the target base station on the network management platform;

[0075] The receiver 21 is used to receive the verification result sent by the network management platform;

[0076] The processor 22 is configured to generate a probe response frame according to the private protocol if the verification result is that the terminal has the right to access the wireless network of the target base station, so that the probe response is only recognized by the terminal, wherein the probe response includes the wireless network connection parameters corresponding to the target base station;

[0077] The transmitter 23 is used to send the probe response to the terminal, so that the terminal can access the wireless network of the target base station according to the wireless network connection parameters.

[0078] Figure 6 A schematic diagram of the structure of a network management platform provided in an embodiment of the present application is shown in FIG. Figure 6 As shown, the network management platform includes: a receiver 31, a processor 32 and a transmitter 33;

[0079] The receiver 31 is used to receive a probe request frame probe request sent by a target base station, wherein the probe request is generated according to a private protocol so that the probe request is only recognized by the target base station;

[0080] The processor 32 is used to obtain terminal information from the probe request;

[0081] The processor 32 is further configured to verify, according to the terminal information, whether the terminal has the authority to access the wireless network of the target base station, and generate a verification result, wherein if the verification result is that the terminal has the authority to access the wireless network of the target base station, the verification result includes a wireless network connection parameter corresponding to the target base station, so that the terminal can access the wireless network of the target base station;

[0082] The transmitter 33 is used to send the verification result to the target base station.

[0083] It can be seen from the above technical solutions that the present application provides a wireless network access method. After the terminal determines the target base station to be accessed, it verifies the authority to access the wireless network of the target base station by sending a probe request frame to the target base station, and when the network management platform determines that the terminal has access authority, it sends the wireless network connection parameters corresponding to the target base station to the terminal through the target base station, so that the terminal can use the wireless network connection parameters to access the wireless network of the target base station. In the present application, both the probe request and the probe response are generated according to the same private protocol. Therefore, the terminal and the target base station can identify the data interacting with each other, and the terminal or base station that does not support the private protocol cannot parse these requests, thereby ensuring the security of the terminal accessing the wireless network.

[0084] Those skilled in the art can clearly understand that the technology in the embodiments of the present invention can be implemented by means of software plus a necessary general hardware platform. Based on this understanding, the technical solution in the embodiments of the present invention is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which can be stored in a storage medium such as ROM / RAM, a disk, an optical disk, etc., and includes a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment of the present invention or some parts of the embodiments.

[0085] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. This application is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed by the present invention. The specification and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0086] It should be understood that the present application is not limited to the precise structures 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 application is limited only by the appended claims.

Claims

1. A wireless network access method, applied to a terminal, characterized in that: The method comprises: Sending a probe request frame probe request to a target base station, wherein the probe request is generated according to a private protocol so that the probe request is only recognized by the target base station; receiving a probe response frame probe response fed back by the target base station when the terminal has the right to access the wireless network of the target base station, wherein the probe response includes a wireless network connection parameter corresponding to the target base station, wherein the probe response is generated according to the private protocol so that the probe response is only recognized by the terminal; Parsing the probe response according to the private protocol to obtain wireless network connection parameters corresponding to the target base station; Accessing the wireless network of the target base station using the wireless network connection parameters; The wireless network connection parameters include a password index and SSID information, wherein the password index is located in the BSSID field of the probe response, the SSID information is located in the SSID field of the probe response, and the SSID information is composed of the SSID of the target base station and the private header information corresponding to the private protocol; the wireless network connection parameters also include a connection validity period, and the connection validity period is used to invalidate the wireless network connection parameters when the terminal has not accessed the target base station for a long time, so as to ensure the security of wireless network communication; Performing a preset logical operation on the SSID information to obtain a processed SSID field; The step of using the wireless network connection parameters to access the wireless network of the target base station includes: Acquire the password index from the wireless network connection parameters; Generate a corresponding access password according to the password index and the password library used by the terminal; Accessing the wireless network of the target base station using the access password; The generating a corresponding access password according to the password index and the password library used by the terminal includes: Obtaining a specified field in a password library used by the terminal according to the password index; According to the 6 bytes of the terminal's MAC address, the first three bytes of the BSSID corresponding to the target base station's SSID, and the specified field, a 12-byte access password is obtained through the psk2+ccmp encryption method; Before sending a probe request frame probe request to the target base station, the following steps are also included: Registering the terminal information on the network management platform to store the authentication information of the terminal accessing the wireless network of each base station on the network management platform; Before sending a probe request frame probe request to the target base station, the following steps are also included: Receive wireless network communication signals sent by surrounding base stations; A target base station is determined among the surrounding base stations according to the wireless network communication signal.

2. The method according to claim 1, characterized in that Before sending a probe request frame proberequest to the target base station, the following steps are also included: The private protocol is added to the wireless network SSID field of the probe request to obtain the probe request generated according to the private protocol.

3. A wireless network access method, applied to a target base station, characterized in that: The method comprises: receiving a probe request frame probe request sent by a terminal, wherein the probe request is generated according to a private protocol so that the probe request is only recognized by the target base station; Sending the probe request to a network management platform to verify, on the network management platform, the authority of the terminal to access the wireless network of the target base station; Receiving the verification result sent by the network management platform; If the verification result is that the terminal has the authority to access the wireless network of the target base station, generating a probe response frame according to the private protocol so that the probe response is only recognized by the terminal, wherein the probe response includes the wireless network connection parameters corresponding to the target base station; Sending the probe response to the terminal, so that the terminal can access the wireless network of the target base station according to the wireless network connection parameters; The wireless network connection parameters include a password index and SSID information, wherein the password index is located in a BSSID field of the probe response, the SSID information is located in an SSID field of the probe response, and the SSID information is composed of an SSID of the target base station and private header information corresponding to the private protocol; The wireless network connection parameters also include a connection validity period, which is used to invalidate the wireless network connection parameters when the terminal does not access the target base station for a long time, so as to ensure the security of wireless network communication; The password index is used to enable the terminal to generate a corresponding access password according to the password library used by the terminal; The step of the terminal generating a corresponding access password according to the password library used by the terminal includes: acquiring a specified field in the password library used by the terminal according to the password index; According to the 6 bytes of the terminal's MAC address, the first three bytes of the BSSID corresponding to the target base station's SSID, and the specified field, a 12-byte access password is obtained through the psk2+ccmp encryption method.

4. A wireless network access method, applied to a network management platform, characterized in that: The method comprises: receiving a probe request frame probe request sent by a target base station, wherein the probe request is generated according to a private protocol so that the probe request is only recognized by the target base station; Obtain terminal information from the probe request; Verifying whether the terminal has the authority to access the wireless network of the target base station according to the terminal information, and generating a verification result, wherein if the verification result is that the terminal has the authority to access the wireless network of the target base station, the verification result includes a wireless network connection parameter corresponding to the target base station, so that the terminal can access the wireless network of the target base station; Sending the verification result to the target base station; The wireless network connection parameters include a password index and SSID information, wherein the password index is located in a BSSID field of the probe response, the SSID information is located in an SSID field of the probe response, and the SSID information is composed of an SSID of the target base station and private header information corresponding to the private protocol; The wireless network connection parameters also include a connection validity period, which is used to invalidate the wireless network connection parameters when the terminal does not access the target base station for a long time, so as to ensure the security of wireless network communication; The password index is used to enable the terminal to generate a corresponding access password according to the password library used by the terminal; The step of the terminal generating a corresponding access password according to the password library used by the terminal includes: acquiring a specified field in the password library used by the terminal according to the password index; According to the 6 bytes of the terminal's MAC address, the first three bytes of the BSSID corresponding to the target base station's SSID, and the specified field, a 12-byte access password is obtained through the psk2+ccmp encryption method.

5. A communication system, characterized in that: The communication system includes a terminal, a target base station corresponding to the terminal, and a network management platform, wherein the terminal is used to execute the method as claimed in claim 1 or 2, the target base station is used to execute the method as claimed in claim 3, and the network management platform is used to execute the method as claimed in claim 4.