Wireless signal sending method, related device and communication system
Use the central device to send the Beacon frame with two power power, and determine the appropriate sending power according to the signal of the node device to solve the problem that the proximal and remote node devices of the Wi-Fi network cannot access the network due to signal strength problems. Effective coverage of all node equipment.
Patent Information
- Application Number
- CN202310936654.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-27
- Publication Date
- 2025-01-28
AI Technical Summary
In Wi-Fi networks, in order to ensure that remote node devices access the network, central devices need to increase signal transmission power. However, in this configuration, near-end node devices may not be decoded due to too strong signals, resulting in inability to access the network.
The central device uses two power to send the Beacon frame. The high power is suitable for the remote node equipment, the low power is suitable for the proximal node equipment, and the appropriate sending power is determined according to the signal sent by the node device.
At the same time, it takes into account the remote and near -end node equipment, reducing the problem of node equipment that cannot access the network due to signal saturation or too weak, and ensure that node equipment can scan and related center equipment normally.
Smart Images

Figure CN119383711A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of terminal technology, and in particular to a wireless signal sending method, related devices and a communication system. Background Art
[0002] Wireless fidelity (Wi-Fi) networks are usually built in a star topology. A Wi-Fi network contains a central device. The central device can broadcast beacon frames to indicate the existence of the network to surrounding devices. Node devices can receive the beacon frames from the central device, obtain the information of the central device based on the beacon frames, and then join the network where the central device is located.
[0003] There may be multiple node devices around the central device. Some of these node devices are close to the central device, while some are far away from the central device. In order to ensure that the node devices at the remote end can access the network, the central device will increase the transmission power of signals such as beacon frames as much as possible. In this way, the node devices at the remote end will not be unable to access the network because the signal is too weak to be detected. However, under the above-mentioned high transmission power configuration, the node devices at the near end have small signal path loss and the strength of the received beacon frames and other signals is too high, which will cause signal saturation, and the node devices will be unable to decode and thus be unable to access the network. Summary of the invention
[0004] The present application provides a wireless signal transmission method, a related device and a communication system. The method can increase the coverage of the central device service while taking into account both the near-end and far-end node devices, thereby reducing the problem that the near-end node device cannot normally scan the central device or cannot associate with the central device due to the saturation of the received signal.
[0005] In a first aspect, the present application provides a method for sending a wireless signal. In which, a first device broadcasts a first signal using a first power, and broadcasts a second signal using a second power, both of which are used to indicate the existence of a first network, wherein the first power and the second power are different powers; the first device receives a third signal from a second device, and the third signal is used to detect the first network; the first device determines a third power according to the third signal, and uses the third power to send a fourth signal to the second device, and the fourth signal is used to respond to the third signal; the first device receives a fifth signal from a third device, and the fifth signal is used to detect the first network; the first device determines a fourth power according to the fifth signal, and uses the fourth power to send a sixth signal to the third device, and the sixth signal is used to respond to the fifth signal; wherein the third power and the fourth power are different powers.
[0006] In some embodiments, the first signal and the second signal may both be beacon frames. The third signal and the fifth signal may both be Probe Requests. The fourth signal and the sixth signal may both be Probe Responses. The third power may be the same as the first power. The fourth power may be the same as the second power. The first network may be a Wi-Fi network created by the first device.
[0007] It can be seen from the above method that the first device can send beacon frames using two levels of power so that the beacon frames can take into account both the remote and near-end node devices (such as the second device, the third device, etc.). Both the remote and near-end node devices can decode the beacon frames of appropriate power to obtain the information of the first device. In addition, the first device can determine the transmission power suitable for the node device based on the signal sent by the node device, which can reduce the influence of the distance between the node device and the first device on the strength of the signal received by the node device. The strength of the signal sent by the first device received by the node device can always be within the dynamic range of the node device receiver. Therefore, the above method can take into account the near-end and remote node devices while increasing the coverage of the service of the first device, reducing the problem that the near-end node device cannot normally scan the first device or cannot associate with the first device due to the saturation of the received signal.
[0008] In combination with the first aspect, in some embodiments, the first signal includes a first power identifier, the first power identifier is used to indicate the transmission power of the first signal, and the second signal includes a second power identifier, the second power identifier is used to indicate the transmission power of the second signal.
[0009] In combination with the first aspect, in some embodiments, the third signal includes a first power identifier, and the fifth signal includes a second power identifier, wherein the first device obtains the first power identifier from the third signal and determines the third power based on the first power identifier; the first device obtains the second power identifier from the fifth signal and determines the fourth power based on the second power identifier.
[0010] It can be seen that the node device (such as the second device and the third device) can add a power identifier in the signal sent to the first device to prompt the first device that the signal sending power is suitable for the node device, thereby avoiding the first device sending the signal to the node device with too low or too high power.
[0011] In combination with the first aspect, in some embodiments, the first device estimates that the signal path loss between the first device and the second device is the first path loss based on the third signal; the first device determines the third power based on the first path loss; the first device estimates that the signal path loss between the first device and the third device is the second path loss based on the fifth signal; and the first device determines the fourth power based on the second path loss.
[0012] In combination with the first aspect, in some embodiments, the third power is the power corresponding to the first path loss interval, and the first path loss interval is the interval including the first path loss; the fourth power is the power corresponding to the second path loss interval, and the second path loss interval is the interval including the second path loss.
[0013] In combination with the first aspect, in some embodiments, the third power is the sum of the first path loss and the expected received power, and the fourth power is the sum of the second path loss and the expected received power.
[0014] It can be seen that the first device can send beacon frames using two levels of power so that the beacon frames can take into account both the remote node devices and the near-end node devices. The beacon frames using the above two-level power method do not need to carry an additional power identifier for indicating the transmission power. The first device can estimate the signal path loss of the signal transmitted between the node device and the first device based on the signal sent by the node device (such as the third signal and the fifth signal), and then determine the transmission power suitable for the node device. In this way, it can be ensured that the strength of the signal sent by the first device received by the node device can always be within the dynamic range of the node device receiver. The above method can take into account the near-end and remote node devices while increasing the coverage of the first device service, reducing the problem that the near-end node device cannot normally scan the first device or cannot associate with the first device due to the saturation of the received signal.
[0015] In combination with the first aspect, in some embodiments, the first device receives a seventh signal from a second device, and uses a third power to send a signal to the second device for responding to the seventh signal, where the seventh signal is used to request access to the first network; the first device receives an eighth signal from a third device, and uses a fourth power to send a signal to the third device for responding to the eighth signal, where the eighth signal is used to request access to the first network.
[0016] The seventh signal and the eighth signal may both be AssociationRequest. The signal for responding to the seventh signal and the signal for responding to the eighth signal may both be AssociationResponse.
[0017] It can be seen that when a transmission power suitable for a node device is determined, the first device can use the above-determined power to send a signal that needs to be sent to the node device during the process of establishing a communication connection between the node device and the first device. This can not only reduce the problem that the remote node device cannot associate with the first device due to the received signal being too weak, but also reduce the problem that the near node device cannot associate with the first device due to the received signal being saturated.
[0018] In combination with the first aspect, in some embodiments, before the first device broadcasts a first signal using a first power and broadcasts a second signal using a second power, the first device receives a first operation or a first instruction, and the first operation or the first instruction is used to trigger the first device to broadcast a signal indicating the existence of a first network using the first power and the second power.
[0019] The first instruction may be, for example, Fig.8D The electronic device 200 is shown sending to the first device when the smart mode option 842 is selected.
[0020] It can be seen that the first device sending the beacon frame using two power levels may be triggered by the user. The user may instruct the first device to broadcast the beacon frame using two power levels as needed.
[0021] In a second aspect, the present application provides a method for sending a wireless signal. The method is applied to a communication system, and the communication system includes a first device, a second device, and a third device. The first device broadcasts a first signal using a first power, and broadcasts a second signal using a second power, and both the first signal and the second signal are used to indicate the existence of a first network, wherein the first power and the second power are different powers; the second device sends a third signal to the first device according to the first signal, and the third signal is used to detect the first network; the first device determines a third power according to the third signal, and sends a fourth signal to the second device using the third power, and the fourth signal is used to respond to the third signal; the third device sends a fifth signal to the first device according to the second signal, and the fifth signal is used to detect the first network; the first device determines a fourth power according to the fifth signal, and sends a sixth signal to the third device using the fourth power, and the sixth signal is used to respond to the fifth signal; wherein the third power and the fourth power are different powers.
[0022] In some embodiments, the first signal and the second signal may both be beacon frames. The third signal and the fifth signal may both be Probe Requests. The fourth signal and the sixth signal may both be Probe Responses. The third power may be the same as the first power. The fourth power may be the same as the second power. The first network may be a Wi-Fi network created by the first device.
[0023] It can be seen from the above method that the first device can send beacon frames using two levels of power so that the beacon frames can take into account both the remote and near-end node devices (such as the second device, the third device, etc.). Both the remote and near-end node devices can decode the beacon frames of appropriate power to obtain the information of the first device. In addition, the first device can determine the transmission power suitable for the node device based on the signal sent by the node device, which can reduce the influence of the distance between the node device and the first device on the strength of the signal received by the node device. The strength of the signal sent by the first device received by the node device can always be within the dynamic range of the node device receiver. Therefore, the above method can take into account the near-end and remote node devices while increasing the coverage of the service of the first device, reducing the problem that the near-end node device cannot normally scan the first device or cannot associate with the first device due to the saturation of the received signal.
[0024] In combination with the second aspect, in some embodiments, the first signal includes a first power identifier, the first power identifier is used to indicate the transmission power of the first signal, and the second signal includes a second power identifier, the second power identifier is used to indicate the transmission power of the second signal.
[0025] In combination with the second aspect, in some embodiments, the third signal includes a first power identifier, and the fifth signal includes a second power identifier, wherein the first device obtains the first power identifier from the third signal and determines the third power based on the first power identifier; the first device obtains the second power identifier from the fifth signal and determines the fourth power based on the second power identifier.
[0026] It can be seen that the node device (such as the second device and the third device) can add a power identifier in the signal sent to the first device to prompt the first device that the signal sending power is suitable for the node device, thereby avoiding the first device sending the signal to the node device with too low or too high power.
[0027] In combination with the second aspect, in some embodiments, the second device obtains a first power identifier from the first signal, and determines a fifth power based on the first power identifier; the second device uses the fifth power to send a third signal to the first device; the third device obtains a second power identifier from the second signal, and determines a sixth power based on the second power identifier; the third device uses the sixth power to send a fifth signal to the first device.
[0028] It can be seen that the node device can determine the appropriate transmission power according to the power identifier in the beacon frame and send a signal (such as the third signal and the fifth signal) to the first device. Among them, the closer the node device is to the first device, the smaller the transmission power of the signal sent to the first device can be. This can save the power consumption of the node device. Conversely, the farther the node device is from the first device, the greater the transmission power of the signal sent to the first device can be. This can ensure that the first device can receive the signal sent by the node device.
[0029] In combination with the second aspect, in some embodiments, the first device estimates that the signal path loss between the first device and the second device is the first path loss based on the third signal; the first device determines the third power based on the first path loss; the first device estimates that the signal path loss between the first device and the third device is the second path loss based on the fifth signal; and the first device determines the fourth power based on the second path loss.
[0030] In combination with the second aspect, in some embodiments, the third power is the power corresponding to the first path loss interval, and the first path loss interval is the interval including the first path loss; the fourth power is the power corresponding to the second path loss interval, and the second path loss interval is the interval including the second path loss.
[0031] In combination with the second aspect, in some embodiments, the third power is the sum of the first path loss and the expected received power, and the fourth power is the sum of the second path loss and the expected received power.
[0032] It can be seen that the first device can send beacon frames using two levels of power so that the beacon frames can take into account both the remote node devices and the near-end node devices. The beacon frames using the above two-level power method do not need to carry an additional power identifier for indicating the transmission power. The first device can estimate the signal path loss of the signal transmitted between the node device and the first device based on the signal sent by the node device (such as the third signal and the fifth signal), and then determine the transmission power suitable for the node device. In this way, it can be ensured that the strength of the signal sent by the first device received by the node device can always be within the dynamic range of the node device receiver. The above method can take into account the near-end and remote node devices while increasing the coverage of the first device service, reducing the problem that the near-end node device cannot normally scan the first device or cannot associate with the first device due to the saturation of the received signal.
[0033] In combination with the second aspect, in some embodiments, before the second device sends a third signal to the first device based on the first signal, the second device receives the first signal and the second signal; the second device determines that the signal quality of the first signal is better than the signal quality of the second signal; and the second device decodes the first signal.
[0034] In combination with the second aspect, in some embodiments, the second device sends a seventh signal to the first device, and the seventh signal is used to request access to the first network; the first device uses the third power to send a signal for responding to the seventh signal to the second device; the third device sends an eighth signal to the first device, and the eighth signal is used to request access to the first network; the first device uses the fourth power to send a signal for responding to the eighth signal to the third device.
[0035] In combination with the second aspect, in some embodiments, before the first device broadcasts a first signal using a first power and broadcasts a second signal using a second power, the first device receives a first operation or a first instruction, and the first operation or the first instruction is used to trigger the first device to use the first power and the second power to broadcast a signal indicating the existence of the first network.
[0036] In a third aspect, the present application provides a method for sending a wireless signal, wherein a second device receives a first signal broadcast by a first device, the first signal is used to indicate the existence of a first network, the first signal includes a first power identifier, and the first power identifier is used to indicate that the transmission power of the first signal is the first power; the second device sends a third signal to the first device according to the first signal, the third signal is used to detect the first network, and the third signal includes the first power identifier; the second device receives a fourth signal sent by the first device, and the fourth signal is used to respond to the third signal.
[0037] The first signal may be a beacon frame. The third signal may be a Probe Request.
[0038] It can be seen from the above method that the second device can add a power identifier in the signal sent to the first device to prompt the first device to use the signal transmission power suitable for the node device, so as to avoid the first device sending the signal to the node device with too low or too high power. This can not only reduce the problem that the second device cannot associate with the first device when it is too far away from the first device due to the received signal being too weak, but also reduce the problem that the second device cannot associate with the first device when it is too close to the first device due to the received signal being saturated.
[0039] In combination with the third aspect, in some embodiments, the second device obtains a first power identifier from the first signal, and determines a fifth power based on the first power identifier; the second device sends a third signal to the first device using the fifth power.
[0040] In combination with the third aspect, in some embodiments, the second device sends a seventh signal to the first device using the fifth power, where the seventh signal is used to request access to the first network.
[0041] It can be seen that the second device can determine the appropriate transmission power according to the power identifier in the beacon frame and send a signal to the first device. The closer the second device is to the first device, the smaller the transmission power of the second device to send the signal to the first device can be. This can save the power consumption of the second device. Conversely, the farther the second device is from the first device, the greater the transmission power of the second device to send the signal to the first device can be. This can ensure that the first device can receive the signal sent by the second device.
[0042] In combination with the third aspect, in some embodiments, before the second device sends a third signal to the first device based on the first signal, the second device also receives a second signal broadcast by the first device, the second signal is used to indicate the existence of the first network, the second signal includes a second power identifier, and the second power identifier is used to indicate that the transmission power of the second signal is a second power, wherein the first power and the second power are different; the second device determines that the signal quality of the first signal is better than the signal quality of the second signal; and the second device decodes the first signal.
[0043] In a fourth aspect, the present application provides an electronic device, which may include a communication device, a memory, and a processor. The communication device may be used to send wireless signals. The memory may be used to store a computer program. The processor may be used to call the computer program so that the electronic device executes any possible implementation method in the first aspect.
[0044] In a fifth aspect, the present application provides an electronic device, which may include a communication device, a memory, and a processor. The communication device may be used to send wireless signals. The memory may be used to store a computer program. The processor may be used to call the computer program so that the electronic device executes any possible implementation method as described in the third aspect.
[0045] In a sixth aspect, the present application provides a communication system, which includes the electronic device provided in the fourth aspect and the electronic device provided in the fifth aspect.
[0046] In a seventh aspect, the present application provides a computer-readable storage medium comprising instructions, which, when executed on an electronic device, enables the electronic device to execute any possible implementation method in the first aspect or the third aspect.
[0047] In an eighth aspect, the present application provides a computer program product, which may include computer instructions. When the computer instructions are run on an electronic device, the electronic device executes any possible implementation method in the first aspect or the third aspect.
[0048] In a ninth aspect, the present application provides a chip, which is applied to an electronic device, and the chip includes one or more processors, and the processor is used to call computer instructions to enable the electronic device to execute any possible implementation method as in the first aspect or the third aspect.
[0049] It can be understood that the electronic device provided in the fourth aspect, the electronic device provided in the fifth aspect, the communication system provided in the sixth aspect, the computer-readable storage medium provided in the seventh aspect, the computer program product provided in the eighth aspect, and the chip provided in the ninth aspect are all used to execute the method provided in the embodiment of the present application. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS
[0050] Figure 1A and Figure 1B is an architecture diagram of a communication system provided in an embodiment of the present application;
[0051] Figure 2 This is a flow chart of a method for a node device to access a network through a central device provided in an embodiment of the present application;
[0052] Figure 3 is a schematic diagram of the hardware structure of an electronic device 100 provided in an embodiment of the present application;
[0053] Figure 4 is a flow chart of a wireless signal sending method provided in an embodiment of the present application;
[0054] Figure 5 It is a schematic diagram of a frame structure of a beacon frame provided in an embodiment of the present application;
[0055] Figure 6 is a flow chart of a wireless signal sending method provided in an embodiment of the present application;
[0056] Figure 7 is a flow chart of a wireless signal sending method provided in an embodiment of the present application;
[0057] Figures 8A to 8D It is a schematic diagram of a scenario in which some users trigger a central device to broadcast a beacon frame using two power levels provided in an embodiment of the present application;
[0058] Fig. 9 It is an architecture diagram of another communication system provided in an embodiment of the present application. DETAILED DESCRIPTION
[0059] The technical solutions in the embodiments of the present application are described below in conjunction with the drawings in the embodiments of the present application. Among them, in the description of the embodiments of the present application, the terms used in the following embodiments are only for the purpose of describing specific embodiments, and are not intended to be used as limitations on the present application. As used in the specification and the appended claims of the present application, the singular expressions "a", "said", "above", "the" and "this" are intended to also include expressions such as "one or more", unless there is a clear indication to the contrary in the context. It should also be understood that in the following embodiments of the present application, "at least one", "one or more" refer to one or more (including two). The term "and / or" is used to describe the association relationship of associated objects, indicating that three relationships can exist; for example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone, where A and B can be singular or plural. The character " / " generally indicates that the associated objects before and after are in a "or" relationship.
[0060] References to "one embodiment" or "some embodiments" etc. described in this specification mean that one or more 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. The term "connection" includes direct connection and indirect connection, unless otherwise specified. "First" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated.
[0061] In the embodiments of the present application, the words "exemplarily" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described as "exemplarily" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplarily" or "for example" is intended to present related concepts in a specific way.
[0062] The communication system provided by this application is introduced below.
[0063] Figure 1A The schematic diagram of the architecture of the communication system 10 provided in the present application is exemplified.
[0064] like Figure 1AAs shown, the communication system 10 may include a central device and multiple node devices. The multiple node devices may include node device 1, node device 2, node device N, etc. N may be a positive integer.
[0065] A Wi-Fi connection can be established between the central device and the node device. The central device can be used to provide network access services. The central device can be called an access point (AP) or a central node. The node device can access the network, such as a Wi-Fi network, through the central device. In this way, users can use the node device to surf the Internet. The node device can be called a station (STA).
[0066] The device types of the central device may include: routers, mobile phones, smart watches, smart speakers, personal computers, smart TVs, tablet computers, smart sockets, air purifiers, smart desk lamps, smart air conditioners, smart curtains, smart water heaters, etc. The device types of the node devices may include: mobile phones, smart watches, smart speakers, personal computers, smart TVs, tablet computers, smart sockets, air purifiers, smart desk lamps, smart air conditioners, smart curtains, smart water heaters, etc. The embodiments of the present application do not limit the device types of the central device and the node device.
[0067] Figure 1B The schematic diagram of the architecture of the communication system 20 provided in the present application is exemplified.
[0068] like Figure 1B As shown, the communication system may include a group owner (GO) device and multiple group client (GC) devices. The multiple group client devices may include group client device 1, group client device 2, group client device M, etc. M may be a positive integer.
[0069] A Wi-Fi Direct connection can be established between the GO device and the GC device. A Wi-Fi Direct connection can also be called a Wi-Fi Peer-to-Peer (Wi-Fi P2P) connection. After a Wi-Fi Direct connection is established between the GO device and the GC device, files and other data can be transferred to each other through the Wi-Fi network without the need for an intermediary wireless access point.
[0070] The device types of GO devices and GC devices may include but are not limited to: mobile phones, smart watches, smart speakers, personal computers, smart TVs, tablets, smart sockets, air purifiers, smart desk lamps, smart air conditioners, smart curtains, smart water heaters, etc.
[0071] The method for establishing a communication connection between a GC device and a GO device can refer to the method for establishing a communication connection between a node device and a central device. In the subsequent embodiments of this application, the wireless signal sending method of this application is specifically introduced by taking the central device and the node device as an example.
[0072] Figure 2 The flowchart of the method for node device 1 to access the network through the central device is exemplified.
[0073] like Figure 2 As shown, the method may include steps S211 to S216. Among them:
[0074] S211. The central device may broadcast a beacon frame.
[0075] In some embodiments, the central device may broadcast beacon frames periodically. Beacon frames may be used to indicate the existence of the network where the central device is located and various wireless parameters indicated by the network, such as service set identifier (SSID), supported rates, authentication types, etc. The network where the above-mentioned central device is located may be a wireless network created by the central device. The beacon frame may include fields such as timestamp and period. The timestamp in the beacon frame may indicate the time when the central device sends the beacon frame. The period in the beacon frame may indicate the period at which the central device sends the beacon frame. For example, the above-mentioned period is 200 milliseconds. The central device may broadcast a beacon frame every 200 milliseconds.
[0076] S212, node device 1 receives the beacon frame, and obtains information of the central device according to the beacon frame.
[0077] Node device 1 can decode the received beacon frame according to the Wi-Fi protocol, obtain the information of the central device, and realize the time and service synchronization between node device 1 and the central device. For example, node device 1 can switch between the awake state and the sleep state. Node device 1 can determine the time when the central device broadcasts the beacon frame next time according to the field in the beacon frame, so as to wake up before the central device broadcasts the beacon frame in order to receive the beacon frame. Node device 1 may not need to listen to every beacon frame broadcast by the central device. Node device 1 can set the listening interval and listen to the beacon frame once every several beacon cycles. This can extend the sleep time of node device 1 and save the power consumption of node device 1.
[0078] S213: Node device 1 may send a Probe Request to the central device.
[0079] Probe Request can be called a detection request, which can be used to detect surrounding wireless networks. If the ProbeRequest does not contain a specified SSID, all APs that receive the Probe Request can respond to Node Device 1 and indicate their respective SSIDs. In this way, Node Device 1 can search for all surrounding wireless networks. If the Probe Request contains a specified SSID, the AP will respond to Node Device 1 only if it finds that the SSID in the Probe Request matches its own SSID after receiving the Probe Request.
[0080] S214: The central device may send a Probe Response to node device 1.
[0081] In response to the Probe Request sent by the node device 1, the central device can send a Probe Response to the node device 1. The Probe Response can be called a probe response. The Probe Response basically contains all the parameters in the beacon frame. That is, the node device 1 can scan the surrounding wireless network and decode the Probe Response sent by the central device to obtain the information of the central device.
[0082] S215. Node device 1 may send an Association Request to the central device.
[0083] Association Request can be called an association request. Node device 1 can request to join the network to the central device by sending AssociationRequest. Association Request can include multiple parameters of node device 1, such as the rate and channel supported by node device 1, the selected access authentication and encryption algorithm, etc.
[0084] S216: The central device may send an Association Response to node device 1.
[0085] When receiving the Association Request, the central device can determine whether the node device 1 can access the network where the central device is located, thereby accepting or rejecting the node device 1 from accessing the network. For example, when it is determined that the node device 1 can access the network where the central device is located, the central device can send an Association Response to the node device 1 to accept the node device 1 from accessing the network. The Association Response can be called an association response.
[0086] After the above association process is completed, the node device 1 joins the network where the central device is located and can access the network according to the obtained IP address.
[0087] In some embodiments, the node device 1 has accessed the network where the central device is located. The node device 1 can store the information of the central device (such as the SSID of the central device, the authentication password for accessing the network where the central device is located, etc.). After detecting the central device, the node device 1 can automatically associate with the central device to access the network where the central device is located again. In other embodiments, the node device 1 has never accessed the network where the central device is located. In response to the user operation of selecting the option corresponding to the network where the central device is located, the node device 1 can request to associate with the central device to access the network where the central device is located. Among them, the node device 1 can display the options corresponding to the surrounding networks based on the received beacon frame or Probe Response, so that the user can select the network to access.
[0088] Not limited to the above beacon frames, Probe Request, Probe Response, Association Request, and Association Response, in the process of node device 1 accessing the network through the central device, node device 1 and the central device may also send other signals. After node device 1 accesses the network through the central device, node device 1 and the central device may continue to send more signals. This embodiment of the present application is not limited to this. For details, please refer to the provisions in the Wi-Fi protocol (such as the IEEE 802.11 protocol).
[0089] Multiple node devices around the central device need to access the network through the central device. A home LAN is equipped with a router (i.e., the central device), which can provide network access services for node devices such as mobile phones, smart watches, computers, and smart home devices. For example, the router is located in the living room on the first floor. Some smart home devices are distributed in various rooms on the first floor. Another part of the smart home devices are distributed in various rooms on the second floor. Mobile phones and smart watches can move between the rooms on the first and second floors. Since the node devices may be located in different rooms and floors from the router, the farther the node device is from the router, the weaker the signal (such as beacon frames, Probe Response, etc.) sent by the router is received. Some node devices that are too far away from the router may not be able to detect the signal due to the weak signal, and thus cannot access the network where the router is located. Therefore, in order to maximize the coverage of the service, the central device needs to increase the signal transmission power as much as possible so that the remote node devices can also detect the signal. For example, the central device can broadcast beacon frames with a higher transmission power and send signals such as Probe Response with a higher transmission power.
[0090] However, under the above-mentioned high transmission power configuration, the signal path loss of the node device at the near end is small, and the signal strength of the received beacon frame is too high, which will cause the beacon signal to be saturated and the node device cannot decode it. Therefore, the node device at the near end may not be able to scan the central device. In addition, the signal strength of the ProbeResponse received by the node device at the near end is also too high, which will cause the Probe Response signal to be saturated and the node device cannot decode it. Therefore, even if the node device at the near end scans the central device, it may not be able to associate with the central device, and thus cannot access the network where the central device is located.
[0091] It can be understood that the dynamic range of the receiver used to receive signals in the node device can represent the strength range of the input signal allowed for the receiver to work normally. That is, the signal strength that the receiver can withstand has a range. If the signal is too weak, the receiver cannot detect it. If the signal is too strong, the receiver will be saturated and overloaded, and the part of the signal with too high signal strength will be cut off, and the node device cannot decode and obtain the complete signal.
[0092] It can be seen that in order to expand the coverage of the service and increase the signal transmission power, the central device will cause the node devices closer to the central device to be unable to scan the central device normally or be unable to associate with the central device due to the saturation of the received signal.
[0093] The present application provides a method for sending wireless signals. Among them, the central device can use two power levels to send beacon frames. The beacon frames sent with these two power levels may include beacon frames sent with high power and suitable for decoding by remote node devices, and beacon frames sent with low power and suitable for decoding by near-end node devices. In this way, both remote and near-end node devices can receive beacon frames with appropriate power, thereby decoding the beacon frames to obtain information about the central device. The node device can send a Probe Request to the central device based on the information of the central device. The central device can determine the transmission power suitable for the node device based on the Probe Request sent by the node device, and use the transmission power to send a Probe Response and other signals to the node device. In this way, not only can the situation where the remote node device cannot detect because the signal of the central device is too weak, but also the situation where the near-end node device cannot decode because the signal of the central device is too strong can be reduced. The embodiment of the present application does not limit the specific values of the above-mentioned two power levels for sending beacon frames.
[0094] Here, a method for the central device to determine the transmission power suitable for the node device according to the Probe Request is introduced.
[0095] In a possible implementation, the beacon frames sent using the two power levels can carry different power level identifiers. The power level identifier in a beacon frame can be used to indicate the transmission power of this beacon frame. The node device can add the power level identifier in the beacon frame used to obtain the central device information to the ProbeRequest, and then send the Probe Request to the central device. The central device can determine the transmission power suitable for the node device according to the power level identifier in the Probe Request. For example, after the remote node device decodes the beacon frame sent using high power, it can add the power level identifier in the beacon frame sent using high power to the Probe Request. In this way, after the central device receives the Probe Request, it can use high power to send the Probe Response and other signals to the central device according to the power level identifier in the Probe Request. For another example, after the near-end node device decodes the beacon frame sent using low power, it can add the power level identifier in the beacon frame sent using low power to the Probe Request. In this way, after receiving the Probe Request, the central device can use low power to send a Probe Response and other signals to the central device according to the power level identifier in the Probe Request.
[0096] In another possible implementation, the central device can estimate the path loss of the signal transmitted between the central device and the node device based on the Probe Request. Then, the central device can determine the appropriate transmission power based on the path loss to send the Probe Response and other signals to the node device to ensure that the power of the signal received by the node device is within the dynamic range of the node device receiver. Among them, the higher the path loss, the higher the transmission power of the central device to send the Probe Response and other signals to the node device. For example, the two transmission power levels of the central device (such as high power and low power) can correspond to different path loss intervals. The central device can use the transmission power corresponding to the path loss interval to which the above-mentioned path loss belongs to send the Probe Response and other signals to the node device. Alternatively, the central device can calculate the transmission power based on the above-mentioned path loss and the power of the signal received by the expected node device, and then use the calculated transmission power to send the Probe Response and other signals to the node device.
[0097] It can be seen from the above method that the central device can use two levels of power to send beacon frames so that the beacon frames can take into account both the remote and near-end node devices. Both the remote and near-end node devices can decode the beacon frames of appropriate power to obtain the information of the central device. In addition, the central device can determine the transmission power suitable for the node device based on the signal sent by the node device (such as ProbeRequest), which can reduce the impact of the distance between the node device and the central device on the strength of the signal received by the node device. The strength of the signal sent by the central device received by the node device can always be within the dynamic range of the node device receiver. Therefore, the above method can take into account the near-end and remote node devices while increasing the coverage of the central device service, reducing the problem that the near-end node device cannot normally scan the central device or cannot associate with the central device due to the saturation of the received signal.
[0098] The following describes a hardware structure of an electronic device 100 provided in the present application. The hardware structures of the central device and the node device in the present application can all refer to the electronic device 100.
[0099] Figure 3 The schematic diagram of the hardware structure of the electronic device 100 is exemplarily shown.
[0100] like Figure 3 As shown, the electronic device 100 may include: a processor 101, a memory 102, a wireless communication module 103, an antenna 105, and a power management module 106. Among them:
[0101] The processor 101 may include one or more processing units, for example, the processor 101 may include an application processor (AP), a modem processor, a graphics processor (GPU), an image signal processor (ISP), a controller, a memory, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU), etc. Among them, different processing units may be independent devices or integrated in one or more processors.
[0102] The controller may be the nerve center and command center of the electronic device 100. The controller may generate an operation control signal according to the instruction operation code and the timing signal to complete the control of fetching and executing instructions.
[0103] The processor 101 may also be provided with a memory for storing instructions and data. In some embodiments, the memory in the processor 101 is a cache memory. The memory may store instructions or data that the processor 101 has just used or cyclically used. If the processor 101 needs to use the instruction or data again, it may be directly called from the memory. This avoids repeated access, reduces the waiting time of the processor 101, and thus improves the efficiency of the system.
[0104] In some embodiments, the processor 101 may include one or more interfaces. The interface may include an inter-integrated circuit (I2C) interface, an inter-integrated circuit sound (I2S) interface, a pulse code modulation (PCM) interface, a universal asynchronous receiver / transmitter (UART) interface, a mobile industry processor interface (MIPI), a general-purpose input / output (GPIO) interface, a subscriber identity module (SIM) interface, and / or a universal serial bus (USB) interface, etc.
[0105] It is understandable that the interface connection relationship between the modules illustrated in the embodiment of the present invention is only a schematic illustration and does not constitute a structural limitation on the electronic device 100. In other embodiments of the present application, the electronic device 100 may also adopt different interface connection methods in the above embodiments, or a combination of multiple interface connection methods.
[0106] In some embodiments, the processor 101 can be used to parse the signal received by the wireless communication module 103 and demodulate the signal. The processor 101 can respond according to the analysis result and perform corresponding operations, such as performing a sensing operation. In some embodiments, the processor 101 can also be used to generate a signal sent out by the wireless communication module 103, such as a Wi-Fi signal.
[0107] The memory 102 is coupled to the processor 101 and is used to store various software programs and / or multiple sets of instructions. In a specific implementation, the memory 102 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 102 may store an operating system, such as uCOS, VxWorks, RTLinux, and other embedded operating systems. The memory 102 may also store a communication program, which may be used to communicate with the electronic device 100 or other devices.
[0108] The wireless communication module 103 may include a wireless local area network (WLAN) communication module 104. The WLAN communication module 104 may provide a solution for Wi-Fi wireless communication applied to the electronic device 100. The Wi-Fi protocol used in the WLAN communication module 104 may be IEEE802.11a, 802.11b, 802.11n, 802.11ac, 802.11ax, etc.
[0109] Possibly, the wireless communication module 103 may also include other communication modules to provide other wireless communication solutions (for example, Bluetooth (BT), global navigation satellite system (GNSS), frequency modulation (FM), near field communication (NFC), infrared technology (IR)).
[0110] Possibly, the WLAN communication module 104 may be integrated with other communication modules (e.g., Bluetooth communication modules). The WLAN communication module 104 may monitor signals transmitted by other devices (e.g., electronic device 100), such as measurement signals, scanning signals, etc., and may send response signals, such as measurement responses, scanning responses, etc., so that other devices may find the electronic device 100 and establish wireless communication connections with other devices through one or more of WLAN, Bluetooth, or other short-range wireless communication technologies to perform data transmission.
[0111] In other embodiments, one or more of the WLAN communication modules 104 may also transmit signals, such as broadcast detection signals and beacon signals, so that other devices can discover the electronic device 100 and establish wireless communication connections with other devices via WLAN or other short-range wireless communication technologies to transmit data.
[0112] The antenna 105 can be used to transmit and receive electromagnetic wave signals. The antennas of different communication modules can be reused or can be independent of each other to improve the utilization rate of the antenna.
[0113] The power management module 106 may be used to control the power supply to the electronic device 100. The power supply may be a battery or an external power supply.
[0114] In some embodiments, the hardware structure of the electronic device 100 may further include an audio module ( Figure 3 not shown) and a speaker ( Figure 3 The audio module is used to convert digital audio information into analog audio signal output, and also to convert analog audio input into digital audio signal. The audio module can also be used to encode and decode audio signals. The speaker, also known as a "horn", is used to convert audio electrical signals into sound signals.
[0115] In some embodiments, the hardware structure of the electronic device 100 may further include a microphone ( Figure 3 (not shown). A microphone, also called a "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, a user can speak by approaching the microphone with his or her mouth to input the sound signal into the microphone. The electronic device 100 can be provided with at least one microphone.
[0116] In some embodiments, the hardware structure of the electronic device 100 may also include a display screen ( Figure 3 ). The display screen is used to display images, videos, etc. The display screen includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (AMOLED), a flexible light-emitting diode (FLED), Miniled, MicroLed, Micro-oLed, a quantum dot light emitting diode (QLED), etc. In some embodiments, the terminal may include 1 or N display screens, where N is a positive integer greater than 1.
[0117] In some embodiments, the hardware structure of the electronic device 100 may also include one or more sensors ( Figure 3The one or more sensors may include one or more of the following pressure sensors, gyroscope sensors, air pressure sensors, magnetic sensors, acceleration sensors, distance sensors, proximity light sensors, fingerprint sensors, temperature sensors, touch sensors, ambient light sensors, bone conduction sensors, etc.
[0118] It should be noted that Figure 3 The electronic device 100 shown is only one implementation of the embodiment of the present application. In actual applications, the electronic device 100 may also include more or fewer components, which is not limited here.
[0119] A method for sending a wireless signal provided by an embodiment of the present application is introduced below.
[0120] Figure 4 A flow chart of a method for sending a wireless signal is exemplarily shown.
[0121] like Figure 4 As shown, the method may include steps S411 to S418. Among them:
[0122] S411 . The central device may broadcast beacon frame 1 using power 1 . Beacon frame 1 includes power level field 1 . Power level field 1 is used to indicate the transmission power of beacon frame 1 .
[0123] S412 . The central device may broadcast beacon frame 2 using power 2 . Beacon frame 2 includes power level field 2 . Power level field 2 is used to indicate the transmission power of beacon frame 2 .
[0124] The above-mentioned power 1 is different from power 2. For example, power 1 is higher. When the signal sent using power 1 is transmitted from the central device to the remote node device, the signal strength will not be attenuated weakly due to path loss, resulting in the remote node device being unable to detect the signal sent by the central device. That is, beacon frame 1 broadcast using power 1 can be a beacon frame suitable for decoding by the remote node device. Power 2 is lower. When the signal sent using power 2 is transmitted from the central device to the near-end node device, the signal strength will not be too high, resulting in the near-end node device being unable to decode the signal sent by the central device. That is, beacon frame 2 broadcast using power 2 can be a beacon frame suitable for decoding by the near-end node device.
[0125] The present application does not limit the specific values of the above power 1 and power 2. For example, the value of power 1 can be 27 decibel milliwatts (dBm), 30 dBm, etc. The value of power 2 can be 15 dBm, 17 dBm, etc.
[0126] In some embodiments, the power level field 1 and the power level field 2 may each occupy one bit. For example, the value of the power level field 1 may be 1. The value of the power level field 2 may be 0. Not limited to one bit, the power level field 1 and the power level field 2 may also occupy more bits. The embodiment of the present application does not limit the values of the power level field 1 and the power level field 2.
[0127] In some embodiments, the central device may periodically alternate between using the above-mentioned power 1 and power 2 to broadcast beacon frames. For example, the period for the central device to broadcast beacon frames is T1. This period may also be referred to as a beacon period. The central device may broadcast beacon frame 1 using power 1. Then, the central device may broadcast beacon frame 2 using power 2 after time T1 (i.e., waiting for a beacon period). Further, the central device may wait for a beacon period after using power 2 to broadcast beacon frame 2, and then use power 1 again to broadcast a beacon frame containing the above-mentioned power level field 1. Similarly, the central device may periodically alternate between using the above-mentioned power 1 and power 2 to broadcast beacon frames. The embodiment of the present application does not limit the value of the above-mentioned T1. For example, the value of T1 may be 100 milliseconds, 150 milliseconds, 200 milliseconds, and so on.
[0128] It can be understood that in the above embodiment, the transmission period of the beacon frame 1 and the beacon frame 2 are both 2*T1. That is, the central device sends a beacon frame containing the power level field 1 once every 2*T1 using power 1. In addition, the central device sends a beacon frame containing the power level field 2 once every 2*T1 using power 1. The time when the central device sends the beacon frame containing the power level field 1 and the beacon frame containing the power level field 2 are staggered. Among them, the period recorded in the beacon frame 1 and the beacon frame 2 can both be 2*T1.
[0129] In other embodiments, the central device may continuously use the above-mentioned power 1 and power 2 to broadcast beacon frames within a beacon cycle. For example, the central device may use power 1 to broadcast beacon frame 1, and use power 2 to broadcast beacon frame 2. The central device does not need to wait between the above-mentioned broadcast of beacon frame 1 and the broadcast of beacon frame 2. Then, the central device may wait for time T1 (i.e., wait for a beacon cycle) from the moment when beacon frame 1 starts to be broadcast, and then continuously use power 1 to broadcast beacon frames containing the above-mentioned power level field 1 again, and use power 2 to broadcast beacon frames containing the above-mentioned power level field 2. By analogy, the central device may continuously use the above-mentioned power 1 and power 2 to broadcast beacon frames every other beacon cycle.
[0130] The embodiment of the present application does not limit the time when the central device broadcasts beacon frames using power 1 and power 2. For example, the central device may first broadcast beacon frames containing power level field 1 using the above power 1 multiple times, and then broadcast beacon frames containing power level field 2 using the above power 2 multiple times.
[0131] The embodiment of the present application does not limit the power level of the central device broadcasting the beacon frame. It is not limited to two power levels (such as power 1 and power 2). The central device can also use more power levels (such as three different powers, four different powers, etc.) to broadcast the beacon frame. The beacon frames broadcast using different power levels can contain different power level fields.
[0132] S413 , node device 1 may receive beacon frame 1 and beacon frame 2 , select beacon frame 1 according to signal quality, and obtain information of the central device according to beacon frame 1 .
[0133] In some embodiments, node device 1 can receive both beacon frame 1 and beacon frame 2. Node device 1 can compare the signal quality of received beacon frame 1 and beacon frame 2, and use the beacon frame with better signal quality to obtain information about the central device. Among them, node device 1 can determine the signal quality based on received signal strength indication (RSSI) and / or signal-to-noise ratio (SNR). RSSI is a negative value, and the closer the value is to 0, the better the signal. That is, the larger the RSSI value, the better the signal quality. SNR is the ratio of signal to noise. The larger the SNR, the better the signal quality. For example, node device 1 can use the value of the weighted sum of RSSI and SNR to judge the signal quality of beacon frame 1 and beacon frame 2. The embodiment of the present application does not limit the above method for judging signal quality.
[0134] Here, the example is taken that node device 1 determines that the signal quality of received beacon frame 1 is better than the signal quality of beacon frame 2. Therefore, node device 1 can decode beacon frame 1 to obtain central device information such as the sending timestamp, sending period, and power level field 1 of beacon frame 1.
[0135] In other embodiments, after receiving beacon frame 1, node device 1 may decode beacon frame 1. If beacon frame 1 can be decoded successfully, node device 1 may use the information of the central device obtained according to beacon frame 1 to send a Probe Request to the central device. Optionally, after receiving beacon frame 1, node device 1 may determine whether the signal quality of beacon frame 1 is within a preset signal quality interval. If the signal quality of beacon frame 1 is within the preset signal quality interval, node device 1 may decode beacon frame 1. Otherwise, node device 1 may discard beacon frame 1. In other words, node device 1 does not need to wait to receive beacon frames of all power levels. If the beacon frame received by node device 1 is appropriate (i.e., the signal strength is neither too weak to be detected nor too strong to be correctly decoded), node device 1 may directly use the beacon frame without waiting for beacon frames sent using other power levels.
[0136] When node device 1 is far from the central device, since power 2 is lower than power 1, node device 1 may only receive beacon frame 1. Beacon frame 2 may not be detected by node device 1 because of path loss during transmission and signal strength is too weak when it reaches node device 1.
[0137] S414 , node device 2 may receive beacon frame 1 and beacon frame 2 , select beacon frame 2 according to signal quality, and obtain information of the central device according to beacon frame 2 .
[0138] Here, the example in which node device 2 determines that the signal quality of received beacon frame 2 is better than the signal quality of beacon frame 1 is used for explanation. It can be seen from the above step S413 that node device 2 is closer to the central device than node device 1. The specific method for node device 2 to select beacon frame 2 to obtain the information of the central device can refer to the method for node device 1 to select beacon frame 1 to obtain the information of the central device. It will not be repeated here.
[0139] Node device 2 decodes beacon frame 2 and can obtain central device information such as the sending timestamp, sending period, and power level field 2 of beacon frame 2.
[0140] S415 , node device 1 may send a Probe Request to the central device, where the Probe Request includes a power level field 1 .
[0141] When node device 1 needs to access the network where the central device is located, node device 1 can send a Probe Request to the central device to detect whether the central device is around. Node device 1 can add power level field 1 to the Probe Request based on the information of the central device obtained by decoding beacon frame 1 in step S413. In addition, the Probe Request can also include the SSID of the central device.
[0142] In this way, the node device 1 can prompt the central device of the signal transmission power suitable for the node device 1 through the power level field 1 in the Probe Request, so as to avoid the central device sending the signal to the node device 1 with too low or too high power.
[0143] S416: The central device may use power 1 to send a Probe Response to node device 1.
[0144] When receiving the Probe Request from node device 1, the central device can decode the power level field 1, and then use the power corresponding to the power level field 1 to send a Probe Response to node device 1. For example, the power corresponding to the power level field 1 is the above-mentioned power 1. The embodiment of the present application does not limit the specific size of the power corresponding to the power level field 1. For example, the power corresponding to the power level field 1 can also be other powers close to the size of power 1.
[0145] Here, the power corresponding to the power level field 1 is taken as power 1 as an example for explanation.
[0146] The central device uses power 1 to send a Probe Response to node device 1, so that the signal strength of the Probe Response when it reaches node device 1 meets the requirements of node device 1. That is, the signal strength of the Probe Response received by node device 1 is suitable for node device 1 to decode the Probe Response. For example, the signal strength of the Probe Response received by node device 1 is within the dynamic range of the receiver of node device 1.
[0147] In some embodiments, except for Probe Response, the transmission power of the signal sent by the central device to the node device 1 can be power 1. For example, referring to the aforementioned Figure 2 In the process of node device 1 requesting to access the network where the central device is located, node device 1 also sends an Association Request to the central device, and the central device sends an Association Response to node device 1. The central device can use power 1 to send the Association Response to node device 1.
[0148] Optionally, and not limited to Probe Request, during the process of node device 1 requesting access to the network where the central device is located, the above-mentioned power level field 1 may be carried in multiple signals (such as Association Request, authentication request frame, etc.) sent by node device 1 to the central device. It can be understood that the time required for node device 1 to request access to the network where the central device is located is relatively short. During this period, the distance between node device 1 and the central device usually does not change significantly. Therefore, during the period when node device 1 requests access to the network where the central device is located, multiple signals sent by node device 1 to the central device may carry a power level field (such as power level field 1) obtained by decoding a beacon frame (such as beacon frame 1).
[0149] S417. Node device 2 may send a Probe Request to the central device, where the Probe Request includes a power level field 2.
[0150] Similarly, when node device 2 needs to access the network where the central device is located, node device 2 can send a Probe Request to the central device to detect whether the central device is around. Node device 2 can add power level field 2 to the Probe Request based on the information of the central device obtained by decoding beacon frame 2 in step S414. In addition, the Probe Request can also include the SSID of the central device.
[0151] In this way, the node device 2 can prompt the central device of the signal transmission power suitable for the node device 2 through the power level field 2 in the Probe Request, so as to avoid the central device sending the signal to the node device 2 with too low or too high power.
[0152] S418: The central device may use power 2 to send a Probe Response to node device 2.
[0153] When receiving the Probe Request from the node device 2, the central device can decode the power level field 2, and then send a Probe Response to the node device 2 using the power corresponding to the power level field 2. For example, the power corresponding to the power level field 2 is the above-mentioned power 2. The embodiment of the present application does not limit the specific size of the power corresponding to the power level field 2. For example, the power corresponding to the power level field 2 can also be other powers that are close to the size of power 2.
[0154] Here, the power corresponding to the power level field 2 is taken as power 2 as an example for explanation.
[0155] The central device uses power 2 to send the Probe Response to the node device 2, so that the signal strength of the Probe Response when it reaches the node device 2 meets the requirements of the node device 2. That is, the signal strength of the Probe Response received by the node device 2 is suitable for the node device 2 to decode the Probe Response. For example, the signal strength of the Probe Response received by the node device 2 is within the dynamic range of the node device 2 receiver.
[0156] In some embodiments, except for Probe Response, the transmission power of the signal sent by the central device to the node device 2 can be power 2. Optionally, not limited to Probe Request, in the process of node device 2 requesting to access the network where the central device is located, multiple signals (such as Association Request, authentication request frame, etc.) sent by node device 2 to the central device can carry the above power level field 2.
[0157] It should be noted that since the power of the signal sent by the node device (such as node device 1 and node device 2) is usually not high and the signal receiver in the central device has a strong capability, when the node device sends a signal to the central device, it is not necessary to consider the problem of oversaturation of the signal received by the central device. The node device does not need to dynamically adjust the power of the signal sent to the central device according to the distance between the node device and the central device.
[0158] In some embodiments, both node device 1 and node device 2 are mobile devices. After node device 1 and node device 2 are connected to the network where the central device is located, the distance between node device 1 and the central device may change, and the distance between node device 2 and the central device may also change. The central device can adjust the transmission power of the signal sent to node device 1 in real time to ensure that the signal strength when the signal transmission reaches node device 1 meets the needs of node device 1. The central device can also adjust the transmission power of the signal sent to node device 2 in real time to ensure that the signal strength when the signal transmission reaches node device 2 meets the needs of node device 2.
[0159] Here, an example is taken in which after the node device 1 accesses the network where the central device is located, the central device adjusts the transmission power of the signal sent to the node device 1 in real time.
[0160] In a possible implementation, after the node device 1 accesses the network where the central device is located, the signal sent by the node device 1 to the central device may still carry a power identifier. The power identifier may be used to indicate to the central device the signal transmission power suitable for the node device 1. Among them, the node device 1 may adjust the power identifier carried in the signal sent by the node device 1 according to the change in the signal strength of the signal received from the central device. The node device 1 may compare the signal strength of the central device signal currently received with the signal strength of the central device signal received last time or for a plurality of times. If the signal strength of the central device signal received by the node device 1 decreases, it may indicate that the node device 1 is moving away from the central device. Therefore, the node device 1 may adjust the power identifier carried in the signal sent to the central device. The adjusted power identifier may be used to instruct the central device to increase the power of the signal sent to the node device 1. On the contrary, if the signal strength of the central device signal received by the node device 1 increases, it may indicate that the node device 1 is moving in a direction close to the central device. Therefore, the node device 1 may adjust the power identifier carried in the signal sent to the central device. The adjusted power identifier may be used to instruct the central device to reduce the power of the signal sent to the node device 1.
[0161] In another possible implementation, the central device may adjust the transmission power of the signal sent to the node device 1 in real time according to the signal strength of the signal received from the node device 1. For example, if the signal strength of the signal received by the central device from the node device 1 decreases, it may indicate that the node device 1 is moving away from the central device. The central device may increase the power of the signal sent to the node device 1. If the signal strength of the signal received by the central device from the node device 1 increases, it may indicate that the node device 1 is moving towards the central device. The central device may reduce the power of the signal sent to the node device 1.
[0162] The embodiment of the present application does not limit the method by which the central device controls the power of signals sent to the node device after the node device accesses the network where the central device is located.
[0163] By the above Figure 4It can be seen from the method shown that the central device can use two power levels to send beacon frames so that the beacon frames can take into account both the remote node devices (such as node device 1) and the near-end node devices (such as node device 2). The central device can determine the transmission power suitable for the node device based on the signal sent by the node device (such as Probe Request), so that the strength of the signal sent by the central device received by the node device can always be within the dynamic range of the node device receiver. In this way, even if the node device is far away from the central device, the node device can successfully access the network where the central device is located, and the above method does not affect the near-end node device accessing the network where the central device is located. In other words, the above method can take into account the near-end and remote node devices while increasing the coverage of the central device service, reducing the problem that the near-end node device cannot normally scan the central device or cannot associate with the central device due to the saturation of the received signal.
[0164] The frame structure of the beacon frame including the power level field in this application is introduced below.
[0165] Figure 5 A schematic diagram of a frame structure of a beacon frame is shown as an example.
[0166] like Figure 5 As shown, the beacon frame may include a MAC header, a frame body, and a frame check sequence (FCS).
[0167] The MAC header may be the header of a beacon frame. The MAC header may include a frame control field, a destination address field, a source address field, a receiver address bullet, a transmitter address field, and other fields. Among them, the frame control field may include information such as a protocol, a frame type, and a flag. The frame type may be used to mark the type of the current frame. The frame type may include a management frame, a control frame, and a data frame. Different types of frames have different processing methods. Management frames may be used to manage wireless networks, including network information notifications, joining or exiting wireless networks, and so on. Management frames may include beacon frames, Probe Requests, Probe Responses, Association Requests, Association Responses, and so on. Data frames may be used to transmit data messages. Control frames may be used to assist in the transmission of data frames, be responsible for clearing wireless channels, acquiring channels, and so on, and may also be used for confirmation when receiving data.
[0168] The Frame Check Sequence can be used to check the integrity of the received frame.
[0169] The frame body may contain fixed parameters and tagged parameters.
[0170] Fixed fields may include Beacon Timestamp, Beacon Interval, and Capability Info. Beacon Timestamp may indicate the beacon timestamp, i.e., the time when the beacon frame is sent. Beacon Timestamp may be used to synchronize node devices. Beacon Interval may indicate the beacon period, i.e., how long the central device broadcasts the next beacon frame. Capability Info may indicate performance information, which may be used to inform each node device of the network's capabilities.
[0171] The tag fields may include SSID, Supported Rates, DSPS, TIM, Country, ERP, HT Cap, and VendorSpecific.
[0172] SSID may stand for service set identifier, which can be used to distinguish different networks.
[0173] Supported Rates can indicate the supported rate of the network. Before a node device accesses a network, it can detect whether it supports the supported rate of the network.
[0174] DSPS may stand for direct sequence parameter set, which may be used to indicate the number of channels used by the network.
[0175] TIM can represent data to be transmitted (traffic indication map). The central device can temporarily store frames for node devices in the dormant state. The central device can pass these temporarily stored frames to the node devices at regular intervals. TIM can be used by the central device to notify the node devices connected to its network that information is now cached in the central device. In this way, the node device can wake up and obtain data related to itself from the central device.
[0176] Country can represent a country code, which can be used to indicate that the central device supports the wireless laws and regulations of the country.
[0177] ERP may stand for extended rate PHY.
[0178] HT Cap may represent high throughput capability, and may include the number of antennas, the rate supported by the link, and the like.
[0179] Vendor Specific can represent a vendor-defined field. That is, a portion of the fields in the beacon frame can be reserved for vendor customization. This application can add a power level field to the Vendor Specific field.
[0180] Vendor Specific may include Tag Nubmer, Tag Length, OUI, and Vendor Specific Data. Tag Nubmer may indicate the tag number. The value of Tag Nubmer is 221, which may indicate Vendor Specific. TagLength may indicate the tag length, i.e., the length of the subsequent OUI and Vendor Specific Data fields. OUI may indicate an organizationally unique identifier, which may be used to indicate the vendor. Vendor Specific Data may indicate vendor-defined data.
[0181] Vendor Specific Data may include one or more vendor-defined data, such as Version, Power level, etc. Version may indicate the version, i.e., the version of the vendor-defined data. Power level may indicate the power level. This application does not limit the field format of the above vendor-defined data.
[0182] Figure 5 The frame structure shown is only an exemplary description of the present application and should not constitute a limitation to the present application.
[0183] The Probe Request sent by the node device is a type of management frame in the Wi-Fi signal. The Probe Request may also carry the Power level field indicating the power level. The Tagged parameters field of the Probe Request also allows vendors to add the Vendor Specific field. The Power level field carried by the Probe Request may be added to the Vendor Specific field. The frame structure of the Probe Request can refer to the above Figure 5 The frame structure of the beacon frame shown is not repeated here.
[0184] In some embodiments, the node device can determine the appropriate transmission power according to the power level field in the beacon frame and send a signal (such as a Probe Request) to the central device. The closer the node device is to the central device, the smaller the transmission power of the signal sent to the central device can be. Conversely, the farther the node device is from the central device, the greater the transmission power of the signal sent to the central device can be.
[0185] Another wireless signal sending method provided by an embodiment of the present application is introduced below.
[0186] Figure 6 A flow chart of a method for sending a wireless signal is exemplarily shown.
[0187] like Figure 6 As shown, the method may include steps S611 to S620. Among them:
[0188] S611 . The central device may broadcast beacon frame 1 using power 1 . Beacon frame 1 includes power level field 1 . Power level field 1 is used to indicate the transmission power of beacon frame 1 .
[0189] S612 . The central device may broadcast beacon frame 2 using power 2 . Beacon frame 2 includes power level field 2 . Power level field 2 is used to indicate the transmission power of beacon frame 2 .
[0190] S613 , node device 1 may receive beacon frame 1 and beacon frame 2 , select beacon frame 1 according to signal quality, and obtain information of the central device according to beacon frame 1 .
[0191] The above steps S611 to S613 can refer to the above Figure 4 Steps S411 to S413 are shown.
[0192] S614. Node device 1 may determine that the signal transmission power is power 3 according to power level field 1 in beacon frame 1.
[0193] The node device 1 may store transmit powers corresponding to different power level fields. For example, the transmit power corresponding to the power level field 1 may be power 3. The power 3 may be the same as or different from the power 1. The specific size of the power 3 is not limited in the embodiment of the present application.
[0194] S615 , node device 2 may receive beacon frame 1 and beacon frame 2 , select beacon frame 2 according to signal quality, and obtain information of the central device according to beacon frame 2 .
[0195] Step S615 can refer to the above Figure 4 Step S414 is shown.
[0196] S616. Node device 2 may determine that the signal transmission power is power 4 according to power level field 1 in beacon frame 2.
[0197] The node device 2 may store transmit powers corresponding to different power level fields. For example, the transmit power corresponding to the power level field 2 may be power 4. The power 4 may be the same as or different from the power 2. The specific size of the power 4 is not limited in the embodiment of the present application.
[0198] S617 , node device 1 may use power 3 to send a Probe Request to the central device, where the Probe Request includes a power level field 1 .
[0199] In some embodiments, except for Probe Request, the transmission power of the signal sent by the node device 1 to the central device can be power 3. For example, referring to the aforementioned Figure 2 In the process of node device 1 requesting to access the network where the central device is located, node device 1 also sends an Association Request to the central device. Node device 1 can use power 3 to send the Association Request to the central device.
[0200] S618: The central device may use power 1 to send a Probe Response.
[0201] S619 , node device 2 may use power 4 to send a Probe Request to the central device, where the Probe Request includes a power level field 2 .
[0202] In some embodiments, except for the Probe Request, the transmission power of the signal sent by the node device 2 to the central device can be power 4.
[0203] S620: The central device may use power 2 to send a Probe Response.
[0204] Step S618 and step S620 may refer to the aforementioned Figure 4 Steps S416 and S418 are shown.
[0205] It can be understood that the central device of the present application can broadcast two types of beacon frames: a beacon frame containing a power level field 1 and a beacon frame containing a power level field 2. The beacon frame 1 that can be used by node device 1 is a beacon frame whose signal strength can meet the requirements of node device 1. The beacon frame 1 used by node device 1 contains a power level field 1 that can reflect the distance between node device 1 and the central device. Similarly, the beacon frame 2 that can be used by node device 2 is a beacon frame whose signal strength can meet the requirements of node device 2. The beacon frame 2 used by node device 2 contains a power level field 2 that can reflect the distance between node device 2 and the central device. When the node device is close to the central device, the node device can use a smaller transmission power to send a signal to the central device. This can save the power consumption of the node device. When the node device is far away from the central device, the node device can use a larger transmission power to send a signal to the central device. This can ensure that the central device can receive the signal sent by the node device.
[0206] By the above Figure 6 It can be seen from the method shown that the central device can send beacon frames using two power levels so that the beacon frames can take into account both the remote node devices (such as node device 1) and the near node devices (such as node device 2). The node device can determine the appropriate transmission power based on the received beacon frame to send a signal to the central device. This can save the power consumption of the node device as much as possible while ensuring that the central device receives the signal sent by the node device. In addition, the central device can determine the transmission power suitable for the node device based on the signal sent by the node device (such as Probe Request), so that the strength of the signal sent by the central device received by the node device can always be within the dynamic range of the node device receiver. The above method can take into account the near-end and far-end node devices while increasing the coverage of the central device service, reducing the problem that the near-end node device cannot normally scan the central device or cannot associate with the central device due to the saturation of the received signal.
[0207] In some embodiments, the central device can use two power levels to send beacon frames. There is no need to add an additional power level field in the beacon frame. After receiving the beacon frame, the node device can decode the beacon frame to obtain the information of the central device. Then, the node device can send a Probe Request to the central device. The central device can estimate the path loss of the signal transmitted between the central device and the node device based on the Probe Request. The central device can determine the appropriate transmission power based on the path loss to send a Probe Response and other signals to the node device to ensure that the power of the signal received by the node device is within the dynamic range of the node device receiver.
[0208] Another wireless signal sending method provided by an embodiment of the present application is introduced below.
[0209] Figure 7 A flow chart of a method for sending a wireless signal is exemplarily shown.
[0210] like Figure 7 As shown, the method may include steps S711 to S719. Among them:
[0211] S711. The central device may broadcast beacon frame 3 using power 1 and broadcast beacon frame 4 using power 2.
[0212] The method for the central device to use power 1 to broadcast beacon frame 3 and power 2 to broadcast beacon frame 4 can refer to the above Figure 4 The method for the central device to broadcast beacon frame 1 and beacon frame 2 is introduced in.
[0213] The frame structures of beacon frame 3 and beacon frame 4 can refer to the above Figure 5 The frame structure shown in FIG. 3 and the beacon frame 4 may not include the power level field.
[0214] S712 , node device 1 may receive beacon frame 3 and beacon frame 4 , select beacon frame 3 according to signal quality, and obtain information of the central device according to beacon frame 3 .
[0215] S713 , node device 2 may receive beacon frame 3 and beacon frame 4 , select beacon frame 4 according to signal quality, and obtain information of the central device according to beacon frame 4 .
[0216] Step S712 and step S713 may refer to the aforementioned Figure 4 Steps S413 and S414 are shown.
[0217] S714. Node device 1 may send a Probe Request to the central device.
[0218] The Probe Request may not include the power level field.
[0219] S715 . The central device may estimate the signal path loss 1 of the signal sent from the node device 1 to the central device according to the Probe Request from the node device 1 , and determine the signal sending power suitable for the node device 1 as power 5 according to the signal path loss 1 .
[0220] In a possible implementation, the central device may estimate the signal path loss 1 using the estimated signal transmission power of the node device and the signal strength of the Probe Request received by the central device from the node device 1. The signal path loss 1 may be the difference between the above-mentioned estimated signal transmission power and the signal strength of the Probe Request. The above-mentioned estimated signal transmission power may be preset or determined according to the type of the node device 1. The embodiment of the present application does not limit the calculation method of the above-mentioned signal path loss 1.
[0221] It can be understood that the larger the signal path loss 1 is, the farther the node device 1 is from the central device. Therefore, the larger the value of power 5 can be. That is, the larger the signal path loss 1 is, the higher the transmission power of the central device to send the Probe Response and other signals to the node device 1 can be.
[0222] In a possible implementation, the central device may include path loss intervals corresponding to different signal transmission powers. For example, path loss interval 1 corresponding to power 5. Path loss interval 2 corresponding to power 6. Among them, the above power 5 may be the same as or different from the value of the above power 1. The above power 6 may be the same as or different from the value of the above power 2. If power 5 is higher than power 6. The values of signal path loss in path loss interval 1 corresponding to power 5 are greater than the values of signal path loss in path loss interval 2 corresponding to power 6. The central device can determine the signal transmission power suitable for node device 1 by determining which path loss interval the signal path loss 1 belongs to. For example, when it is determined that the signal path loss 1 belongs to path loss interval 1, the central device can determine that the signal transmission power suitable for node device 1 is power 5 corresponding to path loss area 1. The embodiment of the present application does not limit the specific size of the above path loss interval.
[0223] In another possible implementation, the central device may use the signal path loss 1 and the power of the signal received by the expected node device 1 to estimate the signal transmission power. The signal transmission power may be the sum of the signal strength of the signal received by the expected node device 1 and the signal path loss 1. The signal strength of the signal received by the expected node device 1 (which may be referred to as the expected received signal strength) may be preset. The embodiment of the present application does not limit the specific value of the expected received signal strength. For example, the value of the expected received signal strength may be -40dBm, -35dBm, etc.
[0224] The embodiment of the present application does not limit the method for determining the transmission power of the signal sent by the central device to the node device 1 according to the signal path loss 1.
[0225] S716 : The central device may use power 5 to send a Probe Response to node device 1 .
[0226] In some embodiments, except for Probe Response, the transmission power of the signal subsequently sent by the central device to the node device 1 may be power 5.
[0227] S717. Node device 2 may send a Probe Request to the central device.
[0228] The Probe Request may not include the power level field.
[0229] S718. The central device may estimate the signal path loss 2 for sending the signal from the node device 2 to the central device according to the Probe Request from the node device 2, and determine the signal transmission power suitable for the node device 2 as power 6 according to the signal path loss 2.
[0230] The method for the central device to estimate the signal path loss 2 can refer to the aforementioned method for estimating the signal path loss 1. The method for the central device to determine the transmission power of the signal sent by the central device to the node device 2 according to the signal path loss 2 can refer to the aforementioned method for the central device to determine the transmission power of the signal sent by the central device to the node device 1 according to the signal path loss 1. No further details will be given here.
[0231] S719: The central device may use power 6 to send a Probe Response to node device 2.
[0232] In some embodiments, except for Probe Response, the transmission power of the signal subsequently sent by the central device to the node device 2 can be power 6.
[0233] By the above Figure 7It can be seen from the method shown that the central device can send beacon frames using two levels of power so that the beacon frames can take into account both the remote node devices (such as node device 1) and the near-end node devices (such as node device 2). The beacon frame using the above two-level power method does not need to carry an additional power level field for indicating the transmission power. The central device can estimate the signal path loss of the signal transmitted between the node device and the central device based on the signal sent by the node device (such as Probe Request), and then determine the transmission power suitable for the node device. In this way, it can be ensured that the strength of the signal sent by the central device received by the node device can always be within the dynamic range of the node device receiver. The above method can take into account the near-end and far-end node devices while increasing the coverage of the central device service, reducing the problem that the near-end node device cannot normally scan the central device or cannot associate with the central device due to the saturation of the received signal.
[0234] In some embodiments, the above Figure 4 The method shown can be used with Figure 7 Combination of methods shown.
[0235] Specifically, the central device may broadcast beacon frame 1 using power 1 and broadcast beacon frame 2 using power 2. Beacon frame 1 may include power level field 1. Beacon frame 2 may include power level field 2. For details, please refer to the aforementioned Figure 4 Steps S411 and S412 are shown. After receiving a beacon frame with suitable signal quality, the node device can decode the beacon frame to obtain the information of the central device. Among them, the node device may not be able to recognize the power level field in the beacon frame. Therefore, the node device can send a Probe Request to the central device. The Probe Request does not contain a power level field. When receiving the Probe Request, the central device can estimate the signal path loss of the node device sending the signal to the central device based on the signal strength of the received Probe Request, and then determine the signal transmission power suitable for the node device based on the signal path loss. For details, please refer to the aforementioned Figure 7 Then, the central device may use the signal transmission power determined according to the signal path loss to send the Probe Response and other signals to the node device.
[0236] In the above embodiment, regardless of whether the node device recognizes the power level field in the signal, the central device can send beacon frames using two power levels so that the beacon frames can take into account both the remote node device (such as node device 1) and the near node device (such as node device 2). Both the remote and near node devices can decode the beacon frames of appropriate power to obtain the information of the central device. Even if the node device does not recognize the power level field in the beacon frame, the central device can estimate the signal transmission power suitable for the node device based on the signal sent by the node device, so as to avoid the signal sent by the central device from being unable to be detected by the node device when it is transmitted to the node device due to the signal being too weak, or being unable to be decoded by the node device due to the signal being too saturated.
[0237] In some embodiments, the user can instruct the central device to always use one power level to broadcast beacon frames, or instruct the central device to use two power levels to broadcast beacon frames as needed.
[0238] Figures 8A to 8D The schematic diagram exemplarily shows a scenario in which a user triggers a central device to broadcast a beacon frame using two power levels.
[0239] like Fig. 8A As shown, the electronic device 200 may display a user interface 810. The user interface 810 may be the desktop of the electronic device 200. One or more application icons may be displayed on the user interface 810. For example, a smart life application icon 811. In response to an operation on the smart life application icon 811, the electronic device 100 may open the smart life APP and display the smart life application icon 811. Figure 8B The user interface 820 shown. The user interface 820 may include a plurality of device options, so that the user can control the devices corresponding to these device options through the electronic device 200, and view the information of the devices corresponding to these device options.
[0240] like Figure 8B As shown, the user interface 820 may include a router option 821. The router option 821 may correspond to a router. The router may be a central device that can provide network access services for surrounding devices. In response to the operation of the router option 821, the electronic device 100 may display Figure 8C The user interface 830 shown. The user interface 830 may be a setting interface of a router.
[0241] like Figure 8C As shown, the user interface 830 may include a signal strength setting control 831. The signal strength setting control 831 may be used to set the way in which the router sends signals. In response to the operation of the signal strength setting control 831, the electronic device 100 may display Fig.8DUser interface 840 is shown.
[0242] like Fig.8D As shown, the user interface 840 may include a standard mode option 841 and an intelligent mode option 842. Among them, when the standard mode option 841 is selected, the electronic device 200 can instruct the router to send signals in accordance with the standard mode. Exemplarily, in standard mode, the router can always use a power level to broadcast beacon frames, and use the power to send other signals to the node device. The power can be a power of moderate power. The embodiment of the present application does not limit the size of the power. When the intelligent mode option 842 is selected, the electronic device 200 can instruct the router to send signals in accordance with the intelligent mode. Exemplarily, in intelligent mode, the router can use two power levels to send beacon frames. Beacon frames sent using different powers can carry different power level fields. Alternatively, beacon frames sent using different powers may not need to carry an additional power level field. In addition, the router can determine the signal transmission power suitable for the node device based on the signal from the node device. The signal sending method of the router in intelligent mode can refer to the aforementioned Figure 4 , Figure 6 , Figure 7 The signal sending method of the central device shown is not described here.
[0243] That is to say, the user can manually choose whether to let the central device work in the above standard mode or the above intelligent mode.
[0244] Fig. 9 The architecture diagram of the communication system 30 provided by the present application is exemplarily shown.
[0245] like Fig. 9 As shown, the communication system 30 may include a first device 910 and a second device 920. The first device 910 may establish a communication connection with the second device 920. In some embodiments, the first device 910 may be the aforementioned Figure 1A The second device 920 may be the aforementioned Figure 1A In some other embodiments, the first device 910 may be any node device as described above. Figure 1B The second device 920 may be the aforementioned Figure 1B Any one of the GC devices shown. Not limited to the first device 910 and the second device 920, the communication device 30 may also include more node devices or GC devices.
[0246] The first device 910 may include a communication module 911 , a transmission power determination module 912 , and a processing module 913 .
[0247] The communication module 911 can be used for the first device 910 to communicate with other devices (such as the second device 920). For example, the first device 910 can broadcast beacon frames through the communication module 911, receive signals sent by other devices, and send signals for responding to requests from other devices (such as Probe Response, Association Response, etc.). Among them, the communication module 911 can obtain the signal to be sent from the processing module 913 and encode the signal to be sent. The communication module 911 can decode the received signal and report the decoded signal to the transmission power determination module 912 and the processing module 913. The communication module 911 can encode or decode the signal using a protocol such as the Wi-Fi protocol.
[0248] In some embodiments, the communication module 911 may broadcast beacon frame 1 using power 1 and broadcast beacon frame 2 using power 2. The first power and the second power may be different. Among them, beacon frame 1 may include power level field 1. Power level field 1 may be used to indicate the transmit power of beacon frame 1. Beacon frame 2 may include power level field 2. Power level field 2 may be used to indicate the transmit power of beacon frame 2.
[0249] The transmission power determination module 912 may be used to determine the transmission power of the first device 910 to send a signal to other devices. In one possible implementation, the communication module 911 receives a signal from the second device 920, and the signal includes a power level field (such as power level field 1 or power level field 2, etc.). The transmission power determination module 912 may determine the transmission power according to the power level field. Further, the transmission power determination module 912 may instruct the communication module 911 to use the above-determined transmission power to send a signal to the second device 920. In another possible implementation, the transmission power determination module 912 may estimate the path loss of the signal transmitted between the first device 910 and the second device 920 according to the signal from the second device 920. Then, the transmission power determination module 912 may determine the transmission power suitable for the second device 920 according to the path loss, and instruct the communication module 911 to use the transmission power to send a signal to the second device 920.
[0250] The processing module 913 may be used to parse the signal received by the communication module 911 and generate a signal (such as a beacon frame, a Probe Response, an Association Response, etc.) to be sent to other devices. The processing module 913 may hand over the signal to be sent to the communication module 911 for external transmission. In some embodiments, the processing module 913 may add the power level field 1 in the beacon frame 1 and add the power level field 2 in the beacon frame 2. The processing module 913 may also be used to agree or refuse the second device 920 to establish a communication connection such as a Wi-Fi connection or a Wi-Fi direct connection with the first device 910 according to the signal sent by the second device 920.
[0251] The second device 920 may include a communication module 921 , a transmission power determination module 922 , and a processing module 923 .
[0252] The communication module 921 can be used for the second device 920 to communicate with other devices (such as the first device 910). For example, the second device 920 can receive the beacon frame (beacon frame 1 and / or beacon frame 2) broadcast by the first device 910 through the communication module 921. The second device 920 can also send Probe Request, Association Request and other signals to the first device 910 through the communication module 921. The communication module 921 can obtain the signal to be sent from the processing module 923 and encode the signal to be sent. The communication module 921 can also decode the received signal (such as beacon frame, ProbeResponse, Association Response) and report the decoded signal to the transmission power determination module 922 and the processing module 923. The protocol used for encoding and decoding the signal can be, for example, a Wi-Fi protocol.
[0253] In some embodiments, the beacon frame received by the communication module 921 includes a power level field (such as power level field 1 or power level field 2). The Probe Request sent out by the communication module 921 may include the power level field in the beacon frame.
[0254] The transmission power determination module 922 may be used to determine the transmission power of the second device 920 to send a signal to the first device 910. In a possible implementation, the transmission power determination module 922 may determine the transmission power according to the power level field included in the beacon frame from the first device 910, and instruct the communication module 921 to use the transmission power to send a signal to the first device 910.
[0255] Among them, the transmission power determination module 922 is optional. That is, the second device 920 may not include the transmission power determination module 922. For example, the communication module 921 can send a signal to the first device 910 or other devices according to the preset transmission power. That is, the second device 920 does not need to dynamically adjust the power of the transmission signal according to the distance between the second device 920 and the first device 910.
[0256] The processing module 923 can be used to parse the signal received by the communication module 921 and generate signals (such as Probe Request, Association Request) to be sent to other devices. The processing module 923 can hand over the signal to be sent to the communication module 921 for external transmission. In some embodiments, the communication module 921 receives both the above-mentioned beacon frame 1 and the above-mentioned beacon frame 2. The processing module 923 can determine whether to use beacon frame 1 or beacon frame 2 according to the signal quality. Among them, the processing module 923 can choose to use the beacon frame with better signal quality to parse and obtain the information of the first device 910, and then add the corresponding power level field in the Probe Request to be sent according to the power level field contained in the beacon frame with better signal quality. In this way, the second device 920 can prompt the first device 910 to be suitable for the signal transmission power of the second device 920 through the power level field in the Probe Request, so as to avoid the first device 910 sending the signal to the second device 920. Too low or too high power.
[0257] Above Fig. 9 The structures of the first device 910 and the second device 920 are merely exemplary descriptions of the present application and should not be construed as limiting the present application. The first device 910 and the second device 920 may also include more or fewer modules.
[0258] It is understandable that the various user interfaces described in the embodiments of the present application are only example interfaces and do not limit the present application scheme. In other embodiments, the user interface may adopt a different interface layout, may include more or fewer controls, and may increase or decrease other functional options, as long as they are based on the same inventive concept provided by the present application, they are all within the scope of protection of the present application.
[0259] It should be noted that, without causing any contradiction or conflict, any feature in any embodiment of the present application, or any part of any feature, can be combined, and the combined technical solution is also within the scope of the embodiments of the present application.
[0260] As described above, the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A wireless signal sending method, characterized in that: The method comprises: The first device broadcasts a first signal using a first power and broadcasts a second signal using a second power, wherein the first signal and the second signal are both used to indicate the existence of the first network, wherein the first power and the second power are different powers; The first device receives a third signal from the second device, where the third signal is used to detect the first network; The first device determines a third power according to the third signal, and uses the third power to send a fourth signal to the second device, where the fourth signal is used to respond to the third signal; The first device receives a fifth signal from a third device, where the fifth signal is used to detect the first network; The first device determines a fourth power according to the fifth signal, and uses the fourth power to send a sixth signal to the third device, where the sixth signal is used to respond to the fifth signal; The third power and the fourth power are different powers.
2. The method according to claim 1, characterized in that: The first signal includes a first power identifier, and the first power identifier is used to indicate the transmission power of the first signal. The second signal includes a second power identifier, and the second power identifier is used to indicate the transmission power of the second signal.
3. The method according to claim 2, characterized in that The third signal includes the first power identifier, and the fifth signal includes the second power identifier, wherein: The first device determines the third power according to the third signal, specifically including: The first device obtains the first power identifier from the third signal, and determines the third power according to the first power identifier; The first device determines the fourth power according to the fifth signal, specifically including: The first device obtains the second power identifier from the fifth signal, and determines the fourth power according to the second power identifier.
4. The method according to claim 1 or 2, characterized in that: The first device determines the third power according to the third signal, specifically including: The first device estimates, according to the third signal, that a signal path loss between the first device and the second device is a first path loss; The first device determines the third power according to the first path loss; The first device determines the fourth power according to the fifth signal, specifically including: The first device estimates, according to the fifth signal, that a signal path loss between the first device and the third device is a second path loss; The first device determines the fourth power according to the second path loss.
5. The method according to claim 4, characterized in that The third power is the power corresponding to the first path loss interval, and the first path loss interval is the interval including the first path loss; the fourth power is the power corresponding to the second path loss interval, and the second path loss interval is the interval including the second path loss.
6. The method according to claim 4, characterized in that The third power is the sum of the first path loss and the expected received power, and the fourth power is the sum of the second path loss and the expected received power.
7. The method according to any one of claims 1 to 6, characterized in that The method further comprises: The first device receives a seventh signal from the second device, and uses the third power to send a signal to the second device for responding to the seventh signal, where the seventh signal is used to request access to the first network; The first device receives an eighth signal from the third device, and uses the fourth power to send a signal to the third device for responding to the eighth signal, where the eighth signal is used to request access to the first network.
8. The method according to any one of claims 1 to 7, characterized in that Before the first device broadcasts the first signal using the first power and broadcasts the second signal using the second power, the method further includes: The first device receives a first operation or a first instruction, where the first operation or the first instruction is used to trigger the first device to broadcast a signal indicating the existence of the first network using the first power and the second power.
9. A wireless signal sending method, characterized in that: The method is applied to a communication system, the communication system includes a first device, a second device and a third device, and the method includes: The first device broadcasts a first signal using a first power and broadcasts a second signal using a second power, wherein the first signal and the second signal are both used to indicate the existence of the first network, wherein the first power and the second power are different powers; The second device sends a third signal to the first device according to the first signal, where the third signal is used to detect the first network; The first device determines a third power according to the third signal, and uses the third power to send a fourth signal to the second device, where the fourth signal is used to respond to the third signal; The third device sends a fifth signal to the first device according to the second signal, where the fifth signal is used to detect the first network; The first device determines a fourth power according to the fifth signal, and uses the fourth power to send a sixth signal to the third device, where the sixth signal is used to respond to the fifth signal; The third power and the fourth power are different powers.
10. The method according to claim 9, characterized in that The first signal includes a first power identifier, and the first power identifier is used to indicate the transmission power of the first signal. The second signal includes a second power identifier, and the second power identifier is used to indicate the transmission power of the second signal.
11. The method according to claim 10, characterized in that The third signal includes the first power identifier, and the fifth signal includes the second power identifier, wherein: The first device determines the third power according to the third signal, specifically including: The first device obtains the first power identifier from the third signal, and determines the third power according to the first power identifier; The first device determines the fourth power according to the fifth signal, specifically including: The first device obtains the second power identifier from the fifth signal, and determines the fourth power according to the second power identifier.
12. The method according to claim 10 or 11, characterized in that: The second device sending a third signal to the first device according to the first signal specifically includes: The second device obtains the first power identifier from the first signal, and determines a fifth power according to the first power identifier; The second device sends the third signal to the first device using the fifth power; The step of sending, by the third device, a fifth signal to the first device according to the second signal specifically includes: The third device obtains the second power identifier from the second signal, and determines a sixth power according to the second power identifier; The third device sends the fifth signal to the first device using the sixth power.
13. The method according to any one of claims 9 to 12, characterized in that: The first device determines the third power according to the third signal, specifically including: The first device estimates, according to the third signal, that a signal path loss between the first device and the second device is a first path loss; The first device determines the third power according to the first path loss; The first device determines the fourth power according to the fifth signal, specifically including: The first device estimates, according to the fifth signal, that a signal path loss between the first device and the third device is a second path loss; The first device determines the fourth power according to the second path loss.
14. The method according to claim 13, characterized in that The third power is the power corresponding to the first path loss interval, and the first path loss interval is the interval including the first path loss; the fourth power is the power corresponding to the second path loss interval, and the second path loss interval is the interval including the second path loss.
15. The method according to claim 13, characterized in that The third power is the sum of the first path loss and the expected received power, and the fourth power is the sum of the second path loss and the expected received power.
16. The method according to any one of claims 9 to 15, characterized in that: Before the second device sends a third signal to the first device according to the first signal, the method further includes: The second device receives the first signal and the second signal; The second device determines that a signal quality of the first signal is better than a signal quality of the second signal; The second device decodes the first signal.
17. The method according to any one of claims 9 to 16, characterized in that: The method further comprises: The second device sends a seventh signal to the first device, where the seventh signal is used to request access to the first network; The first device sends a signal for responding to the seventh signal to the second device using the third power; The third device sends an eighth signal to the first device, where the eighth signal is used to request access to the first network; The first device transmits a signal for responding to the eighth signal to the third device using the fourth power.
18. The method according to any one of claims 9 to 17, characterized in that: Before the first device broadcasts the first signal using the first power and broadcasts the second signal using the second power, the method further includes: The first device receives a first operation or a first instruction, where the first operation or the first instruction is used to trigger the first device to broadcast a signal indicating the existence of the first network using the first power and the second power.
19. A method for sending a wireless signal, characterized in that: The method comprises: The second device receives a first signal broadcast by the first device, where the first signal is used to indicate the existence of the first network, and the first signal includes a first power identifier, where the first power identifier is used to indicate that a transmission power of the first signal is a first power; The second device sends a third signal to the first device according to the first signal, where the third signal is used to detect the first network and includes the first power identifier; The second device receives a fourth signal sent by the first device, where the fourth signal is used to respond to the third signal.
20. The method according to claim 19, characterized in that The second device sending a third signal to the first device according to the first signal specifically includes: The second device obtains the first power identifier from the first signal, and determines a fifth power according to the first power identifier; The second device sends the third signal to the first device using the fifth power.
21. The method according to claim 20, characterized in that The method further comprises: The second device sends a seventh signal to the first device using the fifth power, where the seventh signal is used to request access to the first network.
22. The method according to any one of claims 19 to 21, characterized in that Before the second device sends a third signal to the first device according to the first signal, the method further includes: The second device also receives a second signal broadcast by the first device, where the second signal is used to indicate the existence of the first network, and the second signal includes a second power identifier, where the second power identifier is used to indicate that the transmission power of the second signal is a second power, wherein the first power is different from the second power; The second device determines that a signal quality of the first signal is better than a signal quality of the second signal; The second device decodes the first signal.
23. An electronic device, characterized in that: The electronic device comprises a communication device, a memory and a processor, wherein the communication device is used to send wireless signals, the memory is used to store a computer program; and the processor is used to call the computer program so that the electronic device executes the method according to any one of claims 1 to 8.
24. An electronic device, characterized in that: The electronic device includes a communication device, a memory and a processor, wherein the communication device is used to send wireless signals, the memory is used to store computer programs; and the processor is used to call the computer program so that the electronic device executes the method described in any one of claims 19-22.
25. A communication system, characterized in that: The communication system includes the electronic device according to claim 23 and the electronic device according to claim 24.
26. A computer-readable storage medium comprising instructions, characterized in that: When the instructions are executed on an electronic device, the electronic device executes the method according to any one of claims 1-8 or 19-22.
27. A computer program product, characterized in that The computer program product comprises computer instructions, and when the computer instructions are run on an electronic device, the electronic device executes the method according to any one of claims 1 to 8 or 19 to 22.
Citation Information
Patent Citations
Method and apparatus for generating access point beacons at different power levels
CN102124790A
Method and device for adjusting transmitting power of access point
CN105338588A
Method and apparatus for controlling operation based on distance between transmission device and reception device
CN105392105A
WLAN access equipment and detection method
CN106507329A