WO2017054166A1 - Spatial multiplexing method and equipment - Google Patents

Spatial multiplexing method and equipment Download PDF

Info

Publication number
WO2017054166A1
WO2017054166A1 PCT/CN2015/091209 CN2015091209W WO2017054166A1 WO 2017054166 A1 WO2017054166 A1 WO 2017054166A1 CN 2015091209 W CN2015091209 W CN 2015091209W WO 2017054166 A1 WO2017054166 A1 WO 2017054166A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
channel
transmission type
sent
transmission
Prior art date
Application number
PCT/CN2015/091209
Other languages
French (fr)
Chinese (zh)
Inventor
丁志明
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201580082748.3A priority Critical patent/CN107925882B/en
Priority to PCT/CN2015/091209 priority patent/WO2017054166A1/en
Publication of WO2017054166A1 publication Critical patent/WO2017054166A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W16/00Network planning, e.g. coverage or traffic planning tools; Network deployment, e.g. resource partitioning or cells structures
    • H04W16/02Resource partitioning among network components, e.g. reuse partitioning

Definitions

  • the present invention relates to communication technologies, and in particular, to a spatial multiplexing method and device.
  • Wireless Local Area Networks is a kind of local area network that uses radio frequency technology for data transmission.
  • the network uses air communication to provide users with a network without network cable restrictions, which makes up for the wired local area network. insufficient.
  • the BSS is a star-shaped wireless network composed of a wireless access node (Access Point, AP for short) and at least one station (Station, abbreviated as STA); the IBSS is a peer-to-peer wireless network composed of at least two STAs.
  • AP wireless access node
  • STA station
  • the above APs and STAs may be collectively referred to as devices.
  • the communication within the network of the foregoing BSS includes: the STA sends a message (uplink message) to the AP, the AP sends a message to the STA (downlink message), one STA sends a message to another STA (direct connection message), and the AP
  • a broadcast message (broadcast message) is sent to all STAs in the network
  • the communication within the network of the IBSS includes: directly transmitting the message, and the STA sends a broadcast message (broadcast message) to other STAs in the network.
  • the embodiment of the present invention provides a spatial multiplexing method and device, which is used to solve the problem that when a BSS or an IBSS communicates within a network, only one device is allowed to transmit a message at a time, resulting in a spectrum utilization rate of the network. Lower technical issues.
  • an embodiment of the present invention provides a spatial multiplexing method, including:
  • the first device acquires a transmission type of the first message by listening to a physical header of the first message, where the transmission type of the first message is an indirect connection message or a direct connection message; the first device sends The second device of the first message belongs to the same network;
  • the second device Determining, by the first device, whether the second device sends the first message by using the first channel, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device
  • the first channel sends the second message; the transmission type of the second message is an indirect connection message or a direct connection message.
  • the first device obtains a transmission type of the first message by listening to a physical header of the first message, and specifically includes:
  • the physical header of the first message further includes a part that receives the first message
  • the identifier of the three devices further includes:
  • the first device determines, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, whether the second device sends the Transmitting, by the first channel, the second message when the first message is sent;
  • the first device continues to receive the remainder of the first message.
  • the physical header of the first message further includes the foregoing The identifier of the second device; the method further includes:
  • the first device determines, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, whether the second device sends the Transmitting, by the first channel, the second message when the first message is sent;
  • the first device determines that the second message is not sent by using the first channel when the second device sends the first message by using the first channel.
  • the first device is configured according to the transmission of the first message And a transmission type of the second message to be sent by the first device, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically include:
  • the first device determines that the second device sends by using the first channel. Transmitting, by the first channel, the second message when the first message is sent;
  • the first device determines that the second device passes the Transmitting, by the first channel, the second message by using the first channel when sending the first message;
  • the first device determines that the second device does not pass the first channel. Sending the second message through the first channel when the first message is sent.
  • the method further includes:
  • the neighbor information is a correspondence between a historical path loss of the first device listening to a message sent by another device and an identifier of the other device;
  • the sending, by the first channel, the second message includes:
  • the first device is configured according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, and the historical path when the first device listens to the message sent by the third device. Loss, determining whether to send the second message over the first channel when the second device sends the first message over the first channel.
  • the physical header of the first message further includes a sending duration of the first message; Also includes:
  • the first device is configured according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, and the historical path when the first device listens to the message sent by the third device Determining whether to send the second message by using the first channel when the second device sends the first message by using the first channel, specifically:
  • the first device determines that the sending duration of the second message is less than or equal to the remaining sending duration of the first message, the first device is configured according to the transmission type of the first message, and the first device is a transmission type of the sent second message, and a historical path loss when the first device listens to the message sent by the third device, determining whether the first device sends the first channel by using the first channel Transmitting the second message through the first channel when the message is received.
  • the method further includes:
  • the neighbor information is a correspondence between a historical path loss when the first device listens to a message sent by another device and an identifier of the other device relationship;
  • the first device is configured to: according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, and the historical path loss when the first device listens to the message sent by the third device, And determining, by the first device, the power required by the second message, whether to send the second channel by using the first channel when the second device sends the first message by using the first channel Message.
  • the physical header of the first message further includes a sending duration of the first message; Also includes:
  • the first device according to the transmission type of the first message and the first device to be sent a transmission type of the second message, a historical path loss when the first device listens to the message sent by the third device, and a power required by the first device to send the second message, determining whether the first device is in the first And sending, by the second device, the second message by using the first channel when the first device sends the first message by using the first channel, specifically:
  • the first device determines that the sending duration of the second message is less than or equal to the remaining sending duration of the first message
  • the first device is configured according to the transmission type of the first message, and the first device is The transmission type of the second message to be sent, the historical path loss when the first device listens to the message sent by the third device, and the power required by the first device to send the second message, to determine whether And sending, by the second device, the second message by using the first channel when the first message is sent by using the first channel.
  • an embodiment of the present invention provides a spatial multiplexing method, where the method includes:
  • the second device sends a first message, where the physical header of the first message is used to indicate the transmission type of the first message to the first device, so that the first device is configured according to the transmission type and location of the first message. Determining, by the transmission type of the second message to be sent by the first device, whether the second message is sent by using the first channel when the second device sends the first message by using the first channel;
  • the transmission type of the first message is an indirect connection message or a direct connection message
  • the transmission type of the second message is an indirect connection message or a direct connection message
  • the second device belongs to the first device The same network.
  • the physical header of the first message includes a direct connection transmission indication, and wherein the direct connection transmission indication is used to indicate the first message The type of transmission.
  • the physical header of the first message further includes at least one of the following:
  • a network identifier of the second device an identifier of the second device, an identifier of the third device, and a sending duration of the first message, where the third device is configured to receive the first message. device.
  • an embodiment of the present invention provides a device, where the device includes:
  • An acquiring module configured to acquire a transmission type of the first message by listening to a physical header of the first message, where the transmission type of the first message is an indirect connection message or a direct connection message; where the acquiring module is located
  • the device belongs to the same network as the second device that sends the first message;
  • a first determining module configured to determine whether the second device passes the first channel according to a transmission type of the first message acquired by the acquiring module and a transmission type of the second message to be sent by the device where the acquiring module is to be sent Sending the second message by using the first channel when sending the first message;
  • the transmission type of the second message is an indirect connection message or a direct connection message.
  • the acquiring module is configured to acquire the first message according to a direct connection indication included in a physical header of the first message. a transmission type; wherein the direct transmission indication is used to indicate a transmission type of the first message.
  • the physical header of the first message further includes a part that receives the first message
  • the identifier of the three devices the device further includes: a second determining module and a receiving module;
  • the second determining module is configured to determine, according to the identifier of the third device, whether the device where the acquiring module is located is different from the third device;
  • the first determining module is further configured to: when the second determining module determines, according to the identifier of the third device, that the device where the acquiring module is different from the third device, according to the obtaining module Determining whether a transmission type of the first message and a transmission type of the second message to be sent by the device where the acquiring module is to be sent are sent by using the first channel when the second device sends the first message by using the first channel And the second determining module, when the second determining module determines that the device where the acquiring module is the same as the third device, according to the identifier of the third device, instructing the receiving module to continue to receive the first The rest of the message.
  • the third aspect of the third aspect The identification of the two devices;
  • the second determining module is further configured to determine, according to the identifier of the second device, whether the fourth device that receives the second message is different from the second device;
  • the first determining module is further configured to: when the second determining module determines, according to the identifier of the second device, that the fourth device is different from the second device, the first acquired according to the acquiring module Determining whether the transmission type of the message and the transmission type of the second message to be sent by the device in which the acquiring module is to be sent are sent by using the first channel when the second device sends the first message by using the first channel a second message, when the second determining module determines that the fourth device is the same as the second device according to the identifier of the second device, determining that the second device does not pass the Sending, by the first channel, the second message by using the first channel when the first channel sends the first message.
  • the transmission of the first message acquired according to the acquiring module And determining, by the type, the transmission type of the second message to be sent by the device where the module is located, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, where include:
  • the transmission type of the first message is a non-direct transmission message
  • the transmission type of the second message is a direct transmission message
  • the transmission type of the first message is a direct transmission message
  • the transmission type of the second message is a direct connection transmission message or a non-direct connection transmission message
  • the transmission type of the first message is a non-direct transmission message
  • the transmission type of the second message is an indirect connection message
  • the device further includes:
  • a third determining module configured to determine, according to the neighbor information and the identifier of the third device included in the physical header of the first message, a history of the device where the acquiring module is located to listen to the message sent by the third device a path loss; where the neighbor information is a correspondence between a historical path loss of the device where the acquiring module is located to listen to a message sent by another device, and an identifier of the other device;
  • the first determining module is configured to determine, according to a transmission type of the first message acquired by the acquiring module, and a transmission type of the second message to be sent by the device where the acquiring module is located, whether the second device passes the Sending the second message by using the first channel when the first message is sent by a channel, specifically:
  • the physical header of the first message further includes a sending duration of the first message
  • the third determining module is further configured to determine a sending duration of the second message
  • the first determining module is configured to: according to the transmission type of the first message, the transmission type of the second message, and the device where the acquiring module is determined by the third determining module, listening to the third The historical path loss of the message sent by the device, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
  • the third determining module determines, by the device where the acquiring module is located, the historical path loss when the message sent by the third device is used, and determining whether the first device passes the first message when sending the first message by using the first channel.
  • the channel transmits the second message.
  • the device further includes:
  • a fourth determining module configured to determine, according to the neighbor information and the identifier of the third device included in the physical header of the first message, a history of the device where the acquiring module is listening to the message sent by the third device The path loss, and the power required by the device where the acquiring module is sent to send the second message; wherein the neighbor information is a historical path loss and a path when the device where the acquiring module is listening to the message sent by the other device Corresponding relationship between the identifiers of other devices;
  • the first determining module is configured to determine, according to a transmission type of the first message acquired by the acquiring module, and a transmission type of the second message to be sent by the device where the acquiring module is located, whether the second device passes the Sending the second message by using the first channel when the first message is sent by a channel, specifically:
  • the historical path loss when the device where the acquiring module is located monitors the message sent by the third device, according to the transmission type of the first message, the transmission type of the second message, and the device that is determined by the fourth determining module And determining, by the device where the acquiring module is sent, the power required by the second message, to determine whether the first device sends the first message by using the first channel.
  • the track sends the second message.
  • the physical header of the first message further includes a sending duration of the first message
  • the fourth determining module is further configured to determine a sending duration of the second message
  • the first determining module is configured to: according to the transmission type of the first message, the transmission type of the second message, and the device where the acquiring module is determined by the fourth determining module, listening to the third The historical path loss when the message is sent by the device, and the power required by the device where the acquiring module is sent to send the second message, determining whether the second device sends the first message through the first channel. Sending, by the first channel, the second message, specifically:
  • the transmission duration of the second message determined by the fourth determining module is less than or equal to the remaining transmission duration of the first message, according to the transmission type of the first message, the transmission type of the second message, The historical path loss when the device where the acquiring module is listening to the message sent by the third device, and the power required by the device where the acquiring module is sent to send the second message, determining whether the second device is Transmitting the second message through the first channel when the first message is sent by using the first channel.
  • an embodiment of the present invention provides a device, where the device includes:
  • a sending module configured to send a first message, where a physical header of the first message is used to indicate, to the first device, a transmission type of the first message, so that the first device is configured according to the transmission type of the first message Determining, by the transmission type of the second message to be sent by the first device, whether the second message is sent by using the first channel when the device where the sending module is located sends the first message by using a first channel;
  • the transmission type of the first message is a non-direct connection transmission message or a direct connection transmission message
  • the transmission type of the second message is a non-direct connection transmission message or a direct connection transmission message
  • the first device belongs to the same network.
  • the physical header of the first message includes a direct connection transmission indication, and wherein the direct connection transmission indication is used to indicate the first message The type of transmission.
  • the physical header of the first message further includes at least one of the following:
  • the third device is a device that receives the first message.
  • an embodiment of the present invention provides a device, where the device includes: a receiver and a processor;
  • the receiver is configured to listen to a physical header of the first message
  • the processor is configured to acquire, according to a physical header of the first message, a transmission type of the first message, and according to a transmission type of the first message and a second to be sent by a device where the processor is located And determining, by the transmission type of the message, whether the second message is sent by using the first channel when the second device sends the first message by using the first channel; wherein, the transmission type of the first message is non-straight And transmitting a message or a direct connection message; the device where the processor is located belongs to the same network as the second device that sends the first message; and the transmission type of the second message is an indirect connection message or a direct connection transmission Message.
  • the processor is configured to acquire the first message according to a direct transmission indication included in a physical header of the first message. a transmission type; wherein the direct transmission indication is used to indicate a transmission type of the first message.
  • the physical header of the first message further includes a part that receives the first message The identification of the three devices;
  • the processor is further configured to determine, according to the identifier of the third device, whether the device where the processor is located is different from the third device; when determining that the device where the processor is located and the third device are not At the same time, determining whether to pass the first message when the second device sends the first message by using the first channel according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is located. Transmitting, by the first channel, the second message; when it is determined that the device where the processor is located is the same as the third device, instructing the receiver to continue receiving the remaining part of the first message.
  • the physical header of the first message further includes the foregoing The identification of the two devices;
  • the processor is further configured to determine, according to the identifier of the second device, that the fourth device that receives the second message is different from the second device; when determining that the fourth device and the second device are not Simultaneously, determining whether the second device sends the first message by using the first channel according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is located Transmitting, by the first channel, the second message; when determining that the fourth device is the same as the second device, determining that the second device does not pass when sending the first message by using the first channel The first channel sends the second message.
  • a fourth possible implementation manner of the fifth aspect Determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, where the device is configured to:
  • the transmission type of the first message is a non-direct transmission message
  • the transmission type of the second message is a direct transmission message
  • the transmission type of the first message is a direct transmission message
  • the transmission type of the second message is a direct connection transmission message or a non-direct connection transmission message
  • the transmission type of the first message is a non-direct transmission message
  • the transmission type of the second message is an indirect connection message
  • the processor is further configured to use the neighbor information
  • the identifier of the third device included in the physical header of the first message determines a historical path loss when the device where the processor is located listens to the message sent by the third device; where the neighbor information is Corresponding relationship between the historical path loss of the device where the processor is located to listen to the message sent by the other device and the identifier of the other device;
  • the processor is configured to determine, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is to be sent, whether the second device sends the first channel by using the first channel Sending the second message by using the first channel when a message is:
  • the physical header of the first message further includes a sending duration of the first message
  • the processor is further configured to determine a sending duration of the second message
  • the processor is configured to: according to a historical path loss when the device where the processor is located is listening to a message sent by the third device, and a transmission type of the first message, a transmission type of the second message, Determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
  • the device monitors the historical path loss when the message sent by the third device, and determines whether the second message is sent by using the first channel when the second device sends the first message by using the first channel.
  • the processor is further configured to determine, according to the neighbor information and the identifier of the third device in the first message, a historical path loss when the device where the processor is located is listening to the message sent by the third device, and The power required by the device where the processor is to send the second message; wherein the neighbor information is a historical path loss when the device where the processor is located listening to a message sent by another device, and an identifier of the other device Correspondence between them;
  • the processor is configured to determine, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is to be sent, whether the second device sends the first channel by using the first channel Sending the second message by using the first channel when a message is:
  • a historical path loss when the device where the processor is located is listening to the message sent by the third device, a power required by the device where the processor is located to send the second message, and a transmission of the first message
  • the physical header of the first message further includes a sending duration of the first message
  • the processor is further configured to determine a sending duration of the second message
  • the processor is configured to: according to a historical path loss when the device where the processor is located is listening to a message sent by the third device, a power required by the device where the processor is located to send the second message, and Determining, by the transmission type of the first message, the transmission type of the second message, whether the second message is sent by using the first channel when the second device sends the first message by using a first channel, Specifically:
  • the sending duration of the second message is less than or equal to the remaining sending duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the device where the processor is located. a historical path loss when the message is sent by the third device, and a power required by the device where the processor is to send the second message, determining whether the second device sends the first channel through the first channel The second message is sent through the first channel when a message is received.
  • an embodiment of the present invention provides a device, where the device includes: a transmitter;
  • the transmitter is configured to send a first message, where a physical header of the first message is used to indicate, to the first device, a transmission type of the first message, so that the first device is configured according to the first message Transmitting type and a transmission type of the second message to be sent by the first device, determining whether to send the second message by using the first channel when the device where the sender is located sends the first message by using a first channel
  • the transmission type of the first message is a non-direct connection transmission message or a direct connection transmission message
  • the transmission type of the second message is an indirect connection transmission message or a direct connection transmission message; It belongs to the same network as the first device.
  • the physical header of the first message includes a direct connection transmission indication, and wherein the direct connection transmission indication is used to indicate the first message The type of transmission.
  • the physical header of the first message further includes at least one of the following:
  • the first device can obtain the transmission type of the first message by listening to the physical header of the first message being transmitted in the first channel, so that the transmission type of the first message can be And the transmission type of the second message to be sent by itself, determining whether When the second device sends the first message through the first channel, the second message is sent by using the first channel, that is, the spatial multiplexing method and device provided by the embodiment of the present invention do not need to wait until the initial value of the count is reduced to 0.
  • the first channel transmits the first message while transmitting the second message through the first channel, thereby realizing spatial multiplexing within the network and improving the spectrum utilization of the network.
  • FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a spatial multiplexing method according to an embodiment of the present disclosure
  • Embodiment 4 of a spatial multiplexing method according to an embodiment of the present disclosure
  • FIG. 3 is a schematic flowchart of Embodiment 5 of a spatial multiplexing method according to an embodiment of the present disclosure
  • FIG. 4 is a schematic structural diagram of Embodiment 1 of an apparatus according to an embodiment of the present disclosure.
  • FIG. 5 is a schematic structural diagram of Embodiment 2 of an apparatus according to an embodiment of the present disclosure.
  • FIG. 6 is a schematic structural diagram of Embodiment 3 of a device according to an embodiment of the present disclosure.
  • FIG. 7 is a schematic structural diagram of Embodiment 4 of an apparatus according to an embodiment of the present disclosure.
  • FIG. 8 is a schematic structural diagram of Embodiment 6 of an apparatus according to an embodiment of the present disclosure.
  • the first device in the embodiment of the present invention may be an AP in the wireless fidelity (WiFi) network or any STA.
  • the second device in the embodiment of the present invention may be an AP in the WiFi network, or may be STA.
  • the AP involved in the embodiment of the present invention may be an access device (for example, a wireless router) or a hotspot, and the hotspot is a wireless device working in an AP mode (for example, a smart phone). Wait.
  • an access device for example, a wireless router
  • a hotspot is a wireless device working in an AP mode (for example, a smart phone). Wait.
  • the STA involved in the embodiment of the present invention may be a user site, and may be a terminal.
  • the terminal here can be a wireless terminal.
  • the wireless terminal includes a device that provides voice and/or data services to the user.
  • the device can be a handheld device with wireless connectivity, or other processing device connected to the wireless modem.
  • the wireless terminal can also communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), for example, the wireless terminal can be a mobile terminal, such as a mobile phone (or "cellular" "Phone" and a computer having a mobile terminal, which may be a portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile device that can interact with the core network for voice and/or data.
  • a radio access network eg, RAN, Radio Access Network
  • the network using the WiFi communication standard is collectively referred to as a WiFi network, and the messages transmitted by each device in the WiFi network are called For WiFi messages.
  • the WiFi message includes a physical header and a data portion.
  • the physical header of the WiFi message is transmitted in the channel before the data portion.
  • the existing WiFi communication standard is a time-based and contention-based wireless communication standard, that is, all devices in the network use a competitive mechanism to send WiFi messages, specifically, when a certain device inside the WiFi network needs to send a WiFi message.
  • device A When sending, if the device is device A, and the WiFi message to be sent by device A is WiFi message 1, device A randomly selects a value as the initial value of the count within the allowed range of values, and monitors the channel in a certain time unit. If the channel is idle (that is, there is no other WiFi message being transmitted in the channel or there is no strong noise (the strong noise refers to the noise of the signal whose intensity is greater than a preset threshold, wherein the preset threshold may be based on A threshold value determined by parameters inside the network.
  • the above strong noise can be, for example, a message sent by using Bluetooth technology, and then device A decrements the initial value by one; if the channel is busy (that is, the channel is transmitting other WiFi messages or exists) Strong noise, assuming that other WiFi messages being transmitted are WiFi messages 2), device A pauses counting until the channel is idle (ie WiFi 2 has completed the transmission of the noise disappears or stronger), the device A will continue counting down, the initial value until the count reaches zero, the device A determines a message transmission WiFi, WiFi and transmitting a message through a channel.
  • the device A transmits the WiFi message 1 through the channel
  • the other device is in the competitive machine.
  • the counting will be suspended until the transmission of the WiFi message 1 is completed (that is, after the channel is idle), the other devices will continue to count until the initial value of the count is reduced. After 0, the WiFi message is sent through the channel to ensure that only one WiFi message is transmitted in the channel at a time.
  • each device in the WiFi network sends a WiFi message by using the above-mentioned competing mechanism, only one WiFi message can be transmitted in the channel at a time, and each device needs to determine the transmission after the initial value of the count is reduced to 0. WiFi messages, although this method can ensure the normal communication within the WiFi network, but the frequency utilization of the WiFi network is low.
  • the spatial multiplexing method and device provided by the embodiments of the present invention can be applied to a BSS and/or an IBSS that communicates by using a WiFi communication standard, that is, a WiFi network, which is used to solve the communication in the network in the prior art.
  • a WiFi communication standard that is, a WiFi network
  • the following is a description of the technical solution of the present invention and how the technical solution of the present invention solves the above technical problem by taking a BSS (abbreviation: WiFi network) that communicates by using the WiFi communication standard as an example.
  • the WiFi network may include one AP and multiple STAs.
  • the following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments.
  • FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a spatial multiplexing method according to an embodiment of the present disclosure.
  • the first device determines, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, whether the second device sends the first message when sending the first message through the first channel.
  • the specific process of the second message includes:
  • the first device acquires a transmission type of the first message by listening to a physical header of the first message, where the transmission type of the first message is an indirect connection message or a direct connection message; the first device sends the first message
  • the second device belongs to the same network.
  • the first device and the second device may be devices belonging to the same WiFi network, and the second device is in a state in which the first message is being sent by using the first channel, and the first device is in competition.
  • the mechanism monitors the state of the first channel (ie, the first device is in a state ready to send the second message), and the first device may listen to the first message sent by the second device, that is, the signal coverage of the first device in the second device.
  • the first message may be a WiFi message, that is, the first message includes a physical header and a data part, and the physical header of the first message is preceded by the data part. Transmission in the first channel.
  • the first channel mentioned herein may be any channel used by the WiFi network in the prior art for communication.
  • the first device When the first device sends the first message through the first channel, the first device that listens to the first channel can first listen to the physical header of the first message, and then obtain the first message according to the physical header of the first message.
  • Transmission type In a specific implementation, the first device may obtain the transmission type of the first message by parsing the content of the physical header of the first message, or obtain the transmission type of the first message by parsing the length of the physical header of the first message.
  • the transmission type of the foregoing first message may be an indirect connection message or a direct connection message, where the indirect connection message may be an uplink message transmitted by the STA to the AP or a downlink message transmitted by the AP to the STA or transmitted by the AP to the STA.
  • the above direct transmission message may be a message transmitted between two STAs.
  • the first device determines, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, whether to send the second message by using the first channel when the second device sends the first message by using the first channel;
  • the transmission type of the second message is an indirect transmission message or a direct transmission message.
  • the first device acquires the transmission type of the first message according to the physical header of the first message, it may be determined according to the transmission type of the first message and the transmission type of the second message to be sent by the first device. Whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, and when the second message is sent by using the first channel when the second device sends the first message by using the first channel, The device can immediately transmit the second message through the first channel, that is, the first device shares the first channel with the second device to send the message.
  • the first device when the transmission type of the first message is different from the transmission type of the second message, determining that the second message is sent by using the first channel when the second device sends the first message by using the first channel;
  • the first device may determine to send the second message by using the first channel when the second device sends the first message by using the first channel.
  • the first device when the first device is listening to the first message being transmitted in the first channel, the first device pauses counting, and after the first channel is idle, it continues to count down until the initial value of the count is reduced to 0.
  • the second message is transmitted through the first channel, that is, only one WiFi message can be transmitted at a time in the first channel.
  • the spatial multiplexing method provided by the embodiment of the present invention does not need to wait until the initial value of the count is reduced.
  • the first message can be transmitted on the first channel, and the second message is transmitted through the first channel, that is, the first message and the second message are simultaneously transmitted through the first channel, and the space inside the network is realized by the foregoing manner. Reuse improves the spectrum utilization of the network.
  • the first device can obtain the transmission type of the first message by listening to the physical header of the first message being transmitted in the first channel, so that the transmission type of the first message and the And determining, by the transmission type of the second message to be sent, whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, that is, the spatial multiplexing method provided by the embodiment of the present invention does not need to wait until When the initial value of the count is reduced to 0, the first message can be transmitted on the first channel, and the second message is transmitted through the first channel, thereby realizing spatial multiplexing inside the network and improving the spectrum utilization rate of the network.
  • the second embodiment relates to how the first device transmits the first message after the first device acquires the transmission type of the first message by listening to the physical header of the first message. And the specific type of the second message sent by the first channel when the second device sends the first message by using the first channel, which may be classified into the following three situations: :
  • the first case is: if the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a direct transmission message, the first device determines to pass when the second device sends the first message through the first channel.
  • the first channel transmits a second message.
  • the first device is the sender of the second message
  • the second device is the sender of the first message
  • the first message When the transmission type of the first message is a non-directly connected message, that is, the first message may be a downlink message or a broadcast message that is transmitted by the AP to the STA, and may also be an uplink message that the STA transmits to the AP, that is, the first message. a message transmitted between the STA and the AP; if the transmission type of the second message is a direct transmission message, that is, the second message is a message transmitted between the two STAs, and the AP is not involved, then The transmission type of the first message is a non-direct transmission message, and when the transmission type of the second message is a direct transmission message, the first device may determine to send by using the first channel when the second device sends the first message through the first channel. Second message.
  • SAT1 is sending a first message to the AP
  • STA2 can send a second message to STA3 at the same time.
  • the second message is a direct connection message
  • the second message is a direct connection message
  • two messages can be transmitted simultaneously in the first channel; but in the prior art, in the scenario, only one WiFi channel can be used in the channel of the WiFi network at a time.
  • the message is transmitted. Therefore, the spatial multiplexing method provided by the embodiment of the present invention improves the spectrum utilization rate of the network.
  • the second case if the transmission type of the first message is a direct transmission message, the transmission of the second message The type is a direct connection transmission message or a non-direct connection transmission message, and the first device determines to send the second message through the first channel when the second device sends the first message through the first channel.
  • the first device is the sender of the second message
  • the second device is the sender of the first message
  • the transmission type of the first message is a direct transmission message, that is, the first message is a message transmitted between two STAs
  • the transmission type of the second message is a direct transmission message, that is, The second message is also a message transmitted between the two STAs, but the STAs involved in the first message and the second message may be different, so the first device may determine that the second device sends the first message through the first channel.
  • the second message is sent over the first channel.
  • SAT1 is sending a first message to STA2 (the first message is a direct connection message)
  • STA3 can send a second message to STA4 at the same time.
  • the message (the second message is a direct connection message), that is, two messages can be transmitted simultaneously in the first channel; but in the prior art, in the scenario, only one channel in the channel of the WiFi network can be used at a time.
  • the WiFi message is transmitted. Therefore, the spatial multiplexing method provided by the embodiment of the present invention improves the spectrum utilization rate of the network.
  • the transmission type of the first message is a direct transmission message, that is, the first message is a message transmitted between two STAs, the AP is not involved, and if the transmission type of the second message is non-direct transmission
  • the message, that is, the second message is a message transmitted between the STA and the AP, when the transmission type of the first message is a direct transmission message, and the transmission type of the second message is a non-direct transmission message, the first device can determine And transmitting, by the first channel, the second message when the second device sends the first message by using the first channel.
  • SAT1 is sending a first message to STA2 (the first message is a direct connection message), and then STA3 can simultaneously send a second message to the AP (
  • the second message is an indirect connection message, that is, two messages can be transmitted simultaneously in the first channel; but in the prior art, in the scenario, only one WiFi channel can be in the channel of the WiFi network at a time. The message is transmitted. Therefore, the spatial multiplexing method provided by the embodiment of the present invention improves the spectrum utilization rate of the network.
  • the third case if the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a non-direct transmission message, the first device determines that the second device does not send the first message through the first channel. The second message is sent over the first channel.
  • the first device is the sender of the second message
  • the second device is the first device.
  • the first message may be a downlink message or a broadcast message that is transmitted by the AP to the STA, and may also be an uplink message that the STA transmits to the AP, that is, the first message.
  • the first device may determine that the second device does not send the first channel through the first channel.
  • the second message is sent through the first channel, and the method of sending a message in the existing WiFi network (competing mechanism) is used to send the second message.
  • the first device can obtain the transmission type of the first message by listening to the physical header of the first message being transmitted in the first channel, so that the transmission type of the first message is non- Directly transmitting a message, the transmission type of the second message is a direct connection transmission message, or the transmission type of the first message is a direct connection transmission message, and when the transmission type of the second message is a direct connection transmission message or an indirect connection transmission message, Determining that the second message is sent by using the first channel when the second device sends the first message by using the first channel, that is, the spatial multiplexing method provided by the embodiment of the present invention does not need to wait until the initial value of the count is reduced to 0. While transmitting the first message on one channel, the second message is transmitted through the first channel, realizing spatial multiplexing inside the network, and improving spectrum utilization of the network.
  • the first device may obtain the transmission type of the first message by parsing the content of the physical header of the first message, or obtain the first message by parsing the length of the physical header of the first message.
  • Transmission type On the basis of the foregoing embodiment 2, the third embodiment of the present invention relates to a specific process for the first device to obtain the transmission type of the first message by parsing the content of the physical header of the first message.
  • the foregoing S101 specifically includes: the first device acquiring the transmission type of the first message according to the direct connection transmission indication included in the physical header of the first message; wherein the direct connection transmission indication is used to indicate the transmission type of the first message.
  • the direct transmission indication may be composed of one or more bits.
  • high-efficiency signaling (High Efficient Signal) may be performed on the physical header of the first message.
  • the short-term transmission indication is set in the abbreviated as follows: the value of the one-bit number may be 0 or 1, where 0 corresponds to an indirect connection message and 1 corresponds to a direct connection message; or 1 corresponds to a non-direct connection message, and 0 corresponds to a direct connection message. It should be noted that the direct connection transmission indication may also be set at other locations of the physical header of the first message.
  • the physical header of the first message may be parsed to obtain a direct transmission indication included in the physical header of the first message, and then determined by the direct transmission indication.
  • the transmission type of the first message so that the first device can determine whether the second device sends the first message through the first channel according to the transmission type of the first message and the transmission type of the second message to be sent by the first device.
  • a second message is sent on one channel.
  • FIG. 2 is a schematic flowchart diagram of Embodiment 4 of a spatial multiplexing method according to an embodiment of the present invention.
  • the physical header of the first message may further include an identifier of the third device that receives the first message.
  • the physical header of the first message may include a direct connection indication, The network identifier where the second device is located and the identifier of the third device that receives the first message.
  • the embodiment is related to the identifier of the network where the second device is located in the physical header of the first message, the identifier of the third device, the transmission type of the first message, and the second message to be sent by the first device.
  • the transmission type determines whether the second message is sent by the first channel when the second device sends the first message through the first channel, where the first device is the sender of the second message, and the second device is the first message The sender, the third device is the receiver of the first message.
  • the method includes:
  • the first device acquires a direct connection transmission indication, a network identifier where the second device is located, and an identifier of the third device by listening to the physical header of the first message.
  • the network identifier of the second device may be set in the HE-SIG of the physical header of the first message, or may be set in another location of the physical header of the first message, where the network identifier of the second device may be The short identifier of the network where the second device is located, and the network short identifier of the second device may be a short identifier of the AP.
  • the identifier of the third device may be set in the HE-SIG of the physical header of the first message, or may be set in another location of the physical header of the first message, where the identifier of the third device may be the short identifier of the third device. .
  • the physical header of the first message may further include an uplink and downlink transmission indication, where the uplink and downlink transmission indication is used to be a message transmitted between the STA and the AP when the first message is a non-directly connected transmission message. And, for further indicating that the first message is an uplink message that the STA transmits to the AP, It is a downlink message or a broadcast message transmitted by the AP to the STA.
  • the network identifier of the second device is an identifier of the AP
  • the identifier of the third device is also the identifier of the AP. Therefore, when the first message is an indirect transmission message of the uplink transmission, the network identifier of the second device is the same as the identifier of the third device.
  • the physical header of the first message includes an uplink and downlink transmission indication, and the uplink and downlink transmission indication indicates that the first message is an uplink message
  • the identifier of the third device may not be included, so that when the first device obtains the physical header of the first message, the first device may be configured according to the first The network identifier of the second device carried in the physical header of the message and the uplink and downlink transmission indication determine the identifier of the third device.
  • the network identifier of the second device may not be included, so that when the first device obtains the first
  • the network identifier of the second device may be determined according to the identifier of the third device and the uplink and downlink transmission indication carried in the physical header of the first message.
  • S202 The first device acquires a transmission type of the first message according to the direct connection transmission indication.
  • the first device determines, according to the network identifier of the second device, whether the first device and the second device belong to the same network. If yes, execute S204; if no, the process ends.
  • the first device may use the network identifier of the second device that is stored by the first device and the network where the second device is located.
  • the identity determines whether it belongs to the same network as the second device.
  • whether the first device and the second device belong to the same network are determined by determining whether the network identifier of the first device and the network identifier of the second device are the same.
  • the first device determines, according to the identifier of the third device, whether the first device is different from the third device. If yes, execute S205; if no, execute S208.
  • the first device may determine, according to the identifier of the third device that is stored by itself and the identifier of the third device that is obtained, Whether the three devices are different, that is, whether the first device is the receiver of the first message.
  • S208 is performed.
  • the first device determines that the first device is different from the third device according to the identifier of the third device, that is, the first device is not the third device, that is, the first device is not the receiver of the first message, Execute S205.
  • whether the first device and the third device are different may be determined by determining whether the identifier of the first device and the identifier of the third device are the same.
  • the first device determines, according to the neighbor information and the identifier of the third device included in the physical header of the first message, the historical path loss when the first device listens to the message sent by the third device, where the neighbor information is the first device listening for the other device. Correspondence between the historical path loss of the message sent by the device and the identity of other devices.
  • the first device may obtain the identifier of the third device in the neighbor information stored by the first device. Finding the historical path loss when the first device listens to the message sent by the third device, that is, the degree of attenuation of the signal strength of the message.
  • the neighbor information stored by the first device includes a historical path loss when the message sent by the multiple devices monitored by the first device and a corresponding relationship between the identifiers of the multiple devices.
  • the first device determines, according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, and the historical path loss when the first device listens to the message sent by the third device, whether the second device is in the second device.
  • the second message is sent through the first channel when the first message is sent through the first channel.
  • the first device may determine, according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, whether the second device sends the first message through the first channel.
  • the first channel sends the second message, and when determining to send the second message, further determines, according to the historical path loss when the first device listens to the message sent by the third device, that the previously determined “sends by the second device by using the first channel. Whether the result of transmitting the second message through the first channel in the first message is accurate, and if accurate, the first device determines to send the second message.
  • the first device may further determine, according to the historical path loss when the first device listens to the message sent by the third device, whether the second device sends the first message by using the first channel. And transmitting, by the first channel, the second message, and after determining to send the second message, further determining, according to the transmission type of the first message and the transmission type of the second message, that “the second device sends the first channel through the first channel. Whether the result of transmitting the second message through the first channel in one message is accurate, and if accurate, the first device determines to send the second message.
  • the first device may be a device with a fixed transmit power, that is, the transmit power of the second device sent by the first device is a fixed power.
  • the first device may use the sending power of the second message sent by the first device, and the first device listens to the message sent by the third device.
  • the historical path loss, determining whether the received power when the third device monitors the second message is greater than or equal to a preset threshold, and determining, according to the determined result, whether the first device passes the first channel when sending the first message through the first channel Send the second message, specifically:
  • the first device may reduce the transmission power of the second message sent by the third device by the historical path loss when the first device listens to the message sent by the third device, and obtain the received power when the third device listens to the second message, if obtained.
  • the received power of the third device is greater than or equal to the preset threshold, the first device uses the fixed transmit power to send the second message, and the third device listens to the second message sent by the first device.
  • the path loss is small, that is, the signal strength of the second message may be stronger for the third device, that is, the sending of the first device may affect the third device to receive the first message, and therefore, in the third
  • the device determines to not send the second message through the first channel when the second device sends the first message through the first channel, and ends the process;
  • the threshold can be determined according to parameters inside the network where the first device is located.
  • the first device sends the second message by using the fixed transmit power, and the third device monitors the second message sent by the first device.
  • the path loss is large, that is, for the third device, the signal strength of the second message is relatively weak, that is, the transmission of the first device does not affect the third device to receive the first message, and therefore, the third device.
  • the first device determines that the second message is sent by using the first channel when the second device sends the first message by using the first channel, and further, the first device may Determining, according to the transmission type of the first message and the transmission type of the second message, that "the second device passes the first message when sending the first message through the first channel.
  • the first device determines, according to the transmission type of the first message and the transmission type of the second message, that the second device passes the first channel when sending the first message through the first channel.
  • the second message it is determined that the result of “sending the second message through the first channel when the second device sends the first message through the first channel” is determined, and the first device determines to send the second message, thereby performing S207.
  • S207 The first device sends a second message.
  • the second message may be transmitted in the first channel while the first message is transmitted. Instead of waiting until the count initial value is reduced to zero, the spectrum utilization of the network is increased. After the execution of the above S207, the process ends.
  • the first device determines, according to the identifier of the third device, that the first device is the receiver of the first message, the first device stops performing spatial multiplexing, and continues to receive the remaining portion of the first message. After the above S208 is completed, it ends.
  • the spatial multiplexing method provided by the embodiment of the present invention, by setting a direct connection transmission indication and an identifier of the third device in the physical header of the first message, so that the first device is listening to the physicality of the first message being transmitted in the first channel.
  • the first device determines whether the first device is the receiver of the first message by using the third device identifier in the physical header of the first message, and further passes the first when the first device is not the receiver of the first message.
  • the method may further include the following steps: the first device determines, according to the identifier of the third device, whether the fourth device is different from the third device, that is, determining the second Whether the receiver of the message is the receiver of the first message; wherein the first device is the sender of the second message, the fourth device is the receiver of the second message, the second device is the sender of the first message, and the third The device is the receiver of the first message.
  • the first device acquires the identifier of the third device from the physical header of the first message
  • the first device may determine whether the fourth device is different from the third device according to the identifier of the fourth device that is stored by the device and the identifier of the third device that is obtained, that is, whether the receiver of the second message is the first message. receiver.
  • the fourth device is the third device, that is, the receiver of the second message is the same device as the receiver of the first message, That is to say, the third device is both the receiver of the first message and the receiver of the second message.
  • the first device stops performing spatial multiplexing, and ends the process; when the first device determines, according to the identifier of the third device, the fourth device is different from the third device, and the first device is When the third device is different, that is, the receiver of the second message is not the receiver of the first message, and the sender of the second message is not the receiver of the first message, then S206 is performed.
  • the first device when the first device is not the receiver of the first message, and the fourth device is not the receiver of the first message, the first device performs spatial multiplexing further, thereby further improving the spatial multiplexing within the network.
  • the success rate used increases the probability that the second message will be sent successfully.
  • the physical header of the first message may further include an identifier of the second device that sends the first message, where the identifier of the second device may be a short identifier of the second device.
  • the identifier of the second device may be set in the HE-SIG of the physical header of the first message, or may be set in other locations of the physical header of the first message.
  • the method may further include the following steps: Determining, according to the identifier of the second device, whether the fourth device that receives the second message is different from the second device, that is, determining whether the receiver of the second message is the sender of the first message; if yes, executing S206, if not , then the process ends.
  • the first device is the sender of the second message
  • the fourth device is the receiver of the second message
  • the second device is the sender of the first message
  • the third device is the receiver of the first message.
  • the first device may determine, according to the identifier of the fourth device that is stored by the first device and the identifier of the second device that is obtained. Whether the four devices are different from the second device, that is, whether the receiver of the second message is the sender of the first message.
  • the fourth device When the first device determines that the fourth device is the same as the second device according to the identifier of the second device, the fourth device is the second device, that is, the receiver of the second message is the same device as the sender of the first message, When the fourth device is the same as the second device, the first device stops performing spatial multiplexing, and ends the process; when the first device determines that the fourth device is different from the second device according to the identifier of the second device, the second message is If the recipient is not the sender of the first message, then S206 is performed. In this embodiment, when the fourth device is not the sender of the first message, the first device is The spatial multiplexing is further performed, which further improves the success rate of spatial multiplexing within the network, that is, increases the probability of successful second message transmission.
  • the physical header of the first message may further include an uplink and downlink transmission indication, where the uplink and downlink transmission indication is used to be a message transmitted between the STA and the AP when the first message is a non-directly connected transmission message.
  • the uplink message or the broadcast message used for further transmitting the AP to the STA is further used to indicate whether the first message is an uplink message transmitted by the STA to the AP.
  • the network identifier of the second device is an identifier of the AP, and when the first message is a downlink transmission non-directly connected transmission message, The identifier of the second device is also the identifier of the AP. Therefore, when the first message is a downlink transmission non-direct transmission message, the network identifier of the second device is the same as the identifier of the second device.
  • the physical header of the first message includes an uplink and downlink transmission indication
  • the uplink and downlink transmission indication indicates that the first message is a downlink message. If the physical identifier of the first message includes the network identifier of the second device, the identifier of the second device may not be included, so that when the first device acquires the physical header of the first message, The network identifier of the second device carried in the physical header of the first message and the uplink and downlink transmission indication determine the identifier of the second device.
  • the network identifier of the second device may not be included, so that when the first device obtains the first.
  • the network identifier of the second device may be determined according to the identifier of the second device and the uplink and downlink transmission indication carried in the physical header of the first message.
  • the physical header of the first message may further include a sending duration of the first message, where the sending duration of the first message is used to indicate that the first message is required to be transmitted in the channel. time.
  • the sending duration of the first message may be set in the HE-SIG of the physical header of the first message, or may be set in other locations of the physical header of the first message.
  • the physical header of the first message may further include a number of bytes of the first message and a transmission rate of the first message, so that the first device may be based on the first message after listening to the physical header of the first message. The number of bytes of the first message included in the physical header and the transmission rate of the first message determine the transmission duration of the first message.
  • the physical header of the first message may further include other identifiers for indicating the sending duration of the first message, which is not repeatedly described in this embodiment of the present invention.
  • the sending time of the first message in the physical header of the first message is taken as an example, and before the foregoing S206, the method may further include The following steps are performed: the first device determines whether the sending duration of the second message is less than or equal to the remaining sending duration of the first message.
  • the first device may determine the remaining sending duration of the first message according to the time, the current time, and the sent duration of the obtained first message that the first preamble of the physical header of the first message is monitored.
  • the first device determines that the sending duration of the second message is less than or equal to the remaining sending duration of the first message
  • the second message may be transmitted before the first channel is transmitted on the first channel, and then S206 is performed.
  • the first device determines that the transmission duration of the second message is greater than the remaining transmission duration of the first message, it indicates that the second message cannot be transmitted before the first message is transmitted, and then ends.
  • the first device when the second message can be transmitted before the first message is transmitted on the first channel, the first device performs spatial multiplexing further, thereby further improving the success rate of spatial multiplexing within the network, that is, improving The probability that the second message is sent successfully.
  • FIG. 3 is a schematic flowchart of Embodiment 5 of a spatial multiplexing method according to an embodiment of the present disclosure.
  • the transmission power of the first device in the embodiment shown in FIG. 2 is a fixed power, but in the embodiment, the transmission power of the first device is adjustable.
  • the embodiment is related to the neighboring information, the identifier of the network where the second device is located in the physical header of the first message, the identifier of the third device, and the transmission type of the first message, and the first device is to be sent.
  • the transmission type of the second message determines whether a specific process of transmitting the second message through the first channel when the second device sends the first message through the first channel.
  • the method in this embodiment greatly improves the success rate of spatial multiplexing in the same network, that is, the probability of successful second message transmission is greatly improved.
  • the method includes:
  • the first device acquires a direct connection transmission indication, a network identifier where the second device is located, and an identifier of the third device by listening to the physical header of the first message.
  • the first device acquires a transmission type of the first message according to the direct connection transmission indication.
  • the first device determines, according to the network identifier of the second device, whether the first device and the second device belong to the same network. If yes, execute S304; if no, end the process.
  • the first device determines, according to the identifier of the third device, whether the first device is different from the third device. If yes, execute S305; if no, execute S308.
  • the first device is configured according to the neighbor information and the third device included in the physical header of the first message.
  • the identifier determines a historical path loss when the first device listens to the message sent by the third device, and the power required by the first device to send the second message, where the neighbor information is a historical path when the first device listens to the message sent by the other device. Correspondence between loss and identification of other devices.
  • the first device when the sending power of the first device is adjustable, when the first device needs to send the second message, the first device may monitor the history of the message sent by the fourth device according to the first device.
  • the path loss determines the power required by the first device to send the second message, so that the fourth device can receive the second message. For example, how the first device determines the power required for the first device to send the second message according to the historical path loss when the first device monitors the message sent by the fourth device is used in the prior art, and is not described in the embodiment of the present invention. .
  • the first device sends, according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, the historical path loss when the first device listens to the message sent by the third device, and the second device sends the second The power required by the message determines whether the second message is sent through the first channel when the second device sends the first message through the first channel.
  • the first device may determine, according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, whether the second device sends the first message through the first channel.
  • the first channel sends the second message, and when determining to send the second message, further determines the previous path according to the historical path loss when the first device listens to the message sent by the third device and the power required by the first device to send the second message.
  • the determined result of "sending the second message through the first channel when the second device transmits the first message through the first channel" is accurate, and if accurate, the first device determines to send the second message.
  • the first device may further determine, according to the historical path loss when the first device listens to the message sent by the third device, and the power required by the first device to send the second message, whether the device passes the second device. Transmitting, by the first channel, the second message by using the first channel, and after determining to send the second message, determining, according to the transmission type of the first message and the transmission type of the second message, the previously determined “in the second Whether the result of transmitting the second message through the first channel when the device sends the first message through the first channel is accurate, and if accurate, the first device determines to send the second message.
  • the first device may monitor the third device according to the power required to send the second message determined in the foregoing S305.
  • the historical path loss of the sent message, determining whether the received power when the third device listens to the second message is greater than or equal to a preset threshold, and determining whether to send the second message according to the determined result specifically:
  • the foregoing first device may subtract the historical path loss when the third device listens for the second message, according to the power required to send the second message determined in the foregoing S305, and the historical path loss when the first device listens to the message sent by the third device.
  • Receive power if the received power of the obtained third device listening to the second message is greater than or equal to a preset threshold, it is indicated that the first device sends the second power using the power required to send the second message determined in the foregoing S305.
  • the signal loss of the third device when the third device listens to the second message is small, that is, the signal strength of the second message may be stronger for the third device, that is, the sending of the first device may affect the third device.
  • the preset threshold may be determined according to parameters inside the network where the first device is located.
  • the first device sends the second message by using the power required to send the second message determined in the foregoing S305.
  • the path loss when the second message sent by the first device is monitored is large, that is, the signal strength of the second message is weak to the third device, that is, the sending of the first device does not affect the receiving of the third device. a message, therefore, when the received power when the third device listens to the second message is less than a preset threshold, the first device determines to send the second channel by using the first channel when the second device sends the first message by using the first channel.
  • the first device may further determine, according to the transmission type of the first message and the transmission type of the second message, that the second device sends the second message through the first channel when the second device sends the first message by using the first channel. Whether the result of the message is accurate, when the first device determines to transmit on the second device according to the transmission type of the first message and the transmission type of the second message.
  • the first device is determined to be accurate when the second message is sent through the first channel when the second device sends the first message through the first channel. It is determined that the second message is transmitted, thereby executing S307.
  • S308 The first device continues to receive the remaining portion of the first message.
  • the spatial multiplexing method provided by the embodiment of the present invention by setting the transmission power of the first device to be adjustable, enables the first device to adjust the transmission second according to the historical path loss when the first device listens to the message sent by the fourth device.
  • the sending power of the message when it is determined that sending the second message using the power required to send the second message does not affect the reception of the first message of the third device, determining that the second device transmits the first message through the first channel A second message is sent on one channel. Therefore, the spatial multiplexing method provided by the embodiment of the present invention increases the transmission power of the first device to be adjustable, so that the opportunity for the first device to send the second message is increased, thereby further improving the success rate of spatial multiplexing within the network. That increases the probability that the second message will be sent successfully.
  • the physical header of the first message may further include a sending duration of the first message
  • the method may further include the following steps: the first device determines the second message. Whether the transmission duration is less than or equal to the remaining transmission duration of the first message.
  • the second message may be transmitted before the first channel is transmitted on the first channel, and then S306 is performed.
  • the first device determines that the transmission duration of the second message is greater than the remaining transmission duration of the first message, it indicates that the second message cannot be transmitted before the first message is transmitted, and then ends.
  • the first device when the second message can be transmitted before the first message is transmitted on the first channel, the first device performs spatial multiplexing further, thereby further improving the success rate of spatial multiplexing within the network, that is, improving The probability that the second message is sent successfully.
  • the sixth embodiment of the present invention provides a spatial multiplexing method, where the main body of the method is a second device, where the embodiment involves a specific process for the second device to send the first message.
  • the method includes: the second device sends a first message, where the physical header of the first message is used to indicate the transmission type of the first message to the first device, so that the first device is to be sent according to the transmission type of the first message and the first device.
  • the transmission type of the second message determines whether the second message is sent by the first channel when the second device sends the first message by using the first channel; wherein the transmission type of the first message is an indirect connection message or a direct connection message.
  • the transmission type of the second message is an indirect connection message or a direct connection message; the second device belongs to the same network as the first device.
  • the first device and the second device may be devices belonging to the same WiFi network, and the second device is in a state in which the first message is being sent by using the first channel, first The device is in a state of listening to the first channel by using a contending mechanism (that is, the first device is in a state ready to send the second message), where the first device can listen to the first message sent by the second device, that is, the first device Within the signal coverage of the second device.
  • the first message may be a WiFi message, that is, the first message includes a physical header and a data part, and the physical header of the first message is transmitted in the first channel before the data part.
  • the first channel mentioned herein may be any channel used by the WiFi network in the prior art for communication.
  • the first device may indicate the transmission type of the first message by using the physical header of the first message.
  • the second device may use the physical header of the first message. Set to a different length, so that when the second device sends the first message, after the first device listens to the physical header of the first message, the first device may be based on the physical header length of the first message and the transmission type of the first message.
  • the second device may further set a transmission type of the first message in a physical header of the first message, so that when the second device sends the first message, the first device is listening After the physical header of the first message, the transmission type of the first message is determined according to the transmission type of the first message set in the physical header of the first message, so that the first device can be based on the transmission type of the first message. Determining, by the first device, a transmission type of the second message to be sent, whether to send the second message through the first channel when the second device sends the first message by using the first channel Information.
  • the first device when the transmission type of the first message is different from the transmission type of the second message, determining that the second message is sent by using the first channel when the second device sends the first message by using the first channel;
  • the first device may determine to send the second message by using the first channel when the second device sends the first message by using the first channel.
  • the transmission type of the first message and the transmission type of the second message may be an indirect connection message or a direct connection message, where the indirect connection message may be an uplink message that the STA transmits to the AP, and the AP transmits the message to the STA.
  • the downlink message or the broadcast message transmitted by the AP to the STA, where the direct connection transmission message may be a message transmitted between two STAs.
  • the second device indicates, by using the physical header of the first message, the transmission type of the first message to the first device, so that after the first device that listens to the first channel listens to the first message,
  • the transmission type of the first message may be obtained according to the physical header of the first message, so that whether the second device sends the first message through the first channel may be determined according to the transmission type of the first message and the transmission type of the second message to be sent by the second message.
  • the second message is sent through the first channel, that is, the spatial multiplexing method provided by the embodiment of the present invention does not need to wait until the initial value of the count is reduced to 0.
  • the second message is transmitted through the first channel while the first message is transmitted on the first channel, and spatial multiplexing within the network is realized, thereby improving the spectrum utilization rate of the network.
  • the physical header of the first message may include a direct connection transmission indication; wherein the direct connection transmission indication is used to indicate a transmission type of the first message.
  • the directly connected transmission indication may be composed of one or more bits.
  • a number of bits may be set in the HE-SIG of the physical header of the first message.
  • the value of the one bit may be 0 or 1, where 0 corresponds to a non-direct transmission message, 1 corresponds to a direct transmission message; or 1 corresponds to a non-direct transmission message, and 0 corresponds to a straight Even transfer messages.
  • the direct connection transmission indication may also be set at other locations of the physical header of the first message.
  • the second device may carry the direct connection transmission indication in the physical header of the sent first message, so that after the first device listens to the physical header of the first message, the second device may The direct transmission indication carried in the header determines the transmission type of the first message, so that the first device can determine whether the second device passes the first channel according to the transmission type of the first message and the known transmission type of the second message.
  • the first message is sent, the second message is sent by using the first channel, and the determining process may be referred to the descriptions of the second embodiment and the third embodiment of the first device, and details are not described herein.
  • the physical header of the first message may further include at least one of the following: a network identifier where the second device is located, an identifier of the second device, an identifier of the third device, or the first message. At least one of the transmission durations; wherein the third device is a device that receives the first message.
  • the network identifier of the second device may be a short identifier of the network identifier where the second device is located, and the identifier of the third device is a short identifier of the third device, and the identifier of the second device may be short for the second device.
  • logo the network identifier of the second device, the short identifier of the third device, the short identifier of the second device, or the sending duration of the first message may be set in the HE-SIG of the physical header of the first message, or may be Set the other location of the physical header of the first message.
  • the first device that listens to the first message may be configured to determine, according to the physical header of the first message, whether to pass the first channel when the second device sends the first message by using the first channel.
  • the specific determination process refer to the description of the method embodiment on the first device side, and details are not described herein again.
  • the physical header of the first message may further include an uplink and downlink transmission indication, where the uplink and downlink transmission indication is used to be a message transmitted between the STA and the AP when the first message is a non-directly connected transmission message.
  • the uplink message or the broadcast message used for further transmitting the AP to the STA is further used to indicate whether the first message is an uplink message transmitted by the STA to the AP.
  • the network identifier of the second device is the identifier of the AP.
  • the first case when the first message is an indirect transmission message of the uplink transmission, the identifier of the third device is also the identifier of the AP. Therefore, when the first message is an indirect transmission message that is transmitted in the uplink, the network identifier of the second device is the same as the identifier of the third device, and the physical header of the first message is included in the foregoing.
  • the physical header of the first message may include any one of an identifier of the third device and a network identifier where the second device is located, specifically:
  • the network identifier of the second device may not be included, so that when the second device sends the first message, the first device may be monitored. Determining, by the first device of the message, the network identifier of the second device according to the identifier of the third device and the uplink and downlink transmission indication carried in the physical header of the first message, so that the first device determines, according to the determined network identifier of the second device, The identifier of the third device determines whether to send the second message.
  • the identifier of the third device determines whether to send the second message.
  • the identifier of the third device may not be included, so that when the second device sends the first message, the first device may be monitored.
  • the first device of the message determines the identifier of the third device according to the network identifier of the second device that is carried in the physical header of the first message and the uplink and downlink transmission indication, so that the first device determines, according to the determined network identifier of the second device,
  • the identifier of the third device determines whether to send the second message.
  • the identifier of the second device that sends the first message is also an identifier of the AP. Therefore, when the first message is a downlink transmission non-directly connected message, the network identifier of the second device is the same as the identifier of the second device, and the physical header of the first message is included in the foregoing. Where the second device and the second device are located The identifier of the network identifier is used to save the cost of the physical header of the first message.
  • the physical header of the first message includes an uplink and downlink transmission indication
  • the uplink and downlink transmission indication indicates that the first message is a downlink message.
  • the physical header of the first message may include any one of an identifier of the second device and a network identifier where the second device is located, specifically:
  • the network identifier of the second device may not be included, so that when the second device sends the first message, the first device may be monitored. Determining, by the first device of the message, the network identifier of the second device according to the identifier of the second device and the uplink and downlink transmission indication carried in the physical header of the first message, so that the first device determines, according to the determined network identifier of the second device, The identifier of the second device determines whether to send the second message.
  • the identifier of the second device determines whether to send the second message.
  • the identifier of the second device may not be included, so that when the second device sends the first message, the first device may be monitored.
  • the first device of the message determines the identifier of the second device according to the network identifier and the uplink and downlink transmission indication of the second device that is carried in the physical header of the first message, so that the first device determines, according to the determined network identifier of the second device,
  • the identifier of the second device determines whether to send the second message.
  • the foregoing program may be stored in a computer readable storage medium, and the program is executed when executed.
  • the foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
  • FIG. 4 is a schematic structural diagram of Embodiment 1 of an apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes: an obtaining module 11 and a first determining module 12. among them,
  • the obtaining module 11 is configured to obtain, by listening to the physical header of the first message, a transmission type of the first message, where the transmission type of the first message is a non-directly connected message or a direct connection message; the device and the sending module of the acquiring module 11
  • the second device of the first message belongs to the same network.
  • the first determining module 12 is configured to determine, according to the transmission type of the first message acquired by the obtaining module 11 and the transmission type of the second message to be sent by the device where the acquiring module 11 is located, whether the first device sends the first channel through the first channel.
  • the second message is sent through the first channel; the transmission type of the second message is an indirect connection message or a direct connection message.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the acquiring module 11 is specifically configured to acquire, according to a direct transmission indication included in a physical header of the first message, a transmission type of the first message, where the direct transmission indication is used to indicate The type of transmission of the first message.
  • FIG. 5 is a schematic structural diagram of Embodiment 2 of an apparatus according to an embodiment of the present invention.
  • the physical header of the first message may further include a second device.
  • Network identifier; the above device may further include a second determining module 13 and a receiving module 14.
  • the second determining module 13 is configured to determine, according to the identifier of the third device, whether the device where the acquiring module 11 is located is different from the third device.
  • the first determining module 12 is further configured to: when the second determining module 13 determines, according to the identifier of the third device, that the device where the acquiring module 11 is located is different from the third device, the transmission type of the first message acquired according to the obtaining module 11 and Obtaining a transmission type of the second message to be sent by the device where the module 11 is located, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel; and when the second determining module 13 is configured according to the third device
  • the identifier indicates that when the device where the obtaining module 11 is located is the same as the third device, the receiving module 14 is instructed to continue receiving the remaining portion of the first message.
  • the physical header of the first message may further include an identifier of the second device.
  • the second determining module 13 is further configured to determine, according to the identifier of the second device, whether the fourth device that receives the second message is different from the second device.
  • the first determining module 12 is further configured to: when the second determining module 13 determines that the fourth device is different from the second device according to the identifier of the second device, the transmission type of the first message acquired by the obtaining module 11 and the obtaining module 11 a transmission type of the second message to be sent by the device, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel; and when the second determining module 13 is configured according to the identifier of the second device, When it is determined that the fourth device is the same as the second device, it is determined that the second message is not sent by using the first channel when the second device sends the first message by using the first channel.
  • determining, according to the transmission type of the first message acquired by the obtaining module 11 and the transmission type of the second message to be sent by the device where the acquiring module 11 is located, determining whether the second device passes the first Sending a second message through the first channel when the channel sends the first message Specifically include:
  • the transmission type of the first message is a non-direct transmission message
  • the transmission type of the second message is a direct transmission message
  • the transmission type of the first message is a direct transmission message
  • the transmission type of the second message is a direct transmission message or a non-direct transmission message
  • the transmission type of the first message is a non-direct transmission message
  • the transmission type of the second message is a non-direct transmission message
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 6 is a schematic structural diagram of Embodiment 3 of the device according to the embodiment of the present invention.
  • the above device may further include:
  • the third determining module 15 is configured to determine, according to the neighbor information and the identifier of the third device included in the physical header of the first message, the historical path loss when the device where the acquiring module 11 is listening to the message sent by the third device; Corresponding relationship between the historical path loss and the identifier of other devices when the device where the module 11 is located listens for messages sent by other devices.
  • the first determining module 12 is configured to determine whether the second device sends the first channel through the first channel according to the transmission type of the first message acquired by the obtaining module 11 and the transmission type of the second message to be sent by the device where the acquiring module 11 is located. Sending the second message through the first channel when a message is, specifically:
  • Determining whether it is in the second device according to the transmission type of the first message, the transmission type of the second message, and the historical path loss when the device in which the acquiring module 11 is located is listening to the message sent by the third device.
  • the second message is sent through the first channel when the first message is sent through the first channel.
  • the physical header of the first message further includes a sending duration of the first message
  • the third determining module 15 is further configured to determine a sending duration of the second message.
  • the first determining module 12 is configured to: according to the transmission type of the first message, the transmission type of the second message, and the historical path when the device where the acquiring module 11 is determined by the third determining module 15 listens to the message sent by the third device. And determining, whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
  • the sending duration of the second message determined by the third determining module 15 is less than or equal to the remaining sending duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the device where the acquiring module 11 is located.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 7 is a schematic structural diagram of Embodiment 4 of the device according to the embodiment of the present invention.
  • the device may further include: a fourth determining module 16, configured to determine, according to the neighbor information and the identifier of the third device included in the physical header of the first message, a historical path when the device where the acquiring module 11 is listening to the message sent by the third device And the power required to send the second message by the device where the module 11 is located; wherein the neighbor information is the correspondence between the historical path loss when the device where the acquiring module 11 is located listening to the message sent by the other device and the identifier of the other device relationship;
  • the first determining module 12 is configured to determine whether the second device sends the first channel through the first channel according to the transmission type of the first message acquired by the obtaining module 11 and the transmission type of the second message to be sent by the device where the acquiring module 11 is located. Sending the second message through the first channel when a message is, specifically:
  • the device where the acquisition module 11 is located listens to the message sent by the third device, and the device where the acquisition module 11 is located.
  • the power required to send the second message determines whether the second message is sent through the first channel when the second device sends the first message through the first channel.
  • the physical header of the first message may further include a sending duration of the first message.
  • the fourth determining module 16 is further configured to determine a sending duration of the second message.
  • the first determining module 12 is configured to: according to the transmission type of the first message, the transmission type of the second message, and the device that is located by the obtaining module 11 determined by the fourth determining module 16 The historical path loss of the message sent by the device, and the power required by the device where the module 11 is located to send the second message, determining whether the second message is sent through the first channel when the second device sends the first message through the first channel, specifically for:
  • the sending duration of the second message determined by the fourth determining module 16 is less than or equal to the remaining sending duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the device listening device where the acquiring module 11 is located.
  • the historical path loss when the message is sent by the device, and the power required by the device where the module 11 is located to send the second message determining whether the second device sends the second message through the first channel when the first device sends the first message through the first channel.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • a fifth embodiment of the present invention provides a device, where the device includes: a sending module, where
  • a sending module configured to send a first message, where the physical header of the first message is used to indicate, to the first device, a transmission type of the first message, so that the first device is configured according to the transmission type of the first message and the first device to be sent.
  • the transmission type of the second message determines whether the second message is sent through the first channel when the device where the sending module is located sends the first message through the first channel; where the transmission type of the first message is a non-directly connected message or a direct connection
  • the transmission type of the second message is an indirect connection message or a direct connection message; the device where the sending module is located belongs to the same network as the first device.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the physical header of the first message includes a direct connection transmission indication; wherein the direct connection transmission indication is used to indicate a transmission type of the first message.
  • the physical header of the first message may further include at least one of the following: a network identifier where the device where the sending module is located, an identifier of the device where the sending module is located, or an identifier of the third device or At least one of a transmission duration of the first message; wherein the third device is a device that receives the first message.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • FIG. 8 is a schematic structural diagram of Embodiment 6 of a device according to an embodiment of the present invention. As shown in FIG. 8, the device includes: a receiver 21 and a processor 22, where
  • the receiver 21 is configured to monitor a physical header of the first message.
  • the processor 22 is configured to obtain, according to a physical header of the first message, a transmission type of the first message, and determine, according to a transmission type of the first message and a transmission type of the second message to be sent by the device where the processor 22 is located, whether When the second device sends the first message through the first channel, the second message is sent by using the first channel; where the transmission type of the first message is an indirect connection message or a direct connection message; the device where the processor 22 is located and the first message is sent.
  • the second device of the message belongs to the same network; the transmission type of the second message is an indirect connection message or a direct connection message.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the processor 22 is specifically configured to acquire, according to a direct transmission indication included in a physical header of the first message, a transmission type of the first message, where the direct transmission indication is used to indicate The type of transmission of the first message.
  • the physical header of the first message may further include an identifier of the third device that receives the first message
  • the processor 22 is further configured to determine, according to the identifier of the third device, the processing. Whether the device in which the device 22 is located is different from the third device; when it is determined that the device in which the processor 22 is located is different from the third device, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor 22 is located Determining whether to send the second message through the first channel when the second device sends the first message through the first channel; when determining that the device where the processor 22 is located is the same as the third device, instructing the receiver 21 to continue to receive the remaining of the first message section.
  • the physical header of the first message may further include an identifier of the second device, where the processor 22 is further configured to determine, according to the identifier of the second device, that the second message is received.
  • the fourth device is different from the second device; when it is determined that the fourth device is different from the second device, determining whether the second device is based on the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor 22 is located Sending a second message through the first channel when the first message is sent by using the first channel, and determining to send the second message by using the first channel when the second device sends the first message by using the first channel when determining that the fourth device is the same as the second device Message.
  • the transmission type of the first message is a non-direct transmission message
  • the transmission type of the second message is a direct transmission message
  • the transmission type of the first message is a direct transmission message
  • the transmission type of the second message is a direct transmission message or a non-direct transmission message
  • the transmission type of the first message is a non-direct transmission message
  • the transmission type of the second message is a non-direct transmission message
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the processor 22 is further configured to determine the processor 22 according to the neighbor information and the identifier of the third device included in the physical header of the first message.
  • the processor 22 is configured to determine, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor 22 is located, whether to pass the first channel when the second device sends the first message by using the first channel. Send the second message, specifically:
  • the physical header of the first message may further include a sending duration of the first message, where the processor 22 is further configured to determine a sending duration of the second message.
  • the processor 22 is configured to: according to the historical path loss when the device where the processor 22 is located listens to the message sent by the third device, and the transmission type of the first message, and the second message to be sent by the device where the processor 22 is located. a transmission type, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
  • the transmission duration of the second message is less than or equal to the remaining transmission duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the device monitoring of the processor 22
  • the historical path loss when the message is sent by the third device determining whether the second message is sent through the first channel when the second device sends the first message through the first channel.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the processor 22 is further configured to determine, according to the neighbor information and the identifier of the third device in the first message, that the device where the processor 22 is located is listening to the third device.
  • the neighbor information is the historical path loss when the device where the processor 22 is located listens for the message sent by the other device.
  • the processor 22 is configured to determine, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor 22 is located, whether to pass the first channel when the second device sends the first message by using the first channel. Send the second message, specifically:
  • the historical path loss when the device where the processor 22 is located listens to the message sent by the third device, the power required by the device where the processor 22 is located to send the second message, and the transmission type of the first message and the transmission type of the second message And determining whether the second message is sent through the first channel when the second device sends the first message through the first channel.
  • the physical header of the first message may further include a sending duration of the first message, where the processor 22 is further configured to determine a sending duration of the second message.
  • the processor 22 is configured to: when the device where the processor 22 is located, listen to the historical path loss when the message sent by the third device, the power required by the device where the processor 22 is located to send the second message, and the transmission type of the first message. And the transmission type of the second message, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
  • the transmission duration of the second message is less than or equal to the remaining transmission duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the history of the device where the processor 22 is located listening to the message sent by the third device
  • the path loss, and the power required by the device in which the processor 22 is located to transmit the second message determines to send the second message.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • Embodiment 7 of the present invention provides a device, where the device includes: a transmitter, where
  • a sender configured to send a first message, where the physical header of the first message is used to indicate to the first device a transmission type of the message, so that the first device determines, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, whether the first device sends the first channel through the first channel. Transmitting, by the first channel, a second message, where the transmission type of the first message is a non-direct connection transmission message or a direct connection transmission message, and the transmission type of the second message is an indirect connection transmission message or a direct connection transmission message.
  • the device where the above transmitter is located belongs to the same network as the first device.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
  • the physical header of the first message includes a direct connection transmission indication; wherein the direct connection transmission indication is used to indicate a transmission type of the first message.
  • the physical header of the first message may further include at least one of the following: a network identifier where the device where the sender is located, an identifier of the device where the sender is located, an identifier of the third device, or At least one of a transmission duration of the first message; wherein the third device is a device that receives the first message.
  • the device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.

Abstract

The embodiments of the invention comprise a spatial multiplexing method and equipment. The spatial multiplexing method comprises: monitoring, by first equipment, for a physical header of a first message to obtain a transmission type of the first message; and determining, by the first equipment, and according to the transmission type of the first message and a transmission type of a second message to be transmitted by the first equipment, whether to transmit the second message via the first channel while second equipment is transmitting the first message via the first channel. The method disclosed in the embodiment of the invention can increase a spectrum utilization rate of a network.

Description

空间复用方法和设备Spatial multiplexing method and device 技术领域Technical field
本发明涉及通信技术,尤其涉及一种空间复用方法和设备。The present invention relates to communication technologies, and in particular, to a spatial multiplexing method and device.
背景技术Background technique
无线局域网络(Wireless Local Area Networks,简称:WLAN)是一种利用射频技术进行数据传输的局域网络,该网络采用空中通信的方式,为用户提供无网线限制的通畅网络,弥补了有线局域网络的不足。Wireless Local Area Networks (WLAN) is a kind of local area network that uses radio frequency technology for data transmission. The network uses air communication to provide users with a network without network cable restrictions, which makes up for the wired local area network. insufficient.
常见的WLAN有基本服务集(Basic Service Set,简称:BSS)和独立基本服务集(Independent Basic Service Set,简称IBSS)等。BSS为由一个无线访问节点(Access Point,简称:AP)和至少一个站点(Station,简称:STA)组成的星形结构无线网络;IBSS为由至少两个STA组成的对等无线网络。其中,上述AP和STA可以统称为设备。现有技术中,上述BSS的网络内部的通信包括:STA向AP发送消息(上行消息)、AP向STA发送消息(下行消息)、一个STA向另外一个STA发送消息(直连传输消息)、AP向网络内所有STA发送广播消息(广播消息),IBSS的网络内部的通信包括:直连传输消息、STA向网络内其他STA发送广播消息(广播消息)。Common WLANs include Basic Service Set (BSS) and Independent Basic Service Set (IBSS). The BSS is a star-shaped wireless network composed of a wireless access node (Access Point, AP for short) and at least one station (Station, abbreviated as STA); the IBSS is a peer-to-peer wireless network composed of at least two STAs. The above APs and STAs may be collectively referred to as devices. In the prior art, the communication within the network of the foregoing BSS includes: the STA sends a message (uplink message) to the AP, the AP sends a message to the STA (downlink message), one STA sends a message to another STA (direct connection message), and the AP A broadcast message (broadcast message) is sent to all STAs in the network, and the communication within the network of the IBSS includes: directly transmitting the message, and the STA sends a broadcast message (broadcast message) to other STAs in the network.
然而,无论是BSS还是IBSS,在实现网络内部的通信时,网络中每次只允许一个设备在传输消息,网络的频谱利用率较低。However, whether it is BSS or IBSS, when communication within the network is implemented, only one device is allowed to transmit messages at a time in the network, and the spectrum utilization rate of the network is low.
发明内容Summary of the invention
本发明实施例提供一种空间复用方法和设备,用以解决现有技术中BSS或IBSS在实现网络内部的通信时,网络中每次只允许一个设备在传输消息,导致网络的频谱利用率较低的技术问题。The embodiment of the present invention provides a spatial multiplexing method and device, which is used to solve the problem that when a BSS or an IBSS communicates within a network, only one device is allowed to transmit a message at a time, resulting in a spectrum utilization rate of the network. Lower technical issues.
第一方面,本发明实施例提供一种空间复用方法,包括:In a first aspect, an embodiment of the present invention provides a spatial multiplexing method, including:
第一设备通过监听第一消息的物理头获取所述第一消息的传输类型;其中,所述第一消息的传输类型为非直连传输消息或直连传输消息;所述第一设备与发送所述第一消息的第二设备属于同一个网络; The first device acquires a transmission type of the first message by listening to a physical header of the first message, where the transmission type of the first message is an indirect connection message or a direct connection message; the first device sends The second device of the first message belongs to the same network;
所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;所述第二消息的传输类型为非直连传输消息或直连传输消息。Determining, by the first device, whether the second device sends the first message by using the first channel, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device The first channel sends the second message; the transmission type of the second message is an indirect connection message or a direct connection message.
结合第一方面,在第一方面的第一种可能的实施方式中,所述第一设备通过监听第一消息的物理头获取所述第一消息的传输类型,具体包括:With reference to the first aspect, in a first possible implementation manner of the first aspect, the first device obtains a transmission type of the first message by listening to a physical header of the first message, and specifically includes:
所述第一设备根据所述第一消息的物理头中包括的直连传输指示获取所述第一消息的传输类型;其中,所述直连传输指示用于指示所述第一消息的传输类型。Determining, by the first device, a transmission type of the first message according to a direct transmission indication included in a physical header of the first message, where the direct connection indication is used to indicate a transmission type of the first message .
结合第一方面或第一方面的第一种可能的实施方式,在第一方面的第二种可能的实施方式中,所述第一消息的物理头中还包括接收所述第一消息的第三设备的标识;所述方法还包括:With reference to the first aspect, or the first possible implementation manner of the first aspect, in a second possible implementation manner of the first aspect, the physical header of the first message further includes a part that receives the first message The identifier of the three devices; the method further includes:
所述第一设备根据所述第三设备的标识,确定所述第一设备与所述第三设备是否不同;Determining, by the first device, whether the first device is different from the third device according to the identifier of the third device;
若是,则所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;If yes, the first device determines, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, whether the second device sends the Transmitting, by the first channel, the second message when the first message is sent;
若否,则所述第一设备继续接收所述第一消息的剩余部分。If not, the first device continues to receive the remainder of the first message.
结合第一方面至第一方面的第二种可能的实施方式中的任一项,在第一方面的第三种可能的实施方式中,所述第一消息的物理头中还包括所述第二设备的标识;所述方法还包括:In conjunction with the first aspect to any one of the second possible implementation manners of the first aspect, in a third possible implementation of the first aspect, the physical header of the first message further includes the foregoing The identifier of the second device; the method further includes:
所述第一设备根据所述第二设备的标识,确定接收所述第二消息的第四设备与所述第二设备是否不同;Determining, by the first device, whether the fourth device that receives the second message is different from the second device according to the identifier of the second device;
若是,则所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;If yes, the first device determines, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, whether the second device sends the Transmitting, by the first channel, the second message when the first message is sent;
若否,则所述第一设备确定不在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。If not, the first device determines that the second message is not sent by using the first channel when the second device sends the first message by using the first channel.
结合第一方面至第一方面的第三种可能的实施方式中的任一项,在第一方面的第四种可能的实施方式中,所述第一设备根据所述第一消息的传输类 型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:In conjunction with the first aspect to any one of the third possible implementation manners of the first aspect, in a fourth possible implementation manner of the first aspect, the first device is configured according to the transmission of the first message And a transmission type of the second message to be sent by the first device, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically include:
若所述第一消息的传输类型为非直连传输消息,所述第二消息的传输类型为直连传输消息,则所述第一设备确定在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;If the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a direct transmission message, the first device determines that the second device sends by using the first channel. Transmitting, by the first channel, the second message when the first message is sent;
或者,or,
若所述第一消息的传输类型为直连传输消息,所述第二消息的传输类型为直连传输消息或非直连传输消息,则所述第一设备确定在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;If the transmission type of the first message is a direct connection transmission message, and the transmission type of the second message is a direct connection transmission message or a non-direct connection transmission message, the first device determines that the second device passes the Transmitting, by the first channel, the second message by using the first channel when sending the first message;
或者,or,
若所述第一消息的传输类型为非直连传输消息,所述第二消息的传输类型为非直连传输消息,则所述第一设备确定不在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。If the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a non-direct transmission message, the first device determines that the second device does not pass the first channel. Sending the second message through the first channel when the first message is sent.
结合第一方面的第二种可能的实施方式或第一方面的第三种可能的实施方式,在第一方面的第五种可能的实施方式中,所述方法还包括:With reference to the second possible implementation manner of the first aspect, or the third possible implementation manner of the first aspect, in a fifth possible implementation manner of the first aspect, the method further includes:
所述第一设备根据邻居信息和所述第一消息的物理头中包括的所述第三设备的标识确定所述第一设备监听所述第三设备发送的消息时的历史路径损耗;其中,所述邻居信息为所述第一设备监听其他设备发送的消息时的历史路径损耗和所述其他设备的标识之间的对应关系;Determining, by the first device, the historical path loss when the first device listens to the message sent by the third device, according to the neighbor information and the identifier of the third device included in the physical header of the first message; The neighbor information is a correspondence between a historical path loss of the first device listening to a message sent by another device and an identifier of the other device;
所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:Determining, by the first device, whether the second device sends the first message by using the first channel, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device The sending, by the first channel, the second message includes:
所述第一设备根据所述第一消息的传输类型、所述第一设备待发送的第二消息的传输类型,以及,所述第一设备监听所述第三设备发送的消息时的历史路径损耗,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。The first device is configured according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, and the historical path when the first device listens to the message sent by the third device. Loss, determining whether to send the second message over the first channel when the second device sends the first message over the first channel.
结合第一方面的第五种可能的实施方式,在第一方面的第六种可能的实施方式中,所述第一消息的物理头中还包括所述第一消息的发送时长;所述方法还包括: With reference to the fifth possible implementation manner of the first aspect, in a sixth possible implementation manner of the first aspect, the physical header of the first message further includes a sending duration of the first message; Also includes:
所述第一设备确定所述第二消息的发送时长;Determining, by the first device, a sending duration of the second message;
所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,以及,所述第一设备监听所述第三设备发送的消息时的历史路径损耗,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:The first device is configured according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, and the historical path when the first device listens to the message sent by the third device Determining whether to send the second message by using the first channel when the second device sends the first message by using the first channel, specifically:
当所述第一设备确定所述第二消息的发送时长小于或等于所述第一消息的剩余发送时长时,所述第一设备根据所述第一消息的传输类型、所述第一设备待发送的第二消息的传输类型,以及,所述第一设备监听所述第三设备发送的消息时的历史路径损耗,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。When the first device determines that the sending duration of the second message is less than or equal to the remaining sending duration of the first message, the first device is configured according to the transmission type of the first message, and the first device is a transmission type of the sent second message, and a historical path loss when the first device listens to the message sent by the third device, determining whether the first device sends the first channel by using the first channel Transmitting the second message through the first channel when the message is received.
结合第一方面的第二种可能的实施方式或第一方面的第三种可能的实施方式,在第一方面的第七种可能的实施方式中,所述方法还包括:In conjunction with the second possible implementation of the first aspect, or the third possible implementation of the first aspect, in a seventh possible implementation of the first aspect, the method further includes:
所述第一设备根据邻居信息和所述第一消息的物理头中包括的所述第三设备的标识确定所述第一设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述第一设备发送所述第二消息所需的功率;其中,所述邻居信息为所述第一设备监听其他设备发送的消息时的历史路径损耗和所述其他设备的标识之间的对应关系;Determining, by the first device, the historical path loss when the first device listens to the message sent by the third device, according to the neighbor information and the identifier of the third device included in the physical header of the first message, and The power required by the first device to send the second message; wherein the neighbor information is a correspondence between a historical path loss when the first device listens to a message sent by another device and an identifier of the other device relationship;
所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:Determining, according to the transmission type of the first message, and the transmission type of the second message to be sent by the first device, whether the second device sends the first message by using the first channel And sending the second message by using the first channel, specifically:
所述第一设备根据所述第一消息的传输类型、所述第一设备待发送的第二消息的传输类型、所述第一设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述第一设备发送所述第二消息所需的功率,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。The first device is configured to: according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, and the historical path loss when the first device listens to the message sent by the third device, And determining, by the first device, the power required by the second message, whether to send the second channel by using the first channel when the second device sends the first message by using the first channel Message.
结合第一方面的第七种可能的实施方式,在第一方面的第八种可能的实施方式中,所述第一消息的物理头中还包括所述第一消息的发送时长;所述方法还包括:With reference to the seventh possible implementation of the first aspect, in an eighth possible implementation manner of the first aspect, the physical header of the first message further includes a sending duration of the first message; Also includes:
所述第一设备确定所述第二消息的发送时长;Determining, by the first device, a sending duration of the second message;
所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第 二消息的传输类型、所述第一设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述第一设备发送所述第二消息所需的功率,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:The first device according to the transmission type of the first message and the first device to be sent a transmission type of the second message, a historical path loss when the first device listens to the message sent by the third device, and a power required by the first device to send the second message, determining whether the first device is in the first And sending, by the second device, the second message by using the first channel when the first device sends the first message by using the first channel, specifically:
当所述第一设备确定所述第二消息的发送时长小于或等于所述第一消息的剩余发送时长时,所述第一设备根据所述第一消息的传输类型、所述第一设备待发送的第二消息的传输类型、所述第一设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述第一设备发送所述第二消息所需的功率,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。When the first device determines that the sending duration of the second message is less than or equal to the remaining sending duration of the first message, the first device is configured according to the transmission type of the first message, and the first device is The transmission type of the second message to be sent, the historical path loss when the first device listens to the message sent by the third device, and the power required by the first device to send the second message, to determine whether And sending, by the second device, the second message by using the first channel when the first message is sent by using the first channel.
第二方面,本发明实施例提供一种空间复用方法,所述方法包括:In a second aspect, an embodiment of the present invention provides a spatial multiplexing method, where the method includes:
第二设备发送第一消息,所述第一消息的物理头用于向第一设备指示所述第一消息的传输类型,以使得所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;其中,所述第一消息的传输类型为非直连传输消息或直连传输消息,所述第二消息的传输类型为非直连传输消息或直连传输消息;所述第二设备与所述第一设备属于同一个网络。The second device sends a first message, where the physical header of the first message is used to indicate the transmission type of the first message to the first device, so that the first device is configured according to the transmission type and location of the first message. Determining, by the transmission type of the second message to be sent by the first device, whether the second message is sent by using the first channel when the second device sends the first message by using the first channel; The transmission type of the first message is an indirect connection message or a direct connection message, and the transmission type of the second message is an indirect connection message or a direct connection message; the second device belongs to the first device The same network.
结合第二方面,在第二方面的第一种可能的实施方式中,所述第一消息的物理头中包括直连传输指示;其中,所述直连传输指示用于指示所述第一消息的传输类型。With reference to the second aspect, in a first possible implementation manner of the second aspect, the physical header of the first message includes a direct connection transmission indication, and wherein the direct connection transmission indication is used to indicate the first message The type of transmission.
结合第二方面或第二方面的第一种可能的实施方式,在第二方面的第二种可能的实施方式中,所述第一消息的物理头中还包括至少以下一种:With reference to the second aspect or the first possible implementation manner of the second aspect, in a second possible implementation manner of the second aspect, the physical header of the first message further includes at least one of the following:
所述第二设备所在的网络标识、所述第二设备的标识、所述第三设备的标识、所述第一消息的发送时长;其中,所述第三设备为接收所述第一消息的设备。a network identifier of the second device, an identifier of the second device, an identifier of the third device, and a sending duration of the first message, where the third device is configured to receive the first message. device.
第三方面,本发明实施例提供一种设备,所述设备包括:In a third aspect, an embodiment of the present invention provides a device, where the device includes:
获取模块,用于通过监听第一消息的物理头获取所述第一消息的传输类型;其中,所述第一消息的传输类型为非直连传输消息或直连传输消息;所述获取模块所在的设备与发送所述第一消息的第二设备属于同一个网络; An acquiring module, configured to acquire a transmission type of the first message by listening to a physical header of the first message, where the transmission type of the first message is an indirect connection message or a direct connection message; where the acquiring module is located The device belongs to the same network as the second device that sends the first message;
第一确定模块,用于根据所述获取模块获取的第一消息的传输类型和所述获取模块所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;所述第二消息的传输类型为非直连传输消息或直连传输消息。a first determining module, configured to determine whether the second device passes the first channel according to a transmission type of the first message acquired by the acquiring module and a transmission type of the second message to be sent by the device where the acquiring module is to be sent Sending the second message by using the first channel when sending the first message; the transmission type of the second message is an indirect connection message or a direct connection message.
结合第三方面,在第三方面的第一种可能的实施方式中,所述获取模块,具体用于根据所述第一消息的物理头中包括的直连传输指示获取所述第一消息的传输类型;其中,所述直连传输指示用于指示所述第一消息的传输类型。With reference to the third aspect, in a first possible implementation manner of the third aspect, the acquiring module is configured to acquire the first message according to a direct connection indication included in a physical header of the first message. a transmission type; wherein the direct transmission indication is used to indicate a transmission type of the first message.
结合第三方面或第三方面的第一种可能的实施方式,在第三方面的第二种可能的实施方式中,所述第一消息的物理头中还包括接收所述第一消息的第三设备的标识;所述设备还包括:第二确定模块和接收模块;With reference to the third aspect, or the first possible implementation manner of the third aspect, in a second possible implementation manner of the third aspect, the physical header of the first message further includes a part that receives the first message The identifier of the three devices; the device further includes: a second determining module and a receiving module;
所述第二确定模块,用于根据所述第三设备的标识,确定所述获取模块所在的设备与所述第三设备是否不同;The second determining module is configured to determine, according to the identifier of the third device, whether the device where the acquiring module is located is different from the third device;
所述第一确定模块,还用于当所述第二确定模块根据所述第三设备的标识,确定所述获取模块所在的设备与所述第三设备不同时,根据所述获取模块获取的第一消息的传输类型和所述获取模块所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;当所述第二确定模块根据所述第三设备的标识,确定所述获取模块所在的设备与所述第三设备相同时,指示所述接收模块继续接收所述第一消息的剩余部分。The first determining module is further configured to: when the second determining module determines, according to the identifier of the third device, that the device where the acquiring module is different from the third device, according to the obtaining module Determining whether a transmission type of the first message and a transmission type of the second message to be sent by the device where the acquiring module is to be sent are sent by using the first channel when the second device sends the first message by using the first channel And the second determining module, when the second determining module determines that the device where the acquiring module is the same as the third device, according to the identifier of the third device, instructing the receiving module to continue to receive the first The rest of the message.
结合第三方面至第三方面的第二种可能的实施方式中的任一项,在第三方面的第三种可能的实施方式中,所述第一消息的物理头中还包括所述第二设备的标识;In a third possible implementation manner of the third aspect, the third aspect of the third aspect, The identification of the two devices;
所述第二确定模块,还用于根据所述第二设备的标识,确定接收所述第二消息的第四设备与所述第二设备是否不同;The second determining module is further configured to determine, according to the identifier of the second device, whether the fourth device that receives the second message is different from the second device;
所述第一确定模块,还用于当所述第二确定模块根据所述第二设备的标识,确定所述第四设备与所述第二设备不同时,根据所述获取模块获取的第一消息的传输类型和所述获取模块所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;当所述第二确定模块根据所述第二设备的标识,确定所述第四设备与所述第二设备相同时,确定不在所述第二设备通过所述 第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。The first determining module is further configured to: when the second determining module determines, according to the identifier of the second device, that the fourth device is different from the second device, the first acquired according to the acquiring module Determining whether the transmission type of the message and the transmission type of the second message to be sent by the device in which the acquiring module is to be sent are sent by using the first channel when the second device sends the first message by using the first channel a second message, when the second determining module determines that the fourth device is the same as the second device according to the identifier of the second device, determining that the second device does not pass the Sending, by the first channel, the second message by using the first channel when the first channel sends the first message.
结合第三方面至第三方面的第三种可能的实施方式中的任一项,在第三方面的第四种可能的实施方式中,所述根据所述获取模块获取的第一消息的传输类型和获取模块所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:With reference to any one of the third aspect to the third possible implementation manner of the third aspect, in a fourth possible implementation manner of the third aspect, the transmission of the first message acquired according to the acquiring module And determining, by the type, the transmission type of the second message to be sent by the device where the module is located, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, where include:
若所述第一消息的传输类型为非直连传输消息,所述第二消息的传输类型为直连传输消息,则确定在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;And if the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a direct transmission message, determining, by the second device, sending the first message by using the first channel Transmitting the second message by using the first channel;
或者,or,
若所述第一消息的传输类型为直连传输消息,所述第二消息的传输类型为直连传输消息或非直连传输消息,则确定在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;If the transmission type of the first message is a direct transmission message, and the transmission type of the second message is a direct connection transmission message or a non-direct connection transmission message, determining that the second device sends by using the first channel Transmitting, by the first channel, the second message when the first message is sent;
或者,or,
若所述第一消息的传输类型为非直连传输消息,所述第二消息的传输类型为非直连传输消息,则确定不在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。If the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is an indirect connection message, determining that the second device does not send the first channel by using the first channel Transmitting the second message through the first channel when the message is received.
结合第三方面的第二种可能的实施方式或第三方面的第三种可能的实施方式,在第三方面的第五种可能的实施方式中,所述设备还包括:With reference to the second possible implementation manner of the third aspect or the third possible implementation manner of the third aspect, in a fifth possible implementation manner of the third aspect, the device further includes:
第三确定模块,还用于根据邻居信息和所述第一消息的物理头中包括的所述第三设备的标识确定所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗;其中,所述邻居信息为所述获取模块所在的设备监听其他设备发送的消息时的历史路径损耗和所述其他设备的标识之间的对应关系;a third determining module, configured to determine, according to the neighbor information and the identifier of the third device included in the physical header of the first message, a history of the device where the acquiring module is located to listen to the message sent by the third device a path loss; where the neighbor information is a correspondence between a historical path loss of the device where the acquiring module is located to listen to a message sent by another device, and an identifier of the other device;
所述第一确定模块,用于根据所述获取模块获取的第一消息的传输类型和所述获取模块所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The first determining module is configured to determine, according to a transmission type of the first message acquired by the acquiring module, and a transmission type of the second message to be sent by the device where the acquiring module is located, whether the second device passes the Sending the second message by using the first channel when the first message is sent by a channel, specifically:
根据所述第一消息的传输类型、所述第二消息的传输类型,以及,所述第三确定模块确定的所述获取模块所在的设备监听所述第三设备发送的消息 时的历史路径损耗,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。Determining, according to the transmission type of the first message, the transmission type of the second message, the device where the acquiring module is determined by the third determining module, listening to the message sent by the third device The historical path loss of the time, determining whether the second message is sent through the first channel when the second device sends the first message through the first channel.
结合第三方面的第五种可能的实施方式,在第三方面的第六种可能的实施方式中,所述第一消息的物理头中还包括所述第一消息的发送时长;With reference to the fifth possible implementation manner of the third aspect, in a sixth possible implementation manner of the third aspect, the physical header of the first message further includes a sending duration of the first message;
所述第三确定模块,还用于确定所述第二消息的发送时长;The third determining module is further configured to determine a sending duration of the second message;
所述第一确定模块,用于根据所述第一消息的传输类型、所述第二消息的传输类型,以及,所述第三确定模块确定的所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The first determining module is configured to: according to the transmission type of the first message, the transmission type of the second message, and the device where the acquiring module is determined by the third determining module, listening to the third The historical path loss of the message sent by the device, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
当所述第三确定模块确定的所述第二消息的发送时长小于或等于所述第一消息的剩余发送时长时,根据所述第一消息的传输类型、所述第二消息的传输类型,以及,所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。When the transmission duration of the second message determined by the third determining module is less than or equal to the remaining transmission duration of the first message, according to the transmission type of the first message, and the transmission type of the second message, And determining, by the device where the acquiring module is located, the historical path loss when the message sent by the third device is used, and determining whether the first device passes the first message when sending the first message by using the first channel. The channel transmits the second message.
结合第三方面的第二种可能的实施方式或第三方面的第三种可能的实施方式,在第三方面的第七种可能的实施方式中,所述设备还包括:With reference to the second possible implementation manner of the third aspect, or the third possible implementation manner of the third aspect, in a seventh possible implementation manner of the third aspect, the device further includes:
第四确定模块,还用于根据邻居信息和所述第一消息的物理头中包括的所述第三设备的标识确定所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述获取模块所在的设备发送所述第二消息所需的功率;其中,所述邻居信息为所述获取模块所在的设备监听其他设备发送的消息时的历史路径损耗和所述其他设备的标识之间的对应关系;a fourth determining module, configured to determine, according to the neighbor information and the identifier of the third device included in the physical header of the first message, a history of the device where the acquiring module is listening to the message sent by the third device The path loss, and the power required by the device where the acquiring module is sent to send the second message; wherein the neighbor information is a historical path loss and a path when the device where the acquiring module is listening to the message sent by the other device Corresponding relationship between the identifiers of other devices;
所述第一确定模块,用于根据所述获取模块获取的第一消息的传输类型和所述获取模块所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The first determining module is configured to determine, according to a transmission type of the first message acquired by the acquiring module, and a transmission type of the second message to be sent by the device where the acquiring module is located, whether the second device passes the Sending the second message by using the first channel when the first message is sent by a channel, specifically:
根据所述第一消息的传输类型、所述第二消息的传输类型,以及,所述第四确定模块确定的所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗、所述获取模块所在的设备发送所述第二消息所需的功率,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信 道发送所述第二消息。And the historical path loss when the device where the acquiring module is located monitors the message sent by the third device, according to the transmission type of the first message, the transmission type of the second message, and the device that is determined by the fourth determining module And determining, by the device where the acquiring module is sent, the power required by the second message, to determine whether the first device sends the first message by using the first channel. The track sends the second message.
结合第三方面的第七种可能的实施方式,在第三方面的第八种可能的实施方式中,所述第一消息的物理头中还包括所述第一消息的发送时长;With reference to the seventh possible implementation of the third aspect, in an eighth possible implementation manner of the third aspect, the physical header of the first message further includes a sending duration of the first message;
所述第四确定模块,还用于确定所述第二消息的发送时长;The fourth determining module is further configured to determine a sending duration of the second message;
所述第一确定模块,用于根据所述第一消息的传输类型、所述第二消息的传输类型,以及,所述第四确定模块确定的所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗、所述获取模块所在的设备发送所述第二消息所需的功率,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The first determining module is configured to: according to the transmission type of the first message, the transmission type of the second message, and the device where the acquiring module is determined by the fourth determining module, listening to the third The historical path loss when the message is sent by the device, and the power required by the device where the acquiring module is sent to send the second message, determining whether the second device sends the first message through the first channel. Sending, by the first channel, the second message, specifically:
当所述第四确定模块确定的所述第二消息的发送时长小于或等于所述第一消息的剩余发送时长时,根据所述第一消息的传输类型、所述第二消息的传输类型、所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述获取模块所在的设备发送所述第二消息所需的功率,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。When the transmission duration of the second message determined by the fourth determining module is less than or equal to the remaining transmission duration of the first message, according to the transmission type of the first message, the transmission type of the second message, The historical path loss when the device where the acquiring module is listening to the message sent by the third device, and the power required by the device where the acquiring module is sent to send the second message, determining whether the second device is Transmitting the second message through the first channel when the first message is sent by using the first channel.
第四方面,本发明实施例提供一种设备,所述设备包括:In a fourth aspect, an embodiment of the present invention provides a device, where the device includes:
发送模块,用于发送第一消息,所述第一消息的物理头用于向第一设备指示所述第一消息的传输类型,以使得所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型确定是否在所述发送模块所在的设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;其中,所述第一消息的传输类型为非直连传输消息或直连传输消息,所述第二消息的传输类型为非直连传输消息或直连传输消息;所述发送模块所在的设备与所述第一设备属于同一个网络。a sending module, configured to send a first message, where a physical header of the first message is used to indicate, to the first device, a transmission type of the first message, so that the first device is configured according to the transmission type of the first message Determining, by the transmission type of the second message to be sent by the first device, whether the second message is sent by using the first channel when the device where the sending module is located sends the first message by using a first channel; The transmission type of the first message is a non-direct connection transmission message or a direct connection transmission message, and the transmission type of the second message is a non-direct connection transmission message or a direct connection transmission message; The first device belongs to the same network.
结合第四方面,在第四方面的第一种可能的实施方式中,所述第一消息的物理头中包括直连传输指示;其中,所述直连传输指示用于指示所述第一消息的传输类型。With reference to the fourth aspect, in a first possible implementation manner of the fourth aspect, the physical header of the first message includes a direct connection transmission indication, and wherein the direct connection transmission indication is used to indicate the first message The type of transmission.
结合第四方面或第四方面的第一种可能的实施方式,在第四方面的第二种可能的实施方式中,所述第一消息的物理头中还包括至少以下一种:With reference to the fourth aspect, or the first possible implementation manner of the fourth aspect, in a second possible implementation manner of the fourth aspect, the physical header of the first message further includes at least one of the following:
所述发送模块所在的设备所在的网络标识、所述发送模块所在的设备的标识、所述第三设备的标识或所述第一消息的发送时长中的至少一个;其中, 所述第三设备为接收所述第一消息的设备。At least one of a network identifier of the device where the sending module is located, an identifier of the device where the sending module is located, an identifier of the third device, or a sending duration of the first message; The third device is a device that receives the first message.
第五方面,本发明实施例提供一种设备,所述设备包括:接收器和处理器;In a fifth aspect, an embodiment of the present invention provides a device, where the device includes: a receiver and a processor;
所述接收器,用于监听第一消息的物理头;The receiver is configured to listen to a physical header of the first message;
所述处理器,用于根据所述第一消息的物理头,获取所述第一消息的传输类型,并根据所述第一消息的传输类型和所述处理器所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;其中,所述第一消息的传输类型为非直连传输消息或直连传输消息;所述处理器所在的设备与发送所述第一消息的第二设备属于同一个网络;所述第二消息的传输类型为非直连传输消息或直连传输消息。The processor is configured to acquire, according to a physical header of the first message, a transmission type of the first message, and according to a transmission type of the first message and a second to be sent by a device where the processor is located And determining, by the transmission type of the message, whether the second message is sent by using the first channel when the second device sends the first message by using the first channel; wherein, the transmission type of the first message is non-straight And transmitting a message or a direct connection message; the device where the processor is located belongs to the same network as the second device that sends the first message; and the transmission type of the second message is an indirect connection message or a direct connection transmission Message.
结合第五方面,在第五方面的第一种可能的实施方式中,所述处理器,具体用于根据所述第一消息的物理头中包括的直连传输指示获取所述第一消息的传输类型;其中,所述直连传输指示用于指示所述第一消息的传输类型。With reference to the fifth aspect, in a first possible implementation manner of the fifth aspect, the processor is configured to acquire the first message according to a direct transmission indication included in a physical header of the first message. a transmission type; wherein the direct transmission indication is used to indicate a transmission type of the first message.
结合第五方面或第五方面的第一种可能的实施方式,在第五方面的第二种可能的实施方式中,所述第一消息的物理头中还包括接收所述第一消息的第三设备的标识;With reference to the fifth aspect, or the first possible implementation manner of the fifth aspect, in a second possible implementation manner of the fifth aspect, the physical header of the first message further includes a part that receives the first message The identification of the three devices;
所述处理器,还用于根据所述第三设备的标识,确定所述处理器所在的设备与所述第三设备是否不同;当确定所述处理器所在的设备与所述第三设备不同时,根据所述第一消息的传输类型和所述处理器所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;当确定所述处理器所在的设备与所述第三设备相同时,指示所述接收器继续接收所述第一消息的剩余部分。The processor is further configured to determine, according to the identifier of the third device, whether the device where the processor is located is different from the third device; when determining that the device where the processor is located and the third device are not At the same time, determining whether to pass the first message when the second device sends the first message by using the first channel according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is located. Transmitting, by the first channel, the second message; when it is determined that the device where the processor is located is the same as the third device, instructing the receiver to continue receiving the remaining part of the first message.
结合第五方面至第五方面的第二种可能的实施方式中的任一项,在第五方面的第三种可能的实施方式中,所述第一消息的物理头中还包括所述第二设备的标识;With reference to any one of the fifth aspect to the second possible implementation of the fifth aspect, in a third possible implementation manner of the fifth aspect, the physical header of the first message further includes the foregoing The identification of the two devices;
所述处理器,还用于根据所述第二设备的标识,确定接收所述第二消息的第四设备与所述第二设备不同;当确定所述第四设备与所述第二设备不同时,根据所述第一消息的传输类型和所述处理器所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时 通过所述第一信道发送所述第二消息;当确定所述第四设备与所述第二设备相同时,确定不在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。The processor is further configured to determine, according to the identifier of the second device, that the fourth device that receives the second message is different from the second device; when determining that the fourth device and the second device are not Simultaneously, determining whether the second device sends the first message by using the first channel according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is located Transmitting, by the first channel, the second message; when determining that the fourth device is the same as the second device, determining that the second device does not pass when sending the first message by using the first channel The first channel sends the second message.
结合第五方面至第五方面的第三种可能的实施方式中的任一项,在第五方面的第四种可能的实施方式中,所述根据所述第一消息的传输类型和所述处理器所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:With reference to any one of the fifth aspect to the third possible implementation manner of the fifth aspect, in a fourth possible implementation manner of the fifth aspect, Determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, where the device is configured to:
若所述第一消息的传输类型为非直连传输消息,所述第二消息的传输类型为直连传输消息,则确定在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;And if the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a direct transmission message, determining, by the second device, sending the first message by using the first channel Transmitting the second message by using the first channel;
或者,or,
若所述第一消息的传输类型为直连传输消息,所述第二消息的传输类型为直连传输消息或非直连传输消息,则确定在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;If the transmission type of the first message is a direct transmission message, and the transmission type of the second message is a direct connection transmission message or a non-direct connection transmission message, determining that the second device sends by using the first channel Transmitting, by the first channel, the second message when the first message is sent;
或者,or,
若所述第一消息的传输类型为非直连传输消息,所述第二消息的传输类型为非直连传输消息,则确定不在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。If the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is an indirect connection message, determining that the second device does not send the first channel by using the first channel Transmitting the second message through the first channel when the message is received.
结合第五方面的第二种可能的实施方式或第五方面的第三种可能的实施方式,在第五方面的第五种可能的实施方式中,所述处理器,还用于根据邻居信息和所述第一消息的物理头中包括的所述第三设备的标识确定所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗;其中,所述邻居信息为所述处理器所在的设备监听其他设备发送的消息时的历史路径损耗和所述其他设备的标识之间的对应关系;With reference to the second possible implementation manner of the fifth aspect or the third possible implementation manner of the fifth aspect, in a fifth possible implementation manner of the fifth aspect, the processor is further configured to use the neighbor information The identifier of the third device included in the physical header of the first message determines a historical path loss when the device where the processor is located listens to the message sent by the third device; where the neighbor information is Corresponding relationship between the historical path loss of the device where the processor is located to listen to the message sent by the other device and the identifier of the other device;
所述处理器,用于根据所述第一消息的传输类型和所述处理器所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The processor is configured to determine, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is to be sent, whether the second device sends the first channel by using the first channel Sending the second message by using the first channel when a message is:
根据所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述第一消息的传输类型、所述第二消息的传输类型,确定是 否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。And determining, according to the historical path loss when the device where the processor is located, the message sent by the third device, and the transmission type of the first message and the transmission type of the second message, And sending, by the first channel, the second message when the second device sends the first message by using a first channel.
结合第五方面的第五种可能的实施方式,在第五方面的第六种可能的实施方式中,所述第一消息的物理头中还包括所述第一消息的发送时长;With reference to the fifth possible implementation manner of the fifth aspect, in a sixth possible implementation manner of the fifth aspect, the physical header of the first message further includes a sending duration of the first message;
所述处理器,还用于确定所述第二消息的发送时长;The processor is further configured to determine a sending duration of the second message;
所述处理器,用于根据所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述第一消息的传输类型、所述第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The processor is configured to: according to a historical path loss when the device where the processor is located is listening to a message sent by the third device, and a transmission type of the first message, a transmission type of the second message, Determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
当所述第二消息的发送时长小于或等于所述第一消息的剩余发送时长时,根据所述第一消息的传输类型、所述第二消息的传输类型,以及,所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。When the transmission duration of the second message is less than or equal to the remaining transmission duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the location of the processor The device monitors the historical path loss when the message sent by the third device, and determines whether the second message is sent by using the first channel when the second device sends the first message by using the first channel.
结合第五方面的第二种可能的实施方式或第五方面的第三种可能的实施方式,在第五方面的第七种可能的实施方式中,With reference to the second possible implementation manner of the fifth aspect or the third possible implementation manner of the fifth aspect, in a seventh possible implementation manner of the fifth aspect,
所述处理器,还用于根据邻居信息和所述第一消息中所述第三设备的标识确定所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述处理器所在的设备发送所述第二消息所需的功率;其中,所述邻居信息为所述处理器所在的设备监听其他设备发送的消息时的历史路径损耗和所述其他设备的标识之间的对应关系;The processor is further configured to determine, according to the neighbor information and the identifier of the third device in the first message, a historical path loss when the device where the processor is located is listening to the message sent by the third device, and The power required by the device where the processor is to send the second message; wherein the neighbor information is a historical path loss when the device where the processor is located listening to a message sent by another device, and an identifier of the other device Correspondence between them;
所述处理器,用于根据所述第一消息的传输类型和所述处理器所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The processor is configured to determine, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is to be sent, whether the second device sends the first channel by using the first channel Sending the second message by using the first channel when a message is:
根据所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗、所述处理器所在的设备发送所述第二消息所需的功率,以及,所述第一消息的传输类型、所述第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。And a historical path loss when the device where the processor is located is listening to the message sent by the third device, a power required by the device where the processor is located to send the second message, and a transmission of the first message The type, the transmission type of the second message, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel.
结合第五方面的第七种可能的实施方式,在第五方面的第八种可能的实施方式中,所述第一消息的物理头中还包括所述第一消息的发送时长; With reference to the seventh possible implementation manner of the fifth aspect, in the eighth possible implementation manner of the fifth aspect, the physical header of the first message further includes a sending duration of the first message;
所述处理器,还用于确定所述第二消息的发送时长;The processor is further configured to determine a sending duration of the second message;
所述处理器,用于根据所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗、所述处理器所在的设备发送所述第二消息所需的功率,以及,所述第一消息的传输类型、所述第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The processor is configured to: according to a historical path loss when the device where the processor is located is listening to a message sent by the third device, a power required by the device where the processor is located to send the second message, and Determining, by the transmission type of the first message, the transmission type of the second message, whether the second message is sent by using the first channel when the second device sends the first message by using a first channel, Specifically:
当所述第二消息的发送时长小于或等于所述第一消息的剩余发送时长时,根据所述第一消息的传输类型、所述第二消息的传输类型、所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述处理器所在的设备发送所述第二消息所需的功率,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。And when the sending duration of the second message is less than or equal to the remaining sending duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the device where the processor is located. a historical path loss when the message is sent by the third device, and a power required by the device where the processor is to send the second message, determining whether the second device sends the first channel through the first channel The second message is sent through the first channel when a message is received.
第六方面,本发明实施例提供一种设备,所述设备包括:发送器;In a sixth aspect, an embodiment of the present invention provides a device, where the device includes: a transmitter;
所述发送器,用于发送第一消息,所述第一消息的物理头用于向第一设备指示所述第一消息的传输类型,以使得所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型确定是否在所述发送器所在的设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;其中,所述第一消息的传输类型为非直连传输消息或直连传输消息,所述第二消息的传输类型为非直连传输消息或直连传输消息;所述发送器所在的设备与所述第一设备属于同一个网络。The transmitter is configured to send a first message, where a physical header of the first message is used to indicate, to the first device, a transmission type of the first message, so that the first device is configured according to the first message Transmitting type and a transmission type of the second message to be sent by the first device, determining whether to send the second message by using the first channel when the device where the sender is located sends the first message by using a first channel The transmission type of the first message is a non-direct connection transmission message or a direct connection transmission message, and the transmission type of the second message is an indirect connection transmission message or a direct connection transmission message; It belongs to the same network as the first device.
结合第六方面,在第六方面的第一种可能的实施方式中,所述第一消息的物理头中包括直连传输指示;其中,所述直连传输指示用于指示所述第一消息的传输类型。With reference to the sixth aspect, in a first possible implementation manner of the sixth aspect, the physical header of the first message includes a direct connection transmission indication, and wherein the direct connection transmission indication is used to indicate the first message The type of transmission.
结合第六方面或第六方面的第一种可能的实施方式,在第六方面的第二种可能的实施方式中,所述第一消息的物理头中还包括至少以下一种:With reference to the sixth aspect, or the first possible implementation manner of the sixth aspect, in a second possible implementation manner of the sixth aspect, the physical header of the first message further includes at least one of the following:
所述发送器所在的设备所在的网络标识、所述发送器所在的设备的标识、所述第三设备的标识或所述第一消息的发送时长中的至少一个;其中,所述第三设备为接收所述第一消息的设备。At least one of a network identifier in which the device in which the transmitter is located, an identifier of the device in which the transmitter is located, an identifier of the third device, or a sending duration of the first message; wherein the third device A device that receives the first message.
本发明实施例提供的空间复用方法和设备,第一设备通过监听第一信道中正在传输的第一消息的物理头,可以获取第一消息的传输类型,从而可以根据第一消息的传输类型以及自己待发送的第二消息的传输类型,确定是否 在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,即本发明实施例提供的空间复用方法和设备,不需要再等到计数初始值减到0,就可以在第一信道传输第一消息的同时,通过第一信道传输第二消息,实现了网络内部的空间复用,提高了网络的频谱利用率。The spatial multiplexing method and device provided by the embodiment of the present invention, the first device can obtain the transmission type of the first message by listening to the physical header of the first message being transmitted in the first channel, so that the transmission type of the first message can be And the transmission type of the second message to be sent by itself, determining whether When the second device sends the first message through the first channel, the second message is sent by using the first channel, that is, the spatial multiplexing method and device provided by the embodiment of the present invention do not need to wait until the initial value of the count is reduced to 0. The first channel transmits the first message while transmitting the second message through the first channel, thereby realizing spatial multiplexing within the network and improving the spectrum utilization of the network.
附图说明DRAWINGS
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, a brief description of the drawings used in the embodiments or the prior art description will be briefly described below. Obviously, the drawings in the following description It is a certain embodiment of the present invention, and other drawings can be obtained from those skilled in the art without any creative work.
图1为本发明实施例提供的空间复用方法实施例一的流程示意图;FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a spatial multiplexing method according to an embodiment of the present disclosure;
图2为本发明实施例提供的空间复用方法实施例四的流程示意图;2 is a schematic flowchart of Embodiment 4 of a spatial multiplexing method according to an embodiment of the present disclosure;
图3为本发明实施例提供的空间复用方法实施例五的流程示意图;FIG. 3 is a schematic flowchart of Embodiment 5 of a spatial multiplexing method according to an embodiment of the present disclosure;
图4为本发明实施例提供的设备实施例一的结构示意图;FIG. 4 is a schematic structural diagram of Embodiment 1 of an apparatus according to an embodiment of the present disclosure;
图5为本发明实施例提供的设备实施例二的结构示意图;FIG. 5 is a schematic structural diagram of Embodiment 2 of an apparatus according to an embodiment of the present disclosure;
图6为本发明实施例提供的设备实施例三的结构示意图;FIG. 6 is a schematic structural diagram of Embodiment 3 of a device according to an embodiment of the present disclosure;
图7为本发明实施例提供的设备实施例四的结构示意图;FIG. 7 is a schematic structural diagram of Embodiment 4 of an apparatus according to an embodiment of the present disclosure;
图8为本发明实施例提供的设备实施例六的结构示意图。FIG. 8 is a schematic structural diagram of Embodiment 6 of an apparatus according to an embodiment of the present disclosure.
具体实施方式detailed description
为使本发明实施例的目的、技术方案和优点更加清楚,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. It is a partial embodiment of the invention, and not all of the embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例涉及的第一设备可以为无线保真(Wireless Fidelity,简称WiFi)网络中的AP或者任一STA,本发明实施例涉及的第二设备可以为WiFi网络中的AP,也可以为STA。The first device in the embodiment of the present invention may be an AP in the wireless fidelity (WiFi) network or any STA. The second device in the embodiment of the present invention may be an AP in the WiFi network, or may be STA.
本发明实施例所涉及的AP,可以为接入设备(例如,无线路由器),也可以为热点,该热点即就是以AP模式工作的无线设备(例如:智能手机) 等。The AP involved in the embodiment of the present invention may be an access device (for example, a wireless router) or a hotspot, and the hotspot is a wireless device working in an AP mode (for example, a smart phone). Wait.
本发明实施例涉及的STA,可以为用户站点,可以为终端。这里的终端可以是无线终端。无线终端包括向用户提供语音和/或数据服务的设备,可选的,该设备可以为具有无线连接功能的手持式设备、或连接到无线调制解调器的其他处理设备。并且,该无线终端还可以经无线接入网(例如,RAN,Radio Access Network)与一个或多个核心网进行通信,例如该无线终端具体可以是移动终端,如移动电话(或称为“蜂窝”电话)和具有移动终端的计算机,该具有移动终端的计算机可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们可以与核心网进行语音和/或数据的交互。The STA involved in the embodiment of the present invention may be a user site, and may be a terminal. The terminal here can be a wireless terminal. The wireless terminal includes a device that provides voice and/or data services to the user. Alternatively, the device can be a handheld device with wireless connectivity, or other processing device connected to the wireless modem. Moreover, the wireless terminal can also communicate with one or more core networks via a radio access network (eg, RAN, Radio Access Network), for example, the wireless terminal can be a mobile terminal, such as a mobile phone (or "cellular" "Phone" and a computer having a mobile terminal, which may be a portable, pocket-sized, handheld, computer-integrated or in-vehicle mobile device that can interact with the core network for voice and/or data.
目前,无论是BSS还是IBSS,在实现网络内部的通信时,大多采用现有的WiFi通信标准,这种采用WiFi通信标准的网络统称为WiFi网络,WiFi网络中每个设备所传输的消息均称为WiFi消息。其中,WiFi消息包括物理头和数据部分,当WiFi网络中的某一设备通过信道发送WiFi消息时,WiFi消息的物理头会先于数据部分在信道中传输。At present, whether it is BSS or IBSS, when implementing communication within the network, most of the existing WiFi communication standards are adopted. The network using the WiFi communication standard is collectively referred to as a WiFi network, and the messages transmitted by each device in the WiFi network are called For WiFi messages. The WiFi message includes a physical header and a data portion. When a device in the WiFi network sends a WiFi message through the channel, the physical header of the WiFi message is transmitted in the channel before the data portion.
为了便于对本发明实施例涉及的方法的理解,下面对现有的WiFi通信标准予以说明。In order to facilitate the understanding of the method involved in the embodiments of the present invention, the existing WiFi communication standard will be described below.
现有的WiFi通信标准为一种基于时分和竞争的无线通信标准,即网络中所有的设备均采用竞争的机制发送WiFi消息,具体地,当WiFi网络内部的某个设备有待发送的WiFi消息需要发送时,假设该设备为设备A,设备A待发送的WiFi消息为WiFi消息1,则设备A会在允许的数值范围内随机选择一个数值作为计数初始值,并以一定的时间单位监听信道,若信道空闲(即信道中没有正在传输的其他WiFi消息或没有较强的噪音(该较强的噪音是指噪音的信号的强度大于预设的阈值的噪音,其中,预设的阈值可以为根据网络内部的参数确定的一个阈值。上述较强的噪音例如可以为采用蓝牙技术发送的消息),则设备A将计数初始值减一;若信道忙(即信道正在传输其他的WiFi消息或存在较强的噪音,假设正在传输的其他WiFi消息为WiFi消息2),则设备A暂停计数,直至信道空闲时(即WiFi消息2已传输完毕或较强的噪音消失),设备A才会再继续向下计数,直至计数初始值减到0时,设备A确定发送WiFi消息1,并通过信道传输WiFi消息1。The existing WiFi communication standard is a time-based and contention-based wireless communication standard, that is, all devices in the network use a competitive mechanism to send WiFi messages, specifically, when a certain device inside the WiFi network needs to send a WiFi message. When sending, if the device is device A, and the WiFi message to be sent by device A is WiFi message 1, device A randomly selects a value as the initial value of the count within the allowed range of values, and monitors the channel in a certain time unit. If the channel is idle (that is, there is no other WiFi message being transmitted in the channel or there is no strong noise (the strong noise refers to the noise of the signal whose intensity is greater than a preset threshold, wherein the preset threshold may be based on A threshold value determined by parameters inside the network. The above strong noise can be, for example, a message sent by using Bluetooth technology, and then device A decrements the initial value by one; if the channel is busy (that is, the channel is transmitting other WiFi messages or exists) Strong noise, assuming that other WiFi messages being transmitted are WiFi messages 2), device A pauses counting until the channel is idle (ie WiFi 2 has completed the transmission of the noise disappears or stronger), the device A will continue counting down, the initial value until the count reaches zero, the device A determines a message transmission WiFi, WiFi and transmitting a message through a channel.
上述设备A在通过信道传输WiFi消息1时,其他设备在采用竞争的机 制发送消息时,当监听到信道中正在传输的WiFi消息1后,就会暂停计数,直至WiFi消息1传输完毕后(即信道空闲后),其他设备才会继续计数,直至计数初始值减到0后再通过信道发送WiFi消息,以确保信道中每次只有一个WiFi消息在传输。When the device A transmits the WiFi message 1 through the channel, the other device is in the competitive machine. When sending a message, after listening to the WiFi message 1 being transmitted in the channel, the counting will be suspended until the transmission of the WiFi message 1 is completed (that is, after the channel is idle), the other devices will continue to count until the initial value of the count is reduced. After 0, the WiFi message is sent through the channel to ensure that only one WiFi message is transmitted in the channel at a time.
然而,上述WiFi网络中的各设备在采用上述竞争的机制发送WiFi消息时,信道中每次只能有一个WiFi消息在传输,且每个设备均需要在计数初始值减到0以后才能确定发送WiFi消息,虽然这种方式可以保证WiFi网络内部的通信正常进行,但是WiFi网络的频率利用率较低。However, when each device in the WiFi network sends a WiFi message by using the above-mentioned competing mechanism, only one WiFi message can be transmitted in the channel at a time, and each device needs to determine the transmission after the initial value of the count is reduced to 0. WiFi messages, although this method can ensure the normal communication within the WiFi network, but the frequency utilization of the WiFi network is low.
因此,本发明实施例提供的空间复用方法和设备,可以适用于采用WiFi通信标准进行通信的BSS和/或IBSS,即WiFi网络,用于解决现有技术中WiFi网络在实现网络内部的通信时,网络中每次只允许一个设备在传输消息,导致网络的频谱利用率较低的技术问题。Therefore, the spatial multiplexing method and device provided by the embodiments of the present invention can be applied to a BSS and/or an IBSS that communicates by using a WiFi communication standard, that is, a WiFi network, which is used to solve the communication in the network in the prior art. At the time, only one device in the network is allowed to transmit messages at a time, resulting in a technical problem of low spectrum utilization of the network.
下面本申请文件将以采用WiFi通信标准进行通信的BSS(简称:WiFi网络)为例,以具体地实施例对本发明的技术方案以及本发明的技术方案如何解决上述技术问题进行详细说明。其中,该WiFi网络中可以包括一个AP和多个STA。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。The following is a description of the technical solution of the present invention and how the technical solution of the present invention solves the above technical problem by taking a BSS (abbreviation: WiFi network) that communicates by using the WiFi communication standard as an example. The WiFi network may include one AP and multiple STAs. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be described in some embodiments.
图1为本发明实施例提供的空间复用方法实施例一的流程示意图。本实施例涉及的是第一设备根据第一消息的传输类型和第一设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息的具体过程。如图1所示,该方法包括:FIG. 1 is a schematic flowchart diagram of Embodiment 1 of a spatial multiplexing method according to an embodiment of the present disclosure. In this embodiment, the first device determines, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, whether the second device sends the first message when sending the first message through the first channel. The specific process of the second message. As shown in Figure 1, the method includes:
S101:第一设备通过监听第一消息的物理头获取第一消息的传输类型;其中,第一消息的传输类型为非直连传输消息或直连传输消息;第一设备与发送第一消息的第二设备属于同一个网络。S101: The first device acquires a transmission type of the first message by listening to a physical header of the first message, where the transmission type of the first message is an indirect connection message or a direct connection message; the first device sends the first message The second device belongs to the same network.
具体的,本发明实施例中,第一设备和第二设备可以为属于同一个WiFi网络的设备,且第二设备处于正在使用第一信道发送第一消息的状态,第一设备处于采用竞争的机制监听第一信道的状态(即,第一设备处于准备发送第二消息的状态),第一设备可以监听到第二设备所发送的第一消息,即第一设备在第二设备的信号覆盖范围内,其中,上述第一消息可以为WiFi消息,即第一消息包括物理头和数据部分,且第一消息的物理头会先于数据部分在 第一信道中传输。需要说明的是,这里所说的第一信道可以为现有技术中WiFi网络在进行通信时所使用的任一信道。Specifically, in the embodiment of the present invention, the first device and the second device may be devices belonging to the same WiFi network, and the second device is in a state in which the first message is being sent by using the first channel, and the first device is in competition. The mechanism monitors the state of the first channel (ie, the first device is in a state ready to send the second message), and the first device may listen to the first message sent by the second device, that is, the signal coverage of the first device in the second device The first message may be a WiFi message, that is, the first message includes a physical header and a data part, and the physical header of the first message is preceded by the data part. Transmission in the first channel. It should be noted that the first channel mentioned herein may be any channel used by the WiFi network in the prior art for communication.
当上述第二设备通过第一信道发送第一消息时,监听第一信道的第一设备就可以先监听到第一消息的物理头,进而就可以根据第一消息的物理头获取第一消息的传输类型。具体实现时,第一设备可以通过解析第一消息的物理头的内容获取第一消息的传输类型,也可以通过解析第一消息的物理头的长度获取第一消息的传输类型等。上述第一消息的传输类型可以为非直连传输消息或直连传输消息,其中,非直连传输消息可以为STA向AP传输的上行消息或AP向STA传输的下行消息或AP向STA传输的广播消息,上述直连传输消息可以为两个STA之间传输的消息。When the first device sends the first message through the first channel, the first device that listens to the first channel can first listen to the physical header of the first message, and then obtain the first message according to the physical header of the first message. Transmission type. In a specific implementation, the first device may obtain the transmission type of the first message by parsing the content of the physical header of the first message, or obtain the transmission type of the first message by parsing the length of the physical header of the first message. The transmission type of the foregoing first message may be an indirect connection message or a direct connection message, where the indirect connection message may be an uplink message transmitted by the STA to the AP or a downlink message transmitted by the AP to the STA or transmitted by the AP to the STA. For the broadcast message, the above direct transmission message may be a message transmitted between two STAs.
S102:第一设备根据第一消息的传输类型和第一设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息;第二消息的传输类型为非直连传输消息或直连传输消息。S102: The first device determines, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, whether to send the second message by using the first channel when the second device sends the first message by using the first channel; The transmission type of the second message is an indirect transmission message or a direct transmission message.
具体的,当上述第一设备在根据第一消息的物理头获取到第一消息的传输类型之后,就可以根据第一消息的传输类型和第一设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,当确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息时,第一设备便可以立即通过第一信道传输第二消息,即第一设备与第二设备共用第一信道发送消息。可选的,上述第一设备可以在第一消息的传输类型与第二消息的传输类型不同时,确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息;可选的,上述第一设备也可以在第一消息的传输类型与第二消息的传输类型相同时,确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。Specifically, after the first device acquires the transmission type of the first message according to the physical header of the first message, it may be determined according to the transmission type of the first message and the transmission type of the second message to be sent by the first device. Whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, and when the second message is sent by using the first channel when the second device sends the first message by using the first channel, The device can immediately transmit the second message through the first channel, that is, the first device shares the first channel with the second device to send the message. Optionally, the first device, when the transmission type of the first message is different from the transmission type of the second message, determining that the second message is sent by using the first channel when the second device sends the first message by using the first channel; Optionally, when the transmission type of the first message is the same as the transmission type of the second message, the first device may determine to send the second message by using the first channel when the second device sends the first message by using the first channel.
现有技术中,第一设备在监听到第一信道中正在传输的第一消息时,会暂停计数,待第一信道空闲后,才会继续向下计数,直至计数初始值减到0以后才会通过第一信道传输第二消息,也就是说第一信道中每次只能有一个WiFi消息在传输;但是,本发明实施例提供的空间复用方法,不需要再等到计数初始值减到0,就可以在第一信道传输第一消息的同时,通过第一信道传输第二消息,即,第一消息和第二消息同时通过第一信道传输,通过上述方式,实现了网络内部的空间复用,提高了网络的频谱利用率。 In the prior art, when the first device is listening to the first message being transmitted in the first channel, the first device pauses counting, and after the first channel is idle, it continues to count down until the initial value of the count is reduced to 0. The second message is transmitted through the first channel, that is, only one WiFi message can be transmitted at a time in the first channel. However, the spatial multiplexing method provided by the embodiment of the present invention does not need to wait until the initial value of the count is reduced. 0, the first message can be transmitted on the first channel, and the second message is transmitted through the first channel, that is, the first message and the second message are simultaneously transmitted through the first channel, and the space inside the network is realized by the foregoing manner. Reuse improves the spectrum utilization of the network.
本发明实施例提供的空间复用方法,第一设备通过监听第一信道中正在传输的第一消息的物理头,可以获取第一消息的传输类型,从而可以根据第一消息的传输类型以及自己待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,即本发明实施例提供的空间复用方法,不需要再等到计数初始值减到0,就可以在第一信道传输第一消息的同时,通过第一信道传输第二消息,实现了网络内部的空间复用,提高了网络的频谱利用率。According to the spatial multiplexing method provided by the embodiment of the present invention, the first device can obtain the transmission type of the first message by listening to the physical header of the first message being transmitted in the first channel, so that the transmission type of the first message and the And determining, by the transmission type of the second message to be sent, whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, that is, the spatial multiplexing method provided by the embodiment of the present invention does not need to wait until When the initial value of the count is reduced to 0, the first message can be transmitted on the first channel, and the second message is transmitted through the first channel, thereby realizing spatial multiplexing inside the network and improving the spectrum utilization rate of the network.
进一步地,在上述实施例的基础上,本实施例二涉及的是当上述第一设备通过监听第一消息的物理头获取第一消息的传输类型之后,第一设备如何根据第一消息的传输类型和第一设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息的具体过程,具体可以分为如下三种情况:Further, on the basis of the foregoing embodiment, the second embodiment relates to how the first device transmits the first message after the first device acquires the transmission type of the first message by listening to the physical header of the first message. And the specific type of the second message sent by the first channel when the second device sends the first message by using the first channel, which may be classified into the following three situations: :
第一种情况:若第一消息的传输类型为非直连传输消息,第二消息的传输类型为直连传输消息,则第一设备确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。The first case is: if the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a direct transmission message, the first device determines to pass when the second device sends the first message through the first channel. The first channel transmits a second message.
具体的,如上述所说,第一设备为第二消息的发送方,第二设备为第一消息的发送方。Specifically, as described above, the first device is the sender of the second message, and the second device is the sender of the first message.
当上述第一消息的传输类型为非直连传输消息,即第一消息可以为AP向STA传输的下行消息或广播消息,也可以为STA向AP传输的上行消息,也就是说,第一消息为STA与AP之间传输的消息;若此时第二消息的传输类型为直连传输消息,也就是说,第二消息为两个STA之间的传输的消息,并不涉及AP,则当第一消息的传输类型为非直连传输消息,第二消息的传输类型为直连传输消息时,第一设备就可以确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。例如,一个WiFi网络中有STA1、STA2、STA3和AP,其中,SAT1正在向AP发送第一消息(该第一消息即为非直连消息),则此时STA2可以同时向STA3发送第二消息(该第二消息即为直连消息),即第一信道中可以同时有两个消息在传输;但是在现有技术中,这种场景下,WiFi网络的信道中每次只能有一个WiFi消息在传输,因此,本发明实施例提供的空间复用方法,提高了网络的频谱利用率。When the transmission type of the first message is a non-directly connected message, that is, the first message may be a downlink message or a broadcast message that is transmitted by the AP to the STA, and may also be an uplink message that the STA transmits to the AP, that is, the first message. a message transmitted between the STA and the AP; if the transmission type of the second message is a direct transmission message, that is, the second message is a message transmitted between the two STAs, and the AP is not involved, then The transmission type of the first message is a non-direct transmission message, and when the transmission type of the second message is a direct transmission message, the first device may determine to send by using the first channel when the second device sends the first message through the first channel. Second message. For example, in a WiFi network, there are STA1, STA2, STA3, and AP, where SAT1 is sending a first message to the AP (the first message is an indirect message), and STA2 can send a second message to STA3 at the same time. (The second message is a direct connection message), that is, two messages can be transmitted simultaneously in the first channel; but in the prior art, in the scenario, only one WiFi channel can be used in the channel of the WiFi network at a time. The message is transmitted. Therefore, the spatial multiplexing method provided by the embodiment of the present invention improves the spectrum utilization rate of the network.
第二种情况:若第一消息的传输类型为直连传输消息,第二消息的传输 类型为直连传输消息或非直连传输消息,则第一设备确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。The second case: if the transmission type of the first message is a direct transmission message, the transmission of the second message The type is a direct connection transmission message or a non-direct connection transmission message, and the first device determines to send the second message through the first channel when the second device sends the first message through the first channel.
具体的,如上述所说,第一设备为第二消息的发送方,第二设备为第一消息的发送方。Specifically, as described above, the first device is the sender of the second message, and the second device is the sender of the first message.
(1)当上述第一消息的传输类型为直连传输消息,即第一消息为两个STA之间传输的消息,若此时第二消息的传输类型为直连传输消息,也就是说,第二消息也为两个STA之间传输的消息,但是,第一消息和第二消息所涉及的STA可能不同,因此第一设备就可以确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。例如,一个WiFi网络中有STA1、STA2、STA3、STA4和AP,其中,SAT1正在向STA2发送第一消息(该第一消息即为直连消息),则此时STA3可以同时向STA4发送第二消息(该第二消息即为直连消息),即第一信道中可以同时有两个消息在传输;但是在现有技术中,这种场景下,WiFi网络的信道中每次只能有一个WiFi消息在传输,因此,本发明实施例提供的空间复用方法,提高了网络的频谱利用率。(1) When the transmission type of the first message is a direct transmission message, that is, the first message is a message transmitted between two STAs, if the transmission type of the second message is a direct transmission message, that is, The second message is also a message transmitted between the two STAs, but the STAs involved in the first message and the second message may be different, so the first device may determine that the second device sends the first message through the first channel. The second message is sent over the first channel. For example, in a WiFi network, there are STA1, STA2, STA3, STA4, and AP, where SAT1 is sending a first message to STA2 (the first message is a direct connection message), and then STA3 can send a second message to STA4 at the same time. The message (the second message is a direct connection message), that is, two messages can be transmitted simultaneously in the first channel; but in the prior art, in the scenario, only one channel in the channel of the WiFi network can be used at a time. The WiFi message is transmitted. Therefore, the spatial multiplexing method provided by the embodiment of the present invention improves the spectrum utilization rate of the network.
(2)当上述第一消息的传输类型为直连传输消息,即第一消息为两个STA之间传输的消息,并不涉及AP,若此时第二消息的传输类型为非直连传输消息,即第二消息为STA与AP之间传输的消息,则当第一消息的传输类型为直连传输消息,第二消息的传输类型为非直连传输消息时,第一设备就可以确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。例如,一个WiFi网络中有STA1、STA2、STA3和AP,其中,SAT1正在向STA2发送第一消息(该第一消息即为直连消息),则此时STA3可以同时向AP发送第二消息(该第二消息即为非直连消息),即第一信道中可以同时有两个消息在传输;但是在现有技术中,这种场景下,WiFi网络的信道中每次只能有一个WiFi消息在传输,因此,本发明实施例提供的空间复用方法,提高了网络的频谱利用率。(2) When the transmission type of the first message is a direct transmission message, that is, the first message is a message transmitted between two STAs, the AP is not involved, and if the transmission type of the second message is non-direct transmission The message, that is, the second message is a message transmitted between the STA and the AP, when the transmission type of the first message is a direct transmission message, and the transmission type of the second message is a non-direct transmission message, the first device can determine And transmitting, by the first channel, the second message when the second device sends the first message by using the first channel. For example, in a WiFi network, there are STA1, STA2, STA3, and AP, where SAT1 is sending a first message to STA2 (the first message is a direct connection message), and then STA3 can simultaneously send a second message to the AP ( The second message is an indirect connection message, that is, two messages can be transmitted simultaneously in the first channel; but in the prior art, in the scenario, only one WiFi channel can be in the channel of the WiFi network at a time. The message is transmitted. Therefore, the spatial multiplexing method provided by the embodiment of the present invention improves the spectrum utilization rate of the network.
第三种情况:若第一消息的传输类型为非直连传输消息,第二消息的传输类型为非直连传输消息,则第一设备确定不在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。The third case: if the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a non-direct transmission message, the first device determines that the second device does not send the first message through the first channel. The second message is sent over the first channel.
具体的,如上述所说,第一设备为第二消息的发送方,第二设备为第一 消息的发送方。Specifically, as mentioned above, the first device is the sender of the second message, and the second device is the first device. The sender of the message.
当上述第一消息的传输类型为非直连传输消息,即第一消息可以为AP向STA传输的下行消息或广播消息,也可以为STA向AP传输的上行消息,也就是说,第一消息为STA与AP之间传输的消息;若此时第二消息的传输类型也为非直连传输消息,也就是说,第二消息也为STA与AP之间的传输的消息,由于AP不能同时进行收发消息,则当第一消息的传输类型为非直连传输消息,第二消息的传输类型也为非直连传输消息时,第一设备就可以确定不在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,继续采用现有WiFi网络中发送消息的方法(竞争的机制)发送第二消息。When the transmission type of the first message is a non-directly connected message, that is, the first message may be a downlink message or a broadcast message that is transmitted by the AP to the STA, and may also be an uplink message that the STA transmits to the AP, that is, the first message. The message transmitted between the STA and the AP; if the transmission type of the second message is also an indirect connection message, that is, the second message is also a message transmitted between the STA and the AP, because the AP cannot simultaneously When the transmission and reception of the message is performed, when the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is also a non-direct transmission message, the first device may determine that the second device does not send the first channel through the first channel. When a message is sent, the second message is sent through the first channel, and the method of sending a message in the existing WiFi network (competing mechanism) is used to send the second message.
本发明实施例提供的空间复用方法,第一设备通过监听第一信道中正在传输的第一消息的物理头,可以获取第一消息的传输类型,从而可以在第一消息的传输类型为非直连传输消息,第二消息的传输类型为直连传输消息,或者,第一消息的传输类型为直连传输消息,第二消息的传输类型为直连传输消息或非直连传输消息时,确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,即本发明实施例提供的空间复用方法,不需要再等到计数初始值减到0,就可以在第一信道传输第一消息的同时,通过第一信道传输第二消息,实现了网络内部的空间复用,提高了网络的频谱利用率。In the spatial multiplexing method provided by the embodiment of the present invention, the first device can obtain the transmission type of the first message by listening to the physical header of the first message being transmitted in the first channel, so that the transmission type of the first message is non- Directly transmitting a message, the transmission type of the second message is a direct connection transmission message, or the transmission type of the first message is a direct connection transmission message, and when the transmission type of the second message is a direct connection transmission message or an indirect connection transmission message, Determining that the second message is sent by using the first channel when the second device sends the first message by using the first channel, that is, the spatial multiplexing method provided by the embodiment of the present invention does not need to wait until the initial value of the count is reduced to 0. While transmitting the first message on one channel, the second message is transmitted through the first channel, realizing spatial multiplexing inside the network, and improving spectrum utilization of the network.
进一步地,如上述实施例所描述的,第一设备可以通过解析第一消息的物理头的内容获取第一消息的传输类型,也可以通过解析第一消息的物理头的长度获取第一消息的传输类型。在上述实施例二的基础上,本发明实施例三涉及的是第一设备通过解析第一消息的物理头的内容获取第一消息的传输类型的具体过程。上述S101具体包括:第一设备根据第一消息的物理头中包括的直连传输指示获取第一消息的传输类型;其中,直连传输指示用于指示第一消息的传输类型。Further, as described in the foregoing embodiment, the first device may obtain the transmission type of the first message by parsing the content of the physical header of the first message, or obtain the first message by parsing the length of the physical header of the first message. Transmission type. On the basis of the foregoing embodiment 2, the third embodiment of the present invention relates to a specific process for the first device to obtain the transmission type of the first message by parsing the content of the physical header of the first message. The foregoing S101 specifically includes: the first device acquiring the transmission type of the first message according to the direct connection transmission indication included in the physical header of the first message; wherein the direct connection transmission indication is used to indicate the transmission type of the first message.
具体的,上述直连传输指示可以由一个或多个比特数组成,具体实现时,为了降低第一消息的物理头的开销,可以在第一消息的物理头的高效信令(High Efficient Signal,简称:HE-SIG)中设置一个比特数作为上述直连传输指示,该一个比特数的取值可以为0或1,其中,0对应非直连传输消息,1对应直连传输消息;或者,1对应非直连传输消息,0对应直连传输消息。 需要说明的是,上述直连传输指示也可以设置在第一消息的物理头的其他位置。Specifically, the direct transmission indication may be composed of one or more bits. In a specific implementation, in order to reduce the overhead of the physical header of the first message, high-efficiency signaling (High Efficient Signal) may be performed on the physical header of the first message. The short-term transmission indication is set in the abbreviated as follows: the value of the one-bit number may be 0 or 1, where 0 corresponds to an indirect connection message and 1 corresponds to a direct connection message; or 1 corresponds to a non-direct connection message, and 0 corresponds to a direct connection message. It should be noted that the direct connection transmission indication may also be set at other locations of the physical header of the first message.
当上述第一设备监听到第一消息的物理头之后,就可以对第一消息的物理头进行解析以获取第一消息的物理头中包括的直连传输指示,进而通过该直连传输指示确定第一消息的传输类型,从而使第一设备可以根据第一消息的传输类型和第一设备待发送的第二消息的传输类型确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。After the first device listens to the physical header of the first message, the physical header of the first message may be parsed to obtain a direct transmission indication included in the physical header of the first message, and then determined by the direct transmission indication. The transmission type of the first message, so that the first device can determine whether the second device sends the first message through the first channel according to the transmission type of the first message and the transmission type of the second message to be sent by the first device. A second message is sent on one channel.
图2为本发明实施例提供的空间复用方法实施例四的流程示意图。在上述任一实施例的基础上,第一消息的物理头还可以包括接收第一消息的第三设备的标识,则在本实施例中,第一消息的物理头可以包括直连传输指示、第二设备所在的网络标识和接收第一消息的第三设备的标识。本实施例涉及的是上述第一设备根据第一消息的物理头中的第二设备所在的网络的标识、第三设备的标识、第一消息的传输类型和第一设备待发送的第二消息的传输类型确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息具体过程,其中,第一设备是第二消息的发送方,第二设备是第一消息的发送方,第三设备是第一消息的接收方。如图2所示,该方法包括:FIG. 2 is a schematic flowchart diagram of Embodiment 4 of a spatial multiplexing method according to an embodiment of the present invention. On the basis of any of the foregoing embodiments, the physical header of the first message may further include an identifier of the third device that receives the first message. In this embodiment, the physical header of the first message may include a direct connection indication, The network identifier where the second device is located and the identifier of the third device that receives the first message. The embodiment is related to the identifier of the network where the second device is located in the physical header of the first message, the identifier of the third device, the transmission type of the first message, and the second message to be sent by the first device. The transmission type determines whether the second message is sent by the first channel when the second device sends the first message through the first channel, where the first device is the sender of the second message, and the second device is the first message The sender, the third device is the receiver of the first message. As shown in Figure 2, the method includes:
S201:第一设备通过监听第一消息的物理头获取直连传输指示、第二设备所在的网络标识和第三设备的标识。S201: The first device acquires a direct connection transmission indication, a network identifier where the second device is located, and an identifier of the third device by listening to the physical header of the first message.
具体的,上述第二设备所在的网络标识可以设置在第一消息的物理头的HE-SIG中,也可以设置在第一消息的物理头的其他位置,其中,第二设备所在的网络标识可以为第二设备所在的网络的短标识,该第二设备所在的网络短标识具体可以为AP的短标识。Specifically, the network identifier of the second device may be set in the HE-SIG of the physical header of the first message, or may be set in another location of the physical header of the first message, where the network identifier of the second device may be The short identifier of the network where the second device is located, and the network short identifier of the second device may be a short identifier of the AP.
上述第三设备的标识可以设置在第一消息的物理头的HE-SIG中,也可以设置在第一消息的物理头的其他位置,其中,第三设备的标识可以为第三设备的短标识。The identifier of the third device may be set in the HE-SIG of the physical header of the first message, or may be set in another location of the physical header of the first message, where the identifier of the third device may be the short identifier of the third device. .
关于直连传输指示在第一消息的物理头中的位置描述,可以参见上述实施例三,在此不再赘述。For the location description of the direct connection indication in the physical header of the first message, refer to the foregoing embodiment 3, and details are not described herein again.
现有技术中,上述第一消息的物理头中还可以包括上下行传输指示,该上下行传输指示用于当第一消息为非直连传输消息时,即为STA与AP之间传输的消息时,用于进一步指示第一消息为STA向AP传输的上行消息,还 是为AP向STA传输的下行消息或广播消息。需要说明的是,无论第一消息是非直连传输消息还是直连传输消息,第二设备所在的网络标识均为AP的标识,同时,当上述第一消息是上行传输的非直连传输消息时,第三设备的标识也是AP的标识。因此当上述第一消息是上行传输的非直连传输消息时,所述第二设备所在的网络标识与所述第三设备的标识是相同的。In the prior art, the physical header of the first message may further include an uplink and downlink transmission indication, where the uplink and downlink transmission indication is used to be a message transmitted between the STA and the AP when the first message is a non-directly connected transmission message. And, for further indicating that the first message is an uplink message that the STA transmits to the AP, It is a downlink message or a broadcast message transmitted by the AP to the STA. It should be noted that, regardless of whether the first message is a non-direct transmission message or a direct connection transmission message, the network identifier of the second device is an identifier of the AP, and when the first message is an indirect transmission message of the uplink transmission, The identifier of the third device is also the identifier of the AP. Therefore, when the first message is an indirect transmission message of the uplink transmission, the network identifier of the second device is the same as the identifier of the third device.
则为了节省第一消息的物理头的开销,在S201中,可选的,当第一消息的物理头中包括上下行传输指示时,且该上下行传输指示表征第一消息为上行消息时,如果上述第一消息的物理头中包括了第二设备所在的网络标识,则可以不包括第三设备的标识,这样,当第一设备在获取到第一消息的物理头时,可以根据第一消息的物理头中携带的第二设备所在的网络标识和上下行传输指示确定第三设备的标识。可选的,同样的场景下,如果上述第一消息的物理头中包括了第三设备的标识时,则可以不包括第二设备所在的网络标识,这样,当第一设备在获取到第一消息的物理头时,可以根据第一消息的物理头中携带的第三设备的标识和上下行传输指示确定第二设备所在的网络标识。In order to save the overhead of the physical header of the first message, in S201, optionally, when the physical header of the first message includes an uplink and downlink transmission indication, and the uplink and downlink transmission indication indicates that the first message is an uplink message, If the physical identifier of the first message includes the network identifier of the second device, the identifier of the third device may not be included, so that when the first device obtains the physical header of the first message, the first device may be configured according to the first The network identifier of the second device carried in the physical header of the message and the uplink and downlink transmission indication determine the identifier of the third device. Optionally, in the same scenario, if the physical header of the first message includes the identifier of the third device, the network identifier of the second device may not be included, so that when the first device obtains the first The network identifier of the second device may be determined according to the identifier of the third device and the uplink and downlink transmission indication carried in the physical header of the first message.
S202:第一设备根据直连传输指示获取第一消息的传输类型。S202: The first device acquires a transmission type of the first message according to the direct connection transmission indication.
其中,S202的具体执行过程可以参见上述实施例三的描述,在此不再赘述。For the specific implementation process of the S202, refer to the description of the foregoing Embodiment 3, and details are not described herein again.
S203:第一设备根据第二设备所在的网络标识判断第一设备与第二设备是否属于同一个网络。若是,则执行S204;若否,则结束流程。S203: The first device determines, according to the network identifier of the second device, whether the first device and the second device belong to the same network. If yes, execute S204; if no, the process ends.
具体的,当上述第一设备从第一消息的物理头中获取到第二设备所在的网络标识之后,第一设备可以根据自身存储的自己所在的网络标识和获取到的第二设备所在的网络标识确定自己与第二设备是否属于同一个网络。可选的,可以通过判断第一设备在所在的网络标识和第二设备所在的网络标识是否相同来确定第一设备和第二设备是否属于同一个网络。Specifically, after the first device obtains the network identifier of the second device from the physical header of the first message, the first device may use the network identifier of the second device that is stored by the first device and the network where the second device is located. The identity determines whether it belongs to the same network as the second device. Optionally, whether the first device and the second device belong to the same network are determined by determining whether the network identifier of the first device and the network identifier of the second device are the same.
S204:第一设备根据第三设备的标识,确定第一设备与第三设备是否不同。若是,则执行S205;若否,则执行S208。S204: The first device determines, according to the identifier of the third device, whether the first device is different from the third device. If yes, execute S205; if no, execute S208.
具体的,当上述第一设备从第一消息的物理头中获取到第三设备的标识之后,第一设备可以根据自身存储的自身的标识和获取到的第三设备的标识,确定自己与第三设备是否不同,即判断第一设备是否为第一消息的接收方。 当第一设备根据第三设备的标识判断得出第一设备与第三设备相同时,即说明第一设备就是第三设备,也就是说第一设备为第一消息的接收方,则执行S208;当第一设备根据第三设备的标识判断得出第一设备与第三设备不同时,即说明第一设备不是第三设备,也就是说,第一设备不是第一消息的接收方,则执行S205。可选的,可以通过判断第一设备的标识和第三设备的标识是否相同来确定第一设备和第三设备是否不同。Specifically, after the first device acquires the identifier of the third device from the physical header of the first message, the first device may determine, according to the identifier of the third device that is stored by itself and the identifier of the third device that is obtained, Whether the three devices are different, that is, whether the first device is the receiver of the first message. When the first device determines that the first device is the same as the third device according to the identifier of the third device, that is, the first device is the third device, that is, the first device is the receiver of the first message, then S208 is performed. When the first device determines that the first device is different from the third device according to the identifier of the third device, that is, the first device is not the third device, that is, the first device is not the receiver of the first message, Execute S205. Optionally, whether the first device and the third device are different may be determined by determining whether the identifier of the first device and the identifier of the third device are the same.
需要说明的是,上述S202、S203和S204的执行可以不分先后顺序。It should be noted that the foregoing S202, S203, and S204 may be performed in no particular order.
S205:第一设备根据邻居信息和第一消息的物理头中包括的第三设备的标识确定第一设备监听第三设备发送的消息时的历史路径损耗;其中,邻居信息为第一设备监听其他设备发送的消息时的历史路径损耗和其他设备的标识之间的对应关系。S205: The first device determines, according to the neighbor information and the identifier of the third device included in the physical header of the first message, the historical path loss when the first device listens to the message sent by the third device, where the neighbor information is the first device listening for the other device. Correspondence between the historical path loss of the message sent by the device and the identity of other devices.
具体的,当第一设备确定与第三设备不同时,即第一设备确定自己不是第一消息的接收方时,第一设备可以根据获取到第三设备的标识,在自身存储的邻居信息中查找第一设备监听第三设备发送的消息时的历史路径损耗,也就是该消息的信号强度的衰减程度。Specifically, when the first device determines that the third device is different from the third device, that is, the first device determines that the user is not the receiver of the first message, the first device may obtain the identifier of the third device in the neighbor information stored by the first device. Finding the historical path loss when the first device listens to the message sent by the third device, that is, the degree of attenuation of the signal strength of the message.
需要说明的是,上述第一设备存储的邻居信息中包括了第一设备监听的多个设备发送的消息时的历史路径损耗和该多个设备的标识之间的对应关系。It should be noted that the neighbor information stored by the first device includes a historical path loss when the message sent by the multiple devices monitored by the first device and a corresponding relationship between the identifiers of the multiple devices.
S206:第一设备根据第一消息的传输类型、第一设备待发送的第二消息的传输类型,以及,第一设备监听第三设备发送的消息时的历史路径损耗,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。S206: The first device determines, according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, and the historical path loss when the first device listens to the message sent by the third device, whether the second device is in the second device. The second message is sent through the first channel when the first message is sent through the first channel.
可选的,第一种方式:第一设备可以先根据第一消息的传输类型、第一设备待发送的第二消息的传输类型确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,并在确定发送第二消息时,进一步根据第一设备监听第三设备发送的消息时的历史路径损耗,确定之前所确定的“在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息”的结果是否准确,若准确,则第一设备确定发送第二消息。Optionally, the first mode: the first device may determine, according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, whether the second device sends the first message through the first channel. The first channel sends the second message, and when determining to send the second message, further determines, according to the historical path loss when the first device listens to the message sent by the third device, that the previously determined “sends by the second device by using the first channel. Whether the result of transmitting the second message through the first channel in the first message is accurate, and if accurate, the first device determines to send the second message.
可选的,第二种方式:第一设备还可以先根据第一设备监听第三设备发送的消息时的历史路径损耗确定是否在第二设备通过第一信道发送第一消息 时通过第一信道发送第二消息,并在确定发送第二消息后,进一步根据第一消息的传输类型、第二消息的传输类型确定之前所确定的“在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息”的结果是否准确,若准确,则第一设备确定发送第二消息。Optionally, the second mode: the first device may further determine, according to the historical path loss when the first device listens to the message sent by the third device, whether the second device sends the first message by using the first channel. And transmitting, by the first channel, the second message, and after determining to send the second message, further determining, according to the transmission type of the first message and the transmission type of the second message, that “the second device sends the first channel through the first channel. Whether the result of transmitting the second message through the first channel in one message is accurate, and if accurate, the first device determines to send the second message.
下述的具体解释针对的是上述第二种实现方式,具体为:The following specific explanation is directed to the second implementation described above, specifically:
在本实施例中,上述第一设备可以为具有固定发送功率的设备,即第一设备发送第二消息的发送功率为固定功率。In this embodiment, the first device may be a device with a fixed transmit power, that is, the transmit power of the second device sent by the first device is a fixed power.
当上述第一设备确定第一设备监听第三设备发送的消息时的历史路径损耗之后,第一设备可以根据自己所发送第二消息的发送功率、第一设备监听第三设备发送的消息时的历史路径损耗,确定第三设备监听第二消息时的接收功率是否大于或等于预设的阈值,并根据所确定的结果确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,具体为:After the first device determines the historical path loss when the first device listens to the message sent by the third device, the first device may use the sending power of the second message sent by the first device, and the first device listens to the message sent by the third device. The historical path loss, determining whether the received power when the third device monitors the second message is greater than or equal to a preset threshold, and determining, according to the determined result, whether the first device passes the first channel when sending the first message through the first channel Send the second message, specifically:
上述第一设备可以将自己所发送第二消息的发送功率与第一设备监听第三设备发送的消息时的历史路径损耗相减,获得第三设备监听第二消息时的接收功率,若获得的第三设备监听第二消息时的接收功率大于或等于预设的阈值时,则说明若第一设备使用上述固定发送功率发送第二消息,第三设备监听第一设备发送的第二消息时的路径损耗较小,也就是说,对第三设备来说,第二消息的信号强度可能会比较强,即第一设备的发送可能会影响第三设备接收第一消息,因此,在当第三设备监听第二消息时的接收功率大于或等于预设的阈值时,则确定不在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,结束流程;其中,上述预设的阈值可以根据第一设备所在的网络内部的参数确定。The first device may reduce the transmission power of the second message sent by the third device by the historical path loss when the first device listens to the message sent by the third device, and obtain the received power when the third device listens to the second message, if obtained. When the received power of the third device is greater than or equal to the preset threshold, the first device uses the fixed transmit power to send the second message, and the third device listens to the second message sent by the first device. The path loss is small, that is, the signal strength of the second message may be stronger for the third device, that is, the sending of the first device may affect the third device to receive the first message, and therefore, in the third When the receiving power of the second message is greater than or equal to the preset threshold, the device determines to not send the second message through the first channel when the second device sends the first message through the first channel, and ends the process; The threshold can be determined according to parameters inside the network where the first device is located.
若获得的第三设备监听第二消息时的接收功率小于预设的阈值时,则说明若第一设备使用上述固定发送功率发送第二消息,第三设备监听第一设备发送的第二消息时的路径损耗较大,也就是说,对第三设备来说,第二消息的信号强度比较弱,即第一设备的发送不会影响第三设备接收第一消息,因此,在当第三设备监听第二消息时的接收功率小于预设的阈值时,则第一设备确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,进一步地,第一设备可以再次根据第一消息的传输类型和第二消息的传输类型进一步确定所确定的“在第二设备通过第一信道发送第一消息时通过 第一信道发送第二消息”的结果是否准确,当第一设备根据第一消息的传输类型和第二消息的传输类型也确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息时,说明之前所确定的“在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息”的结果准确,则第一设备确定发送第二消息,从而执行S207。If the received power of the third device is less than the preset threshold, the first device sends the second message by using the fixed transmit power, and the third device monitors the second message sent by the first device. The path loss is large, that is, for the third device, the signal strength of the second message is relatively weak, that is, the transmission of the first device does not affect the third device to receive the first message, and therefore, the third device When the received power of the second message is less than the preset threshold, the first device determines that the second message is sent by using the first channel when the second device sends the first message by using the first channel, and further, the first device may Determining, according to the transmission type of the first message and the transmission type of the second message, that "the second device passes the first message when sending the first message through the first channel. Whether the result of the first channel transmitting the second message is accurate, and the first device determines, according to the transmission type of the first message and the transmission type of the second message, that the second device passes the first channel when sending the first message through the first channel. When the second message is sent, it is determined that the result of “sending the second message through the first channel when the second device sends the first message through the first channel” is determined, and the first device determines to send the second message, thereby performing S207.
S207:第一设备发送第二消息。S207: The first device sends a second message.
具体的,当第一设备确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息后,就可以在第一消息传输的同时,在第一信道中传输第二消息,而不需要再等到计数初始值减到0,提高了网络的频谱利用率。执行完上述S207之后,则结束。Specifically, when the first device determines that the second message is sent by using the first channel when the second device sends the first message by using the first channel, the second message may be transmitted in the first channel while the first message is transmitted. Instead of waiting until the count initial value is reduced to zero, the spectrum utilization of the network is increased. After the execution of the above S207, the process ends.
执行完上述S207之后,则结束。After the execution of the above S207, the process ends.
S208:第一设备继续接收第一消息的剩余部分。S208: The first device continues to receive the remaining portion of the first message.
具体的,当上述第一设备根据第三设备的标识判断第一设备为第一消息的接收方时,则第一设备停止执行空间复用,并继续接收第一消息的剩余部分。执行完上述S208之后,则结束。Specifically, when the first device determines, according to the identifier of the third device, that the first device is the receiver of the first message, the first device stops performing spatial multiplexing, and continues to receive the remaining portion of the first message. After the above S208 is completed, it ends.
本发明实施例提供的空间复用方法,通过在第一消息的物理头中设置直连传输指示和第三设备的标识,使得第一设备在监听第一信道中正在传输的第一消息的物理头时,就可以通过第一消息的物理头中的第三设备标识确定第一设备是否为第一消息的接收方,当第一设备不是第一消息的接收方时,才会进一步通过第一消息的传输类型、第二消息的传输类型以及第一设备监听第三设备发送的消息时的历史路径损耗,确定是否可以在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。因此,本发明实施例提供的空间复用方法,在实现网络内部的空间复用的基础上,提高了网络内部的空间复用的成功率。The spatial multiplexing method provided by the embodiment of the present invention, by setting a direct connection transmission indication and an identifier of the third device in the physical header of the first message, so that the first device is listening to the physicality of the first message being transmitted in the first channel. The first device determines whether the first device is the receiver of the first message by using the third device identifier in the physical header of the first message, and further passes the first when the first device is not the receiver of the first message. The transmission type of the message, the transmission type of the second message, and the historical path loss when the first device listens to the message sent by the third device, and determines whether the second device can send the first message through the first channel when the first device sends the first message through the first channel. Two messages. Therefore, the spatial multiplexing method provided by the embodiment of the present invention improves the success rate of spatial multiplexing within the network on the basis of realizing spatial multiplexing within the network.
可选的,在上述实施例四的基础上,在上述S206之前,该方法还可以包括如下步骤:第一设备根据第三设备的标识判断第四设备与第三设备是否不同,即判断第二消息的接收方是否是第一消息的接收方;其中,第一设备是第二消息的发送方,第四设备是第二消息的接收方,第二设备是第一消息的发送方,第三设备是第一消息的接收方。Optionally, on the basis of the foregoing Embodiment 4, before the foregoing S206, the method may further include the following steps: the first device determines, according to the identifier of the third device, whether the fourth device is different from the third device, that is, determining the second Whether the receiver of the message is the receiver of the first message; wherein the first device is the sender of the second message, the fourth device is the receiver of the second message, the second device is the sender of the first message, and the third The device is the receiver of the first message.
具体的,当上述第一设备从第一消息的物理头中获取到第三设备的标识 之后,第一设备可以根据自身存储的第四设备的标识以及获取到的第三设备的标识,确定第四设备与第三设备是否不同,即判断第二消息的接收方是否是第一消息的接收方。当第一设备根据第三设备的标识判断第四设备与第三设备相同时,说明第四设备就是第三设备,即第二消息的接收方与第一消息的接收方是同一个设备,也就是说第三设备既是第一消息的接收方,也为第二消息的接收方。因此,当第四设备与第三设备相同时,第一设备停止执行空间复用,结束流程;当第一设备根据第三设备的标识判断第四设备与第三设备不同、且第一设备与第三设备不同时,即第二消息的接收方也不是第一消息的接收方、且第二消息的发送方也不是第一消息的接收方时,则执行S206。本实施例中,在第一设备不是第一消息的接收方时,第四设备也不是第一消息的接收方时,第一设备才会进一步执行空间复用,进一步提高了网络内部的空间复用的成功率,即提高了第二消息发送成功的概率。Specifically, when the first device acquires the identifier of the third device from the physical header of the first message The first device may determine whether the fourth device is different from the third device according to the identifier of the fourth device that is stored by the device and the identifier of the third device that is obtained, that is, whether the receiver of the second message is the first message. receiver. When the first device determines that the fourth device is the same as the third device according to the identifier of the third device, the fourth device is the third device, that is, the receiver of the second message is the same device as the receiver of the first message, That is to say, the third device is both the receiver of the first message and the receiver of the second message. Therefore, when the fourth device is the same as the third device, the first device stops performing spatial multiplexing, and ends the process; when the first device determines, according to the identifier of the third device, the fourth device is different from the third device, and the first device is When the third device is different, that is, the receiver of the second message is not the receiver of the first message, and the sender of the second message is not the receiver of the first message, then S206 is performed. In this embodiment, when the first device is not the receiver of the first message, and the fourth device is not the receiver of the first message, the first device performs spatial multiplexing further, thereby further improving the spatial multiplexing within the network. The success rate used increases the probability that the second message will be sent successfully.
可选的,在上述实施例四的基础上,第一消息的物理头还可以包括发送第一消息的第二设备的标识,其中,该第二设备的标识可以为第二设备的短标识,该第二设备的标识可以设置在第一消息的物理头的HE-SIG中,也可以设置在第一消息的物理头的其他位置,则在上述S206之前,该方法还可以包括如下步骤:第一设备根据第二设备的标识,确定接收第二消息的第四设备与第二设备是否不同,即判断第二消息的接收方是不是第一消息的发送方;若是,则执行S206,若否,则结束流程。其中,第一设备是第二消息的发送方,第四设备是第二消息的接收方,第二设备是第一消息的发送方,第三设备是第一消息的接收方。Optionally, on the basis of the foregoing Embodiment 4, the physical header of the first message may further include an identifier of the second device that sends the first message, where the identifier of the second device may be a short identifier of the second device. The identifier of the second device may be set in the HE-SIG of the physical header of the first message, or may be set in other locations of the physical header of the first message. Before the foregoing S206, the method may further include the following steps: Determining, according to the identifier of the second device, whether the fourth device that receives the second message is different from the second device, that is, determining whether the receiver of the second message is the sender of the first message; if yes, executing S206, if not , then the process ends. The first device is the sender of the second message, the fourth device is the receiver of the second message, the second device is the sender of the first message, and the third device is the receiver of the first message.
具体的,当上述第一设备从第一消息的物理头中获取到第二设备的标识之后,第一设备可以根据自身存储的第四设备的标识以及获取到的第二设备的标识,确定第四设备与第二设备是否不同,即判断第二消息的接收方是不是第一消息的发送方。当第一设备根据第二设备的标识判断第四设备与第二设备相同时,说明第四设备就是第二设备,即第二消息的接收方与第一消息的发送方为同一个设备,因此,当第四设备与第二设备相同时,第一设备停止执行空间复用,结束流程;当第一设备根据第二设备的标识判断第四设备与第二设备不同时,说明第二消息的接收方不是不是第一消息的发送方,则执行S206。本实施例中,在第四设备不是第一消息的发送方时,第一设备才 会进一步执行空间复用,进一步提高了网络内部的空间复用的成功率,即提高了第二消息发送成功的概率。Specifically, after the first device acquires the identifier of the second device from the physical header of the first message, the first device may determine, according to the identifier of the fourth device that is stored by the first device and the identifier of the second device that is obtained. Whether the four devices are different from the second device, that is, whether the receiver of the second message is the sender of the first message. When the first device determines that the fourth device is the same as the second device according to the identifier of the second device, the fourth device is the second device, that is, the receiver of the second message is the same device as the sender of the first message, When the fourth device is the same as the second device, the first device stops performing spatial multiplexing, and ends the process; when the first device determines that the fourth device is different from the second device according to the identifier of the second device, the second message is If the recipient is not the sender of the first message, then S206 is performed. In this embodiment, when the fourth device is not the sender of the first message, the first device is The spatial multiplexing is further performed, which further improves the success rate of spatial multiplexing within the network, that is, increases the probability of successful second message transmission.
现有技术中,上述第一消息的物理头中还可以包括上下行传输指示,该上下行传输指示用于当第一消息为非直连传输消息时,即为STA与AP之间传输的消息时,用于进一步指示第一消息为STA向AP传输的上行消息,还是为AP向STA传输的下行消息或广播消息。需要说明的是,无论第一消息是非直连传输消息还是直连传输消息,第二设备所在的网络标识均为AP的标识,同时,当上述第一消息是下行传输的非直连传输消息时,第二设备的标识也是AP的标识。因此当上述第一消息是下行传输的非直连传输消息时,所述第二设备所在的网络标识与所述第二设备的标识是相同的。In the prior art, the physical header of the first message may further include an uplink and downlink transmission indication, where the uplink and downlink transmission indication is used to be a message transmitted between the STA and the AP when the first message is a non-directly connected transmission message. The uplink message or the broadcast message used for further transmitting the AP to the STA is further used to indicate whether the first message is an uplink message transmitted by the STA to the AP. It should be noted that, regardless of whether the first message is a non-direct transmission message or a direct connection transmission message, the network identifier of the second device is an identifier of the AP, and when the first message is a downlink transmission non-directly connected transmission message, The identifier of the second device is also the identifier of the AP. Therefore, when the first message is a downlink transmission non-direct transmission message, the network identifier of the second device is the same as the identifier of the second device.
则为了节省第一消息的物理头的开销,在本实施例中,可选的,当第一消息的物理头中包括上下行传输指示时,且该上下行传输指示表征第一消息为下行消息时,如果上述第一消息的物理头中包括了第二设备所在的网络标识,则可以不包括第二设备的标识,这样,当第一设备在获取到第一消息的物理头时,可以根据第一消息的物理头中携带的第二设备所在的网络标识和上下行传输指示确定第二设备的标识。可选的,同样的场景下,如果上述第一消息的物理头中包括了第二设备的标识时,则可以不包括第二设备所在的网络标识,这样,当第一设备在获取到第一消息的物理头时,可以根据第一消息的物理头中携带的第二设备的标识和上下行传输指示确定第二设备所在的网络标识。In order to save the overhead of the physical header of the first message, in this embodiment, optionally, when the physical header of the first message includes an uplink and downlink transmission indication, and the uplink and downlink transmission indication indicates that the first message is a downlink message. If the physical identifier of the first message includes the network identifier of the second device, the identifier of the second device may not be included, so that when the first device acquires the physical header of the first message, The network identifier of the second device carried in the physical header of the first message and the uplink and downlink transmission indication determine the identifier of the second device. Optionally, in the same scenario, if the physical header of the first message includes the identifier of the second device, the network identifier of the second device may not be included, so that when the first device obtains the first The network identifier of the second device may be determined according to the identifier of the second device and the uplink and downlink transmission indication carried in the physical header of the first message.
可选的,在上述实施例四的基础上,第一消息的物理头还可以包括第一消息的发送时长,其中,该第一消息的发送时长用于表示第一消息在信道中传输所需的时间。具体实现时,该第一消息的发送时长可以设置在第一消息的物理头的HE-SIG中,也可以设置在第一消息的物理头的其他位置。可选的,第一消息的物理头中还可以包括第一消息的字节数和第一消息的传输速率,以使得第一设备在监听到第一消息的物理头后,可以根据第一消息的物理头中包括的第一消息的字节数和第一消息的传输速率,确定第一消息的发送时长。可选的,第一消息的物理头中还可以包括其他用于指示第一消息的发送时长的标识,本发明实施例对此不再赘述。本实施例以第一消息的物理头中包括第一消息的发送时长为例,则在上述S206之前,该方法还可以包括 如下步骤:第一设备确定第二消息的发送时长是否小于或等于第一消息的剩余发送时长。Optionally, the physical header of the first message may further include a sending duration of the first message, where the sending duration of the first message is used to indicate that the first message is required to be transmitted in the channel. time. In a specific implementation, the sending duration of the first message may be set in the HE-SIG of the physical header of the first message, or may be set in other locations of the physical header of the first message. Optionally, the physical header of the first message may further include a number of bytes of the first message and a transmission rate of the first message, so that the first device may be based on the first message after listening to the physical header of the first message. The number of bytes of the first message included in the physical header and the transmission rate of the first message determine the transmission duration of the first message. Optionally, the physical header of the first message may further include other identifiers for indicating the sending duration of the first message, which is not repeatedly described in this embodiment of the present invention. In this embodiment, the sending time of the first message in the physical header of the first message is taken as an example, and before the foregoing S206, the method may further include The following steps are performed: the first device determines whether the sending duration of the second message is less than or equal to the remaining sending duration of the first message.
具体的,上述第一设备可以根据自己记录的监听到第一消息的物理头的前导码的时间、当前时间、以及获取到的第一消息的发送时长,确定第一消息的剩余发送时长。当第一设备确定第二消息的发送时长小于或等于第一消息的剩余发送时长时,说明第二消息可以在第一信道传输完第一消息前传输完毕,则执行S206。当第一设备确定第二消息的发送时长大于第一消息的剩余发送时长时,说明第二消息不能在第一消息传输完之前传输完毕,则结束。Specifically, the first device may determine the remaining sending duration of the first message according to the time, the current time, and the sent duration of the obtained first message that the first preamble of the physical header of the first message is monitored. When the first device determines that the sending duration of the second message is less than or equal to the remaining sending duration of the first message, the second message may be transmitted before the first channel is transmitted on the first channel, and then S206 is performed. When the first device determines that the transmission duration of the second message is greater than the remaining transmission duration of the first message, it indicates that the second message cannot be transmitted before the first message is transmitted, and then ends.
本实施例中,在第二消息可以在第一信道传输完第一消息前传输完毕时,第一设备才会进一步执行空间复用,进一步提高了网络内部的空间复用的成功率,即提高了第二消息发送成功的概率。In this embodiment, when the second message can be transmitted before the first message is transmitted on the first channel, the first device performs spatial multiplexing further, thereby further improving the success rate of spatial multiplexing within the network, that is, improving The probability that the second message is sent successfully.
图3为本发明实施例提供的空间复用方法实施例五的流程示意图。与图2所示的实施例不同的是,图2所示的实施例中第一设备的发送功率为固定功率,但是在本实施例中,第一设备的发送功率可调。本实施例涉及的是上述第一设备根据邻居信息、第一消息的物理头中的第二设备所在的网络的标识、第三设备的标识,以及第一消息的传输类型和第一设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息的具体过程。本实施例中的方法,使得在同一个网络中进行空间复用的成功率大大提高,即使得第二消息发送成功的概率大大提高。如图3所示,该方法包括:FIG. 3 is a schematic flowchart of Embodiment 5 of a spatial multiplexing method according to an embodiment of the present disclosure. Different from the embodiment shown in FIG. 2, the transmission power of the first device in the embodiment shown in FIG. 2 is a fixed power, but in the embodiment, the transmission power of the first device is adjustable. The embodiment is related to the neighboring information, the identifier of the network where the second device is located in the physical header of the first message, the identifier of the third device, and the transmission type of the first message, and the first device is to be sent. The transmission type of the second message determines whether a specific process of transmitting the second message through the first channel when the second device sends the first message through the first channel. The method in this embodiment greatly improves the success rate of spatial multiplexing in the same network, that is, the probability of successful second message transmission is greatly improved. As shown in FIG. 3, the method includes:
S301:第一设备通过监听第一消息的物理头获取直连传输指示、第二设备所在的网络标识和第三设备的标识。S301: The first device acquires a direct connection transmission indication, a network identifier where the second device is located, and an identifier of the third device by listening to the physical header of the first message.
S302:第一设备根据直连传输指示获取第一消息的传输类型。S302: The first device acquires a transmission type of the first message according to the direct connection transmission indication.
S303:第一设备根据第二设备所在的网络标识判断第一设备与第二设备是否同属于同一个网络。若是,则执行S304;若否,则结束流程。S303: The first device determines, according to the network identifier of the second device, whether the first device and the second device belong to the same network. If yes, execute S304; if no, end the process.
S304:第一设备根据第三设备的标识,确定第一设备与第三设备是否不同。若是,则执行S305;若否,则执行S308。S304: The first device determines, according to the identifier of the third device, whether the first device is different from the third device. If yes, execute S305; if no, execute S308.
具体的,上述S301-S304的具体执行过程,可以参见上述图2所示的S201-S204的描述,在此不再赘述。Specifically, for the specific implementation process of the foregoing S301-S304, refer to the description of S201-S204 shown in FIG. 2 above, and details are not described herein again.
S305:第一设备根据邻居信息和第一消息的物理头中包括的第三设备的 标识确定第一设备监听第三设备发送的消息时的历史路径损耗,以及,第一设备发送第二消息所需的功率;其中,邻居信息为第一设备监听其他设备发送的消息时的历史路径损耗和其他设备的标识之间的对应关系。S305: The first device is configured according to the neighbor information and the third device included in the physical header of the first message. The identifier determines a historical path loss when the first device listens to the message sent by the third device, and the power required by the first device to send the second message, where the neighbor information is a historical path when the first device listens to the message sent by the other device. Correspondence between loss and identification of other devices.
具体的,在本实施例中,上述第一设备的发送功率可调,则当上述第一设备需要发送第二消息时,第一设备可以根据第一设备监听第四设备发送的消息时的历史路径损耗,确定第一设备发送第二消息所需的功率,以使得第四设备可以接收到该第二消息。其中,“第一设备如何根据第一设备监听第四设备发送的消息时的历史路径损耗,确定第一设备发送第二消息所需的功率”可以参见现有技术,本发明实施例不再赘述。Specifically, in this embodiment, when the sending power of the first device is adjustable, when the first device needs to send the second message, the first device may monitor the history of the message sent by the fourth device according to the first device. The path loss determines the power required by the first device to send the second message, so that the fourth device can receive the second message. For example, how the first device determines the power required for the first device to send the second message according to the historical path loss when the first device monitors the message sent by the fourth device is used in the prior art, and is not described in the embodiment of the present invention. .
上述“第一设备根据邻居信息和第一消息的物理头中包括的第三设备的标识确定第一设备监听第三设备发送的消息时的历史路径损耗”的描述可以参见上述实施例五的S205的描述,在此不再赘述。For the description of the “historical path loss when the first device monitors the message sent by the third device by the first device according to the neighbor information and the identifier of the third device included in the physical header of the first message”, refer to S205 in the foregoing fifth embodiment. The description is not repeated here.
S306:第一设备根据第一消息的传输类型、第一设备待发送的第二消息的传输类型、第一设备监听第三设备发送的消息时的历史路径损耗,以及,第一设备发送第二消息所需的功率,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。S306: The first device sends, according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, the historical path loss when the first device listens to the message sent by the third device, and the second device sends the second The power required by the message determines whether the second message is sent through the first channel when the second device sends the first message through the first channel.
可选的,第一种方式:第一设备可以先根据第一消息的传输类型、第一设备待发送的第二消息的传输类型确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,并在确定发送第二消息时,进一步根据第一设备监听第三设备发送的消息时的历史路径损耗以及第一设备发送第二消息所需的功率,确定之前所确定的“在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息”的结果是否准确,若准确,则第一设备确定发送第二消息。Optionally, the first mode: the first device may determine, according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, whether the second device sends the first message through the first channel. The first channel sends the second message, and when determining to send the second message, further determines the previous path according to the historical path loss when the first device listens to the message sent by the third device and the power required by the first device to send the second message. The determined result of "sending the second message through the first channel when the second device transmits the first message through the first channel" is accurate, and if accurate, the first device determines to send the second message.
可选的,第二种方式:第一设备还可以先根据第一设备监听第三设备发送的消息时的历史路径损耗以及第一设备发送第二消息所需的功率确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,并在确定发送第二消息后,进一步根据第一消息的传输类型、第二消息的传输类型确定之前所确定的“在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息”的结果是否准确,若准确,则第一设备确定发送第二消息。Optionally, the second mode: the first device may further determine, according to the historical path loss when the first device listens to the message sent by the third device, and the power required by the first device to send the second message, whether the device passes the second device. Transmitting, by the first channel, the second message by using the first channel, and after determining to send the second message, determining, according to the transmission type of the first message and the transmission type of the second message, the previously determined “in the second Whether the result of transmitting the second message through the first channel when the device sends the first message through the first channel is accurate, and if accurate, the first device determines to send the second message.
下述的具体解释针对的是上述第二种实现方式,具体为: The following specific explanation is directed to the second implementation described above, specifically:
当上述第一设备确定第一设备监听第三设备发送的消息时的历史路径损耗以后,第一设备可以根据上述S305中所确定的发送第二消息所需的功率、第一设备监听第三设备发送的消息时的历史路径损耗,确定第三设备监听第二消息时的接收功率是否大于或等于预设的阈值,并根据所确定的结果确定是否发送第二消息,具体为:After the first device determines the historical path loss when the first device listens to the message sent by the third device, the first device may monitor the third device according to the power required to send the second message determined in the foregoing S305. The historical path loss of the sent message, determining whether the received power when the third device listens to the second message is greater than or equal to a preset threshold, and determining whether to send the second message according to the determined result, specifically:
上述第一设备可以将根据上述S305中所确定的发送第二消息所需的功率与第一设备监听第三设备发送的消息时的历史路径损耗相减,获得第三设备监听第二消息时的接收功率,若获得的第三设备监听第二消息时的接收功率大于或等于预设的阈值时,则说明若第一设备使用上述S305中所确定的发送第二消息所需的功率发送第二消息,第三设备监听第二消息时的路径损耗较小,也就是说,对第三设备来说,第二消息的信号强度可能会比较强,即第一设备的发送可能会影响第三设备接收第一消息,因此,在当第三设备监听第二消息时的接收功率大于或等于预设的阈值时,则确定不在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,结束流程;其中,上述预设的阈值可以根据第一设备所在的网络内部的参数确定。The foregoing first device may subtract the historical path loss when the third device listens for the second message, according to the power required to send the second message determined in the foregoing S305, and the historical path loss when the first device listens to the message sent by the third device. Receive power, if the received power of the obtained third device listening to the second message is greater than or equal to a preset threshold, it is indicated that the first device sends the second power using the power required to send the second message determined in the foregoing S305. The signal loss of the third device when the third device listens to the second message is small, that is, the signal strength of the second message may be stronger for the third device, that is, the sending of the first device may affect the third device. Receiving the first message, and therefore, when the received power when the third device listens to the second message is greater than or equal to a preset threshold, determining to not send the first channel when the second device sends the first message through the first channel The second message ends the process; wherein the preset threshold may be determined according to parameters inside the network where the first device is located.
若获得的第三设备监听第二消息时的接收功率小于预设的阈值时,则说明若第一设备使用上述S305中所确定的发送第二消息所需的功率发送第二消息,第三设备监听第一设备发送的第二消息时的路径损耗较大,也就是说,对第三设备来说,第二消息的信号强度比较弱,即第一设备的发送不会影响第三设备接收第一消息,因此,在当第三设备监听第二消息时的接收功率小于预设的阈值时,则第一设备确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,进一步地,第一设备可以再次根据第一消息的传输类型和第二消息的传输类型进一步确定所确定的“在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息”的结果是否准确,当第一设备根据第一消息的传输类型和第二消息的传输类型也确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息时,说明之前所确定的“在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息”的结果准确,则第一设备确定发送第二消息,从而执行S307。If the received power of the obtained third device is less than the preset threshold, the first device sends the second message by using the power required to send the second message determined in the foregoing S305. The path loss when the second message sent by the first device is monitored is large, that is, the signal strength of the second message is weak to the third device, that is, the sending of the first device does not affect the receiving of the third device. a message, therefore, when the received power when the third device listens to the second message is less than a preset threshold, the first device determines to send the second channel by using the first channel when the second device sends the first message by using the first channel. a message, the first device may further determine, according to the transmission type of the first message and the transmission type of the second message, that the second device sends the second message through the first channel when the second device sends the first message by using the first channel. Whether the result of the message is accurate, when the first device determines to transmit on the second device according to the transmission type of the first message and the transmission type of the second message. When the first message is sent through the first channel, the first device is determined to be accurate when the second message is sent through the first channel when the second device sends the first message through the first channel. It is determined that the second message is transmitted, thereby executing S307.
S307:第一设备发送第二消息。S307: The first device sends the second message.
执行完上述S307之后,则结束。 After the above S307 is completed, it ends.
S308:第一设备继续接收第一消息的剩余部分。S308: The first device continues to receive the remaining portion of the first message.
执行完上述S308之后,则结束。After the above S308 is completed, it ends.
本发明实施例提供的空间复用方法,通过将第一设备的发送功率设置为可调,使得第一设备可以根据第一设备监听第四设备发送的消息时的历史路径损耗,调节发送第二消息的发送功率,当确定使用发送第二消息所需的功率发送第二消息不会影响第三设备正常第一消息的接收时,确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。因此,本发明实施例提供的空间复用方法,通过将第一设备的发送功率设置为可调,使得第一设备发送第二消息的机会增多,进一步提高了网络内部的空间复用的成功率,即提高了第二消息发送成功的概率。The spatial multiplexing method provided by the embodiment of the present invention, by setting the transmission power of the first device to be adjustable, enables the first device to adjust the transmission second according to the historical path loss when the first device listens to the message sent by the fourth device. The sending power of the message, when it is determined that sending the second message using the power required to send the second message does not affect the reception of the first message of the third device, determining that the second device transmits the first message through the first channel A second message is sent on one channel. Therefore, the spatial multiplexing method provided by the embodiment of the present invention increases the transmission power of the first device to be adjustable, so that the opportunity for the first device to send the second message is increased, thereby further improving the success rate of spatial multiplexing within the network. That increases the probability that the second message will be sent successfully.
可选的,在上述实施例五的基础上,第一消息的物理头还可以包括第一消息的发送时长,则在上述S306之前,该方法还可以包括如下步骤:第一设备确定第二消息的发送时长是否小于或等于第一消息的剩余发送时长。Optionally, on the basis of the foregoing Embodiment 5, the physical header of the first message may further include a sending duration of the first message, and before the foregoing S306, the method may further include the following steps: the first device determines the second message. Whether the transmission duration is less than or equal to the remaining transmission duration of the first message.
具体的,当第一设备确定第二消息的发送时长小于或等于第一消息的剩余发送时长时,说明第二消息可以在第一信道传输完第一消息前传输完毕,则执行S306。当第一设备确定第二消息的发送时长大于第一消息的剩余发送时长时,说明第二消息不能在第一消息传输完之前传输完毕,则结束。Specifically, when the first device determines that the sending duration of the second message is less than or equal to the remaining sending duration of the first message, the second message may be transmitted before the first channel is transmitted on the first channel, and then S306 is performed. When the first device determines that the transmission duration of the second message is greater than the remaining transmission duration of the first message, it indicates that the second message cannot be transmitted before the first message is transmitted, and then ends.
本实施例中,在第二消息可以在第一信道传输完第一消息前传输完毕时,第一设备才会进一步执行空间复用,进一步提高了网络内部的空间复用的成功率,即提高了第二消息发送成功的概率。In this embodiment, when the second message can be transmitted before the first message is transmitted on the first channel, the first device performs spatial multiplexing further, thereby further improving the success rate of spatial multiplexing within the network, that is, improving The probability that the second message is sent successfully.
本发明实施例六提供了一种空间复用方法,该方法的执行主体为第二设备,其中,本实施例涉及的是第二设备发送第一消息的具体过程。该方法包括:第二设备发送第一消息,第一消息的物理头用于向第一设备指示第一消息的传输类型,以使得第一设备根据第一消息的传输类型和第一设备待发送的第二消息的传输类型确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息;其中,第一消息的传输类型为非直连传输消息或直连传输消息,第二消息的传输类型为非直连传输消息或直连传输消息;第二设备与第一设备属于同一个网络。The sixth embodiment of the present invention provides a spatial multiplexing method, where the main body of the method is a second device, where the embodiment involves a specific process for the second device to send the first message. The method includes: the second device sends a first message, where the physical header of the first message is used to indicate the transmission type of the first message to the first device, so that the first device is to be sent according to the transmission type of the first message and the first device. The transmission type of the second message determines whether the second message is sent by the first channel when the second device sends the first message by using the first channel; wherein the transmission type of the first message is an indirect connection message or a direct connection message The transmission type of the second message is an indirect connection message or a direct connection message; the second device belongs to the same network as the first device.
具体的,本发明实施例中,第一设备和第二设备可以为属于同一个WiFi网络的设备,且第二设备处于正在使用第一信道发送第一消息的状态,第一 设备处于采用竞争的机制监听第一信道的状态(即,第一设备处于准备发送第二消息的状态),其中,第一设备可以监听到第二设备所发送的第一消息,即第一设备在第二设备的信号覆盖范围内。其中,上述第一消息可以为WiFi消息,即第一消息包括物理头和数据部分,且第一消息的物理头会先于数据部分在第一信道中传输。需要说明的是,这里所说的第一信道可以为现有技术中WiFi网络在进行通信时所使用的任一信道。Specifically, in the embodiment of the present invention, the first device and the second device may be devices belonging to the same WiFi network, and the second device is in a state in which the first message is being sent by using the first channel, first The device is in a state of listening to the first channel by using a contending mechanism (that is, the first device is in a state ready to send the second message), where the first device can listen to the first message sent by the second device, that is, the first device Within the signal coverage of the second device. The first message may be a WiFi message, that is, the first message includes a physical header and a data part, and the physical header of the first message is transmitted in the first channel before the data part. It should be noted that the first channel mentioned herein may be any channel used by the WiFi network in the prior art for communication.
当上述第二设备通过第一信道发送第一消息时,可以通过第一消息的物理头向第一设备指示第一消息的传输类型,具体实现时,第二设备可以将第一消息的物理头设置成不同的长度,这样,当第二设备发送第一消息时,第一设备在监听到第一消息的物理头之后,就可以根据第一消息的物理头长度与第一消息的传输类型的对应关系,确定第一消息的传输类型;第二设备还可以在第一消息的物理头中设置第一消息的传输类型,这样,当第二设备发送第一消息时,第一设备在监听到第一消息的物理头之后,就可以根据第一消息的物理头中设置的第一消息的传输类型,确定第一消息的传输类型等,进而使第一设备可以根据第一消息的传输类型和第一设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。可选的,上述第一设备可以在第一消息的传输类型与第二消息的传输类型不同时,确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息;可选的,上述第一设备也可以在第一消息的传输类型与第二消息的传输类型相同时,确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。其中,第一消息的传输类型和第二消息的传输类型可以为非直连传输消息或直连传输消息,其中,非直连传输消息可以为STA向AP传输的上行消息、AP向STA传输的下行消息或AP向STA传输的广播消息,上述直连传输消息可以为两个STA之间传输的消息。When the second device sends the first message through the first channel, the first device may indicate the transmission type of the first message by using the physical header of the first message. In specific implementation, the second device may use the physical header of the first message. Set to a different length, so that when the second device sends the first message, after the first device listens to the physical header of the first message, the first device may be based on the physical header length of the first message and the transmission type of the first message. Corresponding relationship, determining a transmission type of the first message; the second device may further set a transmission type of the first message in a physical header of the first message, so that when the second device sends the first message, the first device is listening After the physical header of the first message, the transmission type of the first message is determined according to the transmission type of the first message set in the physical header of the first message, so that the first device can be based on the transmission type of the first message. Determining, by the first device, a transmission type of the second message to be sent, whether to send the second message through the first channel when the second device sends the first message by using the first channel Information. Optionally, the first device, when the transmission type of the first message is different from the transmission type of the second message, determining that the second message is sent by using the first channel when the second device sends the first message by using the first channel; Optionally, when the transmission type of the first message is the same as the transmission type of the second message, the first device may determine to send the second message by using the first channel when the second device sends the first message by using the first channel. The transmission type of the first message and the transmission type of the second message may be an indirect connection message or a direct connection message, where the indirect connection message may be an uplink message that the STA transmits to the AP, and the AP transmits the message to the STA. The downlink message or the broadcast message transmitted by the AP to the STA, where the direct connection transmission message may be a message transmitted between two STAs.
本发明实施例提供的空间复用方法,第二设备通过第一消息的物理头向第一设备指示第一消息的传输类型,使得监听第一信道的第一设备在监听到第一消息后,可以根据第一消息的物理头获取第一消息的传输类型,从而可以根据第一消息的传输类型以及自己待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,即本发明实施例提供的空间复用方法,不需要再等到计数初始值减到0,就可 以在第一信道传输第一消息的同时,通过第一信道传输第二消息,实现了网络内部的空间复用,提高了网络的频谱利用率。According to the spatial multiplexing method provided by the embodiment of the present invention, the second device indicates, by using the physical header of the first message, the transmission type of the first message to the first device, so that after the first device that listens to the first channel listens to the first message, The transmission type of the first message may be obtained according to the physical header of the first message, so that whether the second device sends the first message through the first channel may be determined according to the transmission type of the first message and the transmission type of the second message to be sent by the second message. When the message is sent, the second message is sent through the first channel, that is, the spatial multiplexing method provided by the embodiment of the present invention does not need to wait until the initial value of the count is reduced to 0. The second message is transmitted through the first channel while the first message is transmitted on the first channel, and spatial multiplexing within the network is realized, thereby improving the spectrum utilization rate of the network.
进一步地,在上述实施例的基础上,上述第一消息的物理头中可以包括直连传输指示;其中直连传输指示用于指示第一消息的传输类型。Further, on the basis of the foregoing embodiment, the physical header of the first message may include a direct connection transmission indication; wherein the direct connection transmission indication is used to indicate a transmission type of the first message.
具体的,上述直连传输指示可以由一个或多个比特数组成,具体实现时,为了降低第一消息的物理头的开销,可以在第一消息的物理头的HE-SIG中设置一个比特数作为上述直连传输指示,该一个比特数的取值可以为0或1,其中,0对应非直连传输消息,1对应直连传输消息;或者,1对应非直连传输消息,0对应直连传输消息。需要说明的是,上述直连传输指示也可以设置在第一消息的物理头的其他位置。Specifically, the directly connected transmission indication may be composed of one or more bits. In specific implementation, in order to reduce the overhead of the physical header of the first message, a number of bits may be set in the HE-SIG of the physical header of the first message. As the direct connection indication, the value of the one bit may be 0 or 1, where 0 corresponds to a non-direct transmission message, 1 corresponds to a direct transmission message; or 1 corresponds to a non-direct transmission message, and 0 corresponds to a straight Even transfer messages. It should be noted that the direct connection transmission indication may also be set at other locations of the physical header of the first message.
当第二设备发送第一消息时,第二设备可以通过在发送的第一消息的物理头中携带直连传输指示,使得第一设备在监听到第一消息的物理头后,就可以根据物理头中携带的直连传输指示确定第一消息的传输类型,进而使得第一设备可以根据该第一消息的传输类型和已知的第二消息的传输类型确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,其中,该确定过程可以参见上述第一设备侧的实施例二和实施例三的描述,在此不再赘述。When the second device sends the first message, the second device may carry the direct connection transmission indication in the physical header of the sent first message, so that after the first device listens to the physical header of the first message, the second device may The direct transmission indication carried in the header determines the transmission type of the first message, so that the first device can determine whether the second device passes the first channel according to the transmission type of the first message and the known transmission type of the second message. When the first message is sent, the second message is sent by using the first channel, and the determining process may be referred to the descriptions of the second embodiment and the third embodiment of the first device, and details are not described herein.
进一步地,在上述实施例的基础上,上述第一消息的物理头中还可以包括至少以下一种:第二设备所在的网络标识、第二设备的标识、第三设备的标识或第一消息的发送时长中的至少一个;其中,第三设备为接收第一消息的设备。Further, based on the foregoing embodiment, the physical header of the first message may further include at least one of the following: a network identifier where the second device is located, an identifier of the second device, an identifier of the third device, or the first message. At least one of the transmission durations; wherein the third device is a device that receives the first message.
具体的,上述第二设备所在的网络标识可以为第二设备所在的网络标识短标识,上述第三设备的标识为第三设备的短标识;上述第二设备的标识可以为第二设备的短标识。具体实现时,可以将第二设备所在的网络标识、第三设备的短标识、第二设备的短标识或第一消息的发送时长设置在第一消息的物理头的HE-SIG中,也可以设置在第一消息的物理头的其他位置。这样,当第二设备发送第一消息时,可以使得监听到第一消息的第一设备根据该第一消息的物理头确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,具体的确定过程可以参见上述第一设备侧的方法实施例的描述,在此不再赘述。 Specifically, the network identifier of the second device may be a short identifier of the network identifier where the second device is located, and the identifier of the third device is a short identifier of the third device, and the identifier of the second device may be short for the second device. Logo. In a specific implementation, the network identifier of the second device, the short identifier of the third device, the short identifier of the second device, or the sending duration of the first message may be set in the HE-SIG of the physical header of the first message, or may be Set the other location of the physical header of the first message. In this way, when the second device sends the first message, the first device that listens to the first message may be configured to determine, according to the physical header of the first message, whether to pass the first channel when the second device sends the first message by using the first channel. For the specific determination process, refer to the description of the method embodiment on the first device side, and details are not described herein again.
现有技术中,上述第一消息的物理头中还可以包括上下行传输指示,该上下行传输指示用于当第一消息为非直连传输消息时,即为STA与AP之间传输的消息时,用于进一步指示第一消息为STA向AP传输的上行消息,还是为AP向STA传输的下行消息或广播消息。需要说明的是,无论第一消息是非直连传输消息还是直连传输消息,第二设备所在的网络标识均为AP的标识。In the prior art, the physical header of the first message may further include an uplink and downlink transmission indication, where the uplink and downlink transmission indication is used to be a message transmitted between the STA and the AP when the first message is a non-directly connected transmission message. The uplink message or the broadcast message used for further transmitting the AP to the STA is further used to indicate whether the first message is an uplink message transmitted by the STA to the AP. It should be noted that, regardless of whether the first message is an indirect connection message or a direct connection message, the network identifier of the second device is the identifier of the AP.
第一种情况:当上述第一消息是上行传输的非直连传输消息时,第三设备的标识也是AP的标识。因此当上述第一消息是上行传输的非直连传输消息时,所述第二设备所在的网络标识与所述第三设备的标识是相同的,若此时上述第一消息的物理头中包括第三设备和第二设备所在的网络标识的标识时,则为了节省第一消息的物理头的开销,可选的,当第一消息的物理头中包括上下行传输指示时,且该上下行传输指示表征第一消息为上行消息时,上述第一消息的物理头中可以包括第三设备的标识和第二设备所在的网络标识中的任一个,具体地:The first case: when the first message is an indirect transmission message of the uplink transmission, the identifier of the third device is also the identifier of the AP. Therefore, when the first message is an indirect transmission message that is transmitted in the uplink, the network identifier of the second device is the same as the identifier of the third device, and the physical header of the first message is included in the foregoing. When the identifier of the network identifier of the third device and the second device is used, in order to save the overhead of the physical header of the first message, optionally, when the physical header of the first message includes the uplink and downlink transmission indication, and the uplink and downlink When the transmission indication indicates that the first message is an uplink message, the physical header of the first message may include any one of an identifier of the third device and a network identifier where the second device is located, specifically:
(1)若上述第一消息的物理头中包括了第三设备的标识,则可以不包括第二设备所在的网络标识,这样,当第二设备发送第一消息时,可以使得监听到第一消息的第一设备根据第一消息的物理头中携带的第三设备的标识和上下行传输指示确定第二设备所在的网络标识,从而使第一设备根据确定的第二设备所在的网络标识、第三设备的标识确定是否发送第二消息,具体的确定过程可以参见上述第一设备侧的方法实施例的描述,在此不再赘述。(1) If the physical header of the first message includes the identifier of the third device, the network identifier of the second device may not be included, so that when the second device sends the first message, the first device may be monitored. Determining, by the first device of the message, the network identifier of the second device according to the identifier of the third device and the uplink and downlink transmission indication carried in the physical header of the first message, so that the first device determines, according to the determined network identifier of the second device, The identifier of the third device determines whether to send the second message. For the specific determination process, refer to the description of the method embodiment on the first device side, and details are not described herein.
(2)若上述第一消息的物理头中包括了第二设备所在的网络标识,则可以不包括第三设备的标识,这样,当第二设备发送第一消息时,可以使得监听到第一消息的第一设备根据第一消息的物理头中携带的第二设备所在的网络标识和上下行传输指示确定第三设备的标识,从而使第一设备根据确定的第二设备所在的网络标识、第三设备的标识确定是否发送第二消息,具体的确定过程可以参见上述第一设备侧的方法实施例的描述,在此不再赘述。(2) If the physical identifier of the first message includes the network identifier of the second device, the identifier of the third device may not be included, so that when the second device sends the first message, the first device may be monitored. The first device of the message determines the identifier of the third device according to the network identifier of the second device that is carried in the physical header of the first message and the uplink and downlink transmission indication, so that the first device determines, according to the determined network identifier of the second device, The identifier of the third device determines whether to send the second message. For the specific determination process, refer to the description of the method embodiment on the first device side, and details are not described herein.
第二种情况:当上述第一消息是下行传输的非直连传输消息时,发送第一消息的第二设备的标识也是AP的标识。因此当上述第一消息是下行传输的非直连传输消息时,所述第二设备所在的网络标识与所述第二设备的标识是相同的,若此时上述第一消息的物理头中包括第二设备和第二设备所在的 网络标识的标识时,则为了节省第一消息的物理头的开销,可选的,当第一消息的物理头中包括上下行传输指示时,且该上下行传输指示表征第一消息为下行消息时,上述第一消息的物理头中可以包括第二设备的标识和第二设备所在的网络标识中的任一个,具体地:The second case: when the first message is a downlink transmission non-direct transmission message, the identifier of the second device that sends the first message is also an identifier of the AP. Therefore, when the first message is a downlink transmission non-directly connected message, the network identifier of the second device is the same as the identifier of the second device, and the physical header of the first message is included in the foregoing. Where the second device and the second device are located The identifier of the network identifier is used to save the cost of the physical header of the first message. Optionally, when the physical header of the first message includes an uplink and downlink transmission indication, and the uplink and downlink transmission indication indicates that the first message is a downlink message. The physical header of the first message may include any one of an identifier of the second device and a network identifier where the second device is located, specifically:
(1)若上述第一消息的物理头中包括了第二设备的标识,则可以不包括第二设备所在的网络标识,这样,当第二设备发送第一消息时,可以使得监听到第一消息的第一设备根据第一消息的物理头中携带的第二设备的标识和上下行传输指示确定第二设备所在的网络标识,从而使第一设备根据确定的第二设备所在的网络标识、第二设备的标识确定是否发送第二消息,具体的确定过程可以参见上述第一设备侧的方法实施例的描述,在此不再赘述。(1) If the physical header of the first message includes the identifier of the second device, the network identifier of the second device may not be included, so that when the second device sends the first message, the first device may be monitored. Determining, by the first device of the message, the network identifier of the second device according to the identifier of the second device and the uplink and downlink transmission indication carried in the physical header of the first message, so that the first device determines, according to the determined network identifier of the second device, The identifier of the second device determines whether to send the second message. For the specific determination process, refer to the description of the method embodiment on the first device side, and details are not described herein.
(2)若上述第一消息的物理头中包括了第二设备所在的网络标识,则可以不包括第二设备的标识,这样,当第二设备发送第一消息时,可以使得监听到第一消息的第一设备根据第一消息的物理头中携带的第二设备所在的网络标识和上下行传输指示确定第二设备的标识,从而使第一设备根据确定的第二设备所在的网络标识、第二设备的标识确定是否发送第二消息,具体的确定过程可以参见上述第一设备侧的方法实施例的描述,在此不再赘述。(2) If the physical identifier of the first message includes the network identifier of the second device, the identifier of the second device may not be included, so that when the second device sends the first message, the first device may be monitored. The first device of the message determines the identifier of the second device according to the network identifier and the uplink and downlink transmission indication of the second device that is carried in the physical header of the first message, so that the first device determines, according to the determined network identifier of the second device, The identifier of the second device determines whether to send the second message. For the specific determination process, refer to the description of the method embodiment on the first device side, and details are not described herein.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于一计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。A person skilled in the art can understand that all or part of the steps of implementing the above method embodiments may be completed by using hardware related to the program instructions. The foregoing program may be stored in a computer readable storage medium, and the program is executed when executed. The foregoing steps include the steps of the foregoing method embodiments; and the foregoing storage medium includes: a medium that can store program codes, such as a ROM, a RAM, a magnetic disk, or an optical disk.
图4为本发明实施例提供的设备实施例一的结构示意图,如图4所示,该设备包括:获取模块11和第一确定模块12。其中,FIG. 4 is a schematic structural diagram of Embodiment 1 of an apparatus according to an embodiment of the present invention. As shown in FIG. 4, the apparatus includes: an obtaining module 11 and a first determining module 12. among them,
获取模块11,用于通过监听第一消息的物理头获取第一消息的传输类型;其中,第一消息的传输类型为非直连传输消息或直连传输消息;获取模块11所在的设备与发送第一消息的第二设备属于同一个网络。The obtaining module 11 is configured to obtain, by listening to the physical header of the first message, a transmission type of the first message, where the transmission type of the first message is a non-directly connected message or a direct connection message; the device and the sending module of the acquiring module 11 The second device of the first message belongs to the same network.
第一确定模块12,用于根据获取模块11获取的第一消息的传输类型和获取模块11所在的设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息;第二消息的传输类型为非直连传输消息或直连传输消息。 The first determining module 12 is configured to determine, according to the transmission type of the first message acquired by the obtaining module 11 and the transmission type of the second message to be sent by the device where the acquiring module 11 is located, whether the first device sends the first channel through the first channel. When the message is sent, the second message is sent through the first channel; the transmission type of the second message is an indirect connection message or a direct connection message.
本发明实施例提供的设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
进一步地,在上述实施例的基础上,上述获取模块11,具体用于根据第一消息的物理头中包括的直连传输指示获取第一消息的传输类型;其中,直连传输指示用于指示第一消息的传输类型。Further, on the basis of the foregoing embodiment, the acquiring module 11 is specifically configured to acquire, according to a direct transmission indication included in a physical header of the first message, a transmission type of the first message, where the direct transmission indication is used to indicate The type of transmission of the first message.
图5为本发明实施例提供的设备实施例二的结构示意图,如图5所示,进一步地,在上述实施例的基础上,上述第一消息的物理头中还可以包括第二设备所在的网络标识;上述设备还可以包括第二确定模块13和接收模块14。FIG. 5 is a schematic structural diagram of Embodiment 2 of an apparatus according to an embodiment of the present invention. As shown in FIG. 5, further, in the foregoing embodiment, the physical header of the first message may further include a second device. Network identifier; the above device may further include a second determining module 13 and a receiving module 14.
第二确定模块13,用于根据第三设备的标识,确定获取模块11所在的设备与第三设备是否不同。The second determining module 13 is configured to determine, according to the identifier of the third device, whether the device where the acquiring module 11 is located is different from the third device.
上述第一确定模块12,还用于当第二确定模块13根据第三设备的标识,确定获取模块11所在的设备与第三设备不同时,根据获取模块11获取的第一消息的传输类型和获取模块11所在的设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息;当第二确定模块13根据第三设备的标识,确定获取模块11所在的设备与第三设备相同时,指示接收模块14继续接收第一消息的剩余部分。The first determining module 12 is further configured to: when the second determining module 13 determines, according to the identifier of the third device, that the device where the acquiring module 11 is located is different from the third device, the transmission type of the first message acquired according to the obtaining module 11 and Obtaining a transmission type of the second message to be sent by the device where the module 11 is located, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel; and when the second determining module 13 is configured according to the third device The identifier indicates that when the device where the obtaining module 11 is located is the same as the third device, the receiving module 14 is instructed to continue receiving the remaining portion of the first message.
进一步地,在上述实施例的基础上,上述第一消息的物理头中还可以包括第二设备的标识。Further, based on the foregoing embodiment, the physical header of the first message may further include an identifier of the second device.
上述第二确定模块13,还用于根据第二设备的标识,确定接收第二消息的第四设备与第二设备是否不同。The second determining module 13 is further configured to determine, according to the identifier of the second device, whether the fourth device that receives the second message is different from the second device.
上述第一确定模块12,还用于当第二确定模块13根据第二设备的标识,确定第四设备与第二设备不同时,根据获取模块11获取的第一消息的传输类型和获取模块11所在的设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息;当第二确定模块13根据第二设备的标识,确定第四设备与第二设备相同时,确定不在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。The first determining module 12 is further configured to: when the second determining module 13 determines that the fourth device is different from the second device according to the identifier of the second device, the transmission type of the first message acquired by the obtaining module 11 and the obtaining module 11 a transmission type of the second message to be sent by the device, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel; and when the second determining module 13 is configured according to the identifier of the second device, When it is determined that the fourth device is the same as the second device, it is determined that the second message is not sent by using the first channel when the second device sends the first message by using the first channel.
进一步地,在上述实施例的基础上,上述根据获取模块11获取的第一消息的传输类型和获取模块11所在的设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息, 具体包括:Further, based on the foregoing embodiment, determining, according to the transmission type of the first message acquired by the obtaining module 11 and the transmission type of the second message to be sent by the device where the acquiring module 11 is located, determining whether the second device passes the first Sending a second message through the first channel when the channel sends the first message, Specifically include:
若第一消息的传输类型为非直连传输消息,第二消息的传输类型为直连传输消息,则确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息;If the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a direct transmission message, determining to send the second message through the first channel when the second device sends the first message by using the first channel;
或者,or,
若第一消息的传输类型为直连传输消息,第二消息的传输类型为直连传输消息或非直连传输消息,则确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息;If the transmission type of the first message is a direct transmission message, and the transmission type of the second message is a direct transmission message or a non-direct transmission message, determining to pass the first channel when the second device sends the first message through the first channel Send a second message;
或者,or,
若第一消息的传输类型为非直连传输消息,第二消息的传输类型为非直连传输消息,则确定不在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。If the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a non-direct transmission message, determining that the second message is not sent by using the first channel when the second device sends the first message by using the first channel .
本发明实施例提供的设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
图6为本发明实施例提供的设备实施例三的结构示意图,在上述图5所示实施例的基础上,如图6所示,当上述获取模块11所在的设备的发送功率为固定功率时,上述设备还可以包括:FIG. 6 is a schematic structural diagram of Embodiment 3 of the device according to the embodiment of the present invention. On the basis of the foregoing embodiment shown in FIG. 5, when the sending power of the device where the acquiring module 11 is located is a fixed power, as shown in FIG. The above device may further include:
第三确定模块15,用于根据邻居信息和第一消息的物理头中包括的第三设备的标识确定获取模块11所在的设备监听第三设备发送的消息时的历史路径损耗;其中,邻居信息为获取模块11所在的设备监听其他设备发送的消息时的历史路径损耗和其他设备的标识之间的对应关系。The third determining module 15 is configured to determine, according to the neighbor information and the identifier of the third device included in the physical header of the first message, the historical path loss when the device where the acquiring module 11 is listening to the message sent by the third device; Corresponding relationship between the historical path loss and the identifier of other devices when the device where the module 11 is located listens for messages sent by other devices.
上述第一确定模块12,用于根据获取模块11获取的第一消息的传输类型和获取模块11所在的设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送所述第二消息,具体为:The first determining module 12 is configured to determine whether the second device sends the first channel through the first channel according to the transmission type of the first message acquired by the obtaining module 11 and the transmission type of the second message to be sent by the device where the acquiring module 11 is located. Sending the second message through the first channel when a message is, specifically:
根据第一消息的传输类型、第二消息的传输类型,以及,上述第三确定模块15确定的获取模块11所在的设备监听第三设备发送的消息时的历史路径损耗,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。Determining whether it is in the second device according to the transmission type of the first message, the transmission type of the second message, and the historical path loss when the device in which the acquiring module 11 is located is listening to the message sent by the third device. The second message is sent through the first channel when the first message is sent through the first channel.
继续参照图6,可选的,上述第一消息的物理头中还包括第一消息的发送时长;上述第三确定模块15,还用于确定第二消息的发送时长; Continuing to refer to FIG. 6 , optionally, the physical header of the first message further includes a sending duration of the first message, and the third determining module 15 is further configured to determine a sending duration of the second message.
上述第一确定模块12,用于根据第一消息的传输类型、第二消息的传输类型,以及,第三确定模块15确定的获取模块11所在的设备监听第三设备发送的消息时的历史路径损耗,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,具体为:The first determining module 12 is configured to: according to the transmission type of the first message, the transmission type of the second message, and the historical path when the device where the acquiring module 11 is determined by the third determining module 15 listens to the message sent by the third device. And determining, whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
当上述第三确定模块15确定的第二消息的发送时长小于或等于第一消息的剩余发送时长时,根据第一消息的传输类型、第二消息的传输类型,以及,获取模块11所在的设备监听第三设备发送的消息时的历史路径损耗,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。When the sending duration of the second message determined by the third determining module 15 is less than or equal to the remaining sending duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the device where the acquiring module 11 is located The historical path loss when the message sent by the third device is monitored, determining whether the second message is sent through the first channel when the second device sends the first message through the first channel.
本发明实施例提供的设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
图7为本发明实施例提供的设备实施例四的结构示意图,在上述图5所示实施例的基础上,如图7所示,当上述获取模块11所在的设备的发送功率可调时,上述设备还可以包括:第四确定模块16,用于根据邻居信息和第一消息的物理头中包括的第三设备的标识确定获取模块11所在的设备监听第三设备发送的消息时的历史路径损耗,以及,获取模块11所在的设备发送第二消息所需的功率;其中,邻居信息为获取模块11所在的设备监听其他设备发送的消息时的历史路径损耗和其他设备的标识之间的对应关系;FIG. 7 is a schematic structural diagram of Embodiment 4 of the device according to the embodiment of the present invention. On the basis of the foregoing embodiment shown in FIG. 5, as shown in FIG. 7, when the sending power of the device where the acquiring module 11 is located is adjustable, The device may further include: a fourth determining module 16, configured to determine, according to the neighbor information and the identifier of the third device included in the physical header of the first message, a historical path when the device where the acquiring module 11 is listening to the message sent by the third device And the power required to send the second message by the device where the module 11 is located; wherein the neighbor information is the correspondence between the historical path loss when the device where the acquiring module 11 is located listening to the message sent by the other device and the identifier of the other device relationship;
上述第一确定模块12,用于根据获取模块11获取的第一消息的传输类型和获取模块11所在的设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送所述第二消息,具体为:The first determining module 12 is configured to determine whether the second device sends the first channel through the first channel according to the transmission type of the first message acquired by the obtaining module 11 and the transmission type of the second message to be sent by the device where the acquiring module 11 is located. Sending the second message through the first channel when a message is, specifically:
根据第一消息的传输类型、第二消息的传输类型,以及,上述第四确定模块16确定的获取模块11所在的设备监听第三设备发送的消息时的历史路径损耗、获取模块11所在的设备发送第二消息所需的功率,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。According to the transmission type of the first message, the transmission type of the second message, and the historical path loss when the device where the acquisition module 11 is located, the device where the acquisition module 11 is located, listens to the message sent by the third device, and the device where the acquisition module 11 is located. The power required to send the second message determines whether the second message is sent through the first channel when the second device sends the first message through the first channel.
继续参照图7,可选的,上述第一消息的物理头中还可以包括第一消息的发送时长;With continued reference to FIG. 7 , optionally, the physical header of the first message may further include a sending duration of the first message.
上述第四确定模块16,还用于确定第二消息的发送时长;The fourth determining module 16 is further configured to determine a sending duration of the second message.
上述第一确定模块12,用于根据第一消息的传输类型、第二消息的传输类型,以及,上述第四确定模块16确定的获取模块11所在的设备监听第三 设备发送的消息时的历史路径损耗、获取模块11所在的设备发送第二消息所需的功率,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,具体为:The first determining module 12 is configured to: according to the transmission type of the first message, the transmission type of the second message, and the device that is located by the obtaining module 11 determined by the fourth determining module 16 The historical path loss of the message sent by the device, and the power required by the device where the module 11 is located to send the second message, determining whether the second message is sent through the first channel when the second device sends the first message through the first channel, specifically for:
当上述第四确定模块16确定的第二消息的发送时长小于或等于第一消息的剩余发送时长时,根据第一消息的传输类型、第二消息的传输类型、获取模块11所在的设备监听第三设备发送的消息时的历史路径损耗,以及,获取模块11所在的设备发送第二消息所需的功率,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。When the sending duration of the second message determined by the fourth determining module 16 is less than or equal to the remaining sending duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the device listening device where the acquiring module 11 is located. The historical path loss when the message is sent by the device, and the power required by the device where the module 11 is located to send the second message, determining whether the second device sends the second message through the first channel when the first device sends the first message through the first channel. Message.
本发明实施例提供的设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
本发明实施例五提供了一种设备,该设备包括:发送模块,其中,A fifth embodiment of the present invention provides a device, where the device includes: a sending module, where
发送模块,用于发送第一消息,第一消息的物理头用于向第一设备指示第一消息的传输类型,以使得第一设备根据第一消息的传输类型和第一设备待发送的第二消息的传输类型确定是否在所述发送模块所在的设备通过第一信道发送第一消息时通过第一信道发送第二消息;其中,第一消息的传输类型为非直连传输消息或直连传输消息,第二消息的传输类型为非直连传输消息或直连传输消息;上述发送模块所在的设备与第一设备属于同一个网络。a sending module, configured to send a first message, where the physical header of the first message is used to indicate, to the first device, a transmission type of the first message, so that the first device is configured according to the transmission type of the first message and the first device to be sent. The transmission type of the second message determines whether the second message is sent through the first channel when the device where the sending module is located sends the first message through the first channel; where the transmission type of the first message is a non-directly connected message or a direct connection The transmission type of the second message is an indirect connection message or a direct connection message; the device where the sending module is located belongs to the same network as the first device.
本发明实施例提供的设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
进一步地,在上述实施例的基础上,第一消息的物理头中包括直连传输指示;其中,直连传输指示用于指示第一消息的传输类型。Further, on the basis of the foregoing embodiment, the physical header of the first message includes a direct connection transmission indication; wherein the direct connection transmission indication is used to indicate a transmission type of the first message.
进一步地,在上述实施例的基础上,第一消息的物理头中还可以包括至少以下一种:发送模块所在的设备所在的网络标识、发送模块所在的设备的标识、第三设备的标识或第一消息的发送时长中的至少一个;其中,第三设备为接收第一消息的设备。Further, based on the foregoing embodiment, the physical header of the first message may further include at least one of the following: a network identifier where the device where the sending module is located, an identifier of the device where the sending module is located, or an identifier of the third device or At least one of a transmission duration of the first message; wherein the third device is a device that receives the first message.
本发明实施例提供的设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
图8为本发明实施例提供的设备实施例六的结构示意图,如图8所示,该设备包括:接收器21和处理器22,其中,FIG. 8 is a schematic structural diagram of Embodiment 6 of a device according to an embodiment of the present invention. As shown in FIG. 8, the device includes: a receiver 21 and a processor 22, where
接收器21,用于监听第一消息的物理头。 The receiver 21 is configured to monitor a physical header of the first message.
处理器22,用于根据第一消息的物理头,获取第一消息的传输类型,并根据第一消息的传输类型和处理器22所在的设备待发送的第二消息的传输类型确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息;其中,第一消息的传输类型为非直连传输消息或直连传输消息;处理器22所在的设备与发送第一消息的第二设备属于同一个网络;第二消息的传输类型为非直连传输消息或直连传输消息。The processor 22 is configured to obtain, according to a physical header of the first message, a transmission type of the first message, and determine, according to a transmission type of the first message and a transmission type of the second message to be sent by the device where the processor 22 is located, whether When the second device sends the first message through the first channel, the second message is sent by using the first channel; where the transmission type of the first message is an indirect connection message or a direct connection message; the device where the processor 22 is located and the first message is sent. The second device of the message belongs to the same network; the transmission type of the second message is an indirect connection message or a direct connection message.
本发明实施例提供的设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
进一步地,在上述实施例的基础上,上述处理器22,具体用于根据第一消息的物理头中包括的直连传输指示获取第一消息的传输类型;其中,直连传输指示用于指示第一消息的传输类型。Further, on the basis of the foregoing embodiment, the processor 22 is specifically configured to acquire, according to a direct transmission indication included in a physical header of the first message, a transmission type of the first message, where the direct transmission indication is used to indicate The type of transmission of the first message.
进一步地,在上述实施例的基础上,上述第一消息的物理头中还可以包括接收第一消息的第三设备的标识;上述处理器22,还用于根据第三设备的标识,确定处理器22所在的设备与第三设备是否不同;当确定处理器22所在的设备与第三设备不同时,根据第一消息的传输类型和处理器22所在的设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送二消息;当确定处理器22所在的设备与第三设备相同时,指示接收器21继续接收第一消息的剩余部分。Further, on the basis of the foregoing embodiment, the physical header of the first message may further include an identifier of the third device that receives the first message, and the processor 22 is further configured to determine, according to the identifier of the third device, the processing. Whether the device in which the device 22 is located is different from the third device; when it is determined that the device in which the processor 22 is located is different from the third device, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor 22 is located Determining whether to send the second message through the first channel when the second device sends the first message through the first channel; when determining that the device where the processor 22 is located is the same as the third device, instructing the receiver 21 to continue to receive the remaining of the first message section.
进一步地,在上述实施例的基础上,上述第一消息的物理头中还可以包括第二设备的标识;上述处理器22,还用于根据第二设备的标识,确定接收第二消息的第四设备与第二设备不同;当确定第四设备与第二设备不同时,根据第一消息的传输类型和处理器22所在的设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送二消息;当确定第四设备与第二设备相同时,确定不在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。Further, based on the foregoing embodiment, the physical header of the first message may further include an identifier of the second device, where the processor 22 is further configured to determine, according to the identifier of the second device, that the second message is received. The fourth device is different from the second device; when it is determined that the fourth device is different from the second device, determining whether the second device is based on the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor 22 is located Sending a second message through the first channel when the first message is sent by using the first channel, and determining to send the second message by using the first channel when the second device sends the first message by using the first channel when determining that the fourth device is the same as the second device Message.
进一步地,在上述实施例的基础上,上述根据第一消息的传输类型和处理器22所在的设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,具体包括:Further, based on the foregoing embodiment, the determining, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor 22 is located, determining whether the second device sends the first message through the first channel. Sending the second message by using the first channel, specifically:
若第一消息的传输类型为非直连传输消息,第二消息的传输类型为直连传输消息,则确定在第二设备通过第一信道发送第一消息时通过第一信道发 送第二消息;If the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a direct transmission message, determining to send the first message through the first channel when the second device sends the first message through the first channel Send a second message;
或者,or,
若第一消息的传输类型为直连传输消息,第二消息的传输类型为直连传输消息或非直连传输消息,则确定在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息;If the transmission type of the first message is a direct transmission message, and the transmission type of the second message is a direct transmission message or a non-direct transmission message, determining to pass the first channel when the second device sends the first message through the first channel Send a second message;
或者,or,
若第一消息的传输类型为非直连传输消息,第二消息的传输类型为非直连传输消息,则确定不在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。If the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a non-direct transmission message, determining that the second message is not sent by using the first channel when the second device sends the first message by using the first channel .
本发明实施例提供的设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
可选的,当上述处理器22所在的设备的发送功率为固定功率时,上述处理器22,还用于根据邻居信息和第一消息的物理头中包括的第三设备的标识确定处理器22所在的设备监听第三设备发送的消息时的历史路径损耗;其中,邻居信息为处理器22所在的设备监听其他设备发送的消息时的历史路径损耗和其他设备的标识之间的对应关系;Optionally, when the sending power of the device where the processor 22 is located is a fixed power, the processor 22 is further configured to determine the processor 22 according to the neighbor information and the identifier of the third device included in the physical header of the first message. The historical path loss when the device is listening to the message sent by the third device; where the neighbor information is the correspondence between the historical path loss of the device where the processor 22 is located to listen to the message sent by the other device and the identifier of the other device;
上述处理器22,用于根据第一消息的传输类型和处理器22所在的设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,具体为:The processor 22 is configured to determine, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor 22 is located, whether to pass the first channel when the second device sends the first message by using the first channel. Send the second message, specifically:
根据处理器22所在的设备监听第三设备发送的消息时的历史路径损耗,以及,第一消息的传输类型、第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。Determining whether the second device sends the first message through the first channel according to the historical path loss when the device where the processor 22 is listening to the message sent by the third device, and the transmission type of the first message and the transmission type of the second message The second message is sent through the first channel.
进一步可选的,上述第一消息的物理头中还可以包括第一消息的发送时长;上述处理器22,还用于确定第二消息的发送时长;Further, optionally, the physical header of the first message may further include a sending duration of the first message, where the processor 22 is further configured to determine a sending duration of the second message.
则上述处理器22,用于根据处理器22所在的设备监听第三设备发送的消息时的历史路径损耗,以及,第一消息的传输类型、处理器22所在的设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,具体为:The processor 22 is configured to: according to the historical path loss when the device where the processor 22 is located listens to the message sent by the third device, and the transmission type of the first message, and the second message to be sent by the device where the processor 22 is located. a transmission type, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
当第二消息的发送时长小于或等于第一消息的剩余发送时长时,根据第一消息的传输类型、第二消息的传输类型,以及,处理器22所在的设备监听 第三设备发送的消息时的历史路径损耗,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。When the transmission duration of the second message is less than or equal to the remaining transmission duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the device monitoring of the processor 22 The historical path loss when the message is sent by the third device, determining whether the second message is sent through the first channel when the second device sends the first message through the first channel.
本发明实施例提供的设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
可选的,当上述处理器22所在的设备的发送功率可调时,上述处理器22,还用于根据邻居信息和第一消息中第三设备的标识确定处理器22所在的设备监听第三设备发送的消息时的历史路径损耗,以及,处理器22所在的设备发送第二消息所需的功率;其中,邻居信息为处理器22所在的设备监听其他设备发送的消息时的历史路径损耗和其他设备的标识之间的对应关系;Optionally, when the sending power of the device where the processor 22 is located is adjustable, the processor 22 is further configured to determine, according to the neighbor information and the identifier of the third device in the first message, that the device where the processor 22 is located is listening to the third device. The historical path loss when the message is sent by the device, and the power required by the device where the processor 22 is located to send the second message; wherein the neighbor information is the historical path loss when the device where the processor 22 is located listens for the message sent by the other device. Correspondence between the identifiers of other devices;
上述处理器22,用于根据第一消息的传输类型和处理器22所在的设备待发送的第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,具体为:The processor 22 is configured to determine, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor 22 is located, whether to pass the first channel when the second device sends the first message by using the first channel. Send the second message, specifically:
根据处理器22所在的设备监听第三设备发送的消息时的历史路径损耗、处理器22所在的设备发送第二消息所需的功率,以及,第一消息的传输类型、第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息。The historical path loss when the device where the processor 22 is located listens to the message sent by the third device, the power required by the device where the processor 22 is located to send the second message, and the transmission type of the first message and the transmission type of the second message And determining whether the second message is sent through the first channel when the second device sends the first message through the first channel.
进一步可选的,上述第一消息的物理头中还可以包括第一消息的发送时长;上述处理器22,还用于确定第二消息的发送时长;Further, optionally, the physical header of the first message may further include a sending duration of the first message, where the processor 22 is further configured to determine a sending duration of the second message.
上述处理器22,用于根据处理器22所在的设备监听第三设备发送的消息时的历史路径损耗、处理器22所在的设备发送第二消息所需的功率,以及,第一消息的传输类型、第二消息的传输类型,确定是否在第二设备通过第一信道发送第一消息时通过第一信道发送第二消息,具体为:The processor 22 is configured to: when the device where the processor 22 is located, listen to the historical path loss when the message sent by the third device, the power required by the device where the processor 22 is located to send the second message, and the transmission type of the first message. And the transmission type of the second message, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
当第二消息的发送时长小于或等于第一消息的剩余发送时长时,根据第一消息的传输类型、第二消息的传输类型、处理器22所在的设备监听第三设备发送的消息时的历史路径损耗,以及,处理器22所在的设备发送第二消息所需的功率,确定发送第二消息。When the transmission duration of the second message is less than or equal to the remaining transmission duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the history of the device where the processor 22 is located listening to the message sent by the third device The path loss, and the power required by the device in which the processor 22 is located to transmit the second message, determines to send the second message.
本发明实施例提供的设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
本发明实施例七提供了一种设备,该设备包括:发送器,其中,Embodiment 7 of the present invention provides a device, where the device includes: a transmitter, where
发送器,用于发送第一消息,第一消息的物理头用于向第一设备指示第 一消息的传输类型,以使得第一设备根据第一消息的传输类型和第一设备待发送的第二消息的传输类型确定是否在所述发送器所在的设备通过第一信道发送所述第一消息时通过所述第一信道发送第二消息;其中,第一消息的传输类型为非直连传输消息或直连传输消息,第二消息的传输类型为非直连传输消息或直连传输消息;上述发送器所在的设备与第一设备属于同一个网络。a sender, configured to send a first message, where the physical header of the first message is used to indicate to the first device a transmission type of the message, so that the first device determines, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, whether the first device sends the first channel through the first channel. Transmitting, by the first channel, a second message, where the transmission type of the first message is a non-direct connection transmission message or a direct connection transmission message, and the transmission type of the second message is an indirect connection transmission message or a direct connection transmission message. The device where the above transmitter is located belongs to the same network as the first device.
本发明实施例提供的设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
进一步地,在上述实施例的基础上,第一消息的物理头中包括直连传输指示;其中,直连传输指示用于指示第一消息的传输类型。Further, on the basis of the foregoing embodiment, the physical header of the first message includes a direct connection transmission indication; wherein the direct connection transmission indication is used to indicate a transmission type of the first message.
进一步地,在上述实施例的基础上,第一消息的物理头中还可以包括至少以下一种:发送器所在的设备所在的网络标识、发送器所在的设备的标识、第三设备的标识或第一消息的发送时长中的至少一个;其中,第三设备为接收第一消息的设备。Further, on the basis of the foregoing embodiment, the physical header of the first message may further include at least one of the following: a network identifier where the device where the sender is located, an identifier of the device where the sender is located, an identifier of the third device, or At least one of a transmission duration of the first message; wherein the third device is a device that receives the first message.
本发明实施例提供的设备,可以执行上述方法实施例,其实现原理和技术效果类似,在此不再赘述。The device provided by the embodiment of the present invention may perform the foregoing method embodiments, and the implementation principle and technical effects are similar, and details are not described herein again.
最后应说明的是:以上各实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述各实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。 Finally, it should be noted that the above embodiments are merely illustrative of the technical solutions of the present invention, and are not intended to be limiting; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that The technical solutions described in the foregoing embodiments may be modified, or some or all of the technical features may be equivalently replaced; and the modifications or substitutions do not deviate from the technical solutions of the embodiments of the present invention. range.

Claims (36)

  1. 一种空间复用方法,其特征在于,包括:A spatial multiplexing method, comprising:
    第一设备通过监听第一消息的物理头获取所述第一消息的传输类型;其中,所述第一消息的传输类型为非直连传输消息或直连传输消息;所述第一设备与发送所述第一消息的第二设备属于同一个网络;The first device acquires a transmission type of the first message by listening to a physical header of the first message, where the transmission type of the first message is an indirect connection message or a direct connection message; the first device sends The second device of the first message belongs to the same network;
    所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;所述第二消息的传输类型为非直连传输消息或直连传输消息。Determining, by the first device, whether the second device sends the first message by using the first channel, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device The first channel sends the second message; the transmission type of the second message is an indirect connection message or a direct connection message.
  2. 根据权利要求1所述的方法,其特征在于,所述第一设备通过监听第一消息的物理头获取所述第一消息的传输类型,具体包括:The method according to claim 1, wherein the first device acquires a transmission type of the first message by listening to a physical header of the first message, and specifically includes:
    所述第一设备根据所述第一消息的物理头中包括的直连传输指示获取所述第一消息的传输类型;其中,所述直连传输指示用于指示所述第一消息的传输类型。Determining, by the first device, a transmission type of the first message according to a direct transmission indication included in a physical header of the first message, where the direct connection indication is used to indicate a transmission type of the first message .
  3. 根据权利要求1或2所述方法,其特征在于,所述第一消息的物理头中还包括接收所述第一消息的第三设备的标识;所述方法还包括:The method according to claim 1 or 2, wherein the physical header of the first message further includes an identifier of the third device that receives the first message; the method further includes:
    所述第一设备根据所述第三设备的标识,确定所述第一设备与所述第三设备是否不同;Determining, by the first device, whether the first device is different from the third device according to the identifier of the third device;
    若是,则所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;If yes, the first device determines, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, whether the second device sends the Transmitting, by the first channel, the second message when the first message is sent;
    若否,则所述第一设备继续接收所述第一消息的剩余部分。If not, the first device continues to receive the remainder of the first message.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述第一消息的物理头中还包括所述第二设备的标识;所述方法还包括:The method according to any one of claims 1-3, wherein the physical header of the first message further includes an identifier of the second device; the method further includes:
    所述第一设备根据所述第二设备的标识,确定接收所述第二消息的第四设备与所述第二设备是否不同;Determining, by the first device, whether the fourth device that receives the second message is different from the second device according to the identifier of the second device;
    若是,则所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;If yes, the first device determines, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, whether the second device sends the Transmitting, by the first channel, the second message when the first message is sent;
    若否,则所述第一设备确定不在所述第二设备通过所述第一信道发送 所述第一消息时通过所述第一信道发送所述第二消息。If not, the first device determines that the second device is not sent by using the first channel. Transmitting the second message by using the first channel when the first message is received.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:The method according to any one of claims 1 to 4, wherein the first device determines whether the transmission type of the first message and the transmission type of the second message to be sent by the first device are And sending, by the first channel, the second message when the second device sends the first message by using the first channel, specifically:
    若所述第一消息的传输类型为非直连传输消息,所述第二消息的传输类型为直连传输消息,则所述第一设备确定在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;If the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a direct transmission message, the first device determines that the second device sends by using the first channel. Transmitting, by the first channel, the second message when the first message is sent;
    或者,or,
    若所述第一消息的传输类型为直连传输消息,所述第二消息的传输类型为直连传输消息或非直连传输消息,则所述第一设备确定在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;If the transmission type of the first message is a direct connection transmission message, and the transmission type of the second message is a direct connection transmission message or a non-direct connection transmission message, the first device determines that the second device passes the Transmitting, by the first channel, the second message by using the first channel when sending the first message;
    或者,or,
    若所述第一消息的传输类型为非直连传输消息,所述第二消息的传输类型为非直连传输消息,则所述第一设备确定不在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。If the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a non-direct transmission message, the first device determines that the second device does not pass the first channel. Sending the second message through the first channel when the first message is sent.
  6. 根据权利要求3或4所述的方法,其特征在于,所述方法还包括:The method according to claim 3 or 4, wherein the method further comprises:
    所述第一设备根据邻居信息和所述第一消息的物理头中包括的所述第三设备的标识确定所述第一设备监听所述第三设备发送的消息时的历史路径损耗;其中,所述邻居信息为所述第一设备监听其他设备发送的消息时的历史路径损耗和所述其他设备的标识之间的对应关系;Determining, by the first device, the historical path loss when the first device listens to the message sent by the third device, according to the neighbor information and the identifier of the third device included in the physical header of the first message; The neighbor information is a correspondence between a historical path loss of the first device listening to a message sent by another device and an identifier of the other device;
    所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:Determining, by the first device, whether the second device sends the first message by using the first channel, according to the transmission type of the first message and the transmission type of the second message to be sent by the first device The sending, by the first channel, the second message includes:
    所述第一设备根据所述第一消息的传输类型、所述第一设备待发送的第二消息的传输类型,以及,所述第一设备监听所述第三设备发送的消息时的历史路径损耗,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。The first device is configured according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, and the historical path when the first device listens to the message sent by the third device. Loss, determining whether to send the second message over the first channel when the second device sends the first message over the first channel.
  7. 根据权利要求6所述的方法,其特征在于,所述第一消息的物理 头中还包括所述第一消息的发送时长;所述方法还包括:The method of claim 6 wherein the physicality of the first message The header further includes a sending duration of the first message; the method further includes:
    所述第一设备确定所述第二消息的发送时长;Determining, by the first device, a sending duration of the second message;
    所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,以及,所述第一设备监听所述第三设备发送的消息时的历史路径损耗,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:The first device is configured according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, and the historical path when the first device listens to the message sent by the third device Determining whether to send the second message by using the first channel when the second device sends the first message by using the first channel, specifically:
    当所述第一设备确定所述第二消息的发送时长小于或等于所述第一消息的剩余发送时长时,所述第一设备根据所述第一消息的传输类型、所述第一设备待发送的第二消息的传输类型,以及,所述第一设备监听所述第三设备发送的消息时的历史路径损耗,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。When the first device determines that the sending duration of the second message is less than or equal to the remaining sending duration of the first message, the first device is configured according to the transmission type of the first message, and the first device is a transmission type of the sent second message, and a historical path loss when the first device listens to the message sent by the third device, determining whether the first device sends the first channel by using the first channel Transmitting the second message through the first channel when the message is received.
  8. 根据权利要求3或4所述的方法,其特征在于,所述方法还包括:The method according to claim 3 or 4, wherein the method further comprises:
    所述第一设备根据邻居信息和所述第一消息的物理头中包括的所述第三设备的标识确定所述第一设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述第一设备发送所述第二消息所需的功率;其中,所述邻居信息为所述第一设备监听其他设备发送的消息时的历史路径损耗和所述其他设备的标识之间的对应关系;Determining, by the first device, the historical path loss when the first device listens to the message sent by the third device, according to the neighbor information and the identifier of the third device included in the physical header of the first message, and The power required by the first device to send the second message; wherein the neighbor information is a correspondence between a historical path loss when the first device listens to a message sent by another device and an identifier of the other device relationship;
    所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:Determining, according to the transmission type of the first message, and the transmission type of the second message to be sent by the first device, whether the second device sends the first message by using the first channel And sending the second message by using the first channel, specifically:
    所述第一设备根据所述第一消息的传输类型、所述第一设备待发送的第二消息的传输类型、所述第一设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述第一设备发送所述第二消息所需的功率,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。The first device is configured to: according to the transmission type of the first message, the transmission type of the second message to be sent by the first device, and the historical path loss when the first device listens to the message sent by the third device, And determining, by the first device, the power required by the second message, whether to send the second channel by using the first channel when the second device sends the first message by using the first channel Message.
  9. 根据权利要求8所述的方法,其特征在于,所述第一消息的物理头中还包括所述第一消息的发送时长;所述方法还包括:The method according to claim 8, wherein the physical header of the first message further includes a sending duration of the first message; the method further includes:
    所述第一设备确定所述第二消息的发送时长;Determining, by the first device, a sending duration of the second message;
    所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型、所述第一设备监听所述第三设备发送的消息时的 历史路径损耗,以及,所述第一设备发送所述第二消息所需的功率,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:The first device according to the transmission type of the first message and the transmission type of the second message to be sent by the first device, and the first device listening to the message sent by the third device a history path loss, and a power required by the first device to send the second message, determining whether to send by using the first channel when the second device sends the first message by using the first channel The second message specifically includes:
    当所述第一设备确定所述第二消息的发送时长小于或等于所述第一消息的剩余发送时长时,所述第一设备根据所述第一消息的传输类型、所述第一设备待发送的第二消息的传输类型、所述第一设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述第一设备发送所述第二消息所需的功率,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。When the first device determines that the sending duration of the second message is less than or equal to the remaining sending duration of the first message, the first device is configured according to the transmission type of the first message, and the first device is The transmission type of the second message to be sent, the historical path loss when the first device listens to the message sent by the third device, and the power required by the first device to send the second message, to determine whether And sending, by the second device, the second message by using the first channel when the first message is sent by using the first channel.
  10. 一种空间复用方法,其特征在于,所述方法包括:A spatial multiplexing method, the method comprising:
    第二设备发送第一消息,所述第一消息的物理头用于向第一设备指示所述第一消息的传输类型,以使得所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;其中,所述第一消息的传输类型为非直连传输消息或直连传输消息,所述第二消息的传输类型为非直连传输消息或直连传输消息;所述第二设备与所述第一设备属于同一个网络。The second device sends a first message, where the physical header of the first message is used to indicate the transmission type of the first message to the first device, so that the first device is configured according to the transmission type and location of the first message. Determining, by the transmission type of the second message to be sent by the first device, whether the second message is sent by using the first channel when the second device sends the first message by using the first channel; The transmission type of the first message is an indirect connection message or a direct connection message, and the transmission type of the second message is an indirect connection message or a direct connection message; the second device belongs to the first device The same network.
  11. 根据权利要求10所述的方法,其特征在于,所述第一消息的物理头中包括直连传输指示;其中,所述直连传输指示用于指示所述第一消息的传输类型。The method according to claim 10, wherein the physical header of the first message includes a direct connection transmission indication; wherein the direct connection transmission indication is used to indicate a transmission type of the first message.
  12. 根据权利要求10或11所述的方法,其特征在于,所述第一消息的物理头中还包括至少以下一种:The method according to claim 10 or 11, wherein the physical header of the first message further comprises at least one of the following:
    所述第二设备所在的网络标识、所述第二设备的标识、所述第三设备的标识、所述第一消息的发送时长;其中,所述第三设备为接收所述第一消息的设备。a network identifier of the second device, an identifier of the second device, an identifier of the third device, and a sending duration of the first message, where the third device is configured to receive the first message. device.
  13. 一种设备,其特征在于,所述设备包括:A device, characterized in that the device comprises:
    获取模块,用于通过监听第一消息的物理头获取所述第一消息的传输类型;其中,所述第一消息的传输类型为非直连传输消息或直连传输消息;所述获取模块所在的设备与发送所述第一消息的第二设备属于同一个网络; An acquiring module, configured to acquire a transmission type of the first message by listening to a physical header of the first message, where the transmission type of the first message is an indirect connection message or a direct connection message; where the acquiring module is located The device belongs to the same network as the second device that sends the first message;
    第一确定模块,用于根据所述获取模块获取的第一消息的传输类型和所述获取模块所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;所述第二消息的传输类型为非直连传输消息或直连传输消息。a first determining module, configured to determine whether the second device passes the first channel according to a transmission type of the first message acquired by the acquiring module and a transmission type of the second message to be sent by the device where the acquiring module is to be sent Sending the second message by using the first channel when sending the first message; the transmission type of the second message is an indirect connection message or a direct connection message.
  14. 根据权利要求13所述的设备,其特征在于,所述获取模块,具体用于根据所述第一消息的物理头中包括的直连传输指示获取所述第一消息的传输类型;其中,所述直连传输指示用于指示所述第一消息的传输类型。The device according to claim 13, wherein the obtaining module is configured to acquire a transmission type of the first message according to a direct transmission indication included in a physical header of the first message; The direct transmission indication is used to indicate the transmission type of the first message.
  15. 根据权利要求13或14所述的设备,其特征在于,所述第一消息的物理头中还包括接收所述第一消息的第三设备的标识;所述设备还包括:第二确定模块和接收模块;The device according to claim 13 or 14, wherein the physical header of the first message further includes an identifier of the third device that receives the first message; the device further includes: a second determining module and Receiving module
    所述第二确定模块,用于根据所述第三设备的标识,确定所述获取模块所在的设备与所述第三设备是否不同;The second determining module is configured to determine, according to the identifier of the third device, whether the device where the acquiring module is located is different from the third device;
    所述第一确定模块,还用于当所述第二确定模块根据所述第三设备的标识,确定所述获取模块所在的设备与所述第三设备不同时,根据所述获取模块获取的第一消息的传输类型和所述获取模块所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;当所述第二确定模块根据所述第三设备的标识,确定所述获取模块所在的设备与所述第三设备相同时,指示所述接收模块继续接收所述第一消息的剩余部分。The first determining module is further configured to: when the second determining module determines, according to the identifier of the third device, that the device where the acquiring module is different from the third device, according to the obtaining module Determining whether a transmission type of the first message and a transmission type of the second message to be sent by the device where the acquiring module is to be sent are sent by using the first channel when the second device sends the first message by using the first channel And the second determining module, when the second determining module determines that the device where the acquiring module is the same as the third device, according to the identifier of the third device, instructing the receiving module to continue to receive the first The rest of the message.
  16. 根据权利要求13-15任一项所述的设备,其特征在于,所述第一消息的物理头中还包括所述第二设备的标识;The device according to any one of claims 13 to 15, wherein the physical header of the first message further includes an identifier of the second device;
    所述第二确定模块,还用于根据所述第二设备的标识,确定接收所述第二消息的第四设备与所述第二设备是否不同;The second determining module is further configured to determine, according to the identifier of the second device, whether the fourth device that receives the second message is different from the second device;
    所述第一确定模块,还用于当所述第二确定模块根据所述第二设备的标识,确定所述第四设备与所述第二设备不同时,根据所述获取模块获取的第一消息的传输类型和所述获取模块所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;当所述第二确定模块根据所述第二设备的标识,确定所述第四设备与所述第二设备相同时,确定不在所述第二 设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。The first determining module is further configured to: when the second determining module determines, according to the identifier of the second device, that the fourth device is different from the second device, the first acquired according to the acquiring module Determining whether the transmission type of the message and the transmission type of the second message to be sent by the device in which the acquiring module is to be sent are sent by using the first channel when the second device sends the first message by using the first channel a second message; when the second determining module determines that the fourth device is the same as the second device according to the identifier of the second device, determining that the second device is not in the second And transmitting, by the first channel, the second message by using the first channel when the device sends the first message by using the first channel.
  17. 根据权利要求13-16任一项所述的设备,其特征在于,所述根据所述获取模块获取的第一消息的传输类型和获取模块所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:The device according to any one of claims 13 to 16, wherein the determining according to the transmission type of the first message acquired by the acquiring module and the transmission type of the second message to be sent by the device where the acquiring module is located is determined. Whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
    若所述第一消息的传输类型为非直连传输消息,所述第二消息的传输类型为直连传输消息,则确定在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;And if the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a direct transmission message, determining, by the second device, sending the first message by using the first channel Transmitting the second message by using the first channel;
    或者,or,
    若所述第一消息的传输类型为直连传输消息,所述第二消息的传输类型为直连传输消息或非直连传输消息,则确定在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;If the transmission type of the first message is a direct transmission message, and the transmission type of the second message is a direct connection transmission message or a non-direct connection transmission message, determining that the second device sends by using the first channel Transmitting, by the first channel, the second message when the first message is sent;
    或者,or,
    若所述第一消息的传输类型为非直连传输消息,所述第二消息的传输类型为非直连传输消息,则确定不在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。If the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is an indirect connection message, determining that the second device does not send the first channel by using the first channel Transmitting the second message through the first channel when the message is received.
  18. 根据权利要求15或16所述的设备,其特征在于,所述设备还包括:The device according to claim 15 or 16, wherein the device further comprises:
    第三确定模块,用于根据邻居信息和所述第一消息的物理头中包括的所述第三设备的标识确定所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗;其中,所述邻居信息为所述获取模块所在的设备监听其他设备发送的消息时的历史路径损耗和所述其他设备的标识之间的对应关系;a third determining module, configured to determine, according to the neighbor information and the identifier of the third device included in the physical header of the first message, a historical path when the device where the acquiring module is listening to the message sent by the third device Loss; wherein the neighbor information is a correspondence between a historical path loss of the device where the acquiring module is located to listen to a message sent by another device, and an identifier of the other device;
    所述第一确定模块,用于根据所述获取模块获取的第一消息的传输类型和所述获取模块所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The first determining module is configured to determine, according to a transmission type of the first message acquired by the acquiring module, and a transmission type of the second message to be sent by the device where the acquiring module is located, whether the second device passes the Sending the second message by using the first channel when the first message is sent by a channel, specifically:
    根据所述第一消息的传输类型、所述第二消息的传输类型,以及,所述第三确定模块确定的所述获取模块所在的设备监听所述第三设备发送 的消息时的历史路径损耗,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。Determining, according to the transmission type of the first message, the transmission type of the second message, and the device where the acquiring module is determined by the third determining module, listening to the third device to send The historical path loss at the time of the message, determining whether the second message is sent through the first channel when the second device sends the first message through the first channel.
  19. 根据权利要求18所述的设备,其特征在于,所述第一消息的物理头中还包括所述第一消息的发送时长;The device according to claim 18, wherein the physical header of the first message further includes a sending duration of the first message;
    所述第三确定模块,还用于确定所述第二消息的发送时长;The third determining module is further configured to determine a sending duration of the second message;
    所述第一确定模块,用于根据所述第一消息的传输类型、所述第二消息的传输类型,以及,所述第三确定模块确定的所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The first determining module is configured to: according to the transmission type of the first message, the transmission type of the second message, and the device where the acquiring module is determined by the third determining module, listening to the third The historical path loss of the message sent by the device, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
    当所述第三确定模块确定的所述第二消息的发送时长小于或等于所述第一消息的剩余发送时长时,根据所述第一消息的传输类型、所述第二消息的传输类型,以及,所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗,确定是否在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。When the transmission duration of the second message determined by the third determining module is less than or equal to the remaining transmission duration of the first message, according to the transmission type of the first message, and the transmission type of the second message, And determining, by the device where the acquiring module is located, the historical path loss when the message sent by the third device is used, and determining whether the first device passes the first message when sending the first message by using the first channel. The channel transmits the second message.
  20. 根据权利要求15或16所述的设备,其特征在于,所述设备还包括:The device according to claim 15 or 16, wherein the device further comprises:
    第四确定模块,用于根据邻居信息和所述第一消息的物理头中包括的所述第三设备的标识确定所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述获取模块所在的设备发送所述第二消息所需的功率;其中,所述邻居信息为所述获取模块所在的设备监听其他设备发送的消息时的历史路径损耗和所述其他设备的标识之间的对应关系;a fourth determining module, configured to determine, according to the neighbor information and the identifier of the third device included in the physical header of the first message, a historical path when the device where the acquiring module is located to listen to the message sent by the third device Loss, and the power required by the device where the acquiring module is sent to send the second message; wherein the neighbor information is a historical path loss when the device where the acquiring module is located listening to a message sent by another device, and the Correspondence between the identifiers of other devices;
    所述第一确定模块,用于根据所述获取模块获取的第一消息的传输类型和所述获取模块所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The first determining module is configured to determine, according to a transmission type of the first message acquired by the acquiring module, and a transmission type of the second message to be sent by the device where the acquiring module is located, whether the second device passes the Sending the second message by using the first channel when the first message is sent by a channel, specifically:
    根据所述第一消息的传输类型、所述第二消息的传输类型,以及,所述第四确定模块确定的所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗、所述获取模块所在的设备发送所述第二消息所 需的功率,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。And the historical path loss when the device where the acquiring module is located monitors the message sent by the third device, according to the transmission type of the first message, the transmission type of the second message, and the device that is determined by the fourth determining module The device where the acquiring module is located sends the second message Determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel.
  21. 根据权利要求20所述的设备,其特征在于,所述第一消息的物理头中还包括所述第一消息的发送时长;所述设备还包括:The device according to claim 20, wherein the physical header of the first message further includes a sending duration of the first message; the device further includes:
    所述第四确定模块,还用于确定所述第二消息的发送时长;The fourth determining module is further configured to determine a sending duration of the second message;
    所述第一确定模块,用于根据所述第一消息的传输类型、所述第二消息的传输类型,以及,所述第四确定模块确定的所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗、所述获取模块所在的设备发送所述第二消息所需的功率,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The first determining module is configured to: according to the transmission type of the first message, the transmission type of the second message, and the device where the acquiring module is determined by the fourth determining module, listening to the third The historical path loss when the message is sent by the device, and the power required by the device where the acquiring module is sent to send the second message, determining whether the second device sends the first message through the first channel. Sending, by the first channel, the second message, specifically:
    当所述第四确定模块确定的所述第二消息的发送时长小于或等于所述第一消息的剩余发送时长时,根据所述第一消息的传输类型、所述第二消息的传输类型、所述获取模块所在的设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述获取模块所在的设备发送所述第二消息所需的功率,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。When the transmission duration of the second message determined by the fourth determining module is less than or equal to the remaining transmission duration of the first message, according to the transmission type of the first message, the transmission type of the second message, The historical path loss when the device where the acquiring module is listening to the message sent by the third device, and the power required by the device where the acquiring module is sent to send the second message, determining whether the second device is Transmitting the second message through the first channel when the first message is sent by using the first channel.
  22. 一种设备,其特征在于,所述设备包括:A device, characterized in that the device comprises:
    发送模块,用于发送第一消息,所述第一消息的物理头用于向第一设备指示所述第一消息的传输类型,以使得所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型确定是否在所述发送模块所在的设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;其中,所述第一消息的传输类型为非直连传输消息或直连传输消息,所述第二消息的传输类型为非直连传输消息或直连传输消息;所述发送模块所在的设备与所述第一设备属于同一个网络。a sending module, configured to send a first message, where a physical header of the first message is used to indicate, to the first device, a transmission type of the first message, so that the first device is configured according to the transmission type of the first message Determining, by the transmission type of the second message to be sent by the first device, whether the second message is sent by using the first channel when the device where the sending module is located sends the first message by using a first channel; The transmission type of the first message is a non-direct connection transmission message or a direct connection transmission message, and the transmission type of the second message is a non-direct connection transmission message or a direct connection transmission message; The first device belongs to the same network.
  23. 根据权利要求22所述的设备,其特征在于,所述第一消息的物理头中包括直连传输指示;其中,所述直连传输指示用于指示所述第一消息的传输类型。The device according to claim 22, wherein the physical header of the first message includes a direct transmission indication; wherein the direct transmission indication is used to indicate a transmission type of the first message.
  24. 根据权利要求22或23所述的设备,其特征在于,所述第一消息的物理头中还包括至少以下一种:The device according to claim 22 or 23, wherein the physical header of the first message further comprises at least one of the following:
    所述发送模块所在的设备所在的网络标识、所述发送模块所在的设备 的标识、所述第三设备的标识或所述第一消息的发送时长中的至少一个;其中,所述第三设备为接收所述第一消息的设备。The network identifier of the device where the sending module is located, and the device where the sending module is located At least one of an identifier of the third device, an identifier of the third device, or a sending duration of the first message; wherein the third device is a device that receives the first message.
  25. 一种设备,其特征在于,所述设备包括:接收器和处理器;An apparatus, comprising: a receiver and a processor;
    所述接收器,用于监听第一消息的物理头;The receiver is configured to listen to a physical header of the first message;
    所述处理器,用于根据所述第一消息的物理头,获取所述第一消息的传输类型,并根据所述第一消息的传输类型和所述处理器所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;其中,所述第一消息的传输类型为非直连传输消息或直连传输消息;所述处理器所在的设备与发送所述第一消息的第二设备属于同一个网络;所述第二消息的传输类型为非直连传输消息或直连传输消息。The processor is configured to acquire, according to a physical header of the first message, a transmission type of the first message, and according to a transmission type of the first message and a second to be sent by a device where the processor is located And determining, by the transmission type of the message, whether the second message is sent by using the first channel when the second device sends the first message by using the first channel; wherein, the transmission type of the first message is non-straight And transmitting a message or a direct connection message; the device where the processor is located belongs to the same network as the second device that sends the first message; and the transmission type of the second message is an indirect connection message or a direct connection transmission Message.
  26. 根据权利要求25所述的设备,其特征在于,The device according to claim 25, wherein
    所述处理器,具体用于根据所述第一消息的物理头中包括的直连传输指示获取所述第一消息的传输类型;其中,所述直连传输指示用于指示所述第一消息的传输类型。The processor is configured to acquire, according to a direct transmission indication included in a physical header of the first message, a transmission type of the first message, where the direct transmission indication is used to indicate the first message. The type of transmission.
  27. 根据权利要求25或26所述的设备,其特征在于,所述第一消息的物理头中还包括接收所述第一消息的第三设备的标识;The device according to claim 25 or 26, wherein the physical header of the first message further includes an identifier of the third device that receives the first message;
    所述处理器,还用于根据所述第三设备的标识,确定所述处理器所在的设备与所述第三设备是否不同;当确定所述处理器所在的设备与所述第三设备不同时,根据所述第一消息的传输类型和所述处理器所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;当确定所述处理器所在的设备与所述第三设备相同时,指示所述接收器继续接收所述第一消息的剩余部分。The processor is further configured to determine, according to the identifier of the third device, whether the device where the processor is located is different from the third device; when determining that the device where the processor is located and the third device are not At the same time, determining whether to pass the first message when the second device sends the first message by using the first channel according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is located. Transmitting, by the first channel, the second message; when it is determined that the device where the processor is located is the same as the third device, instructing the receiver to continue receiving the remaining part of the first message.
  28. 根据权利要求25-27任一项所述的设备,其特征在于,所述第一消息的物理头中还包括所述第二设备的标识;The device according to any one of claims 25-27, wherein the physical header of the first message further includes an identifier of the second device;
    所述处理器,还用于根据所述第二设备的标识,确定接收所述第二消息的第四设备与所述第二设备不同;当确定所述第四设备与所述第二设备不同时,根据所述第一消息的传输类型和所述处理器所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第 一消息时通过所述第一信道发送所述第二消息;当确定所述第四设备与所述第二设备相同时,确定不在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。The processor is further configured to determine, according to the identifier of the second device, that the fourth device that receives the second message is different from the second device; when determining that the fourth device and the second device are not Simultaneously, determining, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is located, whether the second device sends the first channel by using the first channel Sending, by the first channel, the second message when a message is determined; when determining that the fourth device is the same as the second device, determining that the second device is not sending the first channel by using the first channel Transmitting the second message through the first channel when the message is received.
  29. 根据权利要求25-28任一项所述的设备,其特征在于,所述根据所述第一消息的传输类型和所述处理器所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体包括:The device according to any one of claims 25 to 28, wherein the determining according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is located determines whether And sending, by the second device, the second message by using the first channel when the first device sends the first message by using the first channel, specifically:
    若所述第一消息的传输类型为非直连传输消息,所述第二消息的传输类型为直连传输消息,则确定在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;And if the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is a direct transmission message, determining, by the second device, sending the first message by using the first channel Transmitting the second message by using the first channel;
    或者,or,
    若所述第一消息的传输类型为直连传输消息,所述第二消息的传输类型为直连传输消息或非直连传输消息,则确定在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;If the transmission type of the first message is a direct transmission message, and the transmission type of the second message is a direct connection transmission message or a non-direct connection transmission message, determining that the second device sends by using the first channel Transmitting, by the first channel, the second message when the first message is sent;
    或者,or,
    若所述第一消息的传输类型为非直连传输消息,所述第二消息的传输类型为非直连传输消息,则确定不在所述第二设备通过所述第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。If the transmission type of the first message is a non-direct transmission message, and the transmission type of the second message is an indirect connection message, determining that the second device does not send the first channel by using the first channel Transmitting the second message through the first channel when the message is received.
  30. 根据权利要求27或28所述的设备,其特征在于,Device according to claim 27 or 28, characterized in that
    所述处理器,还用于根据邻居信息和所述第一消息的物理头中包括的所述第三设备的标识确定所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗;其中,所述邻居信息为所述处理器所在的设备监听其他设备发送的消息时的历史路径损耗和所述其他设备的标识之间的对应关系;The processor is further configured to determine, according to neighbor information and an identifier of the third device included in a physical header of the first message, a history of a device where the processor is located listening to a message sent by the third device Path loss; wherein the neighbor information is a correspondence between a historical path loss of the device where the processor is located to listen to a message sent by another device, and an identifier of the other device;
    所述处理器,用于根据所述第一消息的传输类型和所述处理器所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The processor is configured to determine, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is to be sent, whether the second device sends the first channel by using the first channel Sending the second message by using the first channel when a message is:
    根据所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述第一消息的传输类型、所述第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第 一信道发送所述第二消息。Determining whether the second path is determined according to the historical path loss when the device where the processor is located is listening to the message sent by the third device, and the transmission type of the first message and the transmission type of the second message. Passing the first message when the device sends the first message through the first channel The second message is sent on one channel.
  31. 根据权利要求30所述的设备,其特征在于,所述第一消息的物理头中还包括所述第一消息的发送时长;The device according to claim 30, wherein the physical header of the first message further includes a sending duration of the first message;
    所述处理器,还用于确定所述第二消息的发送时长;The processor is further configured to determine a sending duration of the second message;
    所述处理器,用于根据所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述第一消息的传输类型、所述第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The processor is configured to: according to a historical path loss when the device where the processor is located is listening to a message sent by the third device, and a transmission type of the first message, a transmission type of the second message, Determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel, specifically:
    当所述第二消息的发送时长小于或等于所述第一消息的剩余发送时长时,根据所述第一消息的传输类型、所述第二消息的传输类型,以及,所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。When the transmission duration of the second message is less than or equal to the remaining transmission duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the location of the processor The device monitors the historical path loss when the message sent by the third device, and determines whether the second message is sent by using the first channel when the second device sends the first message by using the first channel.
  32. 根据权利要求27或28所述的设备,其特征在于,Device according to claim 27 or 28, characterized in that
    所述处理器,还用于根据邻居信息和所述第一消息中所述第三设备的标识确定所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述处理器所在的设备发送所述第二消息所需的功率;其中,所述邻居信息为所述处理器所在的设备监听其他设备发送的消息时的历史路径损耗和所述其他设备的标识之间的对应关系;The processor is further configured to determine, according to the neighbor information and the identifier of the third device in the first message, a historical path loss when the device where the processor is located is listening to the message sent by the third device, and The power required by the device where the processor is to send the second message; wherein the neighbor information is a historical path loss when the device where the processor is located listening to a message sent by another device, and an identifier of the other device Correspondence between them;
    所述处理器,用于根据所述第一消息的传输类型和所述处理器所在的设备待发送的第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The processor is configured to determine, according to the transmission type of the first message and the transmission type of the second message to be sent by the device where the processor is to be sent, whether the second device sends the first channel by using the first channel Sending the second message by using the first channel when a message is:
    根据所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗、所述处理器所在的设备发送所述第二消息所需的功率,以及,所述第一消息的传输类型、所述第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。And a historical path loss when the device where the processor is located is listening to the message sent by the third device, a power required by the device where the processor is located to send the second message, and a transmission of the first message The type, the transmission type of the second message, determining whether the second message is sent by using the first channel when the second device sends the first message by using the first channel.
  33. 根据权利要求32所述的设备,其特征在于,所述第一消息的物理头中还包括所述第一消息的发送时长;The device according to claim 32, wherein the physical header of the first message further includes a sending duration of the first message;
    所述处理器,还用于确定所述第二消息的发送时长; The processor is further configured to determine a sending duration of the second message;
    所述处理器,用于根据所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗、所述处理器所在的设备发送所述第二消息所需的功率,以及,所述第一消息的传输类型、所述第二消息的传输类型,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息,具体为:The processor is configured to: according to a historical path loss when the device where the processor is located is listening to a message sent by the third device, a power required by the device where the processor is located to send the second message, and Determining, by the transmission type of the first message, the transmission type of the second message, whether the second message is sent by using the first channel when the second device sends the first message by using a first channel, Specifically:
    当所述第二消息的发送时长小于或等于所述第一消息的剩余发送时长时,根据所述第一消息的传输类型、所述第二消息的传输类型、所述处理器所在的设备监听所述第三设备发送的消息时的历史路径损耗,以及,所述处理器所在的设备发送所述第二消息所需的功率,确定是否在所述第二设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息。And when the sending duration of the second message is less than or equal to the remaining sending duration of the first message, according to the transmission type of the first message, the transmission type of the second message, and the device where the processor is located. a historical path loss when the message is sent by the third device, and a power required by the device where the processor is to send the second message, determining whether the second device sends the first channel through the first channel The second message is sent through the first channel when a message is received.
  34. 一种设备,其特征在于,所述设备包括:发送器;An apparatus, comprising: a transmitter;
    所述发送器,用于发送第一消息,所述第一消息的物理头用于向第一设备指示所述第一消息的传输类型,以使得所述第一设备根据所述第一消息的传输类型和所述第一设备待发送的第二消息的传输类型确定是否在所述发送器所在的设备通过第一信道发送所述第一消息时通过所述第一信道发送所述第二消息;其中,所述第一消息的传输类型为非直连传输消息或直连传输消息,所述第二消息的传输类型为非直连传输消息或直连传输消息;所述发送器所在的设备与所述第一设备属于同一个网络。The transmitter is configured to send a first message, where a physical header of the first message is used to indicate, to the first device, a transmission type of the first message, so that the first device is configured according to the first message Transmitting type and a transmission type of the second message to be sent by the first device, determining whether to send the second message by using the first channel when the device where the sender is located sends the first message by using a first channel The transmission type of the first message is a non-direct connection transmission message or a direct connection transmission message, and the transmission type of the second message is an indirect connection transmission message or a direct connection transmission message; It belongs to the same network as the first device.
  35. 根据权利要求34所述的设备,其特征在于,所述第一消息的物理头中包括直连传输指示;其中,所述直连传输指示用于指示所述第一消息的传输类型。The device according to claim 34, wherein the physical header of the first message includes a direct connection transmission indication; wherein the direct connection transmission indication is used to indicate a transmission type of the first message.
  36. 根据权利要求34或35所述的设备,其特征在于,所述第一消息的物理头中还包括至少以下一种:The device according to claim 34 or 35, wherein the physical header of the first message further comprises at least one of the following:
    所述发送器所在的设备所在的网络标识、所述发送器所在的设备的标识、所述第三设备的标识或所述第一消息的发送时长中的至少一个;其中,所述第三设备为接收所述第一消息的设备。 At least one of a network identifier in which the device in which the transmitter is located, an identifier of the device in which the transmitter is located, an identifier of the third device, or a sending duration of the first message; wherein the third device A device that receives the first message.
PCT/CN2015/091209 2015-09-30 2015-09-30 Spatial multiplexing method and equipment WO2017054166A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201580082748.3A CN107925882B (en) 2015-09-30 2015-09-30 Spatial multiplexing method and apparatus
PCT/CN2015/091209 WO2017054166A1 (en) 2015-09-30 2015-09-30 Spatial multiplexing method and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2015/091209 WO2017054166A1 (en) 2015-09-30 2015-09-30 Spatial multiplexing method and equipment

Publications (1)

Publication Number Publication Date
WO2017054166A1 true WO2017054166A1 (en) 2017-04-06

Family

ID=58422554

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/091209 WO2017054166A1 (en) 2015-09-30 2015-09-30 Spatial multiplexing method and equipment

Country Status (2)

Country Link
CN (1) CN107925882B (en)
WO (1) WO2017054166A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1691565A (en) * 2004-04-14 2005-11-02 美国博通公司 Configuring a mimo communication
CN1805557A (en) * 2005-01-13 2006-07-19 华为技术有限公司 Method of enabling multiple users to receive data services in the same channel
CN1929671A (en) * 2006-08-15 2007-03-14 中国移动通信集团公司 Wireless channel distribution method
US7200407B1 (en) * 2003-02-06 2007-04-03 Nortel Networks Limited Multiple reuse patterns for channels of wireless networks
US20140153671A1 (en) * 2012-12-03 2014-06-05 Motorola Mobility Llc Method and apparatus for selectively transmitting data using spatial diversity

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP4957212B2 (en) * 2006-11-29 2012-06-20 富士通株式会社 Optimal radio communication method by radio frame variable control, and radio communication system to which this method is applied
US9730204B2 (en) * 2012-12-14 2017-08-08 Lg Electronics Inc. Method and apparatus for supporting transmission efficiency in a wireless communication system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7200407B1 (en) * 2003-02-06 2007-04-03 Nortel Networks Limited Multiple reuse patterns for channels of wireless networks
CN1691565A (en) * 2004-04-14 2005-11-02 美国博通公司 Configuring a mimo communication
CN1805557A (en) * 2005-01-13 2006-07-19 华为技术有限公司 Method of enabling multiple users to receive data services in the same channel
CN1929671A (en) * 2006-08-15 2007-03-14 中国移动通信集团公司 Wireless channel distribution method
US20140153671A1 (en) * 2012-12-03 2014-06-05 Motorola Mobility Llc Method and apparatus for selectively transmitting data using spatial diversity

Also Published As

Publication number Publication date
CN107925882A (en) 2018-04-17
CN107925882B (en) 2020-04-28

Similar Documents

Publication Publication Date Title
JP6392338B2 (en) System, method, and device for dynamically setting a response indication deferral in a wireless network
EP3437412B1 (en) Wireless communication involving a wake time period for a station
RU2734861C2 (en) Methods and apparatus for selecting extended distributed access parameters for a channel for different stations
US10278022B2 (en) Communication deferral policies to increase reuse
KR101973743B1 (en) Method and apparatus for transmitting frame
KR101812151B1 (en) Methods and systems for protection and bandwidth selection for downlink and uplink frequency division multiple access communications
EP3592078A1 (en) Channel aware resource allocation
US9635601B2 (en) 802.11 PHY hashed SSID
US11564150B2 (en) Facilitating fast passive discovery
WO2017121301A1 (en) Data transmission method and device
WO2020164590A1 (en) Transmission resource detection method, transmission resource determination method and communication device
CN110115095B (en) Random access method, device and storage medium
WO2019154099A1 (en) Wireless communication method, terminal and network device
WO2017128285A1 (en) Uplink transmission method, base station, and terminal device
WO2016188245A1 (en) Channel negotiation method, station and system
US20160359572A1 (en) Enabling hidden node protection procedure
US10813049B2 (en) Coexistence enhancements for wake-up radio
JP6350837B2 (en) Data transmission method and terminal
US20180324849A1 (en) Reverse direction protocol enhancements
US20140064169A1 (en) Duty cycled transmissions
CN107431954B (en) Data transmission method and device
US20150063319A1 (en) Systems, methods, and apparatus for preventing multiple re-association attempts
WO2017054166A1 (en) Spatial multiplexing method and equipment
CN108430096B (en) Communication method, communication device and communication equipment of wireless local area network

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15905078

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15905078

Country of ref document: EP

Kind code of ref document: A1