Signal transmission method, and device and storage medium
By carrying identification information in beacon request message and detection request message, the problem of low security caused by the terminal device using a fixed MAC address is solved, and high security is achieved during signal transmission, preventing third-party devices from sniffing and tracking.
Patent Information
- Application Number
- PCT/CN2024/078804
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-06-30
- Filing Date
- 2024-02-27
- Publication Date
- 2025-01-02
AI Technical Summary
During wireless transmission, the terminal device uses a fixed MAC address to cause low security and is easily sniffed by third-party devices through MAC address tracking and location.
By carrying identification information in beacon request message and detection request message, it is ensured that the identification information carried by different detection request messages is different, so that it is difficult for third-party devices to track terminal devices and network devices during beacon request message and detection request message. connection between.
It significantly improves the security level during signal transmission and prevents third-party equipment from sniffing and tracking the connection between terminal equipment and network equipment.
Smart Images

Figure CN2024078804_02012025_PF_FP_ABST
Abstract
Description
Signal transmission method, device and storage medium
[0001] CROSS-REFERENCE TO RELATED APPLICATIONS
[0002] This application is based on the Chinese patent application with application number 2023107952531 and application date of June 30, 2023, and claims the priority of the Chinese patent application. The entire content of the Chinese patent application is hereby introduced into this application as a reference. Technical Field
[0003] The present application relates to the field of communication technology, and in particular to a signal transmission method, device, and storage medium. Background Art
[0004] During signal transmission, terminal devices typically use unique, fixed MAC addresses to establish connections with network devices. Identification and authentication technologies based on fixed MAC addresses are widely used in wireless transmission. However, using fixed MAC addresses can easily lead to third-party devices using MAC address sniffing to track and locate the connection between the terminal device and the network device, resulting in extremely low security.
[0005] Summary of the Invention
[0006] The embodiments of the present application provide a signal transmission method, device, and storage medium, which can improve the security of signals during transmission.
[0007] In a first aspect, an embodiment of the present application provides a signal transmission method, which is applied to a first terminal device and includes:
[0008] Receiving a beacon request message sent by a first network device, wherein the beacon request message carries identification information, and the identification information is used to indicate that the first terminal device supports a random MAC address function and identifies the first terminal device;
[0009] The identification information is added to a probe request message, and the probe request message is sent to the second network device.
[0010] In a second aspect, an embodiment of the present application provides a signal transmission method, which is applied to a first network device and includes:
[0011] A beacon request message is sent to a first terminal device, wherein the beacon request message carries identification information, and the identification information is used to indicate that the first terminal device supports a random MAC address function and identifies the first terminal device.
[0012] In a third aspect, an embodiment of the present application provides a signal transmission method, which is applied to a second network device, and includes:
[0013] Receiving a probe request message sent by a first terminal device, wherein the probe request message carries identification information, and the identification information is used to indicate that the first terminal device supports a random MAC address function and identifies the first terminal device;
[0014] Identifying the first terminal device according to the identification information, and acquiring signal parameter information corresponding to the first terminal device;
[0015] Send signal parameter information corresponding to the first terminal device to the first network device.
[0016] In a fourth aspect, an embodiment of the present application provides an electronic device, including:
[0017] one or more processors;
[0018] A memory having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement:
[0019] The signal transmission method according to the first aspect; or
[0020] The signal transmission method according to the second aspect; or
[0021] The signal transmission method as described in the third aspect.
[0022] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the following is achieved:
[0023] The signal transmission method according to the first aspect; or
[0024] The signal transmission method according to the second aspect; or
[0025] The signal transmission method as described in the third aspect.
[0026] An embodiment of the present application includes: a first terminal device receives a beacon request message sent by a first network device, the beacon request message carries identification information, the first terminal device is used to indicate that the first terminal device supports the random MAC address function and identifies the first terminal device, and then the first terminal device adds the identification information to the probe request message and sends the probe request information to the second network device. The beacon request message of the embodiment of the present application carries identification information, and the identification information is added to the probe request message to be sent to the second network device. In addition, the identification information corresponds to the beacon request message, so different probe request messages carry different identification information. Therefore, in the process of the beacon request message and the probe request message, it is difficult for a third-party device to sniff and track the connection between the first terminal device and the network device, which greatly improves the security of the signal during transmission.
[0027] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become obvious from the description below, or will be learned through practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. Obviously, the drawings described below are only some embodiments of the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0029] FIG1 is a system architecture diagram of a system for applying a signal transmission method provided in an embodiment of the present application;
[0030] FIG2 is another system architecture diagram of a system for applying the signal transmission method provided in an embodiment of the present application;
[0031] FIG3 is a flow chart of a signal transmission method provided by an embodiment of the present application at a first terminal device;
[0032] FIG4 is another flowchart of the signal transmission method provided in an embodiment of the present application at the first terminal device;
[0033] FIG5 is a schematic diagram of the structure of a beacon message request of a signal transmission method provided in an embodiment of the present application;
[0034] 6 is a schematic diagram of the structure of a probe message request of a signal transmission method provided in an embodiment of the present application;
[0035] FIG7 is a schematic diagram of the structure of identification information of the signal transmission method provided in an embodiment of the present application;
[0036] FIG8 is a flowchart of a signal transmission method provided by an embodiment of the present application at a first user equipment;
[0037] 9 is a flowchart of a signal transmission method according to an embodiment of the present application for collecting terminal signal parameters at a first user equipment;
[0038] 10 is a flowchart of a signal transmission method according to an embodiment of the present application provided at a first user equipment receiving an interruption signal parameter report;
[0039] 11 is a flowchart of a rejection indication at a first user equipment of a signal transmission method provided in an embodiment of the present application;
[0040] FIG12 is a flow chart of a signal transmission method provided by an embodiment of the application at a second user equipment;
[0041] FIG13 is another flowchart of the signal transmission method provided by the embodiment of the application at the second user equipment;
[0042] 14 is a flowchart of a signal transmission method according to an embodiment of the application for canceling acquisition of signal parameter information at a second user equipment;
[0043] FIG15 is a schematic diagram of a signal transmission method provided in an embodiment of the present application;
[0044] FIG16 is another schematic diagram of a signal transmission method provided in an embodiment of the present application;
[0045] FIG17 is another schematic diagram of a signal transmission method provided in an embodiment of the present application;
[0046] FIG18 is a schematic diagram of the configuration of identification information provided in an embodiment of the present application;
[0047] FIG19 is another schematic diagram of the configuration of identification information provided in an embodiment of the present application;
[0048] FIG20 is another schematic diagram of the configuration of identification information provided in an embodiment of the present application;
[0049] FIG21 is a schematic diagram of an electronic device to which the signal transmission method provided in an embodiment of the present application is applied. DETAILED DESCRIPTION
[0050] In order to make the purpose, technical solutions and advantages of this application more clear, the following further describes this application in detail with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain this application and are not intended to limit this application.
[0051] It should be noted that although a logical order is shown in the flowcharts, in some cases, the steps shown or described may be performed in a different order than that shown in the flowcharts. The terms "first," "second," and the like in the specification, claims, and drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0052] It should also be understood that references to "one embodiment" or "some embodiments" described in the description of the embodiments of the present application mean that one or more embodiments of the embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Thus, the phrases "in one embodiment," "in some embodiments," "in some other embodiments," "in some other embodiments," etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but rather mean "one or more but not all embodiments," unless otherwise specifically emphasized. The terms "including," "comprising," "having," and their variations all mean "including but not limited to," unless otherwise specifically emphasized.
[0053] In the description of this application, “greater than”, “less than”, “exceed”, etc. are understood as not including the number itself, and “above”, “below”, “within”, etc. are understood as including the number itself. If there is a description of “first” or “second”, it is only used for the purpose of distinguishing technical features, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features or implicitly indicating the order of the indicated technical features. It should be understood that the description of the orientation, such as up, down, front, back, left, right, etc., indicating the orientation or position relationship is based on the orientation or position relationship shown in the drawings, and is only for the convenience of describing this application and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on this application.
[0054] In the description of the embodiments of the present application, unless otherwise clearly defined, terms such as setting, installing, and connecting should be understood in a broad sense. Technical personnel in the relevant technical field can reasonably determine the specific meanings of the above terms in the embodiments of the present application based on the specific content of the technical solution.
[0055] Referring to Figure 1, Figure 1 is a system architecture diagram of the signal transmission method provided in an embodiment of the present application. The system architecture is specifically an EasyMesh network, which includes a control terminal, a first network device, a second network device and a first terminal device. The control terminal is connected to the first network device and the second network device through a wired or wireless backhaul network, and a wireless network connection is established between the first network device and the first terminal device. The control terminal needs to send a beacon request message to the first terminal device through the first network device, triggering the first terminal device to send a probe request message on the channel where the second network device works. The second terminal device can collect the received signal strength indicator (RSSI) and the channel state message (CSI) according to the received probe request message and feed it back to the control terminal through the converged network. The control terminal then determines whether to recommend a candidate connection network device to the first terminal device, such as the second network device, to realize the device connection control function of the first terminal device.
[0056] During signal transmission, terminal devices typically use unique, fixed MAC addresses to establish connections with network devices. Identification and authentication technologies based on fixed device MAC addresses have been widely used in wireless transmission. For example, technologies such as access control and client steering based on device MAC addresses are already included in the Wi-Fi Alliance (WFA) EasyMesh standard and the Wi-Fi Broadband Alliance (WBA) white papers. However, the use of fixed MAC addresses can easily lead to third-party devices using MAC address sniffing to track and locate the connection between terminal devices and network devices, resulting in extremely low security.
[0057] To solve this problem, the existing technology uses a random MAC address (RMA, Random MAC address) before the terminal device accesses the network device. However, the existing terminal device can independently decide whether to use an identifiable random MAC address (IRM) in the probe request message, but in order to facilitate the identification of the terminal device, it is impossible to determine the conditions for the terminal device to use an identifiable random MAC address. For example, for the EasyMesh network in Figure 1, if the first network device sends a beacon request message to the first terminal device, but the first terminal device uses other methods instead of sending a probe request message through an identifiable random MAC address, the control end will not be able to identify the probe request message, and thus will not be able to obtain the signal strength indication and channel status message. In addition, the terminal device only sends an identifiable random MAC address to the network device during the connection process. The identifiable random MAC address does not change after the terminal device is connected to the network device. However, for the network architecture in Figure 1, the controller may periodically and non-periodically require the first terminal device to send a probe request message to collect signal strength indications and channel status messages. If the first terminal device uses the same identifiable random MAC address in multiple probe request messages, it will cause the problem of sniffing and tracking by third-party devices, and security will be reduced.
[0058] Based on this, the present application provides a signal transmission method, device and storage medium. The beacon request message in the signal transmission method provided in the embodiment of the present application carries identification information, and the identification information is added to the probe request message to be sent to the second network device. In addition, the identification information corresponds to the beacon request message, so different probe request messages carry different identification information. Therefore, in the process of beacon request message and probe request message, it is difficult for a third-party device to sniff and track the connection between the first terminal device and the network device, which greatly improves the security of the signal during transmission.
[0059] The present application will be further described below with reference to the accompanying drawings.
[0060] 2 is another system architecture diagram of a system for applying the signal transmission method provided in an embodiment of the present application. The system architecture includes a first network device, a second network device, and a first terminal device.
[0061] The first network device is a device that sends a beacon request message. The first network device communicates with the first terminal device in a wireless manner and exchanges data.
[0062] The first network device is a wireless network access device, also known as a wireless access point. It is the core device of a wireless local area network (WLAN). The first network device converts a wired network into a wireless network, allowing the first terminal device to connect to the network wirelessly. Furthermore, the first network device can connect multiple terminal devices simultaneously, providing high-speed and stable network services. The wireless network access device operates by converting wired network signals into wireless signals, which are then used to transmit data. In a wireless network, the wireless network access device acts as a relay station, receiving data from wireless devices and then transmitting it to the wired network. Furthermore, the wireless network access device can receive data from the wired network, converting the data into wireless signals, and transmitting it to the wireless device.
[0063] The first terminal device receives the beacon request message and adds the identification information in the beacon request message to the probe request message. The first terminal device can communicate with the first network device in a wireless manner and exchange data. The first terminal device also communicates with the second network device and sends a probe request message to the second network device on the working channel of the second network device.
[0064] A first terminal device is a device that inputs programs and data into a computer via communications facilities or receives computer output. It is typically located in a convenient location where it can connect to a remote computer using communications facilities. It primarily consists of a communication interface control device and dedicated or selected input and output devices. The first terminal device can be a computer, tablet, or other device.
[0065] The second network device receives the probe request message sent by the first terminal device, identifies the first terminal device based on the identification information in the probe request message, obtains signal parameter information corresponding to the first terminal device, and sends the signal parameter information corresponding to the first terminal device to the first network device. The second network device and the first network device are connected via a wired backhaul network or a wireless backhaul network and exchange data, and the second network device also communicates with the first terminal device.
[0066] It should be noted that the network architectures shown in Figures 1 and 2 can both implement the signal transmission method provided in the embodiments of the present application. In the network shown in Figure 1, the controller determines whether to recommend a candidate network device for connection to the first terminal device based on the signal parameter information of the first terminal device, while in the network shown in Figure 2, the first network device determines whether to recommend a candidate network device for connection to the first terminal device based on the signal parameter information of the first terminal device. Therefore, the system architecture of the system to which the signal transmission method is applied includes at least a first network device, a second network device, and a first terminal device.
[0067] It should be noted that the first network device and the second network device are just a general term, and the network architecture includes multiple first network devices and second network devices.
[0068] The system architecture and application scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Those skilled in the art will appreciate that with the evolution of the system architecture and the emergence of new application scenarios, the technical solutions provided in the embodiments of the present application are equally applicable to similar technical problems.
[0069] Those skilled in the art will understand that the system architecture shown in Figure 1 or Figure 2 does not constitute a limitation on the embodiments of the present application, and may include more or fewer components than shown in the figure, or a combination of certain components, or a different arrangement of components.
[0070] In the system architecture shown in FIG. 1 or FIG. 2 , each unit can respectively call its stored signal transmission program to execute the signal transmission method.
[0071] Based on the structure of the above system architecture, various embodiments of a signal transmission method of the present application are proposed.
[0072] 3 is a flow chart of a signal transmission method provided in an embodiment of the present application at a first terminal device. The signal transmission method provided in an embodiment of the present application is applied to a first terminal device, and the method includes but is not limited to the following steps:
[0073] Step S110: Receive a beacon request message sent by the first network device, wherein the beacon request message carries identification information, and the identification information is used to indicate that the first terminal device supports the random MAC address function and identifies the first terminal device.
[0074] Step S120: Add the identification information to the probe request message, and send the probe request message to the second network device.
[0075] It should be noted that the beacon request message of the embodiment of the present application carries identification information, and the identification information is added to the probe request message to be sent to the second network device. In addition, the identification information corresponds to the beacon request message, so different probe request messages carry different identification information. Therefore, in the process of beacon request messages and probe request messages, it is difficult for third-party devices to sniff and track the connection between the first terminal device and the network device, which greatly improves the security of the signal during transmission.
[0076] It should be noted that the identification information is used to indicate that the first terminal device supports the random MAC address function and identifies the first terminal device. Based on this identification information, the first terminal device can access the wireless network using the random MAC address, that is, connect to the first network device or the second network device. In addition, based on this identification information, the second network device can identify the first terminal device based on the received probe request message and obtain signal parameter information corresponding to the first terminal device.
[0077] It should be noted that identification information can be configured in the following ways: the first network device configures identification information for the first terminal device, i.e., the identification information is generated on the network side; the first terminal device configures identification information for itself and notifies the first network device, i.e., the identification information is generated on the terminal side; the first network device and the first terminal device each generate identification information locally according to the same rules. After the identification information is configured, the first network device can send a beacon request message carrying the identification information to the first terminal device. The first terminal device will then add the identification information to a probe request message and send a probe request message to the second network device.
[0078] It should be noted that the beacon request message and the probe request message are encrypted during transmission. Therefore, the identification information carried by the beacon request message and the probe request message cannot be sniffed and tracked by third-party devices.
[0079] It is understood that, referring to FIG4 , FIG4 is another flow chart of the signal transmission method provided in an embodiment of the present application at the first terminal device. After step S110 , the signal transmission method includes but is not limited to the following steps:
[0080] Step S130: When it is determined that the beacon request message meets the preset rejection condition, a rejection indication signaling is sent to the first network device, wherein the rejection indication signaling instructs the first terminal device to refuse to carry identification information in the detection request message.
[0081] The rejection conditions include at least one of the following: the information filling error of the beacon request message; the identification information carried by the beacon request message has a security risk; the first terminal device is occupied by other services.
[0082] It should be noted that when it is determined that the beacon request message meets the preset rejection conditions, the first terminal device sends a rejection indication signaling to the first network device, thereby rejecting the beacon request message that may contain identification information, thereby reducing the error rate during signal transmission and improving the efficiency of signal transmission.
[0083] It should be noted that there are various situations corresponding to errors in the information filling of the beacon request message. For example, when the field corresponding to the measurement mode is filled with 0, the measurement mode corresponding to the beacon request message is passive mode. When the field corresponding to the measurement mode is filled with 2, the measurement mode corresponding to the beacon request message is beacon table mode. However, this application needs to collect the signal parameter information of the first terminal device. The first network device sends a beacon request message to the first terminal device in a direction. The corresponding measurement mode is active mode, and the corresponding measurement mode field is 1. Therefore, when the field corresponding to the measurement mode is filled with 0 or 2, the information filling of the beacon request message is incorrect, the beacon request message meets the preset rejection condition, and the first terminal device sends a rejection indication signaling to the first network device.
[0084] It should be noted that when the identification information carried by the beacon request message poses a security risk, it may cause problems of sniffing and tracking by third-party devices during subsequent signal transmission, thereby affecting the security of signal transmission. Therefore, the first terminal device needs to send a rejection indication instruction to the first network device.
[0085] It should be noted that when the first terminal device is occupied by other services, such as low-latency services and peer-to-peer communications (P2P), the first terminal device cannot send a probe request message to the second network device and send a rejection indication signaling to the first network device. Otherwise, it may have an adverse impact on the services currently being executed by the first terminal device.
[0086] It should be noted that the rejection indication instruction may be included in the data frame, management frame or control frame sent by the first terminal device to the first network device. In addition, the first terminal device can also send a rejection indication instruction to the first network device through a beacon response message. The beacon response message corresponds to the beacon request message. When the first terminal device receives the beacon request message, it needs to send a beacon response message to the first network device to indicate to the first network device that the beacon request message has been received.
[0087] It can be understood that the beacon request message includes an optional element field, and the identification information is located in the optional element field.
[0088] It should be noted that, referring to Figure 5, the beacon request message includes an operating channel category (Operating Class) field, a channel number (Channel Number) field, a randomization interval (Randomization Interval) field, a measurement duration (Measurement Duration) field, a measurement mode (Measurement Mode) field, a basic service set identifier (BSSID) field, and an optional element (Optional Subelements) field. Among them, the measurement mode field is one byte (Octets), and the corresponding measurement mode can be selected according to the setting of the measurement mode field, 0 is passive mode, 1 is active mode, and 2 is beacon table mode. The operating channel category field is 1 byte, and the channel number is 1 byte. The combination of the two can specify the channel to be scanned. The randomization delay field and the measurement duration field are both 2 bytes, and the randomization delay is a waiting delay before the measurement starts. The basic service set identifier field is 6 bytes. The length of the optional element byte is variable and can be set as needed. The embodiment of the present application sets the identification information in the optional element field.
[0089] It can be understood that the probe request message includes a MAC header and a frame body, and the identification information is located in the MAC header or the frame body.
[0090] It should be noted that, referring to Figure 6, the probe request message includes frame control (Frame Control), duration (Duration), first address (Address1), second address (Address2), third address (Address3), sequence control (Sequence Control), high-speed throughput (HT Control), frame body (Frame Body), and frame check sequence (FCS). Among them, frame control, duration, first address, second address, third address, sequence control, and high-speed throughput are MAC headers, and identification information is stored in the MAC header or frame body.
[0091] It should be noted that the frame control is 2 bytes, the duration is 2 bytes, the first address is 6 bytes, the second address is 6 bytes, the third address is 6 bytes, the sequence control is 2 bytes, the high-speed throughput is 0 or 4 bytes, the length of the frame body is variable and can be set as needed, and the frame check sequence is 4 bytes.
[0092] It should be noted that the identification information can be MAC address information, Device ID information, or unencrypted / encrypted personally identifiable information (PII). Device ID information is the device identity information of the first terminal device. When the identification information is MAC address information, the identification information is located in the frame body. When the identification information is MAC address information, the identification information is located in the MAC header, specifically in the Transmitter Address (TA) or the second address (Address2).
[0093] It can be understood that, referring to Figure 7, the identification information includes at least one of an information element flag, length information and identity identification information, wherein the information element flag is used to uniquely identify the identification information, the length information is used to indicate the length of the identity identification information, and the identity identification information is used to uniquely identify the first terminal device.
[0094] It should be noted that the identification information includes at least one of an information element flag, length information, and identity information. The identity information is the information assigned to the first terminal device to indicate the sending of the probe request message, which can be used to uniquely identify the first terminal device. The length information is used to indicate the length of the identity information. When the length information value is 0, the identification information does not carry any identity information. The information element flag is used to uniquely identify the identification information. Each piece of identification information corresponds to an information element flag.
[0095] In addition, referring to Figure 8, Figure 8 is a flow chart of the signal transmission method provided in an embodiment of the present application at the first network device. The signal transmission method provided in an embodiment of the present application is applied to the first network device, and the method includes but is not limited to the following steps:
[0096] Step S210: Send a beacon request message to the first terminal device, wherein the beacon request message carries identification information, and the identification information is used to indicate that the first terminal device supports the random MAC address function and identifies the first terminal device.
[0097] It should be noted that the beacon request message sent by the first network device in the embodiment of the present application to the first terminal device carries identification information, and the identification information can indicate that the first terminal device supports the random MAC function. During the transmission of the beacon request message, it is difficult for a third-party device to sniff and track the connection between the first terminal device and the network device, which greatly improves the security of the signal during transmission.
[0098] It should be noted that step S210 corresponds to step S110, the first network device sends a beacon request message to the first terminal device, and the first terminal device receives the beacon request message from the first network device.
[0099] It should be noted that the identification information is used to indicate that the first terminal device supports the random MAC address function and identifies the first terminal device. Based on this identification information, the first terminal device can access the wireless network using the random MAC address, that is, connect to the first network device or the second network device. In addition, based on this identification information, the second network device can identify the first terminal device based on the received probe request message and obtain signal parameter information corresponding to the first terminal device.
[0100] It should be noted that the beacon request message is encrypted during transmission, so the identification information carried by the beacon request message and the probe request message cannot be sniffed and tracked by a third-party device.
[0101] It is understood that, referring to FIG. 9 , before step S210 , the signal transmission method further includes but is not limited to the following steps:
[0102] Step S220: Send a terminal signal parameter collection instruction to the second network device, wherein the terminal signal parameter collection instruction carries identification information.
[0103] It should be noted that before sending the beacon request message, the first network device and the second network device will both obtain a terminal signal parameter collection instruction to collect signal parameter information from the first terminal device and recommend other network devices for the first terminal device to connect to. The first network device can send the terminal signal parameter collection instruction to the second network device. The terminal signal parameter collection instruction carries identification information, so that during subsequent signal transmission, the first network device, the second network device, and the first terminal device can all recognize the identification information.
[0104] It is understood that, referring to FIG. 10 , after step S210 , the signal transmission method further includes but is not limited to the following steps:
[0105] Step S230: Receive a terminal signal parameter report sent by the second network device, wherein the terminal signal parameter report carries signal parameter information of the first terminal device.
[0106] It should be noted that after the second network device receives the detection request message from the first terminal device, it identifies the first terminal device based on the identification information and can obtain the signal parameter information corresponding to the first terminal device. The second network device can integrate the signal parameter information of the first terminal device to obtain a terminal signal parameter report. The first network device can analyze the terminal signal parameter report and then determine whether it is necessary to recommend other network devices available for connection to the first terminal device.
[0107] It should be noted that signal parameter information includes the Receive Signal Strength Indicator (RSSI) and Channel State Information (CSI). The RSSI indicates the strength of the received signal. Based on the RSSI, the link quality and whether to increase the broadcast transmission strength can be determined. RSSI technology is a positioning technology that measures the distance between the signal point and the receiving point by the strength of the received signal, and then performs positioning calculations based on the corresponding data. The channel state message is the channel property of the communication link. It describes the attenuation factor of the signal on each transmission path, that is, the value of each element in the channel gain matrix, such as signal scattering, environmental attenuation, distance attenuation, and other information. The channel state message enables the communication system to adapt to the current channel conditions and provides a guarantee for high-reliability and high-speed communication in multi-antenna systems.
[0108] It is understood that, referring to FIG. 11 , after step S210 , the signal transmission method further includes but is not limited to the following steps:
[0109] Step S240: Receive a rejection indication signaling sent by the first terminal device.
[0110] Step S250: Send a terminal signal parameter collection cancellation instruction to the second network device according to the rejection indication signaling, wherein the terminal signal parameter collection cancellation instruction carries identification information.
[0111] It should be noted that steps S240 to S250 correspond to step S130. When it is determined that the beacon request message meets the preset rejection conditions, the first terminal device sends a rejection indication instruction to the first network device. The first network device sends a terminal signal parameter collection cancellation instruction to the second network device based on the rejection indication instruction. The second network device cancels the terminal signal parameter collection cancellation instruction based on the received terminal signal parameter collection cancellation instruction, and the terminal signal parameter collection cancellation instruction carries identification information, so that the second network device can identify the terminal signal parameter collection cancellation instruction.
[0112] It should be noted that the first network device also cancels the terminal signal parameter collection instruction for the first terminal device.
[0113] It should be noted that after the first network device receives the rejection indication signaling sent by the first terminal device, if it is still necessary to obtain the signal parameter information of the first terminal device, when the rejection condition corresponding to the rejection indication signaling includes that there is a security risk in the identification information carried by the beacon request message, the identification information needs to be regenerated; when the rejection condition corresponding to the rejection indication signaling does not include that there is a security risk in the identification information carried by the beacon request message, the beacon request message can be resent to the first terminal device after a certain interval.
[0114] It can be understood that the beacon request message includes an optional element field, and the identification information is located in the optional element field.
[0115] It should be noted that, referring to Figure 5, the beacon request message includes an operating channel category (Operating Class) field, a channel number (Channel Number) field, a randomization interval (Randomization Interval) field, a measurement duration (Measurement Duration) field, a measurement mode (Measurement Mode) field, a basic service set identifier (BSSID) field, and an optional element (Optional Subelements) field. Among them, the measurement mode field is one byte (Octets), and the corresponding measurement mode can be selected according to the setting of the measurement mode field, 0 is passive mode, 1 is active mode, and 2 is beacon table mode. The operating channel category field is 1 byte, and the channel number is 1 byte. The combination of the two can specify the channel to be scanned. The randomization delay field and the measurement duration field are both 2 bytes, and the randomization delay is a waiting delay before the measurement starts. The basic service set identifier field is 6 bytes. The length of the optional element byte is variable and can be set as needed. The embodiment of the present application sets the identification information in the optional element field.
[0116] It can be understood that the probe request message includes a MAC header and a frame body, and the identification information is located in the MAC header or the frame body.
[0117] It should be noted that the probe request message includes frame control (Frame Control), duration (Duration), first address (Address1), second address (Address2), third address (Address3), sequence control (Sequence Control), high-speed throughput (HT Control), frame body (Frame Body), and frame check sequence (FCS). Among them, frame control, duration, first address, second address, third address, sequence control, and high-speed throughput are MAC headers, and identification information is stored in the MAC header or frame body.
[0118] It should be noted that the identification information can be MAC address information, Device ID information, or unencrypted / encrypted personally identifiable information (PII). Device ID information is the device identity information of the first terminal device. When the identification information is MAC address information, the identification information is located in the frame body. When the identification information is MAC address information, the identification information is located in the MAC portion, specifically in the Transmitter Address (TA) or the second address (Address2).
[0119] It can be understood that, referring to Figure 7, the identification information includes at least one of an information element flag, length information and identity identification information, wherein the information element flag is used to uniquely identify the identification information, the length information is used to indicate the length of the identity identification information, and the identity identification information is used to uniquely identify the first terminal device.
[0120] It should be noted that the identification information includes at least one of an information element flag, length information, and identity information. The identity information is the information assigned to the first terminal device to indicate the sending of the probe request message, which can be used to uniquely identify the first terminal device. The length information is used to indicate the length of the identity information. When the length information value is 0, the identification information does not carry any identity information. The information element flag is used to uniquely identify the identification information. Each piece of identification information corresponds to an information element flag.
[0121] In addition, referring to Figure 12, Figure 12 is a flow chart of the signal transmission method provided by the embodiment of the present application at the second network device. The signal transmission method provided by the embodiment of the present application is applied to the second network device, and the method includes but is not limited to the following steps:
[0122] Step S310: Receive a probe request message sent by the first terminal device, wherein the probe request message carries identification information, and the identification information is used to indicate that the first terminal device supports the random MAC address function and identifies the first terminal device.
[0123] Step S320: Identify the first terminal device according to the identification information, and obtain signal parameter information corresponding to the first terminal device.
[0124] Step S330: Send signal parameter information corresponding to the first terminal device to the first network device.
[0125] It should be noted that the probe request message of the embodiment of the present application carries identification information, and the identification information is used to indicate that the first terminal device supports the random MAC address function and identifies the first terminal device. According to the identification information, the second network device can identify the first terminal device and obtain the signal parameter information corresponding to the first terminal device, so as to send the signal parameter information corresponding to the first terminal device to the first network device. In addition, the identification information corresponds to the beacon request message, so different probe request messages carry different identification information. Therefore, in the process of the probe request message, it is difficult for a third-party device to sniff and track the connection between the first terminal device and the network device, such as the first network device and the second network device, which greatly improves the security of the signal during transmission.
[0126] It should be noted that the identification information is used to indicate that the first terminal device supports the random MAC address function and identifies the first terminal device. Based on this identification information, the first terminal device can access the wireless network using the random MAC address, that is, connect to the first network device or the second network device. In addition, based on this identification information, the second network device can identify the first terminal device based on the received probe request message and obtain signal parameter information corresponding to the first terminal device.
[0127] It should be noted that the second network device can identify the first terminal device based on the identification information in the detection request message and obtain the signal parameter information corresponding to the first terminal device. After the first network device receives the signal parameter information corresponding to the first terminal device from the second network device, it can determine whether to provide a candidate network device to the first terminal device based on the signal parameter information.
[0128] It should be noted that signal parameter information includes the Receive Signal Strength Indicator (RSSI) and Channel State Information (CSI). The RSSI indicates the strength of the received signal. Based on the RSSI, the link quality and whether to increase the broadcast transmission strength can be determined. RSSI technology is a positioning technology that measures the distance between the signal point and the receiving point by the strength of the received signal, and then performs positioning calculations based on the corresponding data. The channel state message is the channel property of the communication link. It describes the attenuation factor of the signal on each transmission path, that is, the value of each element in the channel gain matrix, such as signal scattering, environmental attenuation, distance attenuation, and other information. The channel state message enables the communication system to adapt to the current channel conditions and provides a guarantee for high-reliability and high-speed communication in multi-antenna systems.
[0129] It is understood that, referring to FIG. 13 , before step S310 , the signal transmission method further includes but is not limited to the following steps:
[0130] Step S340: Receive a terminal signal parameter collection instruction sent by the first network device, wherein the terminal signal parameter collection instruction carries identification information.
[0131] It should be noted that before sending the beacon request message, the first network device and the second network device will both obtain a terminal signal parameter collection instruction to collect signal parameter information from the first terminal device and recommend other network devices for connection to the first terminal device. The first network device can send the terminal signal parameter collection instruction to the second network device. The terminal signal parameter collection instruction carries identification information, so that during subsequent signal transmission, the first network device, the second network device, and the first terminal device can all recognize the identification information.
[0132] It is understood that, referring to FIG. 14 , after step S310 , the signal transmission method further includes but is not limited to the following steps:
[0133] Step S350: Receive a terminal signal parameter collection cancellation instruction sent by the first network device, and cancel obtaining the signal parameter information corresponding to the first terminal device according to the terminal signal parameter collection cancellation instruction.
[0134] It should be noted that step S340 corresponds to step S240 to step S250. The second network device cancels the terminal signal parameter collection cancellation instruction based on the terminal signal parameter collection cancellation instruction received from the first network device, and the terminal signal parameter collection cancellation instruction carries identification information, so that the second network device can identify the terminal signal parameter collection cancellation instruction.
[0135] It can be understood that, referring to FIG. 6 , the probe request message includes a MAC header and a frame body, and the identification information is located in the MAC header or the frame body.
[0136] It should be noted that the probe request message includes frame control (Frame Control), duration (Duration), first address (Address1), second address (Address2), third address (Address3), sequence control (Sequence Control), high-speed throughput (HT Control), frame body (Frame Body), and frame check sequence (FCS). Among them, frame control, duration, first address, second address, third address, sequence control, and high-speed throughput are MAC headers, and identification information is stored in the MAC header or frame body.
[0137] It should be noted that the identification information can be MAC address information, Device ID information, or unencrypted / encrypted personally identifiable information (PII). Device ID information is the device identity information of the first terminal device. When the identification information is MAC address information, the identification information is located in the frame body. When the identification information is MAC address information, the identification information is located in the MAC portion, specifically in the Transmitter Address (TA) or the second address (Address2).
[0138] It can be understood that, referring to Figure 7, the identification information includes at least one of an information element flag, length information and identity identification information, wherein the information element flag is used to uniquely identify the identification information, the length information is used to indicate the length of the identity identification information, and the identity identification information is used to uniquely identify the first terminal device.
[0139] It should be noted that the identification information includes at least one of an information element flag, length information, and identity information. The identity information is the information assigned to the first terminal device to indicate the sending of the probe request message, which can be used to uniquely identify the first terminal device. The length information is used to indicate the length of the identity information. When the length information value is 0, the identification information does not carry any identity information. The information element flag is used to uniquely identify the identification information. Each piece of identification information corresponds to an information element flag.
[0140] It can be understood that, with reference to Figure 15, Figure 15 is a schematic diagram of the signal transmission method provided in an embodiment of the present application. For a network with a controller, the controller first needs to send a terminal signal parameter collection instruction to the first network device and the second network device. The terminal signal parameter collection instruction carries identification information. The first network device and the second network device synchronize the identification information so that in the subsequent signal transmission process, the first network device, the second network device and the first terminal device can all identify the identification information. The first network device sends a beacon request message to the first terminal device. The beacon request message carries identification information. The identification information is used to indicate that the first terminal device supports the random MAC address function and identifies the first terminal device. The first terminal device adds the identification information to the probe request message so that the probe request message carries the identification information and sends the probe request message to the second network device. The second network device identifies the first terminal device based on the identification information, obtains the signal parameter information corresponding to the first terminal device, and sends the signal parameter information to the controller in the form of a terminal signal parameter report. The controller determines whether to recommend a candidate connection network device to the first terminal device based on the received signal parameter information, i.e., the received signal strength indication and the channel status message.
[0141] It can be understood that, with reference to Figure 16, Figure 16 is another schematic diagram of the signal transmission method provided in an embodiment of the present application. For a network without a controller, a terminal signal parameter collection instruction is first sent to the second network device through the first network device, and the terminal signal parameter collection instruction carries identification information so that in the subsequent signal transmission process, the first network device, the second network device and the first terminal device can all recognize the identification information. The first network device sends a beacon request message to the first terminal device, and the beacon request message carries identification information. The identification information is used to indicate that the first terminal device supports the random MAC address function and identifies the first terminal device. The first terminal device adds the identification information to the probe request message so that the probe request message carries the identification information, and sends the probe request message to the second network device. The second network device identifies the first terminal device based on the identification information, obtains signal parameter information corresponding to the first terminal device, and sends the signal parameter information to the first network device in the form of a terminal signal parameter report, where the signal parameter information includes a received signal strength indication and a channel status message. Based on information analysis of the received signal strength indication and the channel status message, the first network device sends a basic service set transition management request (BSS Transition Management Request, BTM) to the first terminal device. The basic service set transition management request carries information about the second network device, that is, the first network device recommends the second network device to the first terminal device. The first terminal device receives the recommendation and establishes a connection with the second network device through a basic service set transition management response corresponding to the basic service set transition management request and an association request.
[0142] It can be understood that, with reference to Figure 17, Figure 17 is another schematic diagram of the signal transmission method provided by an embodiment of the present application. Figure 17 shows the general process of the signal transmission method when the beacon request message meets the preset rejection condition in a network without a controller. First, a terminal signal parameter collection instruction is sent to the second network device by the first network device. The terminal signal parameter collection instruction carries identification information so that in the subsequent signal transmission process, the first network device, the second network device and the first terminal device can all identify the identification information. The first network device sends a beacon request message to the first terminal device. The beacon request message carries identification information. The identification information is used to indicate that the first terminal device supports the random MAC address function and identifies the first terminal device. However, when it is determined that the beacon request message meets the preset rejection condition, the first terminal device sends a rejection indication instruction to the first network device. The rejection condition includes at least one of the following: the information filling error of the beacon request message, the identification information carried by the beacon request message has a security risk, and the first terminal device is occupied by other services. After receiving the rejection indication instruction, the first network device sends a terminal signal parameter collection cancellation instruction to the second network device. The terminal signal parameter collection cancellation instruction carries identification information. According to the terminal signal parameter collection cancellation instruction, the acquisition of the signal parameter information corresponding to the first terminal device is canceled.
[0143] In addition, identification information can be configured in a variety of ways. For example, referring to Figure 18, the first network device configures identification information for the first terminal device, that is, the identification information is generated on the network side. It can be further described as follows: during the process of establishing a connection between the first terminal device and the first network device, that is, the first connection, the first network device assigns identification information to the first terminal device. In subsequent connection processes, such as the second connection, the first terminal device using a random MAC address uses the identification information to connect, so that the first network device can identify the device as the first terminal device with which a connection has been established before. Referring to Figure 19, the first terminal device configures identification information for itself and informs the first network device, that is, the identification information is generated on the terminal side. It can be further described as follows: during the process of establishing a connection between the first terminal device and the first network device, that is, the first connection, the first terminal device assigns a random MAC address to itself, that is, the identification information, and informs the first network device through frame interaction. In subsequent connection processes, such as the second connection, the first terminal device can use the identification information to establish a connection with the first network device. The first network device can identify the device as the first terminal device with which a connection has been established before through the identification information. 20 , the first network device and the first terminal device each generate identification information locally according to the same rules. This can be further described as, during the process of the first terminal device establishing a connection with the first network device, i.e., the first connection, the first terminal device and the first network device respectively generate the same random MAC address, i.e., identification information. The first terminal device uses the identification information to interact with the first network device in frames, and the first network device identifies the device as the first terminal device through the identification information. In addition, the first terminal device or the first network device may generate and configure multiple identification information during a single connection. It should be noted that the first network device is just a general term, and the network architecture includes multiple first network devices. The first terminal device can connect to the same first network device or different first network devices in different connection processes.
[0144] It should be noted that the first terminal device receives a beacon request message sent by the first network device, and the beacon request message carries identification information. The first terminal device is used to indicate that the first terminal device supports the random MAC address function and identifies the first terminal device. After that, the first terminal device adds the identification information to the probe request message and sends the probe request information to the second network device. The beacon request message of the embodiment of the present application carries identification information, and the identification information is added to the probe request message to be sent to the second network device. In addition, the identification information corresponds to the beacon request message, so different probe request messages carry different identification information. Therefore, in the process of the beacon request message and the probe request message, it is difficult for a third-party device to sniff and track the connection between the first terminal device and the network device, which greatly improves the security of the signal during transmission.
[0145] In addition, referring to Figure 21, an embodiment of the present application also provides an electronic device, including one or more processors; a memory, on which one or more programs are stored, when the one or more programs are executed by one or more processors, the one or more processors implement: the signal transmission method as described in steps S110 to S120, or, the signal transmission method as described in step S210, or, the signal transmission method as described in steps S310 to S330.
[0146] The processor and the memory may be connected via a bus or other means.
[0147] The memory, as a non-transient computer-readable storage medium, can be used to store non-transient software programs and non-transient computer executable programs. In addition, the memory may include a high-speed random access memory and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some embodiments, the memory may optionally include a memory remotely arranged relative to the processor, and these remote memories may be connected to the processor via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0148] The non-transient software programs and instructions required to implement the signal transmission method of the above-mentioned embodiment are stored in the memory. When executed by the processor, the signal transmission method of the above-mentioned embodiment is executed, for example, the signal transmission method described in method steps S110 to S120 in Figure 3 described above is executed, or the signal transmission method described in method step S210 in Figure 8 described above is executed, or the signal transmission method described in method steps S310 to S330 in Figure 12 described above is executed.
[0149] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, i.e., they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of this embodiment.
[0150] In addition, one embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions. The computer-executable instructions are executed by a processor or controller, enabling the above-mentioned processor to execute the signal transmission method in the above-mentioned embodiment.
[0151] Those skilled in the art will appreciate that all or some of the steps and systems in the method disclosed above can be implemented as software, firmware, hardware, and appropriate combinations thereof. Some physical components or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software can be distributed on a computer-readable medium, and the computer-readable medium can include computer storage media (or non-transitory media) and communication media (or temporary media). As known to those skilled in the art, the term computer storage media is included in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data) and is volatile and non-volatile, removable, and non-removable. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory, or other memory technology, CD-ROM, digital versatile disks (DVD), or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage, or other magnetic storage media, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, as is well known to those skilled in the art, communication media typically embodies computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0152] The embodiments of the present application have been described in detail above with reference to the accompanying drawings. However, the present application is not limited to the above embodiments. Various modifications can be made within the scope of knowledge possessed by ordinary technicians in the relevant technical field without departing from the purpose of the present application. In addition, the embodiments of the present application and the features of the embodiments can be combined with each other unless there is a conflict.
Claims
1. A signal transmission method, the method being applied to a first terminal device, the method comprising: Receiving a beacon request message sent by a first network device, wherein the beacon request message carries identification information, and the identification information is used to indicate that the first terminal device supports a random MAC address function and identifies the first terminal device; The identification information is added to a probe request message, and the probe request message is sent to the second network device.
2. The method according to claim 1, wherein: After receiving the beacon request message sent by the first network device, the method further includes: In the case of determining that the beacon request message meets the preset rejection condition, sending a rejection indication signaling to the first network device, wherein the rejection indication signaling indicates that the first terminal device refuses to carry the identification information in the probe request message; The rejection condition includes at least one of the following: The beacon request message has information filling errors; The identification information carried by the beacon request message has security risks; The first terminal device is occupied by other services.
3. The method according to any one of claims 1-2, wherein: The beacon request message includes an optional element field, and the identification information is located in the optional element field.
4. The method according to any one of claims 1-2, wherein: The probe request message includes a MAC header and a frame body, and the identification information is located in the MAC header or the frame body.
5. The method according to any one of claims 1-2, wherein: The identification information includes at least one of an information element flag, length information and identity information, wherein the information element flag is used to uniquely identify the identification information, the length information is used to indicate the length of the identity information, and the identity information is used to uniquely identify the first terminal device.
6. A signal transmission method, the method being applied to a first network device, the method comprising: A beacon request message is sent to a first terminal device, wherein the beacon request message carries identification information, and the identification information is used to indicate that the first terminal device supports a random MAC address function and identifies the first terminal device.
7. The method according to claim 6, wherein: Before sending the beacon request message to the first terminal device, the method further includes: A terminal signal parameter collection instruction is sent to the second network device, wherein the terminal signal parameter collection instruction carries the identification information.
8. The method according to claim 7, wherein: After sending the beacon request message to the first terminal device, the method further includes: Receive a terminal signal parameter report sent by a second network device, wherein the terminal signal parameter report carries signal parameter information of the first terminal device.
9. The method according to claim 7, wherein: After sending the beacon request message to the first terminal device, the method further includes: Receiving a rejection indication signaling sent by the first terminal device; According to the rejection indication signaling, a terminal signal parameter collection cancellation instruction is sent to the second network device, wherein the terminal signal parameter collection cancellation instruction carries the identification information.
10. The method according to any one of claims 6 to 9, wherein: The beacon request message includes an optional element field, and the identification information is located in the optional element field.
11. The method according to any one of claims 6 to 9, wherein: The identification information includes at least one of an information element flag, length information and identity information, wherein the information element flag is used to uniquely identify the identification information, the length information is used to indicate the length of the identity information, and the identity information is used to uniquely identify the first terminal device.
12. A signal transmission method, the method being applied to a second network device, the method comprising: Receiving a probe request message sent by a first terminal device, wherein the probe request message carries identification information, and the identification information is used to indicate that the first terminal device supports a random MAC address function and identifies the first terminal device; Identify the first terminal device according to the identification information, and obtain signal parameter information corresponding to the first terminal device; Send signal parameter information corresponding to the first terminal device to the first network device.
13. The method according to claim 12, wherein: Before receiving the detection request message sent by the first terminal device, the method further includes: Receive a terminal signal parameter collection instruction sent by the first network device, wherein the terminal signal parameter collection instruction carries the identification information.
14. The method according to claim 13, wherein: After receiving the detection request message sent by the first terminal device, the method further includes: Receive a terminal signal parameter collection cancellation instruction sent by the first network device, and cancel obtaining the signal parameter information corresponding to the first terminal device according to the terminal signal parameter collection cancellation instruction.
15. The method according to any one of claims 12 to 14, wherein: The probe request message includes a MAC header and a frame body, and the identification information is located in the MAC header or the frame body.
16. The method according to any one of claims 12 to 14, wherein: The identification information includes at least one of an information element flag, length information and identity information, wherein the information element flag is used to uniquely identify the identification information, the length information is used to indicate the length of the identity information, and the identity information is used to uniquely identify the first terminal device.
17. An electronic device comprising: one or more processors; A memory having one or more programs stored thereon, when the one or more programs are executed by the one or more processors, the one or more processors implement: The signal transmission method according to any one of claims 1 to 5; or The signal transmission method according to any one of claims 6 to 11; or A signal transmission method as described in any one of claims 12 to 16.
18. A computer-readable storage medium having a computer program stored thereon, wherein when the program is executed by a processor, the program implements: The signal transmission method according to any one of claims 1 to 5; or The signal transmission method according to any one of claims 6 to 11; or A signal transmission method as described in any one of claims 12 to 16.
Citation Information
Patent Citations
Method and system for connecting intelligent device to network
CN104540237A
Methods, device and computer-readable medium for protecting mac addresses
CN112369100A
Methods and procedures for dynamic mac address distribution in IEEE 802.11 networks
CN112602345A
Infrastructure coordinated media access control address assignment
US20180070226A1
Wireless communication method, station device, and access point device
WO2023004601A1
