Signal transmission method and device and storage medium
By carrying identification information in beacon request message and detection request message, the low security problem caused by the terminal device using a fixed MAC address is solved, and the security of the terminal device and network device connection is improved.
Patent Information
- Application Number
- CN202310795253.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-30
- Publication Date
- 2024-12-31
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 CN119232812A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and in particular to a signal transmission method, device and storage medium. Background Art
[0002] During the signal transmission process, the terminal device usually uses a unique fixed MAC address to establish a connection with the network device. The identification and authentication technology based on the fixed MAC of the device has been widely used in the field of wireless transmission. However, the use of fixed MAC addresses can easily lead to third-party devices using MAC address sniffing technology to track and locate the connection between the terminal device and the network device, which is extremely low in security. Summary of the invention
[0003] The embodiments of the present application provide a signal transmission method, device and storage medium, which can improve the security of signals during transmission.
[0004] In a first aspect, an embodiment of the present application provides a signal transmission method, which is applied to a first terminal device, and the method includes:
[0005] 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;
[0006] The identification information is added to a probe request message, and the probe request message is sent to the second network device.
[0007] In a second aspect, an embodiment of the present application provides a signal transmission method, which is applied to a first network device, and the method includes:
[0008] 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.
[0009] In a third aspect, an embodiment of the present application provides a signal transmission method, which is applied to a second network device, and the method includes:
[0010] 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;
[0011] Identify the first terminal device according to the identification information, and obtain signal parameter information corresponding to the first terminal device;
[0012] Send signal parameter information corresponding to the first terminal device to the first network device.
[0013] In a fourth aspect, an embodiment of the present application provides an electronic device, including:
[0014] one or more processors;
[0015] 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:
[0016] The signal transmission method as described in the first aspect; or,
[0017] The signal transmission method as described in the second aspect; or,
[0018] The signal transmission method as described in the third aspect.
[0019] 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:
[0020] The signal transmission method as described in the first aspect; or,
[0021] The signal transmission method as described in the second aspect; or,
[0022] The signal transmission method as described in the third aspect.
[0023] The 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.
[0024] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or related technical descriptions will be briefly introduced below. 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 creative labor.
[0026] Figure 1 It is a system architecture diagram of a system to which the signal transmission method provided in the embodiment of the present application is applied;
[0027] Figure 2 is another system architecture diagram of a system to which the signal transmission method provided in an embodiment of the present application is applied;
[0028] Figure 3 is a flow chart of a signal transmission method provided in an embodiment of the present application at a first terminal device;
[0029] Figure 4 is another flow chart of the signal transmission method provided in an embodiment of the present application at a first terminal device;
[0030] Figure 5 It is a structural diagram of a beacon message request of a signal transmission method provided in an embodiment of the present application;
[0031] Figure 6 It is a structural diagram of a detection message request of a signal transmission method provided in an embodiment of the present application;
[0032] Figure 7 It is a schematic diagram of the structure of identification information of the signal transmission method provided in an embodiment of the present application;
[0033] Figure 8 is a flow chart of a signal transmission method provided by an embodiment of the present application at a first user equipment;
[0034] Fig. 9 is a flowchart of terminal signal parameter collection at a first user equipment in a signal transmission method provided in an embodiment of the present application;
[0035] Fig.10 is a flowchart of a reception interruption signal parameter report at a first user equipment of a signal transmission method provided in an embodiment of the present application;
[0036] Fig.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;
[0037] Fig.12 is a flow chart of a signal transmission method provided by an embodiment of the application at a second user equipment;
[0038] Fig.13 is another flow chart of the signal transmission method provided by the embodiment of the application at the second user equipment;
[0039] Fig.14 is a flowchart of canceling acquisition of signal parameter information at a second user equipment in a signal transmission method provided in an embodiment of the application;
[0040] Fig.15 A schematic diagram of a signal transmission method provided in an embodiment of the present application;
[0041] Fig.16 Another schematic diagram of the signal transmission method provided in an embodiment of the present application;
[0042] Fig.17 Another schematic diagram of the signal transmission method provided in an embodiment of the present application;
[0043] Fig.18 is a schematic diagram of the configuration of identification information provided in an embodiment of the present application;
[0044] Fig.19 is another schematic diagram of the configuration of identification information provided in an embodiment of the present application;
[0045] Fig. 20 is another schematic diagram of the configuration of identification information provided in an embodiment of the present application;
[0046] Fig.21 It 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
[0047] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.
[0048] It should be noted that although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in a different order than that in the flowchart. The terms "first", "second", etc. in the specification, claims and the above drawings are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.
[0049] It should also be understood that the references to "one embodiment" or "some embodiments" described in the specification 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 statements "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 mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0050] In the description of this application, greater than, less than, exceed, etc. are understood to exclude the number itself, and above, below, within, etc. are understood to include the number itself. If there is a description of first and second, it is only for the purpose of distinguishing the technical features, and it cannot be understood as indicating or implying the 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 orientation description, such as up, down, front, back, left, right, etc., the orientation or position relationship indicated is based on the orientation or position relationship shown in the drawings, which 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.
[0051] In the description of the embodiments of the present application, unless otherwise clearly defined, terms such as setting, installing, connecting, etc. should be understood in a broad sense, and technicians 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.
[0052] Reference Figure 1 , Figure 1The system architecture diagram of the signal transmission method provided in the embodiment of the present application is a system architecture 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 detection request message on the channel where the second network device works. The second terminal device can collect the received signal strength indication (Receive Signal Strength Indicator, RSSI) and the channel state message (Channel State Information, CSI) according to the received detection 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.
[0053] During the signal transmission process, the terminal device usually uses a unique fixed MAC address to establish a connection with the network device. The identification and authentication technology based on the fixed MAC of the device has been widely used in the field of wireless transmission. For example, the access control (Access Control) and device connection control (Client Steering) based on the device MAC address have been written into the Wi-Fi Alliance (WFA, Wi-Fi Alliance) EasyMesh standard and the white paper of the Wi-Fi Broadband Alliance (WBA, Wi-Fi Broadband Alliance). However, the use of fixed MAC addresses can easily lead to third-party devices using MAC address sniffing technology to track and locate the connection between the terminal device and the network device, which is extremely low in security.
[0054] To solve this problem, the prior art uses a random MAC address (RMA) 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 detection 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 Figure 1In the EasyMesh network, 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 using a recognizable random MAC address to send a probe request message, the control end will not be able to recognize 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 a recognizable random MAC address to the network device during the connection process. The recognizable random MAC address will not change after the terminal device is connected to the network device, but for Figure 1 In the network architecture, 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 sniffing and tracking by third-party devices, reducing security.
[0055] 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 detection request message to be sent to the second network device. In addition, the identification information corresponds to the beacon request message, so different detection request messages carry different identification information. Therefore, in the process of beacon request message and detection 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.
[0056] The present application will be further described below in conjunction with the accompanying drawings.
[0057] Reference Figure 2 , Figure 2 This is another system architecture diagram of a system to which the signal transmission method provided in the embodiment of the present application is applied. The system architecture includes a first network device, a second network device and a first terminal device.
[0058] 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.
[0059] The first network device is a wireless network access device, also known as a wireless access point, which is the core device of the wireless local area network. The first network device can convert a wired network into a wireless network, so that the first terminal device can be connected to the network wirelessly. In addition, the first network device can realize the simultaneous connection of multiple terminal devices and provide high-speed and stable network services. The working principle of the wireless network access device is to convert the wired network signal into a wireless signal and then transmit the data through the wireless signal. In a wireless network, the wireless network access device plays the role of a transfer station, which receives data from the wireless device and then transmits the data to the wired network. At the same time, the wireless network access device can also receive data from the wired network, and then convert the data into a wireless signal and transmit it to the wireless device.
[0060] The first terminal device receives the beacon request message and adds the identification information in the beacon request message to the detection request message. The first terminal device can communicate with the first network device in a wireless manner and exchange data, and the first terminal device also communicates with the second network device and sends a detection request message to the second network device on the working channel of the second network device.
[0061] The first terminal device is a device that inputs programs and data into a computer via communication facilities or receives computer output processing results. The first terminal device is usually set up in a convenient place where it can use communication facilities to connect to a remote computer for work. It is mainly composed of a communication interface control device and a dedicated or selected input and output device. The first terminal device can be a computer, tablet, network and other devices.
[0062] The second network device receives the detection request message sent by the first terminal device, identifies the first terminal device according to the identification information in the detection request message, obtains the 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 is connected to the first network device through a wired backhaul network or a wireless backhaul network, and exchanges data, and the second network device also communicates with the first terminal device.
[0063] It should be noted that Figure 1 as well as Figure 2 The network architecture shown can implement the signal transmission method provided in the embodiments of the present application. Figure 1 In the network shown in FIG. 1 , the controller determines whether to recommend a candidate connection network device to the first terminal device based on the signal parameter information of the first terminal device. Figure 2In the network shown, the first network device determines whether to recommend a candidate connection network device 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 the first network device, the second network device and the first terminal device.
[0064] 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.
[0065] 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.
[0066] It can be understood by those skilled in the art that Figure 1 or Figure 2 The system architecture shown in the figure 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.
[0067] exist Figure 1 or Figure 2 In the system architecture shown, each unit can respectively call its stored signal transmission program to execute the signal transmission method.
[0068] Based on the structure of the above system architecture, various embodiments of a signal transmission method of the present application are proposed.
[0069] Reference Figure 3 , Figure 3 The signal transmission method provided in the embodiment of the present application is applied to the first terminal device, and the method includes but is not limited to the following steps:
[0070] 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.
[0071] Step S120: Add the identification information to the detection request message, and send the detection request message to the second network device.
[0072] 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 detection request message to be sent to the second network device. In addition, the identification information corresponds to the beacon request message, so different detection request messages carry different identification information. Therefore, in the process of beacon request messages and detection 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.
[0073] 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. According to the identification information, the first terminal device can access the wireless network by means of a random MAC address, that is, connect to the first network device or the second network device. In addition, according to the identification information, the second network device can identify the first terminal device according to the received detection request message and obtain the signal parameter information corresponding to the first terminal device.
[0074] It should be noted that the identification information can be configured in the following ways: the first network device configures the identification information for the first terminal device, that is, the identification information is generated on the network side; the first terminal device configures the identification information for itself and informs the first network device, that is, 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 adds the identification information to the detection request message, and sends a detection request message to the second network device.
[0075] It should be noted that the beacon request message and the probe request message are 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.
[0076] It is understandable that, referring to Figure 4 , Figure 4 is another flow chart of the signal transmission method provided in the 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:
[0077] 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 indicates that the first terminal device refuses to carry identification information in the detection request message.
[0078] The rejection conditions include at least one of the following: the information filling of the beacon request message is wrong; the identification information carried by the beacon request message has a security risk; the first terminal device is occupied by other services.
[0079] 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.
[0080] It should be noted that there are various situations corresponding to the information filling errors 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 the passive mode. When the field corresponding to the measurement mode is filled with 2, the measurement mode corresponding to the beacon request message is the 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 directional manner. The corresponding measurement mode is the 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 wrong, the beacon request message meets the preset rejection condition, and the first terminal device sends a rejection indication signaling to the first network device.
[0081] It should be noted that when the identification information carried by the beacon request message poses a security risk, it may cause sniffing and tracking problems 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.
[0082] 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 (PeerToPeer, P2P), the first terminal device cannot send a detection request message to the second network device and send a rejection indication signaling to the first network device. Otherwise, it may cause an adverse impact on the services currently being executed by the first terminal device.
[0083] 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.
[0084] 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.
[0085] It should be noted that, refer to Figure 5, the beacon request message includes an operating channel category field, a channel number field, a randomization interval field, a measurement duration field, a 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.
[0086] 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.
[0087] It should be noted that, refer to Figure 6 The detection 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 (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.
[0088] 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.
[0089] It should be noted that the identification information may be MAC address information, Device ID information, or unencrypted / encrypted personally identifiable information (PII) information. 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, and may be located in the transmitter address (TA) or the second address (Address2).
[0090] It is understandable that, referring to Figure 7 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.
[0091] 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 for indicating the information in the detection 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 value of the length information is 0, the identification information does not carry any identity information. The information element flag is used to uniquely identify the identification information, and each piece of identification information corresponds to an information element flag.
[0092] In addition, refer to Figure 8 , Figure 8 The signal transmission method provided by the embodiment of the present application is applied to the first network device, and the method includes but is not limited to the following steps:
[0093] 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.
[0094] 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.
[0095] 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.
[0096] 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. According to the identification information, the first terminal device can access the wireless network by means of a random MAC address, that is, connect to the first network device or the second network device. In addition, according to the identification information, the second network device can identify the first terminal device according to the received detection request message and obtain the signal parameter information corresponding to the first terminal device.
[0097] 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.
[0098] It is understandable that, referring to Fig. 9 Before step S210, the signal transmission method further includes but is not limited to the following steps:
[0099] Step S220: Send a terminal signal parameter collection instruction to the second network device, wherein the terminal signal parameter collection instruction carries identification information.
[0100] It should be noted that before the beacon request message is sent, the first network device and the second network device will obtain the terminal signal parameter collection instruction to collect the signal parameter information of the first terminal device and recommend other network devices for the first terminal device to connect. The first network device can send the terminal signal parameter collection instruction to the second 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.
[0101] It is understandable that, referring to Fig.10 After step S210, the signal transmission method further includes but is not limited to the following steps:
[0102] 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.
[0103] 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 is able to obtain the signal parameter information corresponding to the first terminal device. The second network device is able to integrate the signal parameter information of the first terminal device to obtain a terminal signal parameter report. The first network device is able to analyze the terminal signal parameter report and then determine whether it is necessary to recommend other network devices that can be connected to the first terminal device.
[0104] It should be noted that the signal parameter information includes the received signal strength indication (RSSI) and the channel state information (CSI). The RSSI is an indication of the strength of the received signal. According to the RSSI, the link quality and whether to increase the broadcast transmission strength can be determined. The RSSI technology is a positioning technology that determines 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 can enable the communication system to adapt to the current channel conditions and provide a guarantee for high-reliability and high-speed communication in a multi-antenna system.
[0105] It is understandable that, referring to Fig.11 After step S210, the signal transmission method further includes but is not limited to the following steps:
[0106] Step S240: Receive a rejection indication signaling sent by the first terminal device.
[0107] 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.
[0108] 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.
[0109] It should be noted that the first network device also cancels the terminal signal parameter collection instruction for the first terminal device.
[0110] It should be noted that after the first network device receives the rejection indication signaling sent by the first terminal device, if it is 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, it is necessary to regenerate the identification information; 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.
[0111] 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.
[0112] It should be noted that, refer to Figure 5 , the beacon request message includes an operating channel category field, a channel number field, a randomization interval field, a measurement duration field, a 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.
[0113] 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.
[0114] It should be noted that the detection 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 (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.
[0115] It should be noted that the identification information may be MAC address information, Device ID information, or unencrypted / encrypted personally identifiable information (PII) information. Device ID information is the device identification 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 part, specifically in the transmitter address (TA) or the second address (Address2).
[0116] It is understandable that, referring to Figure 7 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.
[0117] 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 for indicating the information in the detection 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 value of the length information is 0, the identification information does not carry any identity information. The information element flag is used to uniquely identify the identification information, and each piece of identification information corresponds to an information element flag.
[0118] In addition, refer to Fig.12 , Fig.12 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:
[0119] Step S310: Receive a detection request message sent by a first terminal device, wherein the detection 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.
[0120] Step S320: Identify the first terminal device according to the identification information, and obtain signal parameter information corresponding to the first terminal device.
[0121] Step S330: Send signal parameter information corresponding to the first terminal device to the first network device.
[0122] 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 the transmission process.
[0123] 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. According to the identification information, the first terminal device can access the wireless network by means of a random MAC address, that is, connect to the first network device or the second network device. In addition, according to the identification information, the second network device can identify the first terminal device according to the received detection request message and obtain the signal parameter information corresponding to the first terminal device.
[0124] 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.
[0125] It should be noted that the signal parameter information includes the received signal strength indication (RSSI) and the channel state information (CSI). The RSSI is an indication of the strength of the received signal. According to the RSSI, the link quality and whether to increase the broadcast transmission strength can be determined. The RSSI technology is a positioning technology that determines 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 can enable the communication system to adapt to the current channel conditions and provide a guarantee for high-reliability and high-speed communication in a multi-antenna system.
[0126] It is understandable that, referring to Fig.13 Before step S310, the signal transmission method further includes but is not limited to the following steps:
[0127] 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.
[0128] It should be noted that before the beacon request message is sent, the first network device and the second network device will obtain the terminal signal parameter collection instruction to collect the signal parameter information of the first terminal device so as to recommend other network devices available for connection to the first terminal device. The first network device can send the terminal signal parameter collection instruction to the second 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.
[0129] It is understandable that, referring to Fig.14 After step S310, the signal transmission method further includes but is not limited to the following steps:
[0130] Step S350: receiving a terminal signal parameter collection cancellation instruction sent by the first network device, and canceling acquisition of signal parameter information corresponding to the first terminal device according to the terminal signal parameter collection cancellation instruction.
[0131] 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.
[0132] It is understandable that, referring to Figure 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.
[0133] It should be noted that the detection 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 (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.
[0134] It should be noted that the identification information may be MAC address information, Device ID information, or unencrypted / encrypted personally identifiable information (PII) information. Device ID information is the device identification 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 part, specifically in the transmitter address (TA) or the second address (Address2).
[0135] It is understandable that, referring to Figure 7 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.
[0136] 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 for indicating the information in the detection 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 value of the length information is 0, the identification information does not carry any identity information. The information element flag is used to uniquely identify the identification information, and each piece of identification information corresponds to an information element flag.
[0137] It is understandable that, referring to Fig.15 , Fig.15 A schematic diagram of a signal transmission method provided by 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 a first network device and a second network device, and 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, 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 detection request message so that the detection request message carries the identification information, and sends the detection request message to the second network device. The second network device identifies the first terminal device according to 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, that is, the received signal strength indication and the channel status message.
[0138] It is understandable that, referring to Fig.16 , Fig.16Another schematic diagram of the signal transmission method provided by an embodiment of the present application. For a network without a controller, a terminal signal parameter collection instruction is first sent to a second network device through a 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 according to 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, wherein 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 of 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.
[0139] It is understandable that, referring to Fig.17 , Fig.17 Another schematic diagram of the signal transmission method provided in an embodiment of the present application. Fig.17The general process of the signal transmission method when the beacon request message meets the preset rejection condition is shown in a network without a controller. First, a terminal signal parameter collection instruction is sent to the second network device through 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 cancelled.
[0140] In addition, the identification information can be configured in a variety of ways, for example, by referring to Fig.18 , the first network device configures identification information for the first terminal device, that is, the identification information is generated on the network side, which can be further described as, in 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 allocates identification information to the first terminal device, and in the subsequent connection process, 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 that has established a connection before. Fig.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 that 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 itself a random MAC address, that is, identification information, and informs the first network device through frame interaction. In the subsequent connection process, 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 that has established a connection before through the identification information. Fig. 20, the first network device and the first terminal device each generate identification information locally according to the same rules, which can be further described as, in 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., the identification information, and the first terminal device uses the identification information to interact with the first network device for 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 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.
[0141] 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, which is used by the first terminal device 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 detection request message and sends the detection 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 detection request message to be sent to the second network device. In addition, the identification information corresponds to the beacon request message, so different detection request messages carry different identification information. Therefore, in the process of the beacon request message and the detection 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.
[0142] In addition, refer to Fig.21 The 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, and 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.
[0143] The processor and the memory may be connected via a bus or other means.
[0144] 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 disposed 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.
[0145] The non-transient software program and instructions required to implement the control method of the fuel cell system of the above embodiment are stored in the memory. When executed by the processor, the signal transmission method of the above embodiment is executed, for example, the above described Figure 3 The signal transmission method described in steps S110 to S120 of the method, or executing the signal transmission method described above Figure 8 The signal transmission method described in step S210 of the method, or executing the signal transmission method described above Fig.12 The signal transmission method described in method steps S310 to S330.
[0146] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0147] In addition, an 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, so that the above-mentioned processor can execute the signal transmission method in the above-mentioned embodiment.
[0148] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, 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 may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that 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.
[0149] The embodiments of the present application are described in detail above in conjunction with the accompanying drawings, but the present application is not limited to the above embodiments. Various changes can be made within the knowledge of 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 in the embodiments can be combined with each other without 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, characterized in that 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, characterized in that: 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, characterized in 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.
5. The method according to any one of claims 1-2, characterized in that: 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, characterized in that 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, characterized in that 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, characterized in that: 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, characterized in that: 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, characterized in that: 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, characterized in that 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, characterized in that 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, characterized in 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.
16. The method according to any one of claims 12 to 14, characterized in that: 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
Cited By
Signal transmission method, and device and storage medium
EP4738799A1
